2023-07-18 12:46:39 +08:00

522 lines
2.5 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.

var Hi=Object.defineProperty;var Ui=(oe,ie,le)=>ie in oe?Hi(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ie]=le;var ao=(oe,ie,le)=>(Ui(oe,typeof ie!="symbol"?ie+"":ie,le),le);(function(){const ie=document.createElement("link").relList;if(ie&&ie.supports&&ie.supports("modulepreload"))return;for(const de of document.querySelectorAll('link[rel="modulepreload"]'))ue(de);new MutationObserver(de=>{for(const pe of de)if(pe.type==="childList")for(const he of pe.addedNodes)he.tagName==="LINK"&&he.rel==="modulepreload"&&ue(he)}).observe(document,{childList:!0,subtree:!0});function le(de){const pe={};return de.integrity&&(pe.integrity=de.integrity),de.referrerPolicy&&(pe.referrerPolicy=de.referrerPolicy),de.crossOrigin==="use-credentials"?pe.credentials="include":de.crossOrigin==="anonymous"?pe.credentials="omit":pe.credentials="same-origin",pe}function ue(de){if(de.ep)return;de.ep=!0;const pe=le(de);fetch(de.href,pe)}})();function makeMap(oe,ie){const le=Object.create(null),ue=oe.split(",");for(let de=0;de<ue.length;de++)le[ue[de]]=!0;return ie?de=>!!le[de.toLowerCase()]:de=>!!le[de]}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=oe=>onRE.test(oe),isModelListener=oe=>oe.startsWith("onUpdate:"),extend$2=Object.assign,remove=(oe,ie)=>{const le=oe.indexOf(ie);le>-1&&oe.splice(le,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$4=(oe,ie)=>hasOwnProperty$g.call(oe,ie),isArray$c=Array.isArray,isMap$3=oe=>toTypeString$1(oe)==="[object Map]",isSet$3=oe=>toTypeString$1(oe)==="[object Set]",isDate$3=oe=>toTypeString$1(oe)==="[object Date]",isRegExp$5=oe=>toTypeString$1(oe)==="[object RegExp]",isFunction$5=oe=>typeof oe=="function",isString$6=oe=>typeof oe=="string",isSymbol$2=oe=>typeof oe=="symbol",isObject$9=oe=>oe!==null&&typeof oe=="object",isPromise=oe=>isObject$9(oe)&&isFunction$5(oe.then)&&isFunction$5(oe.catch),objectToString$3=Object.prototype.toString,toTypeString$1=oe=>objectToString$3.call(oe),toRawType=oe=>toTypeString$1(oe).slice(8,-1),isPlainObject$4=oe=>toTypeString$1(oe)==="[object Object]",isIntegerKey=oe=>isString$6(oe)&&oe!=="NaN"&&oe[0]!=="-"&&""+parseInt(oe,10)===oe,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=oe=>{const ie=Object.create(null);return le=>ie[le]||(ie[le]=oe(le))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(oe=>oe.replace(camelizeRE,(ie,le)=>le?le.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(oe=>oe.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$2=cacheStringFunction(oe=>oe.charAt(0).toUpperCase()+oe.slice(1)),toHandlerKey=cacheStringFunction(oe=>oe?`on${capitalize$2(oe)}`:""),hasChanged=(oe,ie)=>!Object.is(oe,ie),invokeArrayFns=(oe,ie)=>{for(let le=0;le<oe.length;le++)oe[le](ie)},def=(oe,ie,le)=>{Object.defineProperty(oe,ie,{configurable:!0,enumerable:!1,value:le})},looseToNumber=oe=>{const ie=parseFloat(oe);return isNaN(ie)?oe:ie},toNumber$1=oe=>{const ie=isString$6(oe)?Number(oe):NaN;return isNaN(ie)?oe:ie};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_WHITE_LISTED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",isGloballyWhitelisted=makeMap(GLOBALS_WHITE_LISTED);function normalizeStyle$1(oe){if(isArray$c(oe)){const ie={};for(let le=0;le<oe.length;le++){const ue=oe[le],de=isString$6(ue)?parseStringStyle(ue):normalizeStyle$1(ue);if(de)for(const pe in de)ie[pe]=de[pe]}return ie}else{if(isString$6(oe))return oe;if(isObject$9(oe))return oe}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(oe){const ie={};return oe.replace(styleCommentRE,"").split(listDelimiterRE).forEach(le=>{if(le){const ue=le.split(propertyDelimiterRE);ue.length>1&&(ie[ue[0].trim()]=ue[1].trim())}}),ie}function normalizeClass(oe){let ie="";if(isString$6(oe))ie=oe;else if(isArray$c(oe))for(let le=0;le<oe.length;le++){const ue=normalizeClass(oe[le]);ue&&(ie+=ue+" ")}else if(isObject$9(oe))for(const le in oe)oe[le]&&(ie+=le+" ");return ie.trim()}function normalizeProps(oe){if(!oe)return null;let{class:ie,style:le}=oe;return ie&&!isString$6(ie)&&(oe.class=normalizeClass(ie)),le&&(oe.style=normalizeStyle$1(le)),oe}const HTML_TAGS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",isHTMLTag=makeMap(HTML_TAGS),specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(oe){return!!oe||oe===""}function looseCompareArrays(oe,ie){if(oe.length!==ie.length)return!1;let le=!0;for(let ue=0;le&&ue<oe.length;ue++)le=looseEqual(oe[ue],ie[ue]);return le}function looseEqual(oe,ie){if(oe===ie)return!0;let le=isDate$3(oe),ue=isDate$3(ie);if(le||ue)return le&&ue?oe.getTime()===ie.getTime():!1;if(le=isSymbol$2(oe),ue=isSymbol$2(ie),le||ue)return oe===ie;if(le=isArray$c(oe),ue=isArray$c(ie),le||ue)return le&&ue?looseCompareArrays(oe,ie):!1;if(le=isObject$9(oe),ue=isObject$9(ie),le||ue){if(!le||!ue)return!1;const de=Object.keys(oe).length,pe=Object.keys(ie).length;if(de!==pe)return!1;for(const he in oe){const _e=oe.hasOwnProperty(he),$e=ie.hasOwnProperty(he);if(_e&&!$e||!_e&&$e||!looseEqual(oe[he],ie[he]))return!1}}return String(oe)===String(ie)}function looseIndexOf(oe,ie){return oe.findIndex(le=>looseEqual(le,ie))}const toDisplayString$1=oe=>isString$6(oe)?oe:oe==null?"":isArray$c(oe)||isObject$9(oe)&&(oe.toString===objectToString$3||!isFunction$5(oe.toString))?JSON.stringify(oe,replacer,2):String(oe),replacer=(oe,ie)=>ie&&ie.__v_isRef?replacer(oe,ie.value):isMap$3(ie)?{[`Map(${ie.size})`]:[...ie.entries()].reduce((le,[ue,de])=>(le[`${ue} =>`]=de,le),{})}:isSet$3(ie)?{[`Set(${ie.size})`]:[...ie.values()]}:isObject$9(ie)&&!isArray$c(ie)&&!isPlainObject$4(ie)?String(ie):ie;let activeEffectScope;class EffectScope{constructor(ie=!1){this.detached=ie,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!ie&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(ie){if(this._active){const le=activeEffectScope;try{return activeEffectScope=this,ie()}finally{activeEffectScope=le}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(ie){if(this._active){let le,ue;for(le=0,ue=this.effects.length;le<ue;le++)this.effects[le].stop();for(le=0,ue=this.cleanups.length;le<ue;le++)this.cleanups[le]();if(this.scopes)for(le=0,ue=this.scopes.length;le<ue;le++)this.scopes[le].stop(!0);if(!this.detached&&this.parent&&!ie){const de=this.parent.scopes.pop();de&&de!==this&&(this.parent.scopes[this.index]=de,de.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(oe){return new EffectScope(oe)}function recordEffectScope(oe,ie=activeEffectScope){ie&&ie.active&&ie.effects.push(oe)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(oe){activeEffectScope&&activeEffectScope.cleanups.push(oe)}const createDep=oe=>{const ie=new Set(oe);return ie.w=0,ie.n=0,ie},wasTracked=oe=>(oe.w&trackOpBit)>0,newTracked=oe=>(oe.n&trackOpBit)>0,initDepMarkers=({deps:oe})=>{if(oe.length)for(let ie=0;ie<oe.length;ie++)oe[ie].w|=trackOpBit},finalizeDepMarkers=oe=>{const{deps:ie}=oe;if(ie.length){let le=0;for(let ue=0;ue<ie.length;ue++){const de=ie[ue];wasTracked(de)&&!newTracked(de)?de.delete(oe):ie[le++]=de,de.w&=~trackOpBit,de.n&=~trackOpBit}ie.length=le}},targetMap=new WeakMap;let effectTrackDepth=0,trackOpBit=1;const maxMarkerBits=30;let activeEffect;const ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");class ReactiveEffect{constructor(ie,le=null,ue){this.fn=ie,this.scheduler=le,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,ue)}run(){if(!this.active)return this.fn();let ie=activeEffect,le=shouldTrack;for(;ie;){if(ie===this)return;ie=ie.parent}try{return this.parent=activeEffect,activeEffect=this,shouldTrack=!0,trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,activeEffect=this.parent,shouldTrack=le,this.parent=void 0,this.deferStop&&this.stop()}}stop(){activeEffect===this?this.deferStop=!0:this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function cleanupEffect(oe){const{deps:ie}=oe;if(ie.length){for(let le=0;le<ie.length;le++)ie[le].delete(oe);ie.length=0}}function effect(oe,ie){oe.effect&&(oe=oe.effect.fn);const le=new ReactiveEffect(oe);ie&&(extend$2(le,ie),ie.scope&&recordEffectScope(le,ie.scope)),(!ie||!ie.lazy)&&le.run();const ue=le.run.bind(le);return ue.effect=le,ue}function stop$1(oe){oe.effect.stop()}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const oe=trackStack.pop();shouldTrack=oe===void 0?!0:oe}function track(oe,ie,le){if(shouldTrack&&activeEffect){let ue=targetMap.get(oe);ue||targetMap.set(oe,ue=new Map);let de=ue.get(le);de||ue.set(le,de=createDep()),trackEffects(de)}}function trackEffects(oe,ie){let le=!1;effectTrackDepth<=maxMarkerBits?newTracked(oe)||(oe.n|=trackOpBit,le=!wasTracked(oe)):le=!oe.has(activeEffect),le&&(oe.add(activeEffect),activeEffect.deps.push(oe))}function trigger$2(oe,ie,le,ue,de,pe){const he=targetMap.get(oe);if(!he)return;let _e=[];if(ie==="clear")_e=[...he.values()];else if(le==="length"&&isArray$c(oe)){const $e=Number(ue);he.forEach((Ie,Ve)=>{(Ve==="length"||Ve>=$e)&&_e.push(Ie)})}else switch(le!==void 0&&_e.push(he.get(le)),ie){case"add":isArray$c(oe)?isIntegerKey(le)&&_e.push(he.get("length")):(_e.push(he.get(ITERATE_KEY)),isMap$3(oe)&&_e.push(he.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$c(oe)||(_e.push(he.get(ITERATE_KEY)),isMap$3(oe)&&_e.push(he.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$3(oe)&&_e.push(he.get(ITERATE_KEY));break}if(_e.length===1)_e[0]&&triggerEffects(_e[0]);else{const $e=[];for(const Ie of _e)Ie&&$e.push(...Ie);triggerEffects(createDep($e))}}function triggerEffects(oe,ie){const le=isArray$c(oe)?oe:[...oe];for(const ue of le)ue.computed&&triggerEffect(ue);for(const ue of le)ue.computed||triggerEffect(ue)}function triggerEffect(oe,ie){(oe!==activeEffect||oe.allowRecurse)&&(oe.scheduler?oe.scheduler():oe.run())}function getDepFromReactive(oe,ie){var le;return(le=targetMap.get(oe))==null?void 0:le.get(ie)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(oe=>oe!=="arguments"&&oe!=="caller").map(oe=>Symbol[oe]).filter(isSymbol$2)),get$1$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),shallowReadonlyGet=createGetter(!0,!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const oe={};return["includes","indexOf","lastIndexOf"].forEach(ie=>{oe[ie]=function(...le){const ue=toRaw(this);for(let pe=0,he=this.length;pe<he;pe++)track(ue,"get",pe+"");const de=ue[ie](...le);return de===-1||de===!1?ue[ie](...le.map(toRaw)):de}}),["push","pop","shift","unshift","splice"].forEach(ie=>{oe[ie]=function(...le){pauseTracking();const ue=toRaw(this)[ie].apply(this,le);return resetTracking(),ue}}),oe}function hasOwnProperty$f(oe){const ie=toRaw(this);return track(ie,"has",oe),ie.hasOwnProperty(oe)}function createGetter(oe=!1,ie=!1){return function(ue,de,pe){if(de==="__v_isReactive")return!oe;if(de==="__v_isReadonly")return oe;if(de==="__v_isShallow")return ie;if(de==="__v_raw"&&pe===(oe?ie?shallowReadonlyMap:readonlyMap:ie?shallowReactiveMap:reactiveMap).get(ue))return ue;const he=isArray$c(ue);if(!oe){if(he&&hasOwn$4(arrayInstrumentations,de))return Reflect.get(arrayInstrumentations,de,pe);if(de==="hasOwnProperty")return hasOwnProperty$f}const _e=Reflect.get(ue,de,pe);return(isSymbol$2(de)?builtInSymbols.has(de):isNonTrackableKeys(de))||(oe||track(ue,"get",de),ie)?_e:isRef(_e)?he&&isIntegerKey(de)?_e:_e.value:isObject$9(_e)?oe?readonly(_e):reactive(_e):_e}}const set$1$1=createSetter(),shallowSet=createSetter(!0);function createSetter(oe=!1){return function(le,ue,de,pe){let he=le[ue];if(isReadonly(he)&&isRef(he)&&!isRef(de))return!1;if(!oe&&(!isShallow(de)&&!isReadonly(de)&&(he=toRaw(he),de=toRaw(de)),!isArray$c(le)&&isRef(he)&&!isRef(de)))return he.value=de,!0;const _e=isArray$c(le)&&isIntegerKey(ue)?Number(ue)<le.length:hasOwn$4(le,ue),$e=Reflect.set(le,ue,de,pe);return le===toRaw(pe)&&(_e?hasChanged(de,he)&&trigger$2(le,"set",ue,de):trigger$2(le,"add",ue,de)),$e}}function deleteProperty(oe,ie){const le=hasOwn$4(oe,ie);oe[ie];const ue=Reflect.deleteProperty(oe,ie);return ue&&le&&trigger$2(oe,"delete",ie,void 0),ue}function has$1$1(oe,ie){const le=Reflect.has(oe,ie);return(!isSymbol$2(ie)||!builtInSymbols.has(ie))&&track(oe,"has",ie),le}function ownKeys(oe){return track(oe,"iterate",isArray$c(oe)?"length":ITERATE_KEY),Reflect.ownKeys(oe)}const mutableHandlers={get:get$1$1,set:set$1$1,deleteProperty,has:has$1$1,ownKeys},readonlyHandlers={get:readonlyGet,set(oe,ie){return!0},deleteProperty(oe,ie){return!0}},shallowReactiveHandlers=extend$2({},mutableHandlers,{get:shallowGet,set:shallowSet}),shallowReadonlyHandlers=extend$2({},readonlyHandlers,{get:shallowReadonlyGet}),toShallow=oe=>oe,getProto$1=oe=>Reflect.getPrototypeOf(oe);function get$2(oe,ie,le=!1,ue=!1){oe=oe.__v_raw;const de=toRaw(oe),pe=toRaw(ie);le||(ie!==pe&&track(de,"get",ie),track(de,"get",pe));const{has:he}=getProto$1(de),_e=ue?toShallow:le?toReadonly:toReactive;if(he.call(de,ie))return _e(oe.get(ie));if(he.call(de,pe))return _e(oe.get(pe));oe!==de&&oe.get(ie)}function has$5(oe,ie=!1){const le=this.__v_raw,ue=toRaw(le),de=toRaw(oe);return ie||(oe!==de&&track(ue,"has",oe),track(ue,"has",de)),oe===de?le.has(oe):le.has(oe)||le.has(de)}function size(oe,ie=!1){return oe=oe.__v_raw,!ie&&track(toRaw(oe),"iterate",ITERATE_KEY),Reflect.get(oe,"size",oe)}function add$1(oe){oe=toRaw(oe);const ie=toRaw(this);return getProto$1(ie).has.call(ie,oe)||(ie.add(oe),trigger$2(ie,"add",oe,oe)),this}function set$3(oe,ie){ie=toRaw(ie);const le=toRaw(this),{has:ue,get:de}=getProto$1(le);let pe=ue.call(le,oe);pe||(oe=toRaw(oe),pe=ue.call(le,oe));const he=de.call(le,oe);return le.set(oe,ie),pe?hasChanged(ie,he)&&trigger$2(le,"set",oe,ie):trigger$2(le,"add",oe,ie),this}function deleteEntry(oe){const ie=toRaw(this),{has:le,get:ue}=getProto$1(ie);let de=le.call(ie,oe);de||(oe=toRaw(oe),de=le.call(ie,oe)),ue&&ue.call(ie,oe);const pe=ie.delete(oe);return de&&trigger$2(ie,"delete",oe,void 0),pe}function clear$2(){const oe=toRaw(this),ie=oe.size!==0,le=oe.clear();return ie&&trigger$2(oe,"clear",void 0,void 0),le}function createForEach(oe,ie){return function(ue,de){const pe=this,he=pe.__v_raw,_e=toRaw(he),$e=ie?toShallow:oe?toReadonly:toReactive;return!oe&&track(_e,"iterate",ITERATE_KEY),he.forEach((Ie,Ve)=>ue.call(de,$e(Ie),$e(Ve),pe))}}function createIterableMethod(oe,ie,le){return function(...ue){const de=this.__v_raw,pe=toRaw(de),he=isMap$3(pe),_e=oe==="entries"||oe===Symbol.iterator&&he,$e=oe==="keys"&&he,Ie=de[oe](...ue),Ve=le?toShallow:ie?toReadonly:toReactive;return!ie&&track(pe,"iterate",$e?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:Fe,done:Ue}=Ie.next();return Ue?{value:Fe,done:Ue}:{value:_e?[Ve(Fe[0]),Ve(Fe[1])]:Ve(Fe),done:Ue}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(oe){return function(...ie){return oe==="delete"?!1:this}}function createInstrumentations(){const oe={get(pe){return get$2(this,pe)},get size(){return size(this)},has:has$5,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},ie={get(pe){return get$2(this,pe,!1,!0)},get size(){return size(this)},has:has$5,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},le={get(pe){return get$2(this,pe,!0)},get size(){return size(this,!0)},has(pe){return has$5.call(this,pe,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},ue={get(pe){return get$2(this,pe,!0,!0)},get size(){return size(this,!0)},has(pe){return has$5.call(this,pe,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(pe=>{oe[pe]=createIterableMethod(pe,!1,!1),le[pe]=createIterableMethod(pe,!0,!1),ie[pe]=createIterableMethod(pe,!1,!0),ue[pe]=createIterableMethod(pe,!0,!0)}),[oe,le,ie,ue]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(oe,ie){const le=ie?oe?shallowReadonlyInstrumentations:shallowInstrumentations:oe?readonlyInstrumentations:mutableInstrumentations;return(ue,de,pe)=>de==="__v_isReactive"?!oe:de==="__v_isReadonly"?oe:de==="__v_raw"?ue:Reflect.get(hasOwn$4(le,de)&&de in ue?le:ue,de,pe)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(oe){switch(oe){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(oe){return oe.__v_skip||!Object.isExtensible(oe)?0:targetTypeMap(toRawType(oe))}function reactive(oe){return isReadonly(oe)?oe:createReactiveObject(oe,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(oe){return createReactiveObject(oe,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(oe){return createReactiveObject(oe,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(oe){return createReactiveObject(oe,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(oe,ie,le,ue,de){if(!isObject$9(oe)||oe.__v_raw&&!(ie&&oe.__v_isReactive))return oe;const pe=de.get(oe);if(pe)return pe;const he=getTargetType(oe);if(he===0)return oe;const _e=new Proxy(oe,he===2?ue:le);return de.set(oe,_e),_e}function isReactive(oe){return isReadonly(oe)?isReactive(oe.__v_raw):!!(oe&&oe.__v_isReactive)}function isReadonly(oe){return!!(oe&&oe.__v_isReadonly)}function isShallow(oe){return!!(oe&&oe.__v_isShallow)}function isProxy(oe){return isReactive(oe)||isReadonly(oe)}function toRaw(oe){const ie=oe&&oe.__v_raw;return ie?toRaw(ie):oe}function markRaw(oe){return def(oe,"__v_skip",!0),oe}const toReactive=oe=>isObject$9(oe)?reactive(oe):oe,toReadonly=oe=>isObject$9(oe)?readonly(oe):oe;function trackRefValue(oe){shouldTrack&&activeEffect&&(oe=toRaw(oe),trackEffects(oe.dep||(oe.dep=createDep())))}function triggerRefValue(oe,ie){oe=toRaw(oe);const le=oe.dep;le&&triggerEffects(le)}function isRef(oe){return!!(oe&&oe.__v_isRef===!0)}function ref(oe){return createRef(oe,!1)}function shallowRef(oe){return createRef(oe,!0)}function createRef(oe,ie){return isRef(oe)?oe:new RefImpl(oe,ie)}class RefImpl{constructor(ie,le){this.__v_isShallow=le,this.dep=void 0,this.__v_isRef=!0,this._rawValue=le?ie:toRaw(ie),this._value=le?ie:toReactive(ie)}get value(){return trackRefValue(this),this._value}set value(ie){const le=this.__v_isShallow||isShallow(ie)||isReadonly(ie);ie=le?ie:toRaw(ie),hasChanged(ie,this._rawValue)&&(this._rawValue=ie,this._value=le?ie:toReactive(ie),triggerRefValue(this))}}function triggerRef(oe){triggerRefValue(oe)}function unref(oe){return isRef(oe)?oe.value:oe}function toValue$1(oe){return isFunction$5(oe)?oe():unref(oe)}const shallowUnwrapHandlers={get:(oe,ie,le)=>unref(Reflect.get(oe,ie,le)),set:(oe,ie,le,ue)=>{const de=oe[ie];return isRef(de)&&!isRef(le)?(de.value=le,!0):Reflect.set(oe,ie,le,ue)}};function proxyRefs(oe){return isReactive(oe)?oe:new Proxy(oe,shallowUnwrapHandlers)}class CustomRefImpl{constructor(ie){this.dep=void 0,this.__v_isRef=!0;const{get:le,set:ue}=ie(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=le,this._set=ue}get value(){return this._get()}set value(ie){this._set(ie)}}function customRef(oe){return new CustomRefImpl(oe)}function toRefs(oe){const ie=isArray$c(oe)?new Array(oe.length):{};for(const le in oe)ie[le]=propertyToRef(oe,le);return ie}class ObjectRefImpl{constructor(ie,le,ue){this._object=ie,this._key=le,this._defaultValue=ue,this.__v_isRef=!0}get value(){const ie=this._object[this._key];return ie===void 0?this._defaultValue:ie}set value(ie){this._object[this._key]=ie}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(ie){this._getter=ie,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef$1(oe,ie,le){return isRef(oe)?oe:isFunction$5(oe)?new GetterRefImpl(oe):isObject$9(oe)&&arguments.length>1?propertyToRef(oe,ie,le):ref(oe)}function propertyToRef(oe,ie,le){const ue=oe[ie];return isRef(ue)?ue:new ObjectRefImpl(oe,ie,le)}class ComputedRefImpl{constructor(ie,le,ue,de){this._setter=le,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ReactiveEffect(ie,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!de,this.__v_isReadonly=ue}get value(){const ie=toRaw(this);return trackRefValue(ie),(ie._dirty||!ie._cacheable)&&(ie._dirty=!1,ie._value=ie.effect.run()),ie._value}set value(ie){this._setter(ie)}}function computed$1(oe,ie,le=!1){let ue,de;const pe=isFunction$5(oe);return pe?(ue=oe,de=NOOP):(ue=oe.get,de=oe.set),new ComputedRefImpl(ue,de,pe||!de,le)}function warn$2(oe,...ie){}function assertNumber(oe,ie){}function callWithErrorHandling(oe,ie,le,ue){let de;try{de=ue?oe(...ue):oe()}catch(pe){handleError(pe,ie,le)}return de}function callWithAsyncErrorHandling(oe,ie,le,ue){if(isFunction$5(oe)){const pe=callWithErrorHandling(oe,ie,le,ue);return pe&&isPromise(pe)&&pe.catch(he=>{handleError(he,ie,le)}),pe}const de=[];for(let pe=0;pe<oe.length;pe++)de.push(callWithAsyncErrorHandling(oe[pe],ie,le,ue));return de}function handleError(oe,ie,le,ue=!0){const de=ie?ie.vnode:null;if(ie){let pe=ie.parent;const he=ie.proxy,_e=le;for(;pe;){const Ie=pe.ec;if(Ie){for(let Ve=0;Ve<Ie.length;Ve++)if(Ie[Ve](oe,he,_e)===!1)return}pe=pe.parent}const $e=ie.appContext.config.errorHandler;if($e){callWithErrorHandling($e,null,10,[oe,he,_e]);return}}logError$1(oe,le,de,ue)}function logError$1(oe,ie,le,ue=!0){console.error(oe)}let isFlushing=!1,isFlushPending=!1;const queue=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(oe){const ie=currentFlushPromise||resolvedPromise;return oe?ie.then(this?oe.bind(this):oe):ie}function findInsertionIndex(oe){let ie=flushIndex+1,le=queue.length;for(;ie<le;){const ue=ie+le>>>1;getId$1(queue[ue])<oe?ie=ue+1:le=ue}return ie}function queueJob(oe){(!queue.length||!queue.includes(oe,isFlushing&&oe.allowRecurse?flushIndex+1:flushIndex))&&(oe.id==null?queue.push(oe):queue.splice(findInsertionIndex(oe.id),0,oe),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(oe){const ie=queue.indexOf(oe);ie>flushIndex&&queue.splice(ie,1)}function queuePostFlushCb(oe){isArray$c(oe)?pendingPostFlushCbs.push(...oe):(!activePostFlushCbs||!activePostFlushCbs.includes(oe,oe.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(oe),queueFlush()}function flushPreFlushCbs(oe,ie=isFlushing?flushIndex+1:0){for(;ie<queue.length;ie++){const le=queue[ie];le&&le.pre&&(queue.splice(ie,1),ie--,le())}}function flushPostFlushCbs(oe){if(pendingPostFlushCbs.length){const ie=[...new Set(pendingPostFlushCbs)];if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...ie);return}for(activePostFlushCbs=ie,activePostFlushCbs.sort((le,ue)=>getId$1(le)-getId$1(ue)),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId$1=oe=>oe.id==null?1/0:oe.id,comparator=(oe,ie)=>{const le=getId$1(oe)-getId$1(ie);if(le===0){if(oe.pre&&!ie.pre)return-1;if(ie.pre&&!oe.pre)return 1}return le};function flushJobs(oe){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const ie=NOOP;try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const le=queue[flushIndex];le&&le.active!==!1&&callWithErrorHandling(le,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools,buffer=[];function setDevtoolsHook(oe,ie){var le,ue;devtools=oe,devtools?(devtools.enabled=!0,buffer.forEach(({event:de,args:pe})=>devtools.emit(de,...pe)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((ue=(le=window.navigator)==null?void 0:le.userAgent)!=null&&ue.includes("jsdom"))?((ie.__VUE_DEVTOOLS_HOOK_REPLAY__=ie.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(pe=>{setDevtoolsHook(pe,ie)}),setTimeout(()=>{devtools||(ie.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(oe,ie,...le){if(oe.isUnmounted)return;const ue=oe.vnode.props||EMPTY_OBJ$1;let de=le;const pe=ie.startsWith("update:"),he=pe&&ie.slice(7);if(he&&he in ue){const Ve=`${he==="modelValue"?"model":he}Modifiers`,{number:Fe,trim:Ue}=ue[Ve]||EMPTY_OBJ$1;Ue&&(de=le.map(qe=>isString$6(qe)?qe.trim():qe)),Fe&&(de=le.map(looseToNumber))}let _e,$e=ue[_e=toHandlerKey(ie)]||ue[_e=toHandlerKey(camelize(ie))];!$e&&pe&&($e=ue[_e=toHandlerKey(hyphenate(ie))]),$e&&callWithAsyncErrorHandling($e,oe,6,de);const Ie=ue[_e+"Once"];if(Ie){if(!oe.emitted)oe.emitted={};else if(oe.emitted[_e])return;oe.emitted[_e]=!0,callWithAsyncErrorHandling(Ie,oe,6,de)}}function normalizeEmitsOptions(oe,ie,le=!1){const ue=ie.emitsCache,de=ue.get(oe);if(de!==void 0)return de;const pe=oe.emits;let he={},_e=!1;if(!isFunction$5(oe)){const $e=Ie=>{const Ve=normalizeEmitsOptions(Ie,ie,!0);Ve&&(_e=!0,extend$2(he,Ve))};!le&&ie.mixins.length&&ie.mixins.forEach($e),oe.extends&&$e(oe.extends),oe.mixins&&oe.mixins.forEach($e)}return!pe&&!_e?(isObject$9(oe)&&ue.set(oe,null),null):(isArray$c(pe)?pe.forEach($e=>he[$e]=null):extend$2(he,pe),isObject$9(oe)&&ue.set(oe,he),he)}function isEmitListener(oe,ie){return!oe||!isOn(ie)?!1:(ie=ie.slice(2).replace(/Once$/,""),hasOwn$4(oe,ie[0].toLowerCase()+ie.slice(1))||hasOwn$4(oe,hyphenate(ie))||hasOwn$4(oe,ie))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(oe){const ie=currentRenderingInstance;return currentRenderingInstance=oe,currentScopeId=oe&&oe.type.__scopeId||null,ie}function pushScopeId(oe){currentScopeId=oe}function popScopeId(){currentScopeId=null}const withScopeId=oe=>withCtx;function withCtx(oe,ie=currentRenderingInstance,le){if(!ie||oe._n)return oe;const ue=(...de)=>{ue._d&&setBlockTracking(-1);const pe=setCurrentRenderingInstance(ie);let he;try{he=oe(...de)}finally{setCurrentRenderingInstance(pe),ue._d&&setBlockTracking(1)}return he};return ue._n=!0,ue._c=!0,ue._d=!0,ue}function markAttrsAccessed(){}function renderComponentRoot(oe){const{type:ie,vnode:le,proxy:ue,withProxy:de,props:pe,propsOptions:[he],slots:_e,attrs:$e,emit:Ie,render:Ve,renderCache:Fe,data:Ue,setupState:qe,ctx:Et,inheritAttrs:At}=oe;let Lt,hn;const vn=setCurrentRenderingInstance(oe);try{if(le.shapeFlag&4){const bn=de||ue;Lt=normalizeVNode(Ve.call(bn,bn,Fe,pe,qe,Ue,Et)),hn=$e}else{const bn=ie;Lt=normalizeVNode(bn.length>1?bn(pe,{attrs:$e,slots:_e,emit:Ie}):bn(pe,null)),hn=ie.props?$e:getFunctionalFallthrough($e)}}catch(bn){blockStack.length=0,handleError(bn,oe,1),Lt=createVNode(Comment)}let _n=Lt;if(hn&&At!==!1){const bn=Object.keys(hn),{shapeFlag:Sn}=_n;bn.length&&Sn&7&&(he&&bn.some(isModelListener)&&(hn=filterModelListeners(hn,he)),_n=cloneVNode(_n,hn))}return le.dirs&&(_n=cloneVNode(_n),_n.dirs=_n.dirs?_n.dirs.concat(le.dirs):le.dirs),le.transition&&(_n.transition=le.transition),Lt=_n,setCurrentRenderingInstance(vn),Lt}function filterSingleRoot(oe){let ie;for(let le=0;le<oe.length;le++){const ue=oe[le];if(isVNode$1(ue)){if(ue.type!==Comment||ue.children==="v-if"){if(ie)return;ie=ue}}else return}return ie}const getFunctionalFallthrough=oe=>{let ie;for(const le in oe)(le==="class"||le==="style"||isOn(le))&&((ie||(ie={}))[le]=oe[le]);return ie},filterModelListeners=(oe,ie)=>{const le={};for(const ue in oe)(!isModelListener(ue)||!(ue.slice(9)in ie))&&(le[ue]=oe[ue]);return le};function shouldUpdateComponent(oe,ie,le){const{props:ue,children:de,component:pe}=oe,{props:he,children:_e,patchFlag:$e}=ie,Ie=pe.emitsOptions;if(ie.dirs||ie.transition)return!0;if(le&&$e>=0){if($e&1024)return!0;if($e&16)return ue?hasPropsChanged(ue,he,Ie):!!he;if($e&8){const Ve=ie.dynamicProps;for(let Fe=0;Fe<Ve.length;Fe++){const Ue=Ve[Fe];if(he[Ue]!==ue[Ue]&&!isEmitListener(Ie,Ue))return!0}}}else return(de||_e)&&(!_e||!_e.$stable)?!0:ue===he?!1:ue?he?hasPropsChanged(ue,he,Ie):!0:!!he;return!1}function hasPropsChanged(oe,ie,le){const ue=Object.keys(ie);if(ue.length!==Object.keys(oe).length)return!0;for(let de=0;de<ue.length;de++){const pe=ue[de];if(ie[pe]!==oe[pe]&&!isEmitListener(le,pe))return!0}return!1}function updateHOCHostEl({vnode:oe,parent:ie},le){for(;ie&&ie.subTree===oe;)(oe=ie.vnode).el=le,ie=ie.parent}const isSuspense=oe=>oe.__isSuspense,SuspenseImpl={name:"Suspense",__isSuspense:!0,process(oe,ie,le,ue,de,pe,he,_e,$e,Ie){oe==null?mountSuspense(ie,le,ue,de,pe,he,_e,$e,Ie):patchSuspense(oe,ie,le,ue,de,he,_e,$e,Ie)},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(oe,ie){const le=oe.props&&oe.props[ie];isFunction$5(le)&&le()}function mountSuspense(oe,ie,le,ue,de,pe,he,_e,$e){const{p:Ie,o:{createElement:Ve}}=$e,Fe=Ve("div"),Ue=oe.suspense=createSuspenseBoundary(oe,de,ue,ie,Fe,le,pe,he,_e,$e);Ie(null,Ue.pendingBranch=oe.ssContent,Fe,null,ue,Ue,pe,he),Ue.deps>0?(triggerEvent$1(oe,"onPending"),triggerEvent$1(oe,"onFallback"),Ie(null,oe.ssFallback,ie,le,ue,null,pe,he),setActiveBranch(Ue,oe.ssFallback)):Ue.resolve(!1,!0)}function patchSuspense(oe,ie,le,ue,de,pe,he,_e,{p:$e,um:Ie,o:{createElement:Ve}}){const Fe=ie.suspense=oe.suspense;Fe.vnode=ie,ie.el=oe.el;const Ue=ie.ssContent,qe=ie.ssFallback,{activeBranch:Et,pendingBranch:At,isInFallback:Lt,isHydrating:hn}=Fe;if(At)Fe.pendingBranch=Ue,isSameVNodeType(Ue,At)?($e(At,Ue,Fe.hiddenContainer,null,de,Fe,pe,he,_e),Fe.deps<=0?Fe.resolve():Lt&&($e(Et,qe,le,ue,de,null,pe,he,_e),setActiveBranch(Fe,qe))):(Fe.pendingId++,hn?(Fe.isHydrating=!1,Fe.activeBranch=At):Ie(At,de,Fe),Fe.deps=0,Fe.effects.length=0,Fe.hiddenContainer=Ve("div"),Lt?($e(null,Ue,Fe.hiddenContainer,null,de,Fe,pe,he,_e),Fe.deps<=0?Fe.resolve():($e(Et,qe,le,ue,de,null,pe,he,_e),setActiveBranch(Fe,qe))):Et&&isSameVNodeType(Ue,Et)?($e(Et,Ue,le,ue,de,Fe,pe,he,_e),Fe.resolve(!0)):($e(null,Ue,Fe.hiddenContainer,null,de,Fe,pe,he,_e),Fe.deps<=0&&Fe.resolve()));else if(Et&&isSameVNodeType(Ue,Et))$e(Et,Ue,le,ue,de,Fe,pe,he,_e),setActiveBranch(Fe,Ue);else if(triggerEvent$1(ie,"onPending"),Fe.pendingBranch=Ue,Fe.pendingId++,$e(null,Ue,Fe.hiddenContainer,null,de,Fe,pe,he,_e),Fe.deps<=0)Fe.resolve();else{const{timeout:vn,pendingId:_n}=Fe;vn>0?setTimeout(()=>{Fe.pendingId===_n&&Fe.fallback(qe)},vn):vn===0&&Fe.fallback(qe)}}function createSuspenseBoundary(oe,ie,le,ue,de,pe,he,_e,$e,Ie,Ve=!1){const{p:Fe,m:Ue,um:qe,n:Et,o:{parentNode:At,remove:Lt}}=Ie;let hn;const vn=isVNodeSuspensible(oe);vn&&ie!=null&&ie.pendingBranch&&(hn=ie.pendingId,ie.deps++);const _n=oe.props?toNumber$1(oe.props.timeout):void 0,bn={vnode:oe,parent:ie,parentComponent:le,isSVG:he,container:ue,hiddenContainer:de,anchor:pe,deps:0,pendingId:0,timeout:typeof _n=="number"?_n:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:Ve,isUnmounted:!1,effects:[],resolve(Sn=!1,Cn=!1){const{vnode:En,activeBranch:wn,pendingBranch:xn,pendingId:kn,effects:Pn,parentComponent:An,container:In}=bn;if(bn.isHydrating)bn.isHydrating=!1;else if(!Sn){const Vn=wn&&xn.transition&&xn.transition.mode==="out-in";Vn&&(wn.transition.afterLeave=()=>{kn===bn.pendingId&&Ue(xn,In,Mn,0)});let{anchor:Mn}=bn;wn&&(Mn=Et(wn),qe(wn,An,bn,!0)),Vn||Ue(xn,In,Mn,0)}setActiveBranch(bn,xn),bn.pendingBranch=null,bn.isInFallback=!1;let Nn=bn.parent,Un=!1;for(;Nn;){if(Nn.pendingBranch){Nn.effects.push(...Pn),Un=!0;break}Nn=Nn.parent}Un||queuePostFlushCb(Pn),bn.effects=[],vn&&ie&&ie.pendingBranch&&hn===ie.pendingId&&(ie.deps--,ie.deps===0&&!Cn&&ie.resolve()),triggerEvent$1(En,"onResolve")},fallback(Sn){if(!bn.pendingBranch)return;const{vnode:Cn,activeBranch:En,parentComponent:wn,container:xn,isSVG:kn}=bn;triggerEvent$1(Cn,"onFallback");const Pn=Et(En),An=()=>{bn.isInFallback&&(Fe(null,Sn,xn,Pn,wn,null,kn,_e,$e),setActiveBranch(bn,Sn))},In=Sn.transition&&Sn.transition.mode==="out-in";In&&(En.transition.afterLeave=An),bn.isInFallback=!0,qe(En,wn,null,!0),In||An()},move(Sn,Cn,En){bn.activeBranch&&Ue(bn.activeBranch,Sn,Cn,En),bn.container=Sn},next(){return bn.activeBranch&&Et(bn.activeBranch)},registerDep(Sn,Cn){const En=!!bn.pendingBranch;En&&bn.deps++;const wn=Sn.vnode.el;Sn.asyncDep.catch(xn=>{handleError(xn,Sn,0)}).then(xn=>{if(Sn.isUnmounted||bn.isUnmounted||bn.pendingId!==Sn.suspenseId)return;Sn.asyncResolved=!0;const{vnode:kn}=Sn;handleSetupResult(Sn,xn,!1),wn&&(kn.el=wn);const Pn=!wn&&Sn.subTree.el;Cn(Sn,kn,At(wn||Sn.subTree.el),wn?null:Et(Sn.subTree),bn,he,$e),Pn&&Lt(Pn),updateHOCHostEl(Sn,kn.el),En&&--bn.deps===0&&bn.resolve()})},unmount(Sn,Cn){bn.isUnmounted=!0,bn.activeBranch&&qe(bn.activeBranch,le,Sn,Cn),bn.pendingBranch&&qe(bn.pendingBranch,le,Sn,Cn)}};return bn}function hydrateSuspense(oe,ie,le,ue,de,pe,he,_e,$e){const Ie=ie.suspense=createSuspenseBoundary(ie,ue,le,oe.parentNode,document.createElement("div"),null,de,pe,he,_e,!0),Ve=$e(oe,Ie.pendingBranch=ie.ssContent,le,Ie,pe,he);return Ie.deps===0&&Ie.resolve(!1,!0),Ve}function normalizeSuspenseChildren(oe){const{shapeFlag:ie,children:le}=oe,ue=ie&32;oe.ssContent=normalizeSuspenseSlot(ue?le.default:le),oe.ssFallback=ue?normalizeSuspenseSlot(le.fallback):createVNode(Comment)}function normalizeSuspenseSlot(oe){let ie;if(isFunction$5(oe)){const le=isBlockTreeEnabled&&oe._c;le&&(oe._d=!1,openBlock()),oe=oe(),le&&(oe._d=!0,ie=currentBlock,closeBlock())}return isArray$c(oe)&&(oe=filterSingleRoot(oe)),oe=normalizeVNode(oe),ie&&!oe.dynamicChildren&&(oe.dynamicChildren=ie.filter(le=>le!==oe)),oe}function queueEffectWithSuspense(oe,ie){ie&&ie.pendingBranch?isArray$c(oe)?ie.effects.push(...oe):ie.effects.push(oe):queuePostFlushCb(oe)}function setActiveBranch(oe,ie){oe.activeBranch=ie;const{vnode:le,parentComponent:ue}=oe,de=le.el=ie.el;ue&&ue.subTree===le&&(ue.vnode.el=de,updateHOCHostEl(ue,de))}function isVNodeSuspensible(oe){var ie;return((ie=oe.props)==null?void 0:ie.suspensible)!=null&&oe.props.suspensible!==!1}function watchEffect(oe,ie){return doWatch(oe,null,ie)}function watchPostEffect(oe,ie){return doWatch(oe,null,{flush:"post"})}function watchSyncEffect(oe,ie){return doWatch(oe,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(oe,ie,le){return doWatch(oe,ie,le)}function doWatch(oe,ie,{immediate:le,deep:ue,flush:de,onTrack:pe,onTrigger:he}=EMPTY_OBJ$1){var _e;const $e=getCurrentScope()===((_e=currentInstance)==null?void 0:_e.scope)?currentInstance:null;let Ie,Ve=!1,Fe=!1;if(isRef(oe)?(Ie=()=>oe.value,Ve=isShallow(oe)):isReactive(oe)?(Ie=()=>oe,ue=!0):isArray$c(oe)?(Fe=!0,Ve=oe.some(bn=>isReactive(bn)||isShallow(bn)),Ie=()=>oe.map(bn=>{if(isRef(bn))return bn.value;if(isReactive(bn))return traverse(bn);if(isFunction$5(bn))return callWithErrorHandling(bn,$e,2)})):isFunction$5(oe)?ie?Ie=()=>callWithErrorHandling(oe,$e,2):Ie=()=>{if(!($e&&$e.isUnmounted))return Ue&&Ue(),callWithAsyncErrorHandling(oe,$e,3,[qe])}:Ie=NOOP,ie&&ue){const bn=Ie;Ie=()=>traverse(bn())}let Ue,qe=bn=>{Ue=vn.onStop=()=>{callWithErrorHandling(bn,$e,4)}},Et;if(isInSSRComponentSetup)if(qe=NOOP,ie?le&&callWithAsyncErrorHandling(ie,$e,3,[Ie(),Fe?[]:void 0,qe]):Ie(),de==="sync"){const bn=useSSRContext();Et=bn.__watcherHandles||(bn.__watcherHandles=[])}else return NOOP;let At=Fe?new Array(oe.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Lt=()=>{if(vn.active)if(ie){const bn=vn.run();(ue||Ve||(Fe?bn.some((Sn,Cn)=>hasChanged(Sn,At[Cn])):hasChanged(bn,At)))&&(Ue&&Ue(),callWithAsyncErrorHandling(ie,$e,3,[bn,At===INITIAL_WATCHER_VALUE?void 0:Fe&&At[0]===INITIAL_WATCHER_VALUE?[]:At,qe]),At=bn)}else vn.run()};Lt.allowRecurse=!!ie;let hn;de==="sync"?hn=Lt:de==="post"?hn=()=>queuePostRenderEffect(Lt,$e&&$e.suspense):(Lt.pre=!0,$e&&(Lt.id=$e.uid),hn=()=>queueJob(Lt));const vn=new ReactiveEffect(Ie,hn);ie?le?Lt():At=vn.run():de==="post"?queuePostRenderEffect(vn.run.bind(vn),$e&&$e.suspense):vn.run();const _n=()=>{vn.stop(),$e&&$e.scope&&remove($e.scope.effects,vn)};return Et&&Et.push(_n),_n}function instanceWatch(oe,ie,le){const ue=this.proxy,de=isString$6(oe)?oe.includes(".")?createPathGetter(ue,oe):()=>ue[oe]:oe.bind(ue,ue);let pe;isFunction$5(ie)?pe=ie:(pe=ie.handler,le=ie);const he=currentInstance;setCurrentInstance(this);const _e=doWatch(de,pe.bind(ue),le);return he?setCurrentInstance(he):unsetCurrentInstance(),_e}function createPathGetter(oe,ie){const le=ie.split(".");return()=>{let ue=oe;for(let de=0;de<le.length&&ue;de++)ue=ue[le[de]];return ue}}function traverse(oe,ie){if(!isObject$9(oe)||oe.__v_skip||(ie=ie||new Set,ie.has(oe)))return oe;if(ie.add(oe),isRef(oe))traverse(oe.value,ie);else if(isArray$c(oe))for(let le=0;le<oe.length;le++)traverse(oe[le],ie);else if(isSet$3(oe)||isMap$3(oe))oe.forEach(le=>{traverse(le,ie)});else if(isPlainObject$4(oe))for(const le in oe)traverse(oe[le],ie);return oe}function withDirectives(oe,ie){const le=currentRenderingInstance;if(le===null)return oe;const ue=getExposeProxy(le)||le.proxy,de=oe.dirs||(oe.dirs=[]);for(let pe=0;pe<ie.length;pe++){let[he,_e,$e,Ie=EMPTY_OBJ$1]=ie[pe];he&&(isFunction$5(he)&&(he={mounted:he,updated:he}),he.deep&&traverse(_e),de.push({dir:he,instance:ue,value:_e,oldValue:void 0,arg:$e,modifiers:Ie}))}return oe}function invokeDirectiveHook(oe,ie,le,ue){const de=oe.dirs,pe=ie&&ie.dirs;for(let he=0;he<de.length;he++){const _e=de[he];pe&&(_e.oldValue=pe[he].value);let $e=_e.dir[ue];$e&&(pauseTracking(),callWithAsyncErrorHandling($e,le,8,[oe.el,_e,oe,ie]),resetTracking())}}function useTransitionState(){const oe={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{oe.isMounted=!0}),onBeforeUnmount(()=>{oe.isUnmounting=!0}),oe}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(oe,{slots:ie}){const le=getCurrentInstance(),ue=useTransitionState();let de;return()=>{const pe=ie.default&&getTransitionRawChildren(ie.default(),!0);if(!pe||!pe.length)return;let he=pe[0];if(pe.length>1){for(const At of pe)if(At.type!==Comment){he=At;break}}const _e=toRaw(oe),{mode:$e}=_e;if(ue.isLeaving)return emptyPlaceholder(he);const Ie=getKeepAliveChild(he);if(!Ie)return emptyPlaceholder(he);const Ve=resolveTransitionHooks(Ie,_e,ue,le);setTransitionHooks(Ie,Ve);const Fe=le.subTree,Ue=Fe&&getKeepAliveChild(Fe);let qe=!1;const{getTransitionKey:Et}=Ie.type;if(Et){const At=Et();de===void 0?de=At:At!==de&&(de=At,qe=!0)}if(Ue&&Ue.type!==Comment&&(!isSameVNodeType(Ie,Ue)||qe)){const At=resolveTransitionHooks(Ue,_e,ue,le);if(setTransitionHooks(Ue,At),$e==="out-in")return ue.isLeaving=!0,At.afterLeave=()=>{ue.isLeaving=!1,le.update.active!==!1&&le.update()},emptyPlaceholder(he);$e==="in-out"&&Ie.type!==Comment&&(At.delayLeave=(Lt,hn,vn)=>{const _n=getLeavingNodesForType(ue,Ue);_n[String(Ue.key)]=Ue,Lt._leaveCb=()=>{hn(),Lt._leaveCb=void 0,delete Ve.delayedLeave},Ve.delayedLeave=vn})}return he}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(oe,ie){const{leavingVNodes:le}=oe;let ue=le.get(ie.type);return ue||(ue=Object.create(null),le.set(ie.type,ue)),ue}function resolveTransitionHooks(oe,ie,le,ue){const{appear:de,mode:pe,persisted:he=!1,onBeforeEnter:_e,onEnter:$e,onAfterEnter:Ie,onEnterCancelled:Ve,onBeforeLeave:Fe,onLeave:Ue,onAfterLeave:qe,onLeaveCancelled:Et,onBeforeAppear:At,onAppear:Lt,onAfterAppear:hn,onAppearCancelled:vn}=ie,_n=String(oe.key),bn=getLeavingNodesForType(le,oe),Sn=(wn,xn)=>{wn&&callWithAsyncErrorHandling(wn,ue,9,xn)},Cn=(wn,xn)=>{const kn=xn[1];Sn(wn,xn),isArray$c(wn)?wn.every(Pn=>Pn.length<=1)&&kn():wn.length<=1&&kn()},En={mode:pe,persisted:he,beforeEnter(wn){let xn=_e;if(!le.isMounted)if(de)xn=At||_e;else return;wn._leaveCb&&wn._leaveCb(!0);const kn=bn[_n];kn&&isSameVNodeType(oe,kn)&&kn.el._leaveCb&&kn.el._leaveCb(),Sn(xn,[wn])},enter(wn){let xn=$e,kn=Ie,Pn=Ve;if(!le.isMounted)if(de)xn=Lt||$e,kn=hn||Ie,Pn=vn||Ve;else return;let An=!1;const In=wn._enterCb=Nn=>{An||(An=!0,Nn?Sn(Pn,[wn]):Sn(kn,[wn]),En.delayedLeave&&En.delayedLeave(),wn._enterCb=void 0)};xn?Cn(xn,[wn,In]):In()},leave(wn,xn){const kn=String(oe.key);if(wn._enterCb&&wn._enterCb(!0),le.isUnmounting)return xn();Sn(Fe,[wn]);let Pn=!1;const An=wn._leaveCb=In=>{Pn||(Pn=!0,xn(),In?Sn(Et,[wn]):Sn(qe,[wn]),wn._leaveCb=void 0,bn[kn]===oe&&delete bn[kn])};bn[kn]=oe,Ue?Cn(Ue,[wn,An]):An()},clone(wn){return resolveTransitionHooks(wn,ie,le,ue)}};return En}function emptyPlaceholder(oe){if(isKeepAlive(oe))return oe=cloneVNode(oe),oe.children=null,oe}function getKeepAliveChild(oe){return isKeepAlive(oe)?oe.children?oe.children[0]:void 0:oe}function setTransitionHooks(oe,ie){oe.shapeFlag&6&&oe.component?setTransitionHooks(oe.component.subTree,ie):oe.shapeFlag&128?(oe.ssContent.transition=ie.clone(oe.ssContent),oe.ssFallback.transition=ie.clone(oe.ssFallback)):oe.transition=ie}function getTransitionRawChildren(oe,ie=!1,le){let ue=[],de=0;for(let pe=0;pe<oe.length;pe++){let he=oe[pe];const _e=le==null?he.key:String(le)+String(he.key!=null?he.key:pe);he.type===Fragment?(he.patchFlag&128&&de++,ue=ue.concat(getTransitionRawChildren(he.children,ie,_e))):(ie||he.type!==Comment)&&ue.push(_e!=null?cloneVNode(he,{key:_e}):he)}if(de>1)for(let pe=0;pe<ue.length;pe++)ue[pe].patchFlag=-2;return ue}function defineComponent(oe,ie){return isFunction$5(oe)?(()=>extend$2({name:oe.name},ie,{setup:oe}))():oe}const isAsyncWrapper=oe=>!!oe.type.__asyncLoader;function defineAsyncComponent(oe){isFunction$5(oe)&&(oe={loader:oe});const{loader:ie,loadingComponent:le,errorComponent:ue,delay:de=200,timeout:pe,suspensible:he=!0,onError:_e}=oe;let $e=null,Ie,Ve=0;const Fe=()=>(Ve++,$e=null,Ue()),Ue=()=>{let qe;return $e||(qe=$e=ie().catch(Et=>{if(Et=Et instanceof Error?Et:new Error(String(Et)),_e)return new Promise((At,Lt)=>{_e(Et,()=>At(Fe()),()=>Lt(Et),Ve+1)});throw Et}).then(Et=>qe!==$e&&$e?$e:(Et&&(Et.__esModule||Et[Symbol.toStringTag]==="Module")&&(Et=Et.default),Ie=Et,Et)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:Ue,get __asyncResolved(){return Ie},setup(){const qe=currentInstance;if(Ie)return()=>createInnerComp(Ie,qe);const Et=vn=>{$e=null,handleError(vn,qe,13,!ue)};if(he&&qe.suspense||isInSSRComponentSetup)return Ue().then(vn=>()=>createInnerComp(vn,qe)).catch(vn=>(Et(vn),()=>ue?createVNode(ue,{error:vn}):null));const At=ref(!1),Lt=ref(),hn=ref(!!de);return de&&setTimeout(()=>{hn.value=!1},de),pe!=null&&setTimeout(()=>{if(!At.value&&!Lt.value){const vn=new Error(`Async component timed out after ${pe}ms.`);Et(vn),Lt.value=vn}},pe),Ue().then(()=>{At.value=!0,qe.parent&&isKeepAlive(qe.parent.vnode)&&queueJob(qe.parent.update)}).catch(vn=>{Et(vn),Lt.value=vn}),()=>{if(At.value&&Ie)return createInnerComp(Ie,qe);if(Lt.value&&ue)return createVNode(ue,{error:Lt.value});if(le&&!hn.value)return createVNode(le)}}})}function createInnerComp(oe,ie){const{ref:le,props:ue,children:de,ce:pe}=ie.vnode,he=createVNode(oe,ue,de);return he.ref=le,he.ce=pe,delete ie.vnode.ce,he}const isKeepAlive=oe=>oe.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(oe,{slots:ie}){const le=getCurrentInstance(),ue=le.ctx;if(!ue.renderer)return()=>{const vn=ie.default&&ie.default();return vn&&vn.length===1?vn[0]:vn};const de=new Map,pe=new Set;let he=null;const _e=le.suspense,{renderer:{p:$e,m:Ie,um:Ve,o:{createElement:Fe}}}=ue,Ue=Fe("div");ue.activate=(vn,_n,bn,Sn,Cn)=>{const En=vn.component;Ie(vn,_n,bn,0,_e),$e(En.vnode,vn,_n,bn,En,_e,Sn,vn.slotScopeIds,Cn),queuePostRenderEffect(()=>{En.isDeactivated=!1,En.a&&invokeArrayFns(En.a);const wn=vn.props&&vn.props.onVnodeMounted;wn&&invokeVNodeHook(wn,En.parent,vn)},_e)},ue.deactivate=vn=>{const _n=vn.component;Ie(vn,Ue,null,1,_e),queuePostRenderEffect(()=>{_n.da&&invokeArrayFns(_n.da);const bn=vn.props&&vn.props.onVnodeUnmounted;bn&&invokeVNodeHook(bn,_n.parent,vn),_n.isDeactivated=!0},_e)};function qe(vn){resetShapeFlag(vn),Ve(vn,le,_e,!0)}function Et(vn){de.forEach((_n,bn)=>{const Sn=getComponentName(_n.type);Sn&&(!vn||!vn(Sn))&&At(bn)})}function At(vn){const _n=de.get(vn);!he||!isSameVNodeType(_n,he)?qe(_n):he&&resetShapeFlag(he),de.delete(vn),pe.delete(vn)}watch(()=>[oe.include,oe.exclude],([vn,_n])=>{vn&&Et(bn=>matches(vn,bn)),_n&&Et(bn=>!matches(_n,bn))},{flush:"post",deep:!0});let Lt=null;const hn=()=>{Lt!=null&&de.set(Lt,getInnerChild(le.subTree))};return onMounted(hn),onUpdated(hn),onBeforeUnmount(()=>{de.forEach(vn=>{const{subTree:_n,suspense:bn}=le,Sn=getInnerChild(_n);if(vn.type===Sn.type&&vn.key===Sn.key){resetShapeFlag(Sn);const Cn=Sn.component.da;Cn&&queuePostRenderEffect(Cn,bn);return}qe(vn)})}),()=>{if(Lt=null,!ie.default)return null;const vn=ie.default(),_n=vn[0];if(vn.length>1)return he=null,vn;if(!isVNode$1(_n)||!(_n.shapeFlag&4)&&!(_n.shapeFlag&128))return he=null,_n;let bn=getInnerChild(_n);const Sn=bn.type,Cn=getComponentName(isAsyncWrapper(bn)?bn.type.__asyncResolved||{}:Sn),{include:En,exclude:wn,max:xn}=oe;if(En&&(!Cn||!matches(En,Cn))||wn&&Cn&&matches(wn,Cn))return he=bn,_n;const kn=bn.key==null?Sn:bn.key,Pn=de.get(kn);return bn.el&&(bn=cloneVNode(bn),_n.shapeFlag&128&&(_n.ssContent=bn)),Lt=kn,Pn?(bn.el=Pn.el,bn.component=Pn.component,bn.transition&&setTransitionHooks(bn,bn.transition),bn.shapeFlag|=512,pe.delete(kn),pe.add(kn)):(pe.add(kn),xn&&pe.size>parseInt(xn,10)&&At(pe.values().next().value)),bn.shapeFlag|=256,he=bn,isSuspense(_n.type)?_n:bn}}},KeepAlive=KeepAliveImpl;function matches(oe,ie){return isArray$c(oe)?oe.some(le=>matches(le,ie)):isString$6(oe)?oe.split(",").includes(ie):isRegExp$5(oe)?oe.test(ie):!1}function onActivated(oe,ie){registerKeepAliveHook(oe,"a",ie)}function onDeactivated(oe,ie){registerKeepAliveHook(oe,"da",ie)}function registerKeepAliveHook(oe,ie,le=currentInstance){const ue=oe.__wdc||(oe.__wdc=()=>{let de=le;for(;de;){if(de.isDeactivated)return;de=de.parent}return oe()});if(injectHook(ie,ue,le),le){let de=le.parent;for(;de&&de.parent;)isKeepAlive(de.parent.vnode)&&injectToKeepAliveRoot(ue,ie,le,de),de=de.parent}}function injectToKeepAliveRoot(oe,ie,le,ue){const de=injectHook(ie,oe,ue,!0);onUnmounted(()=>{remove(ue[ie],de)},le)}function resetShapeFlag(oe){oe.shapeFlag&=-257,oe.shapeFlag&=-513}function getInnerChild(oe){return oe.shapeFlag&128?oe.ssContent:oe}function injectHook(oe,ie,le=currentInstance,ue=!1){if(le){const de=le[oe]||(le[oe]=[]),pe=ie.__weh||(ie.__weh=(...he)=>{if(le.isUnmounted)return;pauseTracking(),setCurrentInstance(le);const _e=callWithAsyncErrorHandling(ie,le,oe,he);return unsetCurrentInstance(),resetTracking(),_e});return ue?de.unshift(pe):de.push(pe),pe}}const createHook=oe=>(ie,le=currentInstance)=>(!isInSSRComponentSetup||oe==="sp")&&injectHook(oe,(...ue)=>ie(...ue),le),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(oe,ie=currentInstance){injectHook("ec",oe,ie)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(oe,ie){return resolveAsset(COMPONENTS,oe,!0,ie)||oe}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(oe){return isString$6(oe)?resolveAsset(COMPONENTS,oe,!1)||oe:oe||NULL_DYNAMIC_COMPONENT}function resolveDirective(oe){return resolveAsset(DIRECTIVES,oe)}function resolveAsset(oe,ie,le=!0,ue=!1){const de=currentRenderingInstance||currentInstance;if(de){const pe=de.type;if(oe===COMPONENTS){const _e=getComponentName(pe,!1);if(_e&&(_e===ie||_e===camelize(ie)||_e===capitalize$2(camelize(ie))))return pe}const he=resolve(de[oe]||pe[oe],ie)||resolve(de.appContext[oe],ie);return!he&&ue?pe:he}}function resolve(oe,ie){return oe&&(oe[ie]||oe[camelize(ie)]||oe[capitalize$2(camelize(ie))])}function renderList(oe,ie,le,ue){let de;const pe=le&&le[ue];if(isArray$c(oe)||isString$6(oe)){de=new Array(oe.length);for(let he=0,_e=oe.length;he<_e;he++)de[he]=ie(oe[he],he,void 0,pe&&pe[he])}else if(typeof oe=="number"){de=new Array(oe);for(let he=0;he<oe;he++)de[he]=ie(he+1,he,void 0,pe&&pe[he])}else if(isObject$9(oe))if(oe[Symbol.iterator])de=Array.from(oe,(he,_e)=>ie(he,_e,void 0,pe&&pe[_e]));else{const he=Object.keys(oe);de=new Array(he.length);for(let _e=0,$e=he.length;_e<$e;_e++){const Ie=he[_e];de[_e]=ie(oe[Ie],Ie,_e,pe&&pe[_e])}}else de=[];return le&&(le[ue]=de),de}function createSlots(oe,ie){for(let le=0;le<ie.length;le++){const ue=ie[le];if(isArray$c(ue))for(let de=0;de<ue.length;de++)oe[ue[de].name]=ue[de].fn;else ue&&(oe[ue.name]=ue.key?(...de)=>{const pe=ue.fn(...de);return pe&&(pe.key=ue.key),pe}:ue.fn)}return oe}function renderSlot(oe,ie,le={},ue,de){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return ie!=="default"&&(le.name=ie),createVNode("slot",le,ue&&ue());let pe=oe[ie];pe&&pe._c&&(pe._d=!1),openBlock();const he=pe&&ensureValidVNode(pe(le)),_e=createBlock(Fragment,{key:le.key||he&&he.key||`_${ie}`},he||(ue?ue():[]),he&&oe._===1?64:-2);return!de&&_e.scopeId&&(_e.slotScopeIds=[_e.scopeId+"-s"]),pe&&pe._c&&(pe._d=!0),_e}function ensureValidVNode(oe){return oe.some(ie=>isVNode$1(ie)?!(ie.type===Comment||ie.type===Fragment&&!ensureValidVNode(ie.children)):!0)?oe:null}function toHandlers(oe,ie){const le={};for(const ue in oe)le[ie&&/[A-Z]/.test(ue)?`on:${ue}`:toHandlerKey(ue)]=oe[ue];return le}const getPublicInstance=oe=>oe?isStatefulComponent(oe)?getExposeProxy(oe)||oe.proxy:getPublicInstance(oe.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:oe=>oe,$el:oe=>oe.vnode.el,$data:oe=>oe.data,$props:oe=>oe.props,$attrs:oe=>oe.attrs,$slots:oe=>oe.slots,$refs:oe=>oe.refs,$parent:oe=>getPublicInstance(oe.parent),$root:oe=>getPublicInstance(oe.root),$emit:oe=>oe.emit,$options:oe=>resolveMergedOptions(oe),$forceUpdate:oe=>oe.f||(oe.f=()=>queueJob(oe.update)),$nextTick:oe=>oe.n||(oe.n=nextTick.bind(oe.proxy)),$watch:oe=>instanceWatch.bind(oe)}),hasSetupBinding=(oe,ie)=>oe!==EMPTY_OBJ$1&&!oe.__isScriptSetup&&hasOwn$4(oe,ie),PublicInstanceProxyHandlers={get({_:oe},ie){const{ctx:le,setupState:ue,data:de,props:pe,accessCache:he,type:_e,appContext:$e}=oe;let Ie;if(ie[0]!=="$"){const qe=he[ie];if(qe!==void 0)switch(qe){case 1:return ue[ie];case 2:return de[ie];case 4:return le[ie];case 3:return pe[ie]}else{if(hasSetupBinding(ue,ie))return he[ie]=1,ue[ie];if(de!==EMPTY_OBJ$1&&hasOwn$4(de,ie))return he[ie]=2,de[ie];if((Ie=oe.propsOptions[0])&&hasOwn$4(Ie,ie))return he[ie]=3,pe[ie];if(le!==EMPTY_OBJ$1&&hasOwn$4(le,ie))return he[ie]=4,le[ie];shouldCacheAccess&&(he[ie]=0)}}const Ve=publicPropertiesMap[ie];let Fe,Ue;if(Ve)return ie==="$attrs"&&track(oe,"get",ie),Ve(oe);if((Fe=_e.__cssModules)&&(Fe=Fe[ie]))return Fe;if(le!==EMPTY_OBJ$1&&hasOwn$4(le,ie))return he[ie]=4,le[ie];if(Ue=$e.config.globalProperties,hasOwn$4(Ue,ie))return Ue[ie]},set({_:oe},ie,le){const{data:ue,setupState:de,ctx:pe}=oe;return hasSetupBinding(de,ie)?(de[ie]=le,!0):ue!==EMPTY_OBJ$1&&hasOwn$4(ue,ie)?(ue[ie]=le,!0):hasOwn$4(oe.props,ie)||ie[0]==="$"&&ie.slice(1)in oe?!1:(pe[ie]=le,!0)},has({_:{data:oe,setupState:ie,accessCache:le,ctx:ue,appContext:de,propsOptions:pe}},he){let _e;return!!le[he]||oe!==EMPTY_OBJ$1&&hasOwn$4(oe,he)||hasSetupBinding(ie,he)||(_e=pe[0])&&hasOwn$4(_e,he)||hasOwn$4(ue,he)||hasOwn$4(publicPropertiesMap,he)||hasOwn$4(de.config.globalProperties,he)},defineProperty(oe,ie,le){return le.get!=null?oe._.accessCache[ie]=0:hasOwn$4(le,"value")&&this.set(oe,ie,le.value,null),Reflect.defineProperty(oe,ie,le)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(oe,ie){if(ie!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(oe,ie,oe)},has(oe,ie){return ie[0]!=="_"&&!isGloballyWhitelisted(ie)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(oe){}function defineOptions(oe){}function defineSlots(){return null}function defineModel(){}function withDefaults(oe,ie){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function useModel(oe,ie,le){const ue=getCurrentInstance();if(le&&le.local){const de=ref(oe[ie]);return watch(()=>oe[ie],pe=>de.value=pe),watch(de,pe=>{pe!==oe[ie]&&ue.emit(`update:${ie}`,pe)}),de}else return{__v_isRef:!0,get value(){return oe[ie]},set value(de){ue.emit(`update:${ie}`,de)}}}function getContext(){const oe=getCurrentInstance();return oe.setupContext||(oe.setupContext=createSetupContext(oe))}function normalizePropsOrEmits(oe){return isArray$c(oe)?oe.reduce((ie,le)=>(ie[le]=null,ie),{}):oe}function mergeDefaults(oe,ie){const le=normalizePropsOrEmits(oe);for(const ue in ie){if(ue.startsWith("__skip"))continue;let de=le[ue];de?isArray$c(de)||isFunction$5(de)?de=le[ue]={type:de,default:ie[ue]}:de.default=ie[ue]:de===null&&(de=le[ue]={default:ie[ue]}),de&&ie[`__skip_${ue}`]&&(de.skipFactory=!0)}return le}function mergeModels(oe,ie){return!oe||!ie?oe||ie:isArray$c(oe)&&isArray$c(ie)?oe.concat(ie):extend$2({},normalizePropsOrEmits(oe),normalizePropsOrEmits(ie))}function createPropsRestProxy(oe,ie){const le={};for(const ue in oe)ie.includes(ue)||Object.defineProperty(le,ue,{enumerable:!0,get:()=>oe[ue]});return le}function withAsyncContext(oe){const ie=getCurrentInstance();let le=oe();return unsetCurrentInstance(),isPromise(le)&&(le=le.catch(ue=>{throw setCurrentInstance(ie),ue})),[le,()=>setCurrentInstance(ie)]}let shouldCacheAccess=!0;function applyOptions(oe){const ie=resolveMergedOptions(oe),le=oe.proxy,ue=oe.ctx;shouldCacheAccess=!1,ie.beforeCreate&&callHook$1(ie.beforeCreate,oe,"bc");const{data:de,computed:pe,methods:he,watch:_e,provide:$e,inject:Ie,created:Ve,beforeMount:Fe,mounted:Ue,beforeUpdate:qe,updated:Et,activated:At,deactivated:Lt,beforeDestroy:hn,beforeUnmount:vn,destroyed:_n,unmounted:bn,render:Sn,renderTracked:Cn,renderTriggered:En,errorCaptured:wn,serverPrefetch:xn,expose:kn,inheritAttrs:Pn,components:An,directives:In,filters:Nn}=ie;if(Ie&&resolveInjections(Ie,ue,null),he)for(const Mn in he){const Fn=he[Mn];isFunction$5(Fn)&&(ue[Mn]=Fn.bind(le))}if(de){const Mn=de.call(le,le);isObject$9(Mn)&&(oe.data=reactive(Mn))}if(shouldCacheAccess=!0,pe)for(const Mn in pe){const Fn=pe[Mn],Ln=isFunction$5(Fn)?Fn.bind(le,le):isFunction$5(Fn.get)?Fn.get.bind(le,le):NOOP,jn=!isFunction$5(Fn)&&isFunction$5(Fn.set)?Fn.set.bind(le):NOOP,Zn=computed({get:Ln,set:jn});Object.defineProperty(ue,Mn,{enumerable:!0,configurable:!0,get:()=>Zn.value,set:Gn=>Zn.value=Gn})}if(_e)for(const Mn in _e)createWatcher(_e[Mn],ue,le,Mn);if($e){const Mn=isFunction$5($e)?$e.call(le):$e;Reflect.ownKeys(Mn).forEach(Fn=>{provide(Fn,Mn[Fn])})}Ve&&callHook$1(Ve,oe,"c");function Vn(Mn,Fn){isArray$c(Fn)?Fn.forEach(Ln=>Mn(Ln.bind(le))):Fn&&Mn(Fn.bind(le))}if(Vn(onBeforeMount,Fe),Vn(onMounted,Ue),Vn(onBeforeUpdate,qe),Vn(onUpdated,Et),Vn(onActivated,At),Vn(onDeactivated,Lt),Vn(onErrorCaptured,wn),Vn(onRenderTracked,Cn),Vn(onRenderTriggered,En),Vn(onBeforeUnmount,vn),Vn(onUnmounted,bn),Vn(onServerPrefetch,xn),isArray$c(kn))if(kn.length){const Mn=oe.exposed||(oe.exposed={});kn.forEach(Fn=>{Object.defineProperty(Mn,Fn,{get:()=>le[Fn],set:Ln=>le[Fn]=Ln})})}else oe.exposed||(oe.exposed={});Sn&&oe.render===NOOP&&(oe.render=Sn),Pn!=null&&(oe.inheritAttrs=Pn),An&&(oe.components=An),In&&(oe.directives=In)}function resolveInjections(oe,ie,le=NOOP){isArray$c(oe)&&(oe=normalizeInject(oe));for(const ue in oe){const de=oe[ue];let pe;isObject$9(de)?"default"in de?pe=inject(de.from||ue,de.default,!0):pe=inject(de.from||ue):pe=inject(de),isRef(pe)?Object.defineProperty(ie,ue,{enumerable:!0,configurable:!0,get:()=>pe.value,set:he=>pe.value=he}):ie[ue]=pe}}function callHook$1(oe,ie,le){callWithAsyncErrorHandling(isArray$c(oe)?oe.map(ue=>ue.bind(ie.proxy)):oe.bind(ie.proxy),ie,le)}function createWatcher(oe,ie,le,ue){const de=ue.includes(".")?createPathGetter(le,ue):()=>le[ue];if(isString$6(oe)){const pe=ie[oe];isFunction$5(pe)&&watch(de,pe)}else if(isFunction$5(oe))watch(de,oe.bind(le));else if(isObject$9(oe))if(isArray$c(oe))oe.forEach(pe=>createWatcher(pe,ie,le,ue));else{const pe=isFunction$5(oe.handler)?oe.handler.bind(le):ie[oe.handler];isFunction$5(pe)&&watch(de,pe,oe)}}function resolveMergedOptions(oe){const ie=oe.type,{mixins:le,extends:ue}=ie,{mixins:de,optionsCache:pe,config:{optionMergeStrategies:he}}=oe.appContext,_e=pe.get(ie);let $e;return _e?$e=_e:!de.length&&!le&&!ue?$e=ie:($e={},de.length&&de.forEach(Ie=>mergeOptions$2($e,Ie,he,!0)),mergeOptions$2($e,ie,he)),isObject$9(ie)&&pe.set(ie,$e),$e}function mergeOptions$2(oe,ie,le,ue=!1){const{mixins:de,extends:pe}=ie;pe&&mergeOptions$2(oe,pe,le,!0),de&&de.forEach(he=>mergeOptions$2(oe,he,le,!0));for(const he in ie)if(!(ue&&he==="expose")){const _e=internalOptionMergeStrats[he]||le&&le[he];oe[he]=_e?_e(oe[he],ie[he]):ie[he]}return oe}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(oe,ie){return ie?oe?function(){return extend$2(isFunction$5(oe)?oe.call(this,this):oe,isFunction$5(ie)?ie.call(this,this):ie)}:ie:oe}function mergeInject(oe,ie){return mergeObjectOptions(normalizeInject(oe),normalizeInject(ie))}function normalizeInject(oe){if(isArray$c(oe)){const ie={};for(let le=0;le<oe.length;le++)ie[oe[le]]=oe[le];return ie}return oe}function mergeAsArray(oe,ie){return oe?[...new Set([].concat(oe,ie))]:ie}function mergeObjectOptions(oe,ie){return oe?extend$2(Object.create(null),oe,ie):ie}function mergeEmitsOrPropsOptions(oe,ie){return oe?isArray$c(oe)&&isArray$c(ie)?[...new Set([...oe,...ie])]:extend$2(Object.create(null),normalizePropsOrEmits(oe),normalizePropsOrEmits(ie??{})):ie}function mergeWatchOptions(oe,ie){if(!oe)return ie;if(!ie)return oe;const le=extend$2(Object.create(null),oe);for(const ue in ie)le[ue]=mergeAsArray(oe[ue],ie[ue]);return le}function createAppContext(){return{app:null,config:{isNativeTag:NO,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 uid$1=0;function createAppAPI(oe,ie){return function(ue,de=null){isFunction$5(ue)||(ue=extend$2({},ue)),de!=null&&!isObject$9(de)&&(de=null);const pe=createAppContext(),he=new Set;let _e=!1;const $e=pe.app={_uid:uid$1++,_component:ue,_props:de,_container:null,_context:pe,_instance:null,version:version$3,get config(){return pe.config},set config(Ie){},use(Ie,...Ve){return he.has(Ie)||(Ie&&isFunction$5(Ie.install)?(he.add(Ie),Ie.install($e,...Ve)):isFunction$5(Ie)&&(he.add(Ie),Ie($e,...Ve))),$e},mixin(Ie){return pe.mixins.includes(Ie)||pe.mixins.push(Ie),$e},component(Ie,Ve){return Ve?(pe.components[Ie]=Ve,$e):pe.components[Ie]},directive(Ie,Ve){return Ve?(pe.directives[Ie]=Ve,$e):pe.directives[Ie]},mount(Ie,Ve,Fe){if(!_e){const Ue=createVNode(ue,de);return Ue.appContext=pe,Ve&&ie?ie(Ue,Ie):oe(Ue,Ie,Fe),_e=!0,$e._container=Ie,Ie.__vue_app__=$e,getExposeProxy(Ue.component)||Ue.component.proxy}},unmount(){_e&&(oe(null,$e._container),delete $e._container.__vue_app__)},provide(Ie,Ve){return pe.provides[Ie]=Ve,$e},runWithContext(Ie){currentApp=$e;try{return Ie()}finally{currentApp=null}}};return $e}}let currentApp=null;function provide(oe,ie){if(currentInstance){let le=currentInstance.provides;const ue=currentInstance.parent&&currentInstance.parent.provides;ue===le&&(le=currentInstance.provides=Object.create(ue)),le[oe]=ie}}function inject(oe,ie,le=!1){const ue=currentInstance||currentRenderingInstance;if(ue||currentApp){const de=ue?ue.parent==null?ue.vnode.appContext&&ue.vnode.appContext.provides:ue.parent.provides:currentApp._context.provides;if(de&&oe in de)return de[oe];if(arguments.length>1)return le&&isFunction$5(ie)?ie.call(ue&&ue.proxy):ie}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps$1(oe,ie,le,ue=!1){const de={},pe={};def(pe,InternalObjectKey,1),oe.propsDefaults=Object.create(null),setFullProps(oe,ie,de,pe);for(const he in oe.propsOptions[0])he in de||(de[he]=void 0);le?oe.props=ue?de:shallowReactive(de):oe.type.props?oe.props=de:oe.props=pe,oe.attrs=pe}function updateProps$2(oe,ie,le,ue){const{props:de,attrs:pe,vnode:{patchFlag:he}}=oe,_e=toRaw(de),[$e]=oe.propsOptions;let Ie=!1;if((ue||he>0)&&!(he&16)){if(he&8){const Ve=oe.vnode.dynamicProps;for(let Fe=0;Fe<Ve.length;Fe++){let Ue=Ve[Fe];if(isEmitListener(oe.emitsOptions,Ue))continue;const qe=ie[Ue];if($e)if(hasOwn$4(pe,Ue))qe!==pe[Ue]&&(pe[Ue]=qe,Ie=!0);else{const Et=camelize(Ue);de[Et]=resolvePropValue($e,_e,Et,qe,oe,!1)}else qe!==pe[Ue]&&(pe[Ue]=qe,Ie=!0)}}}else{setFullProps(oe,ie,de,pe)&&(Ie=!0);let Ve;for(const Fe in _e)(!ie||!hasOwn$4(ie,Fe)&&((Ve=hyphenate(Fe))===Fe||!hasOwn$4(ie,Ve)))&&($e?le&&(le[Fe]!==void 0||le[Ve]!==void 0)&&(de[Fe]=resolvePropValue($e,_e,Fe,void 0,oe,!0)):delete de[Fe]);if(pe!==_e)for(const Fe in pe)(!ie||!hasOwn$4(ie,Fe))&&(delete pe[Fe],Ie=!0)}Ie&&trigger$2(oe,"set","$attrs")}function setFullProps(oe,ie,le,ue){const[de,pe]=oe.propsOptions;let he=!1,_e;if(ie)for(let $e in ie){if(isReservedProp($e))continue;const Ie=ie[$e];let Ve;de&&hasOwn$4(de,Ve=camelize($e))?!pe||!pe.includes(Ve)?le[Ve]=Ie:(_e||(_e={}))[Ve]=Ie:isEmitListener(oe.emitsOptions,$e)||(!($e in ue)||Ie!==ue[$e])&&(ue[$e]=Ie,he=!0)}if(pe){const $e=toRaw(le),Ie=_e||EMPTY_OBJ$1;for(let Ve=0;Ve<pe.length;Ve++){const Fe=pe[Ve];le[Fe]=resolvePropValue(de,$e,Fe,Ie[Fe],oe,!hasOwn$4(Ie,Fe))}}return he}function resolvePropValue(oe,ie,le,ue,de,pe){const he=oe[le];if(he!=null){const _e=hasOwn$4(he,"default");if(_e&&ue===void 0){const $e=he.default;if(he.type!==Function&&!he.skipFactory&&isFunction$5($e)){const{propsDefaults:Ie}=de;le in Ie?ue=Ie[le]:(setCurrentInstance(de),ue=Ie[le]=$e.call(null,ie),unsetCurrentInstance())}else ue=$e}he[0]&&(pe&&!_e?ue=!1:he[1]&&(ue===""||ue===hyphenate(le))&&(ue=!0))}return ue}function normalizePropsOptions(oe,ie,le=!1){const ue=ie.propsCache,de=ue.get(oe);if(de)return de;const pe=oe.props,he={},_e=[];let $e=!1;if(!isFunction$5(oe)){const Ve=Fe=>{$e=!0;const[Ue,qe]=normalizePropsOptions(Fe,ie,!0);extend$2(he,Ue),qe&&_e.push(...qe)};!le&&ie.mixins.length&&ie.mixins.forEach(Ve),oe.extends&&Ve(oe.extends),oe.mixins&&oe.mixins.forEach(Ve)}if(!pe&&!$e)return isObject$9(oe)&&ue.set(oe,EMPTY_ARR),EMPTY_ARR;if(isArray$c(pe))for(let Ve=0;Ve<pe.length;Ve++){const Fe=camelize(pe[Ve]);validatePropName(Fe)&&(he[Fe]=EMPTY_OBJ$1)}else if(pe)for(const Ve in pe){const Fe=camelize(Ve);if(validatePropName(Fe)){const Ue=pe[Ve],qe=he[Fe]=isArray$c(Ue)||isFunction$5(Ue)?{type:Ue}:extend$2({},Ue);if(qe){const Et=getTypeIndex(Boolean,qe.type),At=getTypeIndex(String,qe.type);qe[0]=Et>-1,qe[1]=At<0||Et<At,(Et>-1||hasOwn$4(qe,"default"))&&_e.push(Fe)}}}const Ie=[he,_e];return isObject$9(oe)&&ue.set(oe,Ie),Ie}function validatePropName(oe){return oe[0]!=="$"}function getType(oe){const ie=oe&&oe.toString().match(/^\s*(function|class) (\w+)/);return ie?ie[2]:oe===null?"null":""}function isSameType(oe,ie){return getType(oe)===getType(ie)}function getTypeIndex(oe,ie){return isArray$c(ie)?ie.findIndex(le=>isSameType(le,oe)):isFunction$5(ie)&&isSameType(ie,oe)?0:-1}const isInternalKey=oe=>oe[0]==="_"||oe==="$stable",normalizeSlotValue=oe=>isArray$c(oe)?oe.map(normalizeVNode):[normalizeVNode(oe)],normalizeSlot$1=(oe,ie,le)=>{if(ie._n)return ie;const ue=withCtx((...de)=>normalizeSlotValue(ie(...de)),le);return ue._c=!1,ue},normalizeObjectSlots=(oe,ie,le)=>{const ue=oe._ctx;for(const de in oe){if(isInternalKey(de))continue;const pe=oe[de];if(isFunction$5(pe))ie[de]=normalizeSlot$1(de,pe,ue);else if(pe!=null){const he=normalizeSlotValue(pe);ie[de]=()=>he}}},normalizeVNodeSlots=(oe,ie)=>{const le=normalizeSlotValue(ie);oe.slots.default=()=>le},initSlots=(oe,ie)=>{if(oe.vnode.shapeFlag&32){const le=ie._;le?(oe.slots=toRaw(ie),def(ie,"_",le)):normalizeObjectSlots(ie,oe.slots={})}else oe.slots={},ie&&normalizeVNodeSlots(oe,ie);def(oe.slots,InternalObjectKey,1)},updateSlots=(oe,ie,le)=>{const{vnode:ue,slots:de}=oe;let pe=!0,he=EMPTY_OBJ$1;if(ue.shapeFlag&32){const _e=ie._;_e?le&&_e===1?pe=!1:(extend$2(de,ie),!le&&_e===1&&delete de._):(pe=!ie.$stable,normalizeObjectSlots(ie,de)),he=ie}else ie&&(normalizeVNodeSlots(oe,ie),he={default:1});if(pe)for(const _e in de)!isInternalKey(_e)&&!(_e in he)&&delete de[_e]};function setRef(oe,ie,le,ue,de=!1){if(isArray$c(oe)){oe.forEach((Ue,qe)=>setRef(Ue,ie&&(isArray$c(ie)?ie[qe]:ie),le,ue,de));return}if(isAsyncWrapper(ue)&&!de)return;const pe=ue.shapeFlag&4?getExposeProxy(ue.component)||ue.component.proxy:ue.el,he=de?null:pe,{i:_e,r:$e}=oe,Ie=ie&&ie.r,Ve=_e.refs===EMPTY_OBJ$1?_e.refs={}:_e.refs,Fe=_e.setupState;if(Ie!=null&&Ie!==$e&&(isString$6(Ie)?(Ve[Ie]=null,hasOwn$4(Fe,Ie)&&(Fe[Ie]=null)):isRef(Ie)&&(Ie.value=null)),isFunction$5($e))callWithErrorHandling($e,_e,12,[he,Ve]);else{const Ue=isString$6($e),qe=isRef($e);if(Ue||qe){const Et=()=>{if(oe.f){const At=Ue?hasOwn$4(Fe,$e)?Fe[$e]:Ve[$e]:$e.value;de?isArray$c(At)&&remove(At,pe):isArray$c(At)?At.includes(pe)||At.push(pe):Ue?(Ve[$e]=[pe],hasOwn$4(Fe,$e)&&(Fe[$e]=Ve[$e])):($e.value=[pe],oe.k&&(Ve[oe.k]=$e.value))}else Ue?(Ve[$e]=he,hasOwn$4(Fe,$e)&&(Fe[$e]=he)):qe&&($e.value=he,oe.k&&(Ve[oe.k]=he))};he?(Et.id=-1,queuePostRenderEffect(Et,le)):Et()}}}let hasMismatch=!1;const isSVGContainer=oe=>/svg/.test(oe.namespaceURI)&&oe.tagName!=="foreignObject",isComment$1=oe=>oe.nodeType===8;function createHydrationFunctions(oe){const{mt:ie,p:le,o:{patchProp:ue,createText:de,nextSibling:pe,parentNode:he,remove:_e,insert:$e,createComment:Ie}}=oe,Ve=(hn,vn)=>{if(!vn.hasChildNodes()){le(null,hn,vn),flushPostFlushCbs(),vn._vnode=hn;return}hasMismatch=!1,Fe(vn.firstChild,hn,null,null,null),flushPostFlushCbs(),vn._vnode=hn,hasMismatch&&console.error("Hydration completed but contains mismatches.")},Fe=(hn,vn,_n,bn,Sn,Cn=!1)=>{const En=isComment$1(hn)&&hn.data==="[",wn=()=>At(hn,vn,_n,bn,Sn,En),{type:xn,ref:kn,shapeFlag:Pn,patchFlag:An}=vn;let In=hn.nodeType;vn.el=hn,An===-2&&(Cn=!1,vn.dynamicChildren=null);let Nn=null;switch(xn){case Text$1:In!==3?vn.children===""?($e(vn.el=de(""),he(hn),hn),Nn=hn):Nn=wn():(hn.data!==vn.children&&(hasMismatch=!0,hn.data=vn.children),Nn=pe(hn));break;case Comment:In!==8||En?Nn=wn():Nn=pe(hn);break;case Static:if(En&&(hn=pe(hn),In=hn.nodeType),In===1||In===3){Nn=hn;const Un=!vn.children.length;for(let Vn=0;Vn<vn.staticCount;Vn++)Un&&(vn.children+=Nn.nodeType===1?Nn.outerHTML:Nn.data),Vn===vn.staticCount-1&&(vn.anchor=Nn),Nn=pe(Nn);return En?pe(Nn):Nn}else wn();break;case Fragment:En?Nn=Et(hn,vn,_n,bn,Sn,Cn):Nn=wn();break;default:if(Pn&1)In!==1||vn.type.toLowerCase()!==hn.tagName.toLowerCase()?Nn=wn():Nn=Ue(hn,vn,_n,bn,Sn,Cn);else if(Pn&6){vn.slotScopeIds=Sn;const Un=he(hn);if(ie(vn,Un,null,_n,bn,isSVGContainer(Un),Cn),Nn=En?Lt(hn):pe(hn),Nn&&isComment$1(Nn)&&Nn.data==="teleport end"&&(Nn=pe(Nn)),isAsyncWrapper(vn)){let Vn;En?(Vn=createVNode(Fragment),Vn.anchor=Nn?Nn.previousSibling:Un.lastChild):Vn=hn.nodeType===3?createTextVNode(""):createVNode("div"),Vn.el=hn,vn.component.subTree=Vn}}else Pn&64?In!==8?Nn=wn():Nn=vn.type.hydrate(hn,vn,_n,bn,Sn,Cn,oe,qe):Pn&128&&(Nn=vn.type.hydrate(hn,vn,_n,bn,isSVGContainer(he(hn)),Sn,Cn,oe,Fe))}return kn!=null&&setRef(kn,null,bn,vn),Nn},Ue=(hn,vn,_n,bn,Sn,Cn)=>{Cn=Cn||!!vn.dynamicChildren;const{type:En,props:wn,patchFlag:xn,shapeFlag:kn,dirs:Pn}=vn,An=En==="input"&&Pn||En==="option";if(An||xn!==-1){if(Pn&&invokeDirectiveHook(vn,null,_n,"created"),wn)if(An||!Cn||xn&48)for(const Nn in wn)(An&&Nn.endsWith("value")||isOn(Nn)&&!isReservedProp(Nn))&&ue(hn,Nn,null,wn[Nn],!1,void 0,_n);else wn.onClick&&ue(hn,"onClick",null,wn.onClick,!1,void 0,_n);let In;if((In=wn&&wn.onVnodeBeforeMount)&&invokeVNodeHook(In,_n,vn),Pn&&invokeDirectiveHook(vn,null,_n,"beforeMount"),((In=wn&&wn.onVnodeMounted)||Pn)&&queueEffectWithSuspense(()=>{In&&invokeVNodeHook(In,_n,vn),Pn&&invokeDirectiveHook(vn,null,_n,"mounted")},bn),kn&16&&!(wn&&(wn.innerHTML||wn.textContent))){let Nn=qe(hn.firstChild,vn,hn,_n,bn,Sn,Cn);for(;Nn;){hasMismatch=!0;const Un=Nn;Nn=Nn.nextSibling,_e(Un)}}else kn&8&&hn.textContent!==vn.children&&(hasMismatch=!0,hn.textContent=vn.children)}return hn.nextSibling},qe=(hn,vn,_n,bn,Sn,Cn,En)=>{En=En||!!vn.dynamicChildren;const wn=vn.children,xn=wn.length;for(let kn=0;kn<xn;kn++){const Pn=En?wn[kn]:wn[kn]=normalizeVNode(wn[kn]);if(hn)hn=Fe(hn,Pn,bn,Sn,Cn,En);else{if(Pn.type===Text$1&&!Pn.children)continue;hasMismatch=!0,le(null,Pn,_n,null,bn,Sn,isSVGContainer(_n),Cn)}}return hn},Et=(hn,vn,_n,bn,Sn,Cn)=>{const{slotScopeIds:En}=vn;En&&(Sn=Sn?Sn.concat(En):En);const wn=he(hn),xn=qe(pe(hn),vn,wn,_n,bn,Sn,Cn);return xn&&isComment$1(xn)&&xn.data==="]"?pe(vn.anchor=xn):(hasMismatch=!0,$e(vn.anchor=Ie("]"),wn,xn),xn)},At=(hn,vn,_n,bn,Sn,Cn)=>{if(hasMismatch=!0,vn.el=null,Cn){const xn=Lt(hn);for(;;){const kn=pe(hn);if(kn&&kn!==xn)_e(kn);else break}}const En=pe(hn),wn=he(hn);return _e(hn),le(null,vn,wn,En,_n,bn,isSVGContainer(wn),Sn),En},Lt=hn=>{let vn=0;for(;hn;)if(hn=pe(hn),hn&&isComment$1(hn)&&(hn.data==="["&&vn++,hn.data==="]")){if(vn===0)return pe(hn);vn--}return hn};return[Ve,Fe]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(oe){return baseCreateRenderer(oe)}function createHydrationRenderer(oe){return baseCreateRenderer(oe,createHydrationFunctions)}function baseCreateRenderer(oe,ie){const le=getGlobalThis();le.__VUE__=!0;const{insert:ue,remove:de,patchProp:pe,createElement:he,createText:_e,createComment:$e,setText:Ie,setElementText:Ve,parentNode:Fe,nextSibling:Ue,setScopeId:qe=NOOP,insertStaticContent:Et}=oe,At=(Kn,er,ar,gr=null,Er=null,cr=null,Ar=!1,br=null,kr=!!er.dynamicChildren)=>{if(Kn===er)return;Kn&&!isSameVNodeType(Kn,er)&&(gr=qn(Kn),Gn(Kn,Er,cr,!0),Kn=null),er.patchFlag===-2&&(kr=!1,er.dynamicChildren=null);const{type:mr,ref:ur,shapeFlag:fr}=er;switch(mr){case Text$1:Lt(Kn,er,ar,gr);break;case Comment:hn(Kn,er,ar,gr);break;case Static:Kn==null&&vn(er,ar,gr,Ar);break;case Fragment:An(Kn,er,ar,gr,Er,cr,Ar,br,kr);break;default:fr&1?Sn(Kn,er,ar,gr,Er,cr,Ar,br,kr):fr&6?In(Kn,er,ar,gr,Er,cr,Ar,br,kr):(fr&64||fr&128)&&mr.process(Kn,er,ar,gr,Er,cr,Ar,br,kr,Xn)}ur!=null&&Er&&setRef(ur,Kn&&Kn.ref,cr,er||Kn,!er)},Lt=(Kn,er,ar,gr)=>{if(Kn==null)ue(er.el=_e(er.children),ar,gr);else{const Er=er.el=Kn.el;er.children!==Kn.children&&Ie(Er,er.children)}},hn=(Kn,er,ar,gr)=>{Kn==null?ue(er.el=$e(er.children||""),ar,gr):er.el=Kn.el},vn=(Kn,er,ar,gr)=>{[Kn.el,Kn.anchor]=Et(Kn.children,er,ar,gr,Kn.el,Kn.anchor)},_n=({el:Kn,anchor:er},ar,gr)=>{let Er;for(;Kn&&Kn!==er;)Er=Ue(Kn),ue(Kn,ar,gr),Kn=Er;ue(er,ar,gr)},bn=({el:Kn,anchor:er})=>{let ar;for(;Kn&&Kn!==er;)ar=Ue(Kn),de(Kn),Kn=ar;de(er)},Sn=(Kn,er,ar,gr,Er,cr,Ar,br,kr)=>{Ar=Ar||er.type==="svg",Kn==null?Cn(er,ar,gr,Er,cr,Ar,br,kr):xn(Kn,er,Er,cr,Ar,br,kr)},Cn=(Kn,er,ar,gr,Er,cr,Ar,br)=>{let kr,mr;const{type:ur,props:fr,shapeFlag:pr,transition:Or,dirs:Lr}=Kn;if(kr=Kn.el=he(Kn.type,cr,fr&&fr.is,fr),pr&8?Ve(kr,Kn.children):pr&16&&wn(Kn.children,kr,null,gr,Er,cr&&ur!=="foreignObject",Ar,br),Lr&&invokeDirectiveHook(Kn,null,gr,"created"),En(kr,Kn,Kn.scopeId,Ar,gr),fr){for(const Dr in fr)Dr!=="value"&&!isReservedProp(Dr)&&pe(kr,Dr,null,fr[Dr],cr,Kn.children,gr,Er,ir);"value"in fr&&pe(kr,"value",null,fr.value),(mr=fr.onVnodeBeforeMount)&&invokeVNodeHook(mr,gr,Kn)}Lr&&invokeDirectiveHook(Kn,null,gr,"beforeMount");const Vr=(!Er||Er&&!Er.pendingBranch)&&Or&&!Or.persisted;Vr&&Or.beforeEnter(kr),ue(kr,er,ar),((mr=fr&&fr.onVnodeMounted)||Vr||Lr)&&queuePostRenderEffect(()=>{mr&&invokeVNodeHook(mr,gr,Kn),Vr&&Or.enter(kr),Lr&&invokeDirectiveHook(Kn,null,gr,"mounted")},Er)},En=(Kn,er,ar,gr,Er)=>{if(ar&&qe(Kn,ar),gr)for(let cr=0;cr<gr.length;cr++)qe(Kn,gr[cr]);if(Er){let cr=Er.subTree;if(er===cr){const Ar=Er.vnode;En(Kn,Ar,Ar.scopeId,Ar.slotScopeIds,Er.parent)}}},wn=(Kn,er,ar,gr,Er,cr,Ar,br,kr=0)=>{for(let mr=kr;mr<Kn.length;mr++){const ur=Kn[mr]=br?cloneIfMounted(Kn[mr]):normalizeVNode(Kn[mr]);At(null,ur,er,ar,gr,Er,cr,Ar,br)}},xn=(Kn,er,ar,gr,Er,cr,Ar)=>{const br=er.el=Kn.el;let{patchFlag:kr,dynamicChildren:mr,dirs:ur}=er;kr|=Kn.patchFlag&16;const fr=Kn.props||EMPTY_OBJ$1,pr=er.props||EMPTY_OBJ$1;let Or;ar&&toggleRecurse(ar,!1),(Or=pr.onVnodeBeforeUpdate)&&invokeVNodeHook(Or,ar,er,Kn),ur&&invokeDirectiveHook(er,Kn,ar,"beforeUpdate"),ar&&toggleRecurse(ar,!0);const Lr=Er&&er.type!=="foreignObject";if(mr?kn(Kn.dynamicChildren,mr,br,ar,gr,Lr,cr):Ar||Fn(Kn,er,br,null,ar,gr,Lr,cr,!1),kr>0){if(kr&16)Pn(br,er,fr,pr,ar,gr,Er);else if(kr&2&&fr.class!==pr.class&&pe(br,"class",null,pr.class,Er),kr&4&&pe(br,"style",fr.style,pr.style,Er),kr&8){const Vr=er.dynamicProps;for(let Dr=0;Dr<Vr.length;Dr++){const $r=Vr[Dr],xr=fr[$r],dr=pr[$r];(dr!==xr||$r==="value")&&pe(br,$r,xr,dr,Er,Kn.children,ar,gr,ir)}}kr&1&&Kn.children!==er.children&&Ve(br,er.children)}else!Ar&&mr==null&&Pn(br,er,fr,pr,ar,gr,Er);((Or=pr.onVnodeUpdated)||ur)&&queuePostRenderEffect(()=>{Or&&invokeVNodeHook(Or,ar,er,Kn),ur&&invokeDirectiveHook(er,Kn,ar,"updated")},gr)},kn=(Kn,er,ar,gr,Er,cr,Ar)=>{for(let br=0;br<er.length;br++){const kr=Kn[br],mr=er[br],ur=kr.el&&(kr.type===Fragment||!isSameVNodeType(kr,mr)||kr.shapeFlag&70)?Fe(kr.el):ar;At(kr,mr,ur,null,gr,Er,cr,Ar,!0)}},Pn=(Kn,er,ar,gr,Er,cr,Ar)=>{if(ar!==gr){if(ar!==EMPTY_OBJ$1)for(const br in ar)!isReservedProp(br)&&!(br in gr)&&pe(Kn,br,ar[br],null,Ar,er.children,Er,cr,ir);for(const br in gr){if(isReservedProp(br))continue;const kr=gr[br],mr=ar[br];kr!==mr&&br!=="value"&&pe(Kn,br,mr,kr,Ar,er.children,Er,cr,ir)}"value"in gr&&pe(Kn,"value",ar.value,gr.value)}},An=(Kn,er,ar,gr,Er,cr,Ar,br,kr)=>{const mr=er.el=Kn?Kn.el:_e(""),ur=er.anchor=Kn?Kn.anchor:_e("");let{patchFlag:fr,dynamicChildren:pr,slotScopeIds:Or}=er;Or&&(br=br?br.concat(Or):Or),Kn==null?(ue(mr,ar,gr),ue(ur,ar,gr),wn(er.children,ar,ur,Er,cr,Ar,br,kr)):fr>0&&fr&64&&pr&&Kn.dynamicChildren?(kn(Kn.dynamicChildren,pr,ar,Er,cr,Ar,br),(er.key!=null||Er&&er===Er.subTree)&&traverseStaticChildren(Kn,er,!0)):Fn(Kn,er,ar,ur,Er,cr,Ar,br,kr)},In=(Kn,er,ar,gr,Er,cr,Ar,br,kr)=>{er.slotScopeIds=br,Kn==null?er.shapeFlag&512?Er.ctx.activate(er,ar,gr,Ar,kr):Nn(er,ar,gr,Er,cr,Ar,kr):Un(Kn,er,kr)},Nn=(Kn,er,ar,gr,Er,cr,Ar)=>{const br=Kn.component=createComponentInstance(Kn,gr,Er);if(isKeepAlive(Kn)&&(br.ctx.renderer=Xn),setupComponent(br),br.asyncDep){if(Er&&Er.registerDep(br,Vn),!Kn.el){const kr=br.subTree=createVNode(Comment);hn(null,kr,er,ar)}return}Vn(br,Kn,er,ar,Er,cr,Ar)},Un=(Kn,er,ar)=>{const gr=er.component=Kn.component;if(shouldUpdateComponent(Kn,er,ar))if(gr.asyncDep&&!gr.asyncResolved){Mn(gr,er,ar);return}else gr.next=er,invalidateJob(gr.update),gr.update();else er.el=Kn.el,gr.vnode=er},Vn=(Kn,er,ar,gr,Er,cr,Ar)=>{const br=()=>{if(Kn.isMounted){let{next:ur,bu:fr,u:pr,parent:Or,vnode:Lr}=Kn,Vr=ur,Dr;toggleRecurse(Kn,!1),ur?(ur.el=Lr.el,Mn(Kn,ur,Ar)):ur=Lr,fr&&invokeArrayFns(fr),(Dr=ur.props&&ur.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Dr,Or,ur,Lr),toggleRecurse(Kn,!0);const $r=renderComponentRoot(Kn),xr=Kn.subTree;Kn.subTree=$r,At(xr,$r,Fe(xr.el),qn(xr),Kn,Er,cr),ur.el=$r.el,Vr===null&&updateHOCHostEl(Kn,$r.el),pr&&queuePostRenderEffect(pr,Er),(Dr=ur.props&&ur.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Dr,Or,ur,Lr),Er)}else{let ur;const{el:fr,props:pr}=er,{bm:Or,m:Lr,parent:Vr}=Kn,Dr=isAsyncWrapper(er);if(toggleRecurse(Kn,!1),Or&&invokeArrayFns(Or),!Dr&&(ur=pr&&pr.onVnodeBeforeMount)&&invokeVNodeHook(ur,Vr,er),toggleRecurse(Kn,!0),fr&&_r){const $r=()=>{Kn.subTree=renderComponentRoot(Kn),_r(fr,Kn.subTree,Kn,Er,null)};Dr?er.type.__asyncLoader().then(()=>!Kn.isUnmounted&&$r()):$r()}else{const $r=Kn.subTree=renderComponentRoot(Kn);At(null,$r,ar,gr,Kn,Er,cr),er.el=$r.el}if(Lr&&queuePostRenderEffect(Lr,Er),!Dr&&(ur=pr&&pr.onVnodeMounted)){const $r=er;queuePostRenderEffect(()=>invokeVNodeHook(ur,Vr,$r),Er)}(er.shapeFlag&256||Vr&&isAsyncWrapper(Vr.vnode)&&Vr.vnode.shapeFlag&256)&&Kn.a&&queuePostRenderEffect(Kn.a,Er),Kn.isMounted=!0,er=ar=gr=null}},kr=Kn.effect=new ReactiveEffect(br,()=>queueJob(mr),Kn.scope),mr=Kn.update=()=>kr.run();mr.id=Kn.uid,toggleRecurse(Kn,!0),mr()},Mn=(Kn,er,ar)=>{er.component=Kn;const gr=Kn.vnode.props;Kn.vnode=er,Kn.next=null,updateProps$2(Kn,er.props,gr,ar),updateSlots(Kn,er.children,ar),pauseTracking(),flushPreFlushCbs(),resetTracking()},Fn=(Kn,er,ar,gr,Er,cr,Ar,br,kr=!1)=>{const mr=Kn&&Kn.children,ur=Kn?Kn.shapeFlag:0,fr=er.children,{patchFlag:pr,shapeFlag:Or}=er;if(pr>0){if(pr&128){jn(mr,fr,ar,gr,Er,cr,Ar,br,kr);return}else if(pr&256){Ln(mr,fr,ar,gr,Er,cr,Ar,br,kr);return}}Or&8?(ur&16&&ir(mr,Er,cr),fr!==mr&&Ve(ar,fr)):ur&16?Or&16?jn(mr,fr,ar,gr,Er,cr,Ar,br,kr):ir(mr,Er,cr,!0):(ur&8&&Ve(ar,""),Or&16&&wn(fr,ar,gr,Er,cr,Ar,br,kr))},Ln=(Kn,er,ar,gr,Er,cr,Ar,br,kr)=>{Kn=Kn||EMPTY_ARR,er=er||EMPTY_ARR;const mr=Kn.length,ur=er.length,fr=Math.min(mr,ur);let pr;for(pr=0;pr<fr;pr++){const Or=er[pr]=kr?cloneIfMounted(er[pr]):normalizeVNode(er[pr]);At(Kn[pr],Or,ar,null,Er,cr,Ar,br,kr)}mr>ur?ir(Kn,Er,cr,!0,!1,fr):wn(er,ar,gr,Er,cr,Ar,br,kr,fr)},jn=(Kn,er,ar,gr,Er,cr,Ar,br,kr)=>{let mr=0;const ur=er.length;let fr=Kn.length-1,pr=ur-1;for(;mr<=fr&&mr<=pr;){const Or=Kn[mr],Lr=er[mr]=kr?cloneIfMounted(er[mr]):normalizeVNode(er[mr]);if(isSameVNodeType(Or,Lr))At(Or,Lr,ar,null,Er,cr,Ar,br,kr);else break;mr++}for(;mr<=fr&&mr<=pr;){const Or=Kn[fr],Lr=er[pr]=kr?cloneIfMounted(er[pr]):normalizeVNode(er[pr]);if(isSameVNodeType(Or,Lr))At(Or,Lr,ar,null,Er,cr,Ar,br,kr);else break;fr--,pr--}if(mr>fr){if(mr<=pr){const Or=pr+1,Lr=Or<ur?er[Or].el:gr;for(;mr<=pr;)At(null,er[mr]=kr?cloneIfMounted(er[mr]):normalizeVNode(er[mr]),ar,Lr,Er,cr,Ar,br,kr),mr++}}else if(mr>pr)for(;mr<=fr;)Gn(Kn[mr],Er,cr,!0),mr++;else{const Or=mr,Lr=mr,Vr=new Map;for(mr=Lr;mr<=pr;mr++){const Ir=er[mr]=kr?cloneIfMounted(er[mr]):normalizeVNode(er[mr]);Ir.key!=null&&Vr.set(Ir.key,mr)}let Dr,$r=0;const xr=pr-Lr+1;let dr=!1,Qn=0;const sr=new Array(xr);for(mr=0;mr<xr;mr++)sr[mr]=0;for(mr=Or;mr<=fr;mr++){const Ir=Kn[mr];if($r>=xr){Gn(Ir,Er,cr,!0);continue}let zr;if(Ir.key!=null)zr=Vr.get(Ir.key);else for(Dr=Lr;Dr<=pr;Dr++)if(sr[Dr-Lr]===0&&isSameVNodeType(Ir,er[Dr])){zr=Dr;break}zr===void 0?Gn(Ir,Er,cr,!0):(sr[zr-Lr]=mr+1,zr>=Qn?Qn=zr:dr=!0,At(Ir,er[zr],ar,null,Er,cr,Ar,br,kr),$r++)}const wr=dr?getSequence(sr):EMPTY_ARR;for(Dr=wr.length-1,mr=xr-1;mr>=0;mr--){const Ir=Lr+mr,zr=er[Ir],Cr=Ir+1<ur?er[Ir+1].el:gr;sr[mr]===0?At(null,zr,ar,Cr,Er,cr,Ar,br,kr):dr&&(Dr<0||mr!==wr[Dr]?Zn(zr,ar,Cr,2):Dr--)}}},Zn=(Kn,er,ar,gr,Er=null)=>{const{el:cr,type:Ar,transition:br,children:kr,shapeFlag:mr}=Kn;if(mr&6){Zn(Kn.component.subTree,er,ar,gr);return}if(mr&128){Kn.suspense.move(er,ar,gr);return}if(mr&64){Ar.move(Kn,er,ar,Xn);return}if(Ar===Fragment){ue(cr,er,ar);for(let fr=0;fr<kr.length;fr++)Zn(kr[fr],er,ar,gr);ue(Kn.anchor,er,ar);return}if(Ar===Static){_n(Kn,er,ar);return}if(gr!==2&&mr&1&&br)if(gr===0)br.beforeEnter(cr),ue(cr,er,ar),queuePostRenderEffect(()=>br.enter(cr),Er);else{const{leave:fr,delayLeave:pr,afterLeave:Or}=br,Lr=()=>ue(cr,er,ar),Vr=()=>{fr(cr,()=>{Lr(),Or&&Or()})};pr?pr(cr,Lr,Vr):Vr()}else ue(cr,er,ar)},Gn=(Kn,er,ar,gr=!1,Er=!1)=>{const{type:cr,props:Ar,ref:br,children:kr,dynamicChildren:mr,shapeFlag:ur,patchFlag:fr,dirs:pr}=Kn;if(br!=null&&setRef(br,null,ar,Kn,!0),ur&256){er.ctx.deactivate(Kn);return}const Or=ur&1&&pr,Lr=!isAsyncWrapper(Kn);let Vr;if(Lr&&(Vr=Ar&&Ar.onVnodeBeforeUnmount)&&invokeVNodeHook(Vr,er,Kn),ur&6)yr(Kn.component,ar,gr);else{if(ur&128){Kn.suspense.unmount(ar,gr);return}Or&&invokeDirectiveHook(Kn,null,er,"beforeUnmount"),ur&64?Kn.type.remove(Kn,er,ar,Er,Xn,gr):mr&&(cr!==Fragment||fr>0&&fr&64)?ir(mr,er,ar,!1,!0):(cr===Fragment&&fr&384||!Er&&ur&16)&&ir(kr,er,ar),gr&&Jn(Kn)}(Lr&&(Vr=Ar&&Ar.onVnodeUnmounted)||Or)&&queuePostRenderEffect(()=>{Vr&&invokeVNodeHook(Vr,er,Kn),Or&&invokeDirectiveHook(Kn,null,er,"unmounted")},ar)},Jn=Kn=>{const{type:er,el:ar,anchor:gr,transition:Er}=Kn;if(er===Fragment){lr(ar,gr);return}if(er===Static){bn(Kn);return}const cr=()=>{de(ar),Er&&!Er.persisted&&Er.afterLeave&&Er.afterLeave()};if(Kn.shapeFlag&1&&Er&&!Er.persisted){const{leave:Ar,delayLeave:br}=Er,kr=()=>Ar(ar,cr);br?br(Kn.el,cr,kr):kr()}else cr()},lr=(Kn,er)=>{let ar;for(;Kn!==er;)ar=Ue(Kn),de(Kn),Kn=ar;de(er)},yr=(Kn,er,ar)=>{const{bum:gr,scope:Er,update:cr,subTree:Ar,um:br}=Kn;gr&&invokeArrayFns(gr),Er.stop(),cr&&(cr.active=!1,Gn(Ar,Kn,er,ar)),br&&queuePostRenderEffect(br,er),queuePostRenderEffect(()=>{Kn.isUnmounted=!0},er),er&&er.pendingBranch&&!er.isUnmounted&&Kn.asyncDep&&!Kn.asyncResolved&&Kn.suspenseId===er.pendingId&&(er.deps--,er.deps===0&&er.resolve())},ir=(Kn,er,ar,gr=!1,Er=!1,cr=0)=>{for(let Ar=cr;Ar<Kn.length;Ar++)Gn(Kn[Ar],er,ar,gr,Er)},qn=Kn=>Kn.shapeFlag&6?qn(Kn.component.subTree):Kn.shapeFlag&128?Kn.suspense.next():Ue(Kn.anchor||Kn.el),Yn=(Kn,er,ar)=>{Kn==null?er._vnode&&Gn(er._vnode,null,null,!0):At(er._vnode||null,Kn,er,null,null,null,ar),flushPreFlushCbs(),flushPostFlushCbs(),er._vnode=Kn},Xn={p:At,um:Gn,m:Zn,r:Jn,mt:Nn,mc:wn,pc:Fn,pbc:kn,n:qn,o:oe};let or,_r;return ie&&([or,_r]=ie(Xn)),{render:Yn,hydrate:or,createApp:createAppAPI(Yn,or)}}function toggleRecurse({effect:oe,update:ie},le){oe.allowRecurse=ie.allowRecurse=le}function traverseStaticChildren(oe,ie,le=!1){const ue=oe.children,de=ie.children;if(isArray$c(ue)&&isArray$c(de))for(let pe=0;pe<ue.length;pe++){const he=ue[pe];let _e=de[pe];_e.shapeFlag&1&&!_e.dynamicChildren&&((_e.patchFlag<=0||_e.patchFlag===32)&&(_e=de[pe]=cloneIfMounted(de[pe]),_e.el=he.el),le||traverseStaticChildren(he,_e)),_e.type===Text$1&&(_e.el=he.el)}}function getSequence(oe){const ie=oe.slice(),le=[0];let ue,de,pe,he,_e;const $e=oe.length;for(ue=0;ue<$e;ue++){const Ie=oe[ue];if(Ie!==0){if(de=le[le.length-1],oe[de]<Ie){ie[ue]=de,le.push(ue);continue}for(pe=0,he=le.length-1;pe<he;)_e=pe+he>>1,oe[le[_e]]<Ie?pe=_e+1:he=_e;Ie<oe[le[pe]]&&(pe>0&&(ie[ue]=le[pe-1]),le[pe]=ue)}}for(pe=le.length,he=le[pe-1];pe-- >0;)le[pe]=he,he=ie[he];return le}const isTeleport=oe=>oe.__isTeleport,isTeleportDisabled=oe=>oe&&(oe.disabled||oe.disabled===""),isTargetSVG=oe=>typeof SVGElement<"u"&&oe instanceof SVGElement,resolveTarget=(oe,ie)=>{const le=oe&&oe.to;return isString$6(le)?ie?ie(le):null:le},TeleportImpl={__isTeleport:!0,process(oe,ie,le,ue,de,pe,he,_e,$e,Ie){const{mc:Ve,pc:Fe,pbc:Ue,o:{insert:qe,querySelector:Et,createText:At,createComment:Lt}}=Ie,hn=isTeleportDisabled(ie.props);let{shapeFlag:vn,children:_n,dynamicChildren:bn}=ie;if(oe==null){const Sn=ie.el=At(""),Cn=ie.anchor=At("");qe(Sn,le,ue),qe(Cn,le,ue);const En=ie.target=resolveTarget(ie.props,Et),wn=ie.targetAnchor=At("");En&&(qe(wn,En),he=he||isTargetSVG(En));const xn=(kn,Pn)=>{vn&16&&Ve(_n,kn,Pn,de,pe,he,_e,$e)};hn?xn(le,Cn):En&&xn(En,wn)}else{ie.el=oe.el;const Sn=ie.anchor=oe.anchor,Cn=ie.target=oe.target,En=ie.targetAnchor=oe.targetAnchor,wn=isTeleportDisabled(oe.props),xn=wn?le:Cn,kn=wn?Sn:En;if(he=he||isTargetSVG(Cn),bn?(Ue(oe.dynamicChildren,bn,xn,de,pe,he,_e),traverseStaticChildren(oe,ie,!0)):$e||Fe(oe,ie,xn,kn,de,pe,he,_e,!1),hn)wn||moveTeleport(ie,le,Sn,Ie,1);else if((ie.props&&ie.props.to)!==(oe.props&&oe.props.to)){const Pn=ie.target=resolveTarget(ie.props,Et);Pn&&moveTeleport(ie,Pn,null,Ie,0)}else wn&&moveTeleport(ie,Cn,En,Ie,1)}updateCssVars(ie)},remove(oe,ie,le,ue,{um:de,o:{remove:pe}},he){const{shapeFlag:_e,children:$e,anchor:Ie,targetAnchor:Ve,target:Fe,props:Ue}=oe;if(Fe&&pe(Ve),(he||!isTeleportDisabled(Ue))&&(pe(Ie),_e&16))for(let qe=0;qe<$e.length;qe++){const Et=$e[qe];de(Et,ie,le,!0,!!Et.dynamicChildren)}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(oe,ie,le,{o:{insert:ue},m:de},pe=2){pe===0&&ue(oe.targetAnchor,ie,le);const{el:he,anchor:_e,shapeFlag:$e,children:Ie,props:Ve}=oe,Fe=pe===2;if(Fe&&ue(he,ie,le),(!Fe||isTeleportDisabled(Ve))&&$e&16)for(let Ue=0;Ue<Ie.length;Ue++)de(Ie[Ue],ie,le,2);Fe&&ue(_e,ie,le)}function hydrateTeleport(oe,ie,le,ue,de,pe,{o:{nextSibling:he,parentNode:_e,querySelector:$e}},Ie){const Ve=ie.target=resolveTarget(ie.props,$e);if(Ve){const Fe=Ve._lpa||Ve.firstChild;if(ie.shapeFlag&16)if(isTeleportDisabled(ie.props))ie.anchor=Ie(he(oe),ie,_e(oe),le,ue,de,pe),ie.targetAnchor=Fe;else{ie.anchor=he(oe);let Ue=Fe;for(;Ue;)if(Ue=he(Ue),Ue&&Ue.nodeType===8&&Ue.data==="teleport anchor"){ie.targetAnchor=Ue,Ve._lpa=ie.targetAnchor&&he(ie.targetAnchor);break}Ie(Fe,ie,Ve,le,ue,de,pe)}updateCssVars(ie)}return ie.anchor&&he(ie.anchor)}const Teleport=TeleportImpl;function updateCssVars(oe){const ie=oe.ctx;if(ie&&ie.ut){let le=oe.children[0].el;for(;le!==oe.targetAnchor;)le.nodeType===1&&le.setAttribute("data-v-owner",ie.uid),le=le.nextSibling;ie.ut()}}const Fragment=Symbol.for("v-fgt"),Text$1=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(oe=!1){blockStack.push(currentBlock=oe?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(oe){isBlockTreeEnabled+=oe}function setupBlock(oe){return oe.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(oe),oe}function createElementBlock(oe,ie,le,ue,de,pe){return setupBlock(createBaseVNode(oe,ie,le,ue,de,pe,!0))}function createBlock(oe,ie,le,ue,de){return setupBlock(createVNode(oe,ie,le,ue,de,!0))}function isVNode$1(oe){return oe?oe.__v_isVNode===!0:!1}function isSameVNodeType(oe,ie){return oe.type===ie.type&&oe.key===ie.key}function transformVNodeArgs(oe){}const InternalObjectKey="__vInternal",normalizeKey=({key:oe})=>oe??null,normalizeRef=({ref:oe,ref_key:ie,ref_for:le})=>(typeof oe=="number"&&(oe=""+oe),oe!=null?isString$6(oe)||isRef(oe)||isFunction$5(oe)?{i:currentRenderingInstance,r:oe,k:ie,f:!!le}:oe:null);function createBaseVNode(oe,ie=null,le=null,ue=0,de=null,pe=oe===Fragment?0:1,he=!1,_e=!1){const $e={__v_isVNode:!0,__v_skip:!0,type:oe,props:ie,key:ie&&normalizeKey(ie),ref:ie&&normalizeRef(ie),scopeId:currentScopeId,slotScopeIds:null,children:le,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:pe,patchFlag:ue,dynamicProps:de,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return _e?(normalizeChildren($e,le),pe&128&&oe.normalize($e)):le&&($e.shapeFlag|=isString$6(le)?8:16),isBlockTreeEnabled>0&&!he&&currentBlock&&($e.patchFlag>0||pe&6)&&$e.patchFlag!==32&&currentBlock.push($e),$e}const createVNode=_createVNode;function _createVNode(oe,ie=null,le=null,ue=0,de=null,pe=!1){if((!oe||oe===NULL_DYNAMIC_COMPONENT)&&(oe=Comment),isVNode$1(oe)){const _e=cloneVNode(oe,ie,!0);return le&&normalizeChildren(_e,le),isBlockTreeEnabled>0&&!pe&&currentBlock&&(_e.shapeFlag&6?currentBlock[currentBlock.indexOf(oe)]=_e:currentBlock.push(_e)),_e.patchFlag|=-2,_e}if(isClassComponent(oe)&&(oe=oe.__vccOpts),ie){ie=guardReactiveProps(ie);let{class:_e,style:$e}=ie;_e&&!isString$6(_e)&&(ie.class=normalizeClass(_e)),isObject$9($e)&&(isProxy($e)&&!isArray$c($e)&&($e=extend$2({},$e)),ie.style=normalizeStyle$1($e))}const he=isString$6(oe)?1:isSuspense(oe)?128:isTeleport(oe)?64:isObject$9(oe)?4:isFunction$5(oe)?2:0;return createBaseVNode(oe,ie,le,ue,de,he,pe,!0)}function guardReactiveProps(oe){return oe?isProxy(oe)||InternalObjectKey in oe?extend$2({},oe):oe:null}function cloneVNode(oe,ie,le=!1){const{props:ue,ref:de,patchFlag:pe,children:he}=oe,_e=ie?mergeProps(ue||{},ie):ue;return{__v_isVNode:!0,__v_skip:!0,type:oe.type,props:_e,key:_e&&normalizeKey(_e),ref:ie&&ie.ref?le&&de?isArray$c(de)?de.concat(normalizeRef(ie)):[de,normalizeRef(ie)]:normalizeRef(ie):de,scopeId:oe.scopeId,slotScopeIds:oe.slotScopeIds,children:he,target:oe.target,targetAnchor:oe.targetAnchor,staticCount:oe.staticCount,shapeFlag:oe.shapeFlag,patchFlag:ie&&oe.type!==Fragment?pe===-1?16:pe|16:pe,dynamicProps:oe.dynamicProps,dynamicChildren:oe.dynamicChildren,appContext:oe.appContext,dirs:oe.dirs,transition:oe.transition,component:oe.component,suspense:oe.suspense,ssContent:oe.ssContent&&cloneVNode(oe.ssContent),ssFallback:oe.ssFallback&&cloneVNode(oe.ssFallback),el:oe.el,anchor:oe.anchor,ctx:oe.ctx,ce:oe.ce}}function createTextVNode(oe=" ",ie=0){return createVNode(Text$1,null,oe,ie)}function createStaticVNode(oe,ie){const le=createVNode(Static,null,oe);return le.staticCount=ie,le}function createCommentVNode(oe="",ie=!1){return ie?(openBlock(),createBlock(Comment,null,oe)):createVNode(Comment,null,oe)}function normalizeVNode(oe){return oe==null||typeof oe=="boolean"?createVNode(Comment):isArray$c(oe)?createVNode(Fragment,null,oe.slice()):typeof oe=="object"?cloneIfMounted(oe):createVNode(Text$1,null,String(oe))}function cloneIfMounted(oe){return oe.el===null&&oe.patchFlag!==-1||oe.memo?oe:cloneVNode(oe)}function normalizeChildren(oe,ie){let le=0;const{shapeFlag:ue}=oe;if(ie==null)ie=null;else if(isArray$c(ie))le=16;else if(typeof ie=="object")if(ue&65){const de=ie.default;de&&(de._c&&(de._d=!1),normalizeChildren(oe,de()),de._c&&(de._d=!0));return}else{le=32;const de=ie._;!de&&!(InternalObjectKey in ie)?ie._ctx=currentRenderingInstance:de===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?ie._=1:(ie._=2,oe.patchFlag|=1024))}else isFunction$5(ie)?(ie={default:ie,_ctx:currentRenderingInstance},le=32):(ie=String(ie),ue&64?(le=16,ie=[createTextVNode(ie)]):le=8);oe.children=ie,oe.shapeFlag|=le}function mergeProps(...oe){const ie={};for(let le=0;le<oe.length;le++){const ue=oe[le];for(const de in ue)if(de==="class")ie.class!==ue.class&&(ie.class=normalizeClass([ie.class,ue.class]));else if(de==="style")ie.style=normalizeStyle$1([ie.style,ue.style]);else if(isOn(de)){const pe=ie[de],he=ue[de];he&&pe!==he&&!(isArray$c(pe)&&pe.includes(he))&&(ie[de]=pe?[].concat(pe,he):he)}else de!==""&&(ie[de]=ue[de])}return ie}function invokeVNodeHook(oe,ie,le,ue=null){callWithAsyncErrorHandling(oe,ie,7,[le,ue])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance(oe,ie,le){const ue=oe.type,de=(ie?ie.appContext:oe.appContext)||emptyAppContext,pe={uid:uid$2++,vnode:oe,type:ue,parent:ie,appContext:de,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:ie?ie.provides:Object.create(de.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(ue,de),emitsOptions:normalizeEmitsOptions(ue,de),emit:null,emitted:null,propsDefaults:EMPTY_OBJ$1,inheritAttrs:ue.inheritAttrs,ctx:EMPTY_OBJ$1,data:EMPTY_OBJ$1,props:EMPTY_OBJ$1,attrs:EMPTY_OBJ$1,slots:EMPTY_OBJ$1,refs:EMPTY_OBJ$1,setupState:EMPTY_OBJ$1,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:le,suspenseId:le?le.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 pe.ctx={_:pe},pe.root=ie?ie.root:pe,pe.emit=emit.bind(null,pe),oe.ce&&oe.ce(pe),pe}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,globalCurrentInstanceSetters,settersKey="__VUE_INSTANCE_SETTERS__";(globalCurrentInstanceSetters=getGlobalThis()[settersKey])||(globalCurrentInstanceSetters=getGlobalThis()[settersKey]=[]),globalCurrentInstanceSetters.push(oe=>currentInstance=oe),internalSetCurrentInstance=oe=>{globalCurrentInstanceSetters.length>1?globalCurrentInstanceSetters.forEach(ie=>ie(oe)):globalCurrentInstanceSetters[0](oe)};const setCurrentInstance=oe=>{internalSetCurrentInstance(oe),oe.scope.on()},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(oe){return oe.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(oe,ie=!1){isInSSRComponentSetup=ie;const{props:le,children:ue}=oe.vnode,de=isStatefulComponent(oe);initProps$1(oe,le,de,ie),initSlots(oe,ue);const pe=de?setupStatefulComponent(oe,ie):void 0;return isInSSRComponentSetup=!1,pe}function setupStatefulComponent(oe,ie){const le=oe.type;oe.accessCache=Object.create(null),oe.proxy=markRaw(new Proxy(oe.ctx,PublicInstanceProxyHandlers));const{setup:ue}=le;if(ue){const de=oe.setupContext=ue.length>1?createSetupContext(oe):null;setCurrentInstance(oe),pauseTracking();const pe=callWithErrorHandling(ue,oe,0,[oe.props,de]);if(resetTracking(),unsetCurrentInstance(),isPromise(pe)){if(pe.then(unsetCurrentInstance,unsetCurrentInstance),ie)return pe.then(he=>{handleSetupResult(oe,he,ie)}).catch(he=>{handleError(he,oe,0)});oe.asyncDep=pe}else handleSetupResult(oe,pe,ie)}else finishComponentSetup(oe,ie)}function handleSetupResult(oe,ie,le){isFunction$5(ie)?oe.type.__ssrInlineRender?oe.ssrRender=ie:oe.render=ie:isObject$9(ie)&&(oe.setupState=proxyRefs(ie)),finishComponentSetup(oe,le)}let compile$1,installWithProxy;function registerRuntimeCompiler(oe){compile$1=oe,installWithProxy=ie=>{ie.render._rc&&(ie.withProxy=new Proxy(ie.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup(oe,ie,le){const ue=oe.type;if(!oe.render){if(!ie&&compile$1&&!ue.render){const de=ue.template||resolveMergedOptions(oe).template;if(de){const{isCustomElement:pe,compilerOptions:he}=oe.appContext.config,{delimiters:_e,compilerOptions:$e}=ue,Ie=extend$2(extend$2({isCustomElement:pe,delimiters:_e},he),$e);ue.render=compile$1(de,Ie)}}oe.render=ue.render||NOOP,installWithProxy&&installWithProxy(oe)}setCurrentInstance(oe),pauseTracking(),applyOptions(oe),resetTracking(),unsetCurrentInstance()}function getAttrsProxy(oe){return oe.attrsProxy||(oe.attrsProxy=new Proxy(oe.attrs,{get(ie,le){return track(oe,"get","$attrs"),ie[le]}}))}function createSetupContext(oe){const ie=le=>{oe.exposed=le||{}};return{get attrs(){return getAttrsProxy(oe)},slots:oe.slots,emit:oe.emit,expose:ie}}function getExposeProxy(oe){if(oe.exposed)return oe.exposeProxy||(oe.exposeProxy=new Proxy(proxyRefs(markRaw(oe.exposed)),{get(ie,le){if(le in ie)return ie[le];if(le in publicPropertiesMap)return publicPropertiesMap[le](oe)},has(ie,le){return le in ie||le in publicPropertiesMap}}))}function getComponentName(oe,ie=!0){return isFunction$5(oe)?oe.displayName||oe.name:oe.name||ie&&oe.__name}function isClassComponent(oe){return isFunction$5(oe)&&"__vccOpts"in oe}const computed=(oe,ie)=>computed$1(oe,ie,isInSSRComponentSetup);function h$3(oe,ie,le){const ue=arguments.length;return ue===2?isObject$9(ie)&&!isArray$c(ie)?isVNode$1(ie)?createVNode(oe,null,[ie]):createVNode(oe,ie):createVNode(oe,null,ie):(ue>3?le=Array.prototype.slice.call(arguments,2):ue===3&&isVNode$1(le)&&(le=[le]),createVNode(oe,ie,le))}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function initCustomFormatter(){}function withMemo(oe,ie,le,ue){const de=le[ue];if(de&&isMemoSame(de,oe))return de;const pe=ie();return pe.memo=oe.slice(),le[ue]=pe}function isMemoSame(oe,ie){const le=oe.memo;if(le.length!=ie.length)return!1;for(let ue=0;ue<le.length;ue++)if(hasChanged(le[ue],ie[ue]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(oe),!0}const version$3="3.3.4",_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode:isVNode$1,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,svgNS="http://www.w3.org/2000/svg",doc$1=typeof document<"u"?document:null,templateContainer=doc$1&&doc$1.createElement("template"),nodeOps={insert:(oe,ie,le)=>{ie.insertBefore(oe,le||null)},remove:oe=>{const ie=oe.parentNode;ie&&ie.removeChild(oe)},createElement:(oe,ie,le,ue)=>{const de=ie?doc$1.createElementNS(svgNS,oe):doc$1.createElement(oe,le?{is:le}:void 0);return oe==="select"&&ue&&ue.multiple!=null&&de.setAttribute("multiple",ue.multiple),de},createText:oe=>doc$1.createTextNode(oe),createComment:oe=>doc$1.createComment(oe),setText:(oe,ie)=>{oe.nodeValue=ie},setElementText:(oe,ie)=>{oe.textContent=ie},parentNode:oe=>oe.parentNode,nextSibling:oe=>oe.nextSibling,querySelector:oe=>doc$1.querySelector(oe),setScopeId(oe,ie){oe.setAttribute(ie,"")},insertStaticContent(oe,ie,le,ue,de,pe){const he=le?le.previousSibling:ie.lastChild;if(de&&(de===pe||de.nextSibling))for(;ie.insertBefore(de.cloneNode(!0),le),!(de===pe||!(de=de.nextSibling)););else{templateContainer.innerHTML=ue?`<svg>${oe}</svg>`:oe;const _e=templateContainer.content;if(ue){const $e=_e.firstChild;for(;$e.firstChild;)_e.appendChild($e.firstChild);_e.removeChild($e)}ie.insertBefore(_e,le)}return[he?he.nextSibling:ie.firstChild,le?le.previousSibling:ie.lastChild]}};function patchClass(oe,ie,le){const ue=oe._vtc;ue&&(ie=(ie?[ie,...ue]:[...ue]).join(" ")),ie==null?oe.removeAttribute("class"):le?oe.setAttribute("class",ie):oe.className=ie}function patchStyle(oe,ie,le){const ue=oe.style,de=isString$6(le);if(le&&!de){if(ie&&!isString$6(ie))for(const pe in ie)le[pe]==null&&setStyle(ue,pe,"");for(const pe in le)setStyle(ue,pe,le[pe])}else{const pe=ue.display;de?ie!==le&&(ue.cssText=le):ie&&oe.removeAttribute("style"),"_vod"in oe&&(ue.display=pe)}}const importantRE=/\s*!important$/;function setStyle(oe,ie,le){if(isArray$c(le))le.forEach(ue=>setStyle(oe,ie,ue));else if(le==null&&(le=""),ie.startsWith("--"))oe.setProperty(ie,le);else{const ue=autoPrefix(oe,ie);importantRE.test(le)?oe.setProperty(hyphenate(ue),le.replace(importantRE,""),"important"):oe[ue]=le}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(oe,ie){const le=prefixCache[ie];if(le)return le;let ue=camelize(ie);if(ue!=="filter"&&ue in oe)return prefixCache[ie]=ue;ue=capitalize$2(ue);for(let de=0;de<prefixes.length;de++){const pe=prefixes[de]+ue;if(pe in oe)return prefixCache[ie]=pe}return ie}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(oe,ie,le,ue,de){if(ue&&ie.startsWith("xlink:"))le==null?oe.removeAttributeNS(xlinkNS,ie.slice(6,ie.length)):oe.setAttributeNS(xlinkNS,ie,le);else{const pe=isSpecialBooleanAttr(ie);le==null||pe&&!includeBooleanAttr(le)?oe.removeAttribute(ie):oe.setAttribute(ie,pe?"":le)}}function patchDOMProp(oe,ie,le,ue,de,pe,he){if(ie==="innerHTML"||ie==="textContent"){ue&&he(ue,de,pe),oe[ie]=le??"";return}const _e=oe.tagName;if(ie==="value"&&_e!=="PROGRESS"&&!_e.includes("-")){oe._value=le;const Ie=_e==="OPTION"?oe.getAttribute("value"):oe.value,Ve=le??"";Ie!==Ve&&(oe.value=Ve),le==null&&oe.removeAttribute(ie);return}let $e=!1;if(le===""||le==null){const Ie=typeof oe[ie];Ie==="boolean"?le=includeBooleanAttr(le):le==null&&Ie==="string"?(le="",$e=!0):Ie==="number"&&(le=0,$e=!0)}try{oe[ie]=le}catch{}$e&&oe.removeAttribute(ie)}function addEventListener$1(oe,ie,le,ue){oe.addEventListener(ie,le,ue)}function removeEventListener$1(oe,ie,le,ue){oe.removeEventListener(ie,le,ue)}function patchEvent(oe,ie,le,ue,de=null){const pe=oe._vei||(oe._vei={}),he=pe[ie];if(ue&&he)he.value=ue;else{const[_e,$e]=parseName(ie);if(ue){const Ie=pe[ie]=createInvoker(ue,de);addEventListener$1(oe,_e,Ie,$e)}else he&&(removeEventListener$1(oe,_e,he,$e),pe[ie]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(oe){let ie;if(optionsModifierRE.test(oe)){ie={};let ue;for(;ue=oe.match(optionsModifierRE);)oe=oe.slice(0,oe.length-ue[0].length),ie[ue[0].toLowerCase()]=!0}return[oe[2]===":"?oe.slice(3):hyphenate(oe.slice(2)),ie]}let cachedNow=0;const p$3=Promise.resolve(),getNow=()=>cachedNow||(p$3.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(oe,ie){const le=ue=>{if(!ue._vts)ue._vts=Date.now();else if(ue._vts<=le.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(ue,le.value),ie,5,[ue])};return le.value=oe,le.attached=getNow(),le}function patchStopImmediatePropagation(oe,ie){if(isArray$c(ie)){const le=oe.stopImmediatePropagation;return oe.stopImmediatePropagation=()=>{le.call(oe),oe._stopped=!0},ie.map(ue=>de=>!de._stopped&&ue&&ue(de))}else return ie}const nativeOnRE=/^on[a-z]/,patchProp=(oe,ie,le,ue,de=!1,pe,he,_e,$e)=>{ie==="class"?patchClass(oe,ue,de):ie==="style"?patchStyle(oe,le,ue):isOn(ie)?isModelListener(ie)||patchEvent(oe,ie,le,ue,he):(ie[0]==="."?(ie=ie.slice(1),!0):ie[0]==="^"?(ie=ie.slice(1),!1):shouldSetAsProp(oe,ie,ue,de))?patchDOMProp(oe,ie,ue,pe,he,_e,$e):(ie==="true-value"?oe._trueValue=ue:ie==="false-value"&&(oe._falseValue=ue),patchAttr(oe,ie,ue,de))};function shouldSetAsProp(oe,ie,le,ue){return ue?!!(ie==="innerHTML"||ie==="textContent"||ie in oe&&nativeOnRE.test(ie)&&isFunction$5(le)):ie==="spellcheck"||ie==="draggable"||ie==="translate"||ie==="form"||ie==="list"&&oe.tagName==="INPUT"||ie==="type"&&oe.tagName==="TEXTAREA"||nativeOnRE.test(ie)&&isString$6(le)?!1:ie in oe}function defineCustomElement(oe,ie){const le=defineComponent(oe);class ue extends VueElement{constructor(pe){super(le,pe,ie)}}return ue.def=le,ue}const defineSSRCustomElement=oe=>defineCustomElement(oe,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(ie,le={},ue){super(),this._def=ie,this._props=le,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&ue?ue(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(render$4(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let ue=0;ue<this.attributes.length;ue++)this._setAttr(this.attributes[ue].name);new MutationObserver(ue=>{for(const de of ue)this._setAttr(de.attributeName)}).observe(this,{attributes:!0});const ie=(ue,de=!1)=>{const{props:pe,styles:he}=ue;let _e;if(pe&&!isArray$c(pe))for(const $e in pe){const Ie=pe[$e];(Ie===Number||Ie&&Ie.type===Number)&&($e in this._props&&(this._props[$e]=toNumber$1(this._props[$e])),(_e||(_e=Object.create(null)))[camelize($e)]=!0)}this._numberProps=_e,de&&this._resolveProps(ue),this._applyStyles(he),this._update()},le=this._def.__asyncLoader;le?le().then(ue=>ie(ue,!0)):ie(this._def)}_resolveProps(ie){const{props:le}=ie,ue=isArray$c(le)?le:Object.keys(le||{});for(const de of Object.keys(this))de[0]!=="_"&&ue.includes(de)&&this._setProp(de,this[de],!0,!1);for(const de of ue.map(camelize))Object.defineProperty(this,de,{get(){return this._getProp(de)},set(pe){this._setProp(de,pe)}})}_setAttr(ie){let le=this.getAttribute(ie);const ue=camelize(ie);this._numberProps&&this._numberProps[ue]&&(le=toNumber$1(le)),this._setProp(ue,le,!1)}_getProp(ie){return this._props[ie]}_setProp(ie,le,ue=!0,de=!0){le!==this._props[ie]&&(this._props[ie]=le,de&&this._instance&&this._update(),ue&&(le===!0?this.setAttribute(hyphenate(ie),""):typeof le=="string"||typeof le=="number"?this.setAttribute(hyphenate(ie),le+""):le||this.removeAttribute(hyphenate(ie))))}_update(){render$4(this._createVNode(),this.shadowRoot)}_createVNode(){const ie=createVNode(this._def,extend$2({},this._props));return this._instance||(ie.ce=le=>{this._instance=le,le.isCE=!0;const ue=(pe,he)=>{this.dispatchEvent(new CustomEvent(pe,{detail:he}))};le.emit=(pe,...he)=>{ue(pe,he),hyphenate(pe)!==pe&&ue(hyphenate(pe),he)};let de=this;for(;de=de&&(de.parentNode||de.host);)if(de instanceof VueElement){le.parent=de._instance,le.provides=de._instance.provides;break}}),ie}_applyStyles(ie){ie&&ie.forEach(le=>{const ue=document.createElement("style");ue.textContent=le,this.shadowRoot.appendChild(ue)})}}function useCssModule(oe="$style"){{const ie=getCurrentInstance();if(!ie)return EMPTY_OBJ$1;const le=ie.type.__cssModules;if(!le)return EMPTY_OBJ$1;const ue=le[oe];return ue||EMPTY_OBJ$1}}function useCssVars(oe){const ie=getCurrentInstance();if(!ie)return;const le=ie.ut=(de=oe(ie.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${ie.uid}"]`)).forEach(pe=>setVarsOnNode(pe,de))},ue=()=>{const de=oe(ie.proxy);setVarsOnVNode(ie.subTree,de),le(de)};watchPostEffect(ue),onMounted(()=>{const de=new MutationObserver(ue);de.observe(ie.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>de.disconnect())})}function setVarsOnVNode(oe,ie){if(oe.shapeFlag&128){const le=oe.suspense;oe=le.activeBranch,le.pendingBranch&&!le.isHydrating&&le.effects.push(()=>{setVarsOnVNode(le.activeBranch,ie)})}for(;oe.component;)oe=oe.component.subTree;if(oe.shapeFlag&1&&oe.el)setVarsOnNode(oe.el,ie);else if(oe.type===Fragment)oe.children.forEach(le=>setVarsOnVNode(le,ie));else if(oe.type===Static){let{el:le,anchor:ue}=oe;for(;le&&(setVarsOnNode(le,ie),le!==ue);)le=le.nextSibling}}function setVarsOnNode(oe,ie){if(oe.nodeType===1){const le=oe.style;for(const ue in ie)le.setProperty(`--${ue}`,ie[ue])}}const TRANSITION="transition",ANIMATION="animation",Transition=(oe,{slots:ie})=>h$3(BaseTransition,resolveTransitionProps(oe),ie);Transition.displayName="Transition";const DOMTransitionPropsValidators={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},TransitionPropsValidators=Transition.props=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(oe,ie=[])=>{isArray$c(oe)?oe.forEach(le=>le(...ie)):oe&&oe(...ie)},hasExplicitCallback=oe=>oe?isArray$c(oe)?oe.some(ie=>ie.length>1):oe.length>1:!1;function resolveTransitionProps(oe){const ie={};for(const An in oe)An in DOMTransitionPropsValidators||(ie[An]=oe[An]);if(oe.css===!1)return ie;const{name:le="v",type:ue,duration:de,enterFromClass:pe=`${le}-enter-from`,enterActiveClass:he=`${le}-enter-active`,enterToClass:_e=`${le}-enter-to`,appearFromClass:$e=pe,appearActiveClass:Ie=he,appearToClass:Ve=_e,leaveFromClass:Fe=`${le}-leave-from`,leaveActiveClass:Ue=`${le}-leave-active`,leaveToClass:qe=`${le}-leave-to`}=oe,Et=normalizeDuration(de),At=Et&&Et[0],Lt=Et&&Et[1],{onBeforeEnter:hn,onEnter:vn,onEnterCancelled:_n,onLeave:bn,onLeaveCancelled:Sn,onBeforeAppear:Cn=hn,onAppear:En=vn,onAppearCancelled:wn=_n}=ie,xn=(An,In,Nn)=>{removeTransitionClass(An,In?Ve:_e),removeTransitionClass(An,In?Ie:he),Nn&&Nn()},kn=(An,In)=>{An._isLeaving=!1,removeTransitionClass(An,Fe),removeTransitionClass(An,qe),removeTransitionClass(An,Ue),In&&In()},Pn=An=>(In,Nn)=>{const Un=An?En:vn,Vn=()=>xn(In,An,Nn);callHook(Un,[In,Vn]),nextFrame(()=>{removeTransitionClass(In,An?$e:pe),addTransitionClass(In,An?Ve:_e),hasExplicitCallback(Un)||whenTransitionEnds(In,ue,At,Vn)})};return extend$2(ie,{onBeforeEnter(An){callHook(hn,[An]),addTransitionClass(An,pe),addTransitionClass(An,he)},onBeforeAppear(An){callHook(Cn,[An]),addTransitionClass(An,$e),addTransitionClass(An,Ie)},onEnter:Pn(!1),onAppear:Pn(!0),onLeave(An,In){An._isLeaving=!0;const Nn=()=>kn(An,In);addTransitionClass(An,Fe),forceReflow(),addTransitionClass(An,Ue),nextFrame(()=>{An._isLeaving&&(removeTransitionClass(An,Fe),addTransitionClass(An,qe),hasExplicitCallback(bn)||whenTransitionEnds(An,ue,Lt,Nn))}),callHook(bn,[An,Nn])},onEnterCancelled(An){xn(An,!1),callHook(_n,[An])},onAppearCancelled(An){xn(An,!0),callHook(wn,[An])},onLeaveCancelled(An){kn(An),callHook(Sn,[An])}})}function normalizeDuration(oe){if(oe==null)return null;if(isObject$9(oe))return[NumberOf(oe.enter),NumberOf(oe.leave)];{const ie=NumberOf(oe);return[ie,ie]}}function NumberOf(oe){return toNumber$1(oe)}function addTransitionClass(oe,ie){ie.split(/\s+/).forEach(le=>le&&oe.classList.add(le)),(oe._vtc||(oe._vtc=new Set)).add(ie)}function removeTransitionClass(oe,ie){ie.split(/\s+/).forEach(ue=>ue&&oe.classList.remove(ue));const{_vtc:le}=oe;le&&(le.delete(ie),le.size||(oe._vtc=void 0))}function nextFrame(oe){requestAnimationFrame(()=>{requestAnimationFrame(oe)})}let endId=0;function whenTransitionEnds(oe,ie,le,ue){const de=oe._endId=++endId,pe=()=>{de===oe._endId&&ue()};if(le)return setTimeout(pe,le);const{type:he,timeout:_e,propCount:$e}=getTransitionInfo(oe,ie);if(!he)return ue();const Ie=he+"end";let Ve=0;const Fe=()=>{oe.removeEventListener(Ie,Ue),pe()},Ue=qe=>{qe.target===oe&&++Ve>=$e&&Fe()};setTimeout(()=>{Ve<$e&&Fe()},_e+1),oe.addEventListener(Ie,Ue)}function getTransitionInfo(oe,ie){const le=window.getComputedStyle(oe),ue=Et=>(le[Et]||"").split(", "),de=ue(`${TRANSITION}Delay`),pe=ue(`${TRANSITION}Duration`),he=getTimeout(de,pe),_e=ue(`${ANIMATION}Delay`),$e=ue(`${ANIMATION}Duration`),Ie=getTimeout(_e,$e);let Ve=null,Fe=0,Ue=0;ie===TRANSITION?he>0&&(Ve=TRANSITION,Fe=he,Ue=pe.length):ie===ANIMATION?Ie>0&&(Ve=ANIMATION,Fe=Ie,Ue=$e.length):(Fe=Math.max(he,Ie),Ve=Fe>0?he>Ie?TRANSITION:ANIMATION:null,Ue=Ve?Ve===TRANSITION?pe.length:$e.length:0);const qe=Ve===TRANSITION&&/\b(transform|all)(,|$)/.test(ue(`${TRANSITION}Property`).toString());return{type:Ve,timeout:Fe,propCount:Ue,hasTransform:qe}}function getTimeout(oe,ie){for(;oe.length<ie.length;)oe=oe.concat(oe);return Math.max(...ie.map((le,ue)=>toMs(le)+toMs(oe[ue])))}function toMs(oe){return Number(oe.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}const positionMap=new WeakMap,newPositionMap=new WeakMap,TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(oe,{slots:ie}){const le=getCurrentInstance(),ue=useTransitionState();let de,pe;return onUpdated(()=>{if(!de.length)return;const he=oe.moveClass||`${oe.name||"v"}-move`;if(!hasCSSTransform(de[0].el,le.vnode.el,he))return;de.forEach(callPendingCbs),de.forEach(recordPosition);const _e=de.filter(applyTranslation);forceReflow(),_e.forEach($e=>{const Ie=$e.el,Ve=Ie.style;addTransitionClass(Ie,he),Ve.transform=Ve.webkitTransform=Ve.transitionDuration="";const Fe=Ie._moveCb=Ue=>{Ue&&Ue.target!==Ie||(!Ue||/transform$/.test(Ue.propertyName))&&(Ie.removeEventListener("transitionend",Fe),Ie._moveCb=null,removeTransitionClass(Ie,he))};Ie.addEventListener("transitionend",Fe)})}),()=>{const he=toRaw(oe),_e=resolveTransitionProps(he);let $e=he.tag||Fragment;de=pe,pe=ie.default?getTransitionRawChildren(ie.default()):[];for(let Ie=0;Ie<pe.length;Ie++){const Ve=pe[Ie];Ve.key!=null&&setTransitionHooks(Ve,resolveTransitionHooks(Ve,_e,ue,le))}if(de)for(let Ie=0;Ie<de.length;Ie++){const Ve=de[Ie];setTransitionHooks(Ve,resolveTransitionHooks(Ve,_e,ue,le)),positionMap.set(Ve,Ve.el.getBoundingClientRect())}return createVNode($e,null,pe)}}},removeMode=oe=>delete oe.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(oe){const ie=oe.el;ie._moveCb&&ie._moveCb(),ie._enterCb&&ie._enterCb()}function recordPosition(oe){newPositionMap.set(oe,oe.el.getBoundingClientRect())}function applyTranslation(oe){const ie=positionMap.get(oe),le=newPositionMap.get(oe),ue=ie.left-le.left,de=ie.top-le.top;if(ue||de){const pe=oe.el.style;return pe.transform=pe.webkitTransform=`translate(${ue}px,${de}px)`,pe.transitionDuration="0s",oe}}function hasCSSTransform(oe,ie,le){const ue=oe.cloneNode();oe._vtc&&oe._vtc.forEach(he=>{he.split(/\s+/).forEach(_e=>_e&&ue.classList.remove(_e))}),le.split(/\s+/).forEach(he=>he&&ue.classList.add(he)),ue.style.display="none";const de=ie.nodeType===1?ie:ie.parentNode;de.appendChild(ue);const{hasTransform:pe}=getTransitionInfo(ue);return de.removeChild(ue),pe}const getModelAssigner=oe=>{const ie=oe.props["onUpdate:modelValue"]||!1;return isArray$c(ie)?le=>invokeArrayFns(ie,le):ie};function onCompositionStart(oe){oe.target.composing=!0}function onCompositionEnd(oe){const ie=oe.target;ie.composing&&(ie.composing=!1,ie.dispatchEvent(new Event("input")))}const vModelText={created(oe,{modifiers:{lazy:ie,trim:le,number:ue}},de){oe._assign=getModelAssigner(de);const pe=ue||de.props&&de.props.type==="number";addEventListener$1(oe,ie?"change":"input",he=>{if(he.target.composing)return;let _e=oe.value;le&&(_e=_e.trim()),pe&&(_e=looseToNumber(_e)),oe._assign(_e)}),le&&addEventListener$1(oe,"change",()=>{oe.value=oe.value.trim()}),ie||(addEventListener$1(oe,"compositionstart",onCompositionStart),addEventListener$1(oe,"compositionend",onCompositionEnd),addEventListener$1(oe,"change",onCompositionEnd))},mounted(oe,{value:ie}){oe.value=ie??""},beforeUpdate(oe,{value:ie,modifiers:{lazy:le,trim:ue,number:de}},pe){if(oe._assign=getModelAssigner(pe),oe.composing||document.activeElement===oe&&oe.type!=="range"&&(le||ue&&oe.value.trim()===ie||(de||oe.type==="number")&&looseToNumber(oe.value)===ie))return;const he=ie??"";oe.value!==he&&(oe.value=he)}},vModelCheckbox={deep:!0,created(oe,ie,le){oe._assign=getModelAssigner(le),addEventListener$1(oe,"change",()=>{const ue=oe._modelValue,de=getValue$2(oe),pe=oe.checked,he=oe._assign;if(isArray$c(ue)){const _e=looseIndexOf(ue,de),$e=_e!==-1;if(pe&&!$e)he(ue.concat(de));else if(!pe&&$e){const Ie=[...ue];Ie.splice(_e,1),he(Ie)}}else if(isSet$3(ue)){const _e=new Set(ue);pe?_e.add(de):_e.delete(de),he(_e)}else he(getCheckboxValue(oe,pe))})},mounted:setChecked,beforeUpdate(oe,ie,le){oe._assign=getModelAssigner(le),setChecked(oe,ie,le)}};function setChecked(oe,{value:ie,oldValue:le},ue){oe._modelValue=ie,isArray$c(ie)?oe.checked=looseIndexOf(ie,ue.props.value)>-1:isSet$3(ie)?oe.checked=ie.has(ue.props.value):ie!==le&&(oe.checked=looseEqual(ie,getCheckboxValue(oe,!0)))}const vModelRadio={created(oe,{value:ie},le){oe.checked=looseEqual(ie,le.props.value),oe._assign=getModelAssigner(le),addEventListener$1(oe,"change",()=>{oe._assign(getValue$2(oe))})},beforeUpdate(oe,{value:ie,oldValue:le},ue){oe._assign=getModelAssigner(ue),ie!==le&&(oe.checked=looseEqual(ie,ue.props.value))}},vModelSelect={deep:!0,created(oe,{value:ie,modifiers:{number:le}},ue){const de=isSet$3(ie);addEventListener$1(oe,"change",()=>{const pe=Array.prototype.filter.call(oe.options,he=>he.selected).map(he=>le?looseToNumber(getValue$2(he)):getValue$2(he));oe._assign(oe.multiple?de?new Set(pe):pe:pe[0])}),oe._assign=getModelAssigner(ue)},mounted(oe,{value:ie}){setSelected(oe,ie)},beforeUpdate(oe,ie,le){oe._assign=getModelAssigner(le)},updated(oe,{value:ie}){setSelected(oe,ie)}};function setSelected(oe,ie){const le=oe.multiple;if(!(le&&!isArray$c(ie)&&!isSet$3(ie))){for(let ue=0,de=oe.options.length;ue<de;ue++){const pe=oe.options[ue],he=getValue$2(pe);if(le)isArray$c(ie)?pe.selected=looseIndexOf(ie,he)>-1:pe.selected=ie.has(he);else if(looseEqual(getValue$2(pe),ie)){oe.selectedIndex!==ue&&(oe.selectedIndex=ue);return}}!le&&oe.selectedIndex!==-1&&(oe.selectedIndex=-1)}}function getValue$2(oe){return"_value"in oe?oe._value:oe.value}function getCheckboxValue(oe,ie){const le=ie?"_trueValue":"_falseValue";return le in oe?oe[le]:ie}const vModelDynamic={created(oe,ie,le){callModelHook(oe,ie,le,null,"created")},mounted(oe,ie,le){callModelHook(oe,ie,le,null,"mounted")},beforeUpdate(oe,ie,le,ue){callModelHook(oe,ie,le,ue,"beforeUpdate")},updated(oe,ie,le,ue){callModelHook(oe,ie,le,ue,"updated")}};function resolveDynamicModel(oe,ie){switch(oe){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(ie){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(oe,ie,le,ue,de){const he=resolveDynamicModel(oe.tagName,le.props&&le.props.type)[de];he&&he(oe,ie,le,ue)}function initVModelForSSR(){vModelText.getSSRProps=({value:oe})=>({value:oe}),vModelRadio.getSSRProps=({value:oe},ie)=>{if(ie.props&&looseEqual(ie.props.value,oe))return{checked:!0}},vModelCheckbox.getSSRProps=({value:oe},ie)=>{if(isArray$c(oe)){if(ie.props&&looseIndexOf(oe,ie.props.value)>-1)return{checked:!0}}else if(isSet$3(oe)){if(ie.props&&oe.has(ie.props.value))return{checked:!0}}else if(oe)return{checked:!0}},vModelDynamic.getSSRProps=(oe,ie)=>{if(typeof ie.type!="string")return;const le=resolveDynamicModel(ie.type.toUpperCase(),ie.props&&ie.props.type);if(le.getSSRProps)return le.getSSRProps(oe,ie)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:oe=>oe.stopPropagation(),prevent:oe=>oe.preventDefault(),self:oe=>oe.target!==oe.currentTarget,ctrl:oe=>!oe.ctrlKey,shift:oe=>!oe.shiftKey,alt:oe=>!oe.altKey,meta:oe=>!oe.metaKey,left:oe=>"button"in oe&&oe.button!==0,middle:oe=>"button"in oe&&oe.button!==1,right:oe=>"button"in oe&&oe.button!==2,exact:(oe,ie)=>systemModifiers.some(le=>oe[`${le}Key`]&&!ie.includes(le))},withModifiers=(oe,ie)=>(le,...ue)=>{for(let de=0;de<ie.length;de++){const pe=modifierGuards[ie[de]];if(pe&&pe(le,ie))return}return oe(le,...ue)},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(oe,ie)=>le=>{if(!("key"in le))return;const ue=hyphenate(le.key);if(ie.some(de=>de===ue||keyNames[de]===ue))return oe(le)},vShow={beforeMount(oe,{value:ie},{transition:le}){oe._vod=oe.style.display==="none"?"":oe.style.display,le&&ie?le.beforeEnter(oe):setDisplay(oe,ie)},mounted(oe,{value:ie},{transition:le}){le&&ie&&le.enter(oe)},updated(oe,{value:ie,oldValue:le},{transition:ue}){!ie!=!le&&(ue?ie?(ue.beforeEnter(oe),setDisplay(oe,!0),ue.enter(oe)):ue.leave(oe,()=>{setDisplay(oe,!1)}):setDisplay(oe,ie))},beforeUnmount(oe,{value:ie}){setDisplay(oe,ie)}};function setDisplay(oe,ie){oe.style.display=ie?oe._vod:"none"}function initVShowForSSR(){vShow.getSSRProps=({value:oe})=>{if(!oe)return{style:{display:"none"}}}}const rendererOptions=extend$2({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render$4=(...oe)=>{ensureRenderer().render(...oe)},hydrate=(...oe)=>{ensureHydrationRenderer().hydrate(...oe)},createApp=(...oe)=>{const ie=ensureRenderer().createApp(...oe),{mount:le}=ie;return ie.mount=ue=>{const de=normalizeContainer(ue);if(!de)return;const pe=ie._component;!isFunction$5(pe)&&!pe.render&&!pe.template&&(pe.template=de.innerHTML),de.innerHTML="";const he=le(de,!1,de instanceof SVGElement);return de instanceof Element&&(de.removeAttribute("v-cloak"),de.setAttribute("data-v-app","")),he},ie},createSSRApp=(...oe)=>{const ie=ensureHydrationRenderer().createApp(...oe),{mount:le}=ie;return ie.mount=ue=>{const de=normalizeContainer(ue);if(de)return le(de,!0,de instanceof SVGElement)},ie};function normalizeContainer(oe){return isString$6(oe)?document.querySelector(oe):oe}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},compile=()=>{},vue_runtime_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,EffectScope,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text:Text$1,Transition,TransitionGroup,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize:capitalize$2,cloneVNode,compatUtils,compile,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,get devtools(){return devtools},effect,effectScope,getCurrentInstance,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h:h$3,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode:isVNode$1,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle:normalizeStyle$1,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render:render$4,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop:stop$1,toDisplayString:toDisplayString$1,toHandlerKey,toHandlers,toRaw,toRef:toRef$1,toRefs,toValue:toValue$1,transformVNodeArgs,triggerRef,unref,useAttrs:useAttrs$1,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$3,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"})),versionBg="/vue-pure-admin/static/png/version-bg.png",versionTipDialog$1="",setVersionTipTheme=(oe="#FA8D88",ie="#FE7D66")=>`<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 2009 2108" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>version-rokect</title>
<defs>
<!-- 1. background -->
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="${oe}" offset="0%"></stop>
<stop stop-color="${oe}" offset="100%"></stop>
</linearGradient>
</defs>
<g id="page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="version-rokect" transform="translate(0.000000, -0.000000)" fill-rule="nonzero">
<g id="bg" transform="translate(18.451214, 78.361595)" fill="url(#linearGradient-1)">
<path
d="M679.108786,0.0184053537 L679.008786,1.25840535 C680.628786,1.23840535 682.258786,1.21840535 683.908786,1.19840535 C684.218786,1.66840535 684.828786,2.61840535 685.138786,3.08840535 C687.348786,3.02840535 689.488786,3.46840535 691.158786,5.02840535 C691.638786,5.13507202 692.130144,5.22149177 692.62474,5.30599109 L693.368045,5.43359054 C694.855453,5.69507202 696.335453,6.02173869 697.588786,6.90840535 C703.968786,8.77840535 710.108786,11.2284054 715.978786,14.3484054 C717.778786,15.9084054 719.718786,17.2984054 721.858786,18.3684054 C724.418786,20.5484054 727.468786,22.2084054 729.508786,24.9584054 C730.398786,25.3684054 731.298786,25.7784054 732.218786,26.1784054 L732.218786,27.9584054 L732.218786,27.9584054 C732.410036,27.9584054 732.673005,27.9555929 732.953376,27.9520772 L733.521228,27.9447335 C733.800661,27.9412179 734.061286,27.9384054 734.248786,27.9384054 C734.248786,28.4384054 734.228786,29.4484054 734.228786,29.9484054 C734.628786,29.9684054 735.428786,30.0084054 735.828786,30.0184054 C737.778786,33.9884054 741.488786,36.6984054 743.348786,40.7084054 C743.938786,41.6184054 744.558786,42.5184054 745.188786,43.3984054 C745.548786,43.3684054 746.248786,43.2884054 746.598786,43.2584054 C746.728786,44.4984054 746.878786,45.7384054 747.048786,46.9784054 C747.908786,48.1484054 748.648786,49.3984054 749.488786,50.5884054 C750.548786,52.4384054 750.948786,54.5284054 751.288786,56.6184054 C752.604171,57.0722515 752.88997,58.2361568 753.106583,59.4364754 L753.202631,59.9768032 C753.235251,60.156216 753.269555,60.3341746 753.308786,60.5084054 C754.562579,61.3215088 754.826265,62.6470023 754.963083,64.0209848 L755.005174,64.4801385 C755.064815,65.1696539 755.116717,65.8584054 755.268786,66.4884054 C756.311286,67.3959054 756.656286,68.6746554 756.936599,69.9660616 L757.046774,70.4824491 C757.101636,70.7401304 757.157286,70.9964054 757.218786,71.2484054 C757.678786,71.2184054 758.598786,71.1584054 759.058786,71.1384054 C759.068786,71.6484054 759.088786,72.6784054 759.098786,73.1884054 C760.888786,73.1184054 762.688786,73.0384054 764.498786,72.9584054 C767.058786,70.5484054 770.758786,71.2984054 773.958786,71.0784054 L773.838786,69.9484054 C777.658786,69.2284054 781.548786,69.0684054 785.428786,68.9884054 C786.448246,67.2975945 788.259853,67.1524375 790.116576,67.1453449 L790.601471,67.1457011 C791.571343,67.1489751 792.535813,67.1565135 793.388786,66.9684054 C795.861367,65.4238892 798.861679,65.3111317 801.833273,65.2529977 L802.681038,65.2366847 C803.809067,65.2137435 804.925238,65.1796957 805.998786,65.0584054 L805.838786,63.9784054 C809.858786,63.3184054 813.928786,62.9884054 818.018786,63.0684054 L817.828786,61.9584054 C821.848786,61.3684054 825.918786,61.1084054 829.988786,61.0884054 L829.838786,59.9684054 C833.668786,59.3384054 837.548786,59.1484054 841.428786,59.0084054 C844.286059,57.4493144 847.730522,57.2832814 851.169462,57.2449944 L852.151355,57.2364383 C853.785884,57.2243282 855.406362,57.2138599 856.948786,57.0684054 L856.898786,56.0084054 C862.488786,55.0284054 868.188786,55.1284054 873.848786,55.0384054 C873.898786,54.7684054 874.008786,54.2284054 874.058786,53.9684054 C880.428786,53.1684054 886.858786,52.9884054 893.278786,53.1484054 C893.098786,52.8484054 892.738786,52.2584054 892.558786,51.9584054 C900.018786,51.2184054 907.508786,50.9484054 915.008786,51.0984054 L914.748786,49.9084054 C925.818786,49.7284054 936.888786,48.7084054 947.998786,49.1084054 L947.868786,47.9284054 C975.958786,46.8784054 1004.16879,46.9384054 1032.24879,47.8784054 C1032.24545,47.975072 1032.2399,48.105072 1032.2336,48.2461831 L1032.21397,48.6806276 C1032.20768,48.8217387 1032.20212,48.9517387 1032.19879,49.0484054 C1044.20879,48.6784054 1056.16879,49.8984054 1068.15879,49.9284054 L1068.15879,51.0884054 C1070.13379,51.1828498 1072.16589,51.1600103 1074.21264,51.1362706 L1075.44212,51.1228498 C1080.36434,51.0761831 1085.32212,51.1584054 1089.72879,52.9784054 C1095.90879,53.1284054 1102.07879,53.2584054 1108.21879,54.0484054 L1108.10879,55.0984054 C1113.82879,55.1284054 1119.57879,55.0684054 1125.25879,55.9584054 L1125.09879,57.0784054 C1129.76879,57.0284054 1134.40879,57.7784054 1139.07879,57.9884054 C1139.08545,58.0784054 1139.09434,58.1984054 1139.10397,58.3284054 L1139.1336,58.7284054 C1139.14323,58.8584054 1139.15212,58.9784054 1139.15879,59.0684054 C1143.20879,59.0184054 1147.24879,59.3284054 1151.25879,59.9684054 L1151.09879,61.0884054 C1155.48879,61.0684054 1159.85879,61.5284054 1164.21879,62.0484054 L1164.10879,63.0484054 C1167.83879,63.0484054 1171.56879,63.3884054 1175.25879,63.9784054 L1175.11879,65.0484054 C1178.49879,65.1284054 1181.87879,65.4584054 1185.22879,65.9684054 C1185.21879,66.2284054 1185.19879,66.7484054 1185.17879,67.0184054 C1188.54879,67.0584054 1191.91879,67.3684054 1195.24879,67.9484054 L1195.14879,69.0384054 C1198.51879,69.1684054 1201.88879,69.4984054 1205.23879,69.9584054 L1205.11879,70.9984054 C1207.83879,71.1584054 1210.54879,71.4984054 1213.25879,71.9584054 L1213.14879,73.0384054 C1216.52879,73.1284054 1219.89879,73.4584054 1223.25879,73.9684054 L1223.11879,75.0084054 C1225.95879,75.3284054 1229.36879,74.8384054 1231.56879,77.0884054 C1234.21879,77.5984054 1237.74879,76.5284054 1239.68879,78.9184054 C1242.15879,79.2384054 1244.64879,79.5984054 1247.12879,80.0484054 L1247.00879,81.1384054 C1249.75879,81.2684054 1252.49879,81.5784054 1255.24879,81.9584054 L1255.12879,83.0184054 C1255.73151,83.1274963 1256.39226,83.1488186 1257.06193,83.1693971 L1257.50916,83.1839609 C1259.1499,83.2439609 1260.77879,83.415072 1261.67879,84.9684054 C1264.18879,85.2884054 1266.70879,85.6084054 1269.23879,85.9684054 L1269.16879,86.9584054 C1271.17879,87.2684054 1273.19879,87.6184054 1275.22879,87.9684054 L1275.16879,89.0184054 C1277.96879,89.4084054 1281.25879,89.0284054 1283.58879,90.9884054 C1285.57879,91.5284054 1287.99879,91.4384054 1289.56879,93.0384054 C1291.42879,93.3884054 1293.31879,93.6984054 1295.21879,93.9784054 L1295.17879,94.9184054 C1297.35879,95.3184054 1299.87879,95.3384054 1301.55879,97.0384054 C1303.42879,97.3884054 1305.31879,97.6984054 1307.22879,97.9784054 L1307.16879,98.9384054 C1309.37879,99.2684054 1311.84879,99.3084054 1313.55879,100.988405 C1315.59879,101.428405 1317.98879,101.358405 1319.55879,102.998405 C1321.04879,103.308405 1322.91879,103.198405 1323.58879,104.938405 C1326.24879,105.288405 1328.91879,105.668405 1331.57879,106.198405 C1333.65959,107.933605 1336.27434,108.699397 1338.8781,109.413971 L1339.74487,109.651525 C1340.46559,109.850005 1341.18079,110.052405 1341.87879,110.278405 C1346.67879,113.268405 1352.29879,114.408405 1357.54879,116.368405 C1360.73879,118.028405 1364.09879,119.348405 1367.56879,120.338405 C1370.53879,122.268405 1374.14879,122.978405 1377.11879,124.998405 C1383.74879,126.158405 1389.00879,130.898405 1395.55879,132.338405 C1402.88879,135.588405 1409.80879,140.038405 1417.53879,142.328405 C1418.39263,143.136098 1419.4595,143.594678 1420.55276,144.01821 L1421.21039,144.270636 C1421.32003,144.312843 1421.42956,144.355328 1421.53879,144.398405 C1422.80879,145.568405 1424.53879,145.808405 1426.16879,146.228405 C1426.45879,146.658405 1427.03879,147.508405 1427.33879,147.928405 C1428.04879,147.938405 1429.48879,147.968405 1430.20879,147.988405 C1430.46879,148.458405 1430.98879,149.408405 1431.24879,149.878405 C1431.88879,149.948405 1433.16879,150.078405 1433.81879,150.148405 C1437.72879,152.558405 1441.87879,154.578405 1446.14879,156.298405 C1446.45879,156.708405 1447.05879,157.508405 1447.36879,157.918405 C1448.06879,157.938405 1449.47879,157.968405 1450.17879,157.988405 C1450.45879,158.468405 1451.00879,159.428405 1451.27879,159.908405 C1451.84879,159.958405 1452.98879,160.068405 1453.55879,160.128405 C1454.50879,161.838405 1456.53879,161.818405 1458.22879,162.218405 C1458.49879,162.648405 1459.01879,163.488405 1459.28879,163.918405 C1459.88879,163.958405 1461.08879,164.038405 1461.69879,164.078405 C1462.02879,166.098405 1464.00879,165.928405 1465.58879,166.268405 C1467.35754,168.087155 1469.5755,169.253562 1471.83742,170.35112 L1472.74357,170.787855 C1473.80123,171.296322 1474.8567,171.806739 1475.86879,172.378405 C1477.07879,173.068405 1478.28879,173.758405 1479.53879,174.468405 C1480.82879,175.548405 1482.45879,175.948405 1484.09879,176.308405 C1484.11879,176.618405 1484.17879,177.248405 1484.19879,177.568405 C1486.16879,178.528405 1488.16879,179.468405 1490.20879,180.318405 C1490.48879,180.718405 1491.04879,181.528405 1491.31879,181.928405 C1492.01879,181.958405 1493.41879,182.008405 1494.11879,182.038405 C1494.13879,182.418405 1494.17879,183.178405 1494.19879,183.558405 C1496.18879,184.408405 1498.15879,185.338405 1500.15879,186.238405 C1500.44879,186.648405 1501.03879,187.478405 1501.32879,187.898405 C1501.89879,187.958405 1503.01879,188.078405 1503.57879,188.148405 C1505.20879,190.288405 1507.73879,191.308405 1510.17879,192.248405 C1510.45879,192.658405 1511.02879,193.478405 1511.30879,193.888405 C1511.87879,193.958405 1513.02879,194.078405 1513.59879,194.138405 C1515.22879,196.228405 1517.58879,197.448405 1520.05879,198.308405 C1521.04879,199.188405 1522.07879,200.068405 1523.11879,200.958405 C1524.79879,201.558405 1526.57879,202.178405 1527.56879,203.818405 C1528.20879,203.878405 1529.47879,204.008405 1530.11879,204.068405 C1530.13879,204.428405 1530.17879,205.148405 1530.19879,205.498405 C1531.55879,205.898405 1532.74879,206.668405 1533.64879,207.798405 C1534.26879,207.878405 1535.50879,208.018405 1536.11879,208.088405 C1536.13879,208.438405 1536.17879,209.148405 1536.19879,209.508405 C1537.54879,209.898405 1538.77879,210.658405 1539.65879,211.808405 C1540.27879,211.878405 1541.49879,212.018405 1542.10879,212.088405 C1542.13879,212.448405 1542.18879,213.188405 1542.20879,213.548405 C1544.13879,214.518405 1546.07879,215.468405 1548.03879,216.398405 C1548.08879,216.678405 1548.18879,217.238405 1548.23879,217.508405 C1549.57879,217.888405 1550.76879,218.658405 1551.60879,219.808405 C1552.23879,219.878405 1553.47879,220.018405 1554.10879,220.088405 C1554.13879,220.438405 1554.20879,221.138405 1554.24879,221.498405 C1559.22879,224.518405 1563.99879,227.918405 1568.69879,231.388405 C1569.86879,232.375072 1571.10434,233.280628 1572.3536,234.169146 L1573.85597,235.231291 C1575.85905,236.647516 1577.84412,238.085739 1579.59879,239.808405 C1580.24879,239.878405 1581.55879,240.018405 1582.20879,240.078405 C1582.17879,240.548405 1582.10879,241.488405 1582.06879,241.948405 C1582.51879,241.958405 1583.40879,241.968405 1583.85879,241.978405 C1585.05879,243.268405 1586.29879,244.548405 1587.51879,245.858405 C1588.19879,245.908405 1589.55879,246.018405 1590.23879,246.068405 C1590.18879,246.558405 1590.07879,247.528405 1590.01879,248.008405 C1590.46879,248.008405 1591.35879,247.998405 1591.79879,247.988405 C1593.50247,250.068405 1595.63217,251.64281 1597.8003,253.176067 L1598.80229,253.882493 C1599.47023,254.353752 1600.13615,254.827879 1600.78879,255.318405 C1603.24879,257.558405 1606.13879,259.278405 1608.67879,261.458405 C1611.93879,264.208405 1615.24879,266.898405 1618.67879,269.448405 C1620.12521,270.419834 1621.40328,271.606824 1622.6592,272.817593 L1623.41126,273.545373 C1625.41593,275.485548 1627.43879,277.388405 1630.07879,278.468405 C1630.10879,278.728405 1630.18879,279.248405 1630.22879,279.518405 C1634.83879,282.178405 1638.11879,286.598405 1642.64879,289.458405 C1643.27879,290.148405 1643.93879,290.838405 1644.62879,291.528405 C1647.80879,293.648405 1650.31879,296.548405 1653.23879,298.998405 C1654.68879,300.358405 1656.26879,301.598405 1658.06879,302.488405 C1658.09879,302.778405 1658.15879,303.348405 1658.18879,303.638405 C1659.51879,304.498405 1660.77879,305.488405 1662.15879,306.338405 C1662.20879,306.618405 1662.30879,307.178405 1662.35879,307.458405 C1670.58879,313.868405 1677.69879,321.838405 1685.21879,328.998405 C1686.64879,330.418405 1688.24879,331.668405 1690.14879,332.468405 C1690.12879,332.868405 1690.08879,333.688405 1690.06879,334.098405 C1690.59879,334.068405 1691.67879,334.018405 1692.20879,333.988405 C1692.17879,334.518405 1692.10879,335.578405 1692.06879,336.108405 C1692.59879,336.078405 1693.65879,336.018405 1694.18879,335.978405 C1694.18129,336.177155 1694.17097,336.447624 1694.15996,336.736023 L1694.13761,337.320788 C1694.1266,337.609187 1694.11629,337.879655 1694.10879,338.078405 C1694.30379,338.070905 1694.57332,338.060593 1694.86201,338.049577 L1695.44853,338.027233 C1695.73816,338.016218 1696.01004,338.005905 1696.20879,337.998405 C1696.16879,338.528405 1696.10879,339.578405 1696.07879,340.108405 C1696.60879,340.078405 1697.65879,340.018405 1698.18879,339.978405 C1698.16879,340.508405 1698.12879,341.558405 1698.11879,342.078405 C1698.63879,342.058405 1699.67879,342.018405 1700.20879,341.998405 C1700.17879,342.528405 1700.10879,343.578405 1700.07879,344.108405 C1700.60879,344.078405 1701.66879,344.008405 1702.19879,343.978405 C1702.18754,344.177155 1702.17347,344.450437 1702.15871,344.742351 L1702.12886,345.33446 C1702.1141,345.626374 1702.10004,345.899655 1702.08879,346.098405 C1702.48879,346.088405 1703.29879,346.068405 1703.69879,346.058405 C1706.65636,350.819617 1710.62477,354.802721 1714.67283,358.725773 L1716.95212,360.93089 C1720.49165,364.365944 1723.95848,367.858102 1726.72879,371.888405 C1727.09879,371.928405 1727.83879,371.998405 1728.19879,372.028405 C1728.19879,372.215905 1728.19738,372.473718 1728.19562,372.749108 L1728.19195,373.307702 C1728.19019,373.583093 1728.18879,373.840905 1728.18879,374.028405 C1728.69879,374.018405 1729.72879,373.978405 1730.24879,373.968405 C1730.21879,374.498405 1730.17879,375.568405 1730.15879,376.108405 C1730.66879,376.078405 1731.69879,376.018405 1732.21879,375.988405 C1732.17879,376.538405 1732.08879,377.638405 1732.04879,378.198405 C1732.48879,378.138405 1733.34879,378.038405 1733.78879,377.978405 C1735.65879,383.178405 1740.71879,386.258405 1744.08879,390.448405 C1744.11879,390.838405 1744.17879,391.628405 1744.21879,392.028405 C1744.71879,392.008405 1745.73879,391.978405 1746.23879,391.968405 C1746.22879,392.508405 1746.18879,393.598405 1746.16879,394.138405 C1746.65879,394.098405 1747.63879,394.008405 1748.11879,393.958405 C1748.17879,394.638405 1748.27879,395.998405 1748.33879,396.668405 C1750.82879,398.718405 1753.40879,400.878405 1754.70879,403.928405 C1755.08879,403.948405 1755.85879,403.978405 1756.23879,403.998405 C1756.21879,404.528405 1756.19879,405.608405 1756.17879,406.138405 C1756.66879,406.098405 1757.63879,406.008405 1758.11879,405.958405 C1758.17879,406.638405 1758.27879,407.988405 1758.33879,408.668405 C1760.83879,410.558405 1762.89879,412.948405 1764.79879,415.448405 C1767.17879,419.138405 1770.58879,422.078405 1772.71879,425.918405 C1772.80879,425.928405 1772.93101,425.941739 1773.06434,425.956183 L1773.47656,426.000628 C1773.61101,426.015072 1773.73545,426.028405 1773.82879,426.038405 C1774.40833,428.049769 1775.67124,429.661339 1776.99311,431.231282 L1777.52352,431.857888 C1777.96569,432.379624 1778.40515,432.902042 1778.81879,433.438405 C1779.61379,434.402155 1780.35535,435.406687 1781.08408,436.421941 L1782.53646,438.457839 C1783.26613,439.47403 1784.01004,440.480905 1784.80879,441.448405 C1786.91879,444.018405 1788.71879,446.838405 1790.78879,449.458405 C1792.94879,452.148405 1795.05879,454.908405 1796.72879,457.948405 C1797.09879,457.958405 1797.83879,457.978405 1798.20879,457.978405 C1798.23879,458.638405 1798.29879,459.948405 1798.33879,460.598405 C1799.54879,461.808405 1800.70879,463.088405 1801.86879,464.398405 C1803.26879,467.528405 1805.97879,469.808405 1807.30879,472.988405 C1808.61879,474.498405 1809.89879,476.078405 1810.71879,477.948405 C1811.00879,477.958405 1811.59879,477.988405 1811.88879,478.008405 C1812.36879,480.598405 1814.06879,482.588405 1815.84879,484.438405 C1816.90879,486.618405 1818.25879,488.648405 1819.80879,490.538405 C1820.69879,492.868405 1822.20879,494.848405 1824.10879,496.478405 C1824.16879,497.018405 1824.28879,498.108405 1824.35879,498.648405 C1825.59879,499.918405 1826.83879,501.188405 1828.10879,502.458405 C1828.17879,502.998405 1828.31879,504.058405 1828.38879,504.588405 C1829.59937,505.469582 1830.27418,506.764461 1830.89913,508.098835 L1831.16532,508.672037 C1831.20965,508.76761 1831.25408,508.863111 1831.29879,508.958405 C1833.83879,511.938405 1835.39879,515.608405 1838.03879,518.538405 C1838.14879,519.038405 1838.36879,520.038405 1838.47879,520.538405 C1839.82879,521.748405 1840.64879,523.348405 1841.25879,525.058405 C1842.15879,526.118405 1843.10879,527.178405 1844.07879,528.228405 C1844.13879,528.868405 1844.25879,530.168405 1844.30879,530.818405 C1844.72879,531.088405 1845.57879,531.628405 1845.99879,531.898405 C1846.72879,534.378405 1848.02879,536.628405 1849.81879,538.518405 C1850.38879,539.858405 1851.02879,541.208405 1851.75879,542.498405 C1853.96879,545.718405 1855.26879,549.488405 1857.82879,552.488405 C1858.38879,553.838405 1859.01879,555.198405 1859.76879,556.488405 C1861.95879,559.758405 1863.22879,563.598405 1865.96879,566.508405 C1866.27879,567.968405 1866.11879,569.868405 1867.87879,570.418405 C1868.34879,571.898405 1868.97879,573.348405 1869.98879,574.568405 C1870.11879,575.068405 1870.35879,576.058405 1870.48879,576.558405 C1872.01349,578.231347 1873.03993,580.238129 1874.02885,582.265721 L1874.52231,583.279802 C1874.76962,583.78626 1875.01937,584.290758 1875.27879,584.788405 C1875.97879,586.078405 1876.62879,587.398405 1877.32879,588.728405 C1877.97879,590.058405 1878.62879,591.378405 1879.31879,592.728405 C1879.98879,594.048405 1880.63879,595.378405 1881.31879,596.728405 C1881.97879,598.058405 1882.62879,599.378405 1883.31879,600.728405 C1883.97879,602.048405 1884.63879,603.378405 1885.31879,604.728405 C1885.97879,606.048405 1886.63879,607.378405 1887.31879,608.728405 C1887.98879,610.048405 1888.60879,611.378405 1889.30879,612.728405 C1890.00879,614.098405 1890.62879,615.498405 1891.31879,616.908405 C1893.12879,620.028405 1893.79879,623.758405 1896.05879,626.628405 C1896.09879,627.188405 1896.17879,628.318405 1896.21879,628.878405 C1896.64879,629.188405 1897.48879,629.798405 1897.91879,630.108405 C1898.37879,634.748405 1901.82879,638.318405 1902.44879,642.928405 C1902.86879,643.248405 1903.71879,643.888405 1904.14879,644.208405 C1904.15879,644.878405 1904.18879,646.208405 1904.19879,646.878405 C1904.62879,647.178405 1905.47879,647.798405 1905.90879,648.098405 C1906.41434,650.416183 1907.11953,652.685566 1907.85496,654.948899 L1908.48879,656.888405 L1908.48879,656.888405 C1908.84879,657.208405 1909.55879,657.858405 1909.91879,658.178405 C1910.57879,661.858405 1911.85879,665.388405 1913.83879,668.578405 C1915.94879,674.718405 1918.96879,680.508405 1920.47879,686.878405 C1920.83879,687.208405 1921.54879,687.848405 1921.89879,688.168405 C1922.58879,691.148405 1923.60879,694.048405 1924.47879,696.998405 C1924.89879,697.308405 1925.73879,697.938405 1926.15879,698.258405 C1926.16879,699.798405 1926.17879,701.338405 1926.24879,702.898405 C1926.65879,703.198405 1927.49879,703.788405 1927.91879,704.088405 C1930.54879,715.958405 1936.57879,726.998405 1938.36879,739.008405 C1938.81879,739.308405 1939.70879,739.898405 1940.15879,740.198405 C1940.15879,741.778405 1940.16879,743.368405 1940.22879,744.978405 C1940.67879,745.278405 1941.57879,745.868405 1942.02879,746.168405 C1942.31807,750.30412 1943.54581,754.25616 1944.84643,758.199797 L1945.36851,759.777218 C1946.32527,762.669859 1947.25914,765.570548 1947.82879,768.548405 C1951.24736,781.110304 1957.0298,792.149198 1960.64818,805.376077 C1963.14474,808.118422 1964.62797,812.572203 1965.17879,815.858405 C1966.40879,818.358405 1966.67879,821.168405 1967.19879,823.898405 C1969.26879,827.408405 1968.03879,831.798405 1969.92879,835.358405 C1969.97705,835.795362 1970.01918,836.235551 1970.05954,836.67753 L1970.13919,837.563448 C1970.37875,840.225797 1970.65879,842.917971 1971.91879,845.328405 C1972.58879,848.648405 1972.33879,852.268405 1973.96879,855.348405 C1974.18879,858.878405 1974.34879,862.438405 1975.17879,865.908405 C1976.96879,869.598405 1976.46879,873.878405 1977.17879,877.848405 C1978.27079,880.093072 1978.39585,882.568583 1978.4717,885.0605 L1978.50387,886.128844 C1978.58439,888.621072 1978.74679,891.099072 1979.90879,893.348405 C1980.37879,896.838405 1980.73879,900.348405 1981.18879,903.858405 C1983.13879,910.198405 1982.01879,917.248405 1983.14879,923.848405 C1984.55479,927.002405 1984.7374,930.445205 1984.82708,933.894824 L1984.85364,934.984075 C1984.89279,936.617305 1984.93779,938.245405 1985.10879,939.838405 C1986.34129,942.752016 1986.3607,946.013498 1986.35695,949.281669 L1986.3566,950.434864 C1986.36386,953.699887 1986.48795,956.931461 1987.91879,959.788405 C1988.04535,961.273405 1988.04377,962.779763 1988.0275,964.289012 L1988.01573,965.295405 C1987.97562,968.817858 1987.99285,972.333718 1989.50879,975.608405 L1990.54879,972.468405 L1990.54879,1103.94841 L1988.02879,1103.94841 L1988.02879,1103.94841 C1988.01879,1108.59841 1987.87879,1113.24841 1987.87879,1117.90841 C1987.52879,1117.94841 1986.83879,1118.01841 1986.49879,1118.04841 C1986.28879,1126.23841 1985.62879,1134.43841 1986.04879,1142.63841 C1985.67879,1141.75841 1984.92879,1139.98841 1984.55879,1139.10841 C1983.89792,1141.70645 1984.03377,1144.56211 1984.16444,1147.4069 L1984.20459,1148.30458 C1984.36338,1152.0408 1984.36705,1155.70927 1982.38879,1158.69841 C1981.97879,1169.61841 1982.36879,1180.54841 1982.34879,1191.46841 L1981.16879,1192.50841 C1981.14879,1203.13841 1977.09879,1213.11841 1976.15879,1223.62841 C1975.78379,1225.44068 1975.41753,1227.25537 1975.05481,1229.07116 L1974.33255,1232.70381 C1972.29081,1242.99826 1970.25151,1253.29977 1967.26879,1263.36841 C1959.79879,1296.94841 1949.98879,1330.04841 1938.87879,1362.67841 C1938.02879,1365.71841 1936.75879,1368.62841 1935.24879,1371.40841 C1933.95879,1377.05841 1931.23879,1382.23841 1929.81879,1387.85841 C1926.68879,1394.32841 1924.23879,1401.10841 1921.81879,1407.85841 C1919.98879,1410.97841 1918.62879,1414.33841 1917.83879,1417.87841 C1911.60879,1430.26841 1906.42879,1443.16841 1900.50879,1455.70841 C1900.17879,1456.09841 1899.53879,1456.86841 1899.20879,1457.25841 C1896.94327,1463.90496 1893.76009,1470.17428 1890.50201,1476.41648 L1889.19678,1478.91274 C1886.58631,1483.90569 1883.99982,1488.91116 1881.86879,1494.10841 C1881.57879,1494.12841 1881.00879,1494.15841 1880.71879,1494.16841 C1880.46879,1495.42841 1880.25879,1496.71841 1880.06879,1498.03841 C1879.80879,1498.09841 1879.27879,1498.21841 1879.00879,1498.28841 C1878.08879,1499.99841 1877.19879,1501.73841 1876.40879,1503.52841 C1872.94879,1510.38841 1868.70879,1516.87841 1865.88879,1524.04841 C1865.64879,1524.10841 1865.16879,1524.20841 1864.93879,1524.26841 C1856.20879,1539.61841 1847.55879,1555.25841 1837.14879,1569.46841 C1836.93879,1570.14841 1836.75879,1570.85841 1836.58879,1571.58841 C1786.83879,1647.60841 1728.04879,1717.67841 1660.10879,1778.13841 C1599.39879,1831.56841 1532.80879,1878.85841 1461.12879,1916.52841 C1448.55879,1919.92841 1437.77879,1928.27841 1425.50879,1932.73841 C1326.97879,1980.54841 1220.06879,2011.18841 1111.33879,2023.54841 C1107.23879,2024.32507 1103.01434,2024.59729 1098.77138,2024.79211 L1097.17961,2024.86237 L1097.17961,2024.86237 L1095.58734,2024.93038 C1088.15754,2025.25028 1080.75212,2025.66007 1073.93879,2028.44841 C1016.13879,2028.73841 958.338786,2028.80841 900.548786,2028.30841 C895.728786,2028.38841 891.118786,2026.41841 886.268786,2027.14841 C885.498786,2026.44841 884.738786,2025.76841 883.988786,2025.11841 C819.998786,2019.79841 756.988786,2004.73841 695.368786,1986.78841 C694.978786,1986.41841 694.178786,1985.66841 693.788786,1985.29841 C684.338786,1983.87841 675.518786,1979.73841 666.568786,1976.54841 C643.668786,1969.23841 621.598786,1959.76841 599.398786,1950.70841 C598.978786,1950.38841 598.148786,1949.75841 597.728786,1949.43841 C506.738786,1911.01841 422.618786,1856.92841 347.198786,1793.35841 C318.338786,1768.60841 290.158786,1742.82841 264.678786,1714.51841 C221.878786,1668.51841 182.918786,1618.69841 149.738786,1565.29841 C148.094342,1563.44952 146.787675,1561.37149 145.529952,1559.25923 L144.591324,1557.67166 C143.340021,1555.55445 142.065453,1553.45174 140.478786,1551.55841 C140.338786,1550.99841 140.068786,1549.88841 139.928786,1549.32841 C124.061994,1525.49595 111.032823,1499.95167 98.323923,1474.262 L96.3195491,1470.20476 C95.985808,1469.52843 95.652197,1468.85205 95.3186701,1468.17566 L93.3181518,1464.11736 C89.9844146,1457.35399 86.6499183,1450.59482 83.2687862,1443.86841 C80.4900362,1436.91028 77.5878878,1429.98933 74.6711303,1423.06886 L72.7256548,1418.45487 C65.9172726,1402.30335 59.1609737,1386.10997 53.8387862,1369.40841 C49.6587862,1361.25841 47.7587862,1352.18841 44.5687862,1343.64841 C42.4287862,1336.22841 38.9787862,1329.15841 37.8587862,1321.48841 C34.5487862,1312.30841 31.7187862,1302.88841 29.8787862,1293.32841 C26.6387862,1285.66841 25.8987862,1277.33841 23.8287862,1269.36841 C16.2287862,1243.31841 12.8887862,1216.21841 7.16878624,1189.87841 C7.04878624,1180.60841 4.49878624,1171.71841 3.84878624,1162.53841 L2.13878624,1161.48841 C2.22878624,1142.12841 2.20878624,1122.76841 1.94878624,1103.40841 C1.64878624,1103.30841 1.05878624,1103.12841 0.768786237,1103.03841 C-0.201213763,1056.93841 -0.381213763,1010.74841 0.978786237,964.638405 C0.978786237,898.361875 0.971997713,832.087042 0.980793605,765.813206 L0.808786238,765.878405 L0.808786238,765.878405 C0.798786238,674.808405 -0.261213762,583.738405 0.248786238,492.668405 C0.468807184,489.04944 0.844244167,485.436231 0.990787998,481.815677 L0.418786237,481.208405 C0.579400479,481.234736 0.782304776,481.267305 1.00522901,481.302646 C1.04356706,480.322694 1.05906413,479.340972 1.04878624,478.358405 C1.06878624,476.328405 1.11878624,474.308405 1.16878624,472.298405 C1.58878624,472.288405 2.43878624,472.258405 2.85878624,472.248405 C2.90878624,470.988405 2.97878624,469.738405 3.03878624,468.488405 C5.24878624,465.418405 6.73878624,461.888405 7.24878624,458.138405 C7.34878624,458.131739 7.48323068,458.125072 7.62952698,458.118405 L8.08137883,458.098405 C8.22878624,458.091739 8.3654529,458.085072 8.46878624,458.078405 C9.33878624,456.178405 10.3687862,454.358405 11.2387862,452.468405 C12.9187862,450.708405 14.2987862,448.698405 15.2587862,446.458405 L16.1129464,445.412917 C18.1151925,442.978093 20.1987862,440.595905 22.7187862,438.688405 C22.8087862,438.058405 22.9987862,436.798405 23.0887862,436.168405 C23.7187862,436.088405 24.9687862,435.908405 25.5887862,435.828405 C27.6587862,433.348405 29.7987862,430.728405 32.8687862,429.478405 C32.9087862,429.208405 32.9787862,428.668405 33.0187862,428.398405 C34.9487862,427.638405 36.8387862,426.738405 38.4987862,425.478405 C39.3687862,424.548405 40.5087862,423.968405 41.6987862,423.548405 C42.0287862,423.238405 42.6787862,422.608405 43.0087862,422.298405 C44.5987862,421.808405 46.4187862,421.628405 47.5487862,420.248405 C47.8091311,420.194957 48.081961,420.157264 48.3578456,420.121898 L48.6897699,420.079715 C49.9077755,419.922841 51.1118897,419.707026 51.4987862,418.288405 C53.5887862,417.838405 56.0887862,418.038405 57.6487862,416.298405 C60.1687862,416.018405 62.6987862,415.708405 65.2087862,415.318405 L65.0887862,414.208405 C66.3099984,413.95689 67.6267109,413.889948 68.9629577,413.852864 L69.7664421,413.832958 C72.5825879,413.767166 75.4178771,413.696587 77.5687862,412.188405 C81.5187862,412.178405 85.4687862,412.158405 89.4087862,412.248405 C92.8787862,414.458405 97.5187862,413.478405 101.448786,414.268405 C102.810399,415.812921 104.773167,415.976158 106.737119,416.057533 L107.297762,416.079678 C108.043948,416.109227 108.782012,416.144857 109.478786,416.258405 C110.248198,417.19017 111.346468,417.578821 112.457048,417.937868 L113.011898,418.117302 C113.288371,418.208163 113.562316,418.302523 113.828786,418.408405 C115.658786,419.698405 117.828786,420.128405 120.028786,420.258405 C120.048786,420.638405 120.078786,421.408405 120.088786,421.798405 C121.258786,421.888405 122.418786,421.998405 123.588786,422.118405 C125.238786,424.308405 127.758786,425.438405 130.298786,426.248405 C130.538786,426.658405 131.028786,427.488405 131.268786,427.908405 C131.978786,427.968405 133.388786,428.088405 134.088786,428.148405 C134.078786,428.618405 134.058786,429.548405 134.048786,430.008405 C134.588786,429.998405 135.658786,429.968405 136.188786,429.948405 C136.208786,430.328405 136.238786,431.088405 136.258786,431.468405 C139.908097,433.532198 142.789048,436.574684 145.61316,439.670603 L146.503926,440.648959 C147.691307,441.952924 148.88189,443.249095 150.128786,444.468405 C150.138786,444.878405 150.178786,445.708405 150.188786,446.118405 C150.638786,446.118405 151.538786,446.108405 151.978786,446.108405 C152.088786,446.728405 152.308786,447.958405 152.408786,448.568405 C153.338786,449.438405 154.108786,450.448405 154.788786,451.528405 C155.608786,452.488405 156.208786,453.578405 156.618786,454.788405 C156.928786,455.118405 157.538786,455.768405 157.848786,456.098405 C158.318786,457.648405 158.928786,459.168405 159.758786,460.578405 C160.408786,461.928405 161.098786,463.278405 162.048786,464.468405 C162.148786,465.888405 162.238786,467.318405 162.328786,468.758405 C162.718786,469.068405 163.508786,469.708405 163.908786,470.018405 C164.398786,471.658405 164.518786,473.598405 166.008786,474.738405 C166.26059,478.030209 166.224126,481.388747 166.144275,484.761687 L166.064175,487.926442 C165.856537,496.368521 165.855999,504.798405 169.888786,512.398405 C170.308786,513.898405 170.138786,515.848405 171.798786,516.628405 C172.828786,519.368405 173.708786,522.708405 176.188786,524.488405 C176.158786,524.918405 176.108786,525.788405 176.088786,526.228405 C176.578786,526.178405 177.558786,526.088405 178.058786,526.038405 C178.098786,526.758405 178.198786,528.208405 178.248786,528.928405 C178.668786,529.228405 179.528786,529.828405 179.948786,530.128405 C180.648786,530.918405 181.368786,531.698405 182.098786,532.468405 C182.118786,532.848405 182.168786,533.618405 182.198786,533.998405 C182.386286,533.998405 182.645505,533.996999 182.922653,533.995241 L183.484919,533.991569 C183.762067,533.989812 184.021286,533.988405 184.208786,533.988405 C184.198786,534.488405 184.188786,535.508405 184.178786,536.018405 C184.688786,536.008405 185.698786,535.988405 186.208786,535.978405 C186.198786,536.478405 186.178786,537.488405 186.178786,537.988405 C186.366286,537.988405 186.625505,537.989812 186.902653,537.991569 L187.464919,537.995241 C187.742067,537.996999 188.001286,537.998405 188.188786,537.998405 C188.188786,538.488405 188.198786,539.488405 188.208786,539.988405 C188.578786,540.018405 189.318786,540.078405 189.688786,540.108405 C190.508786,540.848405 191.338786,541.578405 192.188786,542.308405 C192.478786,542.698405 193.058786,543.498405 193.348786,543.898405 C194.038786,543.958405 195.428786,544.098405 196.118786,544.168405 C196.088786,544.638405 196.018786,545.598405 195.988786,546.078405 L196.421498,546.078172 C196.833888,546.077589 197.335929,546.075548 197.628786,546.068405 C198.668786,547.508405 200.468786,547.778405 202.038786,548.288405 C202.166286,548.442155 202.341599,548.650749 202.529392,548.873054 L202.91115,549.323757 C203.09988,549.546062 203.277536,549.754655 203.408786,549.908405 C204.078786,549.938405 205.408786,549.998405 206.078786,550.028405 C206.398786,550.498405 207.038786,551.438405 207.358786,551.908405 C208.718786,551.988405 210.088786,552.098405 211.448786,552.228405 C213.418786,554.598405 216.788786,553.798405 219.488786,554.258405 C226.078786,556.508405 235.098786,557.098405 241.658786,554.268405 C244.158786,554.088405 246.658786,553.988405 249.168786,553.898405 C249.118786,553.468405 248.998786,552.598405 248.938786,552.168405 C249.591741,552.029542 250.372144,552.058281 251.164192,552.090076 L251.530158,552.104369 C253.298915,552.168705 255.036968,552.122269 255.458786,550.138405 C256.698786,550.058405 257.938786,549.998405 259.178786,549.948405 C259.118786,549.538405 258.998786,548.708405 258.938786,548.298405 C260.868786,547.888405 262.798786,547.458405 264.738786,547.038405 C264.868786,546.398405 265.148786,545.098405 265.278786,544.448405 C266.798786,544.058405 268.768786,544.228405 269.438786,542.488405 C270.758786,541.378405 272.108786,540.328405 273.638786,539.518405 C275.968786,537.208405 278.208786,534.788405 280.728786,532.668405 C280.818786,532.028405 280.998786,530.738405 281.088786,530.098405 C281.548786,530.108405 282.458786,530.128405 282.918786,530.138405 C282.908786,529.698405 282.908786,528.828405 282.908786,528.388405 C285.158786,528.188405 284.908786,525.898405 285.308786,524.248405 C285.658786,524.238405 286.378786,524.218405 286.738786,524.208405 C286.824786,523.894405 286.873186,523.553205 286.911506,523.203285 L286.947485,522.851143 C287.074564,521.554316 287.189453,520.223072 288.648786,519.768405 C289.098786,518.258405 288.848786,516.188405 290.838786,515.788405 C290.858786,515.685072 290.884342,515.547294 290.911749,515.398035 L290.995823,514.938776 C291.023231,514.789516 291.048786,514.651739 291.068786,514.548405 C293.778786,511.858405 292.838786,507.728405 293.208786,504.298405 C293.588786,504.288405 294.338786,504.258405 294.718786,504.248405 C294.868786,502.398405 294.898786,500.468405 295.998786,498.888405 C296.478786,401.488405 296.058786,304.058405 296.208786,206.638405 C295.948786,200.448405 296.418786,194.298405 297.138786,188.158405 C297.518786,188.148405 298.288786,188.138405 298.668786,188.138405 C298.798786,186.968405 298.938786,185.798405 299.088786,184.638405 C300.898786,181.968405 301.968786,178.908405 303.188786,175.948405 C303.335036,175.835905 303.53613,175.682624 303.750935,175.519148 L304.186638,175.187663 C304.401442,175.024187 304.602536,174.870905 304.748786,174.758405 C304.828786,174.218405 304.988786,173.128405 305.068786,172.578405 C306.978786,170.938405 308.258786,168.768405 309.358786,166.538405 C314.658786,160.378405 320.048786,153.908405 326.938786,149.498405 C326.928786,149.138405 326.908786,148.428405 326.898786,148.068405 C327.558786,148.008405 328.878786,147.898405 329.538786,147.848405 C330.268786,146.548405 331.478786,145.848405 332.908786,145.538405 C332.928786,145.158405 332.958786,144.408405 332.968786,144.028405 C333.678786,144.008405 335.098786,143.958405 335.808786,143.938405 C336.078786,143.508405 336.608786,142.638405 336.868786,142.198405 C338.548786,141.948405 340.318786,141.688405 341.568786,140.398405 C342.968786,139.818405 344.508786,139.398405 345.538786,138.198405 C348.368786,137.018405 352.718786,138.398405 354.468786,135.408405 C357.668786,135.058405 360.898786,134.968405 364.118786,135.028405 C363.988786,134.638405 363.738786,133.838405 363.618786,133.438405 C381.178786,132.498405 399.328786,132.618405 415.248786,140.908405 C417.568786,142.058405 419.888786,143.218405 422.248786,144.298405 C422.538786,144.698405 423.118786,145.498405 423.408786,145.908405 C424.078786,145.938405 425.428786,146.018405 426.108786,146.058405 C426.138786,146.398405 426.208786,147.088405 426.238786,147.428405 C429.048786,148.798405 431.158786,151.248405 434.068786,152.478405 C434.108786,152.738405 434.198786,153.258405 434.248786,153.518405 C435.248786,154.108405 436.058786,154.898405 436.668786,155.898405 C437.068786,155.908405 437.868786,155.908405 438.268786,155.918405 C438.248786,156.438405 438.218786,157.468405 438.198786,157.978405 C438.718786,157.968405 439.748786,157.938405 440.268786,157.928405 C440.268786,158.318405 440.288786,159.118405 440.288786,159.518405 C441.278786,160.128405 442.068786,160.938405 442.668786,161.938405 C442.938786,161.988405 443.468786,162.068405 443.738786,162.118405 C444.788786,164.418405 446.238786,166.498405 447.928786,168.368405 C448.958786,170.648405 450.048786,172.988405 452.048786,174.618405 C452.098786,175.188405 452.218786,176.348405 452.278786,176.928405 C452.458786,177.025905 452.706286,177.161374 452.970661,177.306862 L453.506911,177.602917 C453.771286,177.749343 454.018786,177.887155 454.198786,177.988405 C454.218786,178.698405 454.248786,180.118405 454.258786,180.828405 C454.698786,181.138405 455.578786,181.738405 456.018786,182.038405 C456.978786,185.648405 457.478786,189.748405 460.068786,192.618405 C460.618786,215.438405 459.568786,238.288405 461.088786,261.078405 L462.208786,260.938405 C462.558786,263.498405 462.898786,266.068405 463.228786,268.638405 C464.666643,269.031262 464.919194,270.269885 465.126326,271.524823 L465.182547,271.86686 C465.220419,272.094324 465.260215,272.319834 465.308786,272.538405 C466.123959,273.039095 466.466551,273.85655 466.755296,274.702406 L466.89712,275.126365 C467.250154,276.185504 467.628097,277.213923 468.848786,277.648405 C468.938786,278.798405 469.018786,279.968405 469.098786,281.138405 C469.478786,281.128405 470.228786,281.118405 470.608786,281.108405 C471.538786,282.498405 472.368786,283.978405 473.288786,285.398405 C473.442536,285.488405 473.653942,285.612155 473.879763,285.74487 L474.33781,286.014909 C474.56363,286.148562 474.775036,286.274655 474.928786,286.368405 C474.947536,286.585905 474.971911,286.884968 474.997692,287.204421 L475.04988,287.85239 C475.075661,288.171843 475.100036,288.470905 475.118786,288.688405 C478.768786,290.308405 481.818786,293.418405 483.498786,297.038405 C483.693786,297.068405 483.963317,297.112468 484.252009,297.160046 L484.838532,297.256765 C485.128161,297.304343 485.400036,297.348405 485.598786,297.378405 C487.038786,299.018405 488.748786,300.388405 490.488786,301.718405 C492.108786,302.868405 493.838786,303.858405 495.588786,304.818405 C496.928786,305.428405 498.258786,306.098405 499.568786,306.798405 C500.948786,307.418405 502.368786,308.008405 503.568786,308.968405 C505.078786,309.308405 506.898786,309.278405 507.628786,310.958405 C509.838786,311.258405 512.058786,311.538405 514.278786,311.868405 L514.168786,313.128405 C522.768786,313.328405 531.378786,313.408405 539.978786,313.098405 L539.848786,311.978405 C541.748786,311.698405 543.648786,311.398405 545.548786,311.048405 C546.516059,310.049314 547.827547,309.702207 549.155969,309.409217 L549.725375,309.28522 C550.29391,309.16105 550.856968,309.031133 551.388786,308.848405 C554.768786,306.808405 558.228786,304.868405 561.628786,302.828405 C562.154786,302.406405 562.676386,301.978405 563.196946,301.548965 L564.758866,300.260885 C566.324386,298.977605 567.910786,297.722405 569.608786,296.618405 C570.138786,295.838405 570.658786,295.048405 571.198786,294.268405 C571.968786,293.748405 572.758786,293.248405 573.558786,292.738405 C574.77612,290.567739 576.375275,288.671339 577.993432,286.792865 L578.875767,285.768479 C579.169053,285.426583 579.460786,285.083739 579.748786,284.738405 C580.778786,282.448405 582.108786,280.288405 583.888786,278.508405 C584.048786,277.368405 584.198786,276.238405 584.358786,275.108405 C584.738786,275.108405 585.478786,275.118405 585.858786,275.118405 C586.198786,272.868405 586.218786,270.338405 587.948786,268.628405 C588.288786,266.738405 588.598786,264.848405 588.898786,262.948405 L589.928786,263.038405 C590.068786,259.568405 590.628786,256.128405 590.838786,252.658405 C591.018786,189.328405 590.608786,125.988405 591.038786,62.6684054 C592.498786,61.4884054 592.678786,59.5284054 593.238786,57.8584054 C594.038786,56.0884054 594.898786,54.3384054 595.858786,52.6384054 C596.248786,51.1784054 596.308786,49.4284054 597.888786,48.7084054 C598.268786,47.2584054 598.368786,45.5884054 599.748786,44.6584054 C600.948786,42.5584054 602.058786,40.4184054 603.188786,38.2784054 C605.438786,35.8584054 607.488786,33.2484054 609.758786,30.8284054 C613.388786,26.2984054 617.798786,22.4184054 622.738786,19.3784054 C622.788786,19.1184054 622.878786,18.5784054 622.928786,18.3084054 C625.238786,17.3684054 627.468786,16.2284054 629.528786,14.7884054 C630.578786,13.5984054 632.158786,13.3784054 633.618786,12.9384054 C635.15408,11.0060524 637.334011,10.2228344 639.594728,9.54859465 L640.350518,9.32645746 C642.117402,8.8108967 643.895257,8.29134653 645.418786,7.27840535 C645.617536,7.26715535 645.890817,7.2516866 646.182204,7.23516317 L646.7724,7.20164754 C647.062849,7.1851241 647.333786,7.16965535 647.528786,7.15840535 C648.812657,5.66808277 650.745852,5.43894646 652.686565,5.3109145 L653.268363,5.27437796 C654.139473,5.22064261 654.999109,5.16388922 655.788786,4.99840535 C656.998786,4.20840535 658.308786,3.58840535 659.528786,2.78840535 C661.098786,0.738405354 663.808786,1.28840535 666.098786,1.18840535 L665.988786,0.0184053537 C670.358786,-0.0115946463 674.728786,1.13686838e-13 679.108786,0.0184053537 Z">
</path>
</g>
<!-- 这里是背景的星星,白色 -->
<g id="stars" transform="translate(244.126845, 279.940000)" fill="#FFF">
<path
d="M973.413155,2.45 C974.243155,1.63 975.083155,0.81 975.943155,0 C981.453155,8.35 986.863155,20.02 998.403155,20.57 C999.723155,21.83 1002.02315,22.84 1001.26315,25.09 C998.843155,27.87 994.953155,28.38 992.033155,30.44 C985.413155,35.12 981.393155,42.84 980.223155,50.75 C975.303155,50.75 976.313155,43.67 972.933155,41.05 C969.233155,32.89 959.933155,30.58 952.383155,27.25 C952.383155,26.66 952.383155,25.47 952.383155,24.87 C956.883155,23.18 961.393155,21.34 965.303155,18.49 C968.463155,16.18 969.323155,12.05 972.313155,9.57 C972.803155,7.22 973.183155,4.84 973.413155,2.45 Z">
</path>
<path
d="M345.353155,192.41 C346.333155,192.4 347.313155,192.4 348.313155,192.41 C351.593155,203.08 355.303155,214.42 363.763155,222.29 C373.053155,232.84 386.603155,239.71 400.683155,240.52 C401.483155,241.43 402.193155,242.43 402.893155,243.43 C397.293155,243.94 392.963155,248.19 387.323155,248.63 C386.323155,249.58 385.333155,250.53 384.353155,251.49 C383.753155,251.61 382.543155,251.85 381.933155,251.97 C370.853155,258.64 362.783155,269.15 357.503155,280.77 C356.293155,285.97 356.093155,292.28 351.953155,296.11 C351.093155,295.26 350.253155,294.42 349.423155,293.58 C347.683155,280.22 338.323155,269.22 328.313155,260.76 C324.503155,259.18 321.963155,255.14 317.433155,255.47 C316.393155,254.52 315.373155,253.57 314.363155,252.62 C308.783155,252.1 302.593155,251.54 298.643155,247.03 C309.113155,243.06 319.573155,238.74 328.153155,231.32 C333.203155,224.23 340.223155,217.86 341.533155,208.72 C345.203155,204.04 344.653155,197.97 345.353155,192.41 Z">
</path>
<path
d="M1133.62315,362.82 C1135.33315,362.18 1136.93315,361.23 1138.39315,360.09 C1138.52315,365.23 1138.19315,370.44 1139.49315,375.48 C1141.12315,384.55 1147.69315,391.81 1155.07315,397.02 C1155.20315,397.62 1155.45315,398.82 1155.58315,399.42 C1150.78315,400.98 1145.73315,400.02 1140.81315,400.42 C1131.99315,403.11 1124.15315,408.33 1118.44315,415.67 C1117.37315,415.66 1116.32315,415.66 1115.29315,415.67 C1116.41315,406.17 1114.08315,396.77 1108.92315,388.98 C1105.92315,385.89 1102.67315,383.05 1099.86315,379.79 C1099.22315,379.73 1097.93315,379.62 1097.29315,379.56 C1097.27315,378.52 1097.27315,377.5 1097.29315,376.48 C1104.05315,376.43 1110.88315,376.89 1117.60315,375.77 C1117.51315,375.44 1117.34315,374.78 1117.25315,374.45 C1117.95315,374.46 1119.34315,374.47 1120.04315,374.48 C1120.40315,374.01 1121.13315,373.08 1121.49315,372.61 C1122.12315,372.56 1123.39315,372.46 1124.02315,372.41 C1126.78315,368.67 1132.27315,367.65 1133.62315,362.82 Z">
</path>
<path
d="M1541.38315,416.48 C1542.37315,416.47 1543.38315,416.47 1544.42315,416.48 C1544.43315,417.17 1544.46315,418.54 1544.47315,419.23 C1544.93315,419.6 1545.86315,420.32 1546.32315,420.69 C1546.37315,421.32 1546.49315,422.58 1546.54315,423.21 C1546.96315,423.58 1547.81315,424.32 1548.23315,424.69 C1550.04315,433.94 1559.49315,439.62 1567.47315,443.51 C1570.18315,444.45 1575.73315,442.91 1575.53315,447.2 C1561.92315,451.26 1548.98315,462.79 1548.42315,477.72 C1547.41315,477.71 1546.43315,477.72 1545.47315,477.74 C1540.98315,464.64 1529.80315,452.18 1515.21315,451.58 C1515.19315,450.54 1515.19315,449.51 1515.22315,448.49 C1516.60315,447.38 1518.13315,446.43 1519.92315,446.11 C1520.33315,445.77 1521.15315,445.09 1521.56315,444.75 C1530.65315,442.11 1536.54315,433.69 1540.31315,425.48 C1540.86315,422.5 1541.24315,419.5 1541.38315,416.48 Z">
</path>
<path
d="M37.1831549,683.39 C38.3531549,683.39 39.5231549,683.4 40.6931549,683.4 C41.2931549,685.37 41.3831549,687.43 41.3731549,689.49 C41.8531549,689.82 42.8031549,690.47 43.2731549,690.8 C43.3231549,691.39 43.4031549,692.58 43.4431549,693.17 C44.6731549,694.36 45.2831549,695.91 45.4831549,697.62 C47.2831549,699.25 48.8231549,701.14 49.5031549,703.53 C52.1231549,706.19 54.7431549,708.87 57.5631549,711.32 C60.0731549,711.8 61.7631549,713.74 63.4831549,715.46 C65.6631549,715.6 67.9431549,715.9 69.5231549,717.58 C70.1631549,717.6 71.4231549,717.65 72.0531549,717.67 C72.3831549,718.15 73.0231549,719.1 73.3531549,719.58 C76.1431549,719.52 78.9631549,719.67 81.6731549,720.49 C82.3831549,723.48 80.1431549,724.92 77.4631549,724.65 C76.3231549,725.28 75.1631549,725.88 74.0031549,726.48 C73.4431549,726.52 72.3231549,726.59 71.7731549,726.63 C70.5531549,727.85 68.9931549,728.44 67.3131549,728.67 C65.6731549,730.47 63.7831549,732.01 61.4031549,732.7 C58.7531549,735.29 56.1231549,737.91 53.5231549,740.57 C52.9531549,743.07 51.3331549,745 49.4731549,746.68 C49.3331549,748.85 49.0531549,751.14 47.3431549,752.71 C47.3231549,753.34 47.2831549,754.61 47.2631549,755.25 C46.7931549,755.57 45.8331549,756.21 45.3531549,756.53 C45.4031549,759.32 45.2531549,762.15 44.4431549,764.86 C40.0931549,765.93 40.1531549,761.54 40.3931549,758.63 C39.9131549,758.3 38.9631549,757.65 38.4931549,757.32 C38.4331549,756.71 38.3131549,755.48 38.2531549,754.87 C36.9431549,750.98 33.6131549,748.39 32.2331549,744.59 C29.6231549,741.91 27.0131549,739.23 24.1431549,736.83 C21.7531549,736.11 19.9231549,734.43 18.2531549,732.66 C16.0631549,732.51 13.7831549,732.22 12.2231549,730.53 C11.5831549,730.51 10.3131549,730.48 9.68315489,730.46 C9.36315489,729.98 8.73315489,729.02 8.41315489,728.54 C5.34315489,728.26 -0.916845113,729.61 0.113154887,724.61 C2.77315489,723.97 5.33315489,722.98 7.76315489,721.7 C8.31315489,721.64 9.42315489,721.53 9.98315489,721.48 C11.2031549,720.27 12.7631549,719.67 14.4431549,719.44 C16.0731549,717.64 17.9731549,716.1 20.3431549,715.42 C23.0231549,712.8 25.6931549,710.17 28.1331549,707.33 C28.6531549,704.84 30.5631549,703.15 32.2731549,701.44 C32.4031549,699.25 32.7031549,696.98 34.3831549,695.42 C34.4131549,694.79 34.4731549,693.54 34.5131549,692.91 C34.9831549,692.57 35.9431549,691.89 36.4131549,691.55 C36.4631549,688.81 36.1631549,685.98 37.1831549,683.39 Z">
</path>
<path
d="M1387.21315,1131.17 C1387.33315,1130 1387.47315,1128.85 1387.64315,1127.72 C1389.67315,1129.68 1390.94315,1132.22 1392.20315,1134.73 C1395.94315,1148.17 1405.19315,1161.12 1418.28315,1166.77 C1418.65315,1167.16 1419.37315,1167.93 1419.73315,1168.32 C1420.38315,1168.39 1421.67315,1168.52 1422.31315,1168.59 C1423.99315,1169.58 1425.71315,1170.53 1427.44315,1171.5 C1430.68315,1172.83 1436.03315,1170.82 1437.78315,1174.5 C1438.60315,1174.52 1440.24315,1174.56 1441.06315,1174.58 C1440.18315,1175.51 1439.30315,1176.45 1438.45315,1177.4 C1436.85315,1177.65 1435.52315,1178.52 1434.24315,1179.4 C1420.77315,1183.08 1407.82315,1192.39 1402.16315,1205.48 C1401.78315,1205.84 1401.00315,1206.56 1400.61315,1206.92 C1400.54315,1207.56 1400.41315,1208.86 1400.34315,1209.51 C1399.32315,1211.17 1398.38315,1212.88 1397.45315,1214.59 C1396.76315,1217.54 1396.37315,1220.56 1396.36315,1223.6 C1395.71315,1224.27 1395.09315,1224.95 1394.49315,1225.65 C1393.44315,1225.64 1392.42315,1225.67 1391.42315,1225.71 C1391.52315,1223.97 1390.43315,1222.7 1389.46315,1221.44 C1388.81315,1214.03 1383.31315,1208.32 1379.86315,1202.06 C1375.04315,1197.03 1370.24315,1191.59 1363.42315,1189.36 C1363.07315,1188.97 1362.38315,1188.18 1362.04315,1187.79 C1361.39315,1187.73 1360.08315,1187.6 1359.43315,1187.54 C1357.72315,1186.53 1356.00315,1185.58 1354.30315,1184.62 C1351.02315,1183.41 1345.68315,1185.3 1343.96315,1181.61 C1343.15315,1181.6 1341.51315,1181.58 1340.70315,1181.57 C1342.19315,1179.12 1345.03315,1178.1 1347.40315,1176.67 C1360.96315,1173.12 1373.86315,1163.73 1379.59315,1150.67 C1379.97315,1150.3 1380.73315,1149.55 1381.11315,1149.18 C1381.18315,1148.54 1381.33315,1147.25 1381.41315,1146.61 C1382.39315,1144.92 1383.32315,1143.21 1384.30315,1141.53 C1385.94315,1138.31 1383.57315,1132.95 1387.21315,1131.17 Z">
</path>
<path
d="M313.673155,1254.04 C314.563155,1254.8 315.453155,1255.56 316.353155,1256.35 C316.683155,1258.05 317.043155,1259.78 317.413155,1261.52 C322.703155,1269.03 330.513155,1273.55 338.863155,1276.9 C338.093155,1277.76 337.323155,1278.64 336.573155,1279.55 C334.833155,1279.86 333.113155,1280.22 331.403155,1280.6 C324.123155,1286.02 318.923155,1293.7 316.203155,1302.15 C315.263155,1301.34 314.323155,1300.54 313.383155,1299.78 C313.043155,1298.03 312.683155,1296.31 312.333155,1294.6 C306.983155,1287.23 299.313155,1282.31 290.853155,1279.27 C291.623155,1278.36 292.383155,1277.45 293.163155,1276.58 C294.883155,1276.22 296.603155,1275.86 298.333155,1275.52 C305.723155,1270.17 310.583155,1262.49 313.673155,1254.04 Z">
</path>
</g>
<!-- 这里是右上角的泡泡,颜色可以是渐变的开头色 -->
<g id="sub" transform="translate(0.000000, 0.000000)" fill="${oe}">
<path
d="M382.02,0 L398.79,0 C402.63,3.36 407.68,4.87 412.75,4.43 C414.61,4.34 416.54,4.69 418.28,3.76 L415.16,6.84 L418.37,5.16 C418.42,5.9 418.53,7.37 418.58,8.1 L419.97,4.8 C419.86,5.73 419.64,7.57 419.52,8.49 L420.89,7.31 C421.97,8.19 423.24,8.6 424.7,8.51 C424.58,9.01 424.34,10 424.21,10.5 C425.46,10.4 427.94,10.2 429.19,10.11 L424.64,11.94 L428.43,11.39 L428.42,12.62 C428.96,12.5 430.04,12.24 430.58,12.11 L430.16,15.06 L431.6,12.58 L431.67,14.95 L434.3,13.51 L431.36,16.79 L434.18,15.19 C434.29,15.65 434.49,16.57 434.6,17.03 L436.62,15.6 C431.03,21.96 444.79,14.22 435.78,19.85 L438.7,19.37 L438.15,22.12 L440.54,19.2 C440.23,20.06 439.62,21.78 439.32,22.65 C439.88,22.36 441,21.78 441.55,21.49 C441,24.47 441.71,25.14 443.69,23.51 C443.65,24.3 443.57,25.89 443.53,26.69 L446.53,26.13 L442.9,28.12 C443.59,27.96 444.97,27.65 445.66,27.49 C445.75,28.53 445.94,30.61 446.03,31.65 L447.13,27.15 C447.27,28.38 447.54,30.83 447.67,32.05 C447.7,32.84 447.75,34.43 447.78,35.22 C448.18,35.49 448.97,36.03 449.36,36.3 C449.98,37.79 450.65,39.26 451.39,40.7 C451.78,42.22 451.61,44.23 453.44,44.79 C453.93,46.83 454.39,48.9 455.42,50.75 C456.03,54.74 455.48,59.09 457.45,62.76 C457.68,67.02 457.54,71.28 457.61,75.54 C457.3,75.55 456.69,75.58 456.38,75.6 C455.92,81.48 456.3,87.92 452.6,92.92 C451.72,95.93 450.62,98.86 449.33,101.71 C448.94,101.66 448.18,101.57 447.8,101.53 C447.72,102.9 447.66,104.28 447.59,105.65 C447.26,105.64 446.58,105.63 446.25,105.62 C444.73,109.74 439.57,111.85 439.48,116.45 C438.99,116.4 438.02,116.29 437.53,116.24 C439.16,118.56 438.72,119.01 436.22,117.62 C436.31,118.31 436.5,119.7 436.59,120.4 C435.82,120.4 434.28,120.4 433.51,120.4 C433.57,120.97 433.7,122.11 433.76,122.68 L431.1,122.05 L433.03,124.15 C432.4,123.95 431.13,123.54 430.49,123.33 L430.24,124.89 L427.54,123.45 L430.58,126.58 L427.82,125.31 C427.73,125.97 427.56,127.3 427.48,127.96 L425.75,124.81 L426.68,127.91 L425.46,127.32 L425.59,128.36 C424.17,128.38 422.76,128.41 421.35,128.44 C421.49,128.93 421.75,129.92 421.89,130.41 C420.66,130.41 418.21,130.41 416.99,130.41 L421.59,131.9 C420.26,131.8 417.62,131.61 416.3,131.52 L416.52,132.55 C414.74,132.43 412.96,132.29 411.18,132.13 L414.89,133.55 C412.99,133.71 409.17,134.03 407.26,134.19 C409.19,134.4 413.05,134.83 414.98,135.04 C398.97,136.8 382.76,137.26 366.76,135.08 C368.33,134.83 371.49,134.31 373.07,134.05 L363.8,133.27 L369.78,131.99 C367.67,132.08 365.57,132.25 363.48,132.51 L363.67,131.6 C362.22,131.6 360.77,131.6 359.33,131.6 C359.44,131.17 359.66,130.31 359.77,129.89 C357.33,127.76 353.95,127.37 350.85,127.75 L354.71,126.61 C353.47,126.47 350.98,126.18 349.74,126.03 L353.03,124.67 C351.85,124.59 349.48,124.42 348.3,124.34 L348.57,123.34 L347.1,123.6 C347.32,123.1 347.76,122.11 347.98,121.62 C346.9,121.61 344.76,121.6 343.68,121.6 C345.18,119.89 344.77,119.21 342.44,119.55 C342.76,117.24 342.05,116.9 340.3,118.52 C340.04,116.83 339.86,115.14 339.76,113.45 C339.12,113.77 337.84,114.43 337.2,114.76 C337.57,113.92 338.3,112.24 338.67,111.4 L335.48,114.4 L336.89,111.76 L335.61,111.59 C335.59,111.06 335.56,110.02 335.54,109.5 L333.16,109.69 L334.98,107.98 C334.35,108.12 333.09,108.42 332.47,108.57 C332.46,107.92 332.44,106.63 332.43,105.98 C332.6,104.21 331.89,102.57 330.69,101.3 C329.99,99.93 329.19,98.63 328.46,97.28 C328.34,96.05 328.24,94.82 328.16,93.6 C327.75,93.59 326.94,93.58 326.53,93.58 C326.11,91.33 325.92,88.94 324.55,87.03 C323.8,83.76 324.78,79.69 322.5,76.99 C322.27,71.66 322.28,66.31 322.48,60.98 C324.95,57.35 324.09,52.55 324.44,48.38 C324.83,48.4 325.6,48.42 325.99,48.44 C326.14,47.28 326.31,46.12 326.49,44.97 C328.57,42 329.2,38.27 331.32,35.3 C332.39,31.57 336.4,29.41 336.67,25.41 C336.53,24.92 336.26,23.95 336.12,23.47 C341.44,27.84 334.66,18.28 339.61,22.98 L339.37,21.5 L340.92,21.81 L339.1,19.82 L341.55,20.72 L341.77,19.04 L344.07,20.38 L341.34,16.98 L344.66,19.24 C344.3,18.58 343.6,17.25 343.24,16.59 C343.85,16.56 345.07,16.5 345.68,16.48 C349.38,15.92 351.67,12.48 355.16,11.31 C355.98,9.99 357.51,9.69 358.88,9.19 C360.17,8.41 361.58,7.85 362.98,7.26 C364.59,5.37 367.23,5.69 369.45,5.41 C369.42,5.16 369.37,4.67 369.34,4.43 C372.08,4.13 374.81,3.74 377.56,3.44 C377.53,2.96 377.46,2.01 377.43,1.54 C378.68,1.54 379.93,1.54 381.19,1.54 C381.4,1.16 381.82,0.39 382.02,0 Z M54.4,176.49 C59.94,175.04 66.31,175.28 69.71,180.56 C71.23,193.58 70.11,206.81 70.32,219.92 C70.83,219.79 71.86,219.54 72.38,219.42 C72.37,220.81 72.37,222.2 72.37,223.6 C86.42,223.61 100.46,223.52 114.5,223.64 L114.56,224.8 C115.23,224.48 116.59,223.84 117.26,223.51 L115.01,226.22 L117.69,225.07 L117.27,226.5 L118.97,226.09 L117.12,228.11 L119.67,227.2 L119.4,228.67 L120.37,228.28 C120.54,232.16 120.58,236.04 120.4,239.92 L118.25,239.34 C118.91,240.12 120.23,241.7 120.9,242.49 L117.5,239.79 L118.97,242.38 L117.13,242.28 L118,243.64 C117.53,243.63 116.61,243.61 116.15,243.6 C101.27,244.23 86.25,242.82 71.47,244.37 C71.52,245.16 71.63,246.75 71.69,247.55 L70.38,247.47 C70.4,259.65 70.47,271.83 70.39,284.01 C70.5,286.89 68.51,289.16 67.22,291.55 C66,291.66 64.78,291.79 63.56,291.91 C63.57,292.35 63.59,293.21 63.61,293.65 C62.08,293.61 60.56,293.58 59.03,293.53 C57.69,292.36 55.93,291.97 54.27,291.47 C54.25,291.05 54.21,290.2 54.19,289.78 C53.71,289.77 52.74,289.75 52.26,289.74 C50.85,275.84 52.18,261.82 51.52,247.89 L50.39,247.09 C50.41,246.45 50.43,245.16 50.45,244.52 C35.75,242.71 20.83,244.25 6.05,243.63 C5.42,243.63 4.17,243.63 3.55,243.63 C3.6,243.07 3.71,241.94 3.76,241.38 L1.68,242.77 L2.83,240.43 C2.12,240.44 0.71,240.46 0,240.46 L0,225.2 L1.01,231.55 L1.67,227.06 L4.51,228.72 L1.36,225.22 C1.97,225.61 3.21,226.38 3.83,226.77 C5.53,226.21 7.15,225.41 8.68,224.49 C22.16,224.16 35.65,224.59 49.14,224.26 C49.95,223.33 50.77,222.42 51.59,221.51 C52.14,207.15 50.72,192.69 52.46,178.4 C52.93,178.39 53.88,178.36 54.35,178.34 C54.36,177.88 54.39,176.95 54.4,176.49 Z M205.55,287.22 C207.6,287.27 209.65,287.29 211.71,287.3 C211.69,287.68 211.66,288.45 211.64,288.83 C215.72,290.54 218.05,294.82 221.44,297.56 C223.24,299.47 225.38,301.1 226.73,303.41 C228.51,303.11 230.87,303.8 232.05,302.04 C236.67,296.95 242.13,292.08 246.56,287.26 C253.86,284.52 256.85,294.74 250.58,297.53 C248.47,300.49 245.51,303.32 242.63,305.56 C242.2,306.46 241.49,307.11 240.51,307.5 C240.08,308.52 239.37,309.24 238.38,309.65 C235.49,315.33 242.81,317.6 245.42,321.59 C248.54,323.9 250.57,327.39 253.79,329.57 C253.8,331.85 253.76,334.14 253.72,336.42 C253.08,336.7 251.79,337.26 251.15,337.53 C249.37,337.25 247.03,337.78 245.86,336.02 C241.15,331 235.96,326.37 231.35,321.33 C229.79,321.31 228.24,321.31 226.69,321.34 C222.01,326.35 216.86,331.01 212.13,336.03 C210.18,338.46 206.79,337.07 204.22,336.78 C203.98,334.39 202.75,331.55 204.39,329.45 C209.54,324.48 214.42,319.27 219.71,314.45 C219.69,312.85 219.69,311.24 219.69,309.64 C218.59,309.3 217.87,308.53 217.53,307.34 C217,307.13 215.96,306.71 215.44,306.5 L215.78,305.22 L214.47,305.57 C214.28,305.01 213.9,303.88 213.71,303.32 C213.14,303.12 212,302.72 211.43,302.52 L211.78,301.22 L210.48,301.57 C210.28,301 209.89,299.87 209.69,299.31 C209.13,299.11 208,298.71 207.43,298.52 L207.78,297.23 L206.6,297.55 C206.29,296.08 205.61,294.96 203.95,295.09 C203.97,293.01 202.25,288.19 205.72,288.58 C205.68,288.24 205.59,287.56 205.55,287.22 Z">
</path>
</g>
<!-- rocket -->
<g id="rokect" transform="translate(674.281285, 337.290000)">
<!-- rocket background -->
<g id="rokect-bg-light" transform="translate(69.244698, 155.410000)" fill="#FFF">
<path
d="M119.354017,0.77 C120.264017,0.67 121.194017,0.59 122.124017,0.51 C122.064017,3.18 122.034017,5.86 122.104017,8.54 C122.094017,14.65 121.904017,20.79 122.934017,26.84 L124.084017,26.81 C124.064017,27.51 124.024017,28.89 124.014017,29.59 C124.474017,29.92 125.394017,30.58 125.854017,30.91 C126.124017,32.8 126.474017,34.7 126.904017,36.58 C134.804017,51.28 147.464017,62.41 161.364017,71.31 C162.584017,72.18 163.984017,72.66 165.454017,73.02 C168.624017,76.17 173.054017,77.37 176.824017,79.61 C177.024017,79.72 177.434017,79.93 177.634017,80.04 C182.604017,84.75 189.924017,84.86 195.654017,88.23 C226.544017,97.93 259.124017,99.66 291.354017,97.86 C291.134017,97.39 290.684017,96.44 290.464017,95.96 C293.414017,95.6 297.074017,96.98 299.534017,94.87 C302.874017,94.67 306.604017,95.31 309.344017,92.91 C313.404017,92.46 317.964017,93.22 321.564017,90.87 C322.904017,90.77 324.254017,90.7 325.634017,90.64 C325.964017,90.19 326.644017,89.27 326.974017,88.82 C331.984017,88.93 337.144017,88.02 341.204017,84.91 C343.454017,84.67 345.994017,84.83 347.564017,82.86 C348.104017,82.82 349.194017,82.74 349.734017,82.7 C350.064017,82.26 350.724017,81.36 351.054017,80.91 C356.884017,79.7 363.074017,77.04 367.444017,73 C380.174017,66.99 391.464017,57.2 399.774017,45.75 C399.874017,45.61 400.074017,45.33 400.174017,45.19 C406.344017,40.92 407.714017,32.82 410.414017,26.28 C411.694017,17.61 410.464017,8.74 410.974017,5.68434189e-14 C421.024017,12.01 427.644017,26.57 436.524017,39.51 C436.844017,51.9 446.694017,62.35 446.664017,75.07 C451.414017,81.35 449.004017,89.46 452.544017,96.22 C454.604017,100.68 453.704017,105.86 455.824017,110.33 C458.674017,115.97 457.654017,122.58 460.504017,128.24 C463.284017,133.57 460.954017,139.81 463.434017,145.23 C463.964017,149.01 465.674017,152.53 466.074017,156.32 C465.344017,166.29 471.274017,175.3 470.294017,185.32 C472.834017,190.36 471.094017,196.19 473.514017,201.22 C475.224017,207.26 472.864017,213.82 475.034017,219.79 C476.984017,224.06 474.984017,229.08 477.514017,233.21 C479.574017,244.07 476.094017,255.71 479.824017,266.3 C481.034017,275.58 478.214017,285.39 481.834017,294.3 C482.354017,307.94 481.794017,321.64 482.084017,335.31 C482.464017,339.18 479.534017,342.41 479.994017,346.3 C479.514017,353.63 481.424017,361.38 478.514017,368.37 C476.944017,378.57 480.094017,389.49 476.174017,399.29 C475.814017,402.19 476.414017,405.25 475.314017,408.04 C472.284017,415.49 476.044017,424.04 472.164017,431.32 C468.444017,438.22 471.784017,446.41 468.164017,453.32 C465.284017,458.65 467.054017,464.97 464.544017,470.39 C461.594017,476.63 462.444017,483.82 459.234017,490 C458.144017,497.65 453.984017,504.52 453.844017,512.32 C443.864017,539.36 434.854017,567.12 421.844017,593.04 C410.914017,615.18 399.884017,637.49 385.594017,657.51 C372.674017,679.32 356.434017,698.88 340.864017,718.7 C334.204017,724.12 331.274017,733.43 322.864017,736.83 C322.454017,737.66 322.074017,738.51 321.704017,739.38 C316.054017,741.86 313.174017,747.83 307.694017,750.57 C300.994017,756.04 293.664017,760.69 286.334017,765.28 C284.754017,766.27 284.414017,768.29 283.594017,769.86 C282.674017,769.88 281.764017,769.91 280.864017,769.97 C281.704017,759.8 277.424017,750.37 276.334017,740.47 C275.794017,740.87 274.714017,741.67 274.174017,742.07 C274.074017,739.26 274.074017,736.46 274.084017,733.68 L272.964017,733.93 C272.944017,730.43 272.154017,727.12 271.954017,723.67 L270.904017,723.93 C271.164017,718.84 270.084017,713.86 268.624017,709.03 C268.234017,708.74 267.454017,708.17 267.064017,707.88 C266.844017,705.76 266.554017,703.66 266.204017,701.59 L264.694017,702.01 C264.794017,701.59 264.984017,700.73 265.084017,700.31 C264.014017,697.07 260.524017,697.92 257.894017,697.76 C257.964017,698.2 258.104017,699.09 258.174017,699.53 C255.944017,700.1 255.304017,702.41 254.364017,704.2 C254.204017,705.74 254.094017,707.31 253.964017,708.88 L252.554017,708.66 C252.654017,709.05 252.844017,709.83 252.944017,710.22 C250.034017,715.41 250.844017,721.52 249.184017,727 C248.864017,728.38 248.594017,729.78 248.314017,731.2 C247.684017,735.95 246.264017,740.58 246.794017,745.45 L246.184017,746.23 C246.104017,750.11 245.994017,754.01 246.074017,757.91 L244.854017,757.7 C244.784017,761.29 245.484017,765.07 244.044017,768.49 C244.134017,768.87 244.324017,769.65 244.414017,770.04 L242.844017,770.46 C241.604017,777.49 242.304017,784.66 241.994017,791.76 C241.624017,792.15 240.864017,792.92 240.494017,793.3 C240.864017,793.68 241.614017,794.44 241.994017,794.82 C242.004017,795.71 242.034017,796.62 242.084017,797.55 C240.754017,798.23 239.104017,798.88 238.024017,799.7 C228.134017,797.41 217.394017,798.92 207.254017,797.49 C202.134017,795.93 196.764017,795.82 191.474017,795.93 C180.934017,796.3 170.984017,791.56 160.464017,791.88 C153.264017,791.47 146.714017,787.52 139.434017,787.81 C122.994017,783.79 106.714017,779.17 90.3840166,774.64 C86.3240166,773.28 86.3340166,768.08 83.1440166,765.64 C83.2140166,762.4 81.4640166,759.83 79.1440166,757.78 C79.1440166,754.53 77.5140166,751.84 75.1340166,749.77 C73.6840166,740.77 66.4740166,733.8 65.1040166,724.69 C64.4240166,720.42 61.9840166,716.8 60.2740166,712.92 C59.9540166,712.82 59.3240166,712.61 59.0140166,712.51 C59.1040166,708.84 57.7640166,705.45 56.1540166,702.25 C55.6840166,702.82 55.2340166,703.41 54.7940166,704.01 C55.9440166,699.18 53.3140166,695.11 51.3140166,691.01 C51.6440166,684.47 45.6940166,679.82 46.7640166,673.21 C45.4640166,671.81 44.1540166,670.44 42.8340166,669.1 C42.6940166,664.12 43.7540166,658.88 41.1140166,654.38 C41.8840166,647.08 35.7840166,641.77 36.3340166,634.54 C35.7840166,634.94 34.6840166,635.74 34.1340166,636.14 C34.1240166,635.5 34.1240166,634.22 34.1140166,633.58 L33.0940166,634.03 C32.8840166,632.25 32.2940166,630.6 31.0140166,629.34 C30.8540166,625.74 30.4840166,622.17 30.0140166,618.62 L29.1340166,618.85 C27.0540166,614.57 26.5140166,609.9 26.7140166,605.21 C26.4240166,604.02 26.1540166,602.84 25.9140166,601.67 L24.9740166,602.03 C22.6940166,595.93 22.9840166,589.51 22.0140166,583.18 C21.0440166,582.27 20.5840166,581.12 20.6240166,579.73 C19.9440166,579.8 19.2640166,579.89 18.6040166,579.99 C19.0840166,576.18 18.7440166,572.35 18.7740166,568.54 C18.7740166,566.75 18.7640166,564.98 18.7640166,563.23 C18.1640166,562.53 17.6040166,561.89 17.0240166,561.23 C13.4640166,553.24 16.5140166,544.27 13.0140166,536.27 C9.07401662,526.64 12.7140166,515.96 8.93401662,506.3 C5.84401662,499.68 7.15401662,492.31 6.94401662,485.29 C7.10401662,473.77 1.96401662,462.88 2.85401662,451.31 C3.35401662,440.28 2.38401662,429.3 2.04401662,418.3 C-0.955983376,398.14 0.324016624,377.64 0.0240166238,357.3 C-0.235983376,341.21 3.78401662,325.41 2.83401662,309.3 C1.96401662,299.01 8.06401662,289.62 6.92401662,279.3 C5.75401662,271.2 12.1240166,264.4 10.9240166,256.3 C9.69401662,249.73 16.0140166,244.88 14.9140166,238.3 C13.6340166,232.69 18.4840166,228.64 18.7740166,223.31 C19.0540166,215.96 23.4340166,209.63 23.8940166,202.28 C26.8040166,196.96 26.4640166,190.67 29.6440166,185.5 C31.6440166,182.04 29.9340166,177.55 32.5340166,174.33 C34.6640166,171.62 35.1740166,168.25 35.0340166,164.89 C37.5040166,162.62 39.1840166,159.71 39.0040166,156.26 C45.2140166,139.64 52.7540166,123.32 59.1740166,106.68 C60.0340166,105.68 60.9040166,104.69 61.7940166,103.7 C62.4340166,99.87 64.3240166,96.5 66.1440166,93.13 C81.7740166,61.15 100.004017,30.55 119.354017,0.77 M234.814017,234.72 C234.824017,235.23 234.844017,236.24 234.854017,236.74 C232.954017,236.68 231.074017,236.69 229.194017,236.77 C228.444017,237.52 227.544017,238 226.484017,238.19 C225.404017,238.58 224.284017,238.76 223.134017,238.73 C221.094017,241.52 215.914017,239.4 213.244017,242.03 C212.714017,242.27 211.664017,242.74 211.134017,242.98 C209.784017,244.02 208.004017,244.07 206.424017,244.44 C205.304017,244.46 204.414017,244.87 203.754017,245.68 C202.814017,246.1 201.874017,246.53 200.944017,246.96 C199.294017,248.25 197.214017,248.65 195.184017,248.81 C193.424017,251.15 190.764017,252.35 187.954017,252.87 L188.144017,253.77 C187.124017,254.1 186.114017,254.46 185.124017,254.84 C179.904017,258.24 174.234017,261.05 169.864017,265.74 C168.944017,266.09 168.034017,266.46 167.144017,266.84 C164.824017,269.24 162.184017,271.3 159.814017,273.64 C158.554017,273.85 157.924017,274.6 157.914017,275.9 C156.894017,276.17 155.884017,276.44 154.884017,276.73 C154.604017,277.77 154.334017,278.83 154.074017,279.9 C153.004017,280.16 151.944017,280.43 150.894017,280.71 C150.614017,281.72 150.344017,282.73 150.064017,283.75 C148.664017,283.71 147.964017,284.38 147.954017,285.76 C146.804017,285.9 146.074017,286.61 145.764017,287.87 C144.164017,289.54 142.554017,291.21 141.164017,293.02 C140.484017,293.73 139.774017,294.39 139.024017,295.02 C138.874017,295.56 138.554017,296.64 138.404017,297.18 C137.404017,298.45 136.244017,299.57 135.024017,300.62 C134.654017,301.73 134.294017,302.85 133.944017,303.99 C132.954017,304.85 131.974017,305.73 130.994017,306.6 C130.634017,307.75 130.284017,308.92 129.954017,310.09 C128.964017,311.06 127.974017,312.05 126.964017,312.99 C126.604017,314.59 126.264017,316.2 125.934017,317.82 C123.064017,319.57 122.294017,322.71 121.924017,325.84 C120.944017,326.81 119.984017,327.78 119.014017,328.76 C117.934017,331.35 119.564017,336.52 115.944017,336.97 C116.014017,337.64 116.134017,338.97 116.204017,339.64 C114.894017,339.9 114.364017,340.79 114.614017,342.31 C113.934017,343.74 114.844017,346.46 112.904017,346.96 C113.254017,351.17 109.484017,354.23 110.884017,358.7 C110.394017,358.68 109.434017,358.65 108.954017,358.63 C108.584017,362.1 108.934017,365.95 107.044017,369.05 C105.604017,387.65 105.274017,406.87 109.924017,424.86 C109.464017,429.59 112.564017,433.48 112.984017,438.07 C113.454017,438.03 114.394017,437.96 114.864017,437.93 C114.924017,439.55 114.414017,441.54 115.814017,442.79 C116.254017,443.8 116.704017,444.82 117.174017,445.85 C118.674017,447.9 118.104017,450.8 119.804017,452.79 C120.254017,453.8 120.704017,454.82 121.164017,455.85 C122.234017,457.32 122.594017,459.13 123.014017,460.89 L123.934017,460.61 C125.634017,464.2 126.454017,468.64 130.094017,470.93 C130.084017,471.59 130.054017,472.93 130.044017,473.59 C130.524017,473.9 131.464017,474.51 131.944017,474.81 C131.814017,476.35 132.534017,477.02 134.104017,476.82 C134.104017,477.48 134.114017,478.79 134.114017,479.44 C136.024017,480.02 135.834017,482.85 137.974017,482.92 C138.714017,486.02 141.474017,489.48 144.144017,490.89 C144.094017,491.39 143.994017,492.39 143.944017,492.89 C144.444017,492.82 145.444017,492.68 145.944017,492.61 C145.874017,494.58 147.004017,496 148.584017,497.06 C152.954017,501.02 156.394017,507.16 162.164017,508.83 C162.094017,509.33 161.954017,510.33 161.884017,510.83 C162.384017,510.78 163.384017,510.68 163.874017,510.63 C165.344017,513.28 168.784017,516.17 171.954017,516.8 C171.764017,518.19 172.374017,518.88 173.764017,518.89 C174.634017,520.65 176.334017,520.86 178.144017,520.77 C178.094017,521.26 177.994017,522.24 177.944017,522.73 C178.404017,522.72 179.314017,522.7 179.764017,522.69 C180.424017,524.51 182.064017,524.9 183.844017,524.76 C184.014017,525.85 184.664017,526.63 185.784017,527.11 C187.464017,528.03 189.344017,528.58 190.934017,529.7 C191.974017,530.14 193.054017,530.53 194.164017,530.86 L193.864017,531.79 C195.604017,532.2 197.494017,532.45 198.904017,533.68 C199.854017,534.07 200.834017,534.46 201.814017,534.85 C202.224017,535.88 203.114017,536.3 204.474017,536.1 C207.184017,536.57 209.484017,537.89 211.984017,538.97 C216.564017,540.57 221.384017,541.96 226.154017,542.75 L225.744017,543.94 C227.454017,543.93 229.174017,543.92 230.914017,543.94 C230.884017,544.41 230.824017,545.36 230.794017,545.84 C258.354017,550.77 287.524017,550.06 314.254017,541.83 C314.214017,541.35 314.134017,540.4 314.094017,539.93 C315.964017,540.5 316.944017,540.11 317.044017,538.74 C318.774017,538.76 320.494017,538.45 322.084017,537.7 C325.004017,535.87 329.174017,536.21 331.244017,532.84 C333.314017,532.65 335.444017,532.39 337.164017,531.09 C338.334017,530.62 338.984017,529.8 339.094017,528.63 C339.734017,528.67 341.004017,528.74 341.644017,528.77 C347.394017,524.79 353.754017,521.65 358.874017,516.86 C359.914017,516.47 360.974017,516.1 362.044017,515.76 C362.614017,515.02 363.224017,514.31 363.864017,513.63 C365.994017,511.12 369.684017,509.59 371.004017,506.73 C372.554017,506.96 373.224017,506.26 373.004017,504.64 C373.514017,504.69 374.534017,504.78 375.034017,504.82 C374.974017,504.27 374.854017,503.17 374.794017,502.61 C375.364017,502.68 376.494017,502.81 377.064017,502.88 C376.994017,502.31 376.854017,501.18 376.784017,500.62 C377.334017,500.68 378.454017,500.8 379.014017,500.87 C378.954017,500.36 378.854017,499.35 378.804017,498.85 C380.854017,498.58 382.324017,496.7 382.954017,494.87 C384.004017,494.61 384.734017,493.93 385.144017,492.83 C386.864017,490.91 388.684017,489.08 390.414017,487.17 C390.554017,486.6 390.814017,485.45 390.944017,484.88 C392.174017,484.82 392.894017,484.18 393.094017,482.98 C395.044017,482.44 394.904017,480.39 394.934017,478.77 C396.474017,479.09 397.144017,478.49 396.934017,476.98 C398.944017,476.57 398.944017,474.55 398.934017,472.92 C400.364017,472.84 401.054017,472.06 401.004017,470.58 L401.894017,470.75 C402.014017,467.73 404.734017,465.8 404.954017,462.93 C407.194017,463.01 406.734017,460.24 406.994017,458.79 C407.964017,457.8 408.934017,456.82 409.914017,455.85 C410.094017,454.63 410.304017,453.42 410.524017,452.22 C410.654017,451.14 411.094017,450.25 411.854017,449.55 C412.554017,447.36 414.364017,445.62 414.324017,443.2 C414.684017,439.73 416.094017,436.5 417.884017,433.55 C419.044017,430.47 417.544017,425.67 420.084017,423.62 C420.084017,422.49 420.104017,421.37 420.154017,420.27 C420.634017,417.9 422.114017,415.79 422.054017,413.32 C422.864017,396.37 423.994017,378.9 420.724017,362.26 C418.194017,357.8 419.604017,351.32 416.904017,347.65 C416.684017,346.06 416.234017,344.52 416.044017,342.95 C413.294017,341.85 415.604017,336.97 413.014017,335.64 C412.564017,333.29 410.464017,331.62 410.794017,329.11 C410.274017,327.96 409.754017,326.86 409.144017,325.8 C408.674017,324.79 408.214017,323.79 407.764017,322.8 C406.844017,321.11 406.324017,319.19 405.014017,317.77 C404.604017,316.72 404.234017,315.68 403.894017,314.64 L403.014017,314.9 C402.734017,312.06 401.404017,309.6 399.034017,308 C398.644017,306.86 398.274017,305.74 397.914017,304.63 C394.184017,301.59 393.104017,296.44 388.984017,293.74 C388.664017,292.78 388.344017,291.84 388.004017,290.91 C386.904017,290.63 386.154017,289.92 385.774017,288.77 C379.924017,282.72 374.084017,276.65 367.854017,270.99 C366.704017,270.68 366.034017,269.94 365.854017,268.78 C364.914017,268.42 363.984017,268.08 363.064017,267.74 C361.404017,265.99 359.494017,264.53 357.794017,262.85 C356.824017,262.45 355.874017,262.07 354.924017,261.71 C353.944017,260.76 352.984017,259.82 352.054017,258.87 C350.954017,258.49 349.864017,258.11 348.794017,257.75 C348.524017,257.29 347.984017,256.39 347.714017,255.93 C347.044017,255.92 345.694017,255.89 345.014017,255.87 C343.654017,252.65 339.654017,253 337.824017,250.73 C336.794017,250.4 335.764017,250.1 334.744017,249.82 L335.114017,248.69 C334.434017,248.71 333.084017,248.75 332.414017,248.77 C332.304017,248.32 332.074017,247.44 331.964017,246.99 C315.744017,239.06 297.974017,233.79 279.814017,233.96 C279.884017,233.63 280.044017,232.98 280.114017,232.66 C270.894017,232.88 261.664017,232.49 252.444017,232.8 C246.754017,234.39 240.704017,234.39 234.814017,234.72 Z">
</path>
<path
d="M259.044017,320.8 C260.624017,318.19 261.774017,314.14 265.394017,313.94 C287.114017,313.85 308.834017,314.07 330.554017,313.84 C332.884017,313.17 333.294017,315.67 332.764017,317.32 C328.904017,320.64 326.634017,325.26 323.164017,328.91 C319.004017,335.89 314.504017,342.75 309.264017,349.05 C307.734017,352.1 305.934017,355.23 303.044017,357.2 C302.964017,357.74 302.794017,358.84 302.714017,359.39 C301.484017,360.48 300.284017,361.58 299.114017,362.72 C297.474017,366.79 294.464017,370.38 291.084017,373.13 C290.774017,374.66 288.934017,376.96 290.574017,378.19 C301.554017,379.61 313.124017,380.23 324.534017,379.8 C327.184017,379.34 327.584017,382.23 325.884017,383.72 C316.694017,392.68 310.004017,403.73 301.284017,413.1 C298.834017,417.74 294.724017,421.27 291.294017,425.18 C289.534017,429.13 285.804017,431.61 283.264017,435 C280.694017,440.46 275.244017,443.84 271.804017,448.74 C267.814017,455.21 260.984017,459.37 257.394017,466.15 C250.814017,472.39 245.764017,479.93 239.574017,486.51 C237.724017,490.2 235.034017,493.86 230.994017,495.3 C230.904017,493.78 230.834017,492.29 230.784017,490.8 C231.804017,489.68 232.824017,488.56 233.854017,487.46 C234.594017,484.01 235.724017,480.58 237.914017,477.77 C238.464017,474.14 239.744017,470.68 241.894017,467.69 C242.584017,464.15 243.424017,460.47 245.904017,457.71 C246.284017,454.74 247.394017,451.98 248.384017,449.19 C248.764017,448.81 249.514017,448.04 249.894017,447.65 C250.134017,445.34 250.554017,443.06 251.044017,440.81 C252.004017,439.1 252.954017,437.39 253.944017,435.71 C253.884017,433.46 254.184017,431.18 255.884017,429.55 C255.944017,428.94 256.054017,427.72 256.104017,427.1 C256.584017,426.79 257.544017,426.17 258.034017,425.86 C258.024017,424.27 258.034017,422.67 258.054017,421.1 C258.544017,420.8 259.524017,420.19 260.014017,419.89 C260.024017,418.85 260.054017,417.83 260.104017,416.81 C254.064017,415.04 247.724017,416.39 241.574017,415.76 C236.864017,413.45 231.224017,415.92 226.504017,414.27 C225.254017,411.63 225.904017,407.79 227.824017,405.45 C227.924017,404.88 228.134017,403.75 228.234017,403.19 C228.654017,402.81 229.494017,402.05 229.904017,401.67 C230.274017,399.43 230.654017,397.19 231.034017,394.96 C234.674017,390.45 234.324017,384.23 237.874017,379.69 C238.614017,376.1 239.464017,372.38 241.824017,369.48 C242.314017,367.27 242.714017,365.06 243.044017,362.84 C246.664017,358.35 246.374017,352.21 249.874017,347.68 C250.594017,344.09 251.494017,340.42 253.794017,337.48 C253.984017,334.44 255.874017,331.93 256.184017,328.95 C256.614017,328.62 257.464017,327.95 257.894017,327.61 C258.194017,325.32 258.594017,323.05 259.044017,320.8 Z">
</path>
<path
d="M118.704017,818.14 C130.774017,824.14 143.034017,831.86 156.714017,832.69 C157.704017,832.66 158.704017,832.65 159.724017,832.66 C160.054017,833.84 160.944017,834.36 162.374017,834.23 C163.664017,834.42 164.974017,834.61 166.304017,834.83 L165.664017,835.82 C167.594017,835.91 169.524017,836.08 171.434017,836.46 C173.324017,836.58 175.234017,836.68 177.144017,836.75 L176.754017,838.02 C178.124017,837.92 179.494017,837.83 180.894017,837.77 L180.984017,838.83 C182.374017,838.74 183.774017,838.67 185.184017,838.61 L184.694017,839.88 C193.214017,839.73 201.484017,841.77 209.884017,842.69 C210.464017,842.7 211.634017,842.73 212.214017,842.74 L211.734017,843.92 C221.104017,844.01 230.454017,845.02 239.844017,844.73 C240.574017,845.4 241.304017,846.09 242.064017,846.79 C242.094017,847.54 242.134017,848.31 242.184017,849.1 C241.764017,857.32 242.084017,865.56 242.114017,873.8 C241.424017,874.54 240.744017,875.29 240.074017,876.07 C230.764017,875.69 221.744017,872.83 212.464017,871.98 C177.684017,864.59 142.244017,850.01 118.984017,821.64 C118.884017,820.45 118.784017,819.29 118.704017,818.14 Z">
</path>
<path
d="M406.944017,818.6 C408.134017,818.61 409.334017,818.64 410.554017,818.69 C402.244017,833.31 387.474017,842.42 373.874017,851.54 C372.124017,852.2 370.114017,852.63 369.374017,854.63 C367.464017,855.84 365.274017,856.44 363.124017,857.02 C361.864017,857.72 360.624017,858.43 359.404017,859.18 C356.134017,860.56 352.704017,861.65 349.744017,863.67 C347.504017,864.09 345.274017,864.5 343.044017,864.87 C341.284017,865.8 339.534017,866.73 337.824017,867.71 C334.954017,868.16 332.094017,868.59 329.224017,868.96 C323.234017,872.35 316.204017,871.92 309.824017,873.63 C306.994017,874.26 304.124017,874.64 301.264017,874.99 C293.924017,876.57 286.004017,877.35 278.534017,876.05 C279.144017,866.6 278.764017,857.13 278.824017,847.67 L279.664017,847.91 C280.704017,846.83 281.774017,845.8 282.854017,844.77 C294.294017,844.97 305.704017,844.3 317.114017,843.89 L316.834017,842.73 C326.404017,842.89 335.604017,839.78 345.204017,839.83 L344.754017,838.78 C346.704017,838.73 348.654017,838.57 350.564017,838.1 C351.224017,838.05 352.524017,837.95 353.174017,837.9 L352.784017,836.73 C358.414017,837 363.914017,835.72 369.154017,833.77 L368.764017,832.75 C376.244017,833.85 381.984017,828.17 389.204017,827.87 L388.734017,826.64 C389.484017,826.65 390.994017,826.69 391.744017,826.71 C391.984017,826.26 392.464017,825.35 392.694017,824.9 C396.134017,824.73 399.294017,823.4 401.264017,820.49 C401.464017,820.5 401.854017,820.53 402.044017,820.54 C402.954017,820.58 404.764017,820.65 405.674017,820.69 C405.984017,820.17 406.624017,819.12 406.944017,818.6 Z">
</path>
</g>
<g id="rokect-bg-dark" transform="translate(69.244698, 155.410000)" fill="#F4E8E1">
<path
d="M436.524017,39.51 C443.114017,49.73 447.034017,61.46 453.864017,71.57 C495.224017,150.8 521.934017,238.04 528.144017,327.3 C527.744017,332.39 528.154017,337.45 529.854017,342.28 C530.234017,359.27 530.054017,376.31 529.904017,393.31 C526.674017,408.14 529.464017,423.44 526.784017,438.3 C525.984017,446.69 525.914017,455.13 526.064017,463.56 C525.754017,463.66 525.124017,463.88 524.804017,463.99 C523.044017,480.44 522.214017,497.01 518.964017,513.28 C517.834017,532.83 511.944017,551.72 510.034017,571.18 C507.894017,576.05 506.054017,581.38 506.174017,586.78 C506.264017,596.59 501.214017,605.55 500.574017,615.4 C500.184017,615.75 499.404017,616.45 499.014017,616.8 C498.484017,620.13 498.054017,623.49 498.024017,626.89 L496.994017,626.73 C496.874017,628.97 496.554017,631.22 495.894017,633.39 C493.684017,637.74 494.064017,642.97 491.764017,647.36 C490.254017,649.85 490.144017,652.81 489.914017,655.64 C488.974017,657.43 488.054017,659.22 487.104017,661.01 C486.774017,665.2 484.624017,669.08 484.894017,673.34 C487.574017,676.31 489.264017,679.98 491.544017,683.25 C492.264017,683.85 492.994017,684.47 493.744017,685.09 C494.594017,687.33 496.114017,689.2 497.794017,690.91 C498.204017,693.46 499.474017,695.73 501.734017,697.11 C502.584017,699.3 504.074017,701.12 505.764017,702.75 C506.434017,705.23 507.444017,707.68 509.704017,709.14 C512.204017,713.12 514.904017,716.98 517.614017,720.85 C517.724017,721.02 517.954017,721.37 518.064017,721.54 C521.104017,729.73 520.674017,738.79 519.004017,747.27 C518.734017,775.62 518.874017,803.98 518.834017,832.34 C518.854017,835.87 518.454017,839.4 517.704017,842.86 C515.734017,841.13 514.234017,838.97 513.304017,836.54 C509.814017,827.86 504.544017,820 501.584017,811.11 C498.494017,807.81 498.554017,802.86 495.174017,799.79 C487.614017,781.06 477.434017,763.41 468.944017,745.06 C467.614017,740.14 465.174017,735.62 461.354017,732.2 C458.944017,734.02 458.234017,736.9 457.744017,739.74 C453.884017,744.12 453.124017,750.24 449.934017,755.09 C447.774017,760.97 443.104017,765.63 441.764017,771.79 C411.764017,784.38 379.654017,790.58 347.554017,794.94 C340.654017,796.83 333.384017,795.16 326.444017,796.9 C317.114017,799.25 307.214017,797.44 297.914017,799.56 C297.744017,799.44 297.394017,799.21 297.214017,799.1 C292.114017,800.7 286.644017,799.51 281.404017,799.85 C280.324017,798.99 279.254017,798.15 278.194017,797.32 C278.104017,789.23 278.264017,781.14 277.874017,773.07 C275.464017,767.53 277.254017,761.05 275.074017,755.52 C274.894017,751.02 274.544017,746.54 274.174017,742.07 C274.714017,741.67 275.794017,740.87 276.334017,740.47 C277.424017,750.37 281.704017,759.8 280.864017,769.97 C281.764017,769.91 282.674017,769.88 283.594017,769.86 C284.414017,768.29 284.754017,766.27 286.334017,765.28 C293.664017,760.69 300.994017,756.04 307.694017,750.57 C313.174017,747.83 316.054017,741.86 321.704017,739.38 C322.074017,738.51 322.454017,737.66 322.864017,736.83 C331.274017,733.43 334.204017,724.12 340.864017,718.7 C356.434017,698.88 372.674017,679.32 385.594017,657.51 C399.884017,637.49 410.914017,615.18 421.844017,593.04 C434.854017,567.12 443.864017,539.36 453.844017,512.32 C453.984017,504.52 458.144017,497.65 459.234017,490 C462.444017,483.82 461.594017,476.63 464.544017,470.39 C467.054017,464.97 465.284017,458.65 468.164017,453.32 C471.784017,446.41 468.444017,438.22 472.164017,431.32 C476.044017,424.04 472.284017,415.49 475.314017,408.04 C476.414017,405.25 475.814017,402.19 476.174017,399.29 C480.094017,389.49 476.944017,378.57 478.514017,368.37 C481.424017,361.38 479.514017,353.63 479.994017,346.3 C479.534017,342.41 482.464017,339.18 482.084017,335.31 C481.794017,321.64 482.354017,307.94 481.834017,294.3 C478.214017,285.39 481.034017,275.58 479.824017,266.3 C476.094017,255.71 479.574017,244.07 477.514017,233.21 C474.984017,229.08 476.984017,224.06 475.034017,219.79 C472.864017,213.82 475.224017,207.26 473.514017,201.22 C471.094017,196.19 472.834017,190.36 470.294017,185.32 C471.274017,175.3 465.344017,166.29 466.074017,156.32 C465.674017,152.53 463.964017,149.01 463.434017,145.23 C460.954017,139.81 463.284017,133.57 460.504017,128.24 C457.654017,122.58 458.674017,115.97 455.824017,110.33 C453.704017,105.86 454.604017,100.68 452.544017,96.22 C449.004017,89.46 451.414017,81.35 446.664017,75.07 C446.694017,62.35 436.844017,51.9 436.524017,39.51 Z">
</path>
<path
d="M34.1340166,636.14 C34.6840166,635.74 35.7840166,634.94 36.3340166,634.54 C35.7840166,641.77 41.8840166,647.08 41.1140166,654.38 C43.7540166,658.88 42.6940166,664.12 42.8340166,669.1 C44.1540166,670.44 45.4640166,671.81 46.7640166,673.21 C45.6940166,679.82 51.6440166,684.47 51.3140166,691.01 C53.3140166,695.11 55.9440166,699.18 54.7940166,704.01 C55.2340166,703.41 55.6840166,702.82 56.1540166,702.25 C57.7640166,705.45 59.1040166,708.84 59.0140166,712.51 C59.3240166,712.61 59.9540166,712.82 60.2740166,712.92 C61.9840166,716.8 64.4240166,720.42 65.1040166,724.69 C63.1340166,723.75 61.1240166,722.93 59.0340166,722.32 C58.9640166,723.07 58.8240166,724.58 58.7540166,725.34 C58.3740166,725.75 57.6140166,726.59 57.2340166,727.01 C49.4940166,746.91 38.3740166,765.61 29.8540166,785.15 C22.3640166,802.43 11.9440166,818.56 5.83401662,836.34 C5.12401662,836.55 3.70401662,836.96 2.99401662,837.16 C1.72401662,830.94 2.15401662,824.59 2.10401662,818.3 C2.07401662,793.29 2.21401662,768.27 1.94401662,743.27 C0.354016624,737.05 0.834016624,730.62 0.794016624,724.27 C1.51401662,718.96 6.32401662,715.17 6.86401662,709.78 C6.90401662,709.61 6.97401662,709.26 7.01401662,709.08 C7.82401662,708.48 8.62401662,707.88 9.40401662,707.26 C12.4840166,703.52 13.4940166,698.13 17.7840166,695.48 C18.8240166,693.27 19.9540166,691.12 21.1840166,689.02 C22.5440166,687.04 24.0540166,685.16 25.7340166,683.44 C26.5940166,681.14 28.1840166,679.29 30.0140166,677.71 C30.0640166,677.08 30.1540166,675.8 30.2040166,675.17 C31.3940166,674.08 32.5840166,672.98 33.7540166,671.88 C35.0640166,667.9 38.7240166,665.34 39.9440166,661.26 C39.9140166,660.59 39.9040166,659.95 39.9140166,659.33 C38.0240166,656.16 38.5540166,652.23 38.0140166,648.72 C37.5540166,648.38 36.6340166,647.72 36.1740166,647.39 C36.1540166,646.71 36.1040166,645.35 36.0740166,644.68 L34.9140166,644.85 C34.6940166,641.94 34.2840166,639.05 34.1340166,636.14 Z">
</path>
</g>
<!-- 这里是火箭前景 -->
<path fill="${ie}"
d="M334.348715,0.06 C335.298715,0.03 336.268715,0.01 337.248715,-1.42108547e-14 C337.628715,0.95 338.018715,1.9 338.428715,2.86 C353.978715,12.63 366.498715,26.25 380.578715,37.89 C413.128715,68.67 441.908715,103.13 468.558715,139 C476.638715,152.19 481.328708,168.54 476.168715,183.69 C475.068715,189.81 470.358715,194.47 469.418715,200.6 C469.318715,200.74 469.118715,201.02 469.018715,201.16 C460.708715,212.61 449.418715,222.4 436.688715,228.41 C432.318715,232.45 426.128715,235.11 420.298715,236.32 C419.968715,236.77 419.308715,237.67 418.978715,238.11 C418.438715,238.15 417.348715,238.23 416.808715,238.27 C415.238715,240.24 412.698715,240.08 410.448715,240.32 C406.388715,243.43 401.228715,244.34 396.218715,244.23 C395.888715,244.68 395.208715,245.6 394.878715,246.05 C393.498715,246.11 392.148715,246.18 390.808715,246.28 C387.208715,248.63 382.648715,247.87 378.588715,248.32 C375.848715,250.72 372.118715,250.08 368.778715,250.28 C366.318715,252.39 362.658715,251.01 359.708715,251.37 C345.708715,251.32 331.698715,251.6 317.688715,251.32 C299.148715,248.73 280.418715,246.33 262.748715,239.81 C257.338715,238.64 252.608715,234.83 246.878715,235.45 C246.678715,235.34 246.268715,235.13 246.068715,235.02 C242.298715,232.78 237.868715,231.58 234.698715,228.43 C233.228715,228.07 231.828708,227.59 230.608715,226.72 C216.708715,217.82 204.048715,206.69 196.148715,191.99 C195.718715,190.11 195.368715,188.21 195.098715,186.32 C194.638715,185.99 193.718715,185.33 193.258715,185 C193.268715,184.3 193.308715,182.92 193.328708,182.22 L192.178715,182.25 C191.148715,176.2 191.338715,170.06 191.348715,163.95 C194.428715,162.44 193.218715,158.27 194.618715,155.61 C198.108715,141.55 208.448715,131.01 216.708715,119.62 C250.848715,76.61 288.498715,35.39 333.098715,2.89 C333.498715,1.94 333.918715,1 334.348715,0.06 Z M358.738715,392.19 C362.155752,392.247037 365.398029,393.175185 368.631444,394.16308 L370.017134,394.587756 C372.558345,395.364362 375.108715,396.106296 377.748715,396.42 C386.068715,397.87 393.368715,403.31 401.658715,404.18 C402.328715,404.16 403.678715,404.12 404.358715,404.1 L403.988715,405.23 C405.008715,405.51 406.038715,405.81 407.068715,406.14 C408.898715,408.41 412.898715,408.06 414.258715,411.28 C414.938715,411.3 416.288715,411.33 416.958715,411.34 C417.228715,411.8 417.768715,412.7 418.038715,413.16 C419.108715,413.52 420.198715,413.9 421.298715,414.28 C422.228715,415.23 423.188715,416.17 424.168715,417.12 C425.118715,417.48 426.068715,417.86 427.038715,418.26 C428.738715,419.94 430.648715,421.4 432.308715,423.15 C433.228715,423.49 434.158715,423.83 435.098715,424.19 C435.278715,425.35 435.948715,426.09 437.098715,426.4 C443.328715,432.06 449.168715,438.13 455.018715,444.18 C455.398715,445.33 456.148715,446.04 457.248715,446.32 C457.588715,447.25 457.908715,448.19 458.228715,449.15 C462.348715,451.85 463.428715,457 467.158715,460.04 C467.518715,461.15 467.888715,462.27 468.278715,463.41 C470.648715,465.01 471.978715,467.47 472.258715,470.31 L473.138715,470.05 C473.478715,471.09 473.848715,472.13 474.258715,473.18 C475.568715,474.6 476.088715,476.52 477.008715,478.21 C477.458715,479.2 477.918715,480.2 478.388715,481.21 C478.998715,482.27 479.518715,483.37 480.038715,484.52 C479.708715,487.03 481.808715,488.7 482.258715,491.05 C484.848715,492.38 482.538715,497.26 485.288715,498.36 C485.478715,499.93 485.928715,501.47 486.148715,503.06 C488.848715,506.73 487.438715,513.21 489.968715,517.67 C493.238715,534.31 492.108715,551.78 491.298715,568.73 C491.358715,571.2 489.878715,573.31 489.398715,575.68 C489.348715,576.78 489.328715,577.9 489.328715,579.03 C486.788715,581.08 488.288715,585.88 487.128715,588.96 C485.338715,591.91 483.928715,595.14 483.568715,598.61 C483.608715,601.03 481.798715,602.77 481.098715,604.96 C480.338715,605.66 479.898715,606.55 479.768715,607.63 C479.548715,608.83 479.338715,610.04 479.158715,611.26 C478.178715,612.23 477.208715,613.21 476.238715,614.2 C475.978715,615.65 476.438715,618.42 474.198715,618.34 C473.978715,621.21 471.258715,623.14 471.138715,626.16 L470.248715,625.99 C470.298715,627.47 469.608715,628.25 468.178715,628.33 L468.179608,628.494226 L468.179608,628.494226 L468.179415,628.8287 C468.168615,630.3479 467.987715,632.021 466.178715,632.39 C466.388715,633.9 465.718715,634.5 464.178715,634.18 C464.148715,635.8 464.288715,637.85 462.338715,638.39 C462.138715,639.59 461.418715,640.23 460.188715,640.29 C460.058715,640.86 459.798715,642.01 459.658715,642.58 C457.928715,644.49 456.108715,646.32 454.388715,648.24 C453.978715,649.34 453.248715,650.02 452.198715,650.28 C451.568715,652.11 450.098715,653.99 448.048715,654.26 C448.098715,654.76 448.198715,655.77 448.258715,656.28 C447.698715,656.21 446.578715,656.09 446.028715,656.03 C446.054965,656.24 446.091059,656.530156 446.129613,656.840879 L446.207817,657.47209 C446.246371,657.78375 446.282465,658.07625 446.308715,658.29 C445.738715,658.22 444.608715,658.09 444.038715,658.02 C444.098715,658.58 444.218715,659.68 444.278715,660.23 C444.091215,660.215 443.83059,660.192969 443.551156,660.168652 L442.983305,660.118379 C442.702934,660.093125 442.439965,660.06875 442.248715,660.05 C442.468715,661.67 441.798715,662.37 440.248715,662.14 C438.928715,665 435.238715,666.53 433.108715,669.04 C432.468715,669.72 431.858715,670.43 431.288715,671.17 C430.218715,671.51 429.158715,671.88 428.118715,672.27 C422.998715,677.06 416.638715,680.2 410.888715,684.18 C410.248715,684.15 408.978715,684.08 408.338715,684.04 C408.228715,685.21 407.578715,686.03 406.408715,686.5 C404.688715,687.8 402.558715,688.06 400.488715,688.25 C398.418715,691.62 394.248715,691.28 391.328715,693.11 C389.738715,693.86 388.018715,694.17 386.288715,694.15 C386.188715,695.52 385.208715,695.91 383.338715,695.34 C378.108715,694.94 373.428715,697.69 368.408715,698.62 C351.878715,700.89 335.088715,702.99 318.378715,700.86 C313.231442,699.625 307.927537,699.46405 302.653806,699.385145 L300.989638,699.361798 C300.712517,699.357975 300.435533,699.354091 300.158715,699.35 C298.418715,699.33 296.698715,699.34 294.988715,699.35 L295.398715,698.16 C290.628715,697.37 285.808715,695.98 281.228715,694.38 C278.728715,693.3 276.428715,691.98 273.718715,691.51 C272.358715,691.71 271.468715,691.29 271.058715,690.26 C270.078715,689.87 269.098715,689.48 268.148715,689.09 C266.738715,687.86 264.848715,687.61 263.108715,687.2 L263.408715,686.27 C262.298715,685.94 261.218715,685.55 260.178715,685.11 C258.588715,683.99 256.708715,683.44 255.028715,682.52 C253.908715,682.04 253.258715,681.26 253.088715,680.17 C251.308715,680.31 249.668715,679.92 249.008715,678.1 C248.558715,678.11 247.648715,678.13 247.188715,678.14 C247.238715,677.65 247.338715,676.67 247.388715,676.18 C245.578715,676.27 243.878715,676.06 243.008715,674.3 C241.618715,674.29 241.008715,673.6 241.198715,672.21 C238.028715,671.58 234.588715,668.69 233.118715,666.04 C232.628715,666.09 231.628715,666.19 231.128715,666.24 C231.198715,665.74 231.338715,664.74 231.408715,664.24 C225.638715,662.57 222.198715,656.43 217.828715,652.47 C216.248715,651.41 215.118715,649.99 215.188715,648.02 C214.688715,648.09 213.688715,648.23 213.188715,648.3 C213.238715,647.8 213.338715,646.8 213.388715,646.3 C210.718715,644.89 207.958715,641.43 207.218715,638.33 C206.148715,638.295 205.661215,637.57 205.202465,636.78125 L205.006004,636.441137 C204.610144,635.760408 204.177286,635.098571 203.358715,634.85 C203.358715,634.2 203.348715,632.89 203.348715,632.23 C201.778715,632.43 201.058715,631.76 201.188715,630.22 C200.708715,629.92 199.768715,629.31 199.288715,629 C199.298715,628.34 199.328715,627 199.338715,626.34 C196.801745,624.743939 195.634638,622.10348 194.584703,619.434317 L194.312642,618.73803 C193.95124,617.81056 193.590836,616.890303 193.178715,616.02 L192.258715,616.3 L192.09209,615.594258 C191.730093,614.063378 191.336048,612.534 190.408715,611.26 C189.948715,610.23 189.498715,609.21 189.048715,608.2 C187.348715,606.21 187.918715,603.31 186.418715,601.26 C185.948715,600.23 185.498715,599.21 185.058715,598.2 C183.658715,596.95 184.168715,594.96 184.108715,593.34 C184.528715,585.87 179.758715,579.24 180.088715,571.74 C180.658715,559.01 175.868715,546.26 179.418715,533.68 C180.156897,529.581818 180.214748,525.410744 180.17725,521.24151 L180.157047,519.455026 C180.134417,517.669091 180.109624,515.885455 180.128715,514.11 C179.408715,511.811143 180.056127,509.885216 180.807295,507.984001 L181.185675,507.03384 C181.769515,505.554 182.288715,504.054 182.148715,502.37 C184.088715,501.87 183.178715,499.15 183.858715,497.72 C183.608715,496.2 184.138715,495.31 185.448715,495.05 C185.378715,494.38 185.258715,493.05 185.188715,492.38 C187.360715,492.11 187.642715,490.1408 187.754075,488.0492 L187.784083,487.419625 C187.837591,486.229448 187.891515,485.0506 188.258715,484.17 C189.228715,483.19 190.188715,482.22 191.168715,481.25 C191.538715,478.12 192.308715,474.98 195.178715,473.23 C195.508715,471.61 195.848715,470 196.208715,468.4 C197.218715,467.46 198.208715,466.47 199.198715,465.5 C199.528715,464.33 199.878715,463.16 200.238715,462.01 C201.218715,461.14 202.198715,460.26 203.188715,459.4 C203.538715,458.26 203.898715,457.14 204.268715,456.03 C205.488715,454.98 206.648715,453.86 207.648715,452.59 C207.798715,452.05 208.118715,450.97 208.268715,450.43 C209.018715,449.8 209.728715,449.14 210.408715,448.43 C211.798715,446.62 213.408715,444.95 215.008715,443.28 C215.318715,442.02 216.048715,441.31 217.198715,441.17 C217.208715,439.79 217.908715,439.12 219.308715,439.16 C219.588715,438.14 219.858715,437.13 220.138715,436.12 C221.188715,435.84 222.248715,435.57 223.318715,435.31 C223.578715,434.24 223.848715,433.18 224.128715,432.14 C225.128715,431.85 226.138715,431.58 227.158715,431.31 C227.168715,430.01 227.798715,429.26 229.058715,429.05 C231.428715,426.71 234.068715,424.65 236.388715,422.25 C237.278715,421.87 238.188715,421.5 239.108715,421.15 C243.478715,416.46 249.148715,413.65 254.368715,410.25 C255.358715,409.87 256.368715,409.51 257.388715,409.18 L257.198715,408.28 C260.008715,407.76 262.668715,406.56 264.428715,404.22 C266.458715,404.06 268.538715,403.66 270.188715,402.37 C271.118715,401.94 272.058715,401.51 272.998715,401.09 C273.658715,400.28 274.548715,399.87 275.668715,399.85 C277.248715,399.48 279.028715,399.43 280.378715,398.39 C280.908715,398.15 281.958715,397.68 282.488715,397.44 C285.158715,394.81 290.338715,396.93 292.378715,394.14 C293.528715,394.17 294.648715,393.99 295.728715,393.6 C296.788715,393.41 297.688715,392.93 298.438715,392.18 C300.318715,392.1 302.198715,392.09 304.098715,392.15 C322.308715,392.19 340.528715,391.91 358.738715,392.19 Z M399.798715,469.25 C378.078715,469.48 356.358715,469.26 334.638715,469.35 C331.018715,469.55 329.868715,473.6 328.288715,476.21 C327.838715,478.46 327.438715,480.73 327.138715,483.02 L326.959418,483.16166 L326.959418,483.16166 L326.522074,483.506387 C326.130277,483.814687 325.697465,484.15375 325.428715,484.36 C325.118715,487.34 323.228715,489.85 323.038715,492.89 C320.738715,495.83 319.838715,499.5 319.118715,503.09 C315.618715,507.62 315.908715,513.76 312.288715,518.25 C311.958715,520.47 311.558715,522.68 311.068715,524.89 C308.708715,527.79 307.858715,531.51 307.118715,535.1 C305.527336,537.135172 304.719666,539.507943 303.984963,541.912935 L303.648462,543.024107 C302.863305,545.616992 302.035956,548.192759 300.278715,550.37 C299.898715,552.6 299.518715,554.84 299.148715,557.08 C298.738715,557.46 297.898715,558.22 297.478715,558.6 C297.378715,559.16 297.168715,560.29 297.068715,560.86 C295.148715,563.2 294.498715,567.04 295.748715,569.68 C297.813715,570.401875 300.054809,570.335156 302.317077,570.225132 L303.287465,570.1775 C305.876215,570.055 308.463715,570.015 310.818715,571.17 C316.968715,571.8 323.308715,570.45 329.348715,572.22 C329.298715,573.24 329.268715,574.26 329.258715,575.3 C328.768715,575.6 327.788715,576.21 327.298715,576.51 C327.278715,578.08 327.268715,579.68 327.278715,581.27 C326.788715,581.58 325.828715,582.2 325.348715,582.51 C325.298715,583.13 325.188715,584.35 325.128715,584.96 C323.428715,586.59 323.128715,588.87 323.188715,591.12 C322.198715,592.8 321.248715,594.51 320.288715,596.22 C319.798715,598.47 319.378715,600.75 319.138715,603.06 C318.758715,603.45 318.008715,604.22 317.628715,604.6 C316.638715,607.39 315.528715,610.15 315.148715,613.12 C312.668715,615.88 311.828715,619.56 311.138715,623.1 C308.988715,626.09 307.708715,629.55 307.158715,633.18 C304.968715,635.99 303.838715,639.42 303.098715,642.87 C302.068715,643.97 301.048715,645.09 300.028715,646.21 C300.078715,647.7 300.148715,649.19 300.238715,650.71 C304.278715,649.27 306.968715,645.61 308.818715,641.92 C315.008715,635.34 320.058715,627.8 326.638715,621.56 C330.228715,614.78 337.058715,610.62 341.048715,604.15 C344.488715,599.25 349.938715,595.87 352.508715,590.41 C355.048715,587.02 358.778715,584.54 360.538715,580.59 C361.253298,579.775417 361.997396,578.977326 362.749848,578.182256 L364.108715,576.751481 C366.524271,574.203333 368.895382,571.603333 370.528715,568.51 C379.248715,559.14 385.938715,548.09 395.128715,539.13 C396.828715,537.64 396.428715,534.75 393.778715,535.21 C382.368715,535.64 370.798715,535.02 359.818715,533.6 C358.178715,532.37 360.018715,530.07 360.328715,528.54 C363.708715,525.79 366.718715,522.2 368.358715,518.13 C369.528715,516.99 370.728715,515.89 371.958715,514.8 C372.038715,514.25 372.208715,513.15 372.288715,512.61 C375.178715,510.64 376.978715,507.51 378.508715,504.46 C383.748715,498.16 388.248715,491.3 392.408715,484.32 C395.878715,480.67 398.148715,476.05 402.008715,472.73 C402.538715,471.08 402.128715,468.58 399.798715,469.25 Z M327.138715,853.17 C327.505692,853.192326 327.889413,853.194986 328.280967,853.191838 L328.674802,853.187266 C330.983555,853.155289 333.457785,853.082791 334.328715,855.72 C334.228715,856.14 334.038715,857 333.938715,857.42 L335.448715,857 C335.798715,859.07 336.088715,861.17 336.308715,863.29 C336.698715,863.58 337.478715,864.15 337.868715,864.44 C339.328715,869.27 340.408715,874.25 340.148715,879.34 L341.198715,879.08 C341.398715,882.53 342.188715,885.84 342.208715,889.34 L343.328715,889.09 C343.318715,891.87 343.318715,894.67 343.418715,897.48 C343.788715,901.95 344.138715,906.43 344.318715,910.93 C345.295956,913.408966 345.475421,916.078835 345.593076,918.769353 L345.64567,920.011978 C345.770653,922.911962 345.955267,925.805517 347.118715,928.48 C347.508715,936.55 347.348715,944.64 347.438715,952.73 C347.538715,954.25 347.678715,955.79 347.858715,957.34 C350.758715,957.38 353.658715,957.46 356.568715,957.53 C355.257904,959.469189 353.11163,959.678101 350.95351,959.757701 L350.435755,959.775142 C349.573857,959.802805 348.720607,959.83027 347.928715,959.96 C347.860652,967.694427 347.834703,975.428854 347.831917,983.160912 C347.837019,975.761947 347.863586,968.360974 347.928715,960.96 C348.720607,960.83027 349.573857,960.802805 350.435755,960.775142 L350.95351,960.757701 C353.11163,960.678101 355.257904,960.469189 356.568715,958.53 C361.418715,958.3 366.268715,958.33 371.118715,958.23 C371.234965,958.11 371.394809,957.943594 371.565024,957.765059 L371.909438,957.401973 C372.078715,957.2225 372.236215,957.05375 372.348715,956.93 C372.548715,957.29 372.928715,958.01 373.128715,958.37 C373.528715,957.94 373.948715,957.53 374.388715,957.14 C389.968715,957.85 405.388715,955.77 420.698715,953.17 C430.938715,953.6 440.578715,949.3 450.738715,948.83 C452.256362,948.474412 453.775333,948.122872 455.294885,947.772846 L458.334545,947.07406 L458.334545,947.07406 L461.374437,946.374805 C475.052495,943.220337 488.697539,939.914706 501.768715,934.61 C502.598239,934.189048 503.435427,934.431066 504.27079,934.738231 L504.656179,934.882449 C505.041368,935.026939 505.425858,935.165714 505.808715,935.24 C500.468715,943.14 496.098715,951.62 490.598715,959.41 C488.605382,963.636275 484.985074,966.287555 481.221771,968.801445 L480.351453,969.379789 C480.206202,969.475991 480.060909,969.572154 479.915657,969.668358 L479.045323,970.246747 C476.150384,972.180757 473.339695,974.197059 471.288715,976.95 C471.098715,976.94 470.708715,976.91 470.508715,976.9 C470.223672,976.922717 469.939594,976.950009 469.656434,976.981651 C467.689106,979.144767 464.918991,980.162719 461.938715,980.31 C461.708715,980.76 461.228715,981.67 460.988715,982.12 C460.238715,982.1 458.728715,982.06 457.978715,982.05 L458.448715,983.28 C451.228715,983.58 445.488715,989.26 438.008715,988.16 L438.398715,989.18 C433.158715,991.13 427.658715,992.41 422.028715,992.14 L422.418715,993.31 C421.768715,993.36 420.468715,993.46 419.808715,993.51 C417.898715,993.98 415.948715,994.14 413.998715,994.19 L414.448715,995.24 C404.848715,995.19 395.648715,998.3 386.078715,998.14 L386.358715,999.3 C374.948715,999.71 363.538715,1000.38 352.098715,1000.18 C351.018715,1001.21 349.948715,1002.24 348.908715,1003.32 L348.068715,1003.08 C348.008715,1012.54 348.388715,1022.01 347.778715,1031.46 L347.777,1031.469 L347.778715,1031.46 C355.248715,1032.76 363.168715,1031.98 370.508715,1030.4 C373.368715,1030.05 376.238715,1029.67 379.068715,1029.04 C385.448715,1027.33 392.478715,1027.76 398.468715,1024.37 C401.338715,1024 404.198715,1023.57 407.068715,1023.12 C408.778715,1022.14 410.528715,1021.21 412.288715,1020.28 C414.518715,1019.91 416.748715,1019.5 418.988715,1019.08 C421.948715,1017.06 425.378715,1015.97 428.648715,1014.59 C429.868715,1013.84 431.108715,1013.13 432.368715,1012.43 C434.518715,1011.85 436.708715,1011.25 438.618715,1010.04 C441.542388,1011.00571 443.688986,1009.84292 445.792029,1008.51463 L446.276907,1008.20606 L446.762243,1007.89698 C448.301976,1006.92306 449.878715,1006.02204 451.778715,1005.96 C430.938715,1028.23 413.748715,1053.92 399.428715,1080.72 C385.918715,1109.56 373.868715,1140.35 375.258715,1172.7 C375.538715,1190.37 375.128715,1208.05 375.438715,1225.72 C377.158715,1232.31 378.398715,1239 379.498715,1245.72 C382.878715,1260.05 388.498715,1273.65 394.198715,1287.23 C395.974271,1290.03889 397.660937,1292.91593 399.327522,1295.8103 L400.325613,1297.5486 C405.807915,1307.11622 411.221382,1316.762 419.038715,1324.66 C421.415736,1331.96894 426.897782,1337.80707 432.377186,1343.32128 L433.24188,1344.18942 C434.249607,1345.1995 435.251694,1346.20064 436.228715,1347.2 C440.188715,1351.24 446.018715,1355.47 445.208715,1361.86 C440.598715,1357.36 434.828715,1353.79 428.168715,1355.24 C427.888715,1356.11 427.628715,1357.02 427.388715,1357.95 C423.758715,1359.054 420.049515,1358.9448 416.338875,1358.7888 L415.102048,1358.73667 C413.040937,1358.65222 410.982048,1358.59333 408.938715,1358.76 C408.688715,1358.61 408.188715,1358.31 407.928715,1358.15 C407.902465,1358.3225 407.864965,1358.55969 407.824652,1358.81252 L407.742777,1359.32451 C407.702465,1359.57641 407.664965,1359.81125 407.638715,1359.98 C400.478715,1358.41 393.038715,1360.08 385.848715,1358.47 C385.118715,1358.78 384.408715,1359.12 383.708715,1359.48 C383.118715,1359 382.558715,1358.54 381.998715,1358.1 C381.888715,1358.66 381.648715,1359.77 381.528715,1360.33 C380.838715,1359.9 380.188715,1359.49 379.528715,1359.09 L379.178715,1360.11 C373.428715,1358.55 367.428715,1359.32 361.798715,1361.04 C361.688715,1360.51 361.468715,1359.44 361.358715,1358.9 C360.938715,1359.68 360.538715,1360.48 360.148715,1361.3 C359.598715,1361.44 358.518715,1361.71 357.968715,1361.84 C358.448715,1361.04 358.938715,1360.27 359.438715,1359.51 C358.218715,1360.06 357.028715,1360.64 355.838715,1361.23 C355.748715,1360.68 355.568715,1359.58 355.478715,1359.03 C354.498715,1360.55 353.358715,1361.98 351.718715,1362.83 C352.218715,1361.71 352.768715,1360.64 353.318715,1359.57 C352.838715,1359.73 351.858715,1360.03 351.368715,1360.18 C350.918715,1360.94 350.488715,1361.73 350.068715,1362.54 C349.758715,1361.27 349.468715,1360.04 349.188715,1358.82 C348.878715,1360.01 348.588715,1361.22 348.308715,1362.45 C347.538715,1362.18 346.778715,1361.93 346.038715,1361.71 C346.488715,1360.96 346.948715,1360.22 347.418715,1359.5 C346.228715,1360.05 345.048715,1360.63 343.878715,1361.22 C343.778715,1360.67 343.568715,1359.58 343.468715,1359.04 C342.508715,1360.56 341.398715,1362.02 339.708715,1362.79 C340.218715,1361.69 340.768715,1360.62 341.338715,1359.58 C340.838715,1359.73 339.838715,1360.03 339.338715,1360.18 C338.868715,1360.97 338.418715,1361.77 337.988715,1362.6 C337.748715,1361.29 337.518715,1360 337.298715,1358.73 C336.958715,1359.95 336.608715,1361.17 336.288715,1362.44 C335.528715,1362.18 334.788715,1361.94 334.048715,1361.72 C334.498715,1360.96 334.948715,1360.22 335.408715,1359.49 C334.218715,1360.04 333.058715,1360.63 331.888715,1361.22 C331.758715,1360.64 331.488715,1359.5 331.358715,1358.93 C330.818715,1359.88 330.278715,1360.85 329.768715,1361.86 C329.248715,1362.03 328.198715,1362.37 327.668715,1362.54 C328.228715,1361.53 328.798715,1360.55 329.388715,1359.58 C328.878715,1359.73 327.878715,1360.03 327.368715,1360.18 C326.918715,1360.94 326.478715,1361.73 326.048715,1362.54 C325.768715,1361.28 325.508715,1360.04 325.248715,1358.82 C324.908715,1360.01 324.578715,1361.2 324.268715,1362.45 C323.518715,1362.17 322.778715,1361.92 322.058715,1361.7 C322.498715,1360.95 322.938715,1360.21 323.398715,1359.5 C322.218715,1360.05 321.058715,1360.63 319.898715,1361.21 C319.758715,1360.64 319.488715,1359.5 319.348715,1358.93 C318.808715,1359.88 318.278715,1360.86 317.778715,1361.87 C317.579965,1361.93 317.306684,1362.01531 317.01477,1362.10748 L316.42266,1362.29549 C316.130746,1362.38859 315.857465,1362.47625 315.658715,1362.54 C316.218715,1361.53 316.798715,1360.55 317.388715,1359.59 C317.197465,1359.64625 316.934496,1359.72219 316.653598,1359.80252 L316.083832,1359.96451 C315.802934,1360.04391 315.539965,1360.1175 315.348715,1360.17 C314.908715,1360.94 314.478715,1361.74 314.058715,1362.56 C313.748715,1361.27 313.478715,1360.04 313.198715,1358.8 C312.888715,1360 312.598715,1361.21 312.318715,1362.44 C311.538715,1362.18 310.778715,1361.93 310.038715,1361.72 C310.488715,1360.96 310.948715,1360.21 311.428715,1359.49 C310.238715,1360.04 309.068715,1360.62 307.908715,1361.21 C307.658715,1360.42 307.418715,1359.66 307.208715,1358.92 C306.728715,1359.89 306.258715,1360.88 305.808715,1361.9 C305.278715,1362.05 304.198715,1362.36 303.658715,1362.52 C304.228715,1361.52 304.798715,1360.54 305.388715,1359.58 C304.878715,1359.73 303.858715,1360.02 303.348715,1360.17 C302.898715,1360.95 302.458715,1361.75 302.028715,1362.57 C301.758715,1361.29 301.508715,1360.02 301.268715,1358.78 C300.928715,1359.99 300.588715,1361.19 300.278715,1362.45 C299.518715,1362.18 298.778715,1361.93 298.048715,1361.71 C298.498715,1360.95 298.948715,1360.21 299.418715,1359.49 C298.228715,1360.04 297.068715,1360.62 295.898715,1361.22 C295.658715,1360.43 295.418715,1359.67 295.208715,1358.93 C294.728715,1359.9 294.258715,1360.88 293.798715,1361.88 C293.268715,1362.04 292.198715,1362.36 291.668715,1362.52 C292.228715,1361.52 292.798715,1360.54 293.378715,1359.58 C292.878715,1359.73 291.858715,1360.02 291.348715,1360.17 C290.898715,1360.95 290.458715,1361.76 290.028715,1362.58 C289.768715,1361.3 289.518715,1360.03 289.278715,1358.78 C288.938715,1359.99 288.588715,1361.19 288.278715,1362.45 C287.518715,1362.18 286.778715,1361.93 286.048715,1361.71 C286.498715,1360.95 286.948715,1360.21 287.418715,1359.49 C286.228715,1360.04 285.058715,1360.63 283.888715,1361.23 C283.758715,1360.65 283.478715,1359.5 283.348715,1358.93 C282.808715,1359.89 282.288715,1360.86 281.778715,1361.88 C281.248715,1362.04 280.188715,1362.37 279.658715,1362.53 C280.228715,1361.53 280.798715,1360.55 281.388715,1359.6 C281.197465,1359.6525 280.93309,1359.72469 280.650434,1359.80232 L280.076996,1359.96064 C279.79434,1360.03922 279.529965,1360.11375 279.338715,1360.17 C278.888715,1360.95 278.458715,1361.77 278.028715,1362.6 C277.855382,1361.74667 277.686493,1360.89778 277.522048,1360.05926 L277.278,1358.811 L277.018246,1359.705 C276.759965,1360.60312 276.508715,1361.5125 276.268715,1362.45 C275.518715,1362.18 274.778715,1361.93 274.048715,1361.7 C274.488715,1360.95 274.948715,1360.21 275.408715,1359.5 C274.228715,1360.05 273.068715,1360.63 271.918715,1361.21 C271.668715,1360.41 271.428715,1359.64 271.208715,1358.89 C270.728715,1359.87 270.258715,1360.86 269.798715,1361.88 C269.258715,1362.04 268.198715,1362.37 267.668715,1362.53 C268.228715,1361.53 268.798715,1360.55 269.378715,1359.59 C269.187465,1359.64625 268.925902,1359.72219 268.646762,1359.80252 L268.080668,1359.96451 C267.801527,1360.04391 267.539965,1360.1175 267.348715,1360.17 C266.898715,1360.95 266.468715,1361.74 266.058715,1362.57 C265.748715,1361.28 265.468715,1360.05 265.188715,1358.82 C264.878715,1360.01 264.588715,1361.22 264.308715,1362.45 C263.548715,1362.18 262.798715,1361.93 262.058715,1361.71 C262.498715,1360.95 262.948715,1360.22 263.398715,1359.5 C262.208715,1360.05 261.028715,1360.64 259.858715,1361.23 C259.758715,1360.68 259.568715,1359.58 259.468715,1359.03 C258.508715,1360.55 257.378715,1361.99 255.718715,1362.81 C256.228715,1361.7 256.768715,1360.63 257.328715,1359.57 C256.838715,1359.72 255.848715,1360.03 255.348715,1360.18 C254.888715,1360.96 254.438715,1361.76 254.008715,1362.59 C253.748715,1361.3 253.508715,1360.03 253.268715,1358.79 C252.928715,1359.99 252.598715,1361.19 252.278715,1362.44 C251.528715,1362.18 250.778715,1361.94 250.048715,1361.73 C250.488715,1360.96 250.948715,1360.22 251.418715,1359.49 C250.218715,1360.05 249.048715,1360.63 247.878715,1361.23 C247.738715,1360.65 247.478715,1359.5 247.348715,1358.92 C246.808715,1359.88 246.288715,1360.86 245.778715,1361.88 C245.248715,1362.04 244.188715,1362.36 243.658715,1362.52 C244.218715,1361.52 244.798715,1360.54 245.388715,1359.58 C244.888715,1359.73 243.888715,1360.03 243.388715,1360.18 C242.868715,1360.99 242.348715,1361.81 241.848715,1362.66 C241.948715,1360.84 242.068715,1359.05 242.188715,1357.26 C237.548715,1357.18 232.908715,1357.17 228.268715,1357.26 C228.348715,1359.08 228.408715,1360.89 228.488715,1362.74 C227.318715,1359.98 223.698715,1356.35 226.718715,1353.71 C235.288715,1345.88 240.628715,1335.18 244.708715,1324.47 C250.499934,1316.13829 254.336984,1306.80851 258.057663,1297.433 L258.853841,1295.42361 C260.312689,1291.73972 261.773837,1288.05927 263.348715,1284.44 L263.841852,1283.09014 L264.829046,1280.39078 C269.76293,1266.89364 274.61417,1253.37545 277.068715,1239.13 C279.528715,1233.55 280.748715,1227.55 280.138715,1221.45 C280.558715,1221.37 281.388715,1221.21 281.808715,1221.13 C281.978715,1219.07 282.028715,1216.99 282.608715,1215.02 C285.948715,1207.26 282.228715,1198.42 285.938715,1190.73 C285.888715,1178.4 287.608715,1165.67 284.168715,1153.72 C284.911215,1147.20318 283.37559,1141.00267 281.830894,1134.78803 L281.488401,1133.40663 C280.636406,1129.95189 279.833488,1126.48523 279.468715,1122.95 C271.748715,1097.74 262.118715,1072.92 247.618715,1050.88 C239.478715,1034.31 226.578715,1020.8 215.708715,1006.08 C216.388715,1006.09 217.758715,1006.12 218.438715,1006.13 C231.349901,1015.37678 246.419031,1020.43533 261.489706,1025.11133 L263.455278,1025.71938 C267.058192,1026.83132 270.655834,1027.93085 274.218715,1029.07 C278.252758,1029.45936 282.247076,1030.22763 286.236779,1031.04257 L289.428222,1031.69819 L290.918012,1032.00032 C297.872026,1033.39522 304.853708,1034.5374 312.048715,1033.67 L312.049,1033.683 L312.048715,1033.67 C314.808715,1027.37 312.718715,1020.34 313.328715,1013.71 C313.241738,1012.91953 313.282371,1012.06297 313.337949,1011.19222 L313.369069,1010.71616 C313.525308,1008.33196 313.640343,1005.91233 311.428715,1004.51 C311.378715,1003.72 311.338715,1002.95 311.308715,1002.2 C310.548715,1001.5 309.818715,1000.81 309.088715,1000.14 C299.698715,1000.43 290.348715,999.42 280.978715,999.33 L281.458715,998.15 C280.878715,998.14 279.708715,998.11 279.128715,998.1 C280.298715,993.33 285.858715,995.98 288.998715,996.94 C296.488715,998.26 304.218715,997.56 311.798715,997.53 L311.754,995.529 L310.850462,995.537045 C303.574965,995.614826 296.176632,996.205 288.998715,994.94 C285.858715,993.98 280.298715,991.33 279.128715,996.1 C270.728715,995.18 262.458715,993.14 253.938715,993.29 L254.428715,992.02 C253.018715,992.08 251.618715,992.15 250.228715,992.24 L250.138715,991.18 C248.738715,991.24 247.368715,991.33 245.998715,991.43 L246.388715,990.16 C244.478715,990.09 242.568715,989.99 240.678715,989.87 C238.768715,989.49 236.838715,989.32 234.908715,989.23 L235.548715,988.24 C234.218715,988.02 232.908715,987.83 231.618715,987.64 C230.188715,987.77 229.298715,987.25 228.968715,986.07 C227.948715,986.06 226.948715,986.07 225.958715,986.1 C221.748715,981.4 214.088715,982.05 208.858715,978.58 C198.528715,975.57 189.998715,968.9 181.308715,962.87 C181.298715,962.22 181.288715,960.91 181.288715,960.26 C179.608715,959.89 177.948715,959.53 176.288715,959.18 C171.968715,949.74 166.078715,941.17 161.598715,931.81 C168.234271,933.134444 174.719703,935.021852 181.196356,936.930549 L184.434605,937.884163 C191.452062,939.943306 198.486863,941.921481 205.718715,943.13 C215.818715,946.34 226.528715,946.41 236.688715,949.43 C238.497946,949.634615 240.315461,949.812249 242.136453,949.982126 L243.958426,950.150129 C244.262222,950.177937 244.56607,950.205706 244.869948,950.233528 L246.693397,950.401786 C255.202831,951.196529 263.700766,952.171282 271.698715,955.28 C279.837845,953.362609 288.057789,954.005709 296.286424,954.71002 L298.755203,954.92065 C302.321385,955.220326 305.887845,955.484565 309.448715,955.51 C309.745211,956.047049 310.080044,956.582534 310.403755,957.127177 C311.096731,956.795732 311.742078,956.368925 312.37934,955.927969 L312.991886,955.501545 C313.093993,955.430625 313.196215,955.36 313.298715,955.29 C313.758715,948.76 313.838715,942.21 314.358715,935.69 C314.436715,934.8138 314.664787,933.863916 314.897753,932.895537 L315.005095,932.44748 C315.627115,929.8285 316.122715,927.137 313.658715,925.45 C313.568715,925.06 313.378715,924.28 313.288715,923.9 C314.325515,921.4376 314.252939,918.788576 314.157139,916.158214 L314.125835,915.2824 C314.101515,914.5536 314.084715,913.828 314.098715,913.11 L315.318715,913.32 C315.238715,909.42 315.348715,905.52 315.428715,901.64 L316.038715,900.86 C315.508715,895.99 316.928715,891.36 317.558715,886.61 C317.838715,885.19 318.108715,883.79 318.428715,882.41 C320.088715,876.93 319.278715,870.82 322.188715,865.63 C322.088715,865.24 321.898715,864.46 321.798715,864.07 L323.208715,864.29 C323.338715,862.72 323.448715,861.15 323.608715,859.61 C323.843715,859.1625 324.059965,858.6825 324.286996,858.205312 L324.484924,857.797807 C325.124417,856.51477 325.905501,855.326786 327.418715,854.94 C327.348715,854.5 327.208715,853.61 327.138715,853.17 Z M311.809711,962.537783 L311.838715,961.7 C311.621486,967.264034 311.545627,972.830505 311.555784,978.39821 C311.565821,973.497487 311.647497,968.597799 311.838715,963.7 C311.875847,963.299991 311.862557,962.913371 311.809711,962.537783 Z M87.848715,735.4 C88.508715,735.3 89.188715,735.21 89.868715,735.14 C89.828715,736.53 90.288715,737.68 91.258715,738.59 C91.5461224,740.465556 91.7229125,742.349012 91.8887124,744.229705 L92.0125584,745.63954 C92.3664379,749.63166 92.7831594,753.599259 94.218715,757.44 L95.158715,757.08 C95.398715,758.25 95.668715,759.43 95.958715,760.62 C95.758715,765.31 96.298715,769.98 98.378715,774.26 L99.258715,774.03 C99.728715,777.58 100.098715,781.15 100.258715,784.75 C101.538715,786.01 102.128715,787.66 102.338715,789.44 L103.358715,788.99 C103.368715,789.63 103.368715,790.91 103.378715,791.55 C103.528715,794.46 103.938715,797.35 104.158715,800.26 L105.318715,800.09 C105.348715,800.76 105.398715,802.12 105.418715,802.8 C105.591215,802.92375 105.828402,803.093906 106.081762,803.276191 L106.595668,803.646777 C106.849027,803.83 107.086215,804.0025 107.258715,804.13 C107.798715,807.64 107.268715,811.57 109.158715,814.74 C109.148715,815.36 109.158715,816 109.188715,816.67 C107.968715,820.75 104.308715,823.31 102.998715,827.29 C101.828715,828.39 100.638715,829.49 99.448715,830.58 C99.398715,831.21 99.308715,832.49 99.258715,833.12 C97.428715,834.7 95.838715,836.55 94.978715,838.85 C93.298715,840.57 91.788715,842.45 90.428715,844.43 C89.198715,846.53 88.068715,848.68 87.028715,850.89 C84.428715,852.496061 83.03349,855.108549 81.652067,857.7502 L81.2368631,858.542593 C80.4720483,859.993333 79.6753817,861.423333 78.648715,862.67 C77.868715,863.29 77.068715,863.89 76.258715,864.49 C76.218715,864.67 76.148715,865.02 76.108715,865.19 C71.448715,868.13 69.078715,873.72 67.378715,878.7 C67.4120483,890.253333 67.5276039,901.806667 67.6550113,913.360741 L67.8090854,927.226033 C68.0100928,945.713689 68.1693817,964.204 67.998715,982.7 C69.0849219,986.175862 69.1853024,989.742616 69.2044348,993.326005 L69.2102973,994.862545 C69.2236496,998.192985 69.2783702,1001.52862 70.098715,1004.81 C56.808715,1028.25 46.388715,1053.73 33.518715,1077.59 C32.578715,1077.42 31.658715,1077.25 30.748715,1077.09 C30.4590062,1076.94015 29.8898593,1076.6406 29.5995893,1076.49045 L29.598715,1076.49 C28.508715,1075.94 27.428715,1075.42 26.358715,1074.94 C23.492628,1072.49826 20.1474484,1070.73887 16.774285,1069.06595 L15.508918,1068.44149 C14.4548208,1067.92255 13.4034976,1067.40478 12.368715,1066.87 C8.47871499,1063.92 4.30871499,1061.33 0.108714986,1058.88 C0.0587149864,986.72 -0.161285014,914.56 0.218714986,842.41 C6.10871499,835.67 9.63871499,827.11 15.898715,820.68 C15.988715,820.07 16.178715,818.86 16.268715,818.25 C17.488715,817.09 18.708715,815.93 19.938715,814.79 C20.038715,814.22 20.228715,813.07 20.328715,812.49 C22.238715,810.85 23.838715,808.88 24.528715,806.43 C39.898715,785.6 54.558715,764.04 68.498715,742.24 C69.608715,741.05 70.748715,739.89 71.908715,738.75 C72.018715,738.19 72.228715,737.05 72.338715,736.49 C74.238715,734.85 75.838715,732.88 76.528715,730.43 C79.818715,727.23 81.938715,723.14 84.708715,719.52 C85.468715,721.22 85.898715,723.4 88.018715,723.95 C88.0117919,724.829231 88.024573,725.709527 88.0424337,726.590396 L88.0805948,728.352754 C88.1289517,730.703195 88.1440996,733.055385 87.848715,735.4 L88.0753118,736.50611 L88.0753118,736.50611 L87.848715,735.4 L87.848715,735.4 Z M580.518715,734.88 C581.118715,735.25 582.318715,735.98 582.918715,736.35 C587.038715,743.54 592.448715,749.95 596.478715,757.16 C604.498715,767.15 610.688715,778.57 618.898715,788.43 C619.608715,790.8 621.138715,792.74 622.858715,794.48 C632.138715,809.07 642.308715,823.22 651.798715,837.73 C653.063001,840.172857 654.975246,842.125918 656.934138,844.03379 L658.11026,845.176647 C658.50096,845.558163 658.888715,845.941429 659.268715,846.33 C659.548715,850.78 659.678715,855.24 659.648715,859.71 C659.538715,928.14 659.778715,996.57 659.368715,1064.99 C655.768715,1066.62 652.138715,1068.31 649.098715,1070.89 C643.928715,1073.39 638.648715,1075.92 634.228715,1079.63 L634.227,1079.63 L633.949208,1079.90706 C631.781527,1081.99891 629.047882,1083.34417 626.038715,1083.67 C613.648715,1059.27 602.448715,1034.01 589.418715,1009.71 C590.17559,1006.0875 590.185981,1002.41332 590.163354,998.743567 L590.153715,997.17125 C590.133715,992.98 590.203715,988.805 591.428715,984.73 C591.078715,950.02 592.088715,915.32 592.018715,880.62 C590.418715,879.41 588.828715,878.2 587.308715,876.95 C587.198715,876.78 586.968715,876.43 586.858715,876.26 C584.148715,872.39 581.448715,868.53 578.948715,864.55 C576.688715,863.09 575.678715,860.64 575.008715,858.16 C573.318715,856.53 571.828715,854.71 570.978715,852.52 C568.718715,851.14 567.448715,848.87 567.038715,846.32 C565.358715,844.61 563.838715,842.74 562.988715,840.5 C562.238715,839.88 561.508715,839.26 560.788715,838.66 C558.508715,835.39 556.818715,831.72 554.138715,828.75 C553.868715,824.49 556.018715,820.61 556.348715,816.42 C557.298715,814.63 558.218715,812.84 559.158715,811.05 C559.388715,808.22 559.498715,805.26 561.008715,802.77 C563.308715,798.38 562.928715,793.15 565.138715,788.8 C565.798715,786.63 566.118715,784.38 566.238715,782.14 L567.268715,782.3 C567.298715,778.9 567.728715,775.54 568.258715,772.21 C568.648715,771.86 569.428715,771.16 569.818715,770.81 C570.458715,760.96 575.508715,752 575.418715,742.19 C576.048715,742.21 577.308715,742.25 577.938715,742.27 C578.048715,741.78 578.268715,740.82 578.368715,740.34 C579.048715,738.5 579.788715,736.68 580.518715,734.88 Z"
id="rokect-color"></path>
</g>
</g>
</g>
</svg>`,defaultParams={title:"Update",description:"is available",buttonText:"Refresh"},versionTipDialog=oe=>{if(document.querySelector("#version-rocket"))return;const le=`
<div id="version-rocket">
<div class="version-area">
${oe.primaryColor||oe.rocketColor?`<div class="version-img">${setVersionTipTheme(oe.primaryColor,oe.rocketColor)}</div>`:`<img class="version-img" src="${oe.imageUrl||versionBg}" alt="version" />`}
<div class="version-content">
<div class="version-title">
${oe.title||defaultParams.title}
</div>
<div class="version-subtitle">
${oe.description||`V ${oe.newVersion} ${defaultParams.description}`}
</div>
<div style="${oe.primaryColor?`background-color: ${oe.primaryColor};`:""} ${oe.buttonStyle||""}" class="refresh-button">
${oe.buttonText||defaultParams.buttonText}
</div>
${oe.cancelButtonText?`<div class="cancel-button">
${oe.cancelButtonText}
</div>`:""}
</div>
</div>
</div>`;let ue=document.createElement("div");ue.innerHTML=le,document.body.appendChild(ue);const de=document.querySelector("#version-rocket .refresh-button");de.onclick=()=>{typeof(oe==null?void 0:oe.onRefresh)=="function"?oe.onRefresh({newVersion:oe.newVersion}):window.location.reload()};const pe=document.querySelector("#version-rocket .cancel-button");pe&&(pe.onclick=()=>{if(typeof(oe==null?void 0:oe.onCancel)=="function"){oe.onCancel({newVersion:oe.newVersion});return}switch((oe==null?void 0:oe.cancelMode)||"ignore-current-version"){case"ignore-current-version":localStorage.setItem("version-rocket:cancelled",oe.newVersion);break;case"ignore-today":localStorage.setItem("version-rocket:cancelled",new Date().toLocaleDateString());break;case"ignore-current-window":sessionStorage.setItem("version-rocket:cancelled","true");break}unCheckVersion({closeDialog:!0,closeWorker:!1})})},createWorker=oe=>{const ie=new Blob(["("+oe.toString()+")()"]),le=window.URL.createObjectURL(ie);return new Worker(le)},createWorkerFunc=()=>{let oe="",ie=5e3,le=!1,ue="";const de=self;return de.onmessage=pe=>{oe=pe.data["version-key"],ie=pe.data["polling-time"],le=pe.data.immediate,ue=pe.data["origin-version-file-url"];const he=()=>{fetch(`${ue}?${+new Date}`).then(_e=>_e.json()).then(_e=>{oe!==_e.version&&de.postMessage({refreshPageVersion:`${_e.version}`,external:_e.external})})};le&&he(),setInterval(he,ie)},de},cancelUpdateFunc=(oe,ie,le,ue)=>{const de=oe||"ignore-current-version",pe=localStorage.getItem("version-rocket:cancelled")||"",he=new Date().toLocaleDateString(),_e=sessionStorage.getItem("version-rocket:cancelled")||"",$e=le||!1;switch(de){case"ignore-current-version":if(pe===ie)return $e&&(ue==null||ue.terminate()),!0;break;case"ignore-today":if(pe===he)return $e&&(ue==null||ue.terminate()),!0;break;case"ignore-current-window":if(_e)return $e&&(ue==null||ue.terminate()),!0;break}return!1};let worker;const checkVersion=(oe,ie)=>{worker||(worker=createWorker(createWorkerFunc)),worker.postMessage({"version-key":oe.localPackageVersion,"polling-time":oe.pollingTime||5e3,immediate:oe.immediate||!1,"origin-version-file-url":oe.originVersionFileUrl}),worker.onmessage=le=>{var ue;if(!cancelUpdateFunc(ie==null?void 0:ie.cancelMode,(ue=le.data)===null||ue===void 0?void 0:ue.refreshPageVersion,ie==null?void 0:ie.cancelUpdateAndStopWorker,worker))if(localStorage.removeItem("version-rocket:cancelled"),sessionStorage.removeItem("version-rocket:cancelled"),typeof oe.onVersionUpdate=="function")oe.onVersionUpdate(le.data);else{const{title:pe,description:he,buttonText:_e,cancelButtonText:$e,cancelMode:Ie,imageUrl:Ve,rocketColor:Fe,primaryColor:Ue,buttonStyle:qe}=ie||{},{onRefresh:Et,onCancel:At}=oe||{};versionTipDialog({title:pe,description:he,buttonText:_e,cancelButtonText:$e,cancelMode:Ie,imageUrl:Ve,rocketColor:Fe,primaryColor:Ue,buttonStyle:qe,newVersion:le.data.refreshPageVersion,onRefresh:Et,onCancel:At})}}},unCheckVersion=({closeDialog:oe=!1,closeWorker:ie=!0})=>{if(ie&&(worker==null||worker.terminate()),oe){const le=document.querySelector("#version-rocket"),ue=le==null?void 0:le.parentElement;le&&ue&&ue.removeChild(le)}},FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=oe=>getComputedStyle(oe).position==="fixed"?!1:oe.offsetParent!==null,obtainAllFocusableElements$1=oe=>Array.from(oe.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(ie=>isFocusable(ie)&&isVisible(ie)),isFocusable=oe=>{if(oe.tabIndex>0||oe.tabIndex===0&&oe.getAttribute("tabIndex")!==null)return!0;if(oe.disabled)return!1;switch(oe.nodeName){case"A":return!!oe.href&&oe.rel!=="ignore";case"INPUT":return!(oe.type==="hidden"||oe.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(oe,ie,...le){let ue;ie.includes("mouse")||ie.includes("click")?ue="MouseEvents":ie.includes("key")?ue="KeyboardEvent":ue="HTMLEvents";const de=document.createEvent(ue);return de.initEvent(ie,...le),oe.dispatchEvent(de),oe},isLeaf=oe=>!oe.getAttribute("aria-owns"),getSibling=(oe,ie,le)=>{const{parentNode:ue}=oe;if(!ue)return null;const de=ue.querySelectorAll(le),pe=Array.prototype.indexOf.call(de,oe);return de[pe+ie]||null},focusNode=oe=>{oe&&(oe.focus(),!isLeaf(oe)&&oe.click())},composeEventHandlers=(oe,ie,{checkForDefaultPrevented:le=!0}={})=>de=>{const pe=oe==null?void 0:oe(de);if(le===!1||!pe)return ie==null?void 0:ie(de)},whenMouse=oe=>ie=>ie.pointerType==="mouse"?oe(ie):void 0;var isVue2=!1,__defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(oe,ie,le)=>ie in oe?__defProp$9(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ie]=le,__spreadValues$9=(oe,ie)=>{for(var le in ie||(ie={}))__hasOwnProp$b.call(ie,le)&&__defNormalProp$9(oe,le,ie[le]);if(__getOwnPropSymbols$b)for(var le of __getOwnPropSymbols$b(ie))__propIsEnum$b.call(ie,le)&&__defNormalProp$9(oe,le,ie[le]);return oe},__spreadProps$6=(oe,ie)=>__defProps$6(oe,__getOwnPropDescs$6(ie));function computedEager(oe,ie){var le;const ue=shallowRef();return watchEffect(()=>{ue.value=oe()},__spreadProps$6(__spreadValues$9({},ie),{flush:(le=ie==null?void 0:ie.flush)!=null?le:"sync"})),readonly(ue)}var _a$1;const isClient$1=typeof window<"u",isDef$1=oe=>typeof oe<"u",isFunction$4=oe=>typeof oe=="function",isString$5=oe=>typeof oe=="string",noop$6=()=>{},isIOS$1=isClient$1&&((_a$1=window==null?void 0:window.navigator)==null?void 0:_a$1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(oe){return typeof oe=="function"?oe():unref(oe)}function createFilterWrapper$1(oe,ie){function le(...ue){return new Promise((de,pe)=>{Promise.resolve(oe(()=>ie.apply(this,ue),{fn:ie,thisArg:this,args:ue})).then(de).catch(pe)})}return le}function debounceFilter$1(oe,ie={}){let le,ue,de=noop$6;const pe=_e=>{clearTimeout(_e),de(),de=noop$6};return _e=>{const $e=resolveUnref(oe),Ie=resolveUnref(ie.maxWait);return le&&pe(le),$e<=0||Ie!==void 0&&Ie<=0?(ue&&(pe(ue),ue=null),Promise.resolve(_e())):new Promise((Ve,Fe)=>{de=ie.rejectOnCancel?Fe:Ve,Ie&&!ue&&(ue=setTimeout(()=>{le&&pe(le),ue=null,Ve(_e())},Ie)),le=setTimeout(()=>{ue&&pe(ue),ue=null,Ve(_e())},$e)})}}function throttleFilter(oe,ie=!0,le=!0,ue=!1){let de=0,pe,he=!0,_e=noop$6,$e;const Ie=()=>{pe&&(clearTimeout(pe),pe=void 0,_e(),_e=noop$6)};return Fe=>{const Ue=resolveUnref(oe),qe=Date.now()-de,Et=()=>$e=Fe();return Ie(),Ue<=0?(de=Date.now(),Et()):(qe>Ue&&(le||!he)?(de=Date.now(),Et()):ie&&($e=new Promise((At,Lt)=>{_e=ue?Lt:At,pe=setTimeout(()=>{de=Date.now(),he=!0,At(Et()),Ie()},Math.max(0,Ue-qe))})),!le&&!pe&&(pe=setTimeout(()=>he=!0,Ue)),he=!1,$e)}}function identity$2(oe){return oe}function tryOnScopeDispose$1(oe){return getCurrentScope()?(onScopeDispose(oe),!0):!1}function useDebounceFn$1(oe,ie=200,le={}){return createFilterWrapper$1(debounceFilter$1(ie,le),oe)}function refDebounced(oe,ie=200,le={}){const ue=ref(oe.value),de=useDebounceFn$1(()=>{ue.value=oe.value},ie,le);return watch(oe,()=>de()),ue}function useThrottleFn(oe,ie=200,le=!1,ue=!0,de=!1){return createFilterWrapper$1(throttleFilter(ie,le,ue,de),oe)}function tryOnMounted$1(oe,ie=!0){getCurrentInstance()?onMounted(oe):ie?oe():nextTick(oe)}function useTimeoutFn$1(oe,ie,le={}){const{immediate:ue=!0}=le,de=ref(!1);let pe=null;function he(){pe&&(clearTimeout(pe),pe=null)}function _e(){de.value=!1,he()}function $e(...Ie){he(),de.value=!0,pe=setTimeout(()=>{de.value=!1,pe=null,oe(...Ie)},resolveUnref(ie))}return ue&&(de.value=!0,isClient$1&&$e()),tryOnScopeDispose$1(_e),{isPending:readonly(de),start:$e,stop:_e}}function unrefElement$1(oe){var ie;const le=resolveUnref(oe);return(ie=le==null?void 0:le.$el)!=null?ie:le}const defaultWindow$1=isClient$1?window:void 0,defaultDocument$1=isClient$1?window.document:void 0;function useEventListener$1(...oe){let ie,le,ue,de;if(isString$5(oe[0])||Array.isArray(oe[0])?([le,ue,de]=oe,ie=defaultWindow$1):[ie,le,ue,de]=oe,!ie)return noop$6;Array.isArray(le)||(le=[le]),Array.isArray(ue)||(ue=[ue]);const pe=[],he=()=>{pe.forEach(Ve=>Ve()),pe.length=0},_e=(Ve,Fe,Ue,qe)=>(Ve.addEventListener(Fe,Ue,qe),()=>Ve.removeEventListener(Fe,Ue,qe)),$e=watch(()=>[unrefElement$1(ie),resolveUnref(de)],([Ve,Fe])=>{he(),Ve&&pe.push(...le.flatMap(Ue=>ue.map(qe=>_e(Ve,Ue,qe,Fe))))},{immediate:!0,flush:"post"}),Ie=()=>{$e(),he()};return tryOnScopeDispose$1(Ie),Ie}let _iOSWorkaround$1=!1;function onClickOutside$1(oe,ie,le={}){const{window:ue=defaultWindow$1,ignore:de=[],capture:pe=!0,detectIframe:he=!1}=le;if(!ue)return;isIOS$1&&!_iOSWorkaround$1&&(_iOSWorkaround$1=!0,Array.from(ue.document.body.children).forEach(Ue=>Ue.addEventListener("click",noop$6)));let _e=!0;const $e=Ue=>de.some(qe=>{if(typeof qe=="string")return Array.from(ue.document.querySelectorAll(qe)).some(Et=>Et===Ue.target||Ue.composedPath().includes(Et));{const Et=unrefElement$1(qe);return Et&&(Ue.target===Et||Ue.composedPath().includes(Et))}}),Ve=[useEventListener$1(ue,"click",Ue=>{const qe=unrefElement$1(oe);if(!(!qe||qe===Ue.target||Ue.composedPath().includes(qe))){if(Ue.detail===0&&(_e=!$e(Ue)),!_e){_e=!0;return}ie(Ue)}},{passive:!0,capture:pe}),useEventListener$1(ue,"pointerdown",Ue=>{const qe=unrefElement$1(oe);qe&&(_e=!Ue.composedPath().includes(qe)&&!$e(Ue))},{passive:!0}),he&&useEventListener$1(ue,"blur",Ue=>{var qe;const Et=unrefElement$1(oe);((qe=ue.document.activeElement)==null?void 0:qe.tagName)==="IFRAME"&&!(Et!=null&&Et.contains(ue.document.activeElement))&&ie(Ue)})].filter(Boolean);return()=>Ve.forEach(Ue=>Ue())}function useSupported$1(oe,ie=!1){const le=ref(),ue=()=>le.value=!!oe();return ue(),tryOnMounted$1(ue,ie),le}function cloneFnJSON$1(oe){return JSON.parse(JSON.stringify(oe))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global$1[globalKey]=_global$1[globalKey]||{};function useCssVar(oe,ie,{window:le=defaultWindow$1,initialValue:ue=""}={}){const de=ref(ue),pe=computed(()=>{var he;return unrefElement$1(ie)||((he=le==null?void 0:le.document)==null?void 0:he.documentElement)});return watch([pe,()=>resolveUnref(oe)],([he,_e])=>{var $e;if(he&&le){const Ie=($e=le.getComputedStyle(he).getPropertyValue(_e))==null?void 0:$e.trim();de.value=Ie||ue}},{immediate:!0}),watch(de,he=>{var _e;(_e=pe.value)!=null&&_e.style&&pe.value.style.setProperty(resolveUnref(oe),he)}),de}function useDocumentVisibility({document:oe=defaultDocument$1}={}){if(!oe)return ref("visible");const ie=ref(oe.visibilityState);return useEventListener$1(oe,"visibilitychange",()=>{ie.value=oe.visibilityState}),ie}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2$1=(oe,ie)=>{var le={};for(var ue in oe)__hasOwnProp$g.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&__getOwnPropSymbols$g)for(var ue of __getOwnPropSymbols$g(oe))ie.indexOf(ue)<0&&__propIsEnum$g.call(oe,ue)&&(le[ue]=oe[ue]);return le};function useResizeObserver$1(oe,ie,le={}){const ue=le,{window:de=defaultWindow$1}=ue,pe=__objRest$2$1(ue,["window"]);let he;const _e=useSupported$1(()=>de&&"ResizeObserver"in de),$e=()=>{he&&(he.disconnect(),he=void 0)},Ie=watch(()=>unrefElement$1(oe),Fe=>{$e(),_e.value&&de&&Fe&&(he=new ResizeObserver(ie),he.observe(Fe,pe))},{immediate:!0,flush:"post"}),Ve=()=>{$e(),Ie()};return tryOnScopeDispose$1(Ve),{isSupported:_e,stop:Ve}}function useElementBounding(oe,ie={}){const{reset:le=!0,windowResize:ue=!0,windowScroll:de=!0,immediate:pe=!0}=ie,he=ref(0),_e=ref(0),$e=ref(0),Ie=ref(0),Ve=ref(0),Fe=ref(0),Ue=ref(0),qe=ref(0);function Et(){const At=unrefElement$1(oe);if(!At){le&&(he.value=0,_e.value=0,$e.value=0,Ie.value=0,Ve.value=0,Fe.value=0,Ue.value=0,qe.value=0);return}const Lt=At.getBoundingClientRect();he.value=Lt.height,_e.value=Lt.bottom,$e.value=Lt.left,Ie.value=Lt.right,Ve.value=Lt.top,Fe.value=Lt.width,Ue.value=Lt.x,qe.value=Lt.y}return useResizeObserver$1(oe,Et),watch(()=>unrefElement$1(oe),At=>!At&&Et()),de&&useEventListener$1("scroll",Et,{capture:!0,passive:!0}),ue&&useEventListener$1("resize",Et,{passive:!0}),tryOnMounted$1(()=>{pe&&Et()}),{height:he,bottom:_e,left:$e,right:Ie,top:Ve,width:Fe,x:Ue,y:qe,update:Et}}var SwipeDirection;(function(oe){oe.UP="UP",oe.RIGHT="RIGHT",oe.DOWN="DOWN",oe.LEFT="LEFT",oe.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(oe,ie,le)=>ie in oe?__defProp(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ie]=le,__spreadValues=(oe,ie)=>{for(var le in ie||(ie={}))__hasOwnProp.call(ie,le)&&__defNormalProp(oe,le,ie[le]);if(__getOwnPropSymbols)for(var le of __getOwnPropSymbols(ie))__propIsEnum.call(ie,le)&&__defNormalProp(oe,le,ie[le]);return oe};const _TransitionPresets={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]};__spreadValues({linear:identity$2},_TransitionPresets);function useVModel$1(oe,ie,le,ue={}){var de,pe,he;const{clone:_e=!1,passive:$e=!1,eventName:Ie,deep:Ve=!1,defaultValue:Fe}=ue,Ue=getCurrentInstance(),qe=le||(Ue==null?void 0:Ue.emit)||((de=Ue==null?void 0:Ue.$emit)==null?void 0:de.bind(Ue))||((he=(pe=Ue==null?void 0:Ue.proxy)==null?void 0:pe.$emit)==null?void 0:he.bind(Ue==null?void 0:Ue.proxy));let Et=Ie;ie||(ie="modelValue"),Et=Ie||Et||`update:${ie.toString()}`;const At=hn=>_e?isFunction$4(_e)?_e(hn):cloneFnJSON$1(hn):hn,Lt=()=>isDef$1(oe[ie])?At(oe[ie]):Fe;if($e){const hn=Lt(),vn=ref(hn);return watch(()=>oe[ie],_n=>vn.value=At(_n)),watch(vn,_n=>{(_n!==oe[ie]||Ve)&&qe(Et,_n)},{deep:Ve}),vn}else return computed({get(){return Lt()},set(hn){qe(Et,hn)}})}function useWindowFocus({window:oe=defaultWindow$1}={}){if(!oe)return ref(!1);const ie=ref(oe.document.hasFocus());return useEventListener$1(oe,"blur",()=>{ie.value=!1}),useEventListener$1(oe,"focus",()=>{ie.value=!0}),ie}function useWindowSize$1(oe={}){const{window:ie=defaultWindow$1,initialWidth:le=1/0,initialHeight:ue=1/0,listenOrientation:de=!0,includeScrollbar:pe=!0}=oe,he=ref(le),_e=ref(ue),$e=()=>{ie&&(pe?(he.value=ie.innerWidth,_e.value=ie.innerHeight):(he.value=ie.document.documentElement.clientWidth,_e.value=ie.document.documentElement.clientHeight))};return $e(),tryOnMounted$1($e),useEventListener$1("resize",$e,{passive:!0}),de&&useEventListener$1("orientationchange",$e,{passive:!0}),{width:he,height:_e}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(oe,ie)=>{if(!isClient$1||!oe||!ie)return!1;const le=oe.getBoundingClientRect();let ue;return ie instanceof Element?ue=ie.getBoundingClientRect():ue={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},le.top<ue.bottom&&le.bottom>ue.top&&le.right>ue.left&&le.left<ue.right},getOffsetTop=oe=>{let ie=0,le=oe;for(;le;)ie+=le.offsetTop,le=le.offsetParent;return ie},getOffsetTopDistance=(oe,ie)=>Math.abs(getOffsetTop(oe)-getOffsetTop(ie)),getClientXY=oe=>{let ie,le;return oe.type==="touchend"?(le=oe.changedTouches[0].clientY,ie=oe.changedTouches[0].clientX):oe.type.startsWith("touch")?(le=oe.touches[0].clientY,ie=oe.touches[0].clientX):(le=oe.clientY,ie=oe.clientX),{clientX:ie,clientY:le}};var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$2=root$1.Symbol;const Symbol$3=Symbol$2;var objectProto$f=Object.prototype,hasOwnProperty$e=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag(oe){var ie=hasOwnProperty$e.call(oe,symToStringTag$1),le=oe[symToStringTag$1];try{oe[symToStringTag$1]=void 0;var ue=!0}catch{}var de=nativeObjectToString$1.call(oe);return ue&&(ie?oe[symToStringTag$1]=le:delete oe[symToStringTag$1]),de}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$2(oe){return nativeObjectToString.call(oe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$3?Symbol$3.toStringTag:void 0;function baseGetTag(oe){return oe==null?oe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(oe)?getRawTag(oe):objectToString$2(oe)}function isObjectLike(oe){return oe!=null&&typeof oe=="object"}var symbolTag$3="[object Symbol]";function isSymbol$1(oe){return typeof oe=="symbol"||isObjectLike(oe)&&baseGetTag(oe)==symbolTag$3}function arrayMap(oe,ie){for(var le=-1,ue=oe==null?0:oe.length,de=Array(ue);++le<ue;)de[le]=ie(oe[le],le,oe);return de}var isArray$a=Array.isArray;const isArray$b=isArray$a;var INFINITY$3=1/0,symbolProto$2=Symbol$3?Symbol$3.prototype:void 0,symbolToString=symbolProto$2?symbolProto$2.toString:void 0;function baseToString(oe){if(typeof oe=="string")return oe;if(isArray$b(oe))return arrayMap(oe,baseToString)+"";if(isSymbol$1(oe))return symbolToString?symbolToString.call(oe):"";var ie=oe+"";return ie=="0"&&1/oe==-INFINITY$3?"-0":ie}var reWhitespace=/\s/;function trimmedEndIndex(oe){for(var ie=oe.length;ie--&&reWhitespace.test(oe.charAt(ie)););return ie}var reTrimStart=/^\s+/;function baseTrim(oe){return oe&&oe.slice(0,trimmedEndIndex(oe)+1).replace(reTrimStart,"")}function isObject$8(oe){var ie=typeof oe;return oe!=null&&(ie=="object"||ie=="function")}var NAN=0/0,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(oe){if(typeof oe=="number")return oe;if(isSymbol$1(oe))return NAN;if(isObject$8(oe)){var ie=typeof oe.valueOf=="function"?oe.valueOf():oe;oe=isObject$8(ie)?ie+"":ie}if(typeof oe!="string")return oe===0?oe:+oe;oe=baseTrim(oe);var le=reIsBinary.test(oe);return le||reIsOctal.test(oe)?freeParseInt(oe.slice(2),le?2:8):reIsBadHex.test(oe)?NAN:+oe}function identity$1(oe){return oe}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(oe){if(!isObject$8(oe))return!1;var ie=baseGetTag(oe);return ie==funcTag$2||ie==genTag$1||ie==asyncTag||ie==proxyTag}var coreJsData=root$1["__core-js_shared__"];const coreJsData$1=coreJsData;var maskSrcKey=function(){var oe=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return oe?"Symbol(src)_1."+oe:""}();function isMasked(oe){return!!maskSrcKey&&maskSrcKey in oe}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(oe){if(oe!=null){try{return funcToString$2.call(oe)}catch{}try{return oe+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$d=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(oe){if(!isObject$8(oe)||isMasked(oe))return!1;var ie=isFunction$3(oe)?reIsNative:reIsHostCtor;return ie.test(toSource(oe))}function getValue$1(oe,ie){return oe==null?void 0:oe[ie]}function getNative(oe,ie){var le=getValue$1(oe,ie);return baseIsNative(le)?le:void 0}var WeakMap$3=getNative(root$1,"WeakMap");const WeakMap$4=WeakMap$3;var objectCreate=Object.create,baseCreate=function(){function oe(){}return function(ie){if(!isObject$8(ie))return{};if(objectCreate)return objectCreate(ie);oe.prototype=ie;var le=new oe;return oe.prototype=void 0,le}}();const baseCreate$1=baseCreate;function apply$1(oe,ie,le){switch(le.length){case 0:return oe.call(ie);case 1:return oe.call(ie,le[0]);case 2:return oe.call(ie,le[0],le[1]);case 3:return oe.call(ie,le[0],le[1],le[2])}return oe.apply(ie,le)}function noop$5(){}function copyArray(oe,ie){var le=-1,ue=oe.length;for(ie||(ie=Array(ue));++le<ue;)ie[le]=oe[le];return ie}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(oe){var ie=0,le=0;return function(){var ue=nativeNow(),de=HOT_SPAN-(ue-le);if(le=ue,de>0){if(++ie>=HOT_COUNT)return arguments[0]}else ie=0;return oe.apply(void 0,arguments)}}function constant(oe){return function(){return oe}}var defineProperty=function(){try{var oe=getNative(Object,"defineProperty");return oe({},"",{}),oe}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(oe,ie){return defineProperty$1(oe,"toString",{configurable:!0,enumerable:!1,value:constant(ie),writable:!0})}:identity$1;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(oe,ie){for(var le=-1,ue=oe==null?0:oe.length;++le<ue&&ie(oe[le],le,oe)!==!1;);return oe}function baseFindIndex(oe,ie,le,ue){for(var de=oe.length,pe=le+(ue?1:-1);ue?pe--:++pe<de;)if(ie(oe[pe],pe,oe))return pe;return-1}function baseIsNaN(oe){return oe!==oe}function strictIndexOf(oe,ie,le){for(var ue=le-1,de=oe.length;++ue<de;)if(oe[ue]===ie)return ue;return-1}function baseIndexOf(oe,ie,le){return ie===ie?strictIndexOf(oe,ie,le):baseFindIndex(oe,baseIsNaN,le)}function arrayIncludes(oe,ie){var le=oe==null?0:oe.length;return!!le&&baseIndexOf(oe,ie,0)>-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(oe,ie){var le=typeof oe;return ie=ie??MAX_SAFE_INTEGER$2,!!ie&&(le=="number"||le!="symbol"&&reIsUint.test(oe))&&oe>-1&&oe%1==0&&oe<ie}function baseAssignValue(oe,ie,le){ie=="__proto__"&&defineProperty$1?defineProperty$1(oe,ie,{configurable:!0,enumerable:!0,value:le,writable:!0}):oe[ie]=le}function eq(oe,ie){return oe===ie||oe!==oe&&ie!==ie}var objectProto$c=Object.prototype,hasOwnProperty$c=objectProto$c.hasOwnProperty;function assignValue(oe,ie,le){var ue=oe[ie];(!(hasOwnProperty$c.call(oe,ie)&&eq(ue,le))||le===void 0&&!(ie in oe))&&baseAssignValue(oe,ie,le)}function copyObject(oe,ie,le,ue){var de=!le;le||(le={});for(var pe=-1,he=ie.length;++pe<he;){var _e=ie[pe],$e=ue?ue(le[_e],oe[_e],_e,le,oe):void 0;$e===void 0&&($e=oe[_e]),de?baseAssignValue(le,_e,$e):assignValue(le,_e,$e)}return le}var nativeMax$1=Math.max;function overRest(oe,ie,le){return ie=nativeMax$1(ie===void 0?oe.length-1:ie,0),function(){for(var ue=arguments,de=-1,pe=nativeMax$1(ue.length-ie,0),he=Array(pe);++de<pe;)he[de]=ue[ie+de];de=-1;for(var _e=Array(ie+1);++de<ie;)_e[de]=ue[de];return _e[ie]=le(he),apply$1(oe,this,_e)}}function baseRest(oe,ie){return setToString$1(overRest(oe,ie,identity$1),oe+"")}var MAX_SAFE_INTEGER$1=9007199254740991;function isLength(oe){return typeof oe=="number"&&oe>-1&&oe%1==0&&oe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(oe){return oe!=null&&isLength(oe.length)&&!isFunction$3(oe)}function isIterateeCall(oe,ie,le){if(!isObject$8(le))return!1;var ue=typeof ie;return(ue=="number"?isArrayLike$1(le)&&isIndex(ie,le.length):ue=="string"&&ie in le)?eq(le[ie],oe):!1}function createAssigner(oe){return baseRest(function(ie,le){var ue=-1,de=le.length,pe=de>1?le[de-1]:void 0,he=de>2?le[2]:void 0;for(pe=oe.length>3&&typeof pe=="function"?(de--,pe):void 0,he&&isIterateeCall(le[0],le[1],he)&&(pe=de<3?void 0:pe,de=1),ie=Object(ie);++ue<de;){var _e=le[ue];_e&&oe(ie,_e,ue,pe)}return ie})}var objectProto$b=Object.prototype;function isPrototype(oe){var ie=oe&&oe.constructor,le=typeof ie=="function"&&ie.prototype||objectProto$b;return oe===le}function baseTimes(oe,ie){for(var le=-1,ue=Array(oe);++le<oe;)ue[le]=ie(le);return ue}var argsTag$3="[object Arguments]";function baseIsArguments(oe){return isObjectLike(oe)&&baseGetTag(oe)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$b=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(oe){return isObjectLike(oe)&&hasOwnProperty$b.call(oe,"callee")&&!propertyIsEnumerable$1.call(oe,"callee")};const isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$2=nativeIsBuffer||stubFalse;const isBuffer$3=isBuffer$2;var argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(oe){return isObjectLike(oe)&&isLength(oe.length)&&!!typedArrayTags[baseGetTag(oe)]}function baseUnary(oe){return function(ie){return oe(ie)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var oe=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return oe||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();const nodeUtil$1=nodeUtil;var nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;const isTypedArray$3=isTypedArray$2;var objectProto$9=Object.prototype,hasOwnProperty$a=objectProto$9.hasOwnProperty;function arrayLikeKeys(oe,ie){var le=isArray$b(oe),ue=!le&&isArguments$1(oe),de=!le&&!ue&&isBuffer$3(oe),pe=!le&&!ue&&!de&&isTypedArray$3(oe),he=le||ue||de||pe,_e=he?baseTimes(oe.length,String):[],$e=_e.length;for(var Ie in oe)(ie||hasOwnProperty$a.call(oe,Ie))&&!(he&&(Ie=="length"||de&&(Ie=="offset"||Ie=="parent")||pe&&(Ie=="buffer"||Ie=="byteLength"||Ie=="byteOffset")||isIndex(Ie,$e)))&&_e.push(Ie);return _e}function overArg(oe,ie){return function(le){return oe(ie(le))}}var nativeKeys=overArg(Object.keys,Object);const nativeKeys$1=nativeKeys;var objectProto$8=Object.prototype,hasOwnProperty$9=objectProto$8.hasOwnProperty;function baseKeys(oe){if(!isPrototype(oe))return nativeKeys$1(oe);var ie=[];for(var le in Object(oe))hasOwnProperty$9.call(oe,le)&&le!="constructor"&&ie.push(le);return ie}function keys$1(oe){return isArrayLike$1(oe)?arrayLikeKeys(oe):baseKeys(oe)}function nativeKeysIn(oe){var ie=[];if(oe!=null)for(var le in Object(oe))ie.push(le);return ie}var objectProto$7=Object.prototype,hasOwnProperty$8=objectProto$7.hasOwnProperty;function baseKeysIn(oe){if(!isObject$8(oe))return nativeKeysIn(oe);var ie=isPrototype(oe),le=[];for(var ue in oe)ue=="constructor"&&(ie||!hasOwnProperty$8.call(oe,ue))||le.push(ue);return le}function keysIn(oe){return isArrayLike$1(oe)?arrayLikeKeys(oe,!0):baseKeysIn(oe)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(oe,ie){if(isArray$b(oe))return!1;var le=typeof oe;return le=="number"||le=="symbol"||le=="boolean"||oe==null||isSymbol$1(oe)?!0:reIsPlainProp.test(oe)||!reIsDeepProp.test(oe)||ie!=null&&oe in Object(ie)}var nativeCreate=getNative(Object,"create");const nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(oe){var ie=this.has(oe)&&delete this.__data__[oe];return this.size-=ie?1:0,ie}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$7=objectProto$6.hasOwnProperty;function hashGet(oe){var ie=this.__data__;if(nativeCreate$1){var le=ie[oe];return le===HASH_UNDEFINED$2?void 0:le}return hasOwnProperty$7.call(ie,oe)?ie[oe]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function hashHas(oe){var ie=this.__data__;return nativeCreate$1?ie[oe]!==void 0:hasOwnProperty$6.call(ie,oe)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(oe,ie){var le=this.__data__;return this.size+=this.has(oe)?0:1,le[oe]=nativeCreate$1&&ie===void 0?HASH_UNDEFINED$1:ie,this}function Hash(oe){var ie=-1,le=oe==null?0:oe.length;for(this.clear();++ie<le;){var ue=oe[ie];this.set(ue[0],ue[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(oe,ie){for(var le=oe.length;le--;)if(eq(oe[le][0],ie))return le;return-1}var arrayProto$1=Array.prototype,splice=arrayProto$1.splice;function listCacheDelete(oe){var ie=this.__data__,le=assocIndexOf(ie,oe);if(le<0)return!1;var ue=ie.length-1;return le==ue?ie.pop():splice.call(ie,le,1),--this.size,!0}function listCacheGet$1(oe){var ie=this.__data__,le=assocIndexOf(ie,oe);return le<0?void 0:ie[le][1]}function listCacheHas(oe){return assocIndexOf(this.__data__,oe)>-1}function listCacheSet$1(oe,ie){var le=this.__data__,ue=assocIndexOf(le,oe);return ue<0?(++this.size,le.push([oe,ie])):le[ue][1]=ie,this}function ListCache(oe){var ie=-1,le=oe==null?0:oe.length;for(this.clear();++ie<le;){var ue=oe[ie];this.set(ue[0],ue[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet$1;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet$1;var Map$1=getNative(root$1,"Map");const Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(oe){var ie=typeof oe;return ie=="string"||ie=="number"||ie=="symbol"||ie=="boolean"?oe!=="__proto__":oe===null}function getMapData(oe,ie){var le=oe.__data__;return isKeyable(ie)?le[typeof ie=="string"?"string":"hash"]:le.map}function mapCacheDelete(oe){var ie=getMapData(this,oe).delete(oe);return this.size-=ie?1:0,ie}function mapCacheGet(oe){return getMapData(this,oe).get(oe)}function mapCacheHas(oe){return getMapData(this,oe).has(oe)}function mapCacheSet(oe,ie){var le=getMapData(this,oe),ue=le.size;return le.set(oe,ie),this.size+=le.size==ue?0:1,this}function MapCache(oe){var ie=-1,le=oe==null?0:oe.length;for(this.clear();++ie<le;){var ue=oe[ie];this.set(ue[0],ue[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT$2="Expected a function";function memoize(oe,ie){if(typeof oe!="function"||ie!=null&&typeof ie!="function")throw new TypeError(FUNC_ERROR_TEXT$2);var le=function(){var ue=arguments,de=ie?ie.apply(this,ue):ue[0],pe=le.cache;if(pe.has(de))return pe.get(de);var he=oe.apply(this,ue);return le.cache=pe.set(de,he)||pe,he};return le.cache=new(memoize.Cache||MapCache),le}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(oe){var ie=memoize(oe,function(ue){return le.size===MAX_MEMOIZE_SIZE&&le.clear(),ue}),le=ie.cache;return ie}var rePropName$1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar$1=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(oe){var ie=[];return oe.charCodeAt(0)===46&&ie.push(""),oe.replace(rePropName$1,function(le,ue,de,pe){ie.push(de?pe.replace(reEscapeChar$1,"$1"):ue||le)}),ie});const stringToPath$2=stringToPath$1;function toString$2(oe){return oe==null?"":baseToString(oe)}function castPath(oe,ie){return isArray$b(oe)?oe:isKey(oe,ie)?[oe]:stringToPath$2(toString$2(oe))}var INFINITY$2=1/0;function toKey(oe){if(typeof oe=="string"||isSymbol$1(oe))return oe;var ie=oe+"";return ie=="0"&&1/oe==-INFINITY$2?"-0":ie}function baseGet(oe,ie){ie=castPath(ie,oe);for(var le=0,ue=ie.length;oe!=null&&le<ue;)oe=oe[toKey(ie[le++])];return le&&le==ue?oe:void 0}function get$1(oe,ie,le){var ue=oe==null?void 0:baseGet(oe,ie);return ue===void 0?le:ue}function arrayPush(oe,ie){for(var le=-1,ue=ie.length,de=oe.length;++le<ue;)oe[de+le]=ie[le];return oe}var spreadableSymbol=Symbol$3?Symbol$3.isConcatSpreadable:void 0;function isFlattenable(oe){return isArray$b(oe)||isArguments$1(oe)||!!(spreadableSymbol&&oe&&oe[spreadableSymbol])}function baseFlatten(oe,ie,le,ue,de){var pe=-1,he=oe.length;for(le||(le=isFlattenable),de||(de=[]);++pe<he;){var _e=oe[pe];ie>0&&le(_e)?ie>1?baseFlatten(_e,ie-1,le,ue,de):arrayPush(de,_e):ue||(de[de.length]=_e)}return de}function flatten(oe){var ie=oe==null?0:oe.length;return ie?baseFlatten(oe,1):[]}function flatRest(oe){return setToString$1(overRest(oe,void 0,flatten),oe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$5=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$3(oe){if(!isObjectLike(oe)||baseGetTag(oe)!=objectTag$3)return!1;var ie=getPrototype$1(oe);if(ie===null)return!0;var le=hasOwnProperty$5.call(ie,"constructor")&&ie.constructor;return typeof le=="function"&&le instanceof le&&funcToString.call(le)==objectCtorString}function castArray$1(){if(!arguments.length)return[];var oe=arguments[0];return isArray$b(oe)?oe:[oe]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(oe){var ie=this.__data__,le=ie.delete(oe);return this.size=ie.size,le}function stackGet(oe){return this.__data__.get(oe)}function stackHas(oe){return this.__data__.has(oe)}var LARGE_ARRAY_SIZE$1=200;function stackSet(oe,ie){var le=this.__data__;if(le instanceof ListCache){var ue=le.__data__;if(!Map$2||ue.length<LARGE_ARRAY_SIZE$1-1)return ue.push([oe,ie]),this.size=++le.size,this;le=this.__data__=new MapCache(ue)}return le.set(oe,ie),this.size=le.size,this}function Stack(oe){var ie=this.__data__=new ListCache(oe);this.size=ie.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(oe,ie){return oe&&copyObject(ie,keys$1(ie),oe)}function baseAssignIn(oe,ie){return oe&&copyObject(ie,keysIn(ie),oe)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(oe,ie){if(ie)return oe.slice();var le=oe.length,ue=allocUnsafe?allocUnsafe(le):new oe.constructor(le);return oe.copy(ue),ue}function arrayFilter(oe,ie){for(var le=-1,ue=oe==null?0:oe.length,de=0,pe=[];++le<ue;){var he=oe[le];ie(he,le,oe)&&(pe[de++]=he)}return pe}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(oe){return oe==null?[]:(oe=Object(oe),arrayFilter(nativeGetSymbols$1(oe),function(ie){return propertyIsEnumerable.call(oe,ie)}))}:stubArray;const getSymbols$1=getSymbols;function copySymbols(oe,ie){return copyObject(oe,getSymbols$1(oe),ie)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(oe){for(var ie=[];oe;)arrayPush(ie,getSymbols$1(oe)),oe=getPrototype$1(oe);return ie}:stubArray;const getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(oe,ie){return copyObject(oe,getSymbolsIn$1(oe),ie)}function baseGetAllKeys(oe,ie,le){var ue=ie(oe);return isArray$b(oe)?ue:arrayPush(ue,le(oe))}function getAllKeys(oe){return baseGetAllKeys(oe,keys$1,getSymbols$1)}function getAllKeysIn(oe){return baseGetAllKeys(oe,keysIn,getSymbolsIn$1)}var DataView$3=getNative(root$1,"DataView");const DataView$4=DataView$3;var Promise$1=getNative(root$1,"Promise");const Promise$2=Promise$1;var Set$1=getNative(root$1,"Set");const Set$2=Set$1;var mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$4),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$4),getTag=baseGetTag;(DataView$4&&getTag(new DataView$4(new ArrayBuffer(1)))!=dataViewTag$3||Map$2&&getTag(new Map$2)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$4||WeakMap$4&&getTag(new WeakMap$4)!=weakMapTag$1)&&(getTag=function(oe){var ie=baseGetTag(oe),le=ie==objectTag$2?oe.constructor:void 0,ue=le?toSource(le):"";if(ue)switch(ue){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return ie});const getTag$1=getTag;var objectProto$2=Object.prototype,hasOwnProperty$4=objectProto$2.hasOwnProperty;function initCloneArray(oe){var ie=oe.length,le=new oe.constructor(ie);return ie&&typeof oe[0]=="string"&&hasOwnProperty$4.call(oe,"index")&&(le.index=oe.index,le.input=oe.input),le}var Uint8Array$1=root$1.Uint8Array;const Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(oe){var ie=new oe.constructor(oe.byteLength);return new Uint8Array$2(ie).set(new Uint8Array$2(oe)),ie}function cloneDataView(oe,ie){var le=ie?cloneArrayBuffer(oe.buffer):oe.buffer;return new oe.constructor(le,oe.byteOffset,oe.byteLength)}var reFlags=/\w*$/;function cloneRegExp(oe){var ie=new oe.constructor(oe.source,reFlags.exec(oe));return ie.lastIndex=oe.lastIndex,ie}var symbolProto$1=Symbol$3?Symbol$3.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(oe){return symbolValueOf$1?Object(symbolValueOf$1.call(oe)):{}}function cloneTypedArray(oe,ie){var le=ie?cloneArrayBuffer(oe.buffer):oe.buffer;return new oe.constructor(le,oe.byteOffset,oe.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(oe,ie,le){var ue=oe.constructor;switch(ie){case arrayBufferTag$2:return cloneArrayBuffer(oe);case boolTag$2:case dateTag$2:return new ue(+oe);case dataViewTag$2:return cloneDataView(oe,le);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(oe,le);case mapTag$3:return new ue;case numberTag$2:case stringTag$2:return new ue(oe);case regexpTag$2:return cloneRegExp(oe);case setTag$3:return new ue;case symbolTag$2:return cloneSymbol(oe)}}function initCloneObject(oe){return typeof oe.constructor=="function"&&!isPrototype(oe)?baseCreate$1(getPrototype$1(oe)):{}}var mapTag$2="[object Map]";function baseIsMap(oe){return isObjectLike(oe)&&getTag$1(oe)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;const isMap$2=isMap$1;var setTag$2="[object Set]";function baseIsSet(oe){return isObjectLike(oe)&&getTag$1(oe)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet$1=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;const isSet$2=isSet$1;var CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$2=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(oe,ie,le,ue,de,pe){var he,_e=ie&CLONE_DEEP_FLAG$1,$e=ie&CLONE_FLAT_FLAG,Ie=ie&CLONE_SYMBOLS_FLAG$2;if(le&&(he=de?le(oe,ue,de,pe):le(oe)),he!==void 0)return he;if(!isObject$8(oe))return oe;var Ve=isArray$b(oe);if(Ve){if(he=initCloneArray(oe),!_e)return copyArray(oe,he)}else{var Fe=getTag$1(oe),Ue=Fe==funcTag||Fe==genTag;if(isBuffer$3(oe))return cloneBuffer(oe,_e);if(Fe==objectTag$1||Fe==argsTag$1||Ue&&!de){if(he=$e||Ue?{}:initCloneObject(oe),!_e)return $e?copySymbolsIn(oe,baseAssignIn(he,oe)):copySymbols(oe,baseAssign(he,oe))}else{if(!cloneableTags[Fe])return de?oe:{};he=initCloneByTag(oe,Fe,_e)}}pe||(pe=new Stack);var qe=pe.get(oe);if(qe)return qe;pe.set(oe,he),isSet$2(oe)?oe.forEach(function(Lt){he.add(baseClone(Lt,ie,le,Lt,oe,pe))}):isMap$2(oe)&&oe.forEach(function(Lt,hn){he.set(hn,baseClone(Lt,ie,le,hn,oe,pe))});var Et=Ie?$e?getAllKeysIn:getAllKeys:$e?keysIn:keys$1,At=Ve?void 0:Et(oe);return arrayEach(At||oe,function(Lt,hn){At&&(hn=Lt,Lt=oe[hn]),assignValue(he,hn,baseClone(Lt,ie,le,hn,oe,pe))}),he}var CLONE_SYMBOLS_FLAG$1=4;function clone$4(oe){return baseClone(oe,CLONE_SYMBOLS_FLAG$1)}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(oe){return baseClone(oe,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(oe){return this.__data__.set(oe,HASH_UNDEFINED),this}function setCacheHas(oe){return this.__data__.has(oe)}function SetCache(oe){var ie=-1,le=oe==null?0:oe.length;for(this.__data__=new MapCache;++ie<le;)this.add(oe[ie])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(oe,ie){for(var le=-1,ue=oe==null?0:oe.length;++le<ue;)if(ie(oe[le],le,oe))return!0;return!1}function cacheHas(oe,ie){return oe.has(ie)}var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays(oe,ie,le,ue,de,pe){var he=le&COMPARE_PARTIAL_FLAG$5,_e=oe.length,$e=ie.length;if(_e!=$e&&!(he&&$e>_e))return!1;var Ie=pe.get(oe),Ve=pe.get(ie);if(Ie&&Ve)return Ie==ie&&Ve==oe;var Fe=-1,Ue=!0,qe=le&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(pe.set(oe,ie),pe.set(ie,oe);++Fe<_e;){var Et=oe[Fe],At=ie[Fe];if(ue)var Lt=he?ue(At,Et,Fe,ie,oe,pe):ue(Et,At,Fe,oe,ie,pe);if(Lt!==void 0){if(Lt)continue;Ue=!1;break}if(qe){if(!arraySome(ie,function(hn,vn){if(!cacheHas(qe,vn)&&(Et===hn||de(Et,hn,le,ue,pe)))return qe.push(vn)})){Ue=!1;break}}else if(!(Et===At||de(Et,At,le,ue,pe))){Ue=!1;break}}return pe.delete(oe),pe.delete(ie),Ue}function mapToArray(oe){var ie=-1,le=Array(oe.size);return oe.forEach(function(ue,de){le[++ie]=[de,ue]}),le}function setToArray(oe){var ie=-1,le=Array(oe.size);return oe.forEach(function(ue){le[++ie]=ue}),le}var COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$3?Symbol$3.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(oe,ie,le,ue,de,pe,he){switch(le){case dataViewTag:if(oe.byteLength!=ie.byteLength||oe.byteOffset!=ie.byteOffset)return!1;oe=oe.buffer,ie=ie.buffer;case arrayBufferTag:return!(oe.byteLength!=ie.byteLength||!pe(new Uint8Array$2(oe),new Uint8Array$2(ie)));case boolTag:case dateTag:case numberTag:return eq(+oe,+ie);case errorTag:return oe.name==ie.name&&oe.message==ie.message;case regexpTag:case stringTag:return oe==ie+"";case mapTag:var _e=mapToArray;case setTag:var $e=ue&COMPARE_PARTIAL_FLAG$4;if(_e||(_e=setToArray),oe.size!=ie.size&&!$e)return!1;var Ie=he.get(oe);if(Ie)return Ie==ie;ue|=COMPARE_UNORDERED_FLAG$2,he.set(oe,ie);var Ve=equalArrays(_e(oe),_e(ie),ue,de,pe,he);return he.delete(oe),Ve;case symbolTag:if(symbolValueOf)return symbolValueOf.call(oe)==symbolValueOf.call(ie)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$3=objectProto$1.hasOwnProperty;function equalObjects(oe,ie,le,ue,de,pe){var he=le&COMPARE_PARTIAL_FLAG$3,_e=getAllKeys(oe),$e=_e.length,Ie=getAllKeys(ie),Ve=Ie.length;if($e!=Ve&&!he)return!1;for(var Fe=$e;Fe--;){var Ue=_e[Fe];if(!(he?Ue in ie:hasOwnProperty$3.call(ie,Ue)))return!1}var qe=pe.get(oe),Et=pe.get(ie);if(qe&&Et)return qe==ie&&Et==oe;var At=!0;pe.set(oe,ie),pe.set(ie,oe);for(var Lt=he;++Fe<$e;){Ue=_e[Fe];var hn=oe[Ue],vn=ie[Ue];if(ue)var _n=he?ue(vn,hn,Ue,ie,oe,pe):ue(hn,vn,Ue,oe,ie,pe);if(!(_n===void 0?hn===vn||de(hn,vn,le,ue,pe):_n)){At=!1;break}Lt||(Lt=Ue=="constructor")}if(At&&!Lt){var bn=oe.constructor,Sn=ie.constructor;bn!=Sn&&"constructor"in oe&&"constructor"in ie&&!(typeof bn=="function"&&bn instanceof bn&&typeof Sn=="function"&&Sn instanceof Sn)&&(At=!1)}return pe.delete(oe),pe.delete(ie),At}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty$2=objectProto.hasOwnProperty;function baseIsEqualDeep(oe,ie,le,ue,de,pe){var he=isArray$b(oe),_e=isArray$b(ie),$e=he?arrayTag:getTag$1(oe),Ie=_e?arrayTag:getTag$1(ie);$e=$e==argsTag?objectTag:$e,Ie=Ie==argsTag?objectTag:Ie;var Ve=$e==objectTag,Fe=Ie==objectTag,Ue=$e==Ie;if(Ue&&isBuffer$3(oe)){if(!isBuffer$3(ie))return!1;he=!0,Ve=!1}if(Ue&&!Ve)return pe||(pe=new Stack),he||isTypedArray$3(oe)?equalArrays(oe,ie,le,ue,de,pe):equalByTag(oe,ie,$e,le,ue,de,pe);if(!(le&COMPARE_PARTIAL_FLAG$2)){var qe=Ve&&hasOwnProperty$2.call(oe,"__wrapped__"),Et=Fe&&hasOwnProperty$2.call(ie,"__wrapped__");if(qe||Et){var At=qe?oe.value():oe,Lt=Et?ie.value():ie;return pe||(pe=new Stack),de(At,Lt,le,ue,pe)}}return Ue?(pe||(pe=new Stack),equalObjects(oe,ie,le,ue,de,pe)):!1}function baseIsEqual(oe,ie,le,ue,de){return oe===ie?!0:oe==null||ie==null||!isObjectLike(oe)&&!isObjectLike(ie)?oe!==oe&&ie!==ie:baseIsEqualDeep(oe,ie,le,ue,baseIsEqual,de)}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch(oe,ie,le,ue){var de=le.length,pe=de,he=!ue;if(oe==null)return!pe;for(oe=Object(oe);de--;){var _e=le[de];if(he&&_e[2]?_e[1]!==oe[_e[0]]:!(_e[0]in oe))return!1}for(;++de<pe;){_e=le[de];var $e=_e[0],Ie=oe[$e],Ve=_e[1];if(he&&_e[2]){if(Ie===void 0&&!($e in oe))return!1}else{var Fe=new Stack;if(ue)var Ue=ue(Ie,Ve,$e,oe,ie,Fe);if(!(Ue===void 0?baseIsEqual(Ve,Ie,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,ue,Fe):Ue))return!1}}return!0}function isStrictComparable(oe){return oe===oe&&!isObject$8(oe)}function getMatchData(oe){for(var ie=keys$1(oe),le=ie.length;le--;){var ue=ie[le],de=oe[ue];ie[le]=[ue,de,isStrictComparable(de)]}return ie}function matchesStrictComparable(oe,ie){return function(le){return le==null?!1:le[oe]===ie&&(ie!==void 0||oe in Object(le))}}function baseMatches(oe){var ie=getMatchData(oe);return ie.length==1&&ie[0][2]?matchesStrictComparable(ie[0][0],ie[0][1]):function(le){return le===oe||baseIsMatch(le,oe,ie)}}function baseHasIn(oe,ie){return oe!=null&&ie in Object(oe)}function hasPath(oe,ie,le){ie=castPath(ie,oe);for(var ue=-1,de=ie.length,pe=!1;++ue<de;){var he=toKey(ie[ue]);if(!(pe=oe!=null&&le(oe,he)))break;oe=oe[he]}return pe||++ue!=de?pe:(de=oe==null?0:oe.length,!!de&&isLength(de)&&isIndex(he,de)&&(isArray$b(oe)||isArguments$1(oe)))}function hasIn(oe,ie){return oe!=null&&hasPath(oe,ie,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(oe,ie){return isKey(oe)&&isStrictComparable(ie)?matchesStrictComparable(toKey(oe),ie):function(le){var ue=get$1(le,oe);return ue===void 0&&ue===ie?hasIn(le,oe):baseIsEqual(ie,ue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty(oe){return function(ie){return ie==null?void 0:ie[oe]}}function basePropertyDeep(oe){return function(ie){return baseGet(ie,oe)}}function property(oe){return isKey(oe)?baseProperty(toKey(oe)):basePropertyDeep(oe)}function baseIteratee(oe){return typeof oe=="function"?oe:oe==null?identity$1:typeof oe=="object"?isArray$b(oe)?baseMatchesProperty(oe[0],oe[1]):baseMatches(oe):property(oe)}function createBaseFor(oe){return function(ie,le,ue){for(var de=-1,pe=Object(ie),he=ue(ie),_e=he.length;_e--;){var $e=he[oe?_e:++de];if(le(pe[$e],$e,pe)===!1)break}return ie}}var baseFor=createBaseFor();const baseFor$1=baseFor;function baseForOwn(oe,ie){return oe&&baseFor$1(oe,ie,keys$1)}function createBaseEach(oe,ie){return function(le,ue){if(le==null)return le;if(!isArrayLike$1(le))return oe(le,ue);for(var de=le.length,pe=ie?de:-1,he=Object(le);(ie?pe--:++pe<de)&&ue(he[pe],pe,he)!==!1;);return le}}var baseEach=createBaseEach(baseForOwn);const baseEach$1=baseEach;var now=function(){return root$1.Date.now()};const now$1=now;var FUNC_ERROR_TEXT$1="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(oe,ie,le){var ue,de,pe,he,_e,$e,Ie=0,Ve=!1,Fe=!1,Ue=!0;if(typeof oe!="function")throw new TypeError(FUNC_ERROR_TEXT$1);ie=toNumber(ie)||0,isObject$8(le)&&(Ve=!!le.leading,Fe="maxWait"in le,pe=Fe?nativeMax(toNumber(le.maxWait)||0,ie):pe,Ue="trailing"in le?!!le.trailing:Ue);function qe(Cn){var En=ue,wn=de;return ue=de=void 0,Ie=Cn,he=oe.apply(wn,En),he}function Et(Cn){return Ie=Cn,_e=setTimeout(hn,ie),Ve?qe(Cn):he}function At(Cn){var En=Cn-$e,wn=Cn-Ie,xn=ie-En;return Fe?nativeMin(xn,pe-wn):xn}function Lt(Cn){var En=Cn-$e,wn=Cn-Ie;return $e===void 0||En>=ie||En<0||Fe&&wn>=pe}function hn(){var Cn=now$1();if(Lt(Cn))return vn(Cn);_e=setTimeout(hn,At(Cn))}function vn(Cn){return _e=void 0,Ue&&ue?qe(Cn):(ue=de=void 0,he)}function _n(){_e!==void 0&&clearTimeout(_e),Ie=0,ue=$e=de=_e=void 0}function bn(){return _e===void 0?he:vn(now$1())}function Sn(){var Cn=now$1(),En=Lt(Cn);if(ue=arguments,de=this,$e=Cn,En){if(_e===void 0)return Et($e);if(Fe)return clearTimeout(_e),_e=setTimeout(hn,ie),qe($e)}return _e===void 0&&(_e=setTimeout(hn,ie)),he}return Sn.cancel=_n,Sn.flush=bn,Sn}function assignMergeValue(oe,ie,le){(le!==void 0&&!eq(oe[ie],le)||le===void 0&&!(ie in oe))&&baseAssignValue(oe,ie,le)}function isArrayLikeObject(oe){return isObjectLike(oe)&&isArrayLike$1(oe)}function safeGet(oe,ie){if(!(ie==="constructor"&&typeof oe[ie]=="function")&&ie!="__proto__")return oe[ie]}function toPlainObject(oe){return copyObject(oe,keysIn(oe))}function baseMergeDeep(oe,ie,le,ue,de,pe,he){var _e=safeGet(oe,le),$e=safeGet(ie,le),Ie=he.get($e);if(Ie){assignMergeValue(oe,le,Ie);return}var Ve=pe?pe(_e,$e,le+"",oe,ie,he):void 0,Fe=Ve===void 0;if(Fe){var Ue=isArray$b($e),qe=!Ue&&isBuffer$3($e),Et=!Ue&&!qe&&isTypedArray$3($e);Ve=$e,Ue||qe||Et?isArray$b(_e)?Ve=_e:isArrayLikeObject(_e)?Ve=copyArray(_e):qe?(Fe=!1,Ve=cloneBuffer($e,!0)):Et?(Fe=!1,Ve=cloneTypedArray($e,!0)):Ve=[]:isPlainObject$3($e)||isArguments$1($e)?(Ve=_e,isArguments$1(_e)?Ve=toPlainObject(_e):(!isObject$8(_e)||isFunction$3(_e))&&(Ve=initCloneObject($e))):Fe=!1}Fe&&(he.set($e,Ve),de(Ve,$e,ue,pe,he),he.delete($e)),assignMergeValue(oe,le,Ve)}function baseMerge(oe,ie,le,ue,de){oe!==ie&&baseFor$1(ie,function(pe,he){if(de||(de=new Stack),isObject$8(pe))baseMergeDeep(oe,ie,he,le,baseMerge,ue,de);else{var _e=ue?ue(safeGet(oe,he),pe,he+"",oe,ie,de):void 0;_e===void 0&&(_e=pe),assignMergeValue(oe,he,_e)}},keysIn)}function arrayIncludesWith(oe,ie,le){for(var ue=-1,de=oe==null?0:oe.length;++ue<de;)if(le(ie,oe[ue]))return!0;return!1}function baseMap(oe,ie){var le=-1,ue=isArrayLike$1(oe)?Array(oe.length):[];return baseEach$1(oe,function(de,pe,he){ue[++le]=ie(de,pe,he)}),ue}function map$3(oe,ie){var le=isArray$b(oe)?arrayMap:baseMap;return le(oe,baseIteratee(ie))}function flatMap(oe,ie){return baseFlatten(map$3(oe,ie),1)}var INFINITY$1=1/0;function flattenDeep(oe){var ie=oe==null?0:oe.length;return ie?baseFlatten(oe,INFINITY$1):[]}function fromPairs(oe){for(var ie=-1,le=oe==null?0:oe.length,ue={};++ie<le;){var de=oe[ie];ue[de[0]]=de[1]}return ue}function isEqual$1(oe,ie){return baseIsEqual(oe,ie)}function isNil(oe){return oe==null}function isUndefined$2(oe){return oe===void 0}var merge$3=createAssigner(function(oe,ie,le){baseMerge(oe,ie,le)});const merge$4=merge$3;function baseSet(oe,ie,le,ue){if(!isObject$8(oe))return oe;ie=castPath(ie,oe);for(var de=-1,pe=ie.length,he=pe-1,_e=oe;_e!=null&&++de<pe;){var $e=toKey(ie[de]),Ie=le;if($e==="__proto__"||$e==="constructor"||$e==="prototype")return oe;if(de!=he){var Ve=_e[$e];Ie=ue?ue(Ve,$e,_e):void 0,Ie===void 0&&(Ie=isObject$8(Ve)?Ve:isIndex(ie[de+1])?[]:{})}assignValue(_e,$e,Ie),_e=_e[$e]}return oe}function basePickBy(oe,ie,le){for(var ue=-1,de=ie.length,pe={};++ue<de;){var he=ie[ue],_e=baseGet(oe,he);le(_e,he)&&baseSet(pe,castPath(he,oe),_e)}return pe}function basePick(oe,ie){return basePickBy(oe,ie,function(le,ue){return hasIn(oe,ue)})}var pick=flatRest(function(oe,ie){return oe==null?{}:basePick(oe,ie)});const pick$1=pick;function set$2(oe,ie,le){return oe==null?oe:baseSet(oe,ie,le)}var FUNC_ERROR_TEXT="Expected a function";function throttle$1(oe,ie,le){var ue=!0,de=!0;if(typeof oe!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$8(le)&&(ue="leading"in le?!!le.leading:ue,de="trailing"in le?!!le.trailing:de),debounce(oe,ie,{leading:ue,maxWait:ie,trailing:de})}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function(oe){return new Set$2(oe)}:noop$5;const createSet$1=createSet;var LARGE_ARRAY_SIZE=200;function baseUniq(oe,ie,le){var ue=-1,de=arrayIncludes,pe=oe.length,he=!0,_e=[],$e=_e;if(le)he=!1,de=arrayIncludesWith;else if(pe>=LARGE_ARRAY_SIZE){var Ie=ie?null:createSet$1(oe);if(Ie)return setToArray(Ie);he=!1,de=cacheHas,$e=new SetCache}else $e=ie?[]:_e;e:for(;++ue<pe;){var Ve=oe[ue],Fe=ie?ie(Ve):Ve;if(Ve=le||Ve!==0?Ve:0,he&&Fe===Fe){for(var Ue=$e.length;Ue--;)if($e[Ue]===Fe)continue e;ie&&$e.push(Fe),_e.push(Ve)}else de($e,Fe,le)||($e!==_e&&$e.push(Fe),_e.push(Ve))}return _e}var union=baseRest(function(oe){return baseUniq(baseFlatten(oe,1,isArrayLikeObject,!0))});const union$1=union,isUndefined$1=oe=>oe===void 0,isBoolean$3=oe=>typeof oe=="boolean",isNumber$4=oe=>typeof oe=="number",isEmpty=oe=>!oe&&oe!==0||isArray$c(oe)&&oe.length===0||isObject$9(oe)&&!Object.keys(oe).length,isElement$1=oe=>typeof Element>"u"?!1:oe instanceof Element,isPropAbsent=oe=>isNil(oe),isStringNumber=oe=>isString$6(oe)?!Number.isNaN(Number(oe)):!1,escapeStringRegexp=(oe="")=>oe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize$1=oe=>capitalize$2(oe),keysOf=oe=>Object.keys(oe),entriesOf=oe=>Object.entries(oe),getProp=(oe,ie,le)=>({get value(){return get$1(oe,ie,le)},set value(ue){set$2(oe,ie,ue)}});class ElementPlusError extends Error{constructor(ie){super(ie),this.name="ElementPlusError"}}function throwError$1(oe,ie){throw new ElementPlusError(`[${oe}] ${ie}`)}function debugWarn(oe,ie){}const classNameToArray=(oe="")=>oe.split(" ").filter(ie=>!!ie.trim()),hasClass=(oe,ie)=>{if(!oe||!ie)return!1;if(ie.includes(" "))throw new Error("className should not contain space.");return oe.classList.contains(ie)},addClass=(oe,ie)=>{!oe||!ie.trim()||oe.classList.add(...classNameToArray(ie))},removeClass=(oe,ie)=>{!oe||!ie.trim()||oe.classList.remove(...classNameToArray(ie))},getStyle$1=(oe,ie)=>{var le;if(!isClient$1||!oe||!ie)return"";let ue=camelize(ie);ue==="float"&&(ue="cssFloat");try{const de=oe.style[ue];if(de)return de;const pe=(le=document.defaultView)==null?void 0:le.getComputedStyle(oe,"");return pe?pe[ue]:""}catch{return oe.style[ue]}};function addUnit(oe,ie="px"){if(!oe)return"";if(isNumber$4(oe)||isStringNumber(oe))return`${oe}${ie}`;if(isString$6(oe))return oe}const isScroll=(oe,ie)=>{if(!isClient$1)return!1;const le={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(ie)],ue=getStyle$1(oe,le);return["scroll","auto","overlay"].some(de=>ue.includes(de))},getScrollContainer=(oe,ie)=>{if(!isClient$1)return;let le=oe;for(;le;){if([window,document,document.documentElement].includes(le))return window;if(isScroll(le,ie))return le;le=le.parentNode}return le};let scrollBarWidth;const getScrollBarWidth=oe=>{var ie;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const le=document.createElement("div");le.className=`${oe}-scrollbar__wrap`,le.style.visibility="hidden",le.style.width="100px",le.style.position="absolute",le.style.top="-9999px",document.body.appendChild(le);const ue=le.offsetWidth;le.style.overflow="scroll";const de=document.createElement("div");de.style.width="100%",le.appendChild(de);const pe=de.offsetWidth;return(ie=le.parentNode)==null||ie.removeChild(le),scrollBarWidth=ue-pe,scrollBarWidth};function scrollIntoView(oe,ie){if(!isClient$1)return;if(!ie){oe.scrollTop=0;return}const le=[];let ue=ie.offsetParent;for(;ue!==null&&oe!==ue&&oe.contains(ue);)le.push(ue),ue=ue.offsetParent;const de=ie.offsetTop+le.reduce(($e,Ie)=>$e+Ie.offsetTop,0),pe=de+ie.offsetHeight,he=oe.scrollTop,_e=he+oe.clientHeight;de<he?oe.scrollTop=de:pe>_e&&(oe.scrollTop=pe-oe.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var export_helper_default=(oe,ie)=>{let le=oe.__vccOpts||oe;for(let[ue,de]of ie)le[ue]=de;return le},arrow_down_vue_vue_type_script_lang_default={name:"ArrowDown"},_hoisted_16$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_26=createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 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.592 30.592 0 0 0-42.752 0z"},null,-1),_hoisted_36=[_hoisted_26];function _sfc_render6(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_16$1,_hoisted_36)}var arrow_down_default=export_helper_default(arrow_down_vue_vue_type_script_lang_default,[["render",_sfc_render6],["__file","arrow-down.vue"]]),arrow_left_vue_vue_type_script_lang_default={name:"ArrowLeft"},_hoisted_18$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_28=createBaseVNode("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.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),_hoisted_38=[_hoisted_28];function _sfc_render8(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_18$1,_hoisted_38)}var arrow_left_default=export_helper_default(arrow_left_vue_vue_type_script_lang_default,[["render",_sfc_render8],["__file","arrow-left.vue"]]),arrow_right_vue_vue_type_script_lang_default={name:"ArrowRight"},_hoisted_110={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_210=createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 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"},null,-1),_hoisted_310=[_hoisted_210];function _sfc_render10(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_110,_hoisted_310)}var arrow_right_default=export_helper_default(arrow_right_vue_vue_type_script_lang_default,[["render",_sfc_render10],["__file","arrow-right.vue"]]),arrow_up_vue_vue_type_script_lang_default={name:"ArrowUp"},_hoisted_112={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_212=createBaseVNode("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 0z"},null,-1),_hoisted_312=[_hoisted_212];function _sfc_render12(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_112,_hoisted_312)}var arrow_up_default=export_helper_default(arrow_up_vue_vue_type_script_lang_default,[["render",_sfc_render12],["__file","arrow-up.vue"]]),back_vue_vue_type_script_lang_default={name:"Back"},_hoisted_114={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_214=createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z"},null,-1),_hoisted_314=createBaseVNode("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.312L237.248 512z"},null,-1),_hoisted_44=[_hoisted_214,_hoisted_314];function _sfc_render14(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_114,_hoisted_44)}var back_default=export_helper_default(back_vue_vue_type_script_lang_default,[["render",_sfc_render14],["__file","back.vue"]]),calendar_vue_vue_type_script_lang_default={name:"Calendar"},_hoisted_129={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_229=createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-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 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),_hoisted_328=[_hoisted_229];function _sfc_render29(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_129,_hoisted_328)}var calendar_default=export_helper_default(calendar_vue_vue_type_script_lang_default,[["render",_sfc_render29],["__file","calendar.vue"]]),caret_right_vue_vue_type_script_lang_default={name:"CaretRight"},_hoisted_134={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_234=createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1),_hoisted_333=[_hoisted_234];function _sfc_render34(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_134,_hoisted_333)}var caret_right_default=export_helper_default(caret_right_vue_vue_type_script_lang_default,[["render",_sfc_render34],["__file","caret-right.vue"]]),caret_top_vue_vue_type_script_lang_default={name:"CaretTop"},_hoisted_135={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_235=createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),_hoisted_334=[_hoisted_235];function _sfc_render35(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_135,_hoisted_334)}var caret_top_default=export_helper_default(caret_top_vue_vue_type_script_lang_default,[["render",_sfc_render35],["__file","caret-top.vue"]]),check_vue_vue_type_script_lang_default={name:"Check"},_hoisted_143={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_243=createBaseVNode("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"},null,-1),_hoisted_342=[_hoisted_243];function _sfc_render43(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_143,_hoisted_342)}var check_default=export_helper_default(check_vue_vue_type_script_lang_default,[["render",_sfc_render43],["__file","check.vue"]]),circle_check_filled_vue_vue_type_script_lang_default={name:"CircleCheckFilled"},_hoisted_148={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_248=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),_hoisted_347=[_hoisted_248];function _sfc_render48(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_148,_hoisted_347)}var circle_check_filled_default=export_helper_default(circle_check_filled_vue_vue_type_script_lang_default,[["render",_sfc_render48],["__file","circle-check-filled.vue"]]),circle_check_vue_vue_type_script_lang_default={name:"CircleCheck"},_hoisted_149={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_249=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_348=createBaseVNode("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.752l265.344-265.408z"},null,-1),_hoisted_415=[_hoisted_249,_hoisted_348];function _sfc_render49(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_149,_hoisted_415)}var circle_check_default=export_helper_default(circle_check_vue_vue_type_script_lang_default,[["render",_sfc_render49],["__file","circle-check.vue"]]),circle_close_filled_vue_vue_type_script_lang_default={name:"CircleCloseFilled"},_hoisted_150={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_250=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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.336L512 457.664z"},null,-1),_hoisted_349=[_hoisted_250];function _sfc_render50(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_150,_hoisted_349)}var circle_close_filled_default=export_helper_default(circle_close_filled_vue_vue_type_script_lang_default,[["render",_sfc_render50],["__file","circle-close-filled.vue"]]),circle_close_vue_vue_type_script_lang_default={name:"CircleClose"},_hoisted_151={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_251=createBaseVNode("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.248L466.752 512z"},null,-1),_hoisted_350=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_416=[_hoisted_251,_hoisted_350];function _sfc_render51(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_151,_hoisted_416)}var circle_close_default=export_helper_default(circle_close_vue_vue_type_script_lang_default,[["render",_sfc_render51],["__file","circle-close.vue"]]),clock_vue_vue_type_script_lang_default={name:"Clock"},_hoisted_154={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_254=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_353=createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),_hoisted_418=createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),_hoisted_56=[_hoisted_254,_hoisted_353,_hoisted_418];function _sfc_render54(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_154,_hoisted_56)}var clock_default=export_helper_default(clock_vue_vue_type_script_lang_default,[["render",_sfc_render54],["__file","clock.vue"]]),close_vue_vue_type_script_lang_default={name:"Close"},_hoisted_156={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_256=createBaseVNode("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"},null,-1),_hoisted_355=[_hoisted_256];function _sfc_render56(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_156,_hoisted_355)}var close_default=export_helper_default(close_vue_vue_type_script_lang_default,[["render",_sfc_render56],["__file","close.vue"]]),d_arrow_left_vue_vue_type_script_lang_default={name:"DArrowLeft"},_hoisted_172={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_272=createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 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.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 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.672l331.648-340.224z"},null,-1),_hoisted_371=[_hoisted_272];function _sfc_render72(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_172,_hoisted_371)}var d_arrow_left_default=export_helper_default(d_arrow_left_vue_vue_type_script_lang_default,[["render",_sfc_render72],["__file","d-arrow-left.vue"]]),d_arrow_right_vue_vue_type_script_lang_default={name:"DArrowRight"},_hoisted_173={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_273=createBaseVNode("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.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-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.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),_hoisted_372=[_hoisted_273];function _sfc_render73(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_173,_hoisted_372)}var d_arrow_right_default=export_helper_default(d_arrow_right_vue_vue_type_script_lang_default,[["render",_sfc_render73],["__file","d-arrow-right.vue"]]),delete_vue_vue_type_script_lang_default={name:"Delete"},_hoisted_180={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_280=createBaseVNode("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-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),_hoisted_379=[_hoisted_280];function _sfc_render80(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_180,_hoisted_379)}var delete_default=export_helper_default(delete_vue_vue_type_script_lang_default,[["render",_sfc_render80],["__file","delete.vue"]]),document_vue_vue_type_script_lang_default={name:"Document"},_hoisted_190={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_290=createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),_hoisted_389=[_hoisted_290];function _sfc_render90(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_190,_hoisted_389)}var document_default=export_helper_default(document_vue_vue_type_script_lang_default,[["render",_sfc_render90],["__file","document.vue"]]),full_screen_vue_vue_type_script_lang_default={name:"FullScreen"},_hoisted_1118={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2118=createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z"},null,-1),_hoisted_3117=[_hoisted_2118];function _sfc_render118(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1118,_hoisted_3117)}var full_screen_default=export_helper_default(full_screen_vue_vue_type_script_lang_default,[["render",_sfc_render118],["__file","full-screen.vue"]]),hide_vue_vue_type_script_lang_default={name:"Hide"},_hoisted_1133={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2133=createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-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 176C44.8 438.4 0 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.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 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.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.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.6-28.8 48-80 105.6-153.6 172.8-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-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),_hoisted_3132=createBaseVNode("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 112-32 28.8-67.2 48-112 48Z"},null,-1),_hoisted_438=[_hoisted_2133,_hoisted_3132];function _sfc_render133(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1133,_hoisted_438)}var hide_default=export_helper_default(hide_vue_vue_type_script_lang_default,[["render",_sfc_render133],["__file","hide.vue"]]),info_filled_vue_vue_type_script_lang_default={name:"InfoFilled"},_hoisted_1143={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2143=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.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.344zM590.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.992 12.992 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"},null,-1),_hoisted_3142=[_hoisted_2143];function _sfc_render143(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1143,_hoisted_3142)}var info_filled_default=export_helper_default(info_filled_vue_vue_type_script_lang_default,[["render",_sfc_render143],["__file","info-filled.vue"]]),loading_vue_vue_type_script_lang_default={name:"Loading"},_hoisted_1150={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2150=createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.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.248zm452.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.248zM828.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 0zm-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 0z"},null,-1),_hoisted_3149=[_hoisted_2150];function _sfc_render150(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1150,_hoisted_3149)}var loading_default=export_helper_default(loading_vue_vue_type_script_lang_default,[["render",_sfc_render150],["__file","loading.vue"]]),minus_vue_vue_type_script_lang_default={name:"Minus"},_hoisted_1169={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2169=createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),_hoisted_3168=[_hoisted_2169];function _sfc_render169(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1169,_hoisted_3168)}var minus_default=export_helper_default(minus_vue_vue_type_script_lang_default,[["render",_sfc_render169],["__file","minus.vue"]]),more_filled_vue_vue_type_script_lang_default={name:"MoreFilled"},_hoisted_1174={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2174=createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),_hoisted_3173=[_hoisted_2174];function _sfc_render174(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1174,_hoisted_3173)}var more_filled_default=export_helper_default(more_filled_vue_vue_type_script_lang_default,[["render",_sfc_render174],["__file","more-filled.vue"]]),more_vue_vue_type_script_lang_default={name:"More"},_hoisted_1175={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2175=createBaseVNode("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-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),_hoisted_3174=[_hoisted_2175];function _sfc_render175(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1175,_hoisted_3174)}var more_default=export_helper_default(more_vue_vue_type_script_lang_default,[["render",_sfc_render175],["__file","more.vue"]]),picture_filled_vue_vue_type_script_lang_default={name:"PictureFilled"},_hoisted_1195={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2195=createBaseVNode("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 32H96zm315.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.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1),_hoisted_3194=[_hoisted_2195];function _sfc_render195(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1195,_hoisted_3194)}var picture_filled_default=export_helper_default(picture_filled_vue_vue_type_script_lang_default,[["render",_sfc_render195],["__file","picture-filled.vue"]]),plus_vue_vue_type_script_lang_default={name:"Plus"},_hoisted_1201={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2201=createBaseVNode("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-64h352z"},null,-1),_hoisted_3200=[_hoisted_2201];function _sfc_render201(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1201,_hoisted_3200)}var plus_default=export_helper_default(plus_vue_vue_type_script_lang_default,[["render",_sfc_render201],["__file","plus.vue"]]),question_filled_vue_vue_type_script_lang_default={name:"QuestionFilled"},_hoisted_1211={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2211=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.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.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 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.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1),_hoisted_3210=[_hoisted_2211];function _sfc_render211(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1211,_hoisted_3210)}var question_filled_default=export_helper_default(question_filled_vue_vue_type_script_lang_default,[["render",_sfc_render211],["__file","question-filled.vue"]]),refresh_left_vue_vue_type_script_lang_default={name:"RefreshLeft"},_hoisted_1215={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2215=createBaseVNode("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"},null,-1),_hoisted_3214=[_hoisted_2215];function _sfc_render215(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1215,_hoisted_3214)}var refresh_left_default=export_helper_default(refresh_left_vue_vue_type_script_lang_default,[["render",_sfc_render215],["__file","refresh-left.vue"]]),refresh_right_vue_vue_type_script_lang_default={name:"RefreshRight"},_hoisted_1216={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2216=createBaseVNode("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.88z"},null,-1),_hoisted_3215=[_hoisted_2216];function _sfc_render216(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1216,_hoisted_3215)}var refresh_right_default=export_helper_default(refresh_right_vue_vue_type_script_lang_default,[["render",_sfc_render216],["__file","refresh-right.vue"]]),scale_to_original_vue_vue_type_script_lang_default={name:"ScaleToOriginal"},_hoisted_1222={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2222=createBaseVNode("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.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zM512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412zM512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512z"},null,-1),_hoisted_3221=[_hoisted_2222];function _sfc_render222(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1222,_hoisted_3221)}var scale_to_original_default=export_helper_default(scale_to_original_vue_vue_type_script_lang_default,[["render",_sfc_render222],["__file","scale-to-original.vue"]]),search_vue_vue_type_script_lang_default={name:"Search"},_hoisted_1225={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2225=createBaseVNode("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 704z"},null,-1),_hoisted_3224=[_hoisted_2225];function _sfc_render225(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1225,_hoisted_3224)}var search_default=export_helper_default(search_vue_vue_type_script_lang_default,[["render",_sfc_render225],["__file","search.vue"]]),sort_down_vue_vue_type_script_lang_default={name:"SortDown"},_hoisted_1242={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2242=createBaseVNode("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 0z"},null,-1),_hoisted_3241=[_hoisted_2242];function _sfc_render242(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1242,_hoisted_3241)}var sort_down_default=export_helper_default(sort_down_vue_vue_type_script_lang_default,[["render",_sfc_render242],["__file","sort-down.vue"]]),sort_up_vue_vue_type_script_lang_default={name:"SortUp"},_hoisted_1243={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2243=createBaseVNode("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.248z"},null,-1),_hoisted_3242=[_hoisted_2243];function _sfc_render243(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1243,_hoisted_3242)}var sort_up_default=export_helper_default(sort_up_vue_vue_type_script_lang_default,[["render",_sfc_render243],["__file","sort-up.vue"]]),star_filled_vue_vue_type_script_lang_default={name:"StarFilled"},_hoisted_1246={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2246=createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.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.72z"},null,-1),_hoisted_3245=[_hoisted_2246];function _sfc_render246(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1246,_hoisted_3245)}var star_filled_default=export_helper_default(star_filled_vue_vue_type_script_lang_default,[["render",_sfc_render246],["__file","star-filled.vue"]]),star_vue_vue_type_script_lang_default={name:"Star"},_hoisted_1247={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2247=createBaseVNode("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.72L512 747.84zM313.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"},null,-1),_hoisted_3246=[_hoisted_2247];function _sfc_render247(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1247,_hoisted_3246)}var star_default=export_helper_default(star_vue_vue_type_script_lang_default,[["render",_sfc_render247],["__file","star.vue"]]),success_filled_vue_vue_type_script_lang_default={name:"SuccessFilled"},_hoisted_1249={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2249=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),_hoisted_3248=[_hoisted_2249];function _sfc_render249(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1249,_hoisted_3248)}var success_filled_default=export_helper_default(success_filled_vue_vue_type_script_lang_default,[["render",_sfc_render249],["__file","success-filled.vue"]]),view_vue_vue_type_script_lang_default={name:"View"},_hoisted_1283={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2283=createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 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-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),_hoisted_3282=[_hoisted_2283];function _sfc_render283(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1283,_hoisted_3282)}var view_default=export_helper_default(view_vue_vue_type_script_lang_default,[["render",_sfc_render283],["__file","view.vue"]]),warning_filled_vue_vue_type_script_lang_default={name:"WarningFilled"},_hoisted_1287={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2287=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),_hoisted_3286=[_hoisted_2287];function _sfc_render287(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1287,_hoisted_3286)}var warning_filled_default=export_helper_default(warning_filled_vue_vue_type_script_lang_default,[["render",_sfc_render287],["__file","warning-filled.vue"]]),zoom_in_vue_vue_type_script_lang_default={name:"ZoomIn"},_hoisted_1292={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2292=createBaseVNode("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 704zm-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-64h96z"},null,-1),_hoisted_3291=[_hoisted_2292];function _sfc_render292(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1292,_hoisted_3291)}var zoom_in_default=export_helper_default(zoom_in_vue_vue_type_script_lang_default,[["render",_sfc_render292],["__file","zoom-in.vue"]]),zoom_out_vue_vue_type_script_lang_default={name:"ZoomOut"},_hoisted_1293={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2293=createBaseVNode("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 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),_hoisted_3292=[_hoisted_2293];function _sfc_render293(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("svg",_hoisted_1293,_hoisted_3292)}var zoom_out_default=export_helper_default(zoom_out_vue_vue_type_script_lang_default,[["render",_sfc_render293],["__file","zoom-out.vue"]]);const epPropKey="__epPropKey",definePropType=oe=>oe,isEpProp=oe=>isObject$9(oe)&&!!oe[epPropKey],buildProp=(oe,ie)=>{if(!isObject$9(oe)||isEpProp(oe))return oe;const{values:le,required:ue,default:de,type:pe,validator:he}=oe,$e={type:pe,required:!!ue,validator:le||he?Ie=>{let Ve=!1,Fe=[];if(le&&(Fe=Array.from(le),hasOwn$4(oe,"default")&&Fe.push(de),Ve||(Ve=Fe.includes(Ie))),he&&(Ve||(Ve=he(Ie))),!Ve&&Fe.length>0){const Ue=[...new Set(Fe)].map(qe=>JSON.stringify(qe)).join(", ");warn$2(`Invalid prop: validation failed${ie?` for prop "${ie}"`:""}. Expected one of [${Ue}], got value ${JSON.stringify(Ie)}.`)}return Ve}:void 0,[epPropKey]:!0};return hasOwn$4(oe,"default")&&($e.default=de),$e},buildProps=oe=>fromPairs(Object.entries(oe).map(([ie,le])=>[ie,buildProp(le,ie)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(oe,ie)=>{if(oe.install=le=>{for(const ue of[oe,...Object.values(ie??{})])le.component(ue.name,ue)},ie)for(const[le,ue]of Object.entries(ie))oe[le]=ue;return oe},withInstallFunction=(oe,ie)=>(oe.install=le=>{oe._context=le._context,le.config.globalProperties[ie]=oe},oe),withInstallDirective=(oe,ie)=>(oe.install=le=>{le.directive(ie,oe)},oe),withNoopInstall=oe=>(oe.install=NOOP,oe),composeRefs=(...oe)=>ie=>{oe.forEach(le=>{isFunction$5(le)?le(ie):le.value=ie})},EVENT_CODE={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"},datePickTypes=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],componentSizeMap={large:40,default:32,small:24},getComponentSize=oe=>componentSizeMap[oe||"default"],isValidComponentSize=oe=>["",...componentSizes].includes(oe);var PatchFlags=(oe=>(oe[oe.TEXT=1]="TEXT",oe[oe.CLASS=2]="CLASS",oe[oe.STYLE=4]="STYLE",oe[oe.PROPS=8]="PROPS",oe[oe.FULL_PROPS=16]="FULL_PROPS",oe[oe.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",oe[oe.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",oe[oe.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",oe[oe.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",oe[oe.NEED_PATCH=512]="NEED_PATCH",oe[oe.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",oe[oe.HOISTED=-1]="HOISTED",oe[oe.BAIL=-2]="BAIL",oe))(PatchFlags||{});function isFragment(oe){return isVNode$1(oe)&&oe.type===Fragment}function isComment(oe){return isVNode$1(oe)&&oe.type===Comment}function isValidElementNode(oe){return isVNode$1(oe)&&!isFragment(oe)&&!isComment(oe)}const getNormalizedProps=oe=>{if(!isVNode$1(oe))return{};const ie=oe.props||{},le=(isVNode$1(oe.type)?oe.type.props:void 0)||{},ue={};return Object.keys(le).forEach(de=>{hasOwn$4(le[de],"default")&&(ue[de]=le[de].default)}),Object.keys(ie).forEach(de=>{ue[camelize(de)]=ie[de]}),ue},ensureOnlyChild=oe=>{if(!isArray$c(oe)||oe.length>1)throw new Error("expect to receive a single Vue element child");return oe[0]},flattedChildren=oe=>{const ie=isArray$c(oe)?oe:[oe],le=[];return ie.forEach(ue=>{var de;isArray$c(ue)?le.push(...flattedChildren(ue)):isVNode$1(ue)&&isArray$c(ue.children)?le.push(...flattedChildren(ue.children)):(le.push(ue),isVNode$1(ue)&&((de=ue.component)!=null&&de.subTree)&&le.push(...flattedChildren(ue.component.subTree)))}),le},unique=oe=>[...new Set(oe)],castArray=oe=>!oe&&oe!==0?[]:Array.isArray(oe)?oe:[oe],isKorean=oe=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(oe),rAF=oe=>isClient$1?window.requestAnimationFrame(oe):setTimeout(oe,16),cAF=oe=>isClient$1?window.cancelAnimationFrame(oe):clearTimeout(oe),generateId=()=>Math.floor(Math.random()*1e4),mutable=oe=>oe,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(oe={})=>{const{excludeListeners:ie=!1,excludeKeys:le}=oe,ue=computed(()=>((le==null?void 0:le.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),de=getCurrentInstance();return computed(de?()=>{var pe;return fromPairs(Object.entries((pe=de.proxy)==null?void 0:pe.$attrs).filter(([he])=>!ue.value.includes(he)&&!(ie&&LISTENER_PREFIX.test(he))))}:()=>({}))},useDeprecated=({from:oe,replacement:ie,scope:le,version:ue,ref:de,type:pe="API"},he)=>{watch(()=>unref(he),_e=>{},{immediate:!0})},useDraggable=(oe,ie,le)=>{let ue={offsetX:0,offsetY:0};const de=_e=>{const $e=_e.clientX,Ie=_e.clientY,{offsetX:Ve,offsetY:Fe}=ue,Ue=oe.value.getBoundingClientRect(),qe=Ue.left,Et=Ue.top,At=Ue.width,Lt=Ue.height,hn=document.documentElement.clientWidth,vn=document.documentElement.clientHeight,_n=-qe+Ve,bn=-Et+Fe,Sn=hn-qe-At+Ve,Cn=vn-Et-Lt+Fe,En=xn=>{const kn=Math.min(Math.max(Ve+xn.clientX-$e,_n),Sn),Pn=Math.min(Math.max(Fe+xn.clientY-Ie,bn),Cn);ue={offsetX:kn,offsetY:Pn},oe.value.style.transform=`translate(${addUnit(kn)}, ${addUnit(Pn)})`},wn=()=>{document.removeEventListener("mousemove",En),document.removeEventListener("mouseup",wn)};document.addEventListener("mousemove",En),document.addEventListener("mouseup",wn)},pe=()=>{ie.value&&oe.value&&ie.value.addEventListener("mousedown",de)},he=()=>{ie.value&&oe.value&&ie.value.removeEventListener("mousedown",de)};onMounted(()=>{watchEffect(()=>{le.value?pe():he()})}),onBeforeUnmount(()=>{he()})},useFocus=oe=>({focus:()=>{var ie,le;(le=(ie=oe.value)==null?void 0:ie.focus)==null||le.call(ie)}});var English={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new 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",week:"week",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"},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"},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"}}};const buildTranslator=oe=>(ie,le)=>translate$2(ie,le,unref(oe)),translate$2=(oe,ie,le)=>get$1(le,oe,oe).replace(/\{(\w+)\}/g,(ue,de)=>{var pe;return`${(pe=ie==null?void 0:ie[de])!=null?pe:`{${de}}`}`}),buildLocaleContext=oe=>{const ie=computed(()=>unref(oe).name),le=isRef(oe)?oe:ref(oe);return{lang:ie,locale:le,t:buildTranslator(oe)}},localeContextKey=Symbol("localeContextKey"),useLocale=oe=>{const ie=oe||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>ie.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(oe,ie,le,ue,de)=>{let pe=`${oe}-${ie}`;return le&&(pe+=`-${le}`),ue&&(pe+=`__${ue}`),de&&(pe+=`--${de}`),pe},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=oe=>{const ie=oe||inject(namespaceContextKey,ref(defaultNamespace));return computed(()=>unref(ie)||defaultNamespace)},useNamespace=(oe,ie)=>{const le=useGetDerivedNamespace(ie);return{namespace:le,b:(At="")=>_bem(le.value,oe,At,"",""),e:At=>At?_bem(le.value,oe,"",At,""):"",m:At=>At?_bem(le.value,oe,"","",At):"",be:(At,Lt)=>At&&Lt?_bem(le.value,oe,At,Lt,""):"",em:(At,Lt)=>At&&Lt?_bem(le.value,oe,"",At,Lt):"",bm:(At,Lt)=>At&&Lt?_bem(le.value,oe,At,"",Lt):"",bem:(At,Lt,hn)=>At&&Lt&&hn?_bem(le.value,oe,At,Lt,hn):"",is:(At,...Lt)=>{const hn=Lt.length>=1?Lt[0]:!0;return At&&hn?`${statePrefix}${At}`:""},cssVar:At=>{const Lt={};for(const hn in At)At[hn]&&(Lt[`--${le.value}-${hn}`]=At[hn]);return Lt},cssVarName:At=>`--${le.value}-${At}`,cssVarBlock:At=>{const Lt={};for(const hn in At)At[hn]&&(Lt[`--${le.value}-${oe}-${hn}`]=At[hn]);return Lt},cssVarBlockName:At=>`--${le.value}-${oe}-${At}`}},useLockscreen=(oe,ie={})=>{isRef(oe)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const le=ie.ns||useNamespace("popup"),ue=computed$1(()=>le.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,ue.value))return;let de=0,pe=!1,he="0";const _e=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,ue.value),pe&&document&&(document.body.style.width=he)},200)};watch(oe,$e=>{if(!$e){_e();return}pe=!hasClass(document.body,ue.value),pe&&(he=document.body.style.width),de=getScrollBarWidth(le.namespace.value);const Ie=document.documentElement.clientHeight<document.body.scrollHeight,Ve=getStyle$1(document.body,"overflowY");de>0&&(Ie||Ve==="scroll")&&pe&&(document.body.style.width=`calc(100% - ${de}px)`),addClass(document.body,ue.value)}),onScopeDispose(()=>_e())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=oe=>{const ie=`update:${oe}`,le=`onUpdate:${oe}`,ue=[ie],de={[oe]:_prop,[le]:_event};return{useModelToggle:({indicator:he,toggleReason:_e,shouldHideWhenRouteChanges:$e,shouldProceed:Ie,onShow:Ve,onHide:Fe})=>{const Ue=getCurrentInstance(),{emit:qe}=Ue,Et=Ue.props,At=computed(()=>isFunction$5(Et[le])),Lt=computed(()=>Et[oe]===null),hn=En=>{he.value!==!0&&(he.value=!0,_e&&(_e.value=En),isFunction$5(Ve)&&Ve(En))},vn=En=>{he.value!==!1&&(he.value=!1,_e&&(_e.value=En),isFunction$5(Fe)&&Fe(En))},_n=En=>{if(Et.disabled===!0||isFunction$5(Ie)&&!Ie())return;const wn=At.value&&isClient$1;wn&&qe(ie,!0),(Lt.value||!wn)&&hn(En)},bn=En=>{if(Et.disabled===!0||!isClient$1)return;const wn=At.value&&isClient$1;wn&&qe(ie,!1),(Lt.value||!wn)&&vn(En)},Sn=En=>{isBoolean$3(En)&&(Et.disabled&&En?At.value&&qe(ie,!1):he.value!==En&&(En?hn():vn()))},Cn=()=>{he.value?bn():_n()};return watch(()=>Et[oe],Sn),$e&&Ue.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...Ue.proxy.$route}),()=>{$e.value&&he.value&&bn()}),onMounted(()=>{Sn(Et[oe])}),{hide:bn,show:_n,toggle:Cn,hasUpdateHandler:At}},useModelToggleProps:de,useModelToggleEmits:ue}};createModelToggleComposable("modelValue");const useProp=oe=>{const ie=getCurrentInstance();return computed(()=>{var le,ue;return(ue=(le=ie==null?void 0:ie.proxy)==null?void 0:le.$props)==null?void 0:ue[oe]})};var E$2="top",R$2="bottom",W$2="right",P$3="left",me="auto",G$1=[E$2,R$2,W$2,P$3],U$2="start",J$1="end",Xe="clippingParents",je$1="viewport",K="popper",Ye="reference",De=G$1.reduce(function(oe,ie){return oe.concat([ie+"-"+U$2,ie+"-"+J$1])},[]),Ee=[].concat(G$1,[me]).reduce(function(oe,ie){return oe.concat([ie,ie+"-"+U$2,ie+"-"+J$1])},[]),Ge$1="beforeRead",Je="read",Ke="afterRead",Qe$1="beforeMain",Ze$1="main",et$1="afterMain",tt="beforeWrite",nt$1="write",rt$2="afterWrite",ot$1=[Ge$1,Je,Ke,Qe$1,Ze$1,et$1,tt,nt$1,rt$2];function C$1(oe){return oe?(oe.nodeName||"").toLowerCase():null}function H$2(oe){if(oe==null)return window;if(oe.toString()!=="[object Window]"){var ie=oe.ownerDocument;return ie&&ie.defaultView||window}return oe}function Q$1(oe){var ie=H$2(oe).Element;return oe instanceof ie||oe instanceof Element}function B$1(oe){var ie=H$2(oe).HTMLElement;return oe instanceof ie||oe instanceof HTMLElement}function Pe$1(oe){if(typeof ShadowRoot>"u")return!1;var ie=H$2(oe).ShadowRoot;return oe instanceof ie||oe instanceof ShadowRoot}function Mt$1(oe){var ie=oe.state;Object.keys(ie.elements).forEach(function(le){var ue=ie.styles[le]||{},de=ie.attributes[le]||{},pe=ie.elements[le];!B$1(pe)||!C$1(pe)||(Object.assign(pe.style,ue),Object.keys(de).forEach(function(he){var _e=de[he];_e===!1?pe.removeAttribute(he):pe.setAttribute(he,_e===!0?"":_e)}))})}function Rt(oe){var ie=oe.state,le={popper:{position:ie.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(ie.elements.popper.style,le.popper),ie.styles=le,ie.elements.arrow&&Object.assign(ie.elements.arrow.style,le.arrow),function(){Object.keys(ie.elements).forEach(function(ue){var de=ie.elements[ue],pe=ie.attributes[ue]||{},he=Object.keys(ie.styles.hasOwnProperty(ue)?ie.styles[ue]:le[ue]),_e=he.reduce(function($e,Ie){return $e[Ie]="",$e},{});!B$1(de)||!C$1(de)||(Object.assign(de.style,_e),Object.keys(pe).forEach(function($e){de.removeAttribute($e)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$1,effect:Rt,requires:["computeStyles"]};function q$2(oe){return oe.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee$1(oe,ie){ie===void 0&&(ie=!1);var le=oe.getBoundingClientRect(),ue=1,de=1;if(B$1(oe)&&ie){var pe=oe.offsetHeight,he=oe.offsetWidth;he>0&&(ue=Z(le.width)/he||1),pe>0&&(de=Z(le.height)/pe||1)}return{width:le.width/ue,height:le.height/de,top:le.top/de,right:le.right/ue,bottom:le.bottom/de,left:le.left/ue,x:le.left/ue,y:le.top/de}}function ke(oe){var ie=ee$1(oe),le=oe.offsetWidth,ue=oe.offsetHeight;return Math.abs(ie.width-le)<=1&&(le=ie.width),Math.abs(ie.height-ue)<=1&&(ue=ie.height),{x:oe.offsetLeft,y:oe.offsetTop,width:le,height:ue}}function it(oe,ie){var le=ie.getRootNode&&ie.getRootNode();if(oe.contains(ie))return!0;if(le&&Pe$1(le)){var ue=ie;do{if(ue&&oe.isSameNode(ue))return!0;ue=ue.parentNode||ue.host}while(ue)}return!1}function N$3(oe){return H$2(oe).getComputedStyle(oe)}function Wt$1(oe){return["table","td","th"].indexOf(C$1(oe))>=0}function I$2(oe){return((Q$1(oe)?oe.ownerDocument:oe.document)||window.document).documentElement}function ge(oe){return C$1(oe)==="html"?oe:oe.assignedSlot||oe.parentNode||(Pe$1(oe)?oe.host:null)||I$2(oe)}function at$1(oe){return!B$1(oe)||N$3(oe).position==="fixed"?null:oe.offsetParent}function Bt$1(oe){var ie=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,le=navigator.userAgent.indexOf("Trident")!==-1;if(le&&B$1(oe)){var ue=N$3(oe);if(ue.position==="fixed")return null}var de=ge(oe);for(Pe$1(de)&&(de=de.host);B$1(de)&&["html","body"].indexOf(C$1(de))<0;){var pe=N$3(de);if(pe.transform!=="none"||pe.perspective!=="none"||pe.contain==="paint"||["transform","perspective"].indexOf(pe.willChange)!==-1||ie&&pe.willChange==="filter"||ie&&pe.filter&&pe.filter!=="none")return de;de=de.parentNode}return null}function se$1(oe){for(var ie=H$2(oe),le=at$1(oe);le&&Wt$1(le)&&N$3(le).position==="static";)le=at$1(le);return le&&(C$1(le)==="html"||C$1(le)==="body"&&N$3(le).position==="static")?ie:le||Bt$1(oe)||ie}function Le$1(oe){return["top","bottom"].indexOf(oe)>=0?"x":"y"}function fe(oe,ie,le){return X$1(oe,ve(ie,le))}function St$1(oe,ie,le){var ue=fe(oe,ie,le);return ue>le?le:ue}function st$1(){return{top:0,right:0,bottom:0,left:0}}function ft$1(oe){return Object.assign({},st$1(),oe)}function ct$1(oe,ie){return ie.reduce(function(le,ue){return le[ue]=oe,le},{})}var Tt=function(oe,ie){return oe=typeof oe=="function"?oe(Object.assign({},ie.rects,{placement:ie.placement})):oe,ft$1(typeof oe!="number"?oe:ct$1(oe,G$1))};function Ht$1(oe){var ie,le=oe.state,ue=oe.name,de=oe.options,pe=le.elements.arrow,he=le.modifiersData.popperOffsets,_e=q$2(le.placement),$e=Le$1(_e),Ie=[P$3,W$2].indexOf(_e)>=0,Ve=Ie?"height":"width";if(!(!pe||!he)){var Fe=Tt(de.padding,le),Ue=ke(pe),qe=$e==="y"?E$2:P$3,Et=$e==="y"?R$2:W$2,At=le.rects.reference[Ve]+le.rects.reference[$e]-he[$e]-le.rects.popper[Ve],Lt=he[$e]-le.rects.reference[$e],hn=se$1(pe),vn=hn?$e==="y"?hn.clientHeight||0:hn.clientWidth||0:0,_n=At/2-Lt/2,bn=Fe[qe],Sn=vn-Ue[Ve]-Fe[Et],Cn=vn/2-Ue[Ve]/2+_n,En=fe(bn,Cn,Sn),wn=$e;le.modifiersData[ue]=(ie={},ie[wn]=En,ie.centerOffset=En-Cn,ie)}}function Ct$1(oe){var ie=oe.state,le=oe.options,ue=le.element,de=ue===void 0?"[data-popper-arrow]":ue;de!=null&&(typeof de=="string"&&(de=ie.elements.popper.querySelector(de),!de)||!it(ie.elements.popper,de)||(ie.elements.arrow=de))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht$1,effect:Ct$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(oe){return oe.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt$1(oe){var ie=oe.x,le=oe.y,ue=window,de=ue.devicePixelRatio||1;return{x:Z(ie*de)/de||0,y:Z(le*de)/de||0}}function ut(oe){var ie,le=oe.popper,ue=oe.popperRect,de=oe.placement,pe=oe.variation,he=oe.offsets,_e=oe.position,$e=oe.gpuAcceleration,Ie=oe.adaptive,Ve=oe.roundOffsets,Fe=oe.isFixed,Ue=he.x,qe=Ue===void 0?0:Ue,Et=he.y,At=Et===void 0?0:Et,Lt=typeof Ve=="function"?Ve({x:qe,y:At}):{x:qe,y:At};qe=Lt.x,At=Lt.y;var hn=he.hasOwnProperty("x"),vn=he.hasOwnProperty("y"),_n=P$3,bn=E$2,Sn=window;if(Ie){var Cn=se$1(le),En="clientHeight",wn="clientWidth";if(Cn===H$2(le)&&(Cn=I$2(le),N$3(Cn).position!=="static"&&_e==="absolute"&&(En="scrollHeight",wn="scrollWidth")),Cn=Cn,de===E$2||(de===P$3||de===W$2)&&pe===J$1){bn=R$2;var xn=Fe&&Cn===Sn&&Sn.visualViewport?Sn.visualViewport.height:Cn[En];At-=xn-ue.height,At*=$e?1:-1}if(de===P$3||(de===E$2||de===R$2)&&pe===J$1){_n=W$2;var kn=Fe&&Cn===Sn&&Sn.visualViewport?Sn.visualViewport.width:Cn[wn];qe-=kn-ue.width,qe*=$e?1:-1}}var Pn=Object.assign({position:_e},Ie&&qt),An=Ve===!0?Vt$1({x:qe,y:At}):{x:qe,y:At};if(qe=An.x,At=An.y,$e){var In;return Object.assign({},Pn,(In={},In[bn]=vn?"0":"",In[_n]=hn?"0":"",In.transform=(Sn.devicePixelRatio||1)<=1?"translate("+qe+"px, "+At+"px)":"translate3d("+qe+"px, "+At+"px, 0)",In))}return Object.assign({},Pn,(ie={},ie[bn]=vn?At+"px":"",ie[_n]=hn?qe+"px":"",ie.transform="",ie))}function Nt$1(oe){var ie=oe.state,le=oe.options,ue=le.gpuAcceleration,de=ue===void 0?!0:ue,pe=le.adaptive,he=pe===void 0?!0:pe,_e=le.roundOffsets,$e=_e===void 0?!0:_e,Ie={placement:q$2(ie.placement),variation:te(ie.placement),popper:ie.elements.popper,popperRect:ie.rects.popper,gpuAcceleration:de,isFixed:ie.options.strategy==="fixed"};ie.modifiersData.popperOffsets!=null&&(ie.styles.popper=Object.assign({},ie.styles.popper,ut(Object.assign({},Ie,{offsets:ie.modifiersData.popperOffsets,position:ie.options.strategy,adaptive:he,roundOffsets:$e})))),ie.modifiersData.arrow!=null&&(ie.styles.arrow=Object.assign({},ie.styles.arrow,ut(Object.assign({},Ie,{offsets:ie.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:$e})))),ie.attributes.popper=Object.assign({},ie.attributes.popper,{"data-popper-placement":ie.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt$1,data:{}},ye={passive:!0};function It$1(oe){var ie=oe.state,le=oe.instance,ue=oe.options,de=ue.scroll,pe=de===void 0?!0:de,he=ue.resize,_e=he===void 0?!0:he,$e=H$2(ie.elements.popper),Ie=[].concat(ie.scrollParents.reference,ie.scrollParents.popper);return pe&&Ie.forEach(function(Ve){Ve.addEventListener("scroll",le.update,ye)}),_e&&$e.addEventListener("resize",le.update,ye),function(){pe&&Ie.forEach(function(Ve){Ve.removeEventListener("scroll",le.update,ye)}),_e&&$e.removeEventListener("resize",le.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It$1,data:{}},_t$1={left:"right",right:"left",bottom:"top",top:"bottom"};function be(oe){return oe.replace(/left|right|bottom|top/g,function(ie){return _t$1[ie]})}var zt$1={start:"end",end:"start"};function lt$2(oe){return oe.replace(/start|end/g,function(ie){return zt$1[ie]})}function We(oe){var ie=H$2(oe),le=ie.pageXOffset,ue=ie.pageYOffset;return{scrollLeft:le,scrollTop:ue}}function Be$2(oe){return ee$1(I$2(oe)).left+We(oe).scrollLeft}function Ft$1(oe){var ie=H$2(oe),le=I$2(oe),ue=ie.visualViewport,de=le.clientWidth,pe=le.clientHeight,he=0,_e=0;return ue&&(de=ue.width,pe=ue.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(he=ue.offsetLeft,_e=ue.offsetTop)),{width:de,height:pe,x:he+Be$2(oe),y:_e}}function Ut$1(oe){var ie,le=I$2(oe),ue=We(oe),de=(ie=oe.ownerDocument)==null?void 0:ie.body,pe=X$1(le.scrollWidth,le.clientWidth,de?de.scrollWidth:0,de?de.clientWidth:0),he=X$1(le.scrollHeight,le.clientHeight,de?de.scrollHeight:0,de?de.clientHeight:0),_e=-ue.scrollLeft+Be$2(oe),$e=-ue.scrollTop;return N$3(de||le).direction==="rtl"&&(_e+=X$1(le.clientWidth,de?de.clientWidth:0)-pe),{width:pe,height:he,x:_e,y:$e}}function Se$1(oe){var ie=N$3(oe),le=ie.overflow,ue=ie.overflowX,de=ie.overflowY;return/auto|scroll|overlay|hidden/.test(le+de+ue)}function dt$1(oe){return["html","body","#document"].indexOf(C$1(oe))>=0?oe.ownerDocument.body:B$1(oe)&&Se$1(oe)?oe:dt$1(ge(oe))}function ce(oe,ie){var le;ie===void 0&&(ie=[]);var ue=dt$1(oe),de=ue===((le=oe.ownerDocument)==null?void 0:le.body),pe=H$2(ue),he=de?[pe].concat(pe.visualViewport||[],Se$1(ue)?ue:[]):ue,_e=ie.concat(he);return de?_e:_e.concat(ce(ge(he)))}function Te$1(oe){return Object.assign({},oe,{left:oe.x,top:oe.y,right:oe.x+oe.width,bottom:oe.y+oe.height})}function Xt$1(oe){var ie=ee$1(oe);return ie.top=ie.top+oe.clientTop,ie.left=ie.left+oe.clientLeft,ie.bottom=ie.top+oe.clientHeight,ie.right=ie.left+oe.clientWidth,ie.width=oe.clientWidth,ie.height=oe.clientHeight,ie.x=ie.left,ie.y=ie.top,ie}function ht(oe,ie){return ie===je$1?Te$1(Ft$1(oe)):Q$1(ie)?Xt$1(ie):Te$1(Ut$1(I$2(oe)))}function Yt(oe){var ie=ce(ge(oe)),le=["absolute","fixed"].indexOf(N$3(oe).position)>=0,ue=le&&B$1(oe)?se$1(oe):oe;return Q$1(ue)?ie.filter(function(de){return Q$1(de)&&it(de,ue)&&C$1(de)!=="body"}):[]}function Gt(oe,ie,le){var ue=ie==="clippingParents"?Yt(oe):[].concat(ie),de=[].concat(ue,[le]),pe=de[0],he=de.reduce(function(_e,$e){var Ie=ht(oe,$e);return _e.top=X$1(Ie.top,_e.top),_e.right=ve(Ie.right,_e.right),_e.bottom=ve(Ie.bottom,_e.bottom),_e.left=X$1(Ie.left,_e.left),_e},ht(oe,pe));return he.width=he.right-he.left,he.height=he.bottom-he.top,he.x=he.left,he.y=he.top,he}function mt$1(oe){var ie=oe.reference,le=oe.element,ue=oe.placement,de=ue?q$2(ue):null,pe=ue?te(ue):null,he=ie.x+ie.width/2-le.width/2,_e=ie.y+ie.height/2-le.height/2,$e;switch(de){case E$2:$e={x:he,y:ie.y-le.height};break;case R$2:$e={x:he,y:ie.y+ie.height};break;case W$2:$e={x:ie.x+ie.width,y:_e};break;case P$3:$e={x:ie.x-le.width,y:_e};break;default:$e={x:ie.x,y:ie.y}}var Ie=de?Le$1(de):null;if(Ie!=null){var Ve=Ie==="y"?"height":"width";switch(pe){case U$2:$e[Ie]=$e[Ie]-(ie[Ve]/2-le[Ve]/2);break;case J$1:$e[Ie]=$e[Ie]+(ie[Ve]/2-le[Ve]/2);break}}return $e}function ne(oe,ie){ie===void 0&&(ie={});var le=ie,ue=le.placement,de=ue===void 0?oe.placement:ue,pe=le.boundary,he=pe===void 0?Xe:pe,_e=le.rootBoundary,$e=_e===void 0?je$1:_e,Ie=le.elementContext,Ve=Ie===void 0?K:Ie,Fe=le.altBoundary,Ue=Fe===void 0?!1:Fe,qe=le.padding,Et=qe===void 0?0:qe,At=ft$1(typeof Et!="number"?Et:ct$1(Et,G$1)),Lt=Ve===K?Ye:K,hn=oe.rects.popper,vn=oe.elements[Ue?Lt:Ve],_n=Gt(Q$1(vn)?vn:vn.contextElement||I$2(oe.elements.popper),he,$e),bn=ee$1(oe.elements.reference),Sn=mt$1({reference:bn,element:hn,strategy:"absolute",placement:de}),Cn=Te$1(Object.assign({},hn,Sn)),En=Ve===K?Cn:bn,wn={top:_n.top-En.top+At.top,bottom:En.bottom-_n.bottom+At.bottom,left:_n.left-En.left+At.left,right:En.right-_n.right+At.right},xn=oe.modifiersData.offset;if(Ve===K&&xn){var kn=xn[de];Object.keys(wn).forEach(function(Pn){var An=[W$2,R$2].indexOf(Pn)>=0?1:-1,In=[E$2,R$2].indexOf(Pn)>=0?"y":"x";wn[Pn]+=kn[In]*An})}return wn}function Jt(oe,ie){ie===void 0&&(ie={});var le=ie,ue=le.placement,de=le.boundary,pe=le.rootBoundary,he=le.padding,_e=le.flipVariations,$e=le.allowedAutoPlacements,Ie=$e===void 0?Ee:$e,Ve=te(ue),Fe=Ve?_e?De:De.filter(function(Et){return te(Et)===Ve}):G$1,Ue=Fe.filter(function(Et){return Ie.indexOf(Et)>=0});Ue.length===0&&(Ue=Fe);var qe=Ue.reduce(function(Et,At){return Et[At]=ne(oe,{placement:At,boundary:de,rootBoundary:pe,padding:he})[q$2(At)],Et},{});return Object.keys(qe).sort(function(Et,At){return qe[Et]-qe[At]})}function Kt(oe){if(q$2(oe)===me)return[];var ie=be(oe);return[lt$2(oe),ie,lt$2(ie)]}function Qt(oe){var ie=oe.state,le=oe.options,ue=oe.name;if(!ie.modifiersData[ue]._skip){for(var de=le.mainAxis,pe=de===void 0?!0:de,he=le.altAxis,_e=he===void 0?!0:he,$e=le.fallbackPlacements,Ie=le.padding,Ve=le.boundary,Fe=le.rootBoundary,Ue=le.altBoundary,qe=le.flipVariations,Et=qe===void 0?!0:qe,At=le.allowedAutoPlacements,Lt=ie.options.placement,hn=q$2(Lt),vn=hn===Lt,_n=$e||(vn||!Et?[be(Lt)]:Kt(Lt)),bn=[Lt].concat(_n).reduce(function(lr,yr){return lr.concat(q$2(yr)===me?Jt(ie,{placement:yr,boundary:Ve,rootBoundary:Fe,padding:Ie,flipVariations:Et,allowedAutoPlacements:At}):yr)},[]),Sn=ie.rects.reference,Cn=ie.rects.popper,En=new Map,wn=!0,xn=bn[0],kn=0;kn<bn.length;kn++){var Pn=bn[kn],An=q$2(Pn),In=te(Pn)===U$2,Nn=[E$2,R$2].indexOf(An)>=0,Un=Nn?"width":"height",Vn=ne(ie,{placement:Pn,boundary:Ve,rootBoundary:Fe,altBoundary:Ue,padding:Ie}),Mn=Nn?In?W$2:P$3:In?R$2:E$2;Sn[Un]>Cn[Un]&&(Mn=be(Mn));var Fn=be(Mn),Ln=[];if(pe&&Ln.push(Vn[An]<=0),_e&&Ln.push(Vn[Mn]<=0,Vn[Fn]<=0),Ln.every(function(lr){return lr})){xn=Pn,wn=!1;break}En.set(Pn,Ln)}if(wn)for(var jn=Et?3:1,Zn=function(lr){var yr=bn.find(function(ir){var qn=En.get(ir);if(qn)return qn.slice(0,lr).every(function(Yn){return Yn})});if(yr)return xn=yr,"break"},Gn=jn;Gn>0;Gn--){var Jn=Zn(Gn);if(Jn==="break")break}ie.placement!==xn&&(ie.modifiersData[ue]._skip=!0,ie.placement=xn,ie.reset=!0)}}var vt$1={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt$1(oe,ie,le){return le===void 0&&(le={x:0,y:0}),{top:oe.top-ie.height-le.y,right:oe.right-ie.width+le.x,bottom:oe.bottom-ie.height+le.y,left:oe.left-ie.width-le.x}}function yt(oe){return[E$2,W$2,R$2,P$3].some(function(ie){return oe[ie]>=0})}function Zt$1(oe){var ie=oe.state,le=oe.name,ue=ie.rects.reference,de=ie.rects.popper,pe=ie.modifiersData.preventOverflow,he=ne(ie,{elementContext:"reference"}),_e=ne(ie,{altBoundary:!0}),$e=gt$1(he,ue),Ie=gt$1(_e,de,pe),Ve=yt($e),Fe=yt(Ie);ie.modifiersData[le]={referenceClippingOffsets:$e,popperEscapeOffsets:Ie,isReferenceHidden:Ve,hasPopperEscaped:Fe},ie.attributes.popper=Object.assign({},ie.attributes.popper,{"data-popper-reference-hidden":Ve,"data-popper-escaped":Fe})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt$1};function en$2(oe,ie,le){var ue=q$2(oe),de=[P$3,E$2].indexOf(ue)>=0?-1:1,pe=typeof le=="function"?le(Object.assign({},ie,{placement:oe})):le,he=pe[0],_e=pe[1];return he=he||0,_e=(_e||0)*de,[P$3,W$2].indexOf(ue)>=0?{x:_e,y:he}:{x:he,y:_e}}function tn$1(oe){var ie=oe.state,le=oe.options,ue=oe.name,de=le.offset,pe=de===void 0?[0,0]:de,he=Ee.reduce(function(Ve,Fe){return Ve[Fe]=en$2(Fe,ie.rects,pe),Ve},{}),_e=he[ie.placement],$e=_e.x,Ie=_e.y;ie.modifiersData.popperOffsets!=null&&(ie.modifiersData.popperOffsets.x+=$e,ie.modifiersData.popperOffsets.y+=Ie),ie.modifiersData[ue]=he}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn$1};function nn(oe){var ie=oe.state,le=oe.name;ie.modifiersData[le]=mt$1({reference:ie.rects.reference,element:ie.rects.popper,strategy:"absolute",placement:ie.placement})}var He$1={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn$1(oe){return oe==="x"?"y":"x"}function on(oe){var ie=oe.state,le=oe.options,ue=oe.name,de=le.mainAxis,pe=de===void 0?!0:de,he=le.altAxis,_e=he===void 0?!1:he,$e=le.boundary,Ie=le.rootBoundary,Ve=le.altBoundary,Fe=le.padding,Ue=le.tether,qe=Ue===void 0?!0:Ue,Et=le.tetherOffset,At=Et===void 0?0:Et,Lt=ne(ie,{boundary:$e,rootBoundary:Ie,padding:Fe,altBoundary:Ve}),hn=q$2(ie.placement),vn=te(ie.placement),_n=!vn,bn=Le$1(hn),Sn=rn$1(bn),Cn=ie.modifiersData.popperOffsets,En=ie.rects.reference,wn=ie.rects.popper,xn=typeof At=="function"?At(Object.assign({},ie.rects,{placement:ie.placement})):At,kn=typeof xn=="number"?{mainAxis:xn,altAxis:xn}:Object.assign({mainAxis:0,altAxis:0},xn),Pn=ie.modifiersData.offset?ie.modifiersData.offset[ie.placement]:null,An={x:0,y:0};if(Cn){if(pe){var In,Nn=bn==="y"?E$2:P$3,Un=bn==="y"?R$2:W$2,Vn=bn==="y"?"height":"width",Mn=Cn[bn],Fn=Mn+Lt[Nn],Ln=Mn-Lt[Un],jn=qe?-wn[Vn]/2:0,Zn=vn===U$2?En[Vn]:wn[Vn],Gn=vn===U$2?-wn[Vn]:-En[Vn],Jn=ie.elements.arrow,lr=qe&&Jn?ke(Jn):{width:0,height:0},yr=ie.modifiersData["arrow#persistent"]?ie.modifiersData["arrow#persistent"].padding:st$1(),ir=yr[Nn],qn=yr[Un],Yn=fe(0,En[Vn],lr[Vn]),Xn=_n?En[Vn]/2-jn-Yn-ir-kn.mainAxis:Zn-Yn-ir-kn.mainAxis,or=_n?-En[Vn]/2+jn+Yn+qn+kn.mainAxis:Gn+Yn+qn+kn.mainAxis,_r=ie.elements.arrow&&se$1(ie.elements.arrow),Kn=_r?bn==="y"?_r.clientTop||0:_r.clientLeft||0:0,er=(In=Pn==null?void 0:Pn[bn])!=null?In:0,ar=Mn+Xn-er-Kn,gr=Mn+or-er,Er=fe(qe?ve(Fn,ar):Fn,Mn,qe?X$1(Ln,gr):Ln);Cn[bn]=Er,An[bn]=Er-Mn}if(_e){var cr,Ar=bn==="x"?E$2:P$3,br=bn==="x"?R$2:W$2,kr=Cn[Sn],mr=Sn==="y"?"height":"width",ur=kr+Lt[Ar],fr=kr-Lt[br],pr=[E$2,P$3].indexOf(hn)!==-1,Or=(cr=Pn==null?void 0:Pn[Sn])!=null?cr:0,Lr=pr?ur:kr-En[mr]-wn[mr]-Or+kn.altAxis,Vr=pr?kr+En[mr]+wn[mr]-Or-kn.altAxis:fr,Dr=qe&&pr?St$1(Lr,kr,Vr):fe(qe?Lr:ur,kr,qe?Vr:fr);Cn[Sn]=Dr,An[Sn]=Dr-kr}ie.modifiersData[ue]=An}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(oe){return{scrollLeft:oe.scrollLeft,scrollTop:oe.scrollTop}}function sn(oe){return oe===H$2(oe)||!B$1(oe)?We(oe):an(oe)}function fn(oe){var ie=oe.getBoundingClientRect(),le=Z(ie.width)/oe.offsetWidth||1,ue=Z(ie.height)/oe.offsetHeight||1;return le!==1||ue!==1}function cn(oe,ie,le){le===void 0&&(le=!1);var ue=B$1(ie),de=B$1(ie)&&fn(ie),pe=I$2(ie),he=ee$1(oe,de),_e={scrollLeft:0,scrollTop:0},$e={x:0,y:0};return(ue||!ue&&!le)&&((C$1(ie)!=="body"||Se$1(pe))&&(_e=sn(ie)),B$1(ie)?($e=ee$1(ie,!0),$e.x+=ie.clientLeft,$e.y+=ie.clientTop):pe&&($e.x=Be$2(pe))),{x:he.left+_e.scrollLeft-$e.x,y:he.top+_e.scrollTop-$e.y,width:he.width,height:he.height}}function pn(oe){var ie=new Map,le=new Set,ue=[];oe.forEach(function(pe){ie.set(pe.name,pe)});function de(pe){le.add(pe.name);var he=[].concat(pe.requires||[],pe.requiresIfExists||[]);he.forEach(function(_e){if(!le.has(_e)){var $e=ie.get(_e);$e&&de($e)}}),ue.push(pe)}return oe.forEach(function(pe){le.has(pe.name)||de(pe)}),ue}function un(oe){var ie=pn(oe);return ot$1.reduce(function(le,ue){return le.concat(ie.filter(function(de){return de.phase===ue}))},[])}function ln(oe){var ie;return function(){return ie||(ie=new Promise(function(le){Promise.resolve().then(function(){ie=void 0,le(oe())})})),ie}}function dn(oe){var ie=oe.reduce(function(le,ue){var de=le[ue.name];return le[ue.name]=de?Object.assign({},de,ue,{options:Object.assign({},de.options,ue.options),data:Object.assign({},de.data,ue.data)}):ue,le},{});return Object.keys(ie).map(function(le){return ie[le]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$2(){for(var oe=arguments.length,ie=new Array(oe),le=0;le<oe;le++)ie[le]=arguments[le];return!ie.some(function(ue){return!(ue&&typeof ue.getBoundingClientRect=="function")})}function we$1(oe){oe===void 0&&(oe={});var ie=oe,le=ie.defaultModifiers,ue=le===void 0?[]:le,de=ie.defaultOptions,pe=de===void 0?Ot:de;return function(he,_e,$e){$e===void 0&&($e=pe);var Ie={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,pe),modifiersData:{},elements:{reference:he,popper:_e},attributes:{},styles:{}},Ve=[],Fe=!1,Ue={state:Ie,setOptions:function(At){var Lt=typeof At=="function"?At(Ie.options):At;Et(),Ie.options=Object.assign({},pe,Ie.options,Lt),Ie.scrollParents={reference:Q$1(he)?ce(he):he.contextElement?ce(he.contextElement):[],popper:ce(_e)};var hn=un(dn([].concat(ue,Ie.options.modifiers)));return Ie.orderedModifiers=hn.filter(function(vn){return vn.enabled}),qe(),Ue.update()},forceUpdate:function(){if(!Fe){var At=Ie.elements,Lt=At.reference,hn=At.popper;if($t$2(Lt,hn)){Ie.rects={reference:cn(Lt,se$1(hn),Ie.options.strategy==="fixed"),popper:ke(hn)},Ie.reset=!1,Ie.placement=Ie.options.placement,Ie.orderedModifiers.forEach(function(wn){return Ie.modifiersData[wn.name]=Object.assign({},wn.data)});for(var vn=0;vn<Ie.orderedModifiers.length;vn++){if(Ie.reset===!0){Ie.reset=!1,vn=-1;continue}var _n=Ie.orderedModifiers[vn],bn=_n.fn,Sn=_n.options,Cn=Sn===void 0?{}:Sn,En=_n.name;typeof bn=="function"&&(Ie=bn({state:Ie,options:Cn,name:En,instance:Ue})||Ie)}}}},update:ln(function(){return new Promise(function(At){Ue.forceUpdate(),At(Ie)})}),destroy:function(){Et(),Fe=!0}};if(!$t$2(he,_e))return Ue;Ue.setOptions($e).then(function(At){!Fe&&$e.onFirstUpdate&&$e.onFirstUpdate(At)});function qe(){Ie.orderedModifiers.forEach(function(At){var Lt=At.name,hn=At.options,vn=hn===void 0?{}:hn,_n=At.effect;if(typeof _n=="function"){var bn=_n({state:Ie,name:Lt,instance:Ue,options:vn}),Sn=function(){};Ve.push(bn||Sn)}})}function Et(){Ve.forEach(function(At){return At()}),Ve=[]}return Ue}}we$1();var mn=[Re,He$1,Me,Ae];we$1({defaultModifiers:mn});var gn=[Re,He$1,Me,Ae,wt,vt$1,xt,pt,bt],yn=we$1({defaultModifiers:gn});const usePopper=(oe,ie,le={})=>{const ue={name:"updateState",enabled:!0,phase:"write",fn:({state:$e})=>{const Ie=deriveState($e);Object.assign(he.value,Ie)},requires:["computeStyles"]},de=computed(()=>{const{onFirstUpdate:$e,placement:Ie,strategy:Ve,modifiers:Fe}=unref(le);return{onFirstUpdate:$e,placement:Ie||"bottom",strategy:Ve||"absolute",modifiers:[...Fe||[],ue,{name:"applyStyles",enabled:!1}]}}),pe=shallowRef(),he=ref({styles:{popper:{position:unref(de).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),_e=()=>{pe.value&&(pe.value.destroy(),pe.value=void 0)};return watch(de,$e=>{const Ie=unref(pe);Ie&&Ie.setOptions($e)},{deep:!0}),watch([oe,ie],([$e,Ie])=>{_e(),!(!$e||!Ie)&&(pe.value=yn($e,Ie,unref(de)))}),onBeforeUnmount(()=>{_e()}),{state:computed(()=>{var $e;return{...(($e=unref(pe))==null?void 0:$e.state)||{}}}),styles:computed(()=>unref(he).styles),attributes:computed(()=>unref(he).attributes),update:()=>{var $e;return($e=unref(pe))==null?void 0:$e.update()},forceUpdate:()=>{var $e;return($e=unref(pe))==null?void 0:$e.forceUpdate()},instanceRef:computed(()=>unref(pe))}};function deriveState(oe){const ie=Object.keys(oe.elements),le=fromPairs(ie.map(de=>[de,oe.styles[de]||{}])),ue=fromPairs(ie.map(de=>[de,oe.attributes[de]]));return{styles:le,attributes:ue}}const useSameTarget=oe=>{if(!oe)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let ie=!1,le=!1;return{onClick:he=>{ie&&le&&oe(he),ie=le=!1},onMousedown:he=>{ie=he.target===he.currentTarget},onMouseup:he=>{le=he.target===he.currentTarget}}},useThrottleRender=(oe,ie=0)=>{if(ie===0)return oe;const le=ref(!1);let ue=0;const de=()=>{ue&&clearTimeout(ue),ue=window.setTimeout(()=>{le.value=oe.value},ie)};return onMounted(de),watch(()=>oe.value,pe=>{pe?de():le.value=pe}),le};function useTimeout(){let oe;const ie=(ue,de)=>{le(),oe=window.setTimeout(ue,de)},le=()=>window.clearTimeout(oe);return tryOnScopeDispose$1(()=>le()),{registerTimeout:ie,cancelTimeout:le}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=oe=>{const ie=useIdInjection(),le=useGetDerivedNamespace();return computed(()=>unref(oe)||`${le.value}-id-${ie.prefix}-${ie.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=oe=>{const ie=oe;ie.key===EVENT_CODE.esc&&registeredEscapeHandlers.forEach(le=>le(ie))},useEscapeKeydown=oe=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&&registeredEscapeHandlers.push(oe)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(ie=>ie!==oe),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const oe=useGetDerivedNamespace(),ie=useIdInjection(),le=computed(()=>`${oe.value}-popper-container-${ie.prefix}`),ue=computed(()=>`#${le.value}`);return{id:le,selector:ue}},createContainer=oe=>{const ie=document.createElement("div");return ie.id=oe,document.body.appendChild(ie),ie},usePopperContainer=()=>{const{id:oe,selector:ie}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector(ie.value)&&(cachedContainer=createContainer(oe.value))}),{id:oe,selector:ie}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:oe,hideAfter:ie,autoClose:le,open:ue,close:de})=>{const{registerTimeout:pe}=useTimeout(),{registerTimeout:he,cancelTimeout:_e}=useTimeout();return{onOpen:Ve=>{pe(()=>{ue(Ve);const Fe=unref(le);isNumber$4(Fe)&&Fe>0&&he(()=>{de(Ve)},Fe)},unref(oe))},onClose:Ve=>{_e(),pe(()=>{de(Ve)},unref(ie))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=oe=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:le=>{oe.value=le}})},useForwardRefDirective=oe=>({mounted(ie){oe(ie)},updated(ie){oe(ie)},unmounted(){oe(null)}}),zIndex=ref(0),defaultInitialZIndex=2e3,zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=oe=>{const ie=oe||inject(zIndexContextKey,void 0),le=computed(()=>{const pe=unref(ie);return isNumber$4(pe)?pe:defaultInitialZIndex}),ue=computed(()=>le.value+zIndex.value);return{initialZIndex:le,currentZIndex:ue,nextZIndex:()=>(zIndex.value++,ue.value)}};function t(oe){return oe.split("-")[1]}function e$1(oe){return oe==="y"?"height":"width"}function n$2(oe){return oe.split("-")[0]}function o$2(oe){return["top","bottom"].includes(n$2(oe))?"x":"y"}function i$1(oe,ie,le){let{reference:ue,floating:de}=oe;const pe=ue.x+ue.width/2-de.width/2,he=ue.y+ue.height/2-de.height/2,_e=o$2(ie),$e=e$1(_e),Ie=ue[$e]/2-de[$e]/2,Ve=_e==="x";let Fe;switch(n$2(ie)){case"top":Fe={x:pe,y:ue.y-de.height};break;case"bottom":Fe={x:pe,y:ue.y+ue.height};break;case"right":Fe={x:ue.x+ue.width,y:he};break;case"left":Fe={x:ue.x-de.width,y:he};break;default:Fe={x:ue.x,y:ue.y}}switch(t(ie)){case"start":Fe[_e]-=Ie*(le&&Ve?-1:1);break;case"end":Fe[_e]+=Ie*(le&&Ve?-1:1)}return Fe}const r$1=async(oe,ie,le)=>{const{placement:ue="bottom",strategy:de="absolute",middleware:pe=[],platform:he}=le,_e=pe.filter(Boolean),$e=await(he.isRTL==null?void 0:he.isRTL(ie));let Ie=await he.getElementRects({reference:oe,floating:ie,strategy:de}),{x:Ve,y:Fe}=i$1(Ie,ue,$e),Ue=ue,qe={},Et=0;for(let At=0;At<_e.length;At++){const{name:Lt,fn:hn}=_e[At],{x:vn,y:_n,data:bn,reset:Sn}=await hn({x:Ve,y:Fe,initialPlacement:ue,placement:Ue,strategy:de,middlewareData:qe,rects:Ie,platform:he,elements:{reference:oe,floating:ie}});Ve=vn??Ve,Fe=_n??Fe,qe={...qe,[Lt]:{...qe[Lt],...bn}},Sn&&Et<=50&&(Et++,typeof Sn=="object"&&(Sn.placement&&(Ue=Sn.placement),Sn.rects&&(Ie=Sn.rects===!0?await he.getElementRects({reference:oe,floating:ie,strategy:de}):Sn.rects),{x:Ve,y:Fe}=i$1(Ie,Ue,$e)),At=-1)}return{x:Ve,y:Fe,placement:Ue,strategy:de,middlewareData:qe}};function a$4(oe,ie){return typeof oe=="function"?oe(ie):oe}function l$2(oe){return typeof oe!="number"?function(ie){return{top:0,right:0,bottom:0,left:0,...ie}}(oe):{top:oe,right:oe,bottom:oe,left:oe}}function s$2(oe){return{...oe,top:oe.y,left:oe.x,right:oe.x+oe.width,bottom:oe.y+oe.height}}const f$3=Math.min,m$5=Math.max;function u$3(oe,ie,le){return m$5(oe,f$3(ie,le))}const g$2=oe=>({name:"arrow",options:oe,async fn(ie){const{x:le,y:ue,placement:de,rects:pe,platform:he,elements:_e}=ie,{element:$e,padding:Ie=0}=a$4(oe,ie)||{};if($e==null)return{};const Ve=l$2(Ie),Fe={x:le,y:ue},Ue=o$2(de),qe=e$1(Ue),Et=await he.getDimensions($e),At=Ue==="y",Lt=At?"top":"left",hn=At?"bottom":"right",vn=At?"clientHeight":"clientWidth",_n=pe.reference[qe]+pe.reference[Ue]-Fe[Ue]-pe.floating[qe],bn=Fe[Ue]-pe.reference[Ue],Sn=await(he.getOffsetParent==null?void 0:he.getOffsetParent($e));let Cn=Sn?Sn[vn]:0;Cn&&await(he.isElement==null?void 0:he.isElement(Sn))||(Cn=_e.floating[vn]||pe.floating[qe]);const En=_n/2-bn/2,wn=Cn/2-Et[qe]/2-1,xn=f$3(Ve[Lt],wn),kn=f$3(Ve[hn],wn),Pn=xn,An=Cn-Et[qe]-kn,In=Cn/2-Et[qe]/2+En,Nn=u$3(Pn,In,An),Un=t(de)!=null&&In!=Nn&&pe.reference[qe]/2-(In<Pn?xn:kn)-Et[qe]/2<0?In<Pn?Pn-In:An-In:0;return{[Ue]:Fe[Ue]-Un,data:{[Ue]:Nn,centerOffset:In-Nn+Un}}}}),d$3=["top","right","bottom","left"];d$3.reduce((oe,ie)=>oe.concat(ie,ie+"-start",ie+"-end"),[]);const L$3=function(oe){return oe===void 0&&(oe=0),{name:"offset",options:oe,async fn(ie){const{x:le,y:ue}=ie,de=await async function(pe,he){const{placement:_e,platform:$e,elements:Ie}=pe,Ve=await($e.isRTL==null?void 0:$e.isRTL(Ie.floating)),Fe=n$2(_e),Ue=t(_e),qe=o$2(_e)==="x",Et=["left","top"].includes(Fe)?-1:1,At=Ve&&qe?-1:1,Lt=a$4(he,pe);let{mainAxis:hn,crossAxis:vn,alignmentAxis:_n}=typeof Lt=="number"?{mainAxis:Lt,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...Lt};return Ue&&typeof _n=="number"&&(vn=Ue==="end"?-1*_n:_n),qe?{x:vn*At,y:hn*Et}:{x:hn*Et,y:vn*At}}(ie,oe);return{x:le+de.x,y:ue+de.y,data:de}}}};function n$1(oe){var ie;return((ie=oe.ownerDocument)==null?void 0:ie.defaultView)||window}function o$1(oe){return n$1(oe).getComputedStyle(oe)}function i(oe){return oe instanceof n$1(oe).Node}function r(oe){return i(oe)?(oe.nodeName||"").toLowerCase():"#document"}function c$3(oe){return oe instanceof n$1(oe).HTMLElement}function l$1(oe){return oe instanceof n$1(oe).Element}function s$1(oe){return typeof ShadowRoot<"u"&&(oe instanceof n$1(oe).ShadowRoot||oe instanceof ShadowRoot)}function f$2(oe){const{overflow:ie,overflowX:le,overflowY:ue,display:de}=o$1(oe);return/auto|scroll|overlay|hidden|clip/.test(ie+ue+le)&&!["inline","contents"].includes(de)}function u$2(oe){return["table","td","th"].includes(r(oe))}function d$2(oe){const ie=a$3(),le=o$1(oe);return le.transform!=="none"||le.perspective!=="none"||!ie&&!!le.backdropFilter&&le.backdropFilter!=="none"||!ie&&!!le.filter&&le.filter!=="none"||["transform","perspective","filter"].some(ue=>(le.willChange||"").includes(ue))||["paint","layout","strict","content"].some(ue=>(le.contain||"").includes(ue))}function a$3(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function h$2(oe){return["html","body","#document"].includes(r(oe))}const p$2=Math.min,g$1=Math.max,m$4=Math.round,w$1=oe=>({x:oe,y:oe});function x$1(oe){const ie=o$1(oe);let le=parseFloat(ie.width)||0,ue=parseFloat(ie.height)||0;const de=c$3(oe),pe=de?oe.offsetWidth:le,he=de?oe.offsetHeight:ue,_e=m$4(le)!==pe||m$4(ue)!==he;return _e&&(le=pe,ue=he),{width:le,height:ue,$:_e}}function v$1(oe){return l$1(oe)?oe:oe.contextElement}function b$2(oe){const ie=v$1(oe);if(!c$3(ie))return w$1(1);const le=ie.getBoundingClientRect(),{width:ue,height:de,$:pe}=x$1(ie);let he=(pe?m$4(le.width):le.width)/ue,_e=(pe?m$4(le.height):le.height)/de;return he&&Number.isFinite(he)||(he=1),_e&&Number.isFinite(_e)||(_e=1),{x:he,y:_e}}const L$2=w$1(0);function R$1(oe,ie,le){var ue,de;if(ie===void 0&&(ie=!0),!a$3())return L$2;const pe=oe?n$1(oe):window;return!le||ie&&le!==pe?L$2:{x:((ue=pe.visualViewport)==null?void 0:ue.offsetLeft)||0,y:((de=pe.visualViewport)==null?void 0:de.offsetTop)||0}}function T$1(oe,ie,le,ue){ie===void 0&&(ie=!1),le===void 0&&(le=!1);const de=oe.getBoundingClientRect(),pe=v$1(oe);let he=w$1(1);ie&&(ue?l$1(ue)&&(he=b$2(ue)):he=b$2(oe));const _e=R$1(pe,le,ue);let $e=(de.left+_e.x)/he.x,Ie=(de.top+_e.y)/he.y,Ve=de.width/he.x,Fe=de.height/he.y;if(pe){const Ue=n$1(pe),qe=ue&&l$1(ue)?n$1(ue):ue;let Et=Ue.frameElement;for(;Et&&ue&&qe!==Ue;){const At=b$2(Et),Lt=Et.getBoundingClientRect(),hn=getComputedStyle(Et),vn=Lt.left+(Et.clientLeft+parseFloat(hn.paddingLeft))*At.x,_n=Lt.top+(Et.clientTop+parseFloat(hn.paddingTop))*At.y;$e*=At.x,Ie*=At.y,Ve*=At.x,Fe*=At.y,$e+=vn,Ie+=_n,Et=n$1(Et).frameElement}}return s$2({width:Ve,height:Fe,x:$e,y:Ie})}function S$1(oe){return((i(oe)?oe.ownerDocument:oe.document)||window.document).documentElement}function E$1(oe){return l$1(oe)?{scrollLeft:oe.scrollLeft,scrollTop:oe.scrollTop}:{scrollLeft:oe.pageXOffset,scrollTop:oe.pageYOffset}}function C(oe){return T$1(S$1(oe)).left+E$1(oe).scrollLeft}function F$2(oe){if(r(oe)==="html")return oe;const ie=oe.assignedSlot||oe.parentNode||s$1(oe)&&oe.host||S$1(oe);return s$1(ie)?ie.host:ie}function W$1(oe){const ie=F$2(oe);return h$2(ie)?oe.ownerDocument?oe.ownerDocument.body:oe.body:c$3(ie)&&f$2(ie)?ie:W$1(ie)}function D$3(oe,ie){var le;ie===void 0&&(ie=[]);const ue=W$1(oe),de=ue===((le=oe.ownerDocument)==null?void 0:le.body),pe=n$1(ue);return de?ie.concat(pe,pe.visualViewport||[],f$2(ue)?ue:[]):ie.concat(ue,D$3(ue))}function H$1(oe,ie,le){let ue;if(ie==="viewport")ue=function(de,pe){const he=n$1(de),_e=S$1(de),$e=he.visualViewport;let Ie=_e.clientWidth,Ve=_e.clientHeight,Fe=0,Ue=0;if($e){Ie=$e.width,Ve=$e.height;const qe=a$3();(!qe||qe&&pe==="fixed")&&(Fe=$e.offsetLeft,Ue=$e.offsetTop)}return{width:Ie,height:Ve,x:Fe,y:Ue}}(oe,le);else if(ie==="document")ue=function(de){const pe=S$1(de),he=E$1(de),_e=de.ownerDocument.body,$e=g$1(pe.scrollWidth,pe.clientWidth,_e.scrollWidth,_e.clientWidth),Ie=g$1(pe.scrollHeight,pe.clientHeight,_e.scrollHeight,_e.clientHeight);let Ve=-he.scrollLeft+C(de);const Fe=-he.scrollTop;return o$1(_e).direction==="rtl"&&(Ve+=g$1(pe.clientWidth,_e.clientWidth)-$e),{width:$e,height:Ie,x:Ve,y:Fe}}(S$1(oe));else if(l$1(ie))ue=function(de,pe){const he=T$1(de,!0,pe==="fixed"),_e=he.top+de.clientTop,$e=he.left+de.clientLeft,Ie=c$3(de)?b$2(de):w$1(1);return{width:de.clientWidth*Ie.x,height:de.clientHeight*Ie.y,x:$e*Ie.x,y:_e*Ie.y}}(ie,le);else{const de=R$1(oe);ue={...ie,x:ie.x-de.x,y:ie.y-de.y}}return s$2(ue)}function O$2(oe,ie){const le=F$2(oe);return!(le===ie||!l$1(le)||h$2(le))&&(o$1(le).position==="fixed"||O$2(le,ie))}function M$1(oe,ie){return c$3(oe)&&o$1(oe).position!=="fixed"?ie?ie(oe):oe.offsetParent:null}function P$2(oe,ie){const le=n$1(oe);if(!c$3(oe))return le;let ue=M$1(oe,ie);for(;ue&&u$2(ue)&&o$1(ue).position==="static";)ue=M$1(ue,ie);return ue&&(r(ue)==="html"||r(ue)==="body"&&o$1(ue).position==="static"&&!d$2(ue))?le:ue||function(de){let pe=F$2(de);for(;c$3(pe)&&!h$2(pe);){if(d$2(pe))return pe;pe=F$2(pe)}return null}(oe)||le}function z$1(oe,ie,le){const ue=c$3(ie),de=S$1(ie),pe=le==="fixed",he=T$1(oe,!0,pe,ie);let _e={scrollLeft:0,scrollTop:0};const $e=w$1(0);if(ue||!ue&&!pe)if((r(ie)!=="body"||f$2(de))&&(_e=E$1(ie)),c$3(ie)){const Ie=T$1(ie,!0,pe,ie);$e.x=Ie.x+ie.clientLeft,$e.y=Ie.y+ie.clientTop}else de&&($e.x=C(de));return{x:he.left+_e.scrollLeft-$e.x,y:he.top+_e.scrollTop-$e.y,width:he.width,height:he.height}}const V={getClippingRect:function(oe){let{element:ie,boundary:le,rootBoundary:ue,strategy:de}=oe;const pe=le==="clippingAncestors"?function(Ie,Ve){const Fe=Ve.get(Ie);if(Fe)return Fe;let Ue=D$3(Ie).filter(Lt=>l$1(Lt)&&r(Lt)!=="body"),qe=null;const Et=o$1(Ie).position==="fixed";let At=Et?F$2(Ie):Ie;for(;l$1(At)&&!h$2(At);){const Lt=o$1(At),hn=d$2(At);hn||Lt.position!=="fixed"||(qe=null),(Et?!hn&&!qe:!hn&&Lt.position==="static"&&qe&&["absolute","fixed"].includes(qe.position)||f$2(At)&&!hn&&O$2(Ie,At))?Ue=Ue.filter(vn=>vn!==At):qe=Lt,At=F$2(At)}return Ve.set(Ie,Ue),Ue}(ie,this._c):[].concat(le),he=[...pe,ue],_e=he[0],$e=he.reduce((Ie,Ve)=>{const Fe=H$1(ie,Ve,de);return Ie.top=g$1(Fe.top,Ie.top),Ie.right=p$2(Fe.right,Ie.right),Ie.bottom=p$2(Fe.bottom,Ie.bottom),Ie.left=g$1(Fe.left,Ie.left),Ie},H$1(ie,_e,de));return{width:$e.right-$e.left,height:$e.bottom-$e.top,x:$e.left,y:$e.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(oe){let{rect:ie,offsetParent:le,strategy:ue}=oe;const de=c$3(le),pe=S$1(le);if(le===pe)return ie;let he={scrollLeft:0,scrollTop:0},_e=w$1(1);const $e=w$1(0);if((de||!de&&ue!=="fixed")&&((r(le)!=="body"||f$2(pe))&&(he=E$1(le)),c$3(le))){const Ie=T$1(le);_e=b$2(le),$e.x=Ie.x+le.clientLeft,$e.y=Ie.y+le.clientTop}return{width:ie.width*_e.x,height:ie.height*_e.y,x:ie.x*_e.x-he.scrollLeft*_e.x+$e.x,y:ie.y*_e.y-he.scrollTop*_e.y+$e.y}},isElement:l$1,getDimensions:function(oe){return x$1(oe)},getOffsetParent:P$2,getDocumentElement:S$1,getScale:b$2,async getElementRects(oe){let{reference:ie,floating:le,strategy:ue}=oe;const de=this.getOffsetParent||P$2,pe=this.getDimensions;return{reference:z$1(ie,await de(le),ue),floating:{x:0,y:0,...await pe(le)}}},getClientRects:oe=>Array.from(oe.getClientRects()),isRTL:oe=>o$1(oe).direction==="rtl"},N$2=(oe,ie,le)=>{const ue=new Map,de={platform:V,...le},pe={...de.platform,_c:ue};return r$1(oe,ie,{...de,platform:pe})};buildProps({});const unrefReference=oe=>{if(!isClient$1)return;if(!oe)return oe;const ie=unrefElement$1(oe);return ie||(isRef(oe)?ie:oe)},useFloating=({middleware:oe,placement:ie,strategy:le})=>{const ue=ref(),de=ref(),pe=ref(),he=ref(),_e=ref({}),$e={x:pe,y:he,placement:ie,strategy:le,middlewareData:_e},Ie=async()=>{if(!isClient$1)return;const Ve=unrefReference(ue),Fe=unrefElement$1(de);if(!Ve||!Fe)return;const Ue=await N$2(Ve,Fe,{placement:unref(ie),strategy:unref(le),middleware:unref(oe)});keysOf($e).forEach(qe=>{$e[qe].value=Ue[qe]})};return onMounted(()=>{watchEffect(()=>{Ie()})}),{...$e,update:Ie,referenceRef:ue,contentRef:de}},arrowMiddleware=({arrowRef:oe,padding:ie})=>({name:"arrow",options:{element:oe,padding:ie},fn(le){const ue=unref(oe);return ue?g$2({element:ue,padding:ie}).fn(le):{}}});function useCursor(oe){const ie=ref();function le(){if(oe.value==null)return;const{selectionStart:de,selectionEnd:pe,value:he}=oe.value;if(de==null||pe==null)return;const _e=he.slice(0,Math.max(0,de)),$e=he.slice(Math.max(0,pe));ie.value={selectionStart:de,selectionEnd:pe,value:he,beforeTxt:_e,afterTxt:$e}}function ue(){if(oe.value==null||ie.value==null)return;const{value:de}=oe.value,{beforeTxt:pe,afterTxt:he,selectionStart:_e}=ie.value;if(pe==null||he==null||_e==null)return;let $e=de.length;if(de.endsWith(he))$e=de.length-he.length;else if(de.startsWith(pe))$e=pe.length;else{const Ie=pe[_e-1],Ve=de.indexOf(Ie,_e-1);Ve!==-1&&($e=Ve+1)}oe.value.setSelectionRange($e,$e)}return[le,ue]}const getOrderedChildren=(oe,ie,le)=>flattedChildren(oe.subTree).filter(pe=>{var he;return isVNode$1(pe)&&((he=pe.type)==null?void 0:he.name)===ie&&!!pe.component}).map(pe=>pe.component.uid).map(pe=>le[pe]).filter(pe=>!!pe),useOrderedChildren=(oe,ie)=>{const le={},ue=shallowRef([]);return{children:ue,addChild:he=>{le[he.uid]=he,ue.value=getOrderedChildren(oe,ie,le)},removeChild:he=>{delete le[he],ue.value=ue.value.filter(_e=>_e.uid!==he)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const oe=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(oe.size)||"")},configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(oe,ie=void 0){const le=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return oe?computed(()=>{var ue,de;return(de=(ue=le.value)==null?void 0:ue[oe])!=null?de:ie}):le}function useGlobalComponentSettings(oe,ie){const le=useGlobalConfig(),ue=useNamespace(oe,computed(()=>{var _e;return((_e=le.value)==null?void 0:_e.namespace)||defaultNamespace})),de=useLocale(computed(()=>{var _e;return(_e=le.value)==null?void 0:_e.locale})),pe=useZIndex(computed(()=>{var _e;return((_e=le.value)==null?void 0:_e.zIndex)||defaultInitialZIndex})),he=computed(()=>{var _e;return unref(ie)||((_e=le.value)==null?void 0:_e.size)||""});return provideGlobalConfig(computed(()=>unref(le)||{})),{ns:ue,locale:de,zIndex:pe,size:he}}const provideGlobalConfig=(oe,ie,le=!1)=>{var ue;const de=!!getCurrentInstance(),pe=de?useGlobalConfig():void 0,he=(ue=ie==null?void 0:ie.provide)!=null?ue:de?provide:void 0;if(!he)return;const _e=computed(()=>{const $e=unref(oe);return pe!=null&&pe.value?mergeConfig$1(pe.value,$e):$e});return he(configProviderContextKey,_e),he(localeContextKey,computed(()=>_e.value.locale)),he(namespaceContextKey,computed(()=>_e.value.namespace)),he(zIndexContextKey,computed(()=>_e.value.zIndex)),he(SIZE_INJECTION_KEY,{size:computed(()=>_e.value.size||"")}),(le||!globalConfig.value)&&(globalConfig.value=_e.value),_e},mergeConfig$1=(oe,ie)=>{var le;const ue=[...new Set([...keysOf(oe),...keysOf(ie)])],de={};for(const pe of ue)de[pe]=(le=ie[pe])!=null?le:oe[pe];return de},configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(oe,{slots:ie}){watch(()=>oe.message,ue=>{Object.assign(messageConfig,ue??{})},{immediate:!0,deep:!0});const le=provideGlobalConfig(oe);return()=>renderSlot(ie,"default",{config:le==null?void 0:le.value})}}),ElConfigProvider=withInstall(ConfigProvider),version$2="2.3.6",makeInstaller=(oe=[])=>({version:version$2,install:(le,ue)=>{le[INSTALLED_KEY]||(le[INSTALLED_KEY]=!0,oe.forEach(de=>le.use(de)),ue&&provideGlobalConfig(ue,le,!0))}}),affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:oe,fixed:ie})=>isNumber$4(oe)&&isBoolean$3(ie),[CHANGE_EVENT]:oe=>isBoolean$3(oe)};var _export_sfc$1=(oe,ie)=>{const le=oe.__vccOpts||oe;for(const[ue,de]of ie)le[ue]=de;return le};const COMPONENT_NAME$n="ElAffix",__default__$1C=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2k=defineComponent({...__default__$1C,props:affixProps,emits:affixEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useNamespace("affix"),pe=shallowRef(),he=shallowRef(),_e=shallowRef(),{height:$e}=useWindowSize$1(),{height:Ie,width:Ve,top:Fe,bottom:Ue,update:qe}=useElementBounding(he,{windowScroll:!1}),Et=useElementBounding(pe),At=ref(!1),Lt=ref(0),hn=ref(0),vn=computed(()=>({height:At.value?`${Ie.value}px`:"",width:At.value?`${Ve.value}px`:""})),_n=computed(()=>{if(!At.value)return{};const Cn=ue.offset?addUnit(ue.offset):0;return{height:`${Ie.value}px`,width:`${Ve.value}px`,top:ue.position==="top"?Cn:"",bottom:ue.position==="bottom"?Cn:"",transform:hn.value?`translateY(${hn.value}px)`:"",zIndex:ue.zIndex}}),bn=()=>{if(_e.value)if(Lt.value=_e.value instanceof Window?document.documentElement.scrollTop:_e.value.scrollTop||0,ue.position==="top")if(ue.target){const Cn=Et.bottom.value-ue.offset-Ie.value;At.value=ue.offset>Fe.value&&Et.bottom.value>0,hn.value=Cn<0?Cn:0}else At.value=ue.offset>Fe.value;else if(ue.target){const Cn=$e.value-Et.top.value-ue.offset-Ie.value;At.value=$e.value-ue.offset<Ue.value&&$e.value>Et.top.value,hn.value=Cn<0?-Cn:0}else At.value=$e.value-ue.offset<Ue.value},Sn=()=>{qe(),le("scroll",{scrollTop:Lt.value,fixed:At.value})};return watch(At,Cn=>le("change",Cn)),onMounted(()=>{var Cn;ue.target?(pe.value=(Cn=document.querySelector(ue.target))!=null?Cn:void 0,pe.value||throwError$1(COMPONENT_NAME$n,`Target is not existed: ${ue.target}`)):pe.value=document.documentElement,_e.value=getScrollContainer(he.value,!0),qe()}),useEventListener$1(_e,"scroll",Sn),watchEffect(bn),ie({update:bn,updateRoot:qe}),(Cn,En)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:he,class:normalizeClass(unref(de).b()),style:normalizeStyle$1(unref(vn))},[createBaseVNode("div",{class:normalizeClass({[unref(de).m("fixed")]:At.value}),style:normalizeStyle$1(unref(_n))},[renderSlot(Cn.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1B=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2j=defineComponent({...__default__$1B,props:iconProps,setup(oe){const ie=oe,le=useNamespace("icon"),ue=computed(()=>{const{size:de,color:pe}=ie;return!de&&!pe?{}:{fontSize:isUndefined$1(de)?void 0:addUnit(de),"--color":pe}});return(de,pe)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(le).b(),style:unref(ue)},de.$attrs),[renderSlot(de.$slots,"default")],16))}});var Icon$2=_export_sfc$1(_sfc_main$2j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall(Icon$2),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:oe=>oe instanceof MouseEvent},__default__$1A=defineComponent({name:"ElAlert"}),_sfc_main$2i=defineComponent({...__default__$1A,props:alertProps,emits:alertEmits,setup(oe,{emit:ie}){const le=oe,{Close:ue}=TypeComponents,de=useSlots(),pe=useNamespace("alert"),he=ref(!0),_e=computed(()=>TypeComponentsMap[le.type]),$e=computed(()=>[pe.e("icon"),{[pe.is("big")]:!!le.description||!!de.default}]),Ie=computed(()=>({[pe.is("bold")]:le.description||de.default})),Ve=Fe=>{he.value=!1,ie("close",Fe)};return(Fe,Ue)=>(openBlock(),createBlock(Transition,{name:unref(pe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(pe).b(),unref(pe).m(Fe.type),unref(pe).is("center",Fe.center),unref(pe).is(Fe.effect)]),role:"alert"},[Fe.showIcon&&unref(_e)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref($e))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_e))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(pe).e("content"))},[Fe.title||Fe.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(pe).e("title"),unref(Ie)])},[renderSlot(Fe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Fe.title),1)])],2)):createCommentVNode("v-if",!0),Fe.$slots.default||Fe.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(pe).e("description"))},[renderSlot(Fe.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Fe.description),1)])],2)):createCommentVNode("v-if",!0),Fe.closable?(openBlock(),createElementBlock(Fragment,{key:2},[Fe.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(pe).e("close-btn"),unref(pe).is("customed")]),onClick:Ve},toDisplayString$1(Fe.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(pe).e("close-btn")),onClick:Ve},{default:withCtx(()=>[createVNode(unref(ue))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,he.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(oe,ie={})=>{const le=ref(void 0),ue=ie.prop?le:useProp("size"),de=ie.global?le:useGlobalSize(),pe=ie.form?{size:void 0}:inject(formContextKey,void 0),he=ie.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>ue.value||unref(oe)||(he==null?void 0:he.size)||(pe==null?void 0:pe.size)||de.value||"")},useFormDisabled=oe=>{const ie=useProp("disabled"),le=inject(formContextKey,void 0);return computed(()=>ie.value||unref(oe)||(le==null?void 0:le.disabled)||!1)},useFormItem=()=>{const oe=inject(formContextKey,void 0),ie=inject(formItemContextKey,void 0);return{form:oe,formItem:ie}},useFormItemInputId=(oe,{formItemContext:ie,disableIdGeneration:le,disableIdManagement:ue})=>{le||(le=ref(!1)),ue||(ue=ref(!1));const de=ref();let pe;const he=computed(()=>{var _e;return!!(!oe.label&&ie&&ie.inputIds&&((_e=ie.inputIds)==null?void 0:_e.length)<=1)});return onMounted(()=>{pe=watch([toRef$1(oe,"id"),le],([_e,$e])=>{const Ie=_e??($e?void 0:useId().value);Ie!==de.value&&(ie!=null&&ie.removeInputId&&(de.value&&ie.removeInputId(de.value),!(ue!=null&&ue.value)&&!$e&&Ie&&ie.addInputId(Ie)),de.value=Ie)},{immediate:!0})}),onUnmounted(()=>{pe&&pe(),ie!=null&&ie.removeInputId&&de.value&&ie.removeInputId(de.value)}),{isLabeledByFormItem:he,inputId:de}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(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:{type:Boolean,default:!1},scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(oe,ie,le)=>(isArray$c(oe)||isString$6(oe))&&isBoolean$3(ie)&&isString$6(le)};function useFormLabelWidth(){const oe=ref([]),ie=computed(()=>{if(!oe.value.length)return"0";const pe=Math.max(...oe.value);return pe?`${pe}px`:""});function le(pe){const he=oe.value.indexOf(pe);return he===-1&&ie.value,he}function ue(pe,he){if(pe&&he){const _e=le(he);oe.value.splice(_e,1,pe)}else pe&&oe.value.push(pe)}function de(pe){const he=le(pe);he>-1&&oe.value.splice(he,1)}return{autoLabelWidth:ie,registerLabelWidth:ue,deregisterLabelWidth:de}}const filterFields=(oe,ie)=>{const le=castArray$1(ie);return le.length>0?oe.filter(ue=>ue.prop&&le.includes(ue.prop)):oe},COMPONENT_NAME$m="ElForm",__default__$1z=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2h=defineComponent({...__default__$1z,props:formProps,emits:formEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=[],pe=useFormSize(),he=useNamespace("form"),_e=computed(()=>{const{labelPosition:vn,inline:_n}=ue;return[he.b(),he.m(pe.value||"default"),{[he.m(`label-${vn}`)]:vn,[he.m("inline")]:_n}]}),$e=vn=>{de.push(vn)},Ie=vn=>{vn.prop&&de.splice(de.indexOf(vn),1)},Ve=(vn=[])=>{ue.model&&filterFields(de,vn).forEach(_n=>_n.resetField())},Fe=(vn=[])=>{filterFields(de,vn).forEach(_n=>_n.clearValidate())},Ue=computed(()=>!!ue.model),qe=vn=>{if(de.length===0)return[];const _n=filterFields(de,vn);return _n.length?_n:[]},Et=async vn=>Lt(void 0,vn),At=async(vn=[])=>{if(!Ue.value)return!1;const _n=qe(vn);if(_n.length===0)return!0;let bn={};for(const Sn of _n)try{await Sn.validate("")}catch(Cn){bn={...bn,...Cn}}return Object.keys(bn).length===0?!0:Promise.reject(bn)},Lt=async(vn=[],_n)=>{const bn=!isFunction$5(_n);try{const Sn=await At(vn);return Sn===!0&&(_n==null||_n(Sn)),Sn}catch(Sn){if(Sn instanceof Error)throw Sn;const Cn=Sn;return ue.scrollToError&&hn(Object.keys(Cn)[0]),_n==null||_n(!1,Cn),bn&&Promise.reject(Cn)}},hn=vn=>{var _n;const bn=filterFields(de,vn)[0];bn&&((_n=bn.$el)==null||_n.scrollIntoView(ue.scrollIntoViewOptions))};return watch(()=>ue.rules,()=>{ue.validateOnRuleChange&&Et().catch(vn=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(ue),emit:le,resetFields:Ve,clearValidate:Fe,validateField:Lt,addField:$e,removeField:Ie,...useFormLabelWidth()})),ie({validate:Et,validateField:Lt,resetFields:Ve,clearValidate:Fe,scrollToField:hn}),(vn,_n)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(_e))},[renderSlot(vn.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function _extends(){return _extends=Object.assign?Object.assign.bind():function(oe){for(var ie=1;ie<arguments.length;ie++){var le=arguments[ie];for(var ue in le)Object.prototype.hasOwnProperty.call(le,ue)&&(oe[ue]=le[ue])}return oe},_extends.apply(this,arguments)}function _inheritsLoose(oe,ie){oe.prototype=Object.create(ie.prototype),oe.prototype.constructor=oe,_setPrototypeOf(oe,ie)}function _getPrototypeOf(oe){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(le){return le.__proto__||Object.getPrototypeOf(le)},_getPrototypeOf(oe)}function _setPrototypeOf(oe,ie){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ue,de){return ue.__proto__=de,ue},_setPrototypeOf(oe,ie)}function _isNativeReflectConstruct(){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 _construct(oe,ie,le){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(de,pe,he){var _e=[null];_e.push.apply(_e,pe);var $e=Function.bind.apply(de,_e),Ie=new $e;return he&&_setPrototypeOf(Ie,he.prototype),Ie},_construct.apply(null,arguments)}function _isNativeFunction(oe){return Function.toString.call(oe).indexOf("[native code]")!==-1}function _wrapNativeSuper(oe){var ie=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(ue){if(ue===null||!_isNativeFunction(ue))return ue;if(typeof ue!="function")throw new TypeError("Super expression must either be null or a function");if(typeof ie<"u"){if(ie.has(ue))return ie.get(ue);ie.set(ue,de)}function de(){return _construct(ue,arguments,_getPrototypeOf(this).constructor)}return de.prototype=Object.create(ue.prototype,{constructor:{value:de,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(de,ue)},_wrapNativeSuper(oe)}var formatRegExp=/%[sdj%]/g,warning$1=function(){};typeof process<"u"&&process.env;function convertFieldsError(oe){if(!oe||!oe.length)return null;var ie={};return oe.forEach(function(le){var ue=le.field;ie[ue]=ie[ue]||[],ie[ue].push(le)}),ie}function format$2(oe){for(var ie=arguments.length,le=new Array(ie>1?ie-1:0),ue=1;ue<ie;ue++)le[ue-1]=arguments[ue];var de=0,pe=le.length;if(typeof oe=="function")return oe.apply(null,le);if(typeof oe=="string"){var he=oe.replace(formatRegExp,function(_e){if(_e==="%%")return"%";if(de>=pe)return _e;switch(_e){case"%s":return String(le[de++]);case"%d":return Number(le[de++]);case"%j":try{return JSON.stringify(le[de++])}catch{return"[Circular]"}break;default:return _e}});return he}return oe}function isNativeStringType(oe){return oe==="string"||oe==="url"||oe==="hex"||oe==="email"||oe==="date"||oe==="pattern"}function isEmptyValue(oe,ie){return!!(oe==null||ie==="array"&&Array.isArray(oe)&&!oe.length||isNativeStringType(ie)&&typeof oe=="string"&&!oe)}function asyncParallelArray(oe,ie,le){var ue=[],de=0,pe=oe.length;function he(_e){ue.push.apply(ue,_e||[]),de++,de===pe&&le(ue)}oe.forEach(function(_e){ie(_e,he)})}function asyncSerialArray(oe,ie,le){var ue=0,de=oe.length;function pe(he){if(he&&he.length){le(he);return}var _e=ue;ue=ue+1,_e<de?ie(oe[_e],pe):le([])}pe([])}function flattenObjArr(oe){var ie=[];return Object.keys(oe).forEach(function(le){ie.push.apply(ie,oe[le]||[])}),ie}var AsyncValidationError=function(oe){_inheritsLoose(ie,oe);function ie(le,ue){var de;return de=oe.call(this,"Async Validation Error")||this,de.errors=le,de.fields=ue,de}return ie}(_wrapNativeSuper(Error));function asyncMap(oe,ie,le,ue,de){if(ie.first){var pe=new Promise(function(Ue,qe){var Et=function(hn){return ue(hn),hn.length?qe(new AsyncValidationError(hn,convertFieldsError(hn))):Ue(de)},At=flattenObjArr(oe);asyncSerialArray(At,le,Et)});return pe.catch(function(Ue){return Ue}),pe}var he=ie.firstFields===!0?Object.keys(oe):ie.firstFields||[],_e=Object.keys(oe),$e=_e.length,Ie=0,Ve=[],Fe=new Promise(function(Ue,qe){var Et=function(Lt){if(Ve.push.apply(Ve,Lt),Ie++,Ie===$e)return ue(Ve),Ve.length?qe(new AsyncValidationError(Ve,convertFieldsError(Ve))):Ue(de)};_e.length||(ue(Ve),Ue(de)),_e.forEach(function(At){var Lt=oe[At];he.indexOf(At)!==-1?asyncSerialArray(Lt,le,Et):asyncParallelArray(Lt,le,Et)})});return Fe.catch(function(Ue){return Ue}),Fe}function isErrorObj(oe){return!!(oe&&oe.message!==void 0)}function getValue(oe,ie){for(var le=oe,ue=0;ue<ie.length;ue++){if(le==null)return le;le=le[ie[ue]]}return le}function complementError(oe,ie){return function(le){var ue;return oe.fullFields?ue=getValue(ie,oe.fullFields):ue=ie[le.field||oe.fullField],isErrorObj(le)?(le.field=le.field||oe.fullField,le.fieldValue=ue,le):{message:typeof le=="function"?le():le,fieldValue:ue,field:le.field||oe.fullField}}}function deepMerge(oe,ie){if(ie){for(var le in ie)if(ie.hasOwnProperty(le)){var ue=ie[le];typeof ue=="object"&&typeof oe[le]=="object"?oe[le]=_extends({},oe[le],ue):oe[le]=ue}}return oe}var required$1=function(ie,le,ue,de,pe,he){ie.required&&(!ue.hasOwnProperty(ie.field)||isEmptyValue(le,he||ie.type))&&de.push(format$2(pe.messages.required,ie.fullField))},whitespace=function(ie,le,ue,de,pe){(/^\s+$/.test(le)||le==="")&&de.push(format$2(pe.messages.whitespace,ie.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var oe="[a-fA-F\\d:]",ie=function(bn){return bn&&bn.includeBoundaries?"(?:(?<=\\s|^)(?="+oe+")|(?<="+oe+")(?=\\s|$))":""},le="(?: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}",ue="[a-fA-F\\d]{1,4}",de=(`
(?:
(?:`+ue+":){7}(?:"+ue+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+ue+":){6}(?:"+le+"|:"+ue+`|:)| // 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
(?:`+ue+":){5}(?::"+le+"|(?::"+ue+`){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
(?:`+ue+":){4}(?:(?::"+ue+"){0,1}:"+le+"|(?::"+ue+`){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
(?:`+ue+":){3}(?:(?::"+ue+"){0,2}:"+le+"|(?::"+ue+`){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
(?:`+ue+":){2}(?:(?::"+ue+"){0,3}:"+le+"|(?::"+ue+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+ue+":){1}(?:(?::"+ue+"){0,4}:"+le+"|(?::"+ue+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+ue+"){0,5}:"+le+"|(?::"+ue+`){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(),pe=new RegExp("(?:^"+le+"$)|(?:^"+de+"$)"),he=new RegExp("^"+le+"$"),_e=new RegExp("^"+de+"$"),$e=function(bn){return bn&&bn.exact?pe:new RegExp("(?:"+ie(bn)+le+ie(bn)+")|(?:"+ie(bn)+de+ie(bn)+")","g")};$e.v4=function(_n){return _n&&_n.exact?he:new RegExp(""+ie(_n)+le+ie(_n),"g")},$e.v6=function(_n){return _n&&_n.exact?_e:new RegExp(""+ie(_n)+de+ie(_n),"g")};var Ie="(?:(?:[a-z]+:)?//)",Ve="(?:\\S+(?::\\S*)?@)?",Fe=$e.v4().source,Ue=$e.v6().source,qe="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Et="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",At="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Lt="(?::\\d{2,5})?",hn='(?:[/?#][^\\s"]*)?',vn="(?:"+Ie+"|www\\.)"+Ve+"(?:localhost|"+Fe+"|"+Ue+"|"+qe+Et+At+")"+Lt+hn;return urlReg=new RegExp("(?:^"+vn+"$)","i"),urlReg},pattern$2={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},types$1={integer:function(ie){return types$1.number(ie)&&parseInt(ie,10)===ie},float:function(ie){return types$1.number(ie)&&!types$1.integer(ie)},array:function(ie){return Array.isArray(ie)},regexp:function(ie){if(ie instanceof RegExp)return!0;try{return!!new RegExp(ie)}catch{return!1}},date:function(ie){return typeof ie.getTime=="function"&&typeof ie.getMonth=="function"&&typeof ie.getYear=="function"&&!isNaN(ie.getTime())},number:function(ie){return isNaN(ie)?!1:typeof ie=="number"},object:function(ie){return typeof ie=="object"&&!types$1.array(ie)},method:function(ie){return typeof ie=="function"},email:function(ie){return typeof ie=="string"&&ie.length<=320&&!!ie.match(pattern$2.email)},url:function(ie){return typeof ie=="string"&&ie.length<=2048&&!!ie.match(getUrlRegex())},hex:function(ie){return typeof ie=="string"&&!!ie.match(pattern$2.hex)}},type$1=function(ie,le,ue,de,pe){if(ie.required&&le===void 0){required$1(ie,le,ue,de,pe);return}var he=["integer","float","array","regexp","object","method","email","number","date","url","hex"],_e=ie.type;he.indexOf(_e)>-1?types$1[_e](le)||de.push(format$2(pe.messages.types[_e],ie.fullField,ie.type)):_e&&typeof le!==ie.type&&de.push(format$2(pe.messages.types[_e],ie.fullField,ie.type))},range=function(ie,le,ue,de,pe){var he=typeof ie.len=="number",_e=typeof ie.min=="number",$e=typeof ie.max=="number",Ie=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ve=le,Fe=null,Ue=typeof le=="number",qe=typeof le=="string",Et=Array.isArray(le);if(Ue?Fe="number":qe?Fe="string":Et&&(Fe="array"),!Fe)return!1;Et&&(Ve=le.length),qe&&(Ve=le.replace(Ie,"_").length),he?Ve!==ie.len&&de.push(format$2(pe.messages[Fe].len,ie.fullField,ie.len)):_e&&!$e&&Ve<ie.min?de.push(format$2(pe.messages[Fe].min,ie.fullField,ie.min)):$e&&!_e&&Ve>ie.max?de.push(format$2(pe.messages[Fe].max,ie.fullField,ie.max)):_e&&$e&&(Ve<ie.min||Ve>ie.max)&&de.push(format$2(pe.messages[Fe].range,ie.fullField,ie.min,ie.max))},ENUM$1="enum",enumerable$1=function(ie,le,ue,de,pe){ie[ENUM$1]=Array.isArray(ie[ENUM$1])?ie[ENUM$1]:[],ie[ENUM$1].indexOf(le)===-1&&de.push(format$2(pe.messages[ENUM$1],ie.fullField,ie[ENUM$1].join(", ")))},pattern$1=function(ie,le,ue,de,pe){if(ie.pattern){if(ie.pattern instanceof RegExp)ie.pattern.lastIndex=0,ie.pattern.test(le)||de.push(format$2(pe.messages.pattern.mismatch,ie.fullField,le,ie.pattern));else if(typeof ie.pattern=="string"){var he=new RegExp(ie.pattern);he.test(le)||de.push(format$2(pe.messages.pattern.mismatch,ie.fullField,le,ie.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le,"string")&&!ie.required)return ue();rules.required(ie,le,de,he,pe,"string"),isEmptyValue(le,"string")||(rules.type(ie,le,de,he,pe),rules.range(ie,le,de,he,pe),rules.pattern(ie,le,de,he,pe),ie.whitespace===!0&&rules.whitespace(ie,le,de,he,pe))}ue(he)},method=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&rules.type(ie,le,de,he,pe)}ue(he)},number$3=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(le===""&&(le=void 0),isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&(rules.type(ie,le,de,he,pe),rules.range(ie,le,de,he,pe))}ue(he)},_boolean=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&rules.type(ie,le,de,he,pe)}ue(he)},regexp$1=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),isEmptyValue(le)||rules.type(ie,le,de,he,pe)}ue(he)},integer=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&(rules.type(ie,le,de,he,pe),rules.range(ie,le,de,he,pe))}ue(he)},floatFn=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&(rules.type(ie,le,de,he,pe),rules.range(ie,le,de,he,pe))}ue(he)},array=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(le==null&&!ie.required)return ue();rules.required(ie,le,de,he,pe,"array"),le!=null&&(rules.type(ie,le,de,he,pe),rules.range(ie,le,de,he,pe))}ue(he)},object=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&rules.type(ie,le,de,he,pe)}ue(he)},ENUM="enum",enumerable=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe),le!==void 0&&rules[ENUM](ie,le,de,he,pe)}ue(he)},pattern=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le,"string")&&!ie.required)return ue();rules.required(ie,le,de,he,pe),isEmptyValue(le,"string")||rules.pattern(ie,le,de,he,pe)}ue(he)},date$1=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le,"date")&&!ie.required)return ue();if(rules.required(ie,le,de,he,pe),!isEmptyValue(le,"date")){var $e;le instanceof Date?$e=le:$e=new Date(le),rules.type(ie,$e,de,he,pe),$e&&rules.range(ie,$e.getTime(),de,he,pe)}}ue(he)},required=function(ie,le,ue,de,pe){var he=[],_e=Array.isArray(le)?"array":typeof le;rules.required(ie,le,de,he,pe,_e),ue(he)},type=function(ie,le,ue,de,pe){var he=ie.type,_e=[],$e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if($e){if(isEmptyValue(le,he)&&!ie.required)return ue();rules.required(ie,le,de,_e,pe,he),isEmptyValue(le,he)||rules.type(ie,le,de,_e,pe)}ue(_e)},any=function(ie,le,ue,de,pe){var he=[],_e=ie.required||!ie.required&&de.hasOwnProperty(ie.field);if(_e){if(isEmptyValue(le)&&!ie.required)return ue();rules.required(ie,le,de,he,pe)}ue(he)},validators$2={string,method,number:number$3,boolean:_boolean,regexp:regexp$1,integer,float:floatFn,array,object,enum:enumerable,pattern,date:date$1,url:type,hex:type,email:type,required,any};function newMessages(){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 ie=JSON.parse(JSON.stringify(this));return ie.clone=this.clone,ie}}}var messages=newMessages(),Schema=function(){function oe(le){this.rules=null,this._messages=messages,this.define(le)}var ie=oe.prototype;return ie.define=function(ue){var de=this;if(!ue)throw new Error("Cannot configure a schema with no rules");if(typeof ue!="object"||Array.isArray(ue))throw new Error("Rules must be an object");this.rules={},Object.keys(ue).forEach(function(pe){var he=ue[pe];de.rules[pe]=Array.isArray(he)?he:[he]})},ie.messages=function(ue){return ue&&(this._messages=deepMerge(newMessages(),ue)),this._messages},ie.validate=function(ue,de,pe){var he=this;de===void 0&&(de={}),pe===void 0&&(pe=function(){});var _e=ue,$e=de,Ie=pe;if(typeof $e=="function"&&(Ie=$e,$e={}),!this.rules||Object.keys(this.rules).length===0)return Ie&&Ie(null,_e),Promise.resolve(_e);function Ve(At){var Lt=[],hn={};function vn(bn){if(Array.isArray(bn)){var Sn;Lt=(Sn=Lt).concat.apply(Sn,bn)}else Lt.push(bn)}for(var _n=0;_n<At.length;_n++)vn(At[_n]);Lt.length?(hn=convertFieldsError(Lt),Ie(Lt,hn)):Ie(null,_e)}if($e.messages){var Fe=this.messages();Fe===messages&&(Fe=newMessages()),deepMerge(Fe,$e.messages),$e.messages=Fe}else $e.messages=this.messages();var Ue={},qe=$e.keys||Object.keys(this.rules);qe.forEach(function(At){var Lt=he.rules[At],hn=_e[At];Lt.forEach(function(vn){var _n=vn;typeof _n.transform=="function"&&(_e===ue&&(_e=_extends({},_e)),hn=_e[At]=_n.transform(hn)),typeof _n=="function"?_n={validator:_n}:_n=_extends({},_n),_n.validator=he.getValidationMethod(_n),_n.validator&&(_n.field=At,_n.fullField=_n.fullField||At,_n.type=he.getType(_n),Ue[At]=Ue[At]||[],Ue[At].push({rule:_n,value:hn,source:_e,field:At}))})});var Et={};return asyncMap(Ue,$e,function(At,Lt){var hn=At.rule,vn=(hn.type==="object"||hn.type==="array")&&(typeof hn.fields=="object"||typeof hn.defaultField=="object");vn=vn&&(hn.required||!hn.required&&At.value),hn.field=At.field;function _n(Cn,En){return _extends({},En,{fullField:hn.fullField+"."+Cn,fullFields:hn.fullFields?[].concat(hn.fullFields,[Cn]):[Cn]})}function bn(Cn){Cn===void 0&&(Cn=[]);var En=Array.isArray(Cn)?Cn:[Cn];!$e.suppressWarning&&En.length&&oe.warning("async-validator:",En),En.length&&hn.message!==void 0&&(En=[].concat(hn.message));var wn=En.map(complementError(hn,_e));if($e.first&&wn.length)return Et[hn.field]=1,Lt(wn);if(!vn)Lt(wn);else{if(hn.required&&!At.value)return hn.message!==void 0?wn=[].concat(hn.message).map(complementError(hn,_e)):$e.error&&(wn=[$e.error(hn,format$2($e.messages.required,hn.field))]),Lt(wn);var xn={};hn.defaultField&&Object.keys(At.value).map(function(An){xn[An]=hn.defaultField}),xn=_extends({},xn,At.rule.fields);var kn={};Object.keys(xn).forEach(function(An){var In=xn[An],Nn=Array.isArray(In)?In:[In];kn[An]=Nn.map(_n.bind(null,An))});var Pn=new oe(kn);Pn.messages($e.messages),At.rule.options&&(At.rule.options.messages=$e.messages,At.rule.options.error=$e.error),Pn.validate(At.value,At.rule.options||$e,function(An){var In=[];wn&&wn.length&&In.push.apply(In,wn),An&&An.length&&In.push.apply(In,An),Lt(In.length?In:null)})}}var Sn;if(hn.asyncValidator)Sn=hn.asyncValidator(hn,At.value,bn,At.source,$e);else if(hn.validator){try{Sn=hn.validator(hn,At.value,bn,At.source,$e)}catch(Cn){console.error==null||console.error(Cn),$e.suppressValidatorError||setTimeout(function(){throw Cn},0),bn(Cn.message)}Sn===!0?bn():Sn===!1?bn(typeof hn.message=="function"?hn.message(hn.fullField||hn.field):hn.message||(hn.fullField||hn.field)+" fails"):Sn instanceof Array?bn(Sn):Sn instanceof Error&&bn(Sn.message)}Sn&&Sn.then&&Sn.then(function(){return bn()},function(Cn){return bn(Cn)})},function(At){Ve(At)},_e)},ie.getType=function(ue){if(ue.type===void 0&&ue.pattern instanceof RegExp&&(ue.type="pattern"),typeof ue.validator!="function"&&ue.type&&!validators$2.hasOwnProperty(ue.type))throw new Error(format$2("Unknown rule type %s",ue.type));return ue.type||"string"},ie.getValidationMethod=function(ue){if(typeof ue.validator=="function")return ue.validator;var de=Object.keys(ue),pe=de.indexOf("message");return pe!==-1&&de.splice(pe,1),de.length===1&&de[0]==="required"?validators$2.required:validators$2[this.getType(ue)]||void 0},oe}();Schema.register=function(ie,le){if(typeof le!="function")throw new Error("Cannot register a validator by type, validator is not a function");validators$2[ie]=le};Schema.warning=warning$1;Schema.messages=messages;Schema.validators=validators$2;const formItemValidateStates=["","error","validating","success"],formItemProps=buildProps({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:definePropType([String,Array])},required:{type:Boolean,default:void 0},rules:{type:definePropType([Object,Array])},error:String,validateStatus:{type:String,values:formItemValidateStates},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:componentSizes}}),COMPONENT_NAME$l="ElLabelWrap";var FormLabelWrap=defineComponent({name:COMPONENT_NAME$l,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(oe,{slots:ie}){const le=inject(formContextKey,void 0),ue=inject(formItemContextKey);ue||throwError$1(COMPONENT_NAME$l,"usage: <el-form-item><label-wrap /></el-form-item>");const de=useNamespace("form"),pe=ref(),he=ref(0),_e=()=>{var Ve;if((Ve=pe.value)!=null&&Ve.firstElementChild){const Fe=window.getComputedStyle(pe.value.firstElementChild).width;return Math.ceil(Number.parseFloat(Fe))}else return 0},$e=(Ve="update")=>{nextTick(()=>{ie.default&&oe.isAutoWidth&&(Ve==="update"?he.value=_e():Ve==="remove"&&(le==null||le.deregisterLabelWidth(he.value)))})},Ie=()=>$e("update");return onMounted(()=>{Ie()}),onBeforeUnmount(()=>{$e("remove")}),onUpdated(()=>Ie()),watch(he,(Ve,Fe)=>{oe.updateAll&&(le==null||le.registerLabelWidth(Ve,Fe))}),useResizeObserver$1(computed(()=>{var Ve,Fe;return(Fe=(Ve=pe.value)==null?void 0:Ve.firstElementChild)!=null?Fe:null}),Ie),()=>{var Ve,Fe;if(!ie)return null;const{isAutoWidth:Ue}=oe;if(Ue){const qe=le==null?void 0:le.autoLabelWidth,Et=ue==null?void 0:ue.hasLabel,At={};if(Et&&qe&&qe!=="auto"){const Lt=Math.max(0,Number.parseInt(qe,10)-he.value),hn=le.labelPosition==="left"?"marginRight":"marginLeft";Lt&&(At[hn]=`${Lt}px`)}return createVNode("div",{ref:pe,class:[de.be("item","label-wrap")],style:At},[(Ve=ie.default)==null?void 0:Ve.call(ie)])}else return createVNode(Fragment,{ref:pe},[(Fe=ie.default)==null?void 0:Fe.call(ie)])}}});const _hoisted_1$14=["role","aria-labelledby"],__default__$1y=defineComponent({name:"ElFormItem"}),_sfc_main$2g=defineComponent({...__default__$1y,props:formItemProps,setup(oe,{expose:ie}){const le=oe,ue=useSlots(),de=inject(formContextKey,void 0),pe=inject(formItemContextKey,void 0),he=useFormSize(void 0,{formItem:!1}),_e=useNamespace("form-item"),$e=useId().value,Ie=ref([]),Ve=ref(""),Fe=refDebounced(Ve,100),Ue=ref(""),qe=ref();let Et,At=!1;const Lt=computed(()=>{if((de==null?void 0:de.labelPosition)==="top")return{};const qn=addUnit(le.labelWidth||(de==null?void 0:de.labelWidth)||"");return qn?{width:qn}:{}}),hn=computed(()=>{if((de==null?void 0:de.labelPosition)==="top"||de!=null&&de.inline)return{};if(!le.label&&!le.labelWidth&&xn)return{};const qn=addUnit(le.labelWidth||(de==null?void 0:de.labelWidth)||"");return!le.label&&!ue.label?{marginLeft:qn}:{}}),vn=computed(()=>[_e.b(),_e.m(he.value),_e.is("error",Ve.value==="error"),_e.is("validating",Ve.value==="validating"),_e.is("success",Ve.value==="success"),_e.is("required",Nn.value||le.required),_e.is("no-asterisk",de==null?void 0:de.hideRequiredAsterisk),(de==null?void 0:de.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[_e.m("feedback")]:de==null?void 0:de.statusIcon}]),_n=computed(()=>isBoolean$3(le.inlineMessage)?le.inlineMessage:(de==null?void 0:de.inlineMessage)||!1),bn=computed(()=>[_e.e("error"),{[_e.em("error","inline")]:_n.value}]),Sn=computed(()=>le.prop?isString$6(le.prop)?le.prop:le.prop.join("."):""),Cn=computed(()=>!!(le.label||ue.label)),En=computed(()=>le.for||Ie.value.length===1?Ie.value[0]:void 0),wn=computed(()=>!En.value&&Cn.value),xn=!!pe,kn=computed(()=>{const qn=de==null?void 0:de.model;if(!(!qn||!le.prop))return getProp(qn,le.prop).value}),Pn=computed(()=>{const{required:qn}=le,Yn=[];le.rules&&Yn.push(...castArray$1(le.rules));const Xn=de==null?void 0:de.rules;if(Xn&&le.prop){const or=getProp(Xn,le.prop).value;or&&Yn.push(...castArray$1(or))}if(qn!==void 0){const or=Yn.map((_r,Kn)=>[_r,Kn]).filter(([_r])=>Object.keys(_r).includes("required"));if(or.length>0)for(const[_r,Kn]of or)_r.required!==qn&&(Yn[Kn]={..._r,required:qn});else Yn.push({required:qn})}return Yn}),An=computed(()=>Pn.value.length>0),In=qn=>Pn.value.filter(Xn=>!Xn.trigger||!qn?!0:Array.isArray(Xn.trigger)?Xn.trigger.includes(qn):Xn.trigger===qn).map(({trigger:Xn,...or})=>or),Nn=computed(()=>Pn.value.some(qn=>qn.required)),Un=computed(()=>{var qn;return Fe.value==="error"&&le.showMessage&&((qn=de==null?void 0:de.showMessage)!=null?qn:!0)}),Vn=computed(()=>`${le.label||""}${(de==null?void 0:de.labelSuffix)||""}`),Mn=qn=>{Ve.value=qn},Fn=qn=>{var Yn,Xn;const{errors:or,fields:_r}=qn;(!or||!_r)&&console.error(qn),Mn("error"),Ue.value=or?(Xn=(Yn=or==null?void 0:or[0])==null?void 0:Yn.message)!=null?Xn:`${le.prop} is required`:"",de==null||de.emit("validate",le.prop,!1,Ue.value)},Ln=()=>{Mn("success"),de==null||de.emit("validate",le.prop,!0,"")},jn=async qn=>{const Yn=Sn.value;return new Schema({[Yn]:qn}).validate({[Yn]:kn.value},{firstFields:!0}).then(()=>(Ln(),!0)).catch(or=>(Fn(or),Promise.reject(or)))},Zn=async(qn,Yn)=>{if(At||!le.prop)return!1;const Xn=isFunction$5(Yn);if(!An.value)return Yn==null||Yn(!1),!1;const or=In(qn);return or.length===0?(Yn==null||Yn(!0),!0):(Mn("validating"),jn(or).then(()=>(Yn==null||Yn(!0),!0)).catch(_r=>{const{fields:Kn}=_r;return Yn==null||Yn(!1,Kn),Xn?!1:Promise.reject(Kn)}))},Gn=()=>{Mn(""),Ue.value="",At=!1},Jn=async()=>{const qn=de==null?void 0:de.model;if(!qn||!le.prop)return;const Yn=getProp(qn,le.prop);At=!0,Yn.value=clone$4(Et),await nextTick(),Gn(),At=!1},lr=qn=>{Ie.value.includes(qn)||Ie.value.push(qn)},yr=qn=>{Ie.value=Ie.value.filter(Yn=>Yn!==qn)};watch(()=>le.error,qn=>{Ue.value=qn||"",Mn(qn?"error":"")},{immediate:!0}),watch(()=>le.validateStatus,qn=>Mn(qn||""));const ir=reactive({...toRefs(le),$el:qe,size:he,validateState:Ve,labelId:$e,inputIds:Ie,isGroup:wn,hasLabel:Cn,addInputId:lr,removeInputId:yr,resetField:Jn,clearValidate:Gn,validate:Zn});return provide(formItemContextKey,ir),onMounted(()=>{le.prop&&(de==null||de.addField(ir),Et=clone$4(kn.value))}),onBeforeUnmount(()=>{de==null||de.removeField(ir)}),ie({size:he,validateMessage:Ue,validateState:Ve,validate:Zn,clearValidate:Gn,resetField:Jn}),(qn,Yn)=>{var Xn;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:qe,class:normalizeClass(unref(vn)),role:unref(wn)?"group":void 0,"aria-labelledby":unref(wn)?unref($e):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(Lt).width==="auto","update-all":((Xn=unref(de))==null?void 0:Xn.labelWidth)==="auto"},{default:withCtx(()=>[unref(Cn)?(openBlock(),createBlock(resolveDynamicComponent(unref(En)?"label":"div"),{key:0,id:unref($e),for:unref(En),class:normalizeClass(unref(_e).e("label")),style:normalizeStyle$1(unref(Lt))},{default:withCtx(()=>[renderSlot(qn.$slots,"label",{label:unref(Vn)},()=>[createTextVNode(toDisplayString$1(unref(Vn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(_e).e("content")),style:normalizeStyle$1(unref(hn))},[renderSlot(qn.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(_e).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Un)?renderSlot(qn.$slots,"error",{key:0,error:Ue.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(bn))},toDisplayString$1(Ue.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$14)}}});var FormItem=_export_sfc$1(_sfc_main$2g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=`
height:0 !important;
visibility:hidden !important;
${isFirefox()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,CONTEXT_STYLE=["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"];function calculateNodeStyling(oe){const ie=window.getComputedStyle(oe),le=ie.getPropertyValue("box-sizing"),ue=Number.parseFloat(ie.getPropertyValue("padding-bottom"))+Number.parseFloat(ie.getPropertyValue("padding-top")),de=Number.parseFloat(ie.getPropertyValue("border-bottom-width"))+Number.parseFloat(ie.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(he=>`${he}:${ie.getPropertyValue(he)}`).join(";"),paddingSize:ue,borderSize:de,boxSizing:le}}function calcTextareaHeight(oe,ie=1,le){var ue;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:de,borderSize:pe,boxSizing:he,contextStyle:_e}=calculateNodeStyling(oe);hiddenTextarea.setAttribute("style",`${_e};${HIDDEN_STYLE}`),hiddenTextarea.value=oe.value||oe.placeholder||"";let $e=hiddenTextarea.scrollHeight;const Ie={};he==="border-box"?$e=$e+pe:he==="content-box"&&($e=$e-de),hiddenTextarea.value="";const Ve=hiddenTextarea.scrollHeight-de;if(isNumber$4(ie)){let Fe=Ve*ie;he==="border-box"&&(Fe=Fe+de+pe),$e=Math.max(Fe,$e),Ie.minHeight=`${Fe}px`}if(isNumber$4(le)){let Fe=Ve*le;he==="border-box"&&(Fe=Fe+de+pe),$e=Math.min(Fe,$e)}return Ie.height=`${$e}px`,(ue=hiddenTextarea.parentNode)==null||ue.removeChild(hiddenTextarea),hiddenTextarea=void 0,Ie}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})}}),inputEmits={[UPDATE_MODEL_EVENT]:oe=>isString$6(oe),input:oe=>isString$6(oe),change:oe=>isString$6(oe),focus:oe=>oe instanceof FocusEvent,blur:oe=>oe instanceof FocusEvent,clear:()=>!0,mouseleave:oe=>oe instanceof MouseEvent,mouseenter:oe=>oe instanceof MouseEvent,keydown:oe=>oe instanceof Event,compositionstart:oe=>oe instanceof CompositionEvent,compositionupdate:oe=>oe instanceof CompositionEvent,compositionend:oe=>oe instanceof CompositionEvent},_hoisted_1$13=["role"],_hoisted_2$I=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],_hoisted_3$n=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],__default__$1x=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2f=defineComponent({...__default__$1x,props:inputProps,emits:inputEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useAttrs$1(),pe=useSlots(),he=computed(()=>{const pr={};return ue.containerRole==="combobox"&&(pr["aria-haspopup"]=de["aria-haspopup"],pr["aria-owns"]=de["aria-owns"],pr["aria-expanded"]=de["aria-expanded"]),pr}),_e=computed(()=>[ue.type==="textarea"?Lt.b():At.b(),At.m(qe.value),At.is("disabled",Et.value),At.is("exceed",Zn.value),{[At.b("group")]:pe.prepend||pe.append,[At.bm("group","append")]:pe.append,[At.bm("group","prepend")]:pe.prepend,[At.m("prefix")]:pe.prefix||ue.prefixIcon,[At.m("suffix")]:pe.suffix||ue.suffixIcon||ue.clearable||ue.showPassword,[At.bm("suffix","password-clear")]:Mn.value&&Fn.value},de.class]),$e=computed(()=>[At.e("wrapper"),At.is("focus",_n.value)]),Ie=useAttrs({excludeKeys:computed(()=>Object.keys(he.value))}),{form:Ve,formItem:Fe}=useFormItem(),{inputId:Ue}=useFormItemInputId(ue,{formItemContext:Fe}),qe=useFormSize(),Et=useFormDisabled(),At=useNamespace("input"),Lt=useNamespace("textarea"),hn=shallowRef(),vn=shallowRef(),_n=ref(!1),bn=ref(!1),Sn=ref(!1),Cn=ref(!1),En=ref(),wn=shallowRef(ue.inputStyle),xn=computed(()=>hn.value||vn.value),kn=computed(()=>{var pr;return(pr=Ve==null?void 0:Ve.statusIcon)!=null?pr:!1}),Pn=computed(()=>(Fe==null?void 0:Fe.validateState)||""),An=computed(()=>Pn.value&&ValidateComponentsMap[Pn.value]),In=computed(()=>Cn.value?view_default:hide_default),Nn=computed(()=>[de.style,ue.inputStyle]),Un=computed(()=>[ue.inputStyle,wn.value,{resize:ue.resize}]),Vn=computed(()=>isNil(ue.modelValue)?"":String(ue.modelValue)),Mn=computed(()=>ue.clearable&&!Et.value&&!ue.readonly&&!!Vn.value&&(_n.value||bn.value)),Fn=computed(()=>ue.showPassword&&!Et.value&&!ue.readonly&&!!Vn.value&&(!!Vn.value||_n.value)),Ln=computed(()=>ue.showWordLimit&&!!Ie.value.maxlength&&(ue.type==="text"||ue.type==="textarea")&&!Et.value&&!ue.readonly&&!ue.showPassword),jn=computed(()=>Vn.value.length),Zn=computed(()=>!!Ln.value&&jn.value>Number(Ie.value.maxlength)),Gn=computed(()=>!!pe.suffix||!!ue.suffixIcon||Mn.value||ue.showPassword||Ln.value||!!Pn.value&&kn.value),[Jn,lr]=useCursor(hn);useResizeObserver$1(vn,pr=>{if(qn(),!Ln.value||ue.resize!=="both")return;const Or=pr[0],{width:Lr}=Or.contentRect;En.value={right:`calc(100% - ${Lr+15+6}px)`}});const yr=()=>{const{type:pr,autosize:Or}=ue;if(!(!isClient$1||pr!=="textarea"||!vn.value))if(Or){const Lr=isObject$9(Or)?Or.minRows:void 0,Vr=isObject$9(Or)?Or.maxRows:void 0,Dr=calcTextareaHeight(vn.value,Lr,Vr);wn.value={overflowY:"hidden",...Dr},nextTick(()=>{vn.value.offsetHeight,wn.value=Dr})}else wn.value={minHeight:calcTextareaHeight(vn.value).minHeight}},qn=(pr=>{let Or=!1;return()=>{var Lr;if(Or||!ue.autosize)return;((Lr=vn.value)==null?void 0:Lr.offsetParent)===null||(pr(),Or=!0)}})(yr),Yn=()=>{const pr=xn.value;!pr||pr.value===Vn.value||(pr.value=Vn.value)},Xn=async pr=>{Jn();let{value:Or}=pr.target;if(ue.formatter&&(Or=ue.parser?ue.parser(Or):Or,Or=ue.formatter(Or)),!Sn.value){if(Or===Vn.value){Yn();return}le(UPDATE_MODEL_EVENT,Or),le("input",Or),await nextTick(),Yn(),lr()}},or=pr=>{le("change",pr.target.value)},_r=pr=>{le("compositionstart",pr),Sn.value=!0},Kn=pr=>{var Or;le("compositionupdate",pr);const Lr=(Or=pr.target)==null?void 0:Or.value,Vr=Lr[Lr.length-1]||"";Sn.value=!isKorean(Vr)},er=pr=>{le("compositionend",pr),Sn.value&&(Sn.value=!1,Xn(pr))},ar=()=>{Cn.value=!Cn.value,gr()},gr=async()=>{var pr;await nextTick(),(pr=xn.value)==null||pr.focus()},Er=()=>{var pr;return(pr=xn.value)==null?void 0:pr.blur()},cr=pr=>{_n.value=!0,le("focus",pr)},Ar=pr=>{var Or;_n.value=!1,le("blur",pr),ue.validateEvent&&((Or=Fe==null?void 0:Fe.validate)==null||Or.call(Fe,"blur").catch(Lr=>void 0))},br=pr=>{bn.value=!1,le("mouseleave",pr)},kr=pr=>{bn.value=!0,le("mouseenter",pr)},mr=pr=>{le("keydown",pr)},ur=()=>{var pr;(pr=xn.value)==null||pr.select()},fr=()=>{le(UPDATE_MODEL_EVENT,""),le("change",""),le("clear"),le("input","")};return watch(()=>ue.modelValue,()=>{var pr;nextTick(()=>yr()),ue.validateEvent&&((pr=Fe==null?void 0:Fe.validate)==null||pr.call(Fe,"change").catch(Or=>void 0))}),watch(Vn,()=>Yn()),watch(()=>ue.type,async()=>{await nextTick(),Yn(),yr()}),onMounted(()=>{!ue.formatter&&ue.parser,Yn(),nextTick(yr)}),ie({input:hn,textarea:vn,ref:xn,textareaStyle:Un,autosize:toRef$1(ue,"autosize"),focus:gr,blur:Er,select:ur,clear:fr,resizeTextarea:yr}),(pr,Or)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref(he),{class:unref(_e),style:unref(Nn),role:pr.containerRole,onMouseenter:kr,onMouseleave:br}),[createCommentVNode(" input "),pr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),pr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(At).be("group","prepend"))},[renderSlot(pr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($e))},[createCommentVNode(" prefix slot "),pr.$slots.prefix||pr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(At).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(At).e("prefix-inner")),onClick:gr},[renderSlot(pr.$slots,"prefix"),pr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(pr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(Ue),ref_key:"input",ref:hn,class:unref(At).e("inner")},unref(Ie),{type:pr.showPassword?Cn.value?"text":"password":pr.type,disabled:unref(Et),formatter:pr.formatter,parser:pr.parser,readonly:pr.readonly,autocomplete:pr.autocomplete,tabindex:pr.tabindex,"aria-label":pr.label,placeholder:pr.placeholder,style:pr.inputStyle,form:ue.form,onCompositionstart:_r,onCompositionupdate:Kn,onCompositionend:er,onInput:Xn,onFocus:cr,onBlur:Ar,onChange:or,onKeydown:mr}),null,16,_hoisted_2$I),createCommentVNode(" suffix slot "),unref(Gn)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(At).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(At).e("suffix-inner")),onClick:gr},[!unref(Mn)||!unref(Fn)||!unref(Ln)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(pr.$slots,"suffix"),pr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(pr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(Mn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(At).e("icon"),unref(At).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:fr},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Fn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(At).e("icon"),unref(At).e("password")]),onClick:ar},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(In))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Ln)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(At).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(At).e("count-inner"))},toDisplayString$1(unref(jn))+" / "+toDisplayString$1(unref(Ie).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Pn)&&unref(An)&&unref(kn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(At).e("icon"),unref(At).e("validateIcon"),unref(At).is("loading",unref(Pn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(An))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),pr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(At).be("group","append"))},[renderSlot(pr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(Ue),ref_key:"textarea",ref:vn,class:unref(Lt).e("inner")},unref(Ie),{tabindex:pr.tabindex,disabled:unref(Et),readonly:pr.readonly,autocomplete:pr.autocomplete,style:unref(Un),"aria-label":pr.label,placeholder:pr.placeholder,form:ue.form,onCompositionstart:_r,onCompositionupdate:Kn,onCompositionend:er,onInput:Xn,onFocus:cr,onBlur:Ar,onChange:or,onKeydown:mr}),null,16,_hoisted_3$n),unref(Ln)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(En.value),class:normalizeClass(unref(At).e("count"))},toDisplayString$1(unref(jn))+" / "+toDisplayString$1(unref(Ie).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$13)),[[vShow,pr.type!=="hidden"]])}});var Input=_export_sfc$1(_sfc_main$2f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={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"}},renderThumbStyle$1=({move:oe,size:ie,bar:le})=>({[le.size]:ie,transform:`translate${le.axis}(${oe}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2e=defineComponent({__name:"thumb",props:thumbProps,setup(oe){const ie=oe,le=inject(scrollbarContextKey),ue=useNamespace("scrollbar");le||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const de=ref(),pe=ref(),he=ref({}),_e=ref(!1);let $e=!1,Ie=!1,Ve=isClient$1?document.onselectstart:null;const Fe=computed(()=>BAR_MAP[ie.vertical?"vertical":"horizontal"]),Ue=computed(()=>renderThumbStyle$1({size:ie.size,move:ie.move,bar:Fe.value})),qe=computed(()=>de.value[Fe.value.offset]**2/le.wrapElement[Fe.value.scrollSize]/ie.ratio/pe.value[Fe.value.offset]),Et=Cn=>{var En;if(Cn.stopPropagation(),Cn.ctrlKey||[1,2].includes(Cn.button))return;(En=window.getSelection())==null||En.removeAllRanges(),Lt(Cn);const wn=Cn.currentTarget;wn&&(he.value[Fe.value.axis]=wn[Fe.value.offset]-(Cn[Fe.value.client]-wn.getBoundingClientRect()[Fe.value.direction]))},At=Cn=>{if(!pe.value||!de.value||!le.wrapElement)return;const En=Math.abs(Cn.target.getBoundingClientRect()[Fe.value.direction]-Cn[Fe.value.client]),wn=pe.value[Fe.value.offset]/2,xn=(En-wn)*100*qe.value/de.value[Fe.value.offset];le.wrapElement[Fe.value.scroll]=xn*le.wrapElement[Fe.value.scrollSize]/100},Lt=Cn=>{Cn.stopImmediatePropagation(),$e=!0,document.addEventListener("mousemove",hn),document.addEventListener("mouseup",vn),Ve=document.onselectstart,document.onselectstart=()=>!1},hn=Cn=>{if(!de.value||!pe.value||$e===!1)return;const En=he.value[Fe.value.axis];if(!En)return;const wn=(de.value.getBoundingClientRect()[Fe.value.direction]-Cn[Fe.value.client])*-1,xn=pe.value[Fe.value.offset]-En,kn=(wn-xn)*100*qe.value/de.value[Fe.value.offset];le.wrapElement[Fe.value.scroll]=kn*le.wrapElement[Fe.value.scrollSize]/100},vn=()=>{$e=!1,he.value[Fe.value.axis]=0,document.removeEventListener("mousemove",hn),document.removeEventListener("mouseup",vn),Sn(),Ie&&(_e.value=!1)},_n=()=>{Ie=!1,_e.value=!!ie.size},bn=()=>{Ie=!0,_e.value=$e};onBeforeUnmount(()=>{Sn(),document.removeEventListener("mouseup",vn)});const Sn=()=>{document.onselectstart!==Ve&&(document.onselectstart=Ve)};return useEventListener$1(toRef$1(le,"scrollbarElement"),"mousemove",_n),useEventListener$1(toRef$1(le,"scrollbarElement"),"mouseleave",bn),(Cn,En)=>(openBlock(),createBlock(Transition,{name:unref(ue).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:de,class:normalizeClass([unref(ue).e("bar"),unref(ue).is(unref(Fe).key)]),onMousedown:At},[createBaseVNode("div",{ref_key:"thumb",ref:pe,class:normalizeClass(unref(ue).e("thumb")),style:normalizeStyle$1(unref(Ue)),onMousedown:Et},null,38)],34),[[vShow,Cn.always||_e.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),_sfc_main$2d=defineComponent({__name:"bar",props:barProps,setup(oe,{expose:ie}){const le=oe,ue=ref(0),de=ref(0);return ie({handleScroll:he=>{if(he){const _e=he.offsetHeight-GAP,$e=he.offsetWidth-GAP;de.value=he.scrollTop*100/_e*le.ratioY,ue.value=he.scrollLeft*100/$e*le.ratioX}}}),(he,_e)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:ue.value,ratio:he.ratioX,size:he.width,always:he.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:de.value,ratio:he.ratioY,size:he.height,vertical:"",always:he.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([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}}),scrollbarEmits={scroll:({scrollTop:oe,scrollLeft:ie})=>[oe,ie].every(isNumber$4)},COMPONENT_NAME$j="ElScrollbar",__default__$1w=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2c=defineComponent({...__default__$1w,props:scrollbarProps,emits:scrollbarEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useNamespace("scrollbar");let pe,he;const _e=ref(),$e=ref(),Ie=ref(),Ve=ref("0"),Fe=ref("0"),Ue=ref(),qe=ref(1),Et=ref(1),At=computed(()=>{const En={};return ue.height&&(En.height=addUnit(ue.height)),ue.maxHeight&&(En.maxHeight=addUnit(ue.maxHeight)),[ue.wrapStyle,En]}),Lt=computed(()=>[ue.wrapClass,de.e("wrap"),{[de.em("wrap","hidden-default")]:!ue.native}]),hn=computed(()=>[de.e("view"),ue.viewClass]),vn=()=>{var En;$e.value&&((En=Ue.value)==null||En.handleScroll($e.value),le("scroll",{scrollTop:$e.value.scrollTop,scrollLeft:$e.value.scrollLeft}))};function _n(En,wn){isObject$9(En)?$e.value.scrollTo(En):isNumber$4(En)&&isNumber$4(wn)&&$e.value.scrollTo(En,wn)}const bn=En=>{isNumber$4(En)&&($e.value.scrollTop=En)},Sn=En=>{isNumber$4(En)&&($e.value.scrollLeft=En)},Cn=()=>{if(!$e.value)return;const En=$e.value.offsetHeight-GAP,wn=$e.value.offsetWidth-GAP,xn=En**2/$e.value.scrollHeight,kn=wn**2/$e.value.scrollWidth,Pn=Math.max(xn,ue.minSize),An=Math.max(kn,ue.minSize);qe.value=xn/(En-xn)/(Pn/(En-Pn)),Et.value=kn/(wn-kn)/(An/(wn-An)),Fe.value=Pn+GAP<En?`${Pn}px`:"",Ve.value=An+GAP<wn?`${An}px`:""};return watch(()=>ue.noresize,En=>{En?(pe==null||pe(),he==null||he()):({stop:pe}=useResizeObserver$1(Ie,Cn),he=useEventListener$1("resize",Cn))},{immediate:!0}),watch(()=>[ue.maxHeight,ue.height],()=>{ue.native||nextTick(()=>{var En;Cn(),$e.value&&((En=Ue.value)==null||En.handleScroll($e.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:_e,wrapElement:$e})),onMounted(()=>{ue.native||nextTick(()=>{Cn()})}),onUpdated(()=>Cn()),ie({wrapRef:$e,update:Cn,scrollTo:_n,setScrollTop:bn,setScrollLeft:Sn,handleScroll:vn}),(En,wn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:_e,class:normalizeClass(unref(de).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:$e,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(unref(At)),onScroll:vn},[(openBlock(),createBlock(resolveDynamicComponent(En.tag),{ref_key:"resizeRef",ref:Ie,class:normalizeClass(unref(hn)),style:normalizeStyle$1(En.viewStyle)},{default:withCtx(()=>[renderSlot(En.$slots,"default")]),_:3},8,["class","style"]))],38),En.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:Ue,height:Fe.value,width:Ve.value,always:En.always,"ratio-x":Et.value,"ratio-y":qe.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1v=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2b=defineComponent({...__default__$1v,props:popperProps,setup(oe,{expose:ie}){const le=oe,ue=ref(),de=ref(),pe=ref(),he=ref(),_e=computed(()=>le.role),$e={triggerRef:ue,popperInstanceRef:de,contentRef:pe,referenceRef:he,role:_e};return ie($e),provide(POPPER_INJECTION_KEY,$e),(Ie,Ve)=>renderSlot(Ie.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1u=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2a=defineComponent({...__default__$1u,props:popperArrowProps,setup(oe,{expose:ie}){const le=oe,ue=useNamespace("popper"),{arrowOffset:de,arrowRef:pe,arrowStyle:he}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>le.arrowOffset,_e=>{de.value=_e}),onBeforeUnmount(()=>{pe.value=void 0}),ie({arrowRef:pe}),(_e,$e)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:pe,class:normalizeClass(unref(ue).e("arrow")),style:normalizeStyle$1(unref(he)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(oe,{slots:ie,attrs:le}){var ue;const de=inject(FORWARD_REF_INJECTION_KEY),pe=useForwardRefDirective((ue=de==null?void 0:de.setForwardRef)!=null?ue:NOOP);return()=>{var he;const _e=(he=ie.default)==null?void 0:he.call(ie,le);if(!_e||_e.length>1)return null;const $e=findFirstLegitChild(_e);return $e?withDirectives(cloneVNode($e,le),[[pe]]):null}}});function findFirstLegitChild(oe){if(!oe)return null;const ie=oe;for(const le of ie){if(isObject$9(le))switch(le.type){case Comment:continue;case Text$1:case"svg":return wrapTextContent(le);case Fragment:return findFirstLegitChild(le.children);default:return le}return wrapTextContent(le)}return null}function wrapTextContent(oe){const ie=useNamespace("only-child");return createVNode("span",{class:ie.e("content")},[oe])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$1t=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$29=defineComponent({...__default__$1t,props:popperTriggerProps,setup(oe,{expose:ie}){const le=oe,{role:ue,triggerRef:de}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(de);const pe=computed(()=>_e.value?le.id:void 0),he=computed(()=>{if(ue&&ue.value==="tooltip")return le.open&&le.id?le.id:void 0}),_e=computed(()=>{if(ue&&ue.value!=="tooltip")return ue.value}),$e=computed(()=>_e.value?`${le.open}`:void 0);let Ie;return onMounted(()=>{watch(()=>le.virtualRef,Ve=>{Ve&&(de.value=unrefElement$1(Ve))},{immediate:!0}),watch(de,(Ve,Fe)=>{Ie==null||Ie(),Ie=void 0,isElement$1(Ve)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(Ue=>{var qe;const Et=le[Ue];Et&&(Ve.addEventListener(Ue.slice(2).toLowerCase(),Et),(qe=Fe==null?void 0:Fe.removeEventListener)==null||qe.call(Fe,Ue.slice(2).toLowerCase(),Et))}),Ie=watch([pe,he,_e,$e],Ue=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((qe,Et)=>{isNil(Ue[Et])?Ve.removeAttribute(qe):Ve.setAttribute(qe,Ue[Et])})},{immediate:!0})),isElement$1(Fe)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(Ue=>Fe.removeAttribute(Ue))},{immediate:!0})}),onBeforeUnmount(()=>{Ie==null||Ie(),Ie=void 0}),ie({triggerRef:de}),(Ve,Fe)=>Ve.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},Ve.$attrs,{"aria-controls":unref(pe),"aria-describedby":unref(he),"aria-expanded":unref($e),"aria-haspopup":unref(_e)}),{default:withCtx(()=>[renderSlot(Ve.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$29,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=oe=>{const ie=[],le=document.createTreeWalker(oe,NodeFilter.SHOW_ELEMENT,{acceptNode:ue=>{const de=ue.tagName==="INPUT"&&ue.type==="hidden";return ue.disabled||ue.hidden||de?NodeFilter.FILTER_SKIP:ue.tabIndex>=0||ue===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;le.nextNode();)ie.push(le.currentNode);return ie},getVisibleElement=(oe,ie)=>{for(const le of oe)if(!isHidden(le,ie))return le},isHidden=(oe,ie)=>{if(getComputedStyle(oe).visibility==="hidden")return!0;for(;oe;){if(ie&&oe===ie)return!1;if(getComputedStyle(oe).display==="none")return!0;oe=oe.parentElement}return!1},getEdges=oe=>{const ie=obtainAllFocusableElements(oe),le=getVisibleElement(ie,oe),ue=getVisibleElement(ie.reverse(),oe);return[le,ue]},isSelectable=oe=>oe instanceof HTMLInputElement&&"select"in oe,tryFocus=(oe,ie)=>{if(oe&&oe.focus){const le=document.activeElement;oe.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),oe!==le&&isSelectable(oe)&&ie&&oe.select()}};function removeFromStack(oe,ie){const le=[...oe],ue=oe.indexOf(ie);return ue!==-1&&le.splice(ue,1),le}const createFocusableStack=()=>{let oe=[];return{push:ue=>{const de=oe[0];de&&ue!==de&&de.pause(),oe=removeFromStack(oe,ue),oe.unshift(ue)},remove:ue=>{var de,pe;oe=removeFromStack(oe,ue),(pe=(de=oe[0])==null?void 0:de.resume)==null||pe.call(de)}}},focusFirstDescendant=(oe,ie=!1)=>{const le=document.activeElement;for(const ue of oe)if(tryFocus(ue,ie),document.activeElement!==le)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=oe=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:oe}),_sfc_main$28=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(oe,{emit:ie}){const le=ref();let ue,de;const{focusReason:pe}=useFocusReason();useEscapeKeydown(Et=>{oe.trapped&&!he.paused&&ie("release-requested",Et)});const he={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},_e=Et=>{if(!oe.loop&&!oe.trapped||he.paused)return;const{key:At,altKey:Lt,ctrlKey:hn,metaKey:vn,currentTarget:_n,shiftKey:bn}=Et,{loop:Sn}=oe,Cn=At===EVENT_CODE.tab&&!Lt&&!hn&&!vn,En=document.activeElement;if(Cn&&En){const wn=_n,[xn,kn]=getEdges(wn);if(xn&&kn){if(!bn&&En===kn){const An=createFocusOutPreventedEvent({focusReason:pe.value});ie("focusout-prevented",An),An.defaultPrevented||(Et.preventDefault(),Sn&&tryFocus(xn,!0))}else if(bn&&[xn,wn].includes(En)){const An=createFocusOutPreventedEvent({focusReason:pe.value});ie("focusout-prevented",An),An.defaultPrevented||(Et.preventDefault(),Sn&&tryFocus(kn,!0))}}else if(En===wn){const An=createFocusOutPreventedEvent({focusReason:pe.value});ie("focusout-prevented",An),An.defaultPrevented||Et.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:le,onKeydown:_e}),watch(()=>oe.focusTrapEl,Et=>{Et&&(le.value=Et)},{immediate:!0}),watch([le],([Et],[At])=>{Et&&(Et.addEventListener("keydown",_e),Et.addEventListener("focusin",Ve),Et.addEventListener("focusout",Fe)),At&&(At.removeEventListener("keydown",_e),At.removeEventListener("focusin",Ve),At.removeEventListener("focusout",Fe))});const $e=Et=>{ie(ON_TRAP_FOCUS_EVT,Et)},Ie=Et=>ie(ON_RELEASE_FOCUS_EVT,Et),Ve=Et=>{const At=unref(le);if(!At)return;const Lt=Et.target,hn=Et.relatedTarget,vn=Lt&&At.contains(Lt);oe.trapped||hn&&At.contains(hn)||(ue=hn),vn&&ie("focusin",Et),!he.paused&&oe.trapped&&(vn?de=Lt:tryFocus(de,!0))},Fe=Et=>{const At=unref(le);if(!(he.paused||!At))if(oe.trapped){const Lt=Et.relatedTarget;!isNil(Lt)&&!At.contains(Lt)&&setTimeout(()=>{if(!he.paused&&oe.trapped){const hn=createFocusOutPreventedEvent({focusReason:pe.value});ie("focusout-prevented",hn),hn.defaultPrevented||tryFocus(de,!0)}},0)}else{const Lt=Et.target;Lt&&At.contains(Lt)||ie("focusout",Et)}};async function Ue(){await nextTick();const Et=unref(le);if(Et){focusableStack.push(he);const At=Et.contains(document.activeElement)?ue:document.activeElement;if(ue=At,!Et.contains(At)){const hn=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);Et.addEventListener(FOCUS_AFTER_TRAPPED,$e),Et.dispatchEvent(hn),hn.defaultPrevented||nextTick(()=>{let vn=oe.focusStartEl;isString$6(vn)||(tryFocus(vn),document.activeElement!==vn&&(vn="first")),vn==="first"&&focusFirstDescendant(obtainAllFocusableElements(Et),!0),(document.activeElement===At||vn==="container")&&tryFocus(Et)})}}}function qe(){const Et=unref(le);if(Et){Et.removeEventListener(FOCUS_AFTER_TRAPPED,$e);const At=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:pe.value}});Et.addEventListener(FOCUS_AFTER_RELEASED,Ie),Et.dispatchEvent(At),!At.defaultPrevented&&(pe.value=="keyboard"||!isFocusCausedByUserEvent()||Et.contains(document.activeElement))&&tryFocus(ue??document.body),Et.removeEventListener(FOCUS_AFTER_RELEASED,$e),focusableStack.remove(he)}}return onMounted(()=>{oe.trapped&&Ue(),watch(()=>oe.trapped,Et=>{Et?Ue():qe()})}),onBeforeUnmount(()=>{oe.trapped&&qe()}),{onKeydown:_e}}});function _sfc_render$w(oe,ie,le,ue,de,pe){return renderSlot(oe.$slots,"default",{handleKeydown:oe.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$28,[["render",_sfc_render$w],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),popperContentEmits={mouseenter:oe=>oe instanceof MouseEvent,mouseleave:oe=>oe instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(oe,ie=[])=>{const{placement:le,strategy:ue,popperOptions:de}=oe,pe={placement:le,strategy:ue,...de,modifiers:[...genModifiers(oe),...ie]};return deriveExtraModifiers(pe,de==null?void 0:de.modifiers),pe},unwrapMeasurableEl=oe=>{if(isClient$1)return unrefElement$1(oe)};function genModifiers(oe){const{offset:ie,gpuAcceleration:le,fallbackPlacements:ue}=oe;return[{name:"offset",options:{offset:[0,ie??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:ue}},{name:"computeStyles",options:{gpuAcceleration:le}}]}function deriveExtraModifiers(oe,ie){ie&&(oe.modifiers=[...oe.modifiers,...ie??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=oe=>{const{popperInstanceRef:ie,contentRef:le,triggerRef:ue,role:de}=inject(POPPER_INJECTION_KEY,void 0),pe=ref(),he=ref(),_e=computed(()=>({name:"eventListeners",enabled:!!oe.visible})),$e=computed(()=>{var hn;const vn=unref(pe),_n=(hn=unref(he))!=null?hn:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(vn),options:{element:vn,padding:_n}}}),Ie=computed(()=>({onFirstUpdate:()=>{Et()},...buildPopperOptions(oe,[unref($e),unref(_e)])})),Ve=computed(()=>unwrapMeasurableEl(oe.referenceEl)||unref(ue)),{attributes:Fe,state:Ue,styles:qe,update:Et,forceUpdate:At,instanceRef:Lt}=usePopper(Ve,le,Ie);return watch(Lt,hn=>ie.value=hn),onMounted(()=>{watch(()=>{var hn;return(hn=unref(Ve))==null?void 0:hn.getBoundingClientRect()},()=>{Et()})}),{attributes:Fe,arrowRef:pe,contentRef:le,instanceRef:Lt,state:Ue,styles:qe,role:de,forceUpdate:At,update:Et}},usePopperContentDOM=(oe,{attributes:ie,styles:le,role:ue})=>{const{nextZIndex:de}=useZIndex(),pe=useNamespace("popper"),he=computed(()=>unref(ie).popper),_e=ref(oe.zIndex||de()),$e=computed(()=>[pe.b(),pe.is("pure",oe.pure),pe.is(oe.effect),oe.popperClass]),Ie=computed(()=>[{zIndex:unref(_e)},unref(le).popper,oe.popperStyle||{}]),Ve=computed(()=>ue.value==="dialog"?"false":void 0),Fe=computed(()=>unref(le).arrow||{});return{ariaModal:Ve,arrowStyle:Fe,contentAttrs:he,contentClass:$e,contentStyle:Ie,contentZIndex:_e,updateZIndex:()=>{_e.value=oe.zIndex||de()}}},usePopperContentFocusTrap=(oe,ie)=>{const le=ref(!1),ue=ref();return{focusStartRef:ue,trapped:le,onFocusAfterReleased:Ie=>{var Ve;((Ve=Ie.detail)==null?void 0:Ve.focusReason)!=="pointer"&&(ue.value="first",ie("blur"))},onFocusAfterTrapped:()=>{ie("focus")},onFocusInTrap:Ie=>{oe.visible&&!le.value&&(Ie.target&&(ue.value=Ie.target),le.value=!0)},onFocusoutPrevented:Ie=>{oe.trapping||(Ie.detail.focusReason==="pointer"&&Ie.preventDefault(),le.value=!1)},onReleaseRequested:()=>{le.value=!1,ie("close")}}},__default__$1s=defineComponent({name:"ElPopperContent"}),_sfc_main$27=defineComponent({...__default__$1s,props:popperContentProps,emits:popperContentEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,{focusStartRef:de,trapped:pe,onFocusAfterReleased:he,onFocusAfterTrapped:_e,onFocusInTrap:$e,onFocusoutPrevented:Ie,onReleaseRequested:Ve}=usePopperContentFocusTrap(ue,le),{attributes:Fe,arrowRef:Ue,contentRef:qe,styles:Et,instanceRef:At,role:Lt,update:hn}=usePopperContent(ue),{ariaModal:vn,arrowStyle:_n,contentAttrs:bn,contentClass:Sn,contentStyle:Cn,updateZIndex:En}=usePopperContentDOM(ue,{styles:Et,attributes:Fe,role:Lt}),wn=inject(formItemContextKey,void 0),xn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:_n,arrowRef:Ue,arrowOffset:xn}),wn&&(wn.addInputId||wn.removeInputId)&&provide(formItemContextKey,{...wn,addInputId:NOOP,removeInputId:NOOP});let kn;const Pn=(In=!0)=>{hn(),In&&En()},An=()=>{Pn(!1),ue.visible&&ue.focusOnShow?pe.value=!0:ue.visible===!1&&(pe.value=!1)};return onMounted(()=>{watch(()=>ue.triggerTargetEl,(In,Nn)=>{kn==null||kn(),kn=void 0;const Un=unref(In||qe.value),Vn=unref(Nn||qe.value);isElement$1(Un)&&(kn=watch([Lt,()=>ue.ariaLabel,vn,()=>ue.id],Mn=>{["role","aria-label","aria-modal","id"].forEach((Fn,Ln)=>{isNil(Mn[Ln])?Un.removeAttribute(Fn):Un.setAttribute(Fn,Mn[Ln])})},{immediate:!0})),Vn!==Un&&isElement$1(Vn)&&["role","aria-label","aria-modal","id"].forEach(Mn=>{Vn.removeAttribute(Mn)})},{immediate:!0}),watch(()=>ue.visible,An,{immediate:!0})}),onBeforeUnmount(()=>{kn==null||kn(),kn=void 0}),ie({popperContentRef:qe,popperInstanceRef:At,updatePopper:Pn,contentStyle:Cn}),(In,Nn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:qe},unref(bn),{style:unref(Cn),class:unref(Sn),tabindex:"-1",onMouseenter:Nn[0]||(Nn[0]=Un=>In.$emit("mouseenter",Un)),onMouseleave:Nn[1]||(Nn[1]=Un=>In.$emit("mouseleave",Un))}),[createVNode(unref(ElFocusTrap),{trapped:unref(pe),"trap-on-focus-in":!0,"focus-trap-el":unref(qe),"focus-start-el":unref(de),onFocusAfterTrapped:unref(_e),onFocusAfterReleased:unref(he),onFocusin:unref($e),onFocusoutPrevented:unref(Ie),onReleaseRequested:unref(Ve)},{default:withCtx(()=>[renderSlot(In.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(oe,ie)=>isArray$c(oe)?oe.includes(ie):oe===ie,whenTrigger=(oe,ie,le)=>ue=>{isTriggerType(unref(oe),ie)&&le(ue)},__default__$1r=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$26=defineComponent({...__default__$1r,props:useTooltipTriggerProps,setup(oe,{expose:ie}){const le=oe,ue=useNamespace("tooltip"),{controlled:de,id:pe,open:he,onOpen:_e,onClose:$e,onToggle:Ie}=inject(TOOLTIP_INJECTION_KEY,void 0),Ve=ref(null),Fe=()=>{if(unref(de)||le.disabled)return!0},Ue=toRef$1(le,"trigger"),qe=composeEventHandlers(Fe,whenTrigger(Ue,"hover",_e)),Et=composeEventHandlers(Fe,whenTrigger(Ue,"hover",$e)),At=composeEventHandlers(Fe,whenTrigger(Ue,"click",bn=>{bn.button===0&&Ie(bn)})),Lt=composeEventHandlers(Fe,whenTrigger(Ue,"focus",_e)),hn=composeEventHandlers(Fe,whenTrigger(Ue,"focus",$e)),vn=composeEventHandlers(Fe,whenTrigger(Ue,"contextmenu",bn=>{bn.preventDefault(),Ie(bn)})),_n=composeEventHandlers(Fe,bn=>{const{code:Sn}=bn;le.triggerKeys.includes(Sn)&&(bn.preventDefault(),Ie(bn))});return ie({triggerRef:Ve}),(bn,Sn)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(pe),"virtual-ref":bn.virtualRef,open:unref(he),"virtual-triggering":bn.virtualTriggering,class:normalizeClass(unref(ue).e("trigger")),onBlur:unref(hn),onClick:unref(At),onContextmenu:unref(vn),onFocus:unref(Lt),onMouseenter:unref(qe),onMouseleave:unref(Et),onKeydown:unref(_n)},{default:withCtx(()=>[renderSlot(bn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$26,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$1q=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$25=defineComponent({...__default__$1q,props:useTooltipContentProps,setup(oe,{expose:ie}){const le=oe,{selector:ue}=usePopperContainerId(),de=useNamespace("tooltip"),pe=ref(null),he=ref(!1),{controlled:_e,id:$e,open:Ie,trigger:Ve,onClose:Fe,onOpen:Ue,onShow:qe,onHide:Et,onBeforeShow:At,onBeforeHide:Lt}=inject(TOOLTIP_INJECTION_KEY,void 0),hn=computed(()=>le.transition||`${de.namespace.value}-fade-in-linear`),vn=computed(()=>le.persistent);onBeforeUnmount(()=>{he.value=!0});const _n=computed(()=>unref(vn)?!0:unref(Ie)),bn=computed(()=>le.disabled?!1:unref(Ie)),Sn=computed(()=>le.appendTo||ue.value),Cn=computed(()=>{var Mn;return(Mn=le.style)!=null?Mn:{}}),En=computed(()=>!unref(Ie)),wn=()=>{Et()},xn=()=>{if(unref(_e))return!0},kn=composeEventHandlers(xn,()=>{le.enterable&&unref(Ve)==="hover"&&Ue()}),Pn=composeEventHandlers(xn,()=>{unref(Ve)==="hover"&&Fe()}),An=()=>{var Mn,Fn;(Fn=(Mn=pe.value)==null?void 0:Mn.updatePopper)==null||Fn.call(Mn),At==null||At()},In=()=>{Lt==null||Lt()},Nn=()=>{qe(),Vn=onClickOutside$1(computed(()=>{var Mn;return(Mn=pe.value)==null?void 0:Mn.popperContentRef}),()=>{if(unref(_e))return;unref(Ve)!=="hover"&&Fe()})},Un=()=>{le.virtualTriggering||Fe()};let Vn;return watch(()=>unref(Ie),Mn=>{Mn||Vn==null||Vn()},{flush:"post"}),watch(()=>le.content,()=>{var Mn,Fn;(Fn=(Mn=pe.value)==null?void 0:Mn.updatePopper)==null||Fn.call(Mn)}),ie({contentRef:pe}),(Mn,Fn)=>(openBlock(),createBlock(Teleport,{disabled:!Mn.teleported,to:unref(Sn)},[createVNode(Transition,{name:unref(hn),onAfterLeave:wn,onBeforeEnter:An,onAfterEnter:Nn,onBeforeLeave:In},{default:withCtx(()=>[unref(_n)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref($e),ref_key:"contentRef",ref:pe},Mn.$attrs,{"aria-label":Mn.ariaLabel,"aria-hidden":unref(En),"boundaries-padding":Mn.boundariesPadding,"fallback-placements":Mn.fallbackPlacements,"gpu-acceleration":Mn.gpuAcceleration,offset:Mn.offset,placement:Mn.placement,"popper-options":Mn.popperOptions,strategy:Mn.strategy,effect:Mn.effect,enterable:Mn.enterable,pure:Mn.pure,"popper-class":Mn.popperClass,"popper-style":[Mn.popperStyle,unref(Cn)],"reference-el":Mn.referenceEl,"trigger-target-el":Mn.triggerTargetEl,visible:unref(bn),"z-index":Mn.zIndex,onMouseenter:unref(kn),onMouseleave:unref(Pn),onBlur:Un,onClose:unref(Fe)}),{default:withCtx(()=>[he.value?createCommentVNode("v-if",!0):renderSlot(Mn.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(bn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$25,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$12=["innerHTML"],_hoisted_2$H={key:1},__default__$1p=defineComponent({name:"ElTooltip"}),_sfc_main$24=defineComponent({...__default__$1p,props:useTooltipProps,emits:tooltipEmits,setup(oe,{expose:ie,emit:le}){const ue=oe;usePopperContainer();const de=useId(),pe=ref(),he=ref(),_e=()=>{var hn;const vn=unref(pe);vn&&((hn=vn.popperInstanceRef)==null||hn.update())},$e=ref(!1),Ie=ref(),{show:Ve,hide:Fe,hasUpdateHandler:Ue}=useTooltipModelToggle({indicator:$e,toggleReason:Ie}),{onOpen:qe,onClose:Et}=useDelayedToggle({showAfter:toRef$1(ue,"showAfter"),hideAfter:toRef$1(ue,"hideAfter"),autoClose:toRef$1(ue,"autoClose"),open:Ve,close:Fe}),At=computed(()=>isBoolean$3(ue.visible)&&!Ue.value);provide(TOOLTIP_INJECTION_KEY,{controlled:At,id:de,open:readonly($e),trigger:toRef$1(ue,"trigger"),onOpen:hn=>{qe(hn)},onClose:hn=>{Et(hn)},onToggle:hn=>{unref($e)?Et(hn):qe(hn)},onShow:()=>{le("show",Ie.value)},onHide:()=>{le("hide",Ie.value)},onBeforeShow:()=>{le("before-show",Ie.value)},onBeforeHide:()=>{le("before-hide",Ie.value)},updatePopper:_e}),watch(()=>ue.disabled,hn=>{hn&&$e.value&&($e.value=!1)});const Lt=()=>{var hn,vn;const _n=(vn=(hn=he.value)==null?void 0:hn.contentRef)==null?void 0:vn.popperContentRef;return _n&&_n.contains(document.activeElement)};return onDeactivated(()=>$e.value&&Fe()),ie({popperRef:pe,contentRef:he,isFocusInsideContent:Lt,updatePopper:_e,onOpen:qe,onClose:Et,hide:Fe}),(hn,vn)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:pe,role:hn.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:hn.disabled,trigger:hn.trigger,"trigger-keys":hn.triggerKeys,"virtual-ref":hn.virtualRef,"virtual-triggering":hn.virtualTriggering},{default:withCtx(()=>[hn.$slots.default?renderSlot(hn.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:he,"aria-label":hn.ariaLabel,"boundaries-padding":hn.boundariesPadding,content:hn.content,disabled:hn.disabled,effect:hn.effect,enterable:hn.enterable,"fallback-placements":hn.fallbackPlacements,"hide-after":hn.hideAfter,"gpu-acceleration":hn.gpuAcceleration,offset:hn.offset,persistent:hn.persistent,"popper-class":hn.popperClass,"popper-style":hn.popperStyle,placement:hn.placement,"popper-options":hn.popperOptions,pure:hn.pure,"raw-content":hn.rawContent,"reference-el":hn.referenceEl,"trigger-target-el":hn.triggerTargetEl,"show-after":hn.showAfter,strategy:hn.strategy,teleported:hn.teleported,transition:hn.transition,"virtual-triggering":hn.virtualTriggering,"z-index":hn.zIndex,"append-to":hn.appendTo},{default:withCtx(()=>[renderSlot(hn.$slots,"content",{},()=>[hn.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:hn.content},null,8,_hoisted_1$12)):(openBlock(),createElementBlock("span",_hoisted_2$H,toDisplayString$1(hn.content),1))]),hn.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":hn.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("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","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$24,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{type:String},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String}),autocompleteEmits={[UPDATE_MODEL_EVENT]:oe=>isString$6(oe),[INPUT_EVENT]:oe=>isString$6(oe),[CHANGE_EVENT]:oe=>isString$6(oe),focus:oe=>oe instanceof FocusEvent,blur:oe=>oe instanceof FocusEvent,clear:()=>!0,select:oe=>isObject$9(oe)},_hoisted_1$11=["aria-expanded","aria-owns"],_hoisted_2$G={key:0},_hoisted_3$m=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1o=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$23=defineComponent({...__default__$1o,props:autocompleteProps,emits:autocompleteEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useAttrs(),pe=useAttrs$1(),he=useFormDisabled(),_e=useNamespace("autocomplete"),$e=ref(),Ie=ref(),Ve=ref(),Fe=ref();let Ue=!1,qe=!1;const Et=ref([]),At=ref(-1),Lt=ref(""),hn=ref(!1),vn=ref(!1),_n=ref(!1),bn=computed(()=>_e.b(String(generateId()))),Sn=computed(()=>pe.style),Cn=computed(()=>(Et.value.length>0||_n.value)&&hn.value),En=computed(()=>!ue.hideLoading&&_n.value),wn=computed(()=>$e.value?Array.from($e.value.$el.querySelectorAll("input")):[]),xn=async()=>{await nextTick(),Cn.value&&(Lt.value=`${$e.value.$el.offsetWidth}px`)},kn=()=>{At.value=-1},An=debounce(async ir=>{if(vn.value)return;const qn=Yn=>{_n.value=!1,!vn.value&&(isArray$c(Yn)?(Et.value=Yn,At.value=ue.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(_n.value=!0,isArray$c(ue.fetchSuggestions))qn(ue.fetchSuggestions);else{const Yn=await ue.fetchSuggestions(ir,qn);isArray$c(Yn)&&qn(Yn)}},ue.debounce),In=ir=>{const qn=!!ir;if(le(INPUT_EVENT,ir),le(UPDATE_MODEL_EVENT,ir),vn.value=!1,hn.value||(hn.value=qn),!ue.triggerOnFocus&&!ir){vn.value=!0,Et.value=[];return}An(ir)},Nn=ir=>{var qn;he.value||(((qn=ir.target)==null?void 0:qn.tagName)!=="INPUT"||wn.value.includes(document.activeElement))&&(hn.value=!0)},Un=ir=>{le(CHANGE_EVENT,ir)},Vn=ir=>{qe?qe=!1:(hn.value=!0,le("focus",ir),ue.triggerOnFocus&&!Ue&&An(String(ue.modelValue)))},Mn=ir=>{setTimeout(()=>{var qn;if((qn=Ve.value)!=null&&qn.isFocusInsideContent()){qe=!0;return}hn.value&&Zn(),le("blur",ir)})},Fn=()=>{hn.value=!1,le(UPDATE_MODEL_EVENT,""),le("clear")},Ln=async()=>{Cn.value&&At.value>=0&&At.value<Et.value.length?lr(Et.value[At.value]):ue.selectWhenUnmatched&&(le("select",{value:ue.modelValue}),Et.value=[],At.value=-1)},jn=ir=>{Cn.value&&(ir.preventDefault(),ir.stopPropagation(),Zn())},Zn=()=>{hn.value=!1},Gn=()=>{var ir;(ir=$e.value)==null||ir.focus()},Jn=()=>{var ir;(ir=$e.value)==null||ir.blur()},lr=async ir=>{le(INPUT_EVENT,ir[ue.valueKey]),le(UPDATE_MODEL_EVENT,ir[ue.valueKey]),le("select",ir),Et.value=[],At.value=-1},yr=ir=>{if(!Cn.value||_n.value)return;if(ir<0){At.value=-1;return}ir>=Et.value.length&&(ir=Et.value.length-1);const qn=Ie.value.querySelector(`.${_e.be("suggestion","wrap")}`),Xn=qn.querySelectorAll(`.${_e.be("suggestion","list")} li`)[ir],or=qn.scrollTop,{offsetTop:_r,scrollHeight:Kn}=Xn;_r+Kn>or+qn.clientHeight&&(qn.scrollTop+=Kn),_r<or&&(qn.scrollTop-=Kn),At.value=ir,$e.value.ref.setAttribute("aria-activedescendant",`${bn.value}-item-${At.value}`)};return onClickOutside$1(Fe,()=>{Cn.value&&Zn()}),onMounted(()=>{$e.value.ref.setAttribute("role","textbox"),$e.value.ref.setAttribute("aria-autocomplete","list"),$e.value.ref.setAttribute("aria-controls","id"),$e.value.ref.setAttribute("aria-activedescendant",`${bn.value}-item-${At.value}`),Ue=$e.value.ref.hasAttribute("readonly")}),ie({highlightedIndex:At,activated:hn,loading:_n,inputRef:$e,popperRef:Ve,suggestions:Et,handleSelect:lr,handleKeyEnter:Ln,focus:Gn,blur:Jn,close:Zn,highlight:yr}),(ir,qn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:Ve,visible:unref(Cn),placement:ir.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(_e).e("popper"),ir.popperClass],teleported:ir.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(_e).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:xn,onHide:kn},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:Ie,class:normalizeClass([unref(_e).b("suggestion"),unref(_e).is("loading",unref(En))]),style:normalizeStyle$1({[ir.fitInputWidth?"width":"minWidth"]:Lt.value,outline:"none"}),role:"region"},[createVNode(unref(ElScrollbar),{id:unref(bn),tag:"ul","wrap-class":unref(_e).be("suggestion","wrap"),"view-class":unref(_e).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(En)?(openBlock(),createElementBlock("li",_hoisted_2$G,[createVNode(unref(ElIcon),{class:normalizeClass(unref(_e).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(Et.value,(Yn,Xn)=>(openBlock(),createElementBlock("li",{id:`${unref(bn)}-item-${Xn}`,key:Xn,class:normalizeClass({highlighted:At.value===Xn}),role:"option","aria-selected":At.value===Xn,onClick:or=>lr(Yn)},[renderSlot(ir.$slots,"default",{item:Yn},()=>[createTextVNode(toDisplayString$1(Yn[ir.valueKey]),1)])],10,_hoisted_3$m))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:Fe,class:normalizeClass([unref(_e).b(),ir.$attrs.class]),style:normalizeStyle$1(unref(Sn)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(Cn),"aria-owns":unref(bn)},[createVNode(unref(ElInput),mergeProps({ref_key:"inputRef",ref:$e},unref(de),{clearable:ir.clearable,disabled:unref(he),name:ir.name,"model-value":ir.modelValue,onInput:In,onChange:Un,onFocus:Vn,onBlur:Mn,onClear:Fn,onKeydown:[qn[0]||(qn[0]=withKeys(withModifiers(Yn=>yr(At.value-1),["prevent"]),["up"])),qn[1]||(qn[1]=withKeys(withModifiers(Yn=>yr(At.value+1),["prevent"]),["down"])),withKeys(Ln,["enter"]),withKeys(Zn,["tab"]),withKeys(jn,["esc"])],onMousedown:Nn}),createSlots({_:2},[ir.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(ir.$slots,"prepend")])}:void 0,ir.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(ir.$slots,"append")])}:void 0,ir.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(ir.$slots,"prefix")])}:void 0,ir.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(ir.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,_hoisted_1$11)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$23,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:oe=>isNumber$4(oe)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:oe=>oe instanceof Event},_hoisted_1$10=["src","alt","srcset"],__default__$1n=defineComponent({name:"ElAvatar"}),_sfc_main$22=defineComponent({...__default__$1n,props:avatarProps,emits:avatarEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("avatar"),de=ref(!1),pe=computed(()=>{const{size:Ie,icon:Ve,shape:Fe}=le,Ue=[ue.b()];return isString$6(Ie)&&Ue.push(ue.m(Ie)),Ve&&Ue.push(ue.m("icon")),Fe&&Ue.push(ue.m(Fe)),Ue}),he=computed(()=>{const{size:Ie}=le;return isNumber$4(Ie)?ue.cssVarBlock({size:addUnit(Ie)||""}):void 0}),_e=computed(()=>({objectFit:le.fit}));watch(()=>le.src,()=>de.value=!1);function $e(Ie){de.value=!0,ie("error",Ie)}return(Ie,Ve)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(he))},[(Ie.src||Ie.srcSet)&&!de.value?(openBlock(),createElementBlock("img",{key:0,src:Ie.src,alt:Ie.alt,srcset:Ie.srcSet,style:normalizeStyle$1(unref(_e)),onError:$e},null,44,_hoisted_1$10)):Ie.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ie.icon)))]),_:1})):renderSlot(Ie.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$22,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:oe=>oe instanceof MouseEvent},useBackTop=(oe,ie,le)=>{const ue=shallowRef(),de=shallowRef(),pe=ref(!1),he=()=>{ue.value&&(pe.value=ue.value.scrollTop>=oe.visibilityHeight)},_e=Ie=>{var Ve;(Ve=ue.value)==null||Ve.scrollTo({top:0,behavior:"smooth"}),ie("click",Ie)},$e=useThrottleFn(he,300,!0);return useEventListener$1(de,"scroll",$e),onMounted(()=>{var Ie;de.value=document,ue.value=document.documentElement,oe.target&&(ue.value=(Ie=document.querySelector(oe.target))!=null?Ie:void 0,ue.value||throwError$1(le,`target does not exist: ${oe.target}`),de.value=ue.value)}),{visible:pe,handleClick:_e}},COMPONENT_NAME$h="ElBacktop",__default__$1m=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$21=defineComponent({...__default__$1m,props:backtopProps,emits:backtopEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("backtop"),{handleClick:de,visible:pe}=useBackTop(le,ie,COMPONENT_NAME$h),he=computed(()=>({right:`${le.right}px`,bottom:`${le.bottom}px`}));return(_e,$e)=>(openBlock(),createBlock(Transition,{name:`${unref(ue).namespace.value}-fade-in`},{default:withCtx(()=>[unref(pe)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(he)),class:normalizeClass(unref(ue).b()),onClick:$e[0]||($e[0]=withModifiers((...Ie)=>unref(de)&&unref(de)(...Ie),["stop"]))},[renderSlot(_e.$slots,"default",{},()=>[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).e("icon"))},{default:withCtx(()=>[createVNode(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$21,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({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"}}),_hoisted_1$$=["textContent"],__default__$1l=defineComponent({name:"ElBadge"}),_sfc_main$20=defineComponent({...__default__$1l,props:badgeProps,setup(oe,{expose:ie}){const le=oe,ue=useNamespace("badge"),de=computed(()=>le.isDot?"":isNumber$4(le.value)&&isNumber$4(le.max)?le.max<le.value?`${le.max}+`:`${le.value}`:`${le.value}`);return ie({content:de}),(pe,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b())},[renderSlot(pe.$slots,"default"),createVNode(Transition,{name:`${unref(ue).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(ue).e("content"),unref(ue).em("content",pe.type),unref(ue).is("fixed",!!pe.$slots.default),unref(ue).is("dot",pe.isDot)]),textContent:toDisplayString$1(unref(de))},null,10,_hoisted_1$$),[[vShow,!pe.hidden&&(unref(de)||pe.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$20,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),__default__$1k=defineComponent({name:"ElBreadcrumb"}),_sfc_main$1$=defineComponent({...__default__$1k,props:breadcrumbProps,setup(oe){const ie=oe,le=useNamespace("breadcrumb"),ue=ref();return provide(breadcrumbKey,ie),onMounted(()=>{const de=ue.value.querySelectorAll(`.${le.e("item")}`);de.length&&de[de.length-1].setAttribute("aria-current","page")}),(de,pe)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:ue,class:normalizeClass(unref(le).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(de.$slots,"default")],2))}});var Breadcrumb=_export_sfc$1(_sfc_main$1$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1j=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$1_=defineComponent({...__default__$1j,props:breadcrumbItemProps,setup(oe){const ie=oe,le=getCurrentInstance(),ue=inject(breadcrumbKey,void 0),de=useNamespace("breadcrumb"),{separator:pe,separatorIcon:he}=toRefs(ue),_e=le.appContext.config.globalProperties.$router,$e=ref(),Ie=()=>{!ie.to||!_e||(ie.replace?_e.replace(ie.to):_e.push(ie.to))};return(Ve,Fe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(de).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:$e,class:normalizeClass([unref(de).e("inner"),unref(de).is("link",!!Ve.to)]),role:"link",onClick:Ie},[renderSlot(Ve.$slots,"default")],2),unref(he)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(he))))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(de).e("separator")),role:"presentation"},toDisplayString$1(unref(pe)),3))],2))}});var BreadcrumbItem=_export_sfc$1(_sfc_main$1_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(oe,ie)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>oe.type==="text"));const le=inject(buttonGroupContextKey,void 0),ue=useGlobalConfig("button"),{form:de}=useFormItem(),pe=useFormSize(computed(()=>le==null?void 0:le.size)),he=useFormDisabled(),_e=ref(),$e=useSlots(),Ie=computed(()=>oe.type||(le==null?void 0:le.type)||""),Ve=computed(()=>{var Et,At,Lt;return(Lt=(At=oe.autoInsertSpace)!=null?At:(Et=ue.value)==null?void 0:Et.autoInsertSpace)!=null?Lt:!1}),Fe=computed(()=>oe.tag==="button"?{ariaDisabled:he.value||oe.loading,disabled:he.value||oe.loading,autofocus:oe.autofocus,type:oe.nativeType}:{}),Ue=computed(()=>{var Et;const At=(Et=$e.default)==null?void 0:Et.call($e);if(Ve.value&&(At==null?void 0:At.length)===1){const Lt=At[0];if((Lt==null?void 0:Lt.type)===Text$1){const hn=Lt.children;return/^\p{Unified_Ideograph}{2}$/u.test(hn.trim())}}return!1});return{_disabled:he,_size:pe,_type:Ie,_ref:_e,_props:Fe,shouldAddSpace:Ue,handleClick:Et=>{oe.nativeType==="reset"&&(de==null||de.resetFields()),ie("click",Et)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:oe=>oe instanceof MouseEvent};function bound01$1(oe,ie){isOnePointZero$1(oe)&&(oe="100%");var le=isPercentage$1(oe);return oe=ie===360?oe:Math.min(ie,Math.max(0,parseFloat(oe))),le&&(oe=parseInt(String(oe*ie),10)/100),Math.abs(oe-ie)<1e-6?1:(ie===360?oe=(oe<0?oe%ie+ie:oe%ie)/parseFloat(String(ie)):oe=oe%ie/parseFloat(String(ie)),oe)}function clamp01(oe){return Math.min(1,Math.max(0,oe))}function isOnePointZero$1(oe){return typeof oe=="string"&&oe.indexOf(".")!==-1&&parseFloat(oe)===1}function isPercentage$1(oe){return typeof oe=="string"&&oe.indexOf("%")!==-1}function boundAlpha(oe){return oe=parseFloat(oe),(isNaN(oe)||oe<0||oe>1)&&(oe=1),oe}function convertToPercentage(oe){return oe<=1?"".concat(Number(oe)*100,"%"):oe}function pad2(oe){return oe.length===1?"0"+oe:String(oe)}function rgbToRgb(oe,ie,le){return{r:bound01$1(oe,255)*255,g:bound01$1(ie,255)*255,b:bound01$1(le,255)*255}}function rgbToHsl(oe,ie,le){oe=bound01$1(oe,255),ie=bound01$1(ie,255),le=bound01$1(le,255);var ue=Math.max(oe,ie,le),de=Math.min(oe,ie,le),pe=0,he=0,_e=(ue+de)/2;if(ue===de)he=0,pe=0;else{var $e=ue-de;switch(he=_e>.5?$e/(2-ue-de):$e/(ue+de),ue){case oe:pe=(ie-le)/$e+(ie<le?6:0);break;case ie:pe=(le-oe)/$e+2;break;case le:pe=(oe-ie)/$e+4;break}pe/=6}return{h:pe,s:he,l:_e}}function hue2rgb(oe,ie,le){return le<0&&(le+=1),le>1&&(le-=1),le<1/6?oe+(ie-oe)*(6*le):le<1/2?ie:le<2/3?oe+(ie-oe)*(2/3-le)*6:oe}function hslToRgb(oe,ie,le){var ue,de,pe;if(oe=bound01$1(oe,360),ie=bound01$1(ie,100),le=bound01$1(le,100),ie===0)de=le,pe=le,ue=le;else{var he=le<.5?le*(1+ie):le+ie-le*ie,_e=2*le-he;ue=hue2rgb(_e,he,oe+1/3),de=hue2rgb(_e,he,oe),pe=hue2rgb(_e,he,oe-1/3)}return{r:ue*255,g:de*255,b:pe*255}}function rgbToHsv(oe,ie,le){oe=bound01$1(oe,255),ie=bound01$1(ie,255),le=bound01$1(le,255);var ue=Math.max(oe,ie,le),de=Math.min(oe,ie,le),pe=0,he=ue,_e=ue-de,$e=ue===0?0:_e/ue;if(ue===de)pe=0;else{switch(ue){case oe:pe=(ie-le)/_e+(ie<le?6:0);break;case ie:pe=(le-oe)/_e+2;break;case le:pe=(oe-ie)/_e+4;break}pe/=6}return{h:pe,s:$e,v:he}}function hsvToRgb(oe,ie,le){oe=bound01$1(oe,360)*6,ie=bound01$1(ie,100),le=bound01$1(le,100);var ue=Math.floor(oe),de=oe-ue,pe=le*(1-ie),he=le*(1-de*ie),_e=le*(1-(1-de)*ie),$e=ue%6,Ie=[le,he,pe,pe,_e,le][$e],Ve=[_e,le,le,he,pe,pe][$e],Fe=[pe,pe,_e,le,le,he][$e];return{r:Ie*255,g:Ve*255,b:Fe*255}}function rgbToHex(oe,ie,le,ue){var de=[pad2(Math.round(oe).toString(16)),pad2(Math.round(ie).toString(16)),pad2(Math.round(le).toString(16))];return ue&&de[0].startsWith(de[0].charAt(1))&&de[1].startsWith(de[1].charAt(1))&&de[2].startsWith(de[2].charAt(1))?de[0].charAt(0)+de[1].charAt(0)+de[2].charAt(0):de.join("")}function rgbaToHex(oe,ie,le,ue,de){var pe=[pad2(Math.round(oe).toString(16)),pad2(Math.round(ie).toString(16)),pad2(Math.round(le).toString(16)),pad2(convertDecimalToHex(ue))];return de&&pe[0].startsWith(pe[0].charAt(1))&&pe[1].startsWith(pe[1].charAt(1))&&pe[2].startsWith(pe[2].charAt(1))&&pe[3].startsWith(pe[3].charAt(1))?pe[0].charAt(0)+pe[1].charAt(0)+pe[2].charAt(0)+pe[3].charAt(0):pe.join("")}function convertDecimalToHex(oe){return Math.round(parseFloat(oe)*255).toString(16)}function convertHexToDecimal(oe){return parseIntFromHex(oe)/255}function parseIntFromHex(oe){return parseInt(oe,16)}function numberInputToObject(oe){return{r:oe>>16,g:(oe&65280)>>8,b:oe&255}}var names={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 inputToRGB(oe){var ie={r:0,g:0,b:0},le=1,ue=null,de=null,pe=null,he=!1,_e=!1;return typeof oe=="string"&&(oe=stringInputToObject(oe)),typeof oe=="object"&&(isValidCSSUnit(oe.r)&&isValidCSSUnit(oe.g)&&isValidCSSUnit(oe.b)?(ie=rgbToRgb(oe.r,oe.g,oe.b),he=!0,_e=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(oe.h)&&isValidCSSUnit(oe.s)&&isValidCSSUnit(oe.v)?(ue=convertToPercentage(oe.s),de=convertToPercentage(oe.v),ie=hsvToRgb(oe.h,ue,de),he=!0,_e="hsv"):isValidCSSUnit(oe.h)&&isValidCSSUnit(oe.s)&&isValidCSSUnit(oe.l)&&(ue=convertToPercentage(oe.s),pe=convertToPercentage(oe.l),ie=hslToRgb(oe.h,ue,pe),he=!0,_e="hsl"),Object.prototype.hasOwnProperty.call(oe,"a")&&(le=oe.a)),le=boundAlpha(le),{ok:he,format:oe.format||_e,r:Math.min(255,Math.max(ie.r,0)),g:Math.min(255,Math.max(ie.g,0)),b:Math.min(255,Math.max(ie.b,0)),a:le}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),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 stringInputToObject(oe){if(oe=oe.trim().toLowerCase(),oe.length===0)return!1;var ie=!1;if(names[oe])oe=names[oe],ie=!0;else if(oe==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var le=matchers.rgb.exec(oe);return le?{r:le[1],g:le[2],b:le[3]}:(le=matchers.rgba.exec(oe),le?{r:le[1],g:le[2],b:le[3],a:le[4]}:(le=matchers.hsl.exec(oe),le?{h:le[1],s:le[2],l:le[3]}:(le=matchers.hsla.exec(oe),le?{h:le[1],s:le[2],l:le[3],a:le[4]}:(le=matchers.hsv.exec(oe),le?{h:le[1],s:le[2],v:le[3]}:(le=matchers.hsva.exec(oe),le?{h:le[1],s:le[2],v:le[3],a:le[4]}:(le=matchers.hex8.exec(oe),le?{r:parseIntFromHex(le[1]),g:parseIntFromHex(le[2]),b:parseIntFromHex(le[3]),a:convertHexToDecimal(le[4]),format:ie?"name":"hex8"}:(le=matchers.hex6.exec(oe),le?{r:parseIntFromHex(le[1]),g:parseIntFromHex(le[2]),b:parseIntFromHex(le[3]),format:ie?"name":"hex"}:(le=matchers.hex4.exec(oe),le?{r:parseIntFromHex(le[1]+le[1]),g:parseIntFromHex(le[2]+le[2]),b:parseIntFromHex(le[3]+le[3]),a:convertHexToDecimal(le[4]+le[4]),format:ie?"name":"hex8"}:(le=matchers.hex3.exec(oe),le?{r:parseIntFromHex(le[1]+le[1]),g:parseIntFromHex(le[2]+le[2]),b:parseIntFromHex(le[3]+le[3]),format:ie?"name":"hex"}:!1)))))))))}function isValidCSSUnit(oe){return!!matchers.CSS_UNIT.exec(String(oe))}var TinyColor=function(){function oe(ie,le){ie===void 0&&(ie=""),le===void 0&&(le={});var ue;if(ie instanceof oe)return ie;typeof ie=="number"&&(ie=numberInputToObject(ie)),this.originalInput=ie;var de=inputToRGB(ie);this.originalInput=ie,this.r=de.r,this.g=de.g,this.b=de.b,this.a=de.a,this.roundA=Math.round(100*this.a)/100,this.format=(ue=le.format)!==null&&ue!==void 0?ue:de.format,this.gradientType=le.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=de.ok}return oe.prototype.isDark=function(){return this.getBrightness()<128},oe.prototype.isLight=function(){return!this.isDark()},oe.prototype.getBrightness=function(){var ie=this.toRgb();return(ie.r*299+ie.g*587+ie.b*114)/1e3},oe.prototype.getLuminance=function(){var ie=this.toRgb(),le,ue,de,pe=ie.r/255,he=ie.g/255,_e=ie.b/255;return pe<=.03928?le=pe/12.92:le=Math.pow((pe+.055)/1.055,2.4),he<=.03928?ue=he/12.92:ue=Math.pow((he+.055)/1.055,2.4),_e<=.03928?de=_e/12.92:de=Math.pow((_e+.055)/1.055,2.4),.2126*le+.7152*ue+.0722*de},oe.prototype.getAlpha=function(){return this.a},oe.prototype.setAlpha=function(ie){return this.a=boundAlpha(ie),this.roundA=Math.round(100*this.a)/100,this},oe.prototype.isMonochrome=function(){var ie=this.toHsl().s;return ie===0},oe.prototype.toHsv=function(){var ie=rgbToHsv(this.r,this.g,this.b);return{h:ie.h*360,s:ie.s,v:ie.v,a:this.a}},oe.prototype.toHsvString=function(){var ie=rgbToHsv(this.r,this.g,this.b),le=Math.round(ie.h*360),ue=Math.round(ie.s*100),de=Math.round(ie.v*100);return this.a===1?"hsv(".concat(le,", ").concat(ue,"%, ").concat(de,"%)"):"hsva(".concat(le,", ").concat(ue,"%, ").concat(de,"%, ").concat(this.roundA,")")},oe.prototype.toHsl=function(){var ie=rgbToHsl(this.r,this.g,this.b);return{h:ie.h*360,s:ie.s,l:ie.l,a:this.a}},oe.prototype.toHslString=function(){var ie=rgbToHsl(this.r,this.g,this.b),le=Math.round(ie.h*360),ue=Math.round(ie.s*100),de=Math.round(ie.l*100);return this.a===1?"hsl(".concat(le,", ").concat(ue,"%, ").concat(de,"%)"):"hsla(".concat(le,", ").concat(ue,"%, ").concat(de,"%, ").concat(this.roundA,")")},oe.prototype.toHex=function(ie){return ie===void 0&&(ie=!1),rgbToHex(this.r,this.g,this.b,ie)},oe.prototype.toHexString=function(ie){return ie===void 0&&(ie=!1),"#"+this.toHex(ie)},oe.prototype.toHex8=function(ie){return ie===void 0&&(ie=!1),rgbaToHex(this.r,this.g,this.b,this.a,ie)},oe.prototype.toHex8String=function(ie){return ie===void 0&&(ie=!1),"#"+this.toHex8(ie)},oe.prototype.toHexShortString=function(ie){return ie===void 0&&(ie=!1),this.a===1?this.toHexString(ie):this.toHex8String(ie)},oe.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},oe.prototype.toRgbString=function(){var ie=Math.round(this.r),le=Math.round(this.g),ue=Math.round(this.b);return this.a===1?"rgb(".concat(ie,", ").concat(le,", ").concat(ue,")"):"rgba(".concat(ie,", ").concat(le,", ").concat(ue,", ").concat(this.roundA,")")},oe.prototype.toPercentageRgb=function(){var ie=function(le){return"".concat(Math.round(bound01$1(le,255)*100),"%")};return{r:ie(this.r),g:ie(this.g),b:ie(this.b),a:this.a}},oe.prototype.toPercentageRgbString=function(){var ie=function(le){return Math.round(bound01$1(le,255)*100)};return this.a===1?"rgb(".concat(ie(this.r),"%, ").concat(ie(this.g),"%, ").concat(ie(this.b),"%)"):"rgba(".concat(ie(this.r),"%, ").concat(ie(this.g),"%, ").concat(ie(this.b),"%, ").concat(this.roundA,")")},oe.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var ie="#"+rgbToHex(this.r,this.g,this.b,!1),le=0,ue=Object.entries(names);le<ue.length;le++){var de=ue[le],pe=de[0],he=de[1];if(ie===he)return pe}return!1},oe.prototype.toString=function(ie){var le=!!ie;ie=ie??this.format;var ue=!1,de=this.a<1&&this.a>=0,pe=!le&&de&&(ie.startsWith("hex")||ie==="name");return pe?ie==="name"&&this.a===0?this.toName():this.toRgbString():(ie==="rgb"&&(ue=this.toRgbString()),ie==="prgb"&&(ue=this.toPercentageRgbString()),(ie==="hex"||ie==="hex6")&&(ue=this.toHexString()),ie==="hex3"&&(ue=this.toHexString(!0)),ie==="hex4"&&(ue=this.toHex8String(!0)),ie==="hex8"&&(ue=this.toHex8String()),ie==="name"&&(ue=this.toName()),ie==="hsl"&&(ue=this.toHslString()),ie==="hsv"&&(ue=this.toHsvString()),ue||this.toHexString())},oe.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},oe.prototype.clone=function(){return new oe(this.toString())},oe.prototype.lighten=function(ie){ie===void 0&&(ie=10);var le=this.toHsl();return le.l+=ie/100,le.l=clamp01(le.l),new oe(le)},oe.prototype.brighten=function(ie){ie===void 0&&(ie=10);var le=this.toRgb();return le.r=Math.max(0,Math.min(255,le.r-Math.round(255*-(ie/100)))),le.g=Math.max(0,Math.min(255,le.g-Math.round(255*-(ie/100)))),le.b=Math.max(0,Math.min(255,le.b-Math.round(255*-(ie/100)))),new oe(le)},oe.prototype.darken=function(ie){ie===void 0&&(ie=10);var le=this.toHsl();return le.l-=ie/100,le.l=clamp01(le.l),new oe(le)},oe.prototype.tint=function(ie){return ie===void 0&&(ie=10),this.mix("white",ie)},oe.prototype.shade=function(ie){return ie===void 0&&(ie=10),this.mix("black",ie)},oe.prototype.desaturate=function(ie){ie===void 0&&(ie=10);var le=this.toHsl();return le.s-=ie/100,le.s=clamp01(le.s),new oe(le)},oe.prototype.saturate=function(ie){ie===void 0&&(ie=10);var le=this.toHsl();return le.s+=ie/100,le.s=clamp01(le.s),new oe(le)},oe.prototype.greyscale=function(){return this.desaturate(100)},oe.prototype.spin=function(ie){var le=this.toHsl(),ue=(le.h+ie)%360;return le.h=ue<0?360+ue:ue,new oe(le)},oe.prototype.mix=function(ie,le){le===void 0&&(le=50);var ue=this.toRgb(),de=new oe(ie).toRgb(),pe=le/100,he={r:(de.r-ue.r)*pe+ue.r,g:(de.g-ue.g)*pe+ue.g,b:(de.b-ue.b)*pe+ue.b,a:(de.a-ue.a)*pe+ue.a};return new oe(he)},oe.prototype.analogous=function(ie,le){ie===void 0&&(ie=6),le===void 0&&(le=30);var ue=this.toHsl(),de=360/le,pe=[this];for(ue.h=(ue.h-(de*ie>>1)+720)%360;--ie;)ue.h=(ue.h+de)%360,pe.push(new oe(ue));return pe},oe.prototype.complement=function(){var ie=this.toHsl();return ie.h=(ie.h+180)%360,new oe(ie)},oe.prototype.monochromatic=function(ie){ie===void 0&&(ie=6);for(var le=this.toHsv(),ue=le.h,de=le.s,pe=le.v,he=[],_e=1/ie;ie--;)he.push(new oe({h:ue,s:de,v:pe})),pe=(pe+_e)%1;return he},oe.prototype.splitcomplement=function(){var ie=this.toHsl(),le=ie.h;return[this,new oe({h:(le+72)%360,s:ie.s,l:ie.l}),new oe({h:(le+216)%360,s:ie.s,l:ie.l})]},oe.prototype.onBackground=function(ie){var le=this.toRgb(),ue=new oe(ie).toRgb(),de=le.a+ue.a*(1-le.a);return new oe({r:(le.r*le.a+ue.r*ue.a*(1-le.a))/de,g:(le.g*le.a+ue.g*ue.a*(1-le.a))/de,b:(le.b*le.a+ue.b*ue.a*(1-le.a))/de,a:de})},oe.prototype.triad=function(){return this.polyad(3)},oe.prototype.tetrad=function(){return this.polyad(4)},oe.prototype.polyad=function(ie){for(var le=this.toHsl(),ue=le.h,de=[this],pe=360/ie,he=1;he<ie;he++)de.push(new oe({h:(ue+he*pe)%360,s:le.s,l:le.l}));return de},oe.prototype.equals=function(ie){return this.toRgbString()===new oe(ie).toRgbString()},oe}();function darken(oe,ie=20){return oe.mix("#141414",ie).toString()}function useButtonCustomStyle(oe){const ie=useFormDisabled(),le=useNamespace("button");return computed(()=>{let ue={};const de=oe.color;if(de){const pe=new TinyColor(de),he=oe.dark?pe.tint(20).toString():darken(pe,20);if(oe.plain)ue=le.cssVarBlock({"bg-color":oe.dark?darken(pe,90):pe.tint(90).toString(),"text-color":de,"border-color":oe.dark?darken(pe,50):pe.tint(50).toString(),"hover-text-color":`var(${le.cssVarName("color-white")})`,"hover-bg-color":de,"hover-border-color":de,"active-bg-color":he,"active-text-color":`var(${le.cssVarName("color-white")})`,"active-border-color":he}),ie.value&&(ue[le.cssVarBlockName("disabled-bg-color")]=oe.dark?darken(pe,90):pe.tint(90).toString(),ue[le.cssVarBlockName("disabled-text-color")]=oe.dark?darken(pe,50):pe.tint(50).toString(),ue[le.cssVarBlockName("disabled-border-color")]=oe.dark?darken(pe,80):pe.tint(80).toString());else{const _e=oe.dark?darken(pe,30):pe.tint(30).toString(),$e=pe.isDark()?`var(${le.cssVarName("color-white")})`:`var(${le.cssVarName("color-black")})`;if(ue=le.cssVarBlock({"bg-color":de,"text-color":$e,"border-color":de,"hover-bg-color":_e,"hover-text-color":$e,"hover-border-color":_e,"active-bg-color":he,"active-border-color":he}),ie.value){const Ie=oe.dark?darken(pe,50):pe.tint(50).toString();ue[le.cssVarBlockName("disabled-bg-color")]=Ie,ue[le.cssVarBlockName("disabled-text-color")]=oe.dark?"rgba(255, 255, 255, 0.5)":`var(${le.cssVarName("color-white")})`,ue[le.cssVarBlockName("disabled-border-color")]=Ie}}}return ue})}const __default__$1i=defineComponent({name:"ElButton"}),_sfc_main$1Z=defineComponent({...__default__$1i,props:buttonProps,emits:buttonEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useButtonCustomStyle(ue),pe=useNamespace("button"),{_ref:he,_size:_e,_type:$e,_disabled:Ie,_props:Ve,shouldAddSpace:Fe,handleClick:Ue}=useButton(ue,le);return ie({ref:he,size:_e,type:$e,disabled:Ie,shouldAddSpace:Fe}),(qe,Et)=>(openBlock(),createBlock(resolveDynamicComponent(qe.tag),mergeProps({ref_key:"_ref",ref:he},unref(Ve),{class:[unref(pe).b(),unref(pe).m(unref($e)),unref(pe).m(unref(_e)),unref(pe).is("disabled",unref(Ie)),unref(pe).is("loading",qe.loading),unref(pe).is("plain",qe.plain),unref(pe).is("round",qe.round),unref(pe).is("circle",qe.circle),unref(pe).is("text",qe.text),unref(pe).is("link",qe.link),unref(pe).is("has-bg",qe.bg)],style:unref(de),onClick:unref(Ue)}),{default:withCtx(()=>[qe.loading?(openBlock(),createElementBlock(Fragment,{key:0},[qe.$slots.loading?renderSlot(qe.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(pe).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qe.loadingIcon)))]),_:1},8,["class"]))],64)):qe.icon||qe.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[qe.icon?(openBlock(),createBlock(resolveDynamicComponent(qe.icon),{key:0})):renderSlot(qe.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),qe.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(pe).em("text","expand")]:unref(Fe)})},[renderSlot(qe.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$1Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1h=defineComponent({name:"ElButtonGroup"}),_sfc_main$1Y=defineComponent({...__default__$1h,props:buttonGroupProps,setup(oe){const ie=oe;provide(buttonGroupContextKey,reactive({size:toRef$1(ie,"size"),type:toRef$1(ie,"type")}));const le=useNamespace("button");return(ue,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(le).b("group")}`)},[renderSlot(ue.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$1Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(oe){return oe&&oe.__esModule&&Object.prototype.hasOwnProperty.call(oe,"default")?oe.default:oe}function getAugmentedNamespace(oe){if(oe.__esModule)return oe;var ie=oe.default;if(typeof ie=="function"){var le=function ue(){if(this instanceof ue){var de=[null];de.push.apply(de,arguments);var pe=Function.bind.apply(ie,de);return new pe}return ie.apply(this,arguments)};le.prototype=ie.prototype}else le={};return Object.defineProperty(le,"__esModule",{value:!0}),Object.keys(oe).forEach(function(ue){var de=Object.getOwnPropertyDescriptor(oe,ue);Object.defineProperty(le,ue,de.get?de:{enumerable:!0,get:function(){return oe[ue]}})}),le}var dayjs_min={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){var le=1e3,ue=6e4,de=36e5,pe="millisecond",he="second",_e="minute",$e="hour",Ie="day",Ve="week",Fe="month",Ue="quarter",qe="year",Et="date",At="Invalid Date",Lt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,hn=/\[([^\]]+)]|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,vn={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(In){var Nn=["th","st","nd","rd"],Un=In%100;return"["+In+(Nn[(Un-20)%10]||Nn[Un]||Nn[0])+"]"}},_n=function(In,Nn,Un){var Vn=String(In);return!Vn||Vn.length>=Nn?In:""+Array(Nn+1-Vn.length).join(Un)+In},bn={s:_n,z:function(In){var Nn=-In.utcOffset(),Un=Math.abs(Nn),Vn=Math.floor(Un/60),Mn=Un%60;return(Nn<=0?"+":"-")+_n(Vn,2,"0")+":"+_n(Mn,2,"0")},m:function In(Nn,Un){if(Nn.date()<Un.date())return-In(Un,Nn);var Vn=12*(Un.year()-Nn.year())+(Un.month()-Nn.month()),Mn=Nn.clone().add(Vn,Fe),Fn=Un-Mn<0,Ln=Nn.clone().add(Vn+(Fn?-1:1),Fe);return+(-(Vn+(Un-Mn)/(Fn?Mn-Ln:Ln-Mn))||0)},a:function(In){return In<0?Math.ceil(In)||0:Math.floor(In)},p:function(In){return{M:Fe,y:qe,w:Ve,d:Ie,D:Et,h:$e,m:_e,s:he,ms:pe,Q:Ue}[In]||String(In||"").toLowerCase().replace(/s$/,"")},u:function(In){return In===void 0}},Sn="en",Cn={};Cn[Sn]=vn;var En=function(In){return In instanceof Pn},wn=function In(Nn,Un,Vn){var Mn;if(!Nn)return Sn;if(typeof Nn=="string"){var Fn=Nn.toLowerCase();Cn[Fn]&&(Mn=Fn),Un&&(Cn[Fn]=Un,Mn=Fn);var Ln=Nn.split("-");if(!Mn&&Ln.length>1)return In(Ln[0])}else{var jn=Nn.name;Cn[jn]=Nn,Mn=jn}return!Vn&&Mn&&(Sn=Mn),Mn||!Vn&&Sn},xn=function(In,Nn){if(En(In))return In.clone();var Un=typeof Nn=="object"?Nn:{};return Un.date=In,Un.args=arguments,new Pn(Un)},kn=bn;kn.l=wn,kn.i=En,kn.w=function(In,Nn){return xn(In,{locale:Nn.$L,utc:Nn.$u,x:Nn.$x,$offset:Nn.$offset})};var Pn=function(){function In(Un){this.$L=wn(Un.locale,null,!0),this.parse(Un)}var Nn=In.prototype;return Nn.parse=function(Un){this.$d=function(Vn){var Mn=Vn.date,Fn=Vn.utc;if(Mn===null)return new Date(NaN);if(kn.u(Mn))return new Date;if(Mn instanceof Date)return new Date(Mn);if(typeof Mn=="string"&&!/Z$/i.test(Mn)){var Ln=Mn.match(Lt);if(Ln){var jn=Ln[2]-1||0,Zn=(Ln[7]||"0").substring(0,3);return Fn?new Date(Date.UTC(Ln[1],jn,Ln[3]||1,Ln[4]||0,Ln[5]||0,Ln[6]||0,Zn)):new Date(Ln[1],jn,Ln[3]||1,Ln[4]||0,Ln[5]||0,Ln[6]||0,Zn)}}return new Date(Mn)}(Un),this.$x=Un.x||{},this.init()},Nn.init=function(){var Un=this.$d;this.$y=Un.getFullYear(),this.$M=Un.getMonth(),this.$D=Un.getDate(),this.$W=Un.getDay(),this.$H=Un.getHours(),this.$m=Un.getMinutes(),this.$s=Un.getSeconds(),this.$ms=Un.getMilliseconds()},Nn.$utils=function(){return kn},Nn.isValid=function(){return this.$d.toString()!==At},Nn.isSame=function(Un,Vn){var Mn=xn(Un);return this.startOf(Vn)<=Mn&&Mn<=this.endOf(Vn)},Nn.isAfter=function(Un,Vn){return xn(Un)<this.startOf(Vn)},Nn.isBefore=function(Un,Vn){return this.endOf(Vn)<xn(Un)},Nn.$g=function(Un,Vn,Mn){return kn.u(Un)?this[Vn]:this.set(Mn,Un)},Nn.unix=function(){return Math.floor(this.valueOf()/1e3)},Nn.valueOf=function(){return this.$d.getTime()},Nn.startOf=function(Un,Vn){var Mn=this,Fn=!!kn.u(Vn)||Vn,Ln=kn.p(Un),jn=function(Yn,Xn){var or=kn.w(Mn.$u?Date.UTC(Mn.$y,Xn,Yn):new Date(Mn.$y,Xn,Yn),Mn);return Fn?or:or.endOf(Ie)},Zn=function(Yn,Xn){return kn.w(Mn.toDate()[Yn].apply(Mn.toDate("s"),(Fn?[0,0,0,0]:[23,59,59,999]).slice(Xn)),Mn)},Gn=this.$W,Jn=this.$M,lr=this.$D,yr="set"+(this.$u?"UTC":"");switch(Ln){case qe:return Fn?jn(1,0):jn(31,11);case Fe:return Fn?jn(1,Jn):jn(0,Jn+1);case Ve:var ir=this.$locale().weekStart||0,qn=(Gn<ir?Gn+7:Gn)-ir;return jn(Fn?lr-qn:lr+(6-qn),Jn);case Ie:case Et:return Zn(yr+"Hours",0);case $e:return Zn(yr+"Minutes",1);case _e:return Zn(yr+"Seconds",2);case he:return Zn(yr+"Milliseconds",3);default:return this.clone()}},Nn.endOf=function(Un){return this.startOf(Un,!1)},Nn.$set=function(Un,Vn){var Mn,Fn=kn.p(Un),Ln="set"+(this.$u?"UTC":""),jn=(Mn={},Mn[Ie]=Ln+"Date",Mn[Et]=Ln+"Date",Mn[Fe]=Ln+"Month",Mn[qe]=Ln+"FullYear",Mn[$e]=Ln+"Hours",Mn[_e]=Ln+"Minutes",Mn[he]=Ln+"Seconds",Mn[pe]=Ln+"Milliseconds",Mn)[Fn],Zn=Fn===Ie?this.$D+(Vn-this.$W):Vn;if(Fn===Fe||Fn===qe){var Gn=this.clone().set(Et,1);Gn.$d[jn](Zn),Gn.init(),this.$d=Gn.set(Et,Math.min(this.$D,Gn.daysInMonth())).$d}else jn&&this.$d[jn](Zn);return this.init(),this},Nn.set=function(Un,Vn){return this.clone().$set(Un,Vn)},Nn.get=function(Un){return this[kn.p(Un)]()},Nn.add=function(Un,Vn){var Mn,Fn=this;Un=Number(Un);var Ln=kn.p(Vn),jn=function(Jn){var lr=xn(Fn);return kn.w(lr.date(lr.date()+Math.round(Jn*Un)),Fn)};if(Ln===Fe)return this.set(Fe,this.$M+Un);if(Ln===qe)return this.set(qe,this.$y+Un);if(Ln===Ie)return jn(1);if(Ln===Ve)return jn(7);var Zn=(Mn={},Mn[_e]=ue,Mn[$e]=de,Mn[he]=le,Mn)[Ln]||1,Gn=this.$d.getTime()+Un*Zn;return kn.w(Gn,this)},Nn.subtract=function(Un,Vn){return this.add(-1*Un,Vn)},Nn.format=function(Un){var Vn=this,Mn=this.$locale();if(!this.isValid())return Mn.invalidDate||At;var Fn=Un||"YYYY-MM-DDTHH:mm:ssZ",Ln=kn.z(this),jn=this.$H,Zn=this.$m,Gn=this.$M,Jn=Mn.weekdays,lr=Mn.months,yr=function(Xn,or,_r,Kn){return Xn&&(Xn[or]||Xn(Vn,Fn))||_r[or].slice(0,Kn)},ir=function(Xn){return kn.s(jn%12||12,Xn,"0")},qn=Mn.meridiem||function(Xn,or,_r){var Kn=Xn<12?"AM":"PM";return _r?Kn.toLowerCase():Kn},Yn={YY:String(this.$y).slice(-2),YYYY:kn.s(this.$y,4,"0"),M:Gn+1,MM:kn.s(Gn+1,2,"0"),MMM:yr(Mn.monthsShort,Gn,lr,3),MMMM:yr(lr,Gn),D:this.$D,DD:kn.s(this.$D,2,"0"),d:String(this.$W),dd:yr(Mn.weekdaysMin,this.$W,Jn,2),ddd:yr(Mn.weekdaysShort,this.$W,Jn,3),dddd:Jn[this.$W],H:String(jn),HH:kn.s(jn,2,"0"),h:ir(1),hh:ir(2),a:qn(jn,Zn,!0),A:qn(jn,Zn,!1),m:String(Zn),mm:kn.s(Zn,2,"0"),s:String(this.$s),ss:kn.s(this.$s,2,"0"),SSS:kn.s(this.$ms,3,"0"),Z:Ln};return Fn.replace(hn,function(Xn,or){return or||Yn[Xn]||Ln.replace(":","")})},Nn.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Nn.diff=function(Un,Vn,Mn){var Fn,Ln=kn.p(Vn),jn=xn(Un),Zn=(jn.utcOffset()-this.utcOffset())*ue,Gn=this-jn,Jn=kn.m(this,jn);return Jn=(Fn={},Fn[qe]=Jn/12,Fn[Fe]=Jn,Fn[Ue]=Jn/3,Fn[Ve]=(Gn-Zn)/6048e5,Fn[Ie]=(Gn-Zn)/864e5,Fn[$e]=Gn/de,Fn[_e]=Gn/ue,Fn[he]=Gn/le,Fn)[Ln]||Gn,Mn?Jn:kn.a(Jn)},Nn.daysInMonth=function(){return this.endOf(Fe).$D},Nn.$locale=function(){return Cn[this.$L]},Nn.locale=function(Un,Vn){if(!Un)return this.$L;var Mn=this.clone(),Fn=wn(Un,Vn,!0);return Fn&&(Mn.$L=Fn),Mn},Nn.clone=function(){return kn.w(this.$d,this)},Nn.toDate=function(){return new Date(this.valueOf())},Nn.toJSON=function(){return this.isValid()?this.toISOString():null},Nn.toISOString=function(){return this.$d.toISOString()},Nn.toString=function(){return this.$d.toUTCString()},In}(),An=Pn.prototype;return xn.prototype=An,[["$ms",pe],["$s",he],["$m",_e],["$H",$e],["$W",Ie],["$M",Fe],["$y",qe],["$D",Et]].forEach(function(In){An[In[1]]=function(Nn){return this.$g(Nn,In[0],In[1])}}),xn.extend=function(In,Nn){return In.$i||(In(Nn,Pn,xn),In.$i=!0),xn},xn.locale=wn,xn.isDayjs=En,xn.unix=function(In){return xn(1e3*In)},xn.en=Cn[Sn],xn.Ls=Cn,xn.p={},xn})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var customParseFormat$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){var le={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"},ue=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,de=/\d\d/,pe=/\d\d?/,he=/\d*[^-_:/,()\s\d]+/,_e={},$e=function(At){return(At=+At)+(At>68?1900:2e3)},Ie=function(At){return function(Lt){this[At]=+Lt}},Ve=[/[+-]\d\d:?(\d\d)?|Z/,function(At){(this.zone||(this.zone={})).offset=function(Lt){if(!Lt||Lt==="Z")return 0;var hn=Lt.match(/([+-]|\d\d)/g),vn=60*hn[1]+(+hn[2]||0);return vn===0?0:hn[0]==="+"?-vn:vn}(At)}],Fe=function(At){var Lt=_e[At];return Lt&&(Lt.indexOf?Lt:Lt.s.concat(Lt.f))},Ue=function(At,Lt){var hn,vn=_e.meridiem;if(vn){for(var _n=1;_n<=24;_n+=1)if(At.indexOf(vn(_n,0,Lt))>-1){hn=_n>12;break}}else hn=At===(Lt?"pm":"PM");return hn},qe={A:[he,function(At){this.afternoon=Ue(At,!1)}],a:[he,function(At){this.afternoon=Ue(At,!0)}],S:[/\d/,function(At){this.milliseconds=100*+At}],SS:[de,function(At){this.milliseconds=10*+At}],SSS:[/\d{3}/,function(At){this.milliseconds=+At}],s:[pe,Ie("seconds")],ss:[pe,Ie("seconds")],m:[pe,Ie("minutes")],mm:[pe,Ie("minutes")],H:[pe,Ie("hours")],h:[pe,Ie("hours")],HH:[pe,Ie("hours")],hh:[pe,Ie("hours")],D:[pe,Ie("day")],DD:[de,Ie("day")],Do:[he,function(At){var Lt=_e.ordinal,hn=At.match(/\d+/);if(this.day=hn[0],Lt)for(var vn=1;vn<=31;vn+=1)Lt(vn).replace(/\[|\]/g,"")===At&&(this.day=vn)}],M:[pe,Ie("month")],MM:[de,Ie("month")],MMM:[he,function(At){var Lt=Fe("months"),hn=(Fe("monthsShort")||Lt.map(function(vn){return vn.slice(0,3)})).indexOf(At)+1;if(hn<1)throw new Error;this.month=hn%12||hn}],MMMM:[he,function(At){var Lt=Fe("months").indexOf(At)+1;if(Lt<1)throw new Error;this.month=Lt%12||Lt}],Y:[/[+-]?\d+/,Ie("year")],YY:[de,function(At){this.year=$e(At)}],YYYY:[/\d{4}/,Ie("year")],Z:Ve,ZZ:Ve};function Et(At){var Lt,hn;Lt=At,hn=_e&&_e.formats;for(var vn=(At=Lt.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(xn,kn,Pn){var An=Pn&&Pn.toUpperCase();return kn||hn[Pn]||le[Pn]||hn[An].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(In,Nn,Un){return Nn||Un.slice(1)})})).match(ue),_n=vn.length,bn=0;bn<_n;bn+=1){var Sn=vn[bn],Cn=qe[Sn],En=Cn&&Cn[0],wn=Cn&&Cn[1];vn[bn]=wn?{regex:En,parser:wn}:Sn.replace(/^\[|\]$/g,"")}return function(xn){for(var kn={},Pn=0,An=0;Pn<_n;Pn+=1){var In=vn[Pn];if(typeof In=="string")An+=In.length;else{var Nn=In.regex,Un=In.parser,Vn=xn.slice(An),Mn=Nn.exec(Vn)[0];Un.call(kn,Mn),xn=xn.replace(Mn,"")}}return function(Fn){var Ln=Fn.afternoon;if(Ln!==void 0){var jn=Fn.hours;Ln?jn<12&&(Fn.hours+=12):jn===12&&(Fn.hours=0),delete Fn.afternoon}}(kn),kn}}return function(At,Lt,hn){hn.p.customParseFormat=!0,At&&At.parseTwoDigitYear&&($e=At.parseTwoDigitYear);var vn=Lt.prototype,_n=vn.parse;vn.parse=function(bn){var Sn=bn.date,Cn=bn.utc,En=bn.args;this.$u=Cn;var wn=En[1];if(typeof wn=="string"){var xn=En[2]===!0,kn=En[3]===!0,Pn=xn||kn,An=En[2];kn&&(An=En[2]),_e=this.$locale(),!xn&&An&&(_e=hn.Ls[An]),this.$d=function(Vn,Mn,Fn){try{if(["x","X"].indexOf(Mn)>-1)return new Date((Mn==="X"?1e3:1)*Vn);var Ln=Et(Mn)(Vn),jn=Ln.year,Zn=Ln.month,Gn=Ln.day,Jn=Ln.hours,lr=Ln.minutes,yr=Ln.seconds,ir=Ln.milliseconds,qn=Ln.zone,Yn=new Date,Xn=Gn||(jn||Zn?1:Yn.getDate()),or=jn||Yn.getFullYear(),_r=0;jn&&!Zn||(_r=Zn>0?Zn-1:Yn.getMonth());var Kn=Jn||0,er=lr||0,ar=yr||0,gr=ir||0;return qn?new Date(Date.UTC(or,_r,Xn,Kn,er,ar,gr+60*qn.offset*1e3)):Fn?new Date(Date.UTC(or,_r,Xn,Kn,er,ar,gr)):new Date(or,_r,Xn,Kn,er,ar,gr)}catch{return new Date("")}}(Sn,wn,Cn),this.init(),An&&An!==!0&&(this.$L=this.locale(An).$L),Pn&&Sn!=this.format(wn)&&(this.$d=new Date("")),_e={}}else if(wn instanceof Array)for(var In=wn.length,Nn=1;Nn<=In;Nn+=1){En[1]=wn[Nn-1];var Un=hn.apply(this,En);if(Un.isValid()){this.$d=Un.$d,this.$L=Un.$L,this.init();break}Nn===In&&(this.$d=new Date(""))}else _n.call(this,bn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$2=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=(oe,ie)=>[oe>0?oe-1:void 0,oe,oe<ie?oe+1:void 0],rangeArr=oe=>Array.from(Array.from({length:oe}).keys()),extractDateFormat=oe=>oe.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=oe=>oe.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(oe,ie){const le=isDate$3(oe),ue=isDate$3(ie);return le&&ue?oe.getTime()===ie.getTime():!le&&!ue?oe===ie:!1},valueEquals=function(oe,ie){const le=isArray$c(oe),ue=isArray$c(ie);return le&&ue?oe.length!==ie.length?!1:oe.every((de,pe)=>dateEquals(de,ie[pe])):!le&&!ue?dateEquals(oe,ie):!1},parseDate$1=function(oe,ie,le){const ue=isEmpty(ie)||ie==="x"?dayjs(oe).locale(le):dayjs(oe,ie).locale(le);return ue.isValid()?ue:void 0},formatter=function(oe,ie,le){return isEmpty(ie)?oe:ie==="x"?+oe:dayjs(oe).locale(le).format(ie)},makeList=(oe,ie)=>{var le;const ue=[],de=ie==null?void 0:ie();for(let pe=0;pe<oe;pe++)ue.push((le=de==null?void 0:de.includes(pe))!=null?le:!1);return ue},disabledTimeListsProps=buildProps({disabledHours:{type:definePropType(Function)},disabledMinutes:{type:definePropType(Function)},disabledSeconds:{type:definePropType(Function)}}),timePanelSharedProps=buildProps({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),timePickerDefaultProps=buildProps({id:{type:definePropType([Array,String])},name:{type:definePropType([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:definePropType([String,Object]),default:circle_close_default},editable:{type:Boolean,default:!0},prefixIcon:{type:definePropType([String,Object]),default:""},size:useSizeProp,readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:{type:Boolean,default:!1},...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),_hoisted_1$_=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$F=["id","name","placeholder","value","disabled","readonly"],__default__$1g=defineComponent({name:"Picker"}),_sfc_main$1X=defineComponent({...__default__$1g,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(oe,{expose:ie,emit:le}){const ue=oe,{lang:de}=useLocale(),pe=useNamespace("date"),he=useNamespace("input"),_e=useNamespace("range"),{form:$e,formItem:Ie}=useFormItem(),Ve=inject("ElPopperOptions",{}),Fe=ref(),Ue=ref(),qe=ref(!1),Et=ref(!1),At=ref(null);let Lt=!1,hn=!1;watch(qe,Qn=>{Qn?nextTick(()=>{Qn&&(At.value=ue.modelValue)}):(cr.value=null,nextTick(()=>{vn(ue.modelValue)}))});const vn=(Qn,sr)=>{(sr||!valueEquals(Qn,At.value))&&(le("change",Qn),ue.validateEvent&&(Ie==null||Ie.validate("change").catch(wr=>void 0)))},_n=Qn=>{if(!valueEquals(ue.modelValue,Qn)){let sr;isArray$c(Qn)?sr=Qn.map(wr=>formatter(wr,ue.valueFormat,de.value)):Qn&&(sr=formatter(Qn,ue.valueFormat,de.value)),le("update:modelValue",Qn&&sr,de.value)}},bn=Qn=>{le("keydown",Qn)},Sn=computed(()=>{if(Ue.value){const Qn=er.value?Ue.value:Ue.value.$el;return Array.from(Qn.querySelectorAll("input"))}return[]}),Cn=(Qn,sr,wr)=>{const Ir=Sn.value;Ir.length&&(!wr||wr==="min"?(Ir[0].setSelectionRange(Qn,sr),Ir[0].focus()):wr==="max"&&(Ir[1].setSelectionRange(Qn,sr),Ir[1].focus()))},En=()=>{Un(!0,!0),nextTick(()=>{hn=!1})},wn=(Qn="",sr=!1)=>{sr||(hn=!0),qe.value=sr;let wr;isArray$c(Qn)?wr=Qn.map(Ir=>Ir.toDate()):wr=Qn&&Qn.toDate(),cr.value=null,_n(wr)},xn=()=>{Et.value=!0},kn=()=>{le("visible-change",!0)},Pn=Qn=>{(Qn==null?void 0:Qn.key)===EVENT_CODE.esc&&Un(!0,!0)},An=()=>{Et.value=!1,qe.value=!1,hn=!1,le("visible-change",!1)},In=()=>{qe.value=!0},Nn=()=>{qe.value=!1},Un=(Qn=!0,sr=!1)=>{hn=sr;const[wr,Ir]=unref(Sn);let zr=wr;!Qn&&er.value&&(zr=Ir),zr&&zr.focus()},Vn=Qn=>{ue.readonly||Ln.value||qe.value||hn||(qe.value=!0,le("focus",Qn))};let Mn;const Fn=Qn=>{const sr=async()=>{setTimeout(()=>{var wr;Mn===sr&&(!((wr=Fe.value)!=null&&wr.isFocusInsideContent()&&!Lt)&&Sn.value.filter(Ir=>Ir.contains(document.activeElement)).length===0&&(Ar(),qe.value=!1,le("blur",Qn),ue.validateEvent&&(Ie==null||Ie.validate("blur").catch(Ir=>void 0))),Lt=!1)},0)};Mn=sr,sr()},Ln=computed(()=>ue.disabled||($e==null?void 0:$e.disabled)),jn=computed(()=>{let Qn;if(Yn.value?Dr.value.getDefaultValue&&(Qn=Dr.value.getDefaultValue()):isArray$c(ue.modelValue)?Qn=ue.modelValue.map(sr=>parseDate$1(sr,ue.valueFormat,de.value)):Qn=parseDate$1(ue.modelValue,ue.valueFormat,de.value),Dr.value.getRangeAvailableTime){const sr=Dr.value.getRangeAvailableTime(Qn);isEqual$1(sr,Qn)||(Qn=sr,_n(isArray$c(Qn)?Qn.map(wr=>wr.toDate()):Qn.toDate()))}return isArray$c(Qn)&&Qn.some(sr=>!sr)&&(Qn=[]),Qn}),Zn=computed(()=>{if(!Dr.value.panelReady)return"";const Qn=kr(jn.value);return isArray$c(cr.value)?[cr.value[0]||Qn&&Qn[0]||"",cr.value[1]||Qn&&Qn[1]||""]:cr.value!==null?cr.value:!Jn.value&&Yn.value||!qe.value&&Yn.value?"":Qn?lr.value?Qn.join(", "):Qn:""}),Gn=computed(()=>ue.type.includes("time")),Jn=computed(()=>ue.type.startsWith("time")),lr=computed(()=>ue.type==="dates"),yr=computed(()=>ue.prefixIcon||(Gn.value?clock_default:calendar_default)),ir=ref(!1),qn=Qn=>{ue.readonly||Ln.value||ir.value&&(Qn.stopPropagation(),En(),_n(null),vn(null,!0),ir.value=!1,qe.value=!1,Dr.value.handleClear&&Dr.value.handleClear())},Yn=computed(()=>{const{modelValue:Qn}=ue;return!Qn||isArray$c(Qn)&&!Qn.filter(Boolean).length}),Xn=async Qn=>{var sr;ue.readonly||Ln.value||(((sr=Qn.target)==null?void 0:sr.tagName)!=="INPUT"||Sn.value.includes(document.activeElement))&&(qe.value=!0)},or=()=>{ue.readonly||Ln.value||!Yn.value&&ue.clearable&&(ir.value=!0)},_r=()=>{ir.value=!1},Kn=Qn=>{var sr;ue.readonly||Ln.value||(((sr=Qn.touches[0].target)==null?void 0:sr.tagName)!=="INPUT"||Sn.value.includes(document.activeElement))&&(qe.value=!0)},er=computed(()=>ue.type.includes("range")),ar=useFormSize(),gr=computed(()=>{var Qn,sr;return(sr=(Qn=unref(Fe))==null?void 0:Qn.popperRef)==null?void 0:sr.contentRef}),Er=computed(()=>{var Qn;return unref(er)?unref(Ue):(Qn=unref(Ue))==null?void 0:Qn.$el});onClickOutside$1(Er,Qn=>{const sr=unref(gr),wr=unref(Er);sr&&(Qn.target===sr||Qn.composedPath().includes(sr))||Qn.target===wr||Qn.composedPath().includes(wr)||(qe.value=!1)});const cr=ref(null),Ar=()=>{if(cr.value){const Qn=br(Zn.value);Qn&&mr(Qn)&&(_n(isArray$c(Qn)?Qn.map(sr=>sr.toDate()):Qn.toDate()),cr.value=null)}cr.value===""&&(_n(null),vn(null),cr.value=null)},br=Qn=>Qn?Dr.value.parseUserInput(Qn):null,kr=Qn=>Qn?Dr.value.formatToString(Qn):null,mr=Qn=>Dr.value.isValidValue(Qn),ur=async Qn=>{if(ue.readonly||Ln.value)return;const{code:sr}=Qn;if(bn(Qn),sr===EVENT_CODE.esc){qe.value===!0&&(qe.value=!1,Qn.preventDefault(),Qn.stopPropagation());return}if(sr===EVENT_CODE.down&&(Dr.value.handleFocusPicker&&(Qn.preventDefault(),Qn.stopPropagation()),qe.value===!1&&(qe.value=!0,await nextTick()),Dr.value.handleFocusPicker)){Dr.value.handleFocusPicker();return}if(sr===EVENT_CODE.tab){Lt=!0;return}if(sr===EVENT_CODE.enter||sr===EVENT_CODE.numpadEnter){(cr.value===null||cr.value===""||mr(br(Zn.value)))&&(Ar(),qe.value=!1),Qn.stopPropagation();return}if(cr.value){Qn.stopPropagation();return}Dr.value.handleKeydownInput&&Dr.value.handleKeydownInput(Qn)},fr=Qn=>{cr.value=Qn,qe.value||(qe.value=!0)},pr=Qn=>{const sr=Qn.target;cr.value?cr.value=[sr.value,cr.value[1]]:cr.value=[sr.value,null]},Or=Qn=>{const sr=Qn.target;cr.value?cr.value=[cr.value[0],sr.value]:cr.value=[null,sr.value]},Lr=()=>{var Qn;const sr=cr.value,wr=br(sr&&sr[0]),Ir=unref(jn);if(wr&&wr.isValid()){cr.value=[kr(wr),((Qn=Zn.value)==null?void 0:Qn[1])||null];const zr=[wr,Ir&&(Ir[1]||null)];mr(zr)&&(_n(zr),cr.value=null)}},Vr=()=>{var Qn;const sr=unref(cr),wr=br(sr&&sr[1]),Ir=unref(jn);if(wr&&wr.isValid()){cr.value=[((Qn=unref(Zn))==null?void 0:Qn[0])||null,kr(wr)];const zr=[Ir&&Ir[0],wr];mr(zr)&&(_n(zr),cr.value=null)}},Dr=ref({}),$r=Qn=>{Dr.value[Qn[0]]=Qn[1],Dr.value.panelReady=!0},xr=Qn=>{le("calendar-change",Qn)},dr=(Qn,sr,wr)=>{le("panel-change",Qn,sr,wr)};return provide("EP_PICKER_BASE",{props:ue}),ie({focus:Un,handleFocusInput:Vn,handleBlurInput:Fn,handleOpen:In,handleClose:Nn,onPick:wn}),(Qn,sr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:Fe,visible:qe.value,effect:"light",pure:"",trigger:"click"},Qn.$attrs,{role:"dialog",teleported:"",transition:`${unref(pe).namespace.value}-zoom-in-top`,"popper-class":[`${unref(pe).namespace.value}-picker__popper`,Qn.popperClass],"popper-options":unref(Ve),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:xn,onShow:kn,onHide:An}),{default:withCtx(()=>[unref(er)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:Ue,class:normalizeClass([unref(pe).b("editor"),unref(pe).bm("editor",Qn.type),unref(he).e("wrapper"),unref(pe).is("disabled",unref(Ln)),unref(pe).is("active",qe.value),unref(_e).b("editor"),unref(ar)?unref(_e).bm("editor",unref(ar)):"",Qn.$attrs.class]),style:normalizeStyle$1(Qn.$attrs.style),onClick:Vn,onMouseenter:or,onMouseleave:_r,onTouchstart:Kn,onKeydown:ur},[unref(yr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(he).e("icon"),unref(_e).e("icon")]),onMousedown:withModifiers(Xn,["prevent"]),onTouchstart:Kn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(yr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:Qn.id&&Qn.id[0],autocomplete:"off",name:Qn.name&&Qn.name[0],placeholder:Qn.startPlaceholder,value:unref(Zn)&&unref(Zn)[0],disabled:unref(Ln),readonly:!Qn.editable||Qn.readonly,class:normalizeClass(unref(_e).b("input")),onMousedown:Xn,onInput:pr,onChange:Lr,onFocus:Vn,onBlur:Fn},null,42,_hoisted_1$_),renderSlot(Qn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(_e).b("separator"))},toDisplayString$1(Qn.rangeSeparator),3)]),createBaseVNode("input",{id:Qn.id&&Qn.id[1],autocomplete:"off",name:Qn.name&&Qn.name[1],placeholder:Qn.endPlaceholder,value:unref(Zn)&&unref(Zn)[1],disabled:unref(Ln),readonly:!Qn.editable||Qn.readonly,class:normalizeClass(unref(_e).b("input")),onMousedown:Xn,onFocus:Vn,onBlur:Fn,onInput:Or,onChange:Vr},null,42,_hoisted_2$F),Qn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(he).e("icon"),unref(_e).e("close-icon"),{[unref(_e).e("close-icon--hidden")]:!ir.value}]),onClick:qn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Qn.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:Qn.id,ref_key:"inputRef",ref:Ue,"container-role":"combobox","model-value":unref(Zn),name:Qn.name,size:unref(ar),disabled:unref(Ln),placeholder:Qn.placeholder,class:normalizeClass([unref(pe).b("editor"),unref(pe).bm("editor",Qn.type),Qn.$attrs.class]),style:normalizeStyle$1(Qn.$attrs.style),readonly:!Qn.editable||Qn.readonly||unref(lr)||Qn.type==="week",label:Qn.label,tabindex:Qn.tabindex,"validate-event":!1,onInput:fr,onFocus:Vn,onBlur:Fn,onKeydown:ur,onChange:Ar,onMousedown:Xn,onMouseenter:or,onMouseleave:_r,onTouchstart:Kn,onClick:sr[0]||(sr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(yr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(he).e("icon")),onMousedown:withModifiers(Xn,["prevent"]),onTouchstart:Kn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(yr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[ir.value&&Qn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(he).e("icon")} clear-icon`),onClick:withModifiers(qn,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Qn.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(Qn.$slots,"default",{visible:qe.value,actualVisible:Et.value,parsedValue:unref(jn),format:Qn.format,unlinkPanels:Qn.unlinkPanels,type:Qn.type,defaultValue:Qn.defaultValue,onPick:wn,onSelectRange:Cn,onSetPickerOption:$r,onCalendarChange:xr,onPanelChange:dr,onKeydown:Pn,onMousedown:sr[1]||(sr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:oe,getAvailableMinutes:ie,getAvailableSeconds:le})=>{const ue=(he,_e,$e,Ie)=>{const Ve={hour:oe,minute:ie,second:le};let Fe=he;return["hour","minute","second"].forEach(Ue=>{if(Ve[Ue]){let qe;const Et=Ve[Ue];switch(Ue){case"minute":{qe=Et(Fe.hour(),_e,Ie);break}case"second":{qe=Et(Fe.hour(),Fe.minute(),_e,Ie);break}default:{qe=Et(_e,Ie);break}}if(qe!=null&&qe.length&&!qe.includes(Fe[Ue]())){const At=$e?0:qe.length-1;Fe=Fe[Ue](qe[At])}}}),Fe},de={};return{timePickerOptions:de,getAvailableTime:ue,onSetOption:([he,_e])=>{de[he]=_e}}},makeAvailableArr=oe=>{const ie=(ue,de)=>ue||de,le=ue=>ue!==!0;return oe.map(ie).filter(le)},getTimeLists=(oe,ie,le)=>({getHoursList:(he,_e)=>makeList(24,oe&&(()=>oe==null?void 0:oe(he,_e))),getMinutesList:(he,_e,$e)=>makeList(60,ie&&(()=>ie==null?void 0:ie(he,_e,$e))),getSecondsList:(he,_e,$e,Ie)=>makeList(60,le&&(()=>le==null?void 0:le(he,_e,$e,Ie)))}),buildAvailableTimeSlotGetter=(oe,ie,le)=>{const{getHoursList:ue,getMinutesList:de,getSecondsList:pe}=getTimeLists(oe,ie,le);return{getAvailableHours:(Ie,Ve)=>makeAvailableArr(ue(Ie,Ve)),getAvailableMinutes:(Ie,Ve,Fe)=>makeAvailableArr(de(Ie,Ve,Fe)),getAvailableSeconds:(Ie,Ve,Fe,Ue)=>makeAvailableArr(pe(Ie,Ve,Fe,Ue))}},useOldValue=oe=>{const ie=ref(oe.parsedValue);return watch(()=>oe.visible,le=>{le||(ie.value=oe.parsedValue)}),ie},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",oe=>startClick=oe),document.addEventListener("mouseup",oe=>{for(const ie of nodeList.values())for(const{documentHandler:le}of ie)le(oe,startClick)}));function createDocumentHandler(oe,ie){let le=[];return Array.isArray(ie.arg)?le=ie.arg:isElement$1(ie.arg)&&le.push(ie.arg),function(ue,de){const pe=ie.instance.popperRef,he=ue.target,_e=de==null?void 0:de.target,$e=!ie||!ie.instance,Ie=!he||!_e,Ve=oe.contains(he)||oe.contains(_e),Fe=oe===he,Ue=le.length&&le.some(Et=>Et==null?void 0:Et.contains(he))||le.length&&le.includes(_e),qe=pe&&(pe.contains(he)||pe.contains(_e));$e||Ie||Ve||Fe||Ue||qe||ie.value(ue,de)}}const ClickOutside={beforeMount(oe,ie){nodeList.has(oe)||nodeList.set(oe,[]),nodeList.get(oe).push({documentHandler:createDocumentHandler(oe,ie),bindingFn:ie.value})},updated(oe,ie){nodeList.has(oe)||nodeList.set(oe,[]);const le=nodeList.get(oe),ue=le.findIndex(pe=>pe.bindingFn===ie.oldValue),de={documentHandler:createDocumentHandler(oe,ie),bindingFn:ie.value};ue>=0?le.splice(ue,1,de):le.push(de)},unmounted(oe){nodeList.delete(oe)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(oe,ie){const le=ie.value,{interval:ue=REPEAT_INTERVAL,delay:de=REPEAT_DELAY}=isFunction$5(le)?{}:le;let pe,he;const _e=()=>isFunction$5(le)?le():le.handler(),$e=()=>{he&&(clearTimeout(he),he=void 0),pe&&(clearInterval(pe),pe=void 0)};oe.addEventListener("mousedown",Ie=>{Ie.button===0&&($e(),_e(),document.addEventListener("mouseup",()=>$e(),{once:!0}),he=setTimeout(()=>{pe=setInterval(()=>{_e()},ue)},de))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=oe=>{if(FOCUS_STACK.length===0)return;const ie=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(ie.length>0&&oe.code===EVENT_CODE.tab){if(ie.length===1){oe.preventDefault(),document.activeElement!==ie[0]&&ie[0].focus();return}const le=oe.shiftKey,ue=oe.target===ie[0],de=oe.target===ie[ie.length-1];ue&&le&&(oe.preventDefault(),ie[ie.length-1].focus()),de&&!le&&(oe.preventDefault(),ie[0].focus())}},TrapFocus={beforeMount(oe){oe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(oe),FOCUS_STACK.push(oe),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(oe){nextTick(()=>{oe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(oe)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f$1,s,u$1,d$1,N$1,l,p$1,m$3,w,D$2,x,E,M,F$1;function a$2(){if(!v){v=!0;var oe=navigator.userAgent,ie=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(oe),le=/(Mac OS X)|(Windows)|(Linux)/.exec(oe);if(x=/\b(iPhone|iP[ao]d)/.exec(oe),E=/\b(iP[ao]d)/.exec(oe),w=/Android/i.exec(oe),M=/FBAN\/\w+;/i.exec(oe),F$1=/Mobile/i.exec(oe),D$2=!!/Win64/.exec(oe),ie){o=ie[1]?parseFloat(ie[1]):ie[5]?parseFloat(ie[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var ue=/(?:Trident\/(\d+.\d+))/.exec(oe);N$1=ue?parseFloat(ue[1])+4:o,f$1=ie[2]?parseFloat(ie[2]):NaN,s=ie[3]?parseFloat(ie[3]):NaN,u$1=ie[4]?parseFloat(ie[4]):NaN,u$1?(ie=/(?:Chrome\/(\d+\.\d+))/.exec(oe),d$1=ie&&ie[1]?parseFloat(ie[1]):NaN):d$1=NaN}else o=f$1=s=d$1=u$1=NaN;if(le){if(le[1]){var de=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(oe);l=de?parseFloat(de[1].replace("_",".")):!0}else l=!1;p$1=!!le[2],m$3=!!le[3]}else l=p$1=m$3=!1}}var _$2={ie:function(){return a$2()||o},ieCompatibilityMode:function(){return a$2()||N$1>o},ie64:function(){return _$2.ie()&&D$2},firefox:function(){return a$2()||f$1},opera:function(){return a$2()||s},webkit:function(){return a$2()||u$1},safari:function(){return _$2.webkit()},chrome:function(){return a$2()||d$1},windows:function(){return a$2()||p$1},osx:function(){return a$2()||l},linux:function(){return a$2()||m$3},iphone:function(){return a$2()||x},mobile:function(){return a$2()||x||E||w||F$1},nativeApp:function(){return a$2()||M},android:function(){return a$2()||w},ipad:function(){return a$2()||E}},A$1=_$2,c$2=!!(typeof window<"u"&&window.document&&window.document.createElement),U$1={canUseDOM:c$2,canUseWorkers:typeof Worker<"u",canUseEventListeners:c$2&&!!(window.addEventListener||window.attachEvent),canUseViewport:c$2&&!!window.screen,isInWorker:!c$2},h$1=U$1,X;h$1.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(oe,ie){if(!h$1.canUseDOM||ie&&!("addEventListener"in document))return!1;var le="on"+oe,ue=le in document;if(!ue){var de=document.createElement("div");de.setAttribute(le,"return;"),ue=typeof de[le]=="function"}return!ue&&X&&oe==="wheel"&&(ue=document.implementation.hasFeature("Events.wheel","3.0")),ue}var b$1=S,O$1=10,I$1=40,P$1=800;function T(oe){var ie=0,le=0,ue=0,de=0;return"detail"in oe&&(le=oe.detail),"wheelDelta"in oe&&(le=-oe.wheelDelta/120),"wheelDeltaY"in oe&&(le=-oe.wheelDeltaY/120),"wheelDeltaX"in oe&&(ie=-oe.wheelDeltaX/120),"axis"in oe&&oe.axis===oe.HORIZONTAL_AXIS&&(ie=le,le=0),ue=ie*O$1,de=le*O$1,"deltaY"in oe&&(de=oe.deltaY),"deltaX"in oe&&(ue=oe.deltaX),(ue||de)&&oe.deltaMode&&(oe.deltaMode==1?(ue*=I$1,de*=I$1):(ue*=P$1,de*=P$1)),ue&&!ie&&(ie=ue<1?-1:1),de&&!le&&(le=de<1?-1:1),{spinX:ie,spinY:le,pixelX:ue,pixelY:de}}T.getEventType=function(){return A$1.firefox()?"DOMMouseScroll":b$1("wheel")?"wheel":"mousewheel"};var Y=T;/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const mousewheel=function(oe,ie){if(oe&&oe.addEventListener){const le=function(ue){const de=Y(ue);ie&&Reflect.apply(ie,this,[ue,de])};oe.addEventListener("wheel",le,{passive:!0})}},Mousewheel={beforeMount(oe,ie){mousewheel(oe,ie.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_hoisted_1$Z=["onClick"],_hoisted_2$E=["onMouseenter"],_sfc_main$1W=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(oe,{emit:ie}){const le=oe,ue=useNamespace("time"),{getHoursList:de,getMinutesList:pe,getSecondsList:he}=getTimeLists(le.disabledHours,le.disabledMinutes,le.disabledSeconds);let _e=!1;const $e=ref(),Ie=ref(),Ve=ref(),Fe=ref(),Ue={hours:Ie,minutes:Ve,seconds:Fe},qe=computed(()=>le.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),Et=computed(()=>{const{spinnerDate:Ln}=le,jn=Ln.hour(),Zn=Ln.minute(),Gn=Ln.second();return{hours:jn,minutes:Zn,seconds:Gn}}),At=computed(()=>{const{hours:Ln,minutes:jn}=unref(Et);return{hours:de(le.role),minutes:pe(Ln,le.role),seconds:he(Ln,jn,le.role)}}),Lt=computed(()=>{const{hours:Ln,minutes:jn,seconds:Zn}=unref(Et);return{hours:buildTimeList(Ln,23),minutes:buildTimeList(jn,59),seconds:buildTimeList(Zn,59)}}),hn=debounce(Ln=>{_e=!1,bn(Ln)},200),vn=Ln=>{if(!!!le.amPmMode)return"";const Zn=le.amPmMode==="A";let Gn=Ln<12?" am":" pm";return Zn&&(Gn=Gn.toUpperCase()),Gn},_n=Ln=>{let jn;switch(Ln){case"hours":jn=[0,2];break;case"minutes":jn=[3,5];break;case"seconds":jn=[6,8];break}const[Zn,Gn]=jn;ie("select-range",Zn,Gn),$e.value=Ln},bn=Ln=>{En(Ln,unref(Et)[Ln])},Sn=()=>{bn("hours"),bn("minutes"),bn("seconds")},Cn=Ln=>Ln.querySelector(`.${ue.namespace.value}-scrollbar__wrap`),En=(Ln,jn)=>{if(le.arrowControl)return;const Zn=unref(Ue[Ln]);Zn&&Zn.$el&&(Cn(Zn.$el).scrollTop=Math.max(0,jn*wn(Ln)))},wn=Ln=>{const jn=unref(Ue[Ln]);return(jn==null?void 0:jn.$el.querySelector("li").offsetHeight)||0},xn=()=>{Pn(1)},kn=()=>{Pn(-1)},Pn=Ln=>{$e.value||_n("hours");const jn=$e.value,Zn=unref(Et)[jn],Gn=$e.value==="hours"?24:60,Jn=An(jn,Zn,Ln,Gn);In(jn,Jn),En(jn,Jn),nextTick(()=>_n(jn))},An=(Ln,jn,Zn,Gn)=>{let Jn=(jn+Zn+Gn)%Gn;const lr=unref(At)[Ln];for(;lr[Jn]&&Jn!==jn;)Jn=(Jn+Zn+Gn)%Gn;return Jn},In=(Ln,jn)=>{if(unref(At)[Ln][jn])return;const{hours:Jn,minutes:lr,seconds:yr}=unref(Et);let ir;switch(Ln){case"hours":ir=le.spinnerDate.hour(jn).minute(lr).second(yr);break;case"minutes":ir=le.spinnerDate.hour(Jn).minute(jn).second(yr);break;case"seconds":ir=le.spinnerDate.hour(Jn).minute(lr).second(jn);break}ie("change",ir)},Nn=(Ln,{value:jn,disabled:Zn})=>{Zn||(In(Ln,jn),_n(Ln),En(Ln,jn))},Un=Ln=>{_e=!0,hn(Ln);const jn=Math.min(Math.round((Cn(unref(Ue[Ln]).$el).scrollTop-(Vn(Ln)*.5-10)/wn(Ln)+3)/wn(Ln)),Ln==="hours"?23:59);In(Ln,jn)},Vn=Ln=>unref(Ue[Ln]).$el.offsetHeight,Mn=()=>{const Ln=jn=>{const Zn=unref(Ue[jn]);Zn&&Zn.$el&&(Cn(Zn.$el).onscroll=()=>{Un(jn)})};Ln("hours"),Ln("minutes"),Ln("seconds")};onMounted(()=>{nextTick(()=>{!le.arrowControl&&Mn(),Sn(),le.role==="start"&&_n("hours")})});const Fn=(Ln,jn)=>{Ue[jn].value=Ln};return ie("set-option",[`${le.role}_scrollDown`,Pn]),ie("set-option",[`${le.role}_emitSelectRange`,_n]),watch(()=>le.spinnerDate,()=>{_e||Sn()}),(Ln,jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b("spinner"),{"has-seconds":Ln.showSeconds}])},[Ln.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(qe),Zn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Zn,ref_for:!0,ref:Gn=>Fn(Gn,Zn),class:normalizeClass(unref(ue).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(ue).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Gn=>_n(Zn),onMousemove:Gn=>bn(Zn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(At)[Zn],(Gn,Jn)=>(openBlock(),createElementBlock("li",{key:Jn,class:normalizeClass([unref(ue).be("spinner","item"),unref(ue).is("active",Jn===unref(Et)[Zn]),unref(ue).is("disabled",Gn)]),onClick:lr=>Nn(Zn,{value:Jn,disabled:Gn})},[Zn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Ln.amPmMode?Jn%12||12:Jn)).slice(-2))+toDisplayString$1(vn(Jn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Jn).slice(-2)),1)],64))],10,_hoisted_1$Z))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),Ln.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(qe),Zn=>(openBlock(),createElementBlock("div",{key:Zn,class:normalizeClass([unref(ue).be("spinner","wrapper"),unref(ue).is("arrow")]),onMouseenter:Gn=>_n(Zn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(ue).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),kn]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(ue).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),xn]]),createBaseVNode("ul",{class:normalizeClass(unref(ue).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Lt)[Zn],(Gn,Jn)=>(openBlock(),createElementBlock("li",{key:Jn,class:normalizeClass([unref(ue).be("spinner","item"),unref(ue).is("active",Gn===unref(Et)[Zn]),unref(ue).is("disabled",unref(At)[Zn][Gn])])},[typeof Gn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Zn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Ln.amPmMode?Gn%12||12:Gn)).slice(-2))+toDisplayString$1(vn(Gn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Gn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$E))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$1W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$1V=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(oe,{emit:ie}){const le=oe,ue=inject("EP_PICKER_BASE"),{arrowControl:de,disabledHours:pe,disabledMinutes:he,disabledSeconds:_e,defaultValue:$e}=ue.props,{getAvailableHours:Ie,getAvailableMinutes:Ve,getAvailableSeconds:Fe}=buildAvailableTimeSlotGetter(pe,he,_e),Ue=useNamespace("time"),{t:qe,lang:Et}=useLocale(),At=ref([0,2]),Lt=useOldValue(le),hn=computed(()=>isUndefined$1(le.actualVisible)?`${Ue.namespace.value}-zoom-in-top`:""),vn=computed(()=>le.format.includes("ss")),_n=computed(()=>le.format.includes("A")?"A":le.format.includes("a")?"a":""),bn=Fn=>{const Ln=dayjs(Fn).locale(Et.value),jn=Nn(Ln);return Ln.isSame(jn)},Sn=()=>{ie("pick",Lt.value,!1)},Cn=(Fn=!1,Ln=!1)=>{Ln||ie("pick",le.parsedValue,Fn)},En=Fn=>{if(!le.visible)return;const Ln=Nn(Fn).millisecond(0);ie("pick",Ln,!0)},wn=(Fn,Ln)=>{ie("select-range",Fn,Ln),At.value=[Fn,Ln]},xn=Fn=>{const Ln=[0,3].concat(vn.value?[6]:[]),jn=["hours","minutes"].concat(vn.value?["seconds"]:[]),Gn=(Ln.indexOf(At.value[0])+Fn+Ln.length)%Ln.length;Pn.start_emitSelectRange(jn[Gn])},kn=Fn=>{const Ln=Fn.code,{left:jn,right:Zn,up:Gn,down:Jn}=EVENT_CODE;if([jn,Zn].includes(Ln)){xn(Ln===jn?-1:1),Fn.preventDefault();return}if([Gn,Jn].includes(Ln)){const lr=Ln===Gn?-1:1;Pn.start_scrollDown(lr),Fn.preventDefault();return}},{timePickerOptions:Pn,onSetOption:An,getAvailableTime:In}=useTimePanel({getAvailableHours:Ie,getAvailableMinutes:Ve,getAvailableSeconds:Fe}),Nn=Fn=>In(Fn,le.datetimeRole||"",!0),Un=Fn=>Fn?dayjs(Fn,le.format).locale(Et.value):null,Vn=Fn=>Fn?Fn.format(le.format):null,Mn=()=>dayjs($e).locale(Et.value);return ie("set-picker-option",["isValidValue",bn]),ie("set-picker-option",["formatToString",Vn]),ie("set-picker-option",["parseUserInput",Un]),ie("set-picker-option",["handleKeydownInput",kn]),ie("set-picker-option",["getRangeAvailableTime",Nn]),ie("set-picker-option",["getDefaultValue",Mn]),(Fn,Ln)=>(openBlock(),createBlock(Transition,{name:unref(hn)},{default:withCtx(()=>[Fn.actualVisible||Fn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(Ue).be("panel","content"),{"has-seconds":unref(vn)}])},[createVNode(TimeSpinner,{ref:"spinner",role:Fn.datetimeRole||"start","arrow-control":unref(de),"show-seconds":unref(vn),"am-pm-mode":unref(_n),"spinner-date":Fn.parsedValue,"disabled-hours":unref(pe),"disabled-minutes":unref(he),"disabled-seconds":unref(_e),onChange:En,onSetOption:unref(An),onSelectRange:wn},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(Ue).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ue).be("panel","btn"),"cancel"]),onClick:Sn},toDisplayString$1(unref(qe)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ue).be("panel","btn"),"confirm"]),onClick:Ln[0]||(Ln[0]=jn=>Cn())},toDisplayString$1(unref(qe)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$1V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$Y=["disabled"],_sfc_main$1U=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(oe,{emit:ie}){const le=oe,ue=(Xn,or)=>{const _r=[];for(let Kn=Xn;Kn<=or;Kn++)_r.push(Kn);return _r},{t:de,lang:pe}=useLocale(),he=useNamespace("time"),_e=useNamespace("picker"),$e=inject("EP_PICKER_BASE"),{arrowControl:Ie,disabledHours:Ve,disabledMinutes:Fe,disabledSeconds:Ue,defaultValue:qe}=$e.props,Et=computed(()=>le.parsedValue[0]),At=computed(()=>le.parsedValue[1]),Lt=useOldValue(le),hn=()=>{ie("pick",Lt.value,!1)},vn=computed(()=>le.format.includes("ss")),_n=computed(()=>le.format.includes("A")?"A":le.format.includes("a")?"a":""),bn=(Xn=!1)=>{ie("pick",[Et.value,At.value],Xn)},Sn=Xn=>{wn(Xn.millisecond(0),At.value)},Cn=Xn=>{wn(Et.value,Xn.millisecond(0))},En=Xn=>{const or=Xn.map(Kn=>dayjs(Kn).locale(pe.value)),_r=Ln(or);return or[0].isSame(_r[0])&&or[1].isSame(_r[1])},wn=(Xn,or)=>{ie("pick",[Xn,or],!0)},xn=computed(()=>Et.value>At.value),kn=ref([0,2]),Pn=(Xn,or)=>{ie("select-range",Xn,or,"min"),kn.value=[Xn,or]},An=computed(()=>vn.value?11:8),In=(Xn,or)=>{ie("select-range",Xn,or,"max");const _r=unref(An);kn.value=[Xn+_r,or+_r]},Nn=Xn=>{const or=vn.value?[0,3,6,11,14,17]:[0,3,8,11],_r=["hours","minutes"].concat(vn.value?["seconds"]:[]),er=(or.indexOf(kn.value[0])+Xn+or.length)%or.length,ar=or.length/2;er<ar?Jn.start_emitSelectRange(_r[er]):Jn.end_emitSelectRange(_r[er-ar])},Un=Xn=>{const or=Xn.code,{left:_r,right:Kn,up:er,down:ar}=EVENT_CODE;if([_r,Kn].includes(or)){Nn(or===_r?-1:1),Xn.preventDefault();return}if([er,ar].includes(or)){const gr=or===er?-1:1,Er=kn.value[0]<An.value?"start":"end";Jn[`${Er}_scrollDown`](gr),Xn.preventDefault();return}},Vn=(Xn,or)=>{const _r=Ve?Ve(Xn):[],Kn=Xn==="start",ar=(or||(Kn?At.value:Et.value)).hour(),gr=Kn?ue(ar+1,23):ue(0,ar-1);return union$1(_r,gr)},Mn=(Xn,or,_r)=>{const Kn=Fe?Fe(Xn,or):[],er=or==="start",ar=_r||(er?At.value:Et.value),gr=ar.hour();if(Xn!==gr)return Kn;const Er=ar.minute(),cr=er?ue(Er+1,59):ue(0,Er-1);return union$1(Kn,cr)},Fn=(Xn,or,_r,Kn)=>{const er=Ue?Ue(Xn,or,_r):[],ar=_r==="start",gr=Kn||(ar?At.value:Et.value),Er=gr.hour(),cr=gr.minute();if(Xn!==Er||or!==cr)return er;const Ar=gr.second(),br=ar?ue(Ar+1,59):ue(0,Ar-1);return union$1(er,br)},Ln=([Xn,or])=>[lr(Xn,"start",!0,or),lr(or,"end",!1,Xn)],{getAvailableHours:jn,getAvailableMinutes:Zn,getAvailableSeconds:Gn}=buildAvailableTimeSlotGetter(Vn,Mn,Fn),{timePickerOptions:Jn,getAvailableTime:lr,onSetOption:yr}=useTimePanel({getAvailableHours:jn,getAvailableMinutes:Zn,getAvailableSeconds:Gn}),ir=Xn=>Xn?isArray$c(Xn)?Xn.map(or=>dayjs(or,le.format).locale(pe.value)):dayjs(Xn,le.format).locale(pe.value):null,qn=Xn=>Xn?isArray$c(Xn)?Xn.map(or=>or.format(le.format)):Xn.format(le.format):null,Yn=()=>{if(isArray$c(qe))return qe.map(or=>dayjs(or).locale(pe.value));const Xn=dayjs(qe).locale(pe.value);return[Xn,Xn.add(60,"m")]};return ie("set-picker-option",["formatToString",qn]),ie("set-picker-option",["parseUserInput",ir]),ie("set-picker-option",["isValidValue",En]),ie("set-picker-option",["handleKeydownInput",Un]),ie("set-picker-option",["getDefaultValue",Yn]),ie("set-picker-option",["getRangeAvailableTime",Ln]),(Xn,or)=>Xn.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(he).b("range-picker"),unref(_e).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(he).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(he).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(he).be("range-picker","header"))},toDisplayString$1(unref(de)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass([unref(he).be("range-picker","body"),unref(he).be("panel","content"),unref(he).is("arrow",unref(Ie)),{"has-seconds":unref(vn)}])},[createVNode(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(vn),"am-pm-mode":unref(_n),"arrow-control":unref(Ie),"spinner-date":unref(Et),"disabled-hours":Vn,"disabled-minutes":Mn,"disabled-seconds":Fn,onChange:Sn,onSetOption:unref(yr),onSelectRange:Pn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(he).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(he).be("range-picker","header"))},toDisplayString$1(unref(de)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass([unref(he).be("range-picker","body"),unref(he).be("panel","content"),unref(he).is("arrow",unref(Ie)),{"has-seconds":unref(vn)}])},[createVNode(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(vn),"am-pm-mode":unref(_n),"arrow-control":unref(Ie),"spinner-date":unref(At),"disabled-hours":Vn,"disabled-minutes":Mn,"disabled-seconds":Fn,onChange:Cn,onSetOption:unref(yr),onSelectRange:In},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(he).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(he).be("panel","btn"),"cancel"]),onClick:or[0]||(or[0]=_r=>hn())},toDisplayString$1(unref(de)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(he).be("panel","btn"),"confirm"]),disabled:unref(xn),onClick:or[1]||(or[1]=_r=>bn())},toDisplayString$1(unref(de)("el.datepicker.confirm")),11,_hoisted_1$Y)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(oe,ie){const le=ref(),[ue,de]=oe.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],pe=he=>ie.emit("update:modelValue",he);return provide("ElPopperOptions",oe.popperOptions),ie.expose({focus:he=>{var _e;(_e=le.value)==null||_e.handleFocusInput(he)},blur:he=>{var _e;(_e=le.value)==null||_e.handleBlurInput(he)},handleOpen:()=>{var he;(he=le.value)==null||he.handleOpen()},handleClose:()=>{var he;(he=le.value)==null||he.handleClose()}}),()=>{var he;const _e=(he=oe.format)!=null?he:DEFAULT_FORMATS_TIME;return createVNode(CommonPicker,mergeProps(oe,{ref:le,type:ue,format:_e,"onUpdate:modelValue":pe}),{default:$e=>createVNode(de,$e,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=oe=>{oe.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(oe,ie)=>{const le=oe.subtract(1,"month").endOf("month").date();return rangeArr(ie).map((ue,de)=>le-(ie-de-1))},getMonthDays=oe=>{const ie=oe.daysInMonth();return rangeArr(ie).map((le,ue)=>ue+1)},toNestedArr=oe=>rangeArr(oe.length/7).map(ie=>{const le=ie*7;return oe.slice(le,le+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:oe=>isObject$9(oe)};var localeData$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){return function(le,ue,de){var pe=ue.prototype,he=function(Fe){return Fe&&(Fe.indexOf?Fe:Fe.s)},_e=function(Fe,Ue,qe,Et,At){var Lt=Fe.name?Fe:Fe.$locale(),hn=he(Lt[Ue]),vn=he(Lt[qe]),_n=hn||vn.map(function(Sn){return Sn.slice(0,Et)});if(!At)return _n;var bn=Lt.weekStart;return _n.map(function(Sn,Cn){return _n[(Cn+(bn||0))%7]})},$e=function(){return de.Ls[de.locale()]},Ie=function(Fe,Ue){return Fe.formats[Ue]||function(qe){return qe.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Et,At,Lt){return At||Lt.slice(1)})}(Fe.formats[Ue.toUpperCase()])},Ve=function(){var Fe=this;return{months:function(Ue){return Ue?Ue.format("MMMM"):_e(Fe,"months")},monthsShort:function(Ue){return Ue?Ue.format("MMM"):_e(Fe,"monthsShort","months",3)},firstDayOfWeek:function(){return Fe.$locale().weekStart||0},weekdays:function(Ue){return Ue?Ue.format("dddd"):_e(Fe,"weekdays")},weekdaysMin:function(Ue){return Ue?Ue.format("dd"):_e(Fe,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ue){return Ue?Ue.format("ddd"):_e(Fe,"weekdaysShort","weekdays",3)},longDateFormat:function(Ue){return Ie(Fe.$locale(),Ue)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};pe.localeData=function(){return Ve.bind(this)()},de.localeData=function(){var Fe=$e();return{firstDayOfWeek:function(){return Fe.weekStart||0},weekdays:function(){return de.weekdays()},weekdaysShort:function(){return de.weekdaysShort()},weekdaysMin:function(){return de.weekdaysMin()},months:function(){return de.months()},monthsShort:function(){return de.monthsShort()},longDateFormat:function(Ue){return Ie(Fe,Ue)},meridiem:Fe.meridiem,ordinal:Fe.ordinal}},de.months=function(){return _e($e(),"months")},de.monthsShort=function(){return _e($e(),"monthsShort","months",3)},de.weekdays=function(Fe){return _e($e(),"weekdays",null,null,Fe)},de.weekdaysShort=function(Fe){return _e($e(),"weekdaysShort","weekdays",3,Fe)},de.weekdaysMin=function(Fe){return _e($e(),"weekdaysMin","weekdays",2,Fe)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(oe,ie)=>{dayjs.extend(localeData);const le=dayjs.localeData().firstDayOfWeek(),{t:ue,lang:de}=useLocale(),pe=dayjs().locale(de.value),he=computed(()=>!!oe.range&&!!oe.range.length),_e=computed(()=>{let Ue=[];if(he.value){const[qe,Et]=oe.range,At=rangeArr(Et.date()-qe.date()+1).map(vn=>({text:qe.date()+vn,type:"current"}));let Lt=At.length%7;Lt=Lt===0?0:7-Lt;const hn=rangeArr(Lt).map((vn,_n)=>({text:_n+1,type:"next"}));Ue=At.concat(hn)}else{const qe=oe.date.startOf("month").day(),Et=getPrevMonthLastDays(oe.date,(qe-le+7)%7).map(vn=>({text:vn,type:"prev"})),At=getMonthDays(oe.date).map(vn=>({text:vn,type:"current"}));Ue=[...Et,...At];const Lt=7-(Ue.length%7||7),hn=rangeArr(Lt).map((vn,_n)=>({text:_n+1,type:"next"}));Ue=Ue.concat(hn)}return toNestedArr(Ue)}),$e=computed(()=>{const Ue=le;return Ue===0?WEEK_DAYS.map(qe=>ue(`el.datepicker.weeks.${qe}`)):WEEK_DAYS.slice(Ue).concat(WEEK_DAYS.slice(0,Ue)).map(qe=>ue(`el.datepicker.weeks.${qe}`))}),Ie=(Ue,qe)=>{switch(qe){case"prev":return oe.date.startOf("month").subtract(1,"month").date(Ue);case"next":return oe.date.startOf("month").add(1,"month").date(Ue);case"current":return oe.date.date(Ue)}};return{now:pe,isInRange:he,rows:_e,weekDays:$e,getFormattedDate:Ie,handlePickDay:({text:Ue,type:qe})=>{const Et=Ie(Ue,qe);ie("pick",Et)},getSlotData:({text:Ue,type:qe})=>{const Et=Ie(Ue,qe);return{isSelected:Et.isSame(oe.selectedDay),type:`${qe}-month`,day:Et.format("YYYY-MM-DD"),date:Et.toDate()}}}},_hoisted_1$X={key:0},_hoisted_2$D=["onClick"],__default__$1f=defineComponent({name:"DateTable"}),_sfc_main$1T=defineComponent({...__default__$1f,props:dateTableProps,emits:dateTableEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,{isInRange:de,now:pe,rows:he,weekDays:_e,getFormattedDate:$e,handlePickDay:Ie,getSlotData:Ve}=useDateTable(ue,le),Fe=useNamespace("calendar-table"),Ue=useNamespace("calendar-day"),qe=({text:Et,type:At})=>{const Lt=[At];if(At==="current"){const hn=$e(Et,At);hn.isSame(ue.selectedDay,"day")&&Lt.push(Ue.is("selected")),hn.isSame(pe,"day")&&Lt.push(Ue.is("today"))}return Lt};return ie({getFormattedDate:$e}),(Et,At)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("range",unref(de))]),cellspacing:"0",cellpadding:"0"},[Et.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$X,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),Lt=>(openBlock(),createElementBlock("th",{key:Lt},toDisplayString$1(Lt),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(he),(Lt,hn)=>(openBlock(),createElementBlock("tr",{key:hn,class:normalizeClass({[unref(Fe).e("row")]:!0,[unref(Fe).em("row","hide-border")]:hn===0&&Et.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Lt,(vn,_n)=>(openBlock(),createElementBlock("td",{key:_n,class:normalizeClass(qe(vn)),onClick:bn=>unref(Ie)(vn)},[createBaseVNode("div",{class:normalizeClass(unref(Ue).b())},[renderSlot(Et.$slots,"date-cell",{data:unref(Ve)(vn)},()=>[createBaseVNode("span",null,toDisplayString$1(vn.text),1)])],2)],10,_hoisted_2$D))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=(oe,ie)=>{const le=oe.endOf("month"),ue=ie.startOf("month"),pe=le.isSame(ue,"week")?ue.add(1,"week"):ue;return[[oe,le],[pe.startOf("week"),ie]]},threeConsecutiveMonth=(oe,ie)=>{const le=oe.endOf("month"),ue=oe.add(1,"month").startOf("month"),de=le.isSame(ue,"week")?ue.add(1,"week"):ue,pe=de.endOf("month"),he=ie.startOf("month"),_e=pe.isSame(he,"week")?he.add(1,"week"):he;return[[oe,le],[de.startOf("week"),pe],[_e.startOf("week"),ie]]},useCalendar=(oe,ie,le)=>{const ue=useSlots(),{lang:de}=useLocale(),pe=ref(),he=dayjs().locale(de.value),_e=computed({get(){return oe.modelValue?Ie.value:pe.value},set(hn){if(!hn)return;pe.value=hn;const vn=hn.toDate();ie(INPUT_EVENT,vn),ie(UPDATE_MODEL_EVENT,vn)}}),$e=computed(()=>{if(!oe.range)return[];const hn=oe.range.map(bn=>dayjs(bn).locale(de.value)),[vn,_n]=hn;return vn.isAfter(_n)?[]:vn.isSame(_n,"month")?Et(vn,_n):vn.add(1,"month").month()!==_n.month()?[]:Et(vn,_n)}),Ie=computed(()=>oe.modelValue?dayjs(oe.modelValue).locale(de.value):_e.value||($e.value.length?$e.value[0][0]:he)),Ve=computed(()=>Ie.value.subtract(1,"month").date(1)),Fe=computed(()=>Ie.value.add(1,"month").date(1)),Ue=computed(()=>Ie.value.subtract(1,"year").date(1)),qe=computed(()=>Ie.value.add(1,"year").date(1)),Et=(hn,vn)=>{const _n=hn.startOf("week"),bn=vn.endOf("week"),Sn=_n.get("month"),Cn=bn.get("month");return Sn===Cn?[[_n,bn]]:(Sn+1)%12===Cn?adjacentMonth(_n,bn):Sn+2===Cn||(Sn+1)%11===Cn?threeConsecutiveMonth(_n,bn):[]},At=hn=>{_e.value=hn},Lt=hn=>{const _n={"prev-month":Ve.value,"next-month":Fe.value,"prev-year":Ue.value,"next-year":qe.value,today:he}[hn];_n.isSame(Ie.value,"day")||At(_n)};return useDeprecated({from:'"dateCell"',replacement:'"date-cell"',scope:"ElCalendar",version:"2.3.0",ref:"https://element-plus.org/en-US/component/calendar.html#slots",type:"Slot"},computed(()=>!!ue.dateCell)),{calculateValidatedDateRange:Et,date:Ie,realSelectedDay:_e,pickDay:At,selectDate:Lt,validatedRange:$e}},isValidRange$1=oe=>isArray$c(oe)&&oe.length===2&&oe.every(ie=>isDate$3(ie)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:oe=>isDate$3(oe),[INPUT_EVENT]:oe=>isDate$3(oe)},COMPONENT_NAME$g="ElCalendar",__default__$1e=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1S=defineComponent({...__default__$1e,props:calendarProps,emits:calendarEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useNamespace("calendar"),{calculateValidatedDateRange:pe,date:he,pickDay:_e,realSelectedDay:$e,selectDate:Ie,validatedRange:Ve}=useCalendar(ue,le),{t:Fe}=useLocale(),Ue=computed(()=>{const qe=`el.datepicker.month${he.value.format("M")}`;return`${he.value.year()} ${Fe("el.datepicker.year")} ${Fe(qe)}`});return ie({selectedDay:$e,pickDay:_e,selectDate:Ie,calculateValidatedDateRange:pe}),(qe,Et)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(de).b())},[createBaseVNode("div",{class:normalizeClass(unref(de).e("header"))},[renderSlot(qe.$slots,"header",{date:unref(Ue)},()=>[createBaseVNode("div",{class:normalizeClass(unref(de).e("title"))},toDisplayString$1(unref(Ue)),3),unref(Ve).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).e("button-group"))},[createVNode(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode(unref(ElButton),{size:"small",onClick:Et[0]||(Et[0]=At=>unref(Ie)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Fe)("el.datepicker.prevMonth")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Et[1]||(Et[1]=At=>unref(Ie)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Fe)("el.datepicker.today")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Et[2]||(Et[2]=At=>unref(Ie)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Fe)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(Ve).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).e("body"))},[createVNode(DateTable$1,{date:unref(he),"selected-day":unref($e),onPick:unref(_e)},createSlots({_:2},[qe.$slots["date-cell"]||qe.$slots.dateCell?{name:"date-cell",fn:withCtx(At=>[qe.$slots["date-cell"]?renderSlot(qe.$slots,"date-cell",normalizeProps(mergeProps({key:0},At))):renderSlot(qe.$slots,"dateCell",normalizeProps(mergeProps({key:1},At)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(de).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),(At,Lt)=>(openBlock(),createBlock(DateTable$1,{key:Lt,date:At[0],"selected-day":unref($e),range:At,"hide-header":Lt!==0,onPick:unref(_e)},createSlots({_:2},[qe.$slots["date-cell"]||qe.$slots.dateCell?{name:"date-cell",fn:withCtx(hn=>[qe.$slots["date-cell"]?renderSlot(qe.$slots,"date-cell",normalizeProps(mergeProps({key:0},hn))):renderSlot(qe.$slots,"dateCell",normalizeProps(mergeProps({key:1},hn)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc$1(_sfc_main$1S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const ElCalendar=withInstall(Calendar),cardProps=buildProps({header:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1d=defineComponent({name:"ElCard"}),_sfc_main$1R=defineComponent({...__default__$1d,props:cardProps,setup(oe){const ie=useNamespace("card");return(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).b(),unref(ie).is(`${le.shadow}-shadow`)])},[le.$slots.header||le.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("header"))},[renderSlot(le.$slots,"header",{},()=>[createTextVNode(toDisplayString$1(le.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("body")),style:normalizeStyle$1(le.bodyStyle)},[renderSlot(le.$slots,"default")],6)],2))}});var Card=_export_sfc$1(_sfc_main$1R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({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:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0}}),carouselEmits={change:(oe,ie)=>[oe,ie].every(isNumber$4)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(oe,ie,le)=>{const{children:ue,addChild:de,removeChild:pe}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),he=ref(-1),_e=ref(null),$e=ref(!1),Ie=ref(),Ve=ref(0),Fe=computed(()=>oe.arrow!=="never"&&!unref(Et)),Ue=computed(()=>ue.value.some(Ln=>Ln.props.label.toString().length>0)),qe=computed(()=>oe.type==="card"),Et=computed(()=>oe.direction==="vertical"),At=computed(()=>oe.height!=="auto"?{height:oe.height}:{height:`${Ve.value}px`,overflow:"hidden"}),Lt=throttle$1(Ln=>{Sn(Ln)},THROTTLE_TIME,{trailing:!0}),hn=throttle$1(Ln=>{In(Ln)},THROTTLE_TIME);function vn(){_e.value&&(clearInterval(_e.value),_e.value=null)}function _n(){oe.interval<=0||!oe.autoplay||_e.value||(_e.value=setInterval(()=>bn(),oe.interval))}const bn=()=>{he.value<ue.value.length-1?he.value=he.value+1:oe.loop&&(he.value=0)};function Sn(Ln){if(isString$6(Ln)){const Gn=ue.value.filter(Jn=>Jn.props.name===Ln);Gn.length>0&&(Ln=ue.value.indexOf(Gn[0]))}if(Ln=Number(Ln),Number.isNaN(Ln)||Ln!==Math.floor(Ln))return;const jn=ue.value.length,Zn=he.value;Ln<0?he.value=oe.loop?jn-1:0:Ln>=jn?he.value=oe.loop?0:jn-1:he.value=Ln,Zn===he.value&&Cn(Zn),Vn()}function Cn(Ln){ue.value.forEach((jn,Zn)=>{jn.translateItem(Zn,he.value,Ln)})}function En(Ln,jn){var Zn,Gn,Jn,lr;const yr=unref(ue),ir=yr.length;if(ir===0||!Ln.states.inStage)return!1;const qn=jn+1,Yn=jn-1,Xn=ir-1,or=yr[Xn].states.active,_r=yr[0].states.active,Kn=(Gn=(Zn=yr[qn])==null?void 0:Zn.states)==null?void 0:Gn.active,er=(lr=(Jn=yr[Yn])==null?void 0:Jn.states)==null?void 0:lr.active;return jn===Xn&&_r||Kn?"left":jn===0&&or||er?"right":!1}function wn(){$e.value=!0,oe.pauseOnHover&&vn()}function xn(){$e.value=!1,_n()}function kn(Ln){unref(Et)||ue.value.forEach((jn,Zn)=>{Ln===En(jn,Zn)&&(jn.states.hover=!0)})}function Pn(){unref(Et)||ue.value.forEach(Ln=>{Ln.states.hover=!1})}function An(Ln){he.value=Ln}function In(Ln){oe.trigger==="hover"&&Ln!==he.value&&(he.value=Ln)}function Nn(){Sn(he.value-1)}function Un(){Sn(he.value+1)}function Vn(){vn(),_n()}function Mn(Ln){oe.height==="auto"&&(Ve.value=Ln)}watch(()=>he.value,(Ln,jn)=>{Cn(jn),jn>-1&&ie("change",Ln,jn)}),watch(()=>oe.autoplay,Ln=>{Ln?_n():vn()}),watch(()=>oe.loop,()=>{Sn(he.value)}),watch(()=>oe.interval,()=>{Vn()}),watch(()=>ue.value,()=>{ue.value.length>0&&Sn(oe.initialIndex)});const Fn=shallowRef();return onMounted(()=>{Fn.value=useResizeObserver$1(Ie.value,()=>{Cn()}),_n()}),onBeforeUnmount(()=>{vn(),Ie.value&&Fn.value&&Fn.value.stop()}),provide(carouselContextKey,{root:Ie,isCardType:qe,isVertical:Et,items:ue,loop:oe.loop,addItem:de,removeItem:pe,setActiveItem:Sn,setContainerHeight:Mn}),{root:Ie,activeIndex:he,arrowDisplay:Fe,hasLabel:Ue,hover:$e,isCardType:qe,items:ue,isVertical:Et,containerStyle:At,handleButtonEnter:kn,handleButtonLeave:Pn,handleIndicatorClick:An,handleMouseEnter:wn,handleMouseLeave:xn,setActiveItem:Sn,prev:Nn,next:Un,throttledArrowClick:Lt,throttledIndicatorHover:hn}},_hoisted_1$W=["onMouseenter","onClick"],_hoisted_2$C={key:0},COMPONENT_NAME$f="ElCarousel",__default__$1c=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1Q=defineComponent({...__default__$1c,props:carouselProps,emits:carouselEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,{root:de,activeIndex:pe,arrowDisplay:he,hasLabel:_e,hover:$e,isCardType:Ie,items:Ve,isVertical:Fe,containerStyle:Ue,handleButtonEnter:qe,handleButtonLeave:Et,handleIndicatorClick:At,handleMouseEnter:Lt,handleMouseLeave:hn,setActiveItem:vn,prev:_n,next:bn,throttledArrowClick:Sn,throttledIndicatorHover:Cn}=useCarousel(ue,le),En=useNamespace("carousel"),wn=computed(()=>{const kn=[En.b(),En.m(ue.direction)];return unref(Ie)&&kn.push(En.m("card")),kn}),xn=computed(()=>{const kn=[En.e("indicators"),En.em("indicators",ue.direction)];return unref(_e)&&kn.push(En.em("indicators","labels")),ue.indicatorPosition==="outside"&&kn.push(En.em("indicators","outside")),unref(Fe)&&kn.push(En.em("indicators","right")),kn});return ie({setActiveItem:vn,prev:_n,next:bn}),(kn,Pn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:de,class:normalizeClass(unref(wn)),onMouseenter:Pn[6]||(Pn[6]=withModifiers((...An)=>unref(Lt)&&unref(Lt)(...An),["stop"])),onMouseleave:Pn[7]||(Pn[7]=withModifiers((...An)=>unref(hn)&&unref(hn)(...An),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref(En).e("container")),style:normalizeStyle$1(unref(Ue))},[unref(he)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(En).e("arrow"),unref(En).em("arrow","left")]),onMouseenter:Pn[0]||(Pn[0]=An=>unref(qe)("left")),onMouseleave:Pn[1]||(Pn[1]=(...An)=>unref(Et)&&unref(Et)(...An)),onClick:Pn[2]||(Pn[2]=withModifiers(An=>unref(Sn)(unref(pe)-1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],34),[[vShow,(kn.arrow==="always"||unref($e))&&(ue.loop||unref(pe)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(he)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(En).e("arrow"),unref(En).em("arrow","right")]),onMouseenter:Pn[3]||(Pn[3]=An=>unref(qe)("right")),onMouseleave:Pn[4]||(Pn[4]=(...An)=>unref(Et)&&unref(Et)(...An)),onClick:Pn[5]||(Pn[5]=withModifiers(An=>unref(Sn)(unref(pe)+1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],34),[[vShow,(kn.arrow==="always"||unref($e))&&(ue.loop||unref(pe)<unref(Ve).length-1)]])]),_:1})):createCommentVNode("v-if",!0),renderSlot(kn.$slots,"default")],6),kn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:0,class:normalizeClass(unref(xn))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),(An,In)=>(openBlock(),createElementBlock("li",{key:In,class:normalizeClass([unref(En).e("indicator"),unref(En).em("indicator",kn.direction),unref(En).is("active",In===unref(pe))]),onMouseenter:Nn=>unref(Cn)(In),onClick:withModifiers(Nn=>unref(At)(In),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(En).e("button"))},[unref(_e)?(openBlock(),createElementBlock("span",_hoisted_2$C,toDisplayString$1(An.props.label),1)):createCommentVNode("v-if",!0)],2)],42,_hoisted_1$W))),128))],2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(oe,ie)=>{const le=inject(carouselContextKey),ue=getCurrentInstance(),de=.83,pe=ref(),he=ref(!1),_e=ref(0),$e=ref(1),Ie=ref(!1),Ve=ref(!1),Fe=ref(!1),Ue=ref(!1),{isCardType:qe,isVertical:Et}=le;function At(bn,Sn,Cn){const En=Cn-1,wn=Sn-1,xn=Sn+1,kn=Cn/2;return Sn===0&&bn===En?-1:Sn===En&&bn===0?Cn:bn<wn&&Sn-bn>=kn?Cn+1:bn>xn&&bn-Sn>=kn?-2:bn}function Lt(bn,Sn){var Cn,En;const wn=unref(Et)?((Cn=le.root.value)==null?void 0:Cn.offsetHeight)||0:((En=le.root.value)==null?void 0:En.offsetWidth)||0;return Fe.value?wn*((2-de)*(bn-Sn)+1)/4:bn<Sn?-(1+de)*wn/4:(3+de)*wn/4}function hn(bn,Sn,Cn){const En=le.root.value;return En?((Cn?En.offsetHeight:En.offsetWidth)||0)*(bn-Sn):0}const vn=(bn,Sn,Cn)=>{var En;const wn=unref(qe),xn=(En=le.items.value.length)!=null?En:Number.NaN,kn=bn===Sn;!wn&&!isUndefined$1(Cn)&&(Ue.value=kn||bn===Cn),!kn&&xn>2&&le.loop&&(bn=At(bn,Sn,xn));const Pn=unref(Et);Ie.value=kn,wn?(Fe.value=Math.round(Math.abs(bn-Sn))<=1,_e.value=Lt(bn,Sn),$e.value=unref(Ie)?1:de):_e.value=hn(bn,Sn,Pn),Ve.value=!0,kn&&pe.value&&le.setContainerHeight(pe.value.offsetHeight)};function _n(){if(le&&unref(qe)){const bn=le.items.value.findIndex(({uid:Sn})=>Sn===ue.uid);le.setActiveItem(bn)}}return onMounted(()=>{le.addItem({props:oe,states:reactive({hover:he,translate:_e,scale:$e,active:Ie,ready:Ve,inStage:Fe,animating:Ue}),uid:ue.uid,translateItem:vn})}),onUnmounted(()=>{le.removeItem(ue.uid)}),{carouselItemRef:pe,active:Ie,animating:Ue,hover:he,inStage:Fe,isVertical:Et,translate:_e,isCardType:qe,scale:$e,ready:Ve,handleItemClick:_n}},__default__$1b=defineComponent({name:"ElCarouselItem"}),_sfc_main$1P=defineComponent({...__default__$1b,props:carouselItemProps,setup(oe){const ie=oe,le=useNamespace("carousel"),{carouselItemRef:ue,active:de,animating:pe,hover:he,inStage:_e,isVertical:$e,translate:Ie,isCardType:Ve,scale:Fe,ready:Ue,handleItemClick:qe}=useCarouselItem(ie),Et=computed(()=>{const Lt=`${`translate${unref($e)?"Y":"X"}`}(${unref(Ie)}px)`,hn=`scale(${unref(Fe)})`;return{transform:[Lt,hn].join(" ")}});return(At,Lt)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:ue,class:normalizeClass([unref(le).e("item"),unref(le).is("active",unref(de)),unref(le).is("in-stage",unref(_e)),unref(le).is("hover",unref(he)),unref(le).is("animating",unref(pe)),{[unref(le).em("item","card")]:unref(Ve),[unref(le).em("item","card-vertical")]:unref(Ve)&&unref($e)}]),style:normalizeStyle$1(unref(Et)),onClick:Lt[0]||(Lt[0]=(...hn)=>unref(qe)&&unref(qe)(...hn))},[unref(Ve)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("mask"))},null,2)),[[vShow,!unref(de)]]):createCommentVNode("v-if",!0),renderSlot(At.$slots,"default")],6)),[[vShow,unref(Ue)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},checkboxEmits={[UPDATE_MODEL_EVENT]:oe=>isString$6(oe)||isNumber$4(oe)||isBoolean$3(oe),change:oe=>isString$6(oe)||isNumber$4(oe)||isBoolean$3(oe)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:oe,isChecked:ie})=>{const le=inject(checkboxGroupContextKey,void 0),ue=computed(()=>{var pe,he;const _e=(pe=le==null?void 0:le.max)==null?void 0:pe.value,$e=(he=le==null?void 0:le.min)==null?void 0:he.value;return!isUndefined$1(_e)&&oe.value.length>=_e&&!ie.value||!isUndefined$1($e)&&oe.value.length<=$e&&ie.value});return{isDisabled:useFormDisabled(computed(()=>(le==null?void 0:le.disabled.value)||ue.value)),isLimitDisabled:ue}},useCheckboxEvent=(oe,{model:ie,isLimitExceeded:le,hasOwnLabel:ue,isDisabled:de,isLabeledByFormItem:pe})=>{const he=inject(checkboxGroupContextKey,void 0),{formItem:_e}=useFormItem(),{emit:$e}=getCurrentInstance();function Ie(Et){var At,Lt;return Et===oe.trueLabel||Et===!0?(At=oe.trueLabel)!=null?At:!0:(Lt=oe.falseLabel)!=null?Lt:!1}function Ve(Et,At){$e("change",Ie(Et),At)}function Fe(Et){if(le.value)return;const At=Et.target;$e("change",Ie(At.checked),Et)}async function Ue(Et){le.value||!ue.value&&!de.value&&pe.value&&(Et.composedPath().some(hn=>hn.tagName==="LABEL")||(ie.value=Ie([!1,oe.falseLabel].includes(ie.value)),await nextTick(),Ve(ie.value,Et)))}const qe=computed(()=>(he==null?void 0:he.validateEvent)||oe.validateEvent);return watch(()=>oe.modelValue,()=>{qe.value&&(_e==null||_e.validate("change").catch(Et=>void 0))}),{handleChange:Fe,onClickRoot:Ue}},useCheckboxModel=oe=>{const ie=ref(!1),{emit:le}=getCurrentInstance(),ue=inject(checkboxGroupContextKey,void 0),de=computed(()=>isUndefined$1(ue)===!1),pe=ref(!1);return{model:computed({get(){var _e,$e;return de.value?(_e=ue==null?void 0:ue.modelValue)==null?void 0:_e.value:($e=oe.modelValue)!=null?$e:ie.value},set(_e){var $e,Ie;de.value&&isArray$c(_e)?(pe.value=(($e=ue==null?void 0:ue.max)==null?void 0:$e.value)!==void 0&&_e.length>(ue==null?void 0:ue.max.value),pe.value===!1&&((Ie=ue==null?void 0:ue.changeEvent)==null||Ie.call(ue,_e))):(le(UPDATE_MODEL_EVENT,_e),ie.value=_e)}}),isGroup:de,isLimitExceeded:pe}},useCheckboxStatus=(oe,ie,{model:le})=>{const ue=inject(checkboxGroupContextKey,void 0),de=ref(!1),pe=computed(()=>{const Ie=le.value;return isBoolean$3(Ie)?Ie:isArray$c(Ie)?isObject$9(oe.label)?Ie.map(toRaw).some(Ve=>isEqual$1(Ve,oe.label)):Ie.map(toRaw).includes(oe.label):Ie!=null?Ie===oe.trueLabel:!!Ie}),he=useFormSize(computed(()=>{var Ie;return(Ie=ue==null?void 0:ue.size)==null?void 0:Ie.value}),{prop:!0}),_e=useFormSize(computed(()=>{var Ie;return(Ie=ue==null?void 0:ue.size)==null?void 0:Ie.value})),$e=computed(()=>!!(ie.default||oe.label));return{checkboxButtonSize:he,isChecked:pe,isFocused:de,checkboxSize:_e,hasOwnLabel:$e}},setStoreValue=(oe,{model:ie})=>{function le(){isArray$c(ie.value)&&!ie.value.includes(oe.label)?ie.value.push(oe.label):ie.value=oe.trueLabel||!0}oe.checked&&le()},useCheckbox=(oe,ie)=>{const{formItem:le}=useFormItem(),{model:ue,isGroup:de,isLimitExceeded:pe}=useCheckboxModel(oe),{isFocused:he,isChecked:_e,checkboxButtonSize:$e,checkboxSize:Ie,hasOwnLabel:Ve}=useCheckboxStatus(oe,ie,{model:ue}),{isDisabled:Fe}=useCheckboxDisabled({model:ue,isChecked:_e}),{inputId:Ue,isLabeledByFormItem:qe}=useFormItemInputId(oe,{formItemContext:le,disableIdGeneration:Ve,disableIdManagement:de}),{handleChange:Et,onClickRoot:At}=useCheckboxEvent(oe,{model:ue,isLimitExceeded:pe,hasOwnLabel:Ve,isDisabled:Fe,isLabeledByFormItem:qe});return setStoreValue(oe,{model:ue}),{inputId:Ue,isLabeledByFormItem:qe,isChecked:_e,isDisabled:Fe,isFocused:he,checkboxButtonSize:$e,checkboxSize:Ie,hasOwnLabel:Ve,model:ue,handleChange:Et,onClickRoot:At}},_hoisted_1$V=["tabindex","role","aria-checked"],_hoisted_2$B=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],_hoisted_3$l=["id","aria-hidden","disabled","value","name","tabindex"],__default__$1a=defineComponent({name:"ElCheckbox"}),_sfc_main$1O=defineComponent({...__default__$1a,props:checkboxProps,emits:checkboxEmits,setup(oe){const ie=oe,le=useSlots(),{inputId:ue,isLabeledByFormItem:de,isChecked:pe,isDisabled:he,isFocused:_e,checkboxSize:$e,hasOwnLabel:Ie,model:Ve,handleChange:Fe,onClickRoot:Ue}=useCheckbox(ie,le),qe=useNamespace("checkbox"),Et=computed(()=>[qe.b(),qe.m($e.value),qe.is("disabled",he.value),qe.is("bordered",ie.border),qe.is("checked",pe.value)]),At=computed(()=>[qe.e("input"),qe.is("disabled",he.value),qe.is("checked",pe.value),qe.is("indeterminate",ie.indeterminate),qe.is("focus",_e.value)]);return(Lt,hn)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(Ie)&&unref(de)?"span":"label"),{class:normalizeClass(unref(Et)),"aria-controls":Lt.indeterminate?Lt.controls:null,onClick:unref(Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(At)),tabindex:Lt.indeterminate?0:void 0,role:Lt.indeterminate?"checkbox":void 0,"aria-checked":Lt.indeterminate?"mixed":void 0},[Lt.trueLabel||Lt.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(ue),"onUpdate:modelValue":hn[0]||(hn[0]=vn=>isRef(Ve)?Ve.value=vn:null),class:normalizeClass(unref(qe).e("original")),type:"checkbox","aria-hidden":Lt.indeterminate?"true":"false",name:Lt.name,tabindex:Lt.tabindex,disabled:unref(he),"true-value":Lt.trueLabel,"false-value":Lt.falseLabel,onChange:hn[1]||(hn[1]=(...vn)=>unref(Fe)&&unref(Fe)(...vn)),onFocus:hn[2]||(hn[2]=vn=>_e.value=!0),onBlur:hn[3]||(hn[3]=vn=>_e.value=!1)},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(Ve)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(ue),"onUpdate:modelValue":hn[4]||(hn[4]=vn=>isRef(Ve)?Ve.value=vn:null),class:normalizeClass(unref(qe).e("original")),type:"checkbox","aria-hidden":Lt.indeterminate?"true":"false",disabled:unref(he),value:Lt.label,name:Lt.name,tabindex:Lt.tabindex,onChange:hn[5]||(hn[5]=(...vn)=>unref(Fe)&&unref(Fe)(...vn)),onFocus:hn[6]||(hn[6]=vn=>_e.value=!0),onBlur:hn[7]||(hn[7]=vn=>_e.value=!1)},null,42,_hoisted_3$l)),[[vModelCheckbox,unref(Ve)]]),createBaseVNode("span",{class:normalizeClass(unref(qe).e("inner"))},null,2)],10,_hoisted_1$V),unref(Ie)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(qe).e("label"))},[renderSlot(Lt.$slots,"default"),Lt.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(Lt.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$U=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$A=["name","tabindex","disabled","value"],__default__$19=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1N=defineComponent({...__default__$19,props:checkboxProps,emits:checkboxEmits,setup(oe){const ie=oe,le=useSlots(),{isFocused:ue,isChecked:de,isDisabled:pe,checkboxButtonSize:he,model:_e,handleChange:$e}=useCheckbox(ie,le),Ie=inject(checkboxGroupContextKey,void 0),Ve=useNamespace("checkbox"),Fe=computed(()=>{var qe,Et,At,Lt;const hn=(Et=(qe=Ie==null?void 0:Ie.fill)==null?void 0:qe.value)!=null?Et:"";return{backgroundColor:hn,borderColor:hn,color:(Lt=(At=Ie==null?void 0:Ie.textColor)==null?void 0:At.value)!=null?Lt:"",boxShadow:hn?`-1px 0 0 0 ${hn}`:void 0}}),Ue=computed(()=>[Ve.b("button"),Ve.bm("button",he.value),Ve.is("disabled",pe.value),Ve.is("checked",de.value),Ve.is("focus",ue.value)]);return(qe,Et)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref(Ue))},[qe.trueLabel||qe.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Et[0]||(Et[0]=At=>isRef(_e)?_e.value=At:null),class:normalizeClass(unref(Ve).be("button","original")),type:"checkbox",name:qe.name,tabindex:qe.tabindex,disabled:unref(pe),"true-value":qe.trueLabel,"false-value":qe.falseLabel,onChange:Et[1]||(Et[1]=(...At)=>unref($e)&&unref($e)(...At)),onFocus:Et[2]||(Et[2]=At=>ue.value=!0),onBlur:Et[3]||(Et[3]=At=>ue.value=!1)},null,42,_hoisted_1$U)),[[vModelCheckbox,unref(_e)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":Et[4]||(Et[4]=At=>isRef(_e)?_e.value=At:null),class:normalizeClass(unref(Ve).be("button","original")),type:"checkbox",name:qe.name,tabindex:qe.tabindex,disabled:unref(pe),value:qe.label,onChange:Et[5]||(Et[5]=(...At)=>unref($e)&&unref($e)(...At)),onFocus:Et[6]||(Et[6]=At=>ue.value=!0),onBlur:Et[7]||(Et[7]=At=>ue.value=!1)},null,42,_hoisted_2$A)),[[vModelCheckbox,unref(_e)]]),qe.$slots.default||qe.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(Ve).be("button","inner")),style:normalizeStyle$1(unref(de)?unref(Fe):void 0)},[renderSlot(qe.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(qe.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc$1(_sfc_main$1N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:oe=>isArray$c(oe),change:oe=>isArray$c(oe)},__default__$18=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1M=defineComponent({...__default__$18,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("checkbox"),{formItem:de}=useFormItem(),{inputId:pe,isLabeledByFormItem:he}=useFormItemInputId(le,{formItemContext:de}),_e=async Ie=>{ie(UPDATE_MODEL_EVENT,Ie),await nextTick(),ie("change",Ie)},$e=computed({get(){return le.modelValue},set(Ie){_e(Ie)}});return provide(checkboxGroupContextKey,{...pick$1(toRefs(le),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:$e,changeEvent:_e}),watch(()=>le.modelValue,()=>{le.validateEvent&&(de==null||de.validate("change").catch(Ie=>void 0))}),(Ie,Ve)=>{var Fe;return openBlock(),createBlock(resolveDynamicComponent(Ie.tag),{id:unref(pe),class:normalizeClass(unref(ue).b("group")),role:"group","aria-label":unref(he)?void 0:Ie.label||"checkbox-group","aria-labelledby":unref(he)?(Fe=unref(de))==null?void 0:Fe.labelId:void 0},{default:withCtx(()=>[renderSlot(Ie.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),radioProps=buildProps({...radioPropsBase,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:oe=>isString$6(oe)||isNumber$4(oe)||isBoolean$3(oe),[CHANGE_EVENT]:oe=>isString$6(oe)||isNumber$4(oe)||isBoolean$3(oe)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(oe,ie)=>{const le=ref(),ue=inject(radioGroupKey,void 0),de=computed(()=>!!ue),pe=computed({get(){return de.value?ue.modelValue:oe.modelValue},set(Ve){de.value?ue.changeEvent(Ve):ie&&ie(UPDATE_MODEL_EVENT,Ve),le.value.checked=oe.modelValue===oe.label}}),he=useFormSize(computed(()=>ue==null?void 0:ue.size)),_e=useFormDisabled(computed(()=>ue==null?void 0:ue.disabled)),$e=ref(!1),Ie=computed(()=>_e.value||de.value&&pe.value!==oe.label?-1:0);return{radioRef:le,isGroup:de,radioGroup:ue,focus:$e,size:he,disabled:_e,tabIndex:Ie,modelValue:pe}},_hoisted_1$T=["value","name","disabled"],__default__$17=defineComponent({name:"ElRadio"}),_sfc_main$1L=defineComponent({...__default__$17,props:radioProps,emits:radioEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("radio"),{radioRef:de,radioGroup:pe,focus:he,size:_e,disabled:$e,modelValue:Ie}=useRadio(le,ie);function Ve(){nextTick(()=>ie("change",Ie.value))}return(Fe,Ue)=>{var qe;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(ue).b(),unref(ue).is("disabled",unref($e)),unref(ue).is("focus",unref(he)),unref(ue).is("bordered",Fe.border),unref(ue).is("checked",unref(Ie)===Fe.label),unref(ue).m(unref(_e))])},[createBaseVNode("span",{class:normalizeClass([unref(ue).e("input"),unref(ue).is("disabled",unref($e)),unref(ue).is("checked",unref(Ie)===Fe.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:de,"onUpdate:modelValue":Ue[0]||(Ue[0]=Et=>isRef(Ie)?Ie.value=Et:null),class:normalizeClass(unref(ue).e("original")),value:Fe.label,name:Fe.name||((qe=unref(pe))==null?void 0:qe.name),disabled:unref($e),type:"radio",onFocus:Ue[1]||(Ue[1]=Et=>he.value=!0),onBlur:Ue[2]||(Ue[2]=Et=>he.value=!1),onChange:Ve},null,42,_hoisted_1$T),[[vModelRadio,unref(Ie)]]),createBaseVNode("span",{class:normalizeClass(unref(ue).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(ue).e("label")),onKeydown:Ue[3]||(Ue[3]=withModifiers(()=>{},["stop"]))},[renderSlot(Fe.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Fe.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase,name:{type:String,default:""}}),_hoisted_1$S=["value","name","disabled"],__default__$16=defineComponent({name:"ElRadioButton"}),_sfc_main$1K=defineComponent({...__default__$16,props:radioButtonProps,setup(oe){const ie=oe,le=useNamespace("radio"),{radioRef:ue,focus:de,size:pe,disabled:he,modelValue:_e,radioGroup:$e}=useRadio(ie),Ie=computed(()=>({backgroundColor:($e==null?void 0:$e.fill)||"",borderColor:($e==null?void 0:$e.fill)||"",boxShadow:$e!=null&&$e.fill?`-1px 0 0 0 ${$e.fill}`:"",color:($e==null?void 0:$e.textColor)||""}));return(Ve,Fe)=>{var Ue;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(le).b("button"),unref(le).is("active",unref(_e)===Ve.label),unref(le).is("disabled",unref(he)),unref(le).is("focus",unref(de)),unref(le).bm("button",unref(pe))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:ue,"onUpdate:modelValue":Fe[0]||(Fe[0]=qe=>isRef(_e)?_e.value=qe:null),class:normalizeClass(unref(le).be("button","original-radio")),value:Ve.label,type:"radio",name:Ve.name||((Ue=unref($e))==null?void 0:Ue.name),disabled:unref(he),onFocus:Fe[1]||(Fe[1]=qe=>de.value=!0),onBlur:Fe[2]||(Fe[2]=qe=>de.value=!1)},null,42,_hoisted_1$S),[[vModelRadio,unref(_e)]]),createBaseVNode("span",{class:normalizeClass(unref(le).be("button","inner")),style:normalizeStyle$1(unref(_e)===Ve.label?unref(Ie):{}),onKeydown:Fe[3]||(Fe[3]=withModifiers(()=>{},["stop"]))},[renderSlot(Ve.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ve.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),radioGroupEmits=radioEmits,_hoisted_1$R=["id","aria-label","aria-labelledby"],__default__$15=defineComponent({name:"ElRadioGroup"}),_sfc_main$1J=defineComponent({...__default__$15,props:radioGroupProps,emits:radioGroupEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("radio"),de=useId(),pe=ref(),{formItem:he}=useFormItem(),{inputId:_e,isLabeledByFormItem:$e}=useFormItemInputId(le,{formItemContext:he}),Ie=Fe=>{ie(UPDATE_MODEL_EVENT,Fe),nextTick(()=>ie("change",Fe))};onMounted(()=>{const Fe=pe.value.querySelectorAll("[type=radio]"),Ue=Fe[0];!Array.from(Fe).some(qe=>qe.checked)&&Ue&&(Ue.tabIndex=0)});const Ve=computed(()=>le.name||de.value);return provide(radioGroupKey,reactive({...toRefs(le),changeEvent:Ie,name:Ve})),watch(()=>le.modelValue,()=>{le.validateEvent&&(he==null||he.validate("change").catch(Fe=>void 0))}),(Fe,Ue)=>(openBlock(),createElementBlock("div",{id:unref(_e),ref_key:"radioGroupRef",ref:pe,class:normalizeClass(unref(ue).b("group")),role:"radiogroup","aria-label":unref($e)?void 0:Fe.label||"radio-group","aria-labelledby":unref($e)?unref(he).labelId:void 0},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$R))}});var RadioGroup=_export_sfc$1(_sfc_main$1J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:oe}=this,{node:ie,panel:le}=this.$parent,{data:ue,label:de}=ie,{renderLabelFn:pe}=le;return h$3("span",{class:oe.e("label")},pe?pe({node:ie,data:ue}):de)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1I=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(oe,{emit:ie}){const le=inject(CASCADER_PANEL_INJECTION_KEY),ue=useNamespace("cascader-node"),de=computed(()=>le.isHoverMenu),pe=computed(()=>le.config.multiple),he=computed(()=>le.config.checkStrictly),_e=computed(()=>{var Cn;return(Cn=le.checkedNodes[0])==null?void 0:Cn.uid}),$e=computed(()=>oe.node.isDisabled),Ie=computed(()=>oe.node.isLeaf),Ve=computed(()=>he.value&&!Ie.value||!$e.value),Fe=computed(()=>qe(le.expandingNode)),Ue=computed(()=>he.value&&le.checkedNodes.some(qe)),qe=Cn=>{var En;const{level:wn,uid:xn}=oe.node;return((En=Cn==null?void 0:Cn.pathNodes[wn-1])==null?void 0:En.uid)===xn},Et=()=>{Fe.value||le.expandNode(oe.node)},At=Cn=>{const{node:En}=oe;Cn!==En.checked&&le.handleCheckChange(En,Cn)},Lt=()=>{le.lazyLoad(oe.node,()=>{Ie.value||Et()})},hn=Cn=>{de.value&&(vn(),!Ie.value&&ie("expand",Cn))},vn=()=>{const{node:Cn}=oe;!Ve.value||Cn.loading||(Cn.loaded?Et():Lt())},_n=()=>{de.value&&!Ie.value||(Ie.value&&!$e.value&&!he.value&&!pe.value?Sn(!0):vn())},bn=Cn=>{he.value?(At(Cn),oe.node.loaded&&Et()):Sn(Cn)},Sn=Cn=>{oe.node.loaded?(At(Cn),!he.value&&Et()):Lt()};return{panel:le,isHoverMenu:de,multiple:pe,checkStrictly:he,checkedNodeId:_e,isDisabled:$e,isLeaf:Ie,expandable:Ve,inExpandingPath:Fe,inCheckedPath:Ue,ns:ue,handleHoverExpand:hn,handleExpand:vn,handleClick:_n,handleCheck:Sn,handleSelectCheck:bn}}}),_hoisted_1$Q=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$z=createBaseVNode("span",null,null,-1);function _sfc_render$v(oe,ie,le,ue,de,pe){const he=resolveComponent("el-checkbox"),_e=resolveComponent("el-radio"),$e=resolveComponent("check"),Ie=resolveComponent("el-icon"),Ve=resolveComponent("node-content"),Fe=resolveComponent("loading"),Ue=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${oe.menuId}-${oe.node.uid}`,role:"menuitem","aria-haspopup":!oe.isLeaf,"aria-owns":oe.isLeaf?null:oe.menuId,"aria-expanded":oe.inExpandingPath,tabindex:oe.expandable?-1:void 0,class:normalizeClass([oe.ns.b(),oe.ns.is("selectable",oe.checkStrictly),oe.ns.is("active",oe.node.checked),oe.ns.is("disabled",!oe.expandable),oe.inExpandingPath&&"in-active-path",oe.inCheckedPath&&"in-checked-path"]),onMouseenter:ie[2]||(ie[2]=(...qe)=>oe.handleHoverExpand&&oe.handleHoverExpand(...qe)),onFocus:ie[3]||(ie[3]=(...qe)=>oe.handleHoverExpand&&oe.handleHoverExpand(...qe)),onClick:ie[4]||(ie[4]=(...qe)=>oe.handleClick&&oe.handleClick(...qe))},[createCommentVNode(" prefix "),oe.multiple?(openBlock(),createBlock(he,{key:0,"model-value":oe.node.checked,indeterminate:oe.node.indeterminate,disabled:oe.isDisabled,onClick:ie[0]||(ie[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":oe.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):oe.checkStrictly?(openBlock(),createBlock(_e,{key:1,"model-value":oe.checkedNodeId,label:oe.node.uid,disabled:oe.isDisabled,"onUpdate:modelValue":oe.handleSelectCheck,onClick:ie[1]||(ie[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(`
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),_hoisted_2$z]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):oe.isLeaf&&oe.node.checked?(openBlock(),createBlock(Ie,{key:2,class:normalizeClass(oe.ns.e("prefix"))},{default:withCtx(()=>[createVNode($e)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(Ve),createCommentVNode(" postfix "),oe.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[oe.node.loading?(openBlock(),createBlock(Ie,{key:0,class:normalizeClass([oe.ns.is("loading"),oe.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Fe)]),_:1},8,["class"])):(openBlock(),createBlock(Ie,{key:1,class:normalizeClass(["arrow-right",oe.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Ue)]),_:1},8,["class"]))],64))],42,_hoisted_1$Q)}var ElCascaderNode=_export_sfc$1(_sfc_main$1I,[["render",_sfc_render$v],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$1H=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(oe){const ie=getCurrentInstance(),le=useNamespace("cascader-menu"),{t:ue}=useLocale(),de=generateId();let pe=null,he=null;const _e=inject(CASCADER_PANEL_INJECTION_KEY),$e=ref(null),Ie=computed(()=>!oe.nodes.length),Ve=computed(()=>!_e.initialLoaded),Fe=computed(()=>`cascader-menu-${de}-${oe.index}`),Ue=Lt=>{pe=Lt.target},qe=Lt=>{if(!(!_e.isHoverMenu||!pe||!$e.value))if(pe.contains(Lt.target)){Et();const hn=ie.vnode.el,{left:vn}=hn.getBoundingClientRect(),{offsetWidth:_n,offsetHeight:bn}=hn,Sn=Lt.clientX-vn,Cn=pe.offsetTop,En=Cn+pe.offsetHeight;$e.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${Sn} ${Cn} L${_n} 0 V${Cn} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${Sn} ${En} L${_n} ${bn} V${En} Z" />
`}else he||(he=window.setTimeout(At,_e.config.hoverThreshold))},Et=()=>{he&&(clearTimeout(he),he=null)},At=()=>{$e.value&&($e.value.innerHTML="",Et())};return{ns:le,panel:_e,hoverZone:$e,isEmpty:Ie,isLoading:Ve,menuId:Fe,t:ue,handleExpand:Ue,handleMouseMove:qe,clearHoverZone:At}}});function _sfc_render$u(oe,ie,le,ue,de,pe){const he=resolveComponent("el-cascader-node"),_e=resolveComponent("loading"),$e=resolveComponent("el-icon"),Ie=resolveComponent("el-scrollbar");return openBlock(),createBlock(Ie,{key:oe.menuId,tag:"ul",role:"menu",class:normalizeClass(oe.ns.b()),"wrap-class":oe.ns.e("wrap"),"view-class":[oe.ns.e("list"),oe.ns.is("empty",oe.isEmpty)],onMousemove:oe.handleMouseMove,onMouseleave:oe.clearHoverZone},{default:withCtx(()=>{var Ve;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.nodes,Fe=>(openBlock(),createBlock(he,{key:Fe.uid,node:Fe,"menu-id":oe.menuId,onExpand:oe.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),oe.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(oe.ns.e("empty-text"))},[createVNode($e,{size:"14",class:normalizeClass(oe.ns.is("loading"))},{default:withCtx(()=>[createVNode(_e)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString$1(oe.t("el.cascader.loading")),1)],2)):oe.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(oe.ns.e("empty-text"))},toDisplayString$1(oe.t("el.cascader.noData")),3)):(Ve=oe.panel)!=null&&Ve.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(oe.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1H,[["render",_sfc_render$u],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let uid=0;const calculatePathNodes=oe=>{const ie=[oe];let{parent:le}=oe;for(;le;)ie.unshift(le),le=le.parent;return ie};let Node$1=class bo{constructor(ie,le,ue,de=!1){this.data=ie,this.config=le,this.parent=ue,this.root=de,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:pe,label:he,children:_e}=le,$e=ie[_e],Ie=calculatePathNodes(this);this.level=de?0:ue?ue.level+1:1,this.value=ie[pe],this.label=ie[he],this.pathNodes=Ie,this.pathValues=Ie.map(Ve=>Ve.value),this.pathLabels=Ie.map(Ve=>Ve.label),this.childrenData=$e,this.children=($e||[]).map(Ve=>new bo(Ve,le,this)),this.loaded=!le.lazy||this.isLeaf||!isEmpty($e)}get isDisabled(){const{data:ie,parent:le,config:ue}=this,{disabled:de,checkStrictly:pe}=ue;return(isFunction$5(de)?de(ie,this):!!ie[de])||!pe&&(le==null?void 0:le.isDisabled)}get isLeaf(){const{data:ie,config:le,childrenData:ue,loaded:de}=this,{lazy:pe,leaf:he}=le,_e=isFunction$5(he)?he(ie,this):ie[he];return isUndefined$1(_e)?pe&&!de?!1:!(Array.isArray(ue)&&ue.length):!!_e}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(ie){const{childrenData:le,children:ue}=this,de=new bo(ie,this.config,this);return Array.isArray(le)?le.push(ie):this.childrenData=[ie],ue.push(de),de}calcText(ie,le){const ue=ie?this.pathLabels.join(le):this.label;return this.text=ue,ue}broadcast(ie,...le){const ue=`onParent${capitalize$1(ie)}`;this.children.forEach(de=>{de&&(de.broadcast(ie,...le),de[ue]&&de[ue](...le))})}emit(ie,...le){const{parent:ue}=this,de=`onChild${capitalize$1(ie)}`;ue&&(ue[de]&&ue[de](...le),ue.emit(ie,...le))}onParentCheck(ie){this.isDisabled||this.setCheckState(ie)}onChildCheck(){const{children:ie}=this,le=ie.filter(de=>!de.isDisabled),ue=le.length?le.every(de=>de.checked):!1;this.setCheckState(ue)}setCheckState(ie){const le=this.children.length,ue=this.children.reduce((de,pe)=>{const he=pe.checked?1:pe.indeterminate?.5:0;return de+he},0);this.checked=this.loaded&&this.children.filter(de=>!de.isDisabled).every(de=>de.loaded&&de.checked)&&ie,this.indeterminate=this.loaded&&ue!==le&&ue>0}doCheck(ie){if(this.checked===ie)return;const{checkStrictly:le,multiple:ue}=this.config;le||!ue?this.checked=ie:(this.broadcast("check",ie),this.setCheckState(ie),this.emit("check"))}};const flatNodes=(oe,ie)=>oe.reduce((le,ue)=>(ue.isLeaf?le.push(ue):(!ie&&le.push(ue),le=le.concat(flatNodes(ue.children,ie))),le),[]);class Store{constructor(ie,le){this.config=le;const ue=(ie||[]).map(de=>new Node$1(de,this.config));this.nodes=ue,this.allNodes=flatNodes(ue,!1),this.leafNodes=flatNodes(ue,!0)}getNodes(){return this.nodes}getFlattedNodes(ie){return ie?this.leafNodes:this.allNodes}appendNode(ie,le){const ue=le?le.appendChild(ie):new Node$1(ie,this.config);le||this.nodes.push(ue),this.allNodes.push(ue),ue.isLeaf&&this.leafNodes.push(ue)}appendNodes(ie,le){ie.forEach(ue=>this.appendNode(ue,le))}getNodeByValue(ie,le=!1){return!ie&&ie!==0?null:this.getFlattedNodes(le).find(de=>isEqual$1(de.value,ie)||isEqual$1(de.pathValues,ie))||null}getSameNode(ie){return ie&&this.getFlattedNodes(!1).find(({value:ue,level:de})=>isEqual$1(ie.value,ue)&&ie.level===de)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=oe=>computed(()=>({...DefaultProps,...oe.props})),getMenuIndex=oe=>{if(!oe)return 0;const ie=oe.id.split("-");return Number(ie[ie.length-2])},checkNode=oe=>{if(!oe)return;const ie=oe.querySelector("input");ie?ie.click():isLeaf(oe)&&oe.click()},sortByOriginalOrder=(oe,ie)=>{const le=ie.slice(0),ue=le.map(pe=>pe.uid),de=oe.reduce((pe,he)=>{const _e=ue.indexOf(he.uid);return _e>-1&&(pe.push(he),le.splice(_e,1),ue.splice(_e,1)),pe},[]);return de.push(...le),de},_sfc_main$1G=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(oe,{emit:ie,slots:le}){let ue=!1;const de=useNamespace("cascader"),pe=useCascaderConfig(oe);let he=null;const _e=ref(!0),$e=ref([]),Ie=ref(null),Ve=ref([]),Fe=ref(null),Ue=ref([]),qe=computed(()=>pe.value.expandTrigger==="hover"),Et=computed(()=>oe.renderLabel||le.default),At=()=>{const{options:An}=oe,In=pe.value;ue=!1,he=new Store(An,In),Ve.value=[he.getNodes()],In.lazy&&isEmpty(oe.options)?(_e.value=!1,Lt(void 0,Nn=>{Nn&&(he=new Store(Nn,In),Ve.value=[he.getNodes()]),_e.value=!0,wn(!1,!0)})):wn(!1,!0)},Lt=(An,In)=>{const Nn=pe.value;An=An||new Node$1({},Nn,void 0,!0),An.loading=!0;const Un=Vn=>{const Mn=An,Fn=Mn.root?null:Mn;Vn&&(he==null||he.appendNodes(Vn,Fn)),Mn.loading=!1,Mn.loaded=!0,Mn.childrenData=Mn.childrenData||[],In&&In(Vn)};Nn.lazyLoad(An,Un)},hn=(An,In)=>{var Nn;const{level:Un}=An,Vn=Ve.value.slice(0,Un);let Mn;An.isLeaf?Mn=An.pathNodes[Un-2]:(Mn=An,Vn.push(An.children)),((Nn=Fe.value)==null?void 0:Nn.uid)!==(Mn==null?void 0:Mn.uid)&&(Fe.value=An,Ve.value=Vn,!In&&ie("expand-change",(An==null?void 0:An.pathValues)||[]))},vn=(An,In,Nn=!0)=>{const{checkStrictly:Un,multiple:Vn}=pe.value,Mn=Ue.value[0];ue=!0,!Vn&&(Mn==null||Mn.doCheck(!1)),An.doCheck(In),En(),Nn&&!Vn&&!Un&&ie("close"),!Nn&&!Vn&&!Un&&_n(An)},_n=An=>{An&&(An=An.parent,_n(An),An&&hn(An))},bn=An=>he==null?void 0:he.getFlattedNodes(An),Sn=An=>{var In;return(In=bn(An))==null?void 0:In.filter(Nn=>Nn.checked!==!1)},Cn=()=>{Ue.value.forEach(An=>An.doCheck(!1)),En(),Ve.value=Ve.value.slice(0,1),Fe.value=null,ie("expand-change",[])},En=()=>{var An;const{checkStrictly:In,multiple:Nn}=pe.value,Un=Ue.value,Vn=Sn(!In),Mn=sortByOriginalOrder(Un,Vn),Fn=Mn.map(Ln=>Ln.valueByOption);Ue.value=Mn,Ie.value=Nn?Fn:(An=Fn[0])!=null?An:null},wn=(An=!1,In=!1)=>{const{modelValue:Nn}=oe,{lazy:Un,multiple:Vn,checkStrictly:Mn}=pe.value,Fn=!Mn;if(!(!_e.value||ue||!In&&isEqual$1(Nn,Ie.value)))if(Un&&!An){const jn=unique(flattenDeep(castArray(Nn))).map(Zn=>he==null?void 0:he.getNodeByValue(Zn)).filter(Zn=>!!Zn&&!Zn.loaded&&!Zn.loading);jn.length?jn.forEach(Zn=>{Lt(Zn,()=>wn(!1,In))}):wn(!0,In)}else{const Ln=Vn?castArray(Nn):[Nn],jn=unique(Ln.map(Zn=>he==null?void 0:he.getNodeByValue(Zn,Fn)));xn(jn,In),Ie.value=cloneDeep(Nn)}},xn=(An,In=!0)=>{const{checkStrictly:Nn}=pe.value,Un=Ue.value,Vn=An.filter(Ln=>!!Ln&&(Nn||Ln.isLeaf)),Mn=he==null?void 0:he.getSameNode(Fe.value),Fn=In&&Mn||Vn[0];Fn?Fn.pathNodes.forEach(Ln=>hn(Ln,!0)):Fe.value=null,Un.forEach(Ln=>Ln.doCheck(!1)),Vn.forEach(Ln=>Ln.doCheck(!0)),Ue.value=Vn,nextTick(kn)},kn=()=>{isClient$1&&$e.value.forEach(An=>{const In=An==null?void 0:An.$el;if(In){const Nn=In.querySelector(`.${de.namespace.value}-scrollbar__wrap`),Un=In.querySelector(`.${de.b("node")}.${de.is("active")}`)||In.querySelector(`.${de.b("node")}.in-active-path`);scrollIntoView(Nn,Un)}})},Pn=An=>{const In=An.target,{code:Nn}=An;switch(Nn){case EVENT_CODE.up:case EVENT_CODE.down:{An.preventDefault();const Un=Nn===EVENT_CODE.up?-1:1;focusNode(getSibling(In,Un,`.${de.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{An.preventDefault();const Un=$e.value[getMenuIndex(In)-1],Vn=Un==null?void 0:Un.$el.querySelector(`.${de.b("node")}[aria-expanded="true"]`);focusNode(Vn);break}case EVENT_CODE.right:{An.preventDefault();const Un=$e.value[getMenuIndex(In)+1],Vn=Un==null?void 0:Un.$el.querySelector(`.${de.b("node")}[tabindex="-1"]`);focusNode(Vn);break}case EVENT_CODE.enter:checkNode(In);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:pe,expandingNode:Fe,checkedNodes:Ue,isHoverMenu:qe,initialLoaded:_e,renderLabelFn:Et,lazyLoad:Lt,expandNode:hn,handleCheckChange:vn})),watch([pe,()=>oe.options],At,{deep:!0,immediate:!0}),watch(()=>oe.modelValue,()=>{ue=!1,wn()},{deep:!0}),watch(()=>Ie.value,An=>{isEqual$1(An,oe.modelValue)||(ie(UPDATE_MODEL_EVENT,An),ie(CHANGE_EVENT,An))}),onBeforeUpdate(()=>$e.value=[]),onMounted(()=>!isEmpty(oe.modelValue)&&wn()),{ns:de,menuList:$e,menus:Ve,checkedNodes:Ue,handleKeyDown:Pn,handleCheckChange:vn,getFlattedNodes:bn,getCheckedNodes:Sn,clearCheckedNodes:Cn,calculateCheckedValue:En,scrollToExpandingNode:kn}}});function _sfc_render$t(oe,ie,le,ue,de,pe){const he=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([oe.ns.b("panel"),oe.ns.is("bordered",oe.border)]),onKeydown:ie[0]||(ie[0]=(..._e)=>oe.handleKeyDown&&oe.handleKeyDown(..._e))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.menus,(_e,$e)=>(openBlock(),createBlock(he,{key:$e,ref_for:!0,ref:Ie=>oe.menuList[$e]=Ie,index:$e,nodes:[..._e]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1G,[["render",_sfc_render$t],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);CascaderPanel.install=oe=>{oe.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:componentSizes,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:oe=>oe instanceof MouseEvent,click:oe=>oe instanceof MouseEvent},__default__$14=defineComponent({name:"ElTag"}),_sfc_main$1F=defineComponent({...__default__$14,props:tagProps,emits:tagEmits,setup(oe,{emit:ie}){const le=oe,ue=useFormSize(),de=useNamespace("tag"),pe=computed(()=>{const{type:$e,hit:Ie,effect:Ve,closable:Fe,round:Ue}=le;return[de.b(),de.is("closable",Fe),de.m($e),de.m(ue.value),de.m(Ve),de.is("hit",Ie),de.is("round",Ue)]}),he=$e=>{ie("close",$e)},_e=$e=>{ie("click",$e)};return($e,Ie)=>$e.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(pe)),style:normalizeStyle$1({backgroundColor:$e.color}),onClick:_e},[createBaseVNode("span",{class:normalizeClass(unref(de).e("content"))},[renderSlot($e.$slots,"default")],2),$e.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("close")),onClick:withModifiers(he,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(de).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(pe)),style:normalizeStyle$1({backgroundColor:$e.color}),onClick:_e},[createBaseVNode("span",{class:normalizeClass(unref(de).e("content"))},[renderSlot($e.$slots,"default")],2),$e.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("close")),onClick:withModifiers(he,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(oe,ie)=>oe.text.includes(ie)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),cascaderEmits={[UPDATE_MODEL_EVENT]:oe=>!!oe||oe===null,[CHANGE_EVENT]:oe=>!!oe||oe===null,focus:oe=>oe instanceof FocusEvent,blur:oe=>oe instanceof FocusEvent,visibleChange:oe=>isBoolean$3(oe),expandChange:oe=>!!oe,removeTag:oe=>!!oe},_hoisted_1$P={key:0},_hoisted_2$y=["placeholder","onKeydown"],_hoisted_3$k=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$13=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1E=defineComponent({...__default__$13,props:cascaderProps,emits:cascaderEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:dr})=>{const{modifiersData:Qn,placement:sr}=dr;["right","left","bottom","top"].includes(sr)||(Qn.arrow.x=35)},requires:["arrow"]}]},pe=useAttrs$1();let he=0,_e=0;const $e=useNamespace("cascader"),Ie=useNamespace("input"),{t:Ve}=useLocale(),{form:Fe,formItem:Ue}=useFormItem(),qe=ref(null),Et=ref(null),At=ref(null),Lt=ref(null),hn=ref(null),vn=ref(!1),_n=ref(!1),bn=ref(!1),Sn=ref(!1),Cn=ref(""),En=ref(""),wn=ref([]),xn=ref([]),kn=ref([]),Pn=ref(!1),An=computed(()=>pe.style),In=computed(()=>ue.disabled||(Fe==null?void 0:Fe.disabled)),Nn=computed(()=>ue.placeholder||Ve("el.cascader.placeholder")),Un=computed(()=>En.value||wn.value.length>0||Pn.value?"":Nn.value),Vn=useFormSize(),Mn=computed(()=>["small"].includes(Vn.value)?"small":"default"),Fn=computed(()=>!!ue.props.multiple),Ln=computed(()=>!ue.filterable||Fn.value),jn=computed(()=>Fn.value?En.value:Cn.value),Zn=computed(()=>{var dr;return((dr=Lt.value)==null?void 0:dr.checkedNodes)||[]}),Gn=computed(()=>!ue.clearable||In.value||bn.value||!_n.value?!1:!!Zn.value.length),Jn=computed(()=>{const{showAllLevels:dr,separator:Qn}=ue,sr=Zn.value;return sr.length?Fn.value?"":sr[0].calcText(dr,Qn):""}),lr=computed({get(){return cloneDeep(ue.modelValue)},set(dr){le(UPDATE_MODEL_EVENT,dr),le(CHANGE_EVENT,dr),ue.validateEvent&&(Ue==null||Ue.validate("change").catch(Qn=>void 0))}}),yr=computed(()=>[$e.b(),$e.m(Vn.value),$e.is("disabled",In.value),pe.class]),ir=computed(()=>[Ie.e("icon"),"icon-arrow-down",$e.is("reverse",vn.value)]),qn=computed(()=>$e.is("focus",vn.value||Sn.value)),Yn=computed(()=>{var dr,Qn;return(Qn=(dr=qe.value)==null?void 0:dr.popperRef)==null?void 0:Qn.contentRef}),Xn=dr=>{var Qn,sr,wr;In.value||(dr=dr??!vn.value,dr!==vn.value&&(vn.value=dr,(sr=(Qn=Et.value)==null?void 0:Qn.input)==null||sr.setAttribute("aria-expanded",`${dr}`),dr?(or(),nextTick((wr=Lt.value)==null?void 0:wr.scrollToExpandingNode)):ue.filterable&&fr(),le("visibleChange",dr)))},or=()=>{nextTick(()=>{var dr;(dr=qe.value)==null||dr.updatePopper()})},_r=()=>{bn.value=!1},Kn=dr=>{const{showAllLevels:Qn,separator:sr}=ue;return{node:dr,key:dr.uid,text:dr.calcText(Qn,sr),hitState:!1,closable:!In.value&&!dr.isDisabled,isCollapseTag:!1}},er=dr=>{var Qn;const sr=dr.node;sr.doCheck(!1),(Qn=Lt.value)==null||Qn.calculateCheckedValue(),le("removeTag",sr.valueByOption)},ar=()=>{if(!Fn.value)return;const dr=Zn.value,Qn=[],sr=[];if(dr.forEach(wr=>sr.push(Kn(wr))),xn.value=sr,dr.length){const[wr,...Ir]=dr,zr=Ir.length;Qn.push(Kn(wr)),zr&&(ue.collapseTags?Qn.push({key:-1,text:`+ ${zr}`,closable:!1,isCollapseTag:!0}):Ir.forEach(Cr=>Qn.push(Kn(Cr))))}wn.value=Qn},gr=()=>{var dr,Qn;const{filterMethod:sr,showAllLevels:wr,separator:Ir}=ue,zr=(Qn=(dr=Lt.value)==null?void 0:dr.getFlattedNodes(!ue.props.checkStrictly))==null?void 0:Qn.filter(Cr=>Cr.isDisabled?!1:(Cr.calcText(wr,Ir),sr(Cr,jn.value)));Fn.value&&(wn.value.forEach(Cr=>{Cr.hitState=!1}),xn.value.forEach(Cr=>{Cr.hitState=!1})),bn.value=!0,kn.value=zr,or()},Er=()=>{var dr;let Qn;bn.value&&hn.value?Qn=hn.value.$el.querySelector(`.${$e.e("suggestion-item")}`):Qn=(dr=Lt.value)==null?void 0:dr.$el.querySelector(`.${$e.b("node")}[tabindex="-1"]`),Qn&&(Qn.focus(),!bn.value&&Qn.click())},cr=()=>{var dr,Qn;const sr=(dr=Et.value)==null?void 0:dr.input,wr=At.value,Ir=(Qn=hn.value)==null?void 0:Qn.$el;if(!(!isClient$1||!sr)){if(Ir){const zr=Ir.querySelector(`.${$e.e("suggestion-list")}`);zr.style.minWidth=`${sr.offsetWidth}px`}if(wr){const{offsetHeight:zr}=wr,Cr=wn.value.length>0?`${Math.max(zr+6,he)}px`:`${he}px`;sr.style.height=Cr,or()}}},Ar=dr=>{var Qn;return(Qn=Lt.value)==null?void 0:Qn.getCheckedNodes(dr)},br=dr=>{or(),le("expandChange",dr)},kr=dr=>{var Qn;const sr=(Qn=dr.target)==null?void 0:Qn.value;if(dr.type==="compositionend")Pn.value=!1,nextTick(()=>xr(sr));else{const wr=sr[sr.length-1]||"";Pn.value=!isKorean(wr)}},mr=dr=>{if(!Pn.value)switch(dr.code){case EVENT_CODE.enter:Xn();break;case EVENT_CODE.down:Xn(!0),nextTick(Er),dr.preventDefault();break;case EVENT_CODE.esc:vn.value===!0&&(dr.preventDefault(),dr.stopPropagation(),Xn(!1));break;case EVENT_CODE.tab:Xn(!1);break}},ur=()=>{var dr;(dr=Lt.value)==null||dr.clearCheckedNodes(),!vn.value&&ue.filterable&&fr(),Xn(!1)},fr=()=>{const{value:dr}=Jn;Cn.value=dr,En.value=dr},pr=dr=>{var Qn,sr;const{checked:wr}=dr;Fn.value?(Qn=Lt.value)==null||Qn.handleCheckChange(dr,!wr,!1):(!wr&&((sr=Lt.value)==null||sr.handleCheckChange(dr,!0,!1)),Xn(!1))},Or=dr=>{const Qn=dr.target,{code:sr}=dr;switch(sr){case EVENT_CODE.up:case EVENT_CODE.down:{const wr=sr===EVENT_CODE.up?-1:1;focusNode(getSibling(Qn,wr,`.${$e.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Qn.click();break}},Lr=()=>{const dr=wn.value,Qn=dr[dr.length-1];_e=En.value?0:_e+1,!(!Qn||!_e||ue.collapseTags&&dr.length>1)&&(Qn.hitState?er(Qn):Qn.hitState=!0)},Vr=dr=>{const Qn=dr.target,sr=$e.e("search-input");Qn.className===sr&&(Sn.value=!0),le("focus",dr)},Dr=dr=>{Sn.value=!1,le("blur",dr)},$r=debounce(()=>{const{value:dr}=jn;if(!dr)return;const Qn=ue.beforeFilter(dr);isPromise(Qn)?Qn.then(gr).catch(()=>{}):Qn!==!1?gr():_r()},ue.debounce),xr=(dr,Qn)=>{!vn.value&&Xn(!0),!(Qn!=null&&Qn.isComposing)&&(dr?$r():_r())};return watch(bn,or),watch([Zn,In],ar),watch(wn,()=>{nextTick(()=>cr())}),watch(Jn,fr,{immediate:!0}),onMounted(()=>{const dr=Et.value.input,Qn=Number.parseFloat(useCssVar(Ie.cssVarName("input-height"),dr).value)-2;he=dr.offsetHeight||Qn,useResizeObserver$1(dr,cr)}),ie({getCheckedNodes:Ar,cascaderPanelRef:Lt,togglePopperVisible:Xn,contentRef:Yn}),(dr,Qn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:qe,visible:vn.value,teleported:dr.teleported,"popper-class":[unref($e).e("dropdown"),dr.popperClass],"popper-options":de,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref($e).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:_r},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(yr)),style:normalizeStyle$1(unref(An)),onClick:Qn[5]||(Qn[5]=()=>Xn(unref(Ln)?void 0:!0)),onKeydown:mr,onMouseenter:Qn[6]||(Qn[6]=sr=>_n.value=!0),onMouseleave:Qn[7]||(Qn[7]=sr=>_n.value=!1)},[createVNode(unref(ElInput),{ref_key:"input",ref:Et,modelValue:Cn.value,"onUpdate:modelValue":Qn[1]||(Qn[1]=sr=>Cn.value=sr),placeholder:unref(Un),readonly:unref(Ln),disabled:unref(In),"validate-event":!1,size:unref(Vn),class:normalizeClass(unref(qn)),tabindex:unref(Fn)&&dr.filterable&&!unref(In)?-1:void 0,onCompositionstart:kr,onCompositionupdate:kr,onCompositionend:kr,onFocus:Vr,onBlur:Dr,onInput:xr},{suffix:withCtx(()=>[unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(Ie).e("icon"),"icon-circle-close"]),onClick:withModifiers(ur,["stop"])},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(ir)),onClick:Qn[0]||(Qn[0]=withModifiers(sr=>Xn(),["stop"]))},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(Fn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:At,class:normalizeClass(unref($e).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(wn.value,sr=>(openBlock(),createBlock(unref(ElTag),{key:sr.key,type:dr.tagType,size:unref(Mn),hit:sr.hitState,closable:sr.closable,"disable-transitions":"",onClose:wr=>er(sr)},{default:withCtx(()=>[sr.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$P,toDisplayString$1(sr.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:vn.value||!dr.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(sr.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref($e).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xn.value.slice(1),(wr,Ir)=>(openBlock(),createElementBlock("div",{key:Ir,class:normalizeClass(unref($e).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:wr.key,class:"in-tooltip",type:dr.tagType,size:unref(Mn),hit:wr.hitState,closable:wr.closable,"disable-transitions":"",onClose:zr=>er(wr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(wr.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),dr.filterable&&!unref(In)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Qn[2]||(Qn[2]=sr=>En.value=sr),type:"text",class:normalizeClass(unref($e).e("search-input")),placeholder:unref(Jn)?"":unref(Nn),onInput:Qn[3]||(Qn[3]=sr=>xr(En.value,sr)),onClick:Qn[4]||(Qn[4]=withModifiers(sr=>Xn(!0),["stop"])),onKeydown:withKeys(Lr,["delete"]),onCompositionstart:kr,onCompositionupdate:kr,onCompositionend:kr,onFocus:Vr,onBlur:Dr},null,42,_hoisted_2$y)),[[vModelText,En.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>Xn(!1),unref(Yn)]])]),content:withCtx(()=>[withDirectives(createVNode(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Lt,modelValue:unref(lr),"onUpdate:modelValue":Qn[8]||(Qn[8]=sr=>isRef(lr)?lr.value=sr:null),options:dr.options,props:ue.props,border:!1,"render-label":dr.$slots.default,onExpandChange:br,onClose:Qn[9]||(Qn[9]=sr=>dr.$nextTick(()=>Xn(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!bn.value]]),dr.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:hn,tag:"ul",class:normalizeClass(unref($e).e("suggestion-panel")),"view-class":unref($e).e("suggestion-list"),onKeydown:Or},{default:withCtx(()=>[kn.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(kn.value,sr=>(openBlock(),createElementBlock("li",{key:sr.uid,class:normalizeClass([unref($e).e("suggestion-item"),unref($e).is("checked",sr.checked)]),tabindex:-1,onClick:wr=>pr(sr)},[createBaseVNode("span",null,toDisplayString$1(sr.text),1),sr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$k))),128)):renderSlot(dr.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref($e).e("empty-text"))},toDisplayString$1(unref(Ve)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,bn.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Cascader.install=oe=>{oe.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1}}),checkTagEmits={"update:checked":oe=>isBoolean$3(oe),[CHANGE_EVENT]:oe=>isBoolean$3(oe)},__default__$12=defineComponent({name:"ElCheckTag"}),_sfc_main$1D=defineComponent({...__default__$12,props:checkTagProps,emits:checkTagEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("check-tag"),de=computed(()=>[ue.b(),ue.is("checked",le.checked)]),pe=()=>{const he=!le.checked;ie(CHANGE_EVENT,he),ie("update:checked",he)};return(he,_e)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(de)),onClick:pe},[renderSlot(he.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign,default:"top"}}),__default__$11=defineComponent({name:"ElRow"}),_sfc_main$1C=defineComponent({...__default__$11,props:rowProps,setup(oe){const ie=oe,le=useNamespace("row"),ue=computed(()=>ie.gutter);provide(rowContextKey,{gutter:ue});const de=computed(()=>{const he={};return ie.gutter&&(he.marginRight=he.marginLeft=`-${ie.gutter/2}px`),he}),pe=computed(()=>[le.b(),le.is(`justify-${ie.justify}`,ie.justify!=="start"),le.is(`align-${ie.align}`,ie.align!=="top")]);return(he,_e)=>(openBlock(),createBlock(resolveDynamicComponent(he.tag),{class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(de))},{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({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:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$10=defineComponent({name:"ElCol"}),_sfc_main$1B=defineComponent({...__default__$10,props:colProps,setup(oe){const ie=oe,{gutter:le}=inject(rowContextKey,{gutter:computed(()=>0)}),ue=useNamespace("col"),de=computed(()=>{const he={};return le.value&&(he.paddingLeft=he.paddingRight=`${le.value/2}px`),he}),pe=computed(()=>{const he=[];return["span","offset","pull","push"].forEach(Ie=>{const Ve=ie[Ie];isNumber$4(Ve)&&(Ie==="span"?he.push(ue.b(`${ie[Ie]}`)):Ve>0&&he.push(ue.b(`${Ie}-${ie[Ie]}`)))}),["xs","sm","md","lg","xl"].forEach(Ie=>{isNumber$4(ie[Ie])?he.push(ue.b(`${Ie}-${ie[Ie]}`)):isObject$9(ie[Ie])&&Object.entries(ie[Ie]).forEach(([Ve,Fe])=>{he.push(Ve!=="span"?ue.b(`${Ie}-${Ve}-${Fe}`):ue.b(`${Ie}-${Fe}`))})}),le.value&&he.push(ue.is("guttered")),[ue.b(),he]});return(he,_e)=>(openBlock(),createBlock(resolveDynamicComponent(he.tag),{class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(de))},{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=oe=>typeof isNumber$4(oe),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(oe,ie)=>{const le=ref(castArray$1(oe.modelValue)),ue=pe=>{le.value=pe;const he=oe.accordion?le.value[0]:le.value;ie(UPDATE_MODEL_EVENT,he),ie(CHANGE_EVENT,he)},de=pe=>{if(oe.accordion)ue([le.value[0]===pe?"":pe]);else{const he=[...le.value],_e=he.indexOf(pe);_e>-1?he.splice(_e,1):he.push(pe),ue(he)}};return watch(()=>oe.modelValue,()=>le.value=castArray$1(oe.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:le,handleItemClick:de}),{activeNames:le,setActiveNames:ue}},useCollapseDOM=()=>{const oe=useNamespace("collapse");return{rootKls:computed(()=>oe.b())}},__default__$$=defineComponent({name:"ElCollapse"}),_sfc_main$1A=defineComponent({...__default__$$,props:collapseProps,emits:collapseEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,{activeNames:de,setActiveNames:pe}=useCollapse(ue,le),{rootKls:he}=useCollapseDOM();return ie({activeNames:de,setActiveNames:pe}),(_e,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(he)),role:"tablist","aria-multiselectable":"true"},[renderSlot(_e.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const __default__$_=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1z=defineComponent({...__default__$_,setup(oe){const ie=useNamespace("collapse-transition"),le={beforeEnter(ue){ue.dataset||(ue.dataset={}),ue.dataset.oldPaddingTop=ue.style.paddingTop,ue.dataset.oldPaddingBottom=ue.style.paddingBottom,ue.style.maxHeight=0,ue.style.paddingTop=0,ue.style.paddingBottom=0},enter(ue){ue.dataset.oldOverflow=ue.style.overflow,ue.scrollHeight!==0?(ue.style.maxHeight=`${ue.scrollHeight}px`,ue.style.paddingTop=ue.dataset.oldPaddingTop,ue.style.paddingBottom=ue.dataset.oldPaddingBottom):(ue.style.maxHeight=0,ue.style.paddingTop=ue.dataset.oldPaddingTop,ue.style.paddingBottom=ue.dataset.oldPaddingBottom),ue.style.overflow="hidden"},afterEnter(ue){ue.style.maxHeight="",ue.style.overflow=ue.dataset.oldOverflow},beforeLeave(ue){ue.dataset||(ue.dataset={}),ue.dataset.oldPaddingTop=ue.style.paddingTop,ue.dataset.oldPaddingBottom=ue.style.paddingBottom,ue.dataset.oldOverflow=ue.style.overflow,ue.style.maxHeight=`${ue.scrollHeight}px`,ue.style.overflow="hidden"},leave(ue){ue.scrollHeight!==0&&(ue.style.maxHeight=0,ue.style.paddingTop=0,ue.style.paddingBottom=0)},afterLeave(ue){ue.style.maxHeight="",ue.style.overflow=ue.dataset.oldOverflow,ue.style.paddingTop=ue.dataset.oldPaddingTop,ue.style.paddingBottom=ue.dataset.oldPaddingBottom}};return(ue,de)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(ie).b()},toHandlers(le)),{default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);CollapseTransition.install=oe=>{oe.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:()=>generateId()},disabled:Boolean}),useCollapseItem=oe=>{const ie=inject(collapseContextKey),le=ref(!1),ue=ref(!1),de=ref(generateId()),pe=computed(()=>ie==null?void 0:ie.activeNames.value.includes(oe.name));return{focusing:le,id:de,isActive:pe,handleFocus:()=>{setTimeout(()=>{ue.value?ue.value=!1:le.value=!0},50)},handleHeaderClick:()=>{oe.disabled||(ie==null||ie.handleItemClick(oe.name),le.value=!1,ue.value=!0)},handleEnterClick:()=>{ie==null||ie.handleItemClick(oe.name)}}},useCollapseItemDOM=(oe,{focusing:ie,isActive:le,id:ue})=>{const de=useNamespace("collapse"),pe=computed(()=>[de.b("item"),de.is("active",unref(le)),de.is("disabled",oe.disabled)]),he=computed(()=>[de.be("item","header"),de.is("active",unref(le)),{focusing:unref(ie)&&!oe.disabled}]),_e=computed(()=>[de.be("item","arrow"),de.is("active",unref(le))]),$e=computed(()=>de.be("item","wrap")),Ie=computed(()=>de.be("item","content")),Ve=computed(()=>de.b(`content-${unref(ue)}`)),Fe=computed(()=>de.b(`head-${unref(ue)}`));return{arrowKls:_e,headKls:he,rootKls:pe,itemWrapperKls:$e,itemContentKls:Ie,scopedContentId:Ve,scopedHeadId:Fe}},_hoisted_1$O=["aria-expanded","aria-controls","aria-describedby"],_hoisted_2$x=["id","tabindex"],_hoisted_3$j=["id","aria-hidden","aria-labelledby"],__default__$Z=defineComponent({name:"ElCollapseItem"}),_sfc_main$1y=defineComponent({...__default__$Z,props:collapseItemProps,setup(oe,{expose:ie}){const le=oe,{focusing:ue,id:de,isActive:pe,handleFocus:he,handleHeaderClick:_e,handleEnterClick:$e}=useCollapseItem(le),{arrowKls:Ie,headKls:Ve,rootKls:Fe,itemWrapperKls:Ue,itemContentKls:qe,scopedContentId:Et,scopedHeadId:At}=useCollapseItemDOM(le,{focusing:ue,isActive:pe,id:de});return ie({isActive:pe}),(Lt,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe))},[createBaseVNode("div",{role:"tab","aria-expanded":unref(pe),"aria-controls":unref(Et),"aria-describedby":unref(Et)},[createBaseVNode("div",{id:unref(At),class:normalizeClass(unref(Ve)),role:"button",tabindex:Lt.disabled?-1:0,onClick:hn[0]||(hn[0]=(...vn)=>unref(_e)&&unref(_e)(...vn)),onKeypress:hn[1]||(hn[1]=withKeys(withModifiers((...vn)=>unref($e)&&unref($e)(...vn),["stop","prevent"]),["space","enter"])),onFocus:hn[2]||(hn[2]=(...vn)=>unref(he)&&unref(he)(...vn)),onBlur:hn[3]||(hn[3]=vn=>ue.value=!1)},[renderSlot(Lt.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Lt.title),1)]),createVNode(unref(ElIcon),{class:normalizeClass(unref(Ie))},{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_2$x)],8,_hoisted_1$O),createVNode(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(Et),class:normalizeClass(unref(Ue)),role:"tabpanel","aria-hidden":!unref(pe),"aria-labelledby":unref(At)},[createBaseVNode("div",{class:normalizeClass(unref(qe))},[renderSlot(Lt.$slots,"default")],2)],10,_hoisted_3$j),[[vShow,unref(pe)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(oe,ie){if(!isClient$1)return;const le=function(pe){var he;(he=ie.drag)==null||he.call(ie,pe)},ue=function(pe){var he;document.removeEventListener("mousemove",le),document.removeEventListener("mouseup",ue),document.removeEventListener("touchmove",le),document.removeEventListener("touchend",ue),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(he=ie.end)==null||he.call(ie,pe)},de=function(pe){var he;isDragging||(pe.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",le),document.addEventListener("mouseup",ue),document.addEventListener("touchmove",le),document.addEventListener("touchend",ue),isDragging=!0,(he=ie.start)==null||he.call(ie,pe))};oe.addEventListener("mousedown",de),oe.addEventListener("touchstart",de)}const useAlphaSlider=oe=>{const ie=getCurrentInstance(),le=shallowRef(),ue=shallowRef();function de(he){he.target!==le.value&&pe(he)}function pe(he){if(!ue.value||!le.value)return;const $e=ie.vnode.el.getBoundingClientRect(),{clientX:Ie,clientY:Ve}=getClientXY(he);if(oe.vertical){let Fe=Ve-$e.top;Fe=Math.max(le.value.offsetHeight/2,Fe),Fe=Math.min(Fe,$e.height-le.value.offsetHeight/2),oe.color.set("alpha",Math.round((Fe-le.value.offsetHeight/2)/($e.height-le.value.offsetHeight)*100))}else{let Fe=Ie-$e.left;Fe=Math.max(le.value.offsetWidth/2,Fe),Fe=Math.min(Fe,$e.width-le.value.offsetWidth/2),oe.color.set("alpha",Math.round((Fe-le.value.offsetWidth/2)/($e.width-le.value.offsetWidth)*100))}}return{thumb:le,bar:ue,handleDrag:pe,handleClick:de}},useAlphaSliderDOM=(oe,{bar:ie,thumb:le,handleDrag:ue})=>{const de=getCurrentInstance(),pe=useNamespace("color-alpha-slider"),he=ref(0),_e=ref(0),$e=ref();function Ie(){if(!le.value||oe.vertical)return 0;const vn=de.vnode.el,_n=oe.color.get("alpha");return vn?Math.round(_n*(vn.offsetWidth-le.value.offsetWidth/2)/100):0}function Ve(){if(!le.value)return 0;const vn=de.vnode.el;if(!oe.vertical)return 0;const _n=oe.color.get("alpha");return vn?Math.round(_n*(vn.offsetHeight-le.value.offsetHeight/2)/100):0}function Fe(){if(oe.color&&oe.color.value){const{r:vn,g:_n,b:bn}=oe.color.toRgb();return`linear-gradient(to right, rgba(${vn}, ${_n}, ${bn}, 0) 0%, rgba(${vn}, ${_n}, ${bn}, 1) 100%)`}return""}function Ue(){he.value=Ie(),_e.value=Ve(),$e.value=Fe()}onMounted(()=>{if(!ie.value||!le.value)return;const vn={drag:_n=>{ue(_n)},end:_n=>{ue(_n)}};draggable(ie.value,vn),draggable(le.value,vn),Ue()}),watch(()=>oe.color.get("alpha"),()=>Ue()),watch(()=>oe.color.value,()=>Ue());const qe=computed(()=>[pe.b(),pe.is("vertical",oe.vertical)]),Et=computed(()=>pe.e("bar")),At=computed(()=>pe.e("thumb")),Lt=computed(()=>({background:$e.value})),hn=computed(()=>({left:addUnit(he.value),top:addUnit(_e.value)}));return{rootKls:qe,barKls:Et,barStyle:Lt,thumbKls:At,thumbStyle:hn,update:Ue}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$Y=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1x=defineComponent({...__default__$Y,props:alphaSliderProps,setup(oe,{expose:ie}){const le=oe,{bar:ue,thumb:de,handleDrag:pe,handleClick:he}=useAlphaSlider(le),{rootKls:_e,barKls:$e,barStyle:Ie,thumbKls:Ve,thumbStyle:Fe,update:Ue}=useAlphaSliderDOM(le,{bar:ue,thumb:de,handleDrag:pe});return ie({update:Ue,bar:ue,thumb:de}),(qe,Et)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_e))},[createBaseVNode("div",{ref_key:"bar",ref:ue,class:normalizeClass(unref($e)),style:normalizeStyle$1(unref(Ie)),onClick:Et[0]||(Et[0]=(...At)=>unref(he)&&unref(he)(...At))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:de,class:normalizeClass(unref(Ve)),style:normalizeStyle$1(unref(Fe))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const _sfc_main$1w=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(oe){const ie=useNamespace("color-hue-slider"),le=getCurrentInstance(),ue=ref(),de=ref(),pe=ref(0),he=ref(0),_e=computed(()=>oe.color.get("hue"));watch(()=>_e.value,()=>{Ue()});function $e(qe){qe.target!==ue.value&&Ie(qe)}function Ie(qe){if(!de.value||!ue.value)return;const At=le.vnode.el.getBoundingClientRect(),{clientX:Lt,clientY:hn}=getClientXY(qe);let vn;if(oe.vertical){let _n=hn-At.top;_n=Math.min(_n,At.height-ue.value.offsetHeight/2),_n=Math.max(ue.value.offsetHeight/2,_n),vn=Math.round((_n-ue.value.offsetHeight/2)/(At.height-ue.value.offsetHeight)*360)}else{let _n=Lt-At.left;_n=Math.min(_n,At.width-ue.value.offsetWidth/2),_n=Math.max(ue.value.offsetWidth/2,_n),vn=Math.round((_n-ue.value.offsetWidth/2)/(At.width-ue.value.offsetWidth)*360)}oe.color.set("hue",vn)}function Ve(){if(!ue.value)return 0;const qe=le.vnode.el;if(oe.vertical)return 0;const Et=oe.color.get("hue");return qe?Math.round(Et*(qe.offsetWidth-ue.value.offsetWidth/2)/360):0}function Fe(){if(!ue.value)return 0;const qe=le.vnode.el;if(!oe.vertical)return 0;const Et=oe.color.get("hue");return qe?Math.round(Et*(qe.offsetHeight-ue.value.offsetHeight/2)/360):0}function Ue(){pe.value=Ve(),he.value=Fe()}return onMounted(()=>{if(!de.value||!ue.value)return;const qe={drag:Et=>{Ie(Et)},end:Et=>{Ie(Et)}};draggable(de.value,qe),draggable(ue.value,qe),Ue()}),{bar:de,thumb:ue,thumbLeft:pe,thumbTop:he,hueValue:_e,handleClick:$e,update:Ue,ns:ie}}});function _sfc_render$s(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("div",{class:normalizeClass([oe.ns.b(),oe.ns.is("vertical",oe.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(oe.ns.e("bar")),onClick:ie[0]||(ie[0]=(...he)=>oe.handleClick&&oe.handleClick(...he))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(oe.ns.e("thumb")),style:normalizeStyle$1({left:oe.thumbLeft+"px",top:oe.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1w,[["render",_sfc_render$s],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0}}),colorPickerEmits={[UPDATE_MODEL_EVENT]:oe=>isString$6(oe)||isNil(oe),[CHANGE_EVENT]:oe=>isString$6(oe)||isNil(oe),activeChange:oe=>isString$6(oe)||isNil(oe)},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(oe,ie,le){return[oe,ie*le/((oe=(2-ie)*le)<1?oe:2-oe)||0,oe/2]},isOnePointZero=function(oe){return typeof oe=="string"&&oe.includes(".")&&Number.parseFloat(oe)===1},isPercentage=function(oe){return typeof oe=="string"&&oe.includes("%")},bound01=function(oe,ie){isOnePointZero(oe)&&(oe="100%");const le=isPercentage(oe);return oe=Math.min(ie,Math.max(0,Number.parseFloat(`${oe}`))),le&&(oe=Number.parseInt(`${oe*ie}`,10)/100),Math.abs(oe-ie)<1e-6?1:oe%ie/Number.parseFloat(ie)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=oe=>{oe=Math.min(Math.round(oe),255);const ie=Math.floor(oe/16),le=oe%16;return`${INT_HEX_MAP[ie]||ie}${INT_HEX_MAP[le]||le}`},toHex$1=function({r:oe,g:ie,b:le}){return Number.isNaN(+oe)||Number.isNaN(+ie)||Number.isNaN(+le)?"":`#${hexOne(oe)}${hexOne(ie)}${hexOne(le)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(oe){return oe.length===2?(HEX_INT_MAP[oe[0].toUpperCase()]||+oe[0])*16+(HEX_INT_MAP[oe[1].toUpperCase()]||+oe[1]):HEX_INT_MAP[oe[1].toUpperCase()]||+oe[1]},hsl2hsv=function(oe,ie,le){ie=ie/100,le=le/100;let ue=ie;const de=Math.max(le,.01);le*=2,ie*=le<=1?le:2-le,ue*=de<=1?de:2-de;const pe=(le+ie)/2,he=le===0?2*ue/(de+ue):2*ie/(le+ie);return{h:oe,s:he*100,v:pe*100}},rgb2hsv=(oe,ie,le)=>{oe=bound01(oe,255),ie=bound01(ie,255),le=bound01(le,255);const ue=Math.max(oe,ie,le),de=Math.min(oe,ie,le);let pe;const he=ue,_e=ue-de,$e=ue===0?0:_e/ue;if(ue===de)pe=0;else{switch(ue){case oe:{pe=(ie-le)/_e+(ie<le?6:0);break}case ie:{pe=(le-oe)/_e+2;break}case le:{pe=(oe-ie)/_e+4;break}}pe/=6}return{h:pe*360,s:$e*100,v:he*100}},hsv2rgb=function(oe,ie,le){oe=bound01(oe,360)*6,ie=bound01(ie,100),le=bound01(le,100);const ue=Math.floor(oe),de=oe-ue,pe=le*(1-ie),he=le*(1-de*ie),_e=le*(1-(1-de)*ie),$e=ue%6,Ie=[le,he,pe,pe,_e,le][$e],Ve=[_e,le,le,he,pe,pe][$e],Fe=[pe,pe,_e,le,le,he][$e];return{r:Math.round(Ie*255),g:Math.round(Ve*255),b:Math.round(Fe*255)}};class Color{constructor(ie={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const le in ie)hasOwn$4(ie,le)&&(this[le]=ie[le]);ie.value?this.fromString(ie.value):this.doOnChange()}set(ie,le){if(arguments.length===1&&typeof ie=="object"){for(const ue in ie)hasOwn$4(ie,ue)&&this.set(ue,ie[ue]);return}this[`_${ie}`]=le,this.doOnChange()}get(ie){return ie==="alpha"?Math.floor(this[`_${ie}`]):this[`_${ie}`]}toRgb(){return hsv2rgb(this._hue,this._saturation,this._value)}fromString(ie){if(!ie){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const le=(ue,de,pe)=>{this._hue=Math.max(0,Math.min(360,ue)),this._saturation=Math.max(0,Math.min(100,de)),this._value=Math.max(0,Math.min(100,pe)),this.doOnChange()};if(ie.includes("hsl")){const ue=ie.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(de=>de!=="").map((de,pe)=>pe>2?Number.parseFloat(de):Number.parseInt(de,10));if(ue.length===4?this._alpha=Number.parseFloat(ue[3])*100:ue.length===3&&(this._alpha=100),ue.length>=3){const{h:de,s:pe,v:he}=hsl2hsv(ue[0],ue[1],ue[2]);le(de,pe,he)}}else if(ie.includes("hsv")){const ue=ie.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(de=>de!=="").map((de,pe)=>pe>2?Number.parseFloat(de):Number.parseInt(de,10));ue.length===4?this._alpha=Number.parseFloat(ue[3])*100:ue.length===3&&(this._alpha=100),ue.length>=3&&le(ue[0],ue[1],ue[2])}else if(ie.includes("rgb")){const ue=ie.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(de=>de!=="").map((de,pe)=>pe>2?Number.parseFloat(de):Number.parseInt(de,10));if(ue.length===4?this._alpha=Number.parseFloat(ue[3])*100:ue.length===3&&(this._alpha=100),ue.length>=3){const{h:de,s:pe,v:he}=rgb2hsv(ue[0],ue[1],ue[2]);le(de,pe,he)}}else if(ie.includes("#")){const ue=ie.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(ue))return;let de,pe,he;ue.length===3?(de=parseHexChannel(ue[0]+ue[0]),pe=parseHexChannel(ue[1]+ue[1]),he=parseHexChannel(ue[2]+ue[2])):(ue.length===6||ue.length===8)&&(de=parseHexChannel(ue.slice(0,2)),pe=parseHexChannel(ue.slice(2,4)),he=parseHexChannel(ue.slice(4,6))),ue.length===8?this._alpha=parseHexChannel(ue.slice(6))/255*100:(ue.length===3||ue.length===6)&&(this._alpha=100);const{h:_e,s:$e,v:Ie}=rgb2hsv(de,pe,he);le(_e,$e,Ie)}}compare(ie){return Math.abs(ie._hue-this._hue)<2&&Math.abs(ie._saturation-this._saturation)<1&&Math.abs(ie._value-this._value)<1&&Math.abs(ie._alpha-this._alpha)<1}doOnChange(){const{_hue:ie,_saturation:le,_value:ue,_alpha:de,format:pe}=this;if(this.enableAlpha)switch(pe){case"hsl":{const he=hsv2hsl(ie,le/100,ue/100);this.value=`hsla(${ie}, ${Math.round(he[1]*100)}%, ${Math.round(he[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${ie}, ${Math.round(le)}%, ${Math.round(ue)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex$1(hsv2rgb(ie,le,ue))}${hexOne(de*255/100)}`;break}default:{const{r:he,g:_e,b:$e}=hsv2rgb(ie,le,ue);this.value=`rgba(${he}, ${_e}, ${$e}, ${this.get("alpha")/100})`}}else switch(pe){case"hsl":{const he=hsv2hsl(ie,le/100,ue/100);this.value=`hsl(${ie}, ${Math.round(he[1]*100)}%, ${Math.round(he[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${ie}, ${Math.round(le)}%, ${Math.round(ue)}%)`;break}case"rgb":{const{r:he,g:_e,b:$e}=hsv2rgb(ie,le,ue);this.value=`rgb(${he}, ${_e}, ${$e})`;break}default:this.value=toHex$1(hsv2rgb(ie,le,ue))}}}const _sfc_main$1v=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(oe){const ie=useNamespace("color-predefine"),{currentColor:le}=inject(colorPickerContextKey),ue=ref(pe(oe.colors,oe.color));watch(()=>le.value,he=>{const _e=new Color;_e.fromString(he),ue.value.forEach($e=>{$e.selected=_e.compare($e)})}),watchEffect(()=>{ue.value=pe(oe.colors,oe.color)});function de(he){oe.color.fromString(oe.colors[he])}function pe(he,_e){return he.map($e=>{const Ie=new Color;return Ie.enableAlpha=!0,Ie.format="rgba",Ie.fromString($e),Ie.selected=Ie.value===_e.value,Ie})}return{rgbaColors:ue,handleSelect:de,ns:ie}}}),_hoisted_1$N=["onClick"];function _sfc_render$r(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("div",{class:normalizeClass(oe.ns.b())},[createBaseVNode("div",{class:normalizeClass(oe.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.rgbaColors,(he,_e)=>(openBlock(),createElementBlock("div",{key:oe.colors[_e],class:normalizeClass([oe.ns.e("color-selector"),oe.ns.is("alpha",he._alpha<100),{selected:he.selected}]),onClick:$e=>oe.handleSelect(_e)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:he.value})},null,4)],10,_hoisted_1$N))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1v,[["render",_sfc_render$r],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const _sfc_main$1u=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(oe){const ie=useNamespace("color-svpanel"),le=getCurrentInstance(),ue=ref(0),de=ref(0),pe=ref("hsl(0, 100%, 50%)"),he=computed(()=>{const Ie=oe.color.get("hue"),Ve=oe.color.get("value");return{hue:Ie,value:Ve}});function _e(){const Ie=oe.color.get("saturation"),Ve=oe.color.get("value"),Fe=le.vnode.el,{clientWidth:Ue,clientHeight:qe}=Fe;de.value=Ie*Ue/100,ue.value=(100-Ve)*qe/100,pe.value=`hsl(${oe.color.get("hue")}, 100%, 50%)`}function $e(Ie){const Fe=le.vnode.el.getBoundingClientRect(),{clientX:Ue,clientY:qe}=getClientXY(Ie);let Et=Ue-Fe.left,At=qe-Fe.top;Et=Math.max(0,Et),Et=Math.min(Et,Fe.width),At=Math.max(0,At),At=Math.min(At,Fe.height),de.value=Et,ue.value=At,oe.color.set({saturation:Et/Fe.width*100,value:100-At/Fe.height*100})}return watch(()=>he.value,()=>{_e()}),onMounted(()=>{draggable(le.vnode.el,{drag:Ie=>{$e(Ie)},end:Ie=>{$e(Ie)}}),_e()}),{cursorTop:ue,cursorLeft:de,background:pe,colorValue:he,handleDrag:$e,update:_e,ns:ie}}}),_hoisted_1$M=createBaseVNode("div",null,null,-1),_hoisted_2$w=[_hoisted_1$M];function _sfc_render$q(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("div",{class:normalizeClass(oe.ns.b()),style:normalizeStyle$1({backgroundColor:oe.background})},[createBaseVNode("div",{class:normalizeClass(oe.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(oe.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(oe.ns.e("cursor")),style:normalizeStyle$1({top:oe.cursorTop+"px",left:oe.cursorLeft+"px"})},_hoisted_2$w,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1u,[["render",_sfc_render$q],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const _hoisted_1$L=["id","aria-label","aria-labelledby","aria-description","tabindex","onKeydown"],__default__$X=defineComponent({name:"ElColorPicker"}),_sfc_main$1t=defineComponent({...__default__$X,props:colorPickerProps,emits:colorPickerEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,{t:de}=useLocale(),pe=useNamespace("color"),{formItem:he}=useFormItem(),_e=useFormSize(),$e=useFormDisabled(),{inputId:Ie,isLabeledByFormItem:Ve}=useFormItemInputId(ue,{formItemContext:he}),Fe=ref(),Ue=ref(),qe=ref(),Et=ref();let At=!0;const Lt=reactive(new Color({enableAlpha:ue.showAlpha,format:ue.colorFormat||"",value:ue.modelValue})),hn=ref(!1),vn=ref(!1),_n=ref(""),bn=computed(()=>!ue.modelValue&&!vn.value?"transparent":xn(Lt,ue.showAlpha)),Sn=computed(()=>!ue.modelValue&&!vn.value?"":Lt.value),Cn=computed(()=>Ve.value?void 0:ue.label||de("el.colorpicker.defaultLabel")),En=computed(()=>Ve.value?he==null?void 0:he.labelId:void 0),wn=computed(()=>[pe.b("picker"),pe.is("disabled",$e.value),pe.bm("picker",_e.value)]);function xn(Ln,jn){if(!(Ln instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:Zn,g:Gn,b:Jn}=Ln.toRgb();return jn?`rgba(${Zn}, ${Gn}, ${Jn}, ${Ln.get("alpha")/100})`:`rgb(${Zn}, ${Gn}, ${Jn})`}function kn(Ln){hn.value=Ln}const Pn=debounce(kn,100);function An(){$e.value||kn(!0)}function In(){Pn(!1),Nn()}function Nn(){nextTick(()=>{ue.modelValue?Lt.fromString(ue.modelValue):(Lt.value="",nextTick(()=>{vn.value=!1}))})}function Un(){$e.value||Pn(!hn.value)}function Vn(){Lt.fromString(_n.value)}function Mn(){const Ln=Lt.value;le(UPDATE_MODEL_EVENT,Ln),le("change",Ln),ue.validateEvent&&(he==null||he.validate("change").catch(jn=>void 0)),Pn(!1),nextTick(()=>{const jn=new Color({enableAlpha:ue.showAlpha,format:ue.colorFormat||"",value:ue.modelValue});Lt.compare(jn)||Nn()})}function Fn(){Pn(!1),le(UPDATE_MODEL_EVENT,null),le("change",null),ue.modelValue!==null&&ue.validateEvent&&(he==null||he.validate("change").catch(Ln=>void 0)),Nn()}return onMounted(()=>{ue.modelValue&&(_n.value=Sn.value)}),watch(()=>ue.modelValue,Ln=>{Ln?Ln&&Ln!==Lt.value&&(At=!1,Lt.fromString(Ln)):vn.value=!1}),watch(()=>Sn.value,Ln=>{_n.value=Ln,At&&le("activeChange",Ln),At=!0}),watch(()=>Lt.value,()=>{!ue.modelValue&&!vn.value&&(vn.value=!0)}),watch(()=>hn.value,()=>{nextTick(()=>{var Ln,jn,Zn;(Ln=Fe.value)==null||Ln.update(),(jn=Ue.value)==null||jn.update(),(Zn=qe.value)==null||Zn.update()})}),provide(colorPickerContextKey,{currentColor:Sn}),ie({color:Lt,show:An,hide:In}),(Ln,jn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:Et,visible:hn.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(pe).be("picker","panel"),unref(pe).b("dropdown"),Ln.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${unref(pe).namespace.value}-zoom-in-top`,persistent:""},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",null,[createBaseVNode("div",{class:normalizeClass(unref(pe).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:Fe,class:"hue-slider",color:unref(Lt),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref:"svPanel",color:unref(Lt)},null,8,["color"])],2),Ln.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:qe,color:unref(Lt)},null,8,["color"])):createCommentVNode("v-if",!0),Ln.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(Lt),colors:Ln.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(pe).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(pe).be("dropdown","value"))},[createVNode(unref(ElInput),{modelValue:_n.value,"onUpdate:modelValue":jn[0]||(jn[0]=Zn=>_n.value=Zn),"validate-event":!1,size:"small",onKeyup:withKeys(Vn,["enter"]),onBlur:Vn},null,8,["modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(pe).be("dropdown","link-btn")),text:"",size:"small",onClick:Fn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(de)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(pe).be("dropdown","btn")),onClick:Mn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(de)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)])),[[unref(ClickOutside),In]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(Ie),class:normalizeClass(unref(wn)),role:"button","aria-label":unref(Cn),"aria-labelledby":unref(En),"aria-description":unref(de)("el.colorpicker.description",{color:Ln.modelValue||""}),tabindex:Ln.tabindex,onKeydown:withKeys(Un,["enter"])},[unref($e)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(pe).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(pe).be("picker","trigger")),onClick:Un},[createBaseVNode("span",{class:normalizeClass([unref(pe).be("picker","color"),unref(pe).is("alpha",Ln.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(pe).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(bn)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(pe).be("picker","icon"),unref(pe).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,Ln.modelValue||vn.value]]),!Ln.modelValue&&!vn.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(pe).be("picker","empty"),unref(pe).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)],2)],2)],42,_hoisted_1$L)]),_:1},8,["visible","popper-class","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$W=defineComponent({name:"ElContainer"}),_sfc_main$1s=defineComponent({...__default__$W,props:{direction:{type:String}},setup(oe){const ie=oe,le=useSlots(),ue=useNamespace("container"),de=computed(()=>ie.direction==="vertical"?!0:ie.direction==="horizontal"?!1:le&&le.default?le.default().some(he=>{const _e=he.type.name;return _e==="ElHeader"||_e==="ElFooter"}):!1);return(pe,he)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(ue).b(),unref(ue).is("vertical",unref(de))])},[renderSlot(pe.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$V=defineComponent({name:"ElAside"}),_sfc_main$1r=defineComponent({...__default__$V,props:{width:{type:String,default:null}},setup(oe){const ie=oe,le=useNamespace("aside"),ue=computed(()=>ie.width?le.cssVarBlock({width:ie.width}):{});return(de,pe)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(le).b()),style:normalizeStyle$1(unref(ue))},[renderSlot(de.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$U=defineComponent({name:"ElFooter"}),_sfc_main$1q=defineComponent({...__default__$U,props:{height:{type:String,default:null}},setup(oe){const ie=oe,le=useNamespace("footer"),ue=computed(()=>ie.height?le.cssVarBlock({height:ie.height}):{});return(de,pe)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(le).b()),style:normalizeStyle$1(unref(ue))},[renderSlot(de.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$T=defineComponent({name:"ElHeader"}),_sfc_main$1p=defineComponent({...__default__$T,props:{height:{type:String,default:null}},setup(oe){const ie=oe,le=useNamespace("header"),ue=computed(()=>ie.height?le.cssVarBlock({height:ie.height}):{});return(de,pe)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(le).b()),style:normalizeStyle$1(unref(ue))},[renderSlot(de.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$S=defineComponent({name:"ElMain"}),_sfc_main$1o=defineComponent({...__default__$S,setup(oe){const ie=useNamespace("main");return(le,ue)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(ie).b())},[renderSlot(le.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){return function(le,ue){var de=ue.prototype,pe=de.format;de.format=function(he){var _e=this,$e=this.$locale();if(!this.isValid())return pe.bind(this)(he);var Ie=this.$utils(),Ve=(he||"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(Fe){switch(Fe){case"Q":return Math.ceil((_e.$M+1)/3);case"Do":return $e.ordinal(_e.$D);case"gggg":return _e.weekYear();case"GGGG":return _e.isoWeekYear();case"wo":return $e.ordinal(_e.week(),"W");case"w":case"ww":return Ie.s(_e.week(),Fe==="w"?1:2,"0");case"W":case"WW":return Ie.s(_e.isoWeek(),Fe==="W"?1:2,"0");case"k":case"kk":return Ie.s(String(_e.$H===0?24:_e.$H),Fe==="k"?1:2,"0");case"X":return Math.floor(_e.$d.getTime()/1e3);case"x":return _e.$d.getTime();case"z":return"["+_e.offsetName()+"]";case"zzz":return"["+_e.offsetName("long")+"]";default:return Fe}});return pe.bind(this)(Ve)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){var le="week",ue="year";return function(de,pe,he){var _e=pe.prototype;_e.week=function($e){if($e===void 0&&($e=null),$e!==null)return this.add(7*($e-this.week()),"day");var Ie=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var Ve=he(this).startOf(ue).add(1,ue).date(Ie),Fe=he(this).endOf(le);if(Ve.isBefore(Fe))return 1}var Ue=he(this).startOf(ue).date(Ie).startOf(le).subtract(1,"millisecond"),qe=this.diff(Ue,le,!0);return qe<0?he(this).startOf("week").week():Math.ceil(qe)},_e.weeks=function($e){return $e===void 0&&($e=null),this.week($e)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){return function(le,ue){ue.prototype.weekYear=function(){var de=this.month(),pe=this.week(),he=this.year();return pe===1&&de===11?he+1:de===0&&pe>=52?he-1:he}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){return function(le,ue,de){ue.prototype.dayOfYear=function(pe){var he=Math.round((de(this).startOf("day")-de(this).startOf("year"))/864e5)+1;return pe==null?he:this.add(pe-he,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){return function(le,ue){ue.prototype.isSameOrAfter=function(de,pe){return this.isSame(de,pe)||this.isAfter(de,pe)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){return function(le,ue){ue.prototype.isSameOrBefore=function(de,pe){return this.isSame(de,pe)||this.isBefore(de,pe)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","month","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes}}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=oe=>({type:String,values:selectionModes,default:oe}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),isValidRange=oe=>{if(!isArray$c(oe))return!1;const[ie,le]=oe;return dayjs.isDayjs(ie)&&dayjs.isDayjs(le)&&ie.isSameOrBefore(le)},getDefaultValue=(oe,{lang:ie,unit:le,unlinkPanels:ue})=>{let de;if(isArray$c(oe)){let[pe,he]=oe.map(_e=>dayjs(_e).locale(ie));return ue||(he=pe.add(1,le)),[pe,he]}else oe?de=dayjs(oe):de=dayjs();return de=de.locale(ie),[de,de.add(1,le)]},buildPickerTable=(oe,ie,{columnIndexOffset:le,startDate:ue,nextEndDate:de,now:pe,unit:he,relativeDateGetter:_e,setCellMetadata:$e,setRowMetadata:Ie})=>{for(let Ve=0;Ve<oe.row;Ve++){const Fe=ie[Ve];for(let Ue=0;Ue<oe.column;Ue++){let qe=Fe[Ue+le];qe||(qe={row:Ve,column:Ue,type:"normal",inRange:!1,start:!1,end:!1});const Et=Ve*oe.column+Ue,At=_e(Et);qe.dayjs=At,qe.date=At.toDate(),qe.timestamp=At.valueOf(),qe.type="normal",qe.inRange=!!(ue&&At.isSameOrAfter(ue,he)&&de&&At.isSameOrBefore(de,he))||!!(ue&&At.isSameOrBefore(ue,he)&&de&&At.isSameOrAfter(de,he)),ue!=null&&ue.isSameOrAfter(de)?(qe.start=!!de&&At.isSame(de,he),qe.end=ue&&At.isSame(ue,he)):(qe.start=!!ue&&At.isSame(ue,he),qe.end=!!de&&At.isSame(de,he)),At.isSame(pe,he)&&(qe.type="today"),$e==null||$e(qe,{rowIndex:Ve,columnIndex:Ue}),Fe[Ue+le]=qe}Ie==null||Ie(Fe)}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(oe){const ie=useNamespace("date-table-cell"),{slots:le}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:ue}=oe;if(le.default){const de=le.default(ue).filter(pe=>pe.patchFlag!==-2&&pe.type.toString()!=="Symbol(Comment)");if(de.length)return de}return createVNode("div",{class:ie.b()},[createVNode("span",{class:ie.e("text")},[ue==null?void 0:ue.text])])}}});const _hoisted_1$K=["aria-label","onMousedown"],_hoisted_2$v={key:0,scope:"col"},_hoisted_3$i=["aria-label"],_hoisted_4$c=["aria-current","aria-selected","tabindex"],_sfc_main$1n=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:["changerange","pick","select"],setup(oe,{expose:ie,emit:le}){const ue=oe,de=useNamespace("date-table"),{t:pe,lang:he}=useLocale(),_e=ref(),$e=ref(),Ie=ref(),Ve=ref(),Fe=ref([[],[],[],[],[],[]]);let Ue=!1;const qe=ue.date.$locale().weekStart||7,Et=ue.date.locale("en").localeData().weekdaysShort().map(Gn=>Gn.toLowerCase()),At=computed(()=>qe>3?7-qe:-qe),Lt=computed(()=>{const Gn=ue.date.startOf("month");return Gn.subtract(Gn.day()||7,"day")}),hn=computed(()=>Et.concat(Et).slice(qe,qe+7)),vn=computed(()=>flatten(wn.value).some(Gn=>Gn.isCurrent)),_n=computed(()=>{const Gn=ue.date.startOf("month"),Jn=Gn.day()||7,lr=Gn.daysInMonth(),yr=Gn.subtract(1,"month").daysInMonth();return{startOfMonthDay:Jn,dateCountOfMonth:lr,dateCountOfLastMonth:yr}}),bn=computed(()=>ue.selectionMode==="dates"?castArray(ue.parsedValue):[]),Sn=(Gn,{count:Jn,rowIndex:lr,columnIndex:yr})=>{const{startOfMonthDay:ir,dateCountOfMonth:qn,dateCountOfLastMonth:Yn}=unref(_n),Xn=unref(At);if(lr>=0&&lr<=1){const or=ir+Xn<0?7+ir+Xn:ir+Xn;if(yr+lr*7>=or)return Gn.text=Jn,!0;Gn.text=Yn-(or-yr%7)+1+lr*7,Gn.type="prev-month"}else return Jn<=qn?Gn.text=Jn:(Gn.text=Jn-qn,Gn.type="next-month"),!0;return!1},Cn=(Gn,{columnIndex:Jn,rowIndex:lr},yr)=>{const{disabledDate:ir,cellClassName:qn}=ue,Yn=unref(bn),Xn=Sn(Gn,{count:yr,rowIndex:lr,columnIndex:Jn}),or=Gn.dayjs.toDate();return Gn.selected=Yn.find(_r=>_r.valueOf()===Gn.dayjs.valueOf()),Gn.isSelected=!!Gn.selected,Gn.isCurrent=Pn(Gn),Gn.disabled=ir==null?void 0:ir(or),Gn.customClass=qn==null?void 0:qn(or),Xn},En=Gn=>{if(ue.selectionMode==="week"){const[Jn,lr]=ue.showWeekNumber?[1,7]:[0,6],yr=Zn(Gn[Jn+1]);Gn[Jn].inRange=yr,Gn[Jn].start=yr,Gn[lr].inRange=yr,Gn[lr].end=yr}},wn=computed(()=>{const{minDate:Gn,maxDate:Jn,rangeState:lr,showWeekNumber:yr}=ue,ir=At.value,qn=Fe.value,Yn="day";let Xn=1;if(yr)for(let or=0;or<6;or++)qn[or][0]||(qn[or][0]={type:"week",text:Lt.value.add(or*7+1,Yn).week()});return buildPickerTable({row:6,column:7},qn,{startDate:Gn,columnIndexOffset:yr?1:0,nextEndDate:lr.endDate||Jn||lr.selecting&&Gn||null,now:dayjs().locale(unref(he)).startOf(Yn),unit:Yn,relativeDateGetter:or=>Lt.value.add(or-ir,Yn),setCellMetadata:(...or)=>{Cn(...or,Xn)&&(Xn+=1)},setRowMetadata:En}),qn});watch(()=>ue.date,async()=>{var Gn,Jn;(Gn=_e.value)!=null&&Gn.contains(document.activeElement)&&(await nextTick(),(Jn=$e.value)==null||Jn.focus())});const xn=async()=>{var Gn;(Gn=$e.value)==null||Gn.focus()},kn=(Gn="")=>["normal","today"].includes(Gn),Pn=Gn=>ue.selectionMode==="date"&&kn(Gn.type)&&An(Gn,ue.parsedValue),An=(Gn,Jn)=>Jn?dayjs(Jn).locale(he.value).isSame(ue.date.date(Number(Gn.text)),"day"):!1,In=Gn=>{const Jn=[];return kn(Gn.type)&&!Gn.disabled?(Jn.push("available"),Gn.type==="today"&&Jn.push("today")):Jn.push(Gn.type),Pn(Gn)&&Jn.push("current"),Gn.inRange&&(kn(Gn.type)||ue.selectionMode==="week")&&(Jn.push("in-range"),Gn.start&&Jn.push("start-date"),Gn.end&&Jn.push("end-date")),Gn.disabled&&Jn.push("disabled"),Gn.selected&&Jn.push("selected"),Gn.customClass&&Jn.push(Gn.customClass),Jn.join(" ")},Nn=(Gn,Jn)=>{const lr=Gn*7+(Jn-(ue.showWeekNumber?1:0))-At.value;return Lt.value.add(lr,"day")},Un=Gn=>{var Jn;if(!ue.rangeState.selecting)return;let lr=Gn.target;if(lr.tagName==="SPAN"&&(lr=(Jn=lr.parentNode)==null?void 0:Jn.parentNode),lr.tagName==="DIV"&&(lr=lr.parentNode),lr.tagName!=="TD")return;const yr=lr.parentNode.rowIndex-1,ir=lr.cellIndex;wn.value[yr][ir].disabled||(yr!==Ie.value||ir!==Ve.value)&&(Ie.value=yr,Ve.value=ir,le("changerange",{selecting:!0,endDate:Nn(yr,ir)}))},Vn=Gn=>!vn.value&&(Gn==null?void 0:Gn.text)===1&&Gn.type==="normal"||Gn.isCurrent,Mn=Gn=>{Ue||vn.value||ue.selectionMode!=="date"||jn(Gn,!0)},Fn=Gn=>{Gn.target.closest("td")&&(Ue=!0)},Ln=Gn=>{Gn.target.closest("td")&&(Ue=!1)},jn=(Gn,Jn=!1)=>{const lr=Gn.target.closest("td");if(!lr)return;const yr=lr.parentNode.rowIndex-1,ir=lr.cellIndex,qn=wn.value[yr][ir];if(qn.disabled||qn.type==="week")return;const Yn=Nn(yr,ir);if(ue.selectionMode==="range")!ue.rangeState.selecting||!ue.minDate?(le("pick",{minDate:Yn,maxDate:null}),le("select",!0)):(Yn>=ue.minDate?le("pick",{minDate:ue.minDate,maxDate:Yn}):le("pick",{minDate:Yn,maxDate:ue.minDate}),le("select",!1));else if(ue.selectionMode==="date")le("pick",Yn,Jn);else if(ue.selectionMode==="week"){const Xn=Yn.week(),or=`${Yn.year()}w${Xn}`;le("pick",{year:Yn.year(),week:Xn,value:or,date:Yn.startOf("week")})}else if(ue.selectionMode==="dates"){const Xn=qn.selected?castArray(ue.parsedValue).filter(or=>(or==null?void 0:or.valueOf())!==Yn.valueOf()):castArray(ue.parsedValue).concat([Yn]);le("pick",Xn)}},Zn=Gn=>{if(ue.selectionMode!=="week")return!1;let Jn=ue.date.startOf("day");if(Gn.type==="prev-month"&&(Jn=Jn.subtract(1,"month")),Gn.type==="next-month"&&(Jn=Jn.add(1,"month")),Jn=Jn.date(Number.parseInt(Gn.text,10)),ue.parsedValue&&!Array.isArray(ue.parsedValue)){const lr=(ue.parsedValue.day()-qe+7)%7-1;return ue.parsedValue.subtract(lr,"day").isSame(Jn,"day")}return!1};return ie({focus:xn}),(Gn,Jn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(pe)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:normalizeClass([unref(de).b(),{"is-week-mode":Gn.selectionMode==="week"}]),onClick:jn,onMousemove:Un,onMousedown:withModifiers(Fn,["prevent"]),onMouseup:Ln},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:_e},[createBaseVNode("tr",null,[Gn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$v,toDisplayString$1(unref(pe)("el.datepicker.week")),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(lr,yr)=>(openBlock(),createElementBlock("th",{key:yr,scope:"col","aria-label":unref(pe)("el.datepicker.weeksFull."+lr)},toDisplayString$1(unref(pe)("el.datepicker.weeks."+lr)),9,_hoisted_3$i))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),(lr,yr)=>(openBlock(),createElementBlock("tr",{key:yr,class:normalizeClass([unref(de).e("row"),{current:Zn(lr[1])}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(lr,(ir,qn)=>(openBlock(),createElementBlock("td",{key:`${yr}.${qn}`,ref_for:!0,ref:Yn=>Vn(ir)&&($e.value=Yn),class:normalizeClass(In(ir)),"aria-current":ir.isCurrent?"date":void 0,"aria-selected":ir.isCurrent,tabindex:Vn(ir)?0:-1,onFocus:Mn},[createVNode(unref(ElDatePickerCell),{cell:ir},null,8,["cell"])],42,_hoisted_4$c))),128))],2))),128))],512)],42,_hoisted_1$K))}});var DateTable=_export_sfc$1(_sfc_main$1n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$J=["aria-label"],_hoisted_2$u=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_sfc_main$1m=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(oe,{expose:ie,emit:le}){const ue=oe,de=(bn,Sn,Cn)=>{const En=dayjs().locale(Cn).startOf("month").month(Sn).year(bn),wn=En.daysInMonth();return rangeArr(wn).map(xn=>En.add(xn,"day").toDate())},pe=useNamespace("month-table"),{t:he,lang:_e}=useLocale(),$e=ref(),Ie=ref(),Ve=ref(ue.date.locale("en").localeData().monthsShort().map(bn=>bn.toLowerCase())),Fe=ref([[],[],[]]),Ue=ref(),qe=ref(),Et=computed(()=>{var bn,Sn;const Cn=Fe.value,En=dayjs().locale(_e.value).startOf("month");for(let wn=0;wn<3;wn++){const xn=Cn[wn];for(let kn=0;kn<4;kn++){const Pn=xn[kn]||(xn[kn]={row:wn,column:kn,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});Pn.type="normal";const An=wn*4+kn,In=ue.date.startOf("year").month(An),Nn=ue.rangeState.endDate||ue.maxDate||ue.rangeState.selecting&&ue.minDate||null;Pn.inRange=!!(ue.minDate&&In.isSameOrAfter(ue.minDate,"month")&&Nn&&In.isSameOrBefore(Nn,"month"))||!!(ue.minDate&&In.isSameOrBefore(ue.minDate,"month")&&Nn&&In.isSameOrAfter(Nn,"month")),(bn=ue.minDate)!=null&&bn.isSameOrAfter(Nn)?(Pn.start=!!(Nn&&In.isSame(Nn,"month")),Pn.end=ue.minDate&&In.isSame(ue.minDate,"month")):(Pn.start=!!(ue.minDate&&In.isSame(ue.minDate,"month")),Pn.end=!!(Nn&&In.isSame(Nn,"month"))),En.isSame(In)&&(Pn.type="today"),Pn.text=An,Pn.disabled=((Sn=ue.disabledDate)==null?void 0:Sn.call(ue,In.toDate()))||!1}}return Cn}),At=()=>{var bn;(bn=Ie.value)==null||bn.focus()},Lt=bn=>{const Sn={},Cn=ue.date.year(),En=new Date,wn=bn.text;return Sn.disabled=ue.disabledDate?de(Cn,wn,_e.value).every(ue.disabledDate):!1,Sn.current=castArray(ue.parsedValue).findIndex(xn=>dayjs.isDayjs(xn)&&xn.year()===Cn&&xn.month()===wn)>=0,Sn.today=En.getFullYear()===Cn&&En.getMonth()===wn,bn.inRange&&(Sn["in-range"]=!0,bn.start&&(Sn["start-date"]=!0),bn.end&&(Sn["end-date"]=!0)),Sn},hn=bn=>{const Sn=ue.date.year(),Cn=bn.text;return castArray(ue.date).findIndex(En=>En.year()===Sn&&En.month()===Cn)>=0},vn=bn=>{var Sn;if(!ue.rangeState.selecting)return;let Cn=bn.target;if(Cn.tagName==="A"&&(Cn=(Sn=Cn.parentNode)==null?void 0:Sn.parentNode),Cn.tagName==="DIV"&&(Cn=Cn.parentNode),Cn.tagName!=="TD")return;const En=Cn.parentNode.rowIndex,wn=Cn.cellIndex;Et.value[En][wn].disabled||(En!==Ue.value||wn!==qe.value)&&(Ue.value=En,qe.value=wn,le("changerange",{selecting:!0,endDate:ue.date.startOf("year").month(En*4+wn)}))},_n=bn=>{var Sn;const Cn=(Sn=bn.target)==null?void 0:Sn.closest("td");if((Cn==null?void 0:Cn.tagName)!=="TD"||hasClass(Cn,"disabled"))return;const En=Cn.cellIndex,xn=Cn.parentNode.rowIndex*4+En,kn=ue.date.startOf("year").month(xn);ue.selectionMode==="range"?ue.rangeState.selecting?(ue.minDate&&kn>=ue.minDate?le("pick",{minDate:ue.minDate,maxDate:kn}):le("pick",{minDate:kn,maxDate:ue.minDate}),le("select",!1)):(le("pick",{minDate:kn,maxDate:null}),le("select",!0)):le("pick",xn)};return watch(()=>ue.date,async()=>{var bn,Sn;(bn=$e.value)!=null&&bn.contains(document.activeElement)&&(await nextTick(),(Sn=Ie.value)==null||Sn.focus())}),ie({focus:At}),(bn,Sn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(he)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(pe).b()),onClick:_n,onMousemove:vn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:$e},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Et),(Cn,En)=>(openBlock(),createElementBlock("tr",{key:En},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Cn,(wn,xn)=>(openBlock(),createElementBlock("td",{key:xn,ref_for:!0,ref:kn=>hn(wn)&&(Ie.value=kn),class:normalizeClass(Lt(wn)),"aria-selected":`${hn(wn)}`,"aria-label":unref(he)(`el.datepicker.month${+wn.text+1}`),tabindex:hn(wn)?0:-1,onKeydown:[withKeys(withModifiers(_n,["prevent","stop"]),["space"]),withKeys(withModifiers(_n,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$h,toDisplayString$1(unref(he)("el.datepicker.months."+Ve.value[wn.text])),1)])],42,_hoisted_2$u))),128))]))),128))],512)],42,_hoisted_1$J))}});var MonthTable=_export_sfc$1(_sfc_main$1m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue}),_hoisted_1$I=["aria-label"],_hoisted_2$t=["aria-selected","tabindex","onKeydown"],_hoisted_3$g={class:"cell"},_hoisted_4$b={key:1},_sfc_main$1l=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(oe,{expose:ie,emit:le}){const ue=oe,de=(At,Lt)=>{const hn=dayjs(String(At)).locale(Lt).startOf("year"),_n=hn.endOf("year").dayOfYear();return rangeArr(_n).map(bn=>hn.add(bn,"day").toDate())},pe=useNamespace("year-table"),{t:he,lang:_e}=useLocale(),$e=ref(),Ie=ref(),Ve=computed(()=>Math.floor(ue.date.year()/10)*10),Fe=()=>{var At;(At=Ie.value)==null||At.focus()},Ue=At=>{const Lt={},hn=dayjs().locale(_e.value);return Lt.disabled=ue.disabledDate?de(At,_e.value).every(ue.disabledDate):!1,Lt.current=castArray(ue.parsedValue).findIndex(vn=>vn.year()===At)>=0,Lt.today=hn.year()===At,Lt},qe=At=>At===Ve.value&&ue.date.year()<Ve.value&&ue.date.year()>Ve.value+9||castArray(ue.date).findIndex(Lt=>Lt.year()===At)>=0,Et=At=>{const hn=At.target.closest("td");if(hn&&hn.textContent){if(hasClass(hn,"disabled"))return;const vn=hn.textContent||hn.innerText;le("pick",Number(vn))}};return watch(()=>ue.date,async()=>{var At,Lt;(At=$e.value)!=null&&At.contains(document.activeElement)&&(await nextTick(),(Lt=Ie.value)==null||Lt.focus())}),ie({focus:Fe}),(At,Lt)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(he)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(pe).b()),onClick:Et},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:$e},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(hn,vn)=>createBaseVNode("tr",{key:vn},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(_n,bn)=>(openBlock(),createElementBlock(Fragment,{key:vn+"_"+bn},[vn*4+bn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:Sn=>qe(unref(Ve)+vn*4+bn)&&(Ie.value=Sn),class:normalizeClass(["available",Ue(unref(Ve)+vn*4+bn)]),"aria-selected":`${qe(unref(Ve)+vn*4+bn)}`,tabindex:qe(unref(Ve)+vn*4+bn)?0:-1,onKeydown:[withKeys(withModifiers(Et,["prevent","stop"]),["space"]),withKeys(withModifiers(Et,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$g,toDisplayString$1(unref(Ve)+vn*4+bn),1)],42,_hoisted_2$t)):(openBlock(),createElementBlock("td",_hoisted_4$b))],64))),64))])),64))],512)],10,_hoisted_1$I))}});var YearTable=_export_sfc$1(_sfc_main$1l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$H=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$f=["aria-label"],_hoisted_4$a=["aria-label"],_hoisted_5$7=["aria-label"],_sfc_main$1k=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(oe,{emit:ie}){const le=oe,ue=($r,xr,dr)=>!0,de=useNamespace("picker-panel"),pe=useNamespace("date-picker"),he=useAttrs$1(),_e=useSlots(),{t:$e,lang:Ie}=useLocale(),Ve=inject("EP_PICKER_BASE"),Fe=inject(TOOLTIP_INJECTION_KEY),{shortcuts:Ue,disabledDate:qe,cellClassName:Et,defaultTime:At,arrowControl:Lt}=Ve.props,hn=toRef$1(Ve.props,"defaultValue"),vn=ref(),_n=ref(dayjs().locale(Ie.value)),bn=ref(!1),Sn=computed(()=>dayjs(At).locale(Ie.value)),Cn=computed(()=>_n.value.month()),En=computed(()=>_n.value.year()),wn=ref([]),xn=ref(null),kn=ref(null),Pn=$r=>wn.value.length>0?ue($r,wn.value,le.format||"HH:mm:ss"):!0,An=$r=>At&&!Kn.value&&!bn.value?Sn.value.year($r.year()).month($r.month()).date($r.date()):ir.value?$r.millisecond(0):$r.startOf("day"),In=($r,...xr)=>{if(!$r)ie("pick",$r,...xr);else if(isArray$c($r)){const dr=$r.map(An);ie("pick",dr,...xr)}else ie("pick",An($r),...xr);xn.value=null,kn.value=null,bn.value=!1},Nn=($r,xr)=>{if(jn.value==="date"){$r=$r;let dr=le.parsedValue?le.parsedValue.year($r.year()).month($r.month()).date($r.date()):$r;Pn(dr)||(dr=wn.value[0][0].year($r.year()).month($r.month()).date($r.date())),_n.value=dr,In(dr,ir.value||xr)}else jn.value==="week"?In($r.date):jn.value==="dates"&&In($r,!0)},Un=$r=>{const xr=$r?"add":"subtract";_n.value=_n.value[xr](1,"month"),Dr("month")},Vn=$r=>{const xr=_n.value,dr=$r?"add":"subtract";_n.value=Mn.value==="year"?xr[dr](10,"year"):xr[dr](1,"year"),Dr("year")},Mn=ref("date"),Fn=computed(()=>{const $r=$e("el.datepicker.year");if(Mn.value==="year"){const xr=Math.floor(En.value/10)*10;return $r?`${xr} ${$r} - ${xr+9} ${$r}`:`${xr} - ${xr+9}`}return`${En.value} ${$r}`}),Ln=$r=>{const xr=isFunction$5($r.value)?$r.value():$r.value;if(xr){In(dayjs(xr).locale(Ie.value));return}$r.onClick&&$r.onClick({attrs:he,slots:_e,emit:ie})},jn=computed(()=>{const{type:$r}=le;return["week","month","year","dates"].includes($r)?$r:"date"}),Zn=computed(()=>jn.value==="date"?Mn.value:jn.value),Gn=computed(()=>!!Ue.length),Jn=async $r=>{_n.value=_n.value.startOf("month").month($r),jn.value==="month"?In(_n.value,!1):(Mn.value="date",["month","year","date","week"].includes(jn.value)&&(In(_n.value,!0),await nextTick(),Or())),Dr("month")},lr=async $r=>{jn.value==="year"?(_n.value=_n.value.startOf("year").year($r),In(_n.value,!1)):(_n.value=_n.value.year($r),Mn.value="month",["month","year","date","week"].includes(jn.value)&&(In(_n.value,!0),await nextTick(),Or())),Dr("year")},yr=async $r=>{Mn.value=$r,await nextTick(),Or()},ir=computed(()=>le.type==="datetime"||le.type==="datetimerange"),qn=computed(()=>ir.value||jn.value==="dates"),Yn=()=>{if(jn.value==="dates")In(le.parsedValue);else{let $r=le.parsedValue;if(!$r){const xr=dayjs(At).locale(Ie.value),dr=pr();$r=xr.year(dr.year()).month(dr.month()).date(dr.date())}_n.value=$r,In($r)}},Xn=()=>{const xr=dayjs().locale(Ie.value).toDate();bn.value=!0,(!qe||!qe(xr))&&Pn(xr)&&(_n.value=dayjs().locale(Ie.value),In(_n.value))},or=computed(()=>extractTimeFormat(le.format)),_r=computed(()=>extractDateFormat(le.format)),Kn=computed(()=>{if(kn.value)return kn.value;if(!(!le.parsedValue&&!hn.value))return(le.parsedValue||_n.value).format(or.value)}),er=computed(()=>{if(xn.value)return xn.value;if(!(!le.parsedValue&&!hn.value))return(le.parsedValue||_n.value).format(_r.value)}),ar=ref(!1),gr=()=>{ar.value=!0},Er=()=>{ar.value=!1},cr=$r=>({hour:$r.hour(),minute:$r.minute(),second:$r.second(),year:$r.year(),month:$r.month(),date:$r.date()}),Ar=($r,xr,dr)=>{const{hour:Qn,minute:sr,second:wr}=cr($r),Ir=le.parsedValue?le.parsedValue.hour(Qn).minute(sr).second(wr):$r;_n.value=Ir,In(_n.value,!0),dr||(ar.value=xr)},br=$r=>{const xr=dayjs($r,or.value).locale(Ie.value);if(xr.isValid()&&Pn(xr)){const{year:dr,month:Qn,date:sr}=cr(_n.value);_n.value=xr.year(dr).month(Qn).date(sr),kn.value=null,ar.value=!1,In(_n.value,!0)}},kr=$r=>{const xr=dayjs($r,_r.value).locale(Ie.value);if(xr.isValid()){if(qe&&qe(xr.toDate()))return;const{hour:dr,minute:Qn,second:sr}=cr(_n.value);_n.value=xr.hour(dr).minute(Qn).second(sr),xn.value=null,In(_n.value,!0)}},mr=$r=>dayjs.isDayjs($r)&&$r.isValid()&&(qe?!qe($r.toDate()):!0),ur=$r=>jn.value==="dates"?$r.map(xr=>xr.format(le.format)):$r.format(le.format),fr=$r=>dayjs($r,le.format).locale(Ie.value),pr=()=>{const $r=dayjs(hn.value).locale(Ie.value);if(!hn.value){const xr=Sn.value;return dayjs().hour(xr.hour()).minute(xr.minute()).second(xr.second()).locale(Ie.value)}return $r},Or=async()=>{var $r;["week","month","year","date"].includes(jn.value)&&(($r=vn.value)==null||$r.focus(),jn.value==="week"&&Vr(EVENT_CODE.down))},Lr=$r=>{const{code:xr}=$r;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(xr)&&(Vr(xr),$r.stopPropagation(),$r.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(xr)&&xn.value===null&&kn.value===null&&($r.preventDefault(),In(_n.value,!1))},Vr=$r=>{var xr;const{up:dr,down:Qn,left:sr,right:wr,home:Ir,end:zr,pageUp:Cr,pageDown:Nr}=EVENT_CODE,Fr={year:{[dr]:-4,[Qn]:4,[sr]:-1,[wr]:1,offset:(Wr,qr)=>Wr.setFullYear(Wr.getFullYear()+qr)},month:{[dr]:-4,[Qn]:4,[sr]:-1,[wr]:1,offset:(Wr,qr)=>Wr.setMonth(Wr.getMonth()+qr)},week:{[dr]:-1,[Qn]:1,[sr]:-1,[wr]:1,offset:(Wr,qr)=>Wr.setDate(Wr.getDate()+qr*7)},date:{[dr]:-7,[Qn]:7,[sr]:-1,[wr]:1,[Ir]:Wr=>-Wr.getDay(),[zr]:Wr=>-Wr.getDay()+6,[Cr]:Wr=>-new Date(Wr.getFullYear(),Wr.getMonth(),0).getDate(),[Nr]:Wr=>new Date(Wr.getFullYear(),Wr.getMonth()+1,0).getDate(),offset:(Wr,qr)=>Wr.setDate(Wr.getDate()+qr)}},jr=_n.value.toDate();for(;Math.abs(_n.value.diff(jr,"year",!0))<1;){const Wr=Fr[Zn.value];if(!Wr)return;if(Wr.offset(jr,isFunction$5(Wr[$r])?Wr[$r](jr):(xr=Wr[$r])!=null?xr:0),qe&&qe(jr))break;const qr=dayjs(jr).locale(Ie.value);_n.value=qr,ie("pick",qr,!0);break}},Dr=$r=>{ie("panel-change",_n.value.toDate(),$r,Mn.value)};return watch(()=>jn.value,$r=>{if(["month","year"].includes($r)){Mn.value=$r;return}Mn.value="date"},{immediate:!0}),watch(()=>Mn.value,()=>{Fe==null||Fe.updatePopper()}),watch(()=>hn.value,$r=>{$r&&(_n.value=pr())},{immediate:!0}),watch(()=>le.parsedValue,$r=>{if($r){if(jn.value==="dates"||Array.isArray($r))return;_n.value=$r}else _n.value=pr()},{immediate:!0}),ie("set-picker-option",["isValidValue",mr]),ie("set-picker-option",["formatToString",ur]),ie("set-picker-option",["parseUserInput",fr]),ie("set-picker-option",["handleFocusPicker",Or]),($r,xr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(de).b(),unref(pe).b(),{"has-sidebar":$r.$slots.sidebar||unref(Gn),"has-time":unref(ir)}])},[createBaseVNode("div",{class:normalizeClass(unref(de).e("body-wrapper"))},[renderSlot($r.$slots,"sidebar",{class:normalizeClass(unref(de).e("sidebar"))}),unref(Gn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),(dr,Qn)=>(openBlock(),createElementBlock("button",{key:Qn,type:"button",class:normalizeClass(unref(de).e("shortcut")),onClick:sr=>Ln(dr)},toDisplayString$1(dr.text),11,_hoisted_1$H))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(de).e("body"))},[unref(ir)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(pe).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(pe).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref($e)("el.datepicker.selectDate"),"model-value":unref(er),size:"small","validate-event":!1,onInput:xr[0]||(xr[0]=dr=>xn.value=dr),onChange:kr},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(pe).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref($e)("el.datepicker.selectTime"),"model-value":unref(Kn),size:"small","validate-event":!1,onFocus:gr,onInput:xr[1]||(xr[1]=dr=>kn.value=dr),onChange:br},null,8,["placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:ar.value,format:unref(or),"time-arrow-control":unref(Lt),"parsed-value":_n.value,onPick:Ar},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),Er]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(pe).e("header"),(Mn.value==="year"||Mn.value==="month")&&unref(pe).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(pe).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref($e)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(de).e("icon-btn")]),onClick:xr[2]||(xr[2]=dr=>Vn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref($e)("el.datepicker.prevMonth"),class:normalizeClass([unref(de).e("icon-btn"),"arrow-left"]),onClick:xr[3]||(xr[3]=dr=>Un(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$f),[[vShow,Mn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(pe).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:xr[4]||(xr[4]=withKeys(dr=>yr("year"),["enter"])),onClick:xr[5]||(xr[5]=dr=>yr("year"))},toDisplayString$1(unref(Fn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(pe).e("header-label"),{active:Mn.value==="month"}]),onKeydown:xr[6]||(xr[6]=withKeys(dr=>yr("month"),["enter"])),onClick:xr[7]||(xr[7]=dr=>yr("month"))},toDisplayString$1(unref($e)(`el.datepicker.month${unref(Cn)+1}`)),35),[[vShow,Mn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(pe).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref($e)("el.datepicker.nextMonth"),class:normalizeClass([unref(de).e("icon-btn"),"arrow-right"]),onClick:xr[8]||(xr[8]=dr=>Un(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_4$a),[[vShow,Mn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref($e)("el.datepicker.nextYear"),class:normalizeClass([unref(de).e("icon-btn"),"d-arrow-right"]),onClick:xr[9]||(xr[9]=dr=>Vn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$7)],2)],2),[[vShow,Mn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(de).e("content")),onKeydown:Lr},[Mn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:vn,"selection-mode":unref(jn),date:_n.value,"parsed-value":$r.parsedValue,"disabled-date":unref(qe),"cell-class-name":unref(Et),onPick:Nn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Mn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:vn,date:_n.value,"disabled-date":unref(qe),"parsed-value":$r.parsedValue,onPick:lr},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Mn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:vn,date:_n.value,"parsed-value":$r.parsedValue,"disabled-date":unref(qe),onPick:Jn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(de).e("footer"))},[withDirectives(createVNode(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(de).e("link-btn")),onClick:Xn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.now")),1)]),_:1},8,["class"]),[[vShow,unref(jn)!=="dates"]]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(de).e("link-btn")),onClick:Yn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.confirm")),1)]),_:1},8,["class"])],2),[[vShow,unref(qn)&&Mn.value==="date"]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=oe=>{const{emit:ie}=getCurrentInstance(),le=useAttrs$1(),ue=useSlots();return pe=>{const he=isFunction$5(pe.value)?pe.value():pe.value;if(he){ie("pick",[dayjs(he[0]).locale(oe.value),dayjs(he[1]).locale(oe.value)]);return}pe.onClick&&pe.onClick({attrs:le,slots:ue,emit:ie})}},useRangePicker=(oe,{defaultValue:ie,leftDate:le,rightDate:ue,unit:de,onParsedValueChanged:pe})=>{const{emit:he}=getCurrentInstance(),{pickerNs:_e}=inject(ROOT_PICKER_INJECTION_KEY),$e=useNamespace("date-range-picker"),{t:Ie,lang:Ve}=useLocale(),Fe=useShortcut(Ve),Ue=ref(),qe=ref(),Et=ref({endDate:null,selecting:!1}),At=_n=>{Et.value=_n},Lt=(_n=!1)=>{const bn=unref(Ue),Sn=unref(qe);isValidRange([bn,Sn])&&he("pick",[bn,Sn],_n)},hn=_n=>{Et.value.selecting=_n,_n||(Et.value.endDate=null)},vn=()=>{const[_n,bn]=getDefaultValue(unref(ie),{lang:unref(Ve),unit:de,unlinkPanels:oe.unlinkPanels});Ue.value=void 0,qe.value=void 0,le.value=_n,ue.value=bn};return watch(ie,_n=>{_n&&vn()},{immediate:!0}),watch(()=>oe.parsedValue,_n=>{if(isArray$c(_n)&&_n.length===2){const[bn,Sn]=_n;Ue.value=bn,le.value=bn,qe.value=Sn,pe(unref(Ue),unref(qe))}else vn()},{immediate:!0}),{minDate:Ue,maxDate:qe,rangeState:Et,lang:Ve,ppNs:_e,drpNs:$e,handleChangeRange:At,handleRangeConfirm:Lt,handleShortcutClick:Fe,onSelect:hn,t:Ie}},_hoisted_1$G=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$e=["disabled"],_hoisted_4$9=["disabled"],_hoisted_5$6=["disabled"],unit$1="month",_sfc_main$1j=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(oe,{emit:ie}){const le=oe,ue=inject("EP_PICKER_BASE"),{disabledDate:de,cellClassName:pe,format:he,defaultTime:_e,arrowControl:$e,clearable:Ie}=ue.props,Ve=toRef$1(ue.props,"shortcuts"),Fe=toRef$1(ue.props,"defaultValue"),{lang:Ue}=useLocale(),qe=ref(dayjs().locale(Ue.value)),Et=ref(dayjs().locale(Ue.value).add(1,unit$1)),{minDate:At,maxDate:Lt,rangeState:hn,ppNs:vn,drpNs:_n,handleChangeRange:bn,handleRangeConfirm:Sn,handleShortcutClick:Cn,onSelect:En,t:wn}=useRangePicker(le,{defaultValue:Fe,leftDate:qe,rightDate:Et,unit:unit$1,onParsedValueChanged:Qn}),xn=ref({min:null,max:null}),kn=ref({min:null,max:null}),Pn=computed(()=>`${qe.value.year()} ${wn("el.datepicker.year")} ${wn(`el.datepicker.month${qe.value.month()+1}`)}`),An=computed(()=>`${Et.value.year()} ${wn("el.datepicker.year")} ${wn(`el.datepicker.month${Et.value.month()+1}`)}`),In=computed(()=>qe.value.year()),Nn=computed(()=>qe.value.month()),Un=computed(()=>Et.value.year()),Vn=computed(()=>Et.value.month()),Mn=computed(()=>!!Ve.value.length),Fn=computed(()=>xn.value.min!==null?xn.value.min:At.value?At.value.format(Jn.value):""),Ln=computed(()=>xn.value.max!==null?xn.value.max:Lt.value||At.value?(Lt.value||At.value).format(Jn.value):""),jn=computed(()=>kn.value.min!==null?kn.value.min:At.value?At.value.format(Gn.value):""),Zn=computed(()=>kn.value.max!==null?kn.value.max:Lt.value||At.value?(Lt.value||At.value).format(Gn.value):""),Gn=computed(()=>extractTimeFormat(he)),Jn=computed(()=>extractDateFormat(he)),lr=()=>{qe.value=qe.value.subtract(1,"year"),le.unlinkPanels||(Et.value=qe.value.add(1,"month")),Kn("year")},yr=()=>{qe.value=qe.value.subtract(1,"month"),le.unlinkPanels||(Et.value=qe.value.add(1,"month")),Kn("month")},ir=()=>{le.unlinkPanels?Et.value=Et.value.add(1,"year"):(qe.value=qe.value.add(1,"year"),Et.value=qe.value.add(1,"month")),Kn("year")},qn=()=>{le.unlinkPanels?Et.value=Et.value.add(1,"month"):(qe.value=qe.value.add(1,"month"),Et.value=qe.value.add(1,"month")),Kn("month")},Yn=()=>{qe.value=qe.value.add(1,"year"),Kn("year")},Xn=()=>{qe.value=qe.value.add(1,"month"),Kn("month")},or=()=>{Et.value=Et.value.subtract(1,"year"),Kn("year")},_r=()=>{Et.value=Et.value.subtract(1,"month"),Kn("month")},Kn=sr=>{ie("panel-change",[qe.value.toDate(),Et.value.toDate()],sr)},er=computed(()=>{const sr=(Nn.value+1)%12,wr=Nn.value+1>=12?1:0;return le.unlinkPanels&&new Date(In.value+wr,sr)<new Date(Un.value,Vn.value)}),ar=computed(()=>le.unlinkPanels&&Un.value*12+Vn.value-(In.value*12+Nn.value+1)>=12),gr=computed(()=>!(At.value&&Lt.value&&!hn.value.selecting&&isValidRange([At.value,Lt.value]))),Er=computed(()=>le.type==="datetime"||le.type==="datetimerange"),cr=(sr,wr)=>{if(sr)return _e?dayjs(_e[wr]||_e).locale(Ue.value).year(sr.year()).month(sr.month()).date(sr.date()):sr},Ar=(sr,wr=!0)=>{const Ir=sr.minDate,zr=sr.maxDate,Cr=cr(Ir,0),Nr=cr(zr,1);Lt.value===Nr&&At.value===Cr||(ie("calendar-change",[Ir.toDate(),zr&&zr.toDate()]),Lt.value=Nr,At.value=Cr,!(!wr||Er.value)&&Sn())},br=ref(!1),kr=ref(!1),mr=()=>{br.value=!1},ur=()=>{kr.value=!1},fr=(sr,wr)=>{xn.value[wr]=sr;const Ir=dayjs(sr,Jn.value).locale(Ue.value);if(Ir.isValid()){if(de&&de(Ir.toDate()))return;wr==="min"?(qe.value=Ir,At.value=(At.value||qe.value).year(Ir.year()).month(Ir.month()).date(Ir.date()),le.unlinkPanels||(Et.value=Ir.add(1,"month"),Lt.value=At.value.add(1,"month"))):(Et.value=Ir,Lt.value=(Lt.value||Et.value).year(Ir.year()).month(Ir.month()).date(Ir.date()),le.unlinkPanels||(qe.value=Ir.subtract(1,"month"),At.value=Lt.value.subtract(1,"month")))}},pr=(sr,wr)=>{xn.value[wr]=null},Or=(sr,wr)=>{kn.value[wr]=sr;const Ir=dayjs(sr,Gn.value).locale(Ue.value);Ir.isValid()&&(wr==="min"?(br.value=!0,At.value=(At.value||qe.value).hour(Ir.hour()).minute(Ir.minute()).second(Ir.second()),(!Lt.value||Lt.value.isBefore(At.value))&&(Lt.value=At.value)):(kr.value=!0,Lt.value=(Lt.value||Et.value).hour(Ir.hour()).minute(Ir.minute()).second(Ir.second()),Et.value=Lt.value,Lt.value&&Lt.value.isBefore(At.value)&&(At.value=Lt.value)))},Lr=(sr,wr)=>{kn.value[wr]=null,wr==="min"?(qe.value=At.value,br.value=!1):(Et.value=Lt.value,kr.value=!1)},Vr=(sr,wr,Ir)=>{kn.value.min||(sr&&(qe.value=sr,At.value=(At.value||qe.value).hour(sr.hour()).minute(sr.minute()).second(sr.second())),Ir||(br.value=wr),(!Lt.value||Lt.value.isBefore(At.value))&&(Lt.value=At.value,Et.value=sr))},Dr=(sr,wr,Ir)=>{kn.value.max||(sr&&(Et.value=sr,Lt.value=(Lt.value||Et.value).hour(sr.hour()).minute(sr.minute()).second(sr.second())),Ir||(kr.value=wr),Lt.value&&Lt.value.isBefore(At.value)&&(At.value=Lt.value))},$r=()=>{qe.value=getDefaultValue(unref(Fe),{lang:unref(Ue),unit:"month",unlinkPanels:le.unlinkPanels})[0],Et.value=qe.value.add(1,"month"),ie("pick",null)},xr=sr=>isArray$c(sr)?sr.map(wr=>wr.format(he)):sr.format(he),dr=sr=>isArray$c(sr)?sr.map(wr=>dayjs(wr,he).locale(Ue.value)):dayjs(sr,he).locale(Ue.value);function Qn(sr,wr){if(le.unlinkPanels&&wr){const Ir=(sr==null?void 0:sr.year())||0,zr=(sr==null?void 0:sr.month())||0,Cr=wr.year(),Nr=wr.month();Et.value=Ir===Cr&&zr===Nr?wr.add(1,unit$1):wr}else Et.value=qe.value.add(1,unit$1),wr&&(Et.value=Et.value.hour(wr.hour()).minute(wr.minute()).second(wr.second()))}return ie("set-picker-option",["isValidValue",isValidRange]),ie("set-picker-option",["parseUserInput",dr]),ie("set-picker-option",["formatToString",xr]),ie("set-picker-option",["handleClear",$r]),(sr,wr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b(),unref(_n).b(),{"has-sidebar":sr.$slots.sidebar||unref(Mn),"has-time":unref(Er)}])},[createBaseVNode("div",{class:normalizeClass(unref(vn).e("body-wrapper"))},[renderSlot(sr.$slots,"sidebar",{class:normalizeClass(unref(vn).e("sidebar"))}),unref(Mn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),(Ir,zr)=>(openBlock(),createElementBlock("button",{key:zr,type:"button",class:normalizeClass(unref(vn).e("shortcut")),onClick:Cr=>unref(Cn)(Ir)},toDisplayString$1(Ir.text),11,_hoisted_1$G))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("body"))},[unref(Er)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(_n).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(_n).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(_n).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",disabled:unref(hn).selecting,placeholder:unref(wn)("el.datepicker.startDate"),class:normalizeClass(unref(_n).e("editor")),"model-value":unref(Fn),"validate-event":!1,onInput:wr[0]||(wr[0]=Ir=>fr(Ir,"min")),onChange:wr[1]||(wr[1]=Ir=>pr(Ir,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(_n).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(_n).e("editor")),disabled:unref(hn).selecting,placeholder:unref(wn)("el.datepicker.startTime"),"model-value":unref(jn),"validate-event":!1,onFocus:wr[2]||(wr[2]=Ir=>br.value=!0),onInput:wr[3]||(wr[3]=Ir=>Or(Ir,"min")),onChange:wr[4]||(wr[4]=Ir=>Lr(Ir,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:br.value,format:unref(Gn),"datetime-role":"start","time-arrow-control":unref($e),"parsed-value":qe.value,onPick:Vr},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),mr]])],2),createBaseVNode("span",null,[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(_n).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(_n).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(_n).e("editor")),disabled:unref(hn).selecting,placeholder:unref(wn)("el.datepicker.endDate"),"model-value":unref(Ln),readonly:!unref(At),"validate-event":!1,onInput:wr[5]||(wr[5]=Ir=>fr(Ir,"max")),onChange:wr[6]||(wr[6]=Ir=>pr(Ir,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(_n).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(_n).e("editor")),disabled:unref(hn).selecting,placeholder:unref(wn)("el.datepicker.endTime"),"model-value":unref(Zn),readonly:!unref(At),"validate-event":!1,onFocus:wr[7]||(wr[7]=Ir=>unref(At)&&(kr.value=!0)),onInput:wr[8]||(wr[8]=Ir=>Or(Ir,"max")),onChange:wr[9]||(wr[9]=Ir=>Lr(Ir,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode(unref(TimePickPanel),{"datetime-role":"end",visible:kr.value,format:unref(Gn),"time-arrow-control":unref($e),"parsed-value":Et.value,onPick:Dr},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),ur]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(vn).e("content"),unref(_n).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(_n).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(vn).e("icon-btn"),"d-arrow-left"]),onClick:lr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(vn).e("icon-btn"),"arrow-left"]),onClick:yr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),sr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(ar),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(ar)}],"d-arrow-right"]),onClick:Yn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),sr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(er),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(er)}],"arrow-right"]),onClick:Xn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_3$e)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(Pn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:qe.value,"min-date":unref(At),"max-date":unref(Lt),"range-state":unref(hn),"disabled-date":unref(de),"cell-class-name":unref(pe),onChangerange:unref(bn),onPick:Ar,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(vn).e("content"),unref(_n).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(_n).e("header"))},[sr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(ar),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(ar)}],"d-arrow-left"]),onClick:or},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_4$9)):createCommentVNode("v-if",!0),sr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(er),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(er)}],"arrow-left"]),onClick:_r},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_5$6)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(vn).e("icon-btn"),"d-arrow-right"]),onClick:ir},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(vn).e("icon-btn"),"arrow-right"]),onClick:qn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref(An)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Et.value,"min-date":unref(At),"max-date":unref(Lt),"range-state":unref(hn),"disabled-date":unref(de),"cell-class-name":unref(pe),onChangerange:unref(bn),onPick:Ar,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(Er)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("footer"))},[unref(Ie)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(vn).e("link-btn")),onClick:$r},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(wn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(vn).e("link-btn")),disabled:unref(gr),onClick:wr[10]||(wr[10]=Ir=>unref(Sn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(wn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option"],useMonthRangeHeader=({unlinkPanels:oe,leftDate:ie,rightDate:le})=>{const{t:ue}=useLocale(),de=()=>{ie.value=ie.value.subtract(1,"year"),oe.value||(le.value=le.value.subtract(1,"year"))},pe=()=>{oe.value||(ie.value=ie.value.add(1,"year")),le.value=le.value.add(1,"year")},he=()=>{ie.value=ie.value.add(1,"year")},_e=()=>{le.value=le.value.subtract(1,"year")},$e=computed(()=>`${ie.value.year()} ${ue("el.datepicker.year")}`),Ie=computed(()=>`${le.value.year()} ${ue("el.datepicker.year")}`),Ve=computed(()=>ie.value.year()),Fe=computed(()=>le.value.year()===ie.value.year()?ie.value.year()+1:le.value.year());return{leftPrevYear:de,rightNextYear:pe,leftNextYear:he,rightPrevYear:_e,leftLabel:$e,rightLabel:Ie,leftYear:Ve,rightYear:Fe}},_hoisted_1$F=["onClick"],_hoisted_2$q=["disabled"],_hoisted_3$d=["disabled"],unit="year",__default__$R=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1i=defineComponent({...__default__$R,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(oe,{emit:ie}){const le=oe,{lang:ue}=useLocale(),de=inject("EP_PICKER_BASE"),{shortcuts:pe,disabledDate:he,format:_e}=de.props,$e=toRef$1(de.props,"defaultValue"),Ie=ref(dayjs().locale(ue.value)),Ve=ref(dayjs().locale(ue.value).add(1,unit)),{minDate:Fe,maxDate:Ue,rangeState:qe,ppNs:Et,drpNs:At,handleChangeRange:Lt,handleRangeConfirm:hn,handleShortcutClick:vn,onSelect:_n}=useRangePicker(le,{defaultValue:$e,leftDate:Ie,rightDate:Ve,unit,onParsedValueChanged:Vn}),bn=computed(()=>!!pe.length),{leftPrevYear:Sn,rightNextYear:Cn,leftNextYear:En,rightPrevYear:wn,leftLabel:xn,rightLabel:kn,leftYear:Pn,rightYear:An}=useMonthRangeHeader({unlinkPanels:toRef$1(le,"unlinkPanels"),leftDate:Ie,rightDate:Ve}),In=computed(()=>le.unlinkPanels&&An.value>Pn.value+1),Nn=(Mn,Fn=!0)=>{const Ln=Mn.minDate,jn=Mn.maxDate;Ue.value===jn&&Fe.value===Ln||(Ue.value=jn,Fe.value=Ln,Fn&&hn())},Un=Mn=>Mn.map(Fn=>Fn.format(_e));function Vn(Mn,Fn){if(le.unlinkPanels&&Fn){const Ln=(Mn==null?void 0:Mn.year())||0,jn=Fn.year();Ve.value=Ln===jn?Fn.add(1,unit):Fn}else Ve.value=Ie.value.add(1,unit)}return ie("set-picker-option",["formatToString",Un]),(Mn,Fn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Et).b(),unref(At).b(),{"has-sidebar":!!Mn.$slots.sidebar||unref(bn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Et).e("body-wrapper"))},[renderSlot(Mn.$slots,"sidebar",{class:normalizeClass(unref(Et).e("sidebar"))}),unref(bn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Et).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(pe),(Ln,jn)=>(openBlock(),createElementBlock("button",{key:jn,type:"button",class:normalizeClass(unref(Et).e("shortcut")),onClick:Zn=>unref(vn)(Ln)},toDisplayString$1(Ln.text),11,_hoisted_1$F))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Et).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(Et).e("content"),unref(At).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(At).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Et).e("icon-btn"),"d-arrow-left"]),onClick:Fn[0]||(Fn[0]=(...Ln)=>unref(Sn)&&unref(Sn)(...Ln))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),Mn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(In),class:normalizeClass([[unref(Et).e("icon-btn"),{[unref(Et).is("disabled")]:!unref(In)}],"d-arrow-right"]),onClick:Fn[1]||(Fn[1]=(...Ln)=>unref(En)&&unref(En)(...Ln))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$q)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(xn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:Ie.value,"min-date":unref(Fe),"max-date":unref(Ue),"range-state":unref(qe),"disabled-date":unref(he),onChangerange:unref(Lt),onPick:Nn,onSelect:unref(_n)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Et).e("content"),unref(At).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(At).e("header"))},[Mn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(In),class:normalizeClass([[unref(Et).e("icon-btn"),{"is-disabled":!unref(In)}],"d-arrow-left"]),onClick:Fn[2]||(Fn[2]=(...Ln)=>unref(wn)&&unref(wn)(...Ln))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$d)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Et).e("icon-btn"),"d-arrow-right"]),onClick:Fn[3]||(Fn[3]=(...Ln)=>unref(Cn)&&unref(Cn)(...Ln))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref(kn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:Ve.value,"min-date":unref(Fe),"max-date":unref(Ue),"range-state":unref(qe),"disabled-date":unref(he),onChangerange:unref(Lt),onPick:Nn,onSelect:unref(_n)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const getPanel=function(oe){switch(oe){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:["update:modelValue"],setup(oe,{expose:ie,emit:le,slots:ue}){const de=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef$1(oe,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:ue,pickerNs:de});const pe=ref();ie({focus:($e=!0)=>{var Ie;(Ie=pe.value)==null||Ie.focus($e)},handleOpen:()=>{var $e;($e=pe.value)==null||$e.handleOpen()},handleClose:()=>{var $e;($e=pe.value)==null||$e.handleClose()}});const _e=$e=>{le("update:modelValue",$e)};return()=>{var $e;const Ie=($e=oe.format)!=null?$e:DEFAULT_FORMATS_DATEPICKER[oe.type]||DEFAULT_FORMATS_DATE,Ve=getPanel(oe.type);return createVNode(CommonPicker,mergeProps(oe,{format:Ie,type:oe.type,ref:pe,"onUpdate:modelValue":_e}),{default:Fe=>createVNode(Ve,Fe,null),"range-separator":ue["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=oe=>{oe.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var oe,ie,le,ue,de,pe;const he=getNormalizedProps(this.cell),{border:_e,direction:$e}=this.descriptions,Ie=$e==="vertical",Ve=((le=(ie=(oe=this.cell)==null?void 0:oe.children)==null?void 0:ie.label)==null?void 0:le.call(ie))||he.label,Fe=(pe=(de=(ue=this.cell)==null?void 0:ue.children)==null?void 0:de.default)==null?void 0:pe.call(de),Ue=he.span,qe=he.align?`is-${he.align}`:"",Et=he.labelAlign?`is-${he.labelAlign}`:qe,At=he.className,Lt=he.labelClassName,hn={width:addUnit(he.width),minWidth:addUnit(he.minWidth)},vn=useNamespace("descriptions");switch(this.type){case"label":return h$3(this.tag,{style:hn,class:[vn.e("cell"),vn.e("label"),vn.is("bordered-label",_e),vn.is("vertical-label",Ie),Et,Lt],colSpan:Ie?Ue:1},Ve);case"content":return h$3(this.tag,{style:hn,class:[vn.e("cell"),vn.e("content"),vn.is("bordered-content",_e),vn.is("vertical-content",Ie),qe,At],colSpan:Ie?Ue:Ue*2-1},Fe);default:return h$3("td",{style:hn,class:[vn.e("cell"),qe],colSpan:Ue},[isNil(Ve)?void 0:h$3("span",{class:[vn.e("label"),Lt]},Ve),h$3("span",{class:[vn.e("content"),At]},Fe)])}}});const descriptionsRowProps=buildProps({row:{type:Array,default:()=>[]}}),_hoisted_1$E={key:1},__default__$Q=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1h=defineComponent({...__default__$Q,props:descriptionsRowProps,setup(oe){const ie=inject(descriptionsKey,{});return(le,ue)=>unref(ie).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.row,(de,pe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${pe}`,cell:de,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.row,(de,pe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${pe}`,cell:de,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$E,[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.row,(de,pe)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${pe}`},[unref(ie).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(unref(ElDescriptionsCell),{cell:de,tag:"td",type:"label"},null,8,["cell"]),createVNode(unref(ElDescriptionsCell),{cell:de,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:de,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$P=defineComponent({name:"ElDescriptions"}),_sfc_main$1g=defineComponent({...__default__$P,props:descriptionProps,setup(oe){const ie=oe,le=useNamespace("descriptions"),ue=useFormSize(),de=useSlots();provide(descriptionsKey,ie);const pe=computed(()=>[le.b(),le.m(ue.value)]),he=($e,Ie,Ve,Fe=!1)=>($e.props||($e.props={}),Ie>Ve&&($e.props.span=Ve),Fe&&($e.props.span=Ie),$e),_e=()=>{var $e;const Ie=flattedChildren(($e=de.default)==null?void 0:$e.call(de)).filter(Et=>{var At;return((At=Et==null?void 0:Et.type)==null?void 0:At.name)==="ElDescriptionsItem"}),Ve=[];let Fe=[],Ue=ie.column,qe=0;return Ie.forEach((Et,At)=>{var Lt;const hn=((Lt=Et.props)==null?void 0:Lt.span)||1;if(At<Ie.length-1&&(qe+=hn>Ue?Ue:hn),At===Ie.length-1){const vn=ie.column-qe%ie.column;Fe.push(he(Et,vn,Ue,!0)),Ve.push(Fe);return}hn<Ue?(Ue-=hn,Fe.push(Et)):(Fe.push(he(Et,hn,Ue)),Ve.push(Fe),Ue=ie.column,Fe=[])}),Ve};return($e,Ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(pe))},[$e.title||$e.extra||$e.$slots.title||$e.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(le).e("title"))},[renderSlot($e.$slots,"title",{},()=>[createTextVNode(toDisplayString$1($e.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(le).e("extra"))},[renderSlot($e.$slots,"extra",{},()=>[createTextVNode(toDisplayString$1($e.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(le).e("table"),unref(le).is("bordered",$e.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(_e(),(Ve,Fe)=>(openBlock(),createBlock(ElDescriptionsRow,{key:Fe,row:Ve},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]),DescriptionsItem=defineComponent({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const ElDescriptions=withInstall(Descriptions,{DescriptionsItem}),ElDescriptionsItem=withNoopInstall(DescriptionsItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:oe=>oe instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(oe,{slots:ie,emit:le}){const ue=useNamespace(BLOCK),de=$e=>{le("click",$e)},{onClick:pe,onMousedown:he,onMouseup:_e}=useSameTarget(oe.customMaskEvent?void 0:de);return()=>oe.mask?createVNode("div",{class:[ue.b(),oe.overlayClass],style:{zIndex:oe.zIndex},onClick:pe,onMousedown:he,onMouseup:_e},[renderSlot(ie,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$3("div",{class:oe.overlayClass,style:{zIndex:oe.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(ie,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:iconPropType},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),dialogContentEmits={close:()=>!0},_hoisted_1$D=["aria-label"],_hoisted_2$p=["id"],__default__$O=defineComponent({name:"ElDialogContent"}),_sfc_main$1f=defineComponent({...__default__$O,props:dialogContentProps,emits:dialogContentEmits,setup(oe){const ie=oe,{t:le}=useLocale(),{Close:ue}=CloseComponents,{dialogRef:de,headerRef:pe,bodyId:he,ns:_e,style:$e}=inject(dialogInjectionKey),{focusTrapRef:Ie}=inject(FOCUS_TRAP_INJECTION_KEY),Ve=composeRefs(Ie,de),Fe=computed(()=>ie.draggable);return useDraggable(de,pe,Fe),(Ue,qe)=>(openBlock(),createElementBlock("div",{ref:unref(Ve),class:normalizeClass([unref(_e).b(),unref(_e).is("fullscreen",Ue.fullscreen),unref(_e).is("draggable",unref(Fe)),unref(_e).is("align-center",Ue.alignCenter),{[unref(_e).m("center")]:Ue.center},Ue.customClass]),style:normalizeStyle$1(unref($e)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:pe,class:normalizeClass(unref(_e).e("header"))},[renderSlot(Ue.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(_e).e("title"))},toDisplayString$1(Ue.title),3)]),Ue.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(le)("el.dialog.close"),class:normalizeClass(unref(_e).e("headerbtn")),type:"button",onClick:qe[0]||(qe[0]=Et=>Ue.$emit("close"))},[createVNode(unref(ElIcon),{class:normalizeClass(unref(_e).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.closeIcon||unref(ue))))]),_:1},8,["class"])],10,_hoisted_1$D)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(he),class:normalizeClass(unref(_e).e("body"))},[renderSlot(Ue.$slots,"default")],10,_hoisted_2$p),Ue.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(_e).e("footer"))},[renderSlot(Ue.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:{type:Boolean,default:!1},beforeClose:{type:definePropType(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:oe=>isBoolean$3(oe),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(oe,ie)=>{const ue=getCurrentInstance().emit,{nextZIndex:de}=useZIndex();let pe="";const he=useId(),_e=useId(),$e=ref(!1),Ie=ref(!1),Ve=ref(!1),Fe=ref(oe.zIndex||de());let Ue,qe;const Et=useGlobalConfig("namespace",defaultNamespace),At=computed(()=>{const Nn={},Un=`--${Et.value}-dialog`;return oe.fullscreen||(oe.top&&(Nn[`${Un}-margin-top`]=oe.top),oe.width&&(Nn[`${Un}-width`]=addUnit(oe.width))),Nn}),Lt=computed(()=>oe.alignCenter?{display:"flex"}:{});function hn(){ue("opened")}function vn(){ue("closed"),ue(UPDATE_MODEL_EVENT,!1),oe.destroyOnClose&&(Ve.value=!1)}function _n(){ue("close")}function bn(){qe==null||qe(),Ue==null||Ue(),oe.openDelay&&oe.openDelay>0?{stop:Ue}=useTimeoutFn$1(()=>wn(),oe.openDelay):wn()}function Sn(){Ue==null||Ue(),qe==null||qe(),oe.closeDelay&&oe.closeDelay>0?{stop:qe}=useTimeoutFn$1(()=>xn(),oe.closeDelay):xn()}function Cn(){function Nn(Un){Un||(Ie.value=!0,$e.value=!1)}oe.beforeClose?oe.beforeClose(Nn):Sn()}function En(){oe.closeOnClickModal&&Cn()}function wn(){isClient$1&&($e.value=!0)}function xn(){$e.value=!1}function kn(){ue("openAutoFocus")}function Pn(){ue("closeAutoFocus")}function An(Nn){var Un;((Un=Nn.detail)==null?void 0:Un.focusReason)==="pointer"&&Nn.preventDefault()}oe.lockScroll&&useLockscreen($e);function In(){oe.closeOnPressEscape&&Cn()}return watch(()=>oe.modelValue,Nn=>{Nn?(Ie.value=!1,bn(),Ve.value=!0,Fe.value=oe.zIndex?Fe.value++:de(),nextTick(()=>{ue("open"),ie.value&&(ie.value.scrollTop=0)})):$e.value&&Sn()}),watch(()=>oe.fullscreen,Nn=>{ie.value&&(Nn?(pe=ie.value.style.transform,ie.value.style.transform=""):ie.value.style.transform=pe)}),onMounted(()=>{oe.modelValue&&($e.value=!0,Ve.value=!0,bn())}),{afterEnter:hn,afterLeave:vn,beforeLeave:_n,handleClose:Cn,onModalClick:En,close:Sn,doClose:xn,onOpenAutoFocus:kn,onCloseAutoFocus:Pn,onCloseRequested:In,onFocusoutPrevented:An,titleId:he,bodyId:_e,closed:Ie,style:At,overlayDialogStyle:Lt,rendered:Ve,visible:$e,zIndex:Fe}},_hoisted_1$C=["aria-label","aria-labelledby","aria-describedby"],__default__$N=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1e=defineComponent({...__default__$N,props:dialogProps,emits:dialogEmits,setup(oe,{expose:ie}){const le=oe,ue=useSlots();useDeprecated({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"},computed(()=>!!ue.title)),useDeprecated({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},computed(()=>!!le.customClass));const de=useNamespace("dialog"),pe=ref(),he=ref(),_e=ref(),{visible:$e,titleId:Ie,bodyId:Ve,style:Fe,overlayDialogStyle:Ue,rendered:qe,zIndex:Et,afterEnter:At,afterLeave:Lt,beforeLeave:hn,handleClose:vn,onModalClick:_n,onOpenAutoFocus:bn,onCloseAutoFocus:Sn,onCloseRequested:Cn,onFocusoutPrevented:En}=useDialog(le,pe);provide(dialogInjectionKey,{dialogRef:pe,headerRef:he,bodyId:Ve,ns:de,rendered:qe,style:Fe});const wn=useSameTarget(_n),xn=computed(()=>le.draggable&&!le.fullscreen);return ie({visible:$e,dialogContentRef:_e}),(kn,Pn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!kn.appendToBody},[createVNode(Transition,{name:"dialog-fade",onAfterEnter:unref(At),onAfterLeave:unref(Lt),onBeforeLeave:unref(hn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(unref(ElOverlay),{"custom-mask-event":"",mask:kn.modal,"overlay-class":kn.modalClass,"z-index":unref(Et)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":kn.title||void 0,"aria-labelledby":kn.title?void 0:unref(Ie),"aria-describedby":unref(Ve),class:normalizeClass(`${unref(de).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(Ue)),onClick:Pn[0]||(Pn[0]=(...An)=>unref(wn).onClick&&unref(wn).onClick(...An)),onMousedown:Pn[1]||(Pn[1]=(...An)=>unref(wn).onMousedown&&unref(wn).onMousedown(...An)),onMouseup:Pn[2]||(Pn[2]=(...An)=>unref(wn).onMouseup&&unref(wn).onMouseup(...An))},[createVNode(unref(ElFocusTrap),{loop:"",trapped:unref($e),"focus-start-el":"container",onFocusAfterTrapped:unref(bn),onFocusAfterReleased:unref(Sn),onFocusoutPrevented:unref(En),onReleaseRequested:unref(Cn)},{default:withCtx(()=>[unref(qe)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:_e},kn.$attrs,{"custom-class":kn.customClass,center:kn.center,"align-center":kn.alignCenter,"close-icon":kn.closeIcon,draggable:unref(xn),fullscreen:kn.fullscreen,"show-close":kn.showClose,title:kn.title,onClose:unref(vn)}),createSlots({header:withCtx(()=>[kn.$slots.title?renderSlot(kn.$slots,"title",{key:1}):renderSlot(kn.$slots,"header",{key:0,close:unref(vn),titleId:unref(Ie),titleClass:unref(de).e("title")})]),default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:2},[kn.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(kn.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$C)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref($e)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$M=defineComponent({name:"ElDivider"}),_sfc_main$1d=defineComponent({...__default__$M,props:dividerProps,setup(oe){const ie=oe,le=useNamespace("divider"),ue=computed(()=>le.cssVar({"border-style":ie.borderStyle}));return(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(le).m(de.direction)]),style:normalizeStyle$1(unref(ue)),role:"separator"},[de.$slots.default&&de.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(le).e("text"),unref(le).is(de.contentPosition)])},[renderSlot(de.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0}}),drawerEmits=dialogEmits,_sfc_main$1c=defineComponent({name:"ElDrawer",components:{ElOverlay,ElFocusTrap,ElIcon,Close:close_default},inheritAttrs:!1,props:drawerProps,emits:drawerEmits,setup(oe,{slots:ie}){useDeprecated({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"},computed(()=>!!ie.title)),useDeprecated({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},computed(()=>!!oe.customClass));const le=ref(),ue=ref(),de=useNamespace("drawer"),{t:pe}=useLocale(),he=computed(()=>oe.direction==="rtl"||oe.direction==="ltr"),_e=computed(()=>addUnit(oe.size));return{...useDialog(oe,le),drawerRef:le,focusStartRef:ue,isHorizontal:he,drawerSize:_e,ns:de,t:pe}}}),_hoisted_1$B=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$o=["id"],_hoisted_3$c=["aria-label"],_hoisted_4$8=["id"];function _sfc_render$p(oe,ie,le,ue,de,pe){const he=resolveComponent("close"),_e=resolveComponent("el-icon"),$e=resolveComponent("el-focus-trap"),Ie=resolveComponent("el-overlay");return openBlock(),createBlock(Teleport,{to:"body",disabled:!oe.appendToBody},[createVNode(Transition,{name:oe.ns.b("fade"),onAfterEnter:oe.afterEnter,onAfterLeave:oe.afterLeave,onBeforeLeave:oe.beforeLeave,persisted:""},{default:withCtx(()=>[withDirectives(createVNode(Ie,{mask:oe.modal,"overlay-class":oe.modalClass,"z-index":oe.zIndex,onClick:oe.onModalClick},{default:withCtx(()=>[createVNode($e,{loop:"",trapped:oe.visible,"focus-trap-el":oe.drawerRef,"focus-start-el":oe.focusStartRef,onReleaseRequested:oe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref:"drawerRef","aria-modal":"true","aria-label":oe.title||void 0,"aria-labelledby":oe.title?void 0:oe.titleId,"aria-describedby":oe.bodyId},oe.$attrs,{class:[oe.ns.b(),oe.direction,oe.visible&&"open",oe.customClass],style:oe.isHorizontal?"width: "+oe.drawerSize:"height: "+oe.drawerSize,role:"dialog",onClick:ie[1]||(ie[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref:"focusStartRef",class:normalizeClass(oe.ns.e("sr-focus")),tabindex:"-1"},null,2),oe.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(oe.ns.e("header"))},[oe.$slots.title?renderSlot(oe.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(oe.$slots,"header",{key:0,close:oe.handleClose,titleId:oe.titleId,titleClass:oe.ns.e("title")},()=>[oe.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:oe.titleId,role:"heading",class:normalizeClass(oe.ns.e("title"))},toDisplayString$1(oe.title),11,_hoisted_2$o))]),oe.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":oe.t("el.drawer.close"),class:normalizeClass(oe.ns.e("close-btn")),type:"button",onClick:ie[0]||(ie[0]=(...Ve)=>oe.handleClose&&oe.handleClose(...Ve))},[createVNode(_e,{class:normalizeClass(oe.ns.e("close"))},{default:withCtx(()=>[createVNode(he)]),_:1},8,["class"])],10,_hoisted_3$c)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),oe.rendered?(openBlock(),createElementBlock("div",{key:1,id:oe.bodyId,class:normalizeClass(oe.ns.e("body"))},[renderSlot(oe.$slots,"default")],10,_hoisted_4$8)):createCommentVNode("v-if",!0),oe.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(oe.ns.e("footer"))},[renderSlot(oe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$B)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,oe.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Drawer=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$p],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1b=defineComponent({inheritAttrs:!1});function _sfc_render$o(oe,ie,le,ue,de,pe){return renderSlot(oe.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$o],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1a=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$n(oe,ie,le,ue,de,pe){return renderSlot(oe.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1a,[["render",_sfc_render$n],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=oe=>{const ie=`El${oe}Collection`,le=`${ie}Item`,ue=Symbol(ie),de=Symbol(le),pe={...Collection,name:ie,setup(){const _e=ref(null),$e=new Map;provide(ue,{itemMap:$e,getItems:()=>{const Ve=unref(_e);if(!Ve)return[];const Fe=Array.from(Ve.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...$e.values()].sort((qe,Et)=>Fe.indexOf(qe.ref)-Fe.indexOf(Et.ref))},collectionRef:_e})}},he={...CollectionItem,name:le,setup(_e,{attrs:$e}){const Ie=ref(null),Ve=inject(ue,void 0);provide(de,{collectionItemRef:Ie}),onMounted(()=>{const Fe=unref(Ie);Fe&&Ve.itemMap.set(Fe,{ref:Fe,...$e})}),onBeforeUnmount(()=>{const Fe=unref(Ie);Ve.itemMap.delete(Fe)})}};return{COLLECTION_INJECTION_KEY:ue,COLLECTION_ITEM_INJECTION_KEY:de,ElCollection:pe,ElCollectionItem:he}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(oe,ie)=>{if(ie!=="rtl")return oe;switch(oe){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return oe}},getFocusIntent=(oe,ie,le)=>{const ue=getDirectionAwareKey(oe.key,le);if(!(ie==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(ue))&&!(ie==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(ue)))return MAP_KEY_TO_FOCUS_INTENT[ue]},reorderArray=(oe,ie)=>oe.map((le,ue)=>oe[(ue+ie)%oe.length]),focusFirst=oe=>{const{activeElement:ie}=document;for(const le of oe)if(le===ie||(le.focus(),ie!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$19=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(oe,{emit:ie}){var le;const ue=ref((le=oe.currentTabId||oe.defaultCurrentTabId)!=null?le:null),de=ref(!1),pe=ref(!1),he=ref(null),{getItems:_e}=inject(COLLECTION_INJECTION_KEY$1,void 0),$e=computed(()=>[{outline:"none"},oe.style]),Ie=At=>{ie(CURRENT_TAB_ID_CHANGE_EVT,At)},Ve=()=>{de.value=!0},Fe=composeEventHandlers(At=>{var Lt;(Lt=oe.onMousedown)==null||Lt.call(oe,At)},()=>{pe.value=!0}),Ue=composeEventHandlers(At=>{var Lt;(Lt=oe.onFocus)==null||Lt.call(oe,At)},At=>{const Lt=!unref(pe),{target:hn,currentTarget:vn}=At;if(hn===vn&&Lt&&!unref(de)){const _n=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(vn==null||vn.dispatchEvent(_n),!_n.defaultPrevented){const bn=_e().filter(xn=>xn.focusable),Sn=bn.find(xn=>xn.active),Cn=bn.find(xn=>xn.id===unref(ue)),wn=[Sn,Cn,...bn].filter(Boolean).map(xn=>xn.ref);focusFirst(wn)}}pe.value=!1}),qe=composeEventHandlers(At=>{var Lt;(Lt=oe.onBlur)==null||Lt.call(oe,At)},()=>{de.value=!1}),Et=(...At)=>{ie("entryFocus",...At)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(ue),loop:toRef$1(oe,"loop"),tabIndex:computed(()=>unref(de)?-1:0),rovingFocusGroupRef:he,rovingFocusGroupRootStyle:$e,orientation:toRef$1(oe,"orientation"),dir:toRef$1(oe,"dir"),onItemFocus:Ie,onItemShiftTab:Ve,onBlur:qe,onFocus:Ue,onMousedown:Fe}),watch(()=>oe.currentTabId,At=>{ue.value=At??null}),useEventListener$1(he,ENTRY_FOCUS_EVT,Et)}});function _sfc_render$m(oe,ie,le,ue,de,pe){return renderSlot(oe.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$19,[["render",_sfc_render$m],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$18=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$l(oe,ie,le,ue,de,pe){const he=resolveComponent("el-roving-focus-group-impl"),_e=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(_e,null,{default:withCtx(()=>[createVNode(he,normalizeProps(guardReactiveProps(oe.$attrs)),{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$18,[["render",_sfc_render$l],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const _sfc_main$17=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(oe,{emit:ie}){const{currentTabbedId:le,loop:ue,onItemFocus:de,onItemShiftTab:pe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:he}=inject(COLLECTION_INJECTION_KEY$1,void 0),_e=useId(),$e=ref(null),Ie=composeEventHandlers(qe=>{ie("mousedown",qe)},qe=>{oe.focusable?de(unref(_e)):qe.preventDefault()}),Ve=composeEventHandlers(qe=>{ie("focus",qe)},()=>{de(unref(_e))}),Fe=composeEventHandlers(qe=>{ie("keydown",qe)},qe=>{const{key:Et,shiftKey:At,target:Lt,currentTarget:hn}=qe;if(Et===EVENT_CODE.tab&&At){pe();return}if(Lt!==hn)return;const vn=getFocusIntent(qe);if(vn){qe.preventDefault();let bn=he().filter(Sn=>Sn.focusable).map(Sn=>Sn.ref);switch(vn){case"last":{bn.reverse();break}case"prev":case"next":{vn==="prev"&&bn.reverse();const Sn=bn.indexOf(hn);bn=ue.value?reorderArray(bn,Sn+1):bn.slice(Sn+1);break}}nextTick(()=>{focusFirst(bn)})}}),Ue=computed(()=>le.value===unref(_e));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:$e,tabIndex:computed(()=>unref(Ue)?0:-1),handleMousedown:Ie,handleFocus:Ve,handleKeydown:Fe}),{id:_e,handleKeydown:Fe,handleFocus:Ve,handleMousedown:Ie}}});function _sfc_render$k(oe,ie,le,ue,de,pe){const he=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(he,{id:oe.id,focusable:oe.focusable,active:oe.active},{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$17,[["render",_sfc_render$k],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$16=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(oe,{emit:ie}){const le=getCurrentInstance(),ue=useNamespace("dropdown"),{t:de}=useLocale(),pe=ref(),he=ref(),_e=ref(null),$e=ref(null),Ie=ref(null),Ve=ref(null),Fe=ref(!1),Ue=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],qe=computed(()=>({maxHeight:addUnit(oe.maxHeight)})),Et=computed(()=>[ue.m(bn.value)]),At=useId().value,Lt=computed(()=>oe.id||At);watch([pe,toRef$1(oe,"trigger")],([Vn,Mn],[Fn])=>{var Ln,jn,Zn;const Gn=isArray$c(Mn)?Mn:[Mn];(Ln=Fn==null?void 0:Fn.$el)!=null&&Ln.removeEventListener&&Fn.$el.removeEventListener("pointerenter",Cn),(jn=Vn==null?void 0:Vn.$el)!=null&&jn.removeEventListener&&Vn.$el.removeEventListener("pointerenter",Cn),(Zn=Vn==null?void 0:Vn.$el)!=null&&Zn.addEventListener&&Gn.includes("hover")&&Vn.$el.addEventListener("pointerenter",Cn)},{immediate:!0}),onBeforeUnmount(()=>{var Vn,Mn;(Mn=(Vn=pe.value)==null?void 0:Vn.$el)!=null&&Mn.removeEventListener&&pe.value.$el.removeEventListener("pointerenter",Cn)});function hn(){vn()}function vn(){var Vn;(Vn=_e.value)==null||Vn.onClose()}function _n(){var Vn;(Vn=_e.value)==null||Vn.onOpen()}const bn=useFormSize();function Sn(...Vn){ie("command",...Vn)}function Cn(){var Vn,Mn;(Mn=(Vn=pe.value)==null?void 0:Vn.$el)==null||Mn.focus()}function En(){}function wn(){const Vn=unref($e);Vn==null||Vn.focus(),Ve.value=null}function xn(Vn){Ve.value=Vn}function kn(Vn){Fe.value||(Vn.preventDefault(),Vn.stopImmediatePropagation())}function Pn(){ie("visible-change",!0)}function An(Vn){(Vn==null?void 0:Vn.type)==="keydown"&&$e.value.focus()}function In(){ie("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:$e,role:computed(()=>oe.role),triggerId:Lt,isUsingKeyboard:Fe,onItemEnter:En,onItemLeave:wn}),provide("elDropdown",{instance:le,dropdownSize:bn,handleClick:hn,commandHandler:Sn,trigger:toRef$1(oe,"trigger"),hideOnClick:toRef$1(oe,"hideOnClick")}),{t:de,ns:ue,scrollbar:Ie,wrapStyle:qe,dropdownTriggerKls:Et,dropdownSize:bn,triggerId:Lt,triggerKeys:Ue,currentTabId:Ve,handleCurrentTabIdChange:xn,handlerMainButtonClick:Vn=>{ie("click",Vn)},handleEntryFocus:kn,handleClose:vn,handleOpen:_n,handleBeforeShowTooltip:Pn,handleShowTooltip:An,handleBeforeHideTooltip:In,onFocusAfterTrapped:Vn=>{var Mn,Fn;Vn.preventDefault(),(Fn=(Mn=$e.value)==null?void 0:Mn.focus)==null||Fn.call(Mn,{preventScroll:!0})},popperRef:_e,contentRef:$e,triggeringElementRef:pe,referenceElementRef:he}}});function _sfc_render$j(oe,ie,le,ue,de,pe){var he;const _e=resolveComponent("el-dropdown-collection"),$e=resolveComponent("el-roving-focus-group"),Ie=resolveComponent("el-scrollbar"),Ve=resolveComponent("el-only-child"),Fe=resolveComponent("el-tooltip"),Ue=resolveComponent("el-button"),qe=resolveComponent("arrow-down"),Et=resolveComponent("el-icon"),At=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([oe.ns.b(),oe.ns.is("disabled",oe.disabled)])},[createVNode(Fe,{ref:"popperRef",role:oe.role,effect:oe.effect,"fallback-placements":["bottom","top"],"popper-options":oe.popperOptions,"gpu-acceleration":!1,"hide-after":oe.trigger==="hover"?oe.hideTimeout:0,"manual-mode":!0,placement:oe.placement,"popper-class":[oe.ns.e("popper"),oe.popperClass],"reference-element":(he=oe.referenceElementRef)==null?void 0:he.$el,trigger:oe.trigger,"trigger-keys":oe.triggerKeys,"trigger-target-el":oe.contentRef,"show-after":oe.trigger==="hover"?oe.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":oe.triggeringElementRef,"virtual-triggering":oe.splitButton,disabled:oe.disabled,transition:`${oe.ns.namespace.value}-zoom-in-top`,teleported:oe.teleported,pure:"",persistent:"",onBeforeShow:oe.handleBeforeShowTooltip,onShow:oe.handleShowTooltip,onBeforeHide:oe.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode(Ie,{ref:"scrollbar","wrap-style":oe.wrapStyle,tag:"div","view-class":oe.ns.e("list")},{default:withCtx(()=>[createVNode($e,{loop:oe.loop,"current-tab-id":oe.currentTabId,orientation:"horizontal",onCurrentTabIdChange:oe.handleCurrentTabIdChange,onEntryFocus:oe.handleEntryFocus},{default:withCtx(()=>[createVNode(_e,null,{default:withCtx(()=>[renderSlot(oe.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[oe.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode(Ve,{id:oe.triggerId,ref:"triggeringElementRef",role:"button",tabindex:oe.tabindex},{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),oe.splitButton?(openBlock(),createBlock(At,{key:0},{default:withCtx(()=>[createVNode(Ue,mergeProps({ref:"referenceElementRef"},oe.buttonProps,{size:oe.dropdownSize,type:oe.type,disabled:oe.disabled,tabindex:oe.tabindex,onClick:oe.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode(Ue,mergeProps({id:oe.triggerId,ref:"triggeringElementRef"},oe.buttonProps,{role:"button",size:oe.dropdownSize,type:oe.type,class:oe.ns.e("caret-button"),disabled:oe.disabled,tabindex:oe.tabindex,"aria-label":oe.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode(Et,{class:normalizeClass(oe.ns.e("icon"))},{default:withCtx(()=>[createVNode(qe)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$15=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(oe,{emit:ie}){const le=useNamespace("dropdown"),{role:ue}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:de}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:pe}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:he,tabIndex:_e,handleFocus:$e,handleKeydown:Ie,handleMousedown:Ve}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),Fe=composeRefs(de,pe,he),Ue=computed(()=>ue.value==="menu"?"menuitem":ue.value==="navigation"?"link":"button"),qe=composeEventHandlers(Et=>{const{code:At}=Et;if(At===EVENT_CODE.enter||At===EVENT_CODE.space)return Et.preventDefault(),Et.stopImmediatePropagation(),ie("clickimpl",Et),!0},Ie);return{ns:le,itemRef:Fe,dataset:{[COLLECTION_ITEM_SIGN]:""},role:Ue,tabIndex:_e,handleFocus:$e,handleKeydown:qe,handleMousedown:Ve}}}),_hoisted_1$A=["aria-disabled","tabindex","role"];function _sfc_render$i(oe,ie,le,ue,de,pe){const he=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[oe.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:oe.ns.bem("menu","item","divided")},oe.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:oe.itemRef},{...oe.dataset,...oe.$attrs},{"aria-disabled":oe.disabled,class:[oe.ns.be("menu","item"),oe.ns.is("disabled",oe.disabled)],tabindex:oe.tabIndex,role:oe.role,onClick:ie[0]||(ie[0]=_e=>oe.$emit("clickimpl",_e)),onFocus:ie[1]||(ie[1]=(..._e)=>oe.handleFocus&&oe.handleFocus(..._e)),onKeydown:ie[2]||(ie[2]=withModifiers((..._e)=>oe.handleKeydown&&oe.handleKeydown(..._e),["self"])),onMousedown:ie[3]||(ie[3]=(..._e)=>oe.handleMousedown&&oe.handleMousedown(..._e)),onPointermove:ie[4]||(ie[4]=_e=>oe.$emit("pointermove",_e)),onPointerleave:ie[5]||(ie[5]=_e=>oe.$emit("pointerleave",_e))}),[oe.icon?(openBlock(),createBlock(he,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(oe.$slots,"default")],16,_hoisted_1$A)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$15,[["render",_sfc_render$i],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const useDropdown=()=>{const oe=inject("elDropdown",{}),ie=computed(()=>oe==null?void 0:oe.dropdownSize);return{elDropdown:oe,_elDropdownSize:ie}},_sfc_main$14=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(oe,{emit:ie,attrs:le}){const{elDropdown:ue}=useDropdown(),de=getCurrentInstance(),pe=ref(null),he=computed(()=>{var qe,Et;return(Et=(qe=unref(pe))==null?void 0:qe.textContent)!=null?Et:""}),{onItemEnter:_e,onItemLeave:$e}=inject(DROPDOWN_INJECTION_KEY,void 0),Ie=composeEventHandlers(qe=>(ie("pointermove",qe),qe.defaultPrevented),whenMouse(qe=>{if(oe.disabled){$e(qe);return}const Et=qe.currentTarget;Et===document.activeElement||Et.contains(document.activeElement)||(_e(qe),qe.defaultPrevented||Et==null||Et.focus())})),Ve=composeEventHandlers(qe=>(ie("pointerleave",qe),qe.defaultPrevented),whenMouse(qe=>{$e(qe)})),Fe=composeEventHandlers(qe=>{if(!oe.disabled)return ie("click",qe),qe.type!=="keydown"&&qe.defaultPrevented},qe=>{var Et,At,Lt;if(oe.disabled){qe.stopImmediatePropagation();return}(Et=ue==null?void 0:ue.hideOnClick)!=null&&Et.value&&((At=ue.handleClick)==null||At.call(ue)),(Lt=ue.commandHandler)==null||Lt.call(ue,oe.command,de,qe)}),Ue=computed(()=>({...oe,...le}));return{handleClick:Fe,handlePointerMove:Ie,handlePointerLeave:Ve,textContent:he,propsAndAttrs:Ue}}});function _sfc_render$h(oe,ie,le,ue,de,pe){var he;const _e=resolveComponent("el-dropdown-item-impl"),$e=resolveComponent("el-roving-focus-item"),Ie=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(Ie,{disabled:oe.disabled,"text-value":(he=oe.textValue)!=null?he:oe.textContent},{default:withCtx(()=>[createVNode($e,{focusable:!oe.disabled},{default:withCtx(()=>[createVNode(_e,mergeProps(oe.propsAndAttrs,{onPointerleave:oe.handlePointerLeave,onPointermove:oe.handlePointerMove,onClickimpl:oe.handleClick}),{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$13=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(oe){const ie=useNamespace("dropdown"),{_elDropdownSize:le}=useDropdown(),ue=le.value,{focusTrapRef:de,onKeydown:pe}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:he,role:_e,triggerId:$e}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:Ie,getItems:Ve}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:Fe,rovingFocusGroupRootStyle:Ue,tabIndex:qe,onBlur:Et,onFocus:At,onMousedown:Lt}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:hn}=inject(COLLECTION_INJECTION_KEY$1,void 0),vn=computed(()=>[ie.b("menu"),ie.bm("menu",ue==null?void 0:ue.value)]),_n=composeRefs(he,Ie,de,Fe,hn),bn=composeEventHandlers(Cn=>{var En;(En=oe.onKeydown)==null||En.call(oe,Cn)},Cn=>{const{currentTarget:En,code:wn,target:xn}=Cn;if(En.contains(xn),EVENT_CODE.tab===wn&&Cn.stopImmediatePropagation(),Cn.preventDefault(),xn!==unref(he)||!FIRST_LAST_KEYS.includes(wn))return;const Pn=Ve().filter(An=>!An.disabled).map(An=>An.ref);LAST_KEYS.includes(wn)&&Pn.reverse(),focusFirst(Pn)});return{size:ue,rovingFocusGroupRootStyle:Ue,tabIndex:qe,dropdownKls:vn,role:_e,triggerId:$e,dropdownListWrapperRef:_n,handleKeydown:Cn=>{bn(Cn),pe(Cn)},onBlur:Et,onFocus:At,onMousedown:Lt}}}),_hoisted_1$z=["role","aria-labelledby"];function _sfc_render$g(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("ul",{ref:oe.dropdownListWrapperRef,class:normalizeClass(oe.dropdownKls),style:normalizeStyle$1(oe.rovingFocusGroupRootStyle),tabindex:-1,role:oe.role,"aria-labelledby":oe.triggerId,onBlur:ie[0]||(ie[0]=(...he)=>oe.onBlur&&oe.onBlur(...he)),onFocus:ie[1]||(ie[1]=(...he)=>oe.onFocus&&oe.onFocus(...he)),onKeydown:ie[2]||(ie[2]=withModifiers((...he)=>oe.handleKeydown&&oe.handleKeydown(...he),["self"])),onMousedown:ie[3]||(ie[3]=withModifiers((...he)=>oe.onMousedown&&oe.onMousedown(...he),["self"]))},[renderSlot(oe.$slots,"default")],46,_hoisted_1$z)}var DropdownMenu=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$g],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$y={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$n=["id"],_hoisted_3$b=["stop-color"],_hoisted_4$7=["stop-color"],_hoisted_5$5=["id"],_hoisted_6$1=["stop-color"],_hoisted_7=["stop-color"],_hoisted_8=["id"],_hoisted_9={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12=["fill"],_hoisted_13=["fill"],_hoisted_14={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15=["fill"],_hoisted_16=["fill"],_hoisted_17=["fill"],_hoisted_18=["fill"],_hoisted_19=["fill"],_hoisted_20={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21=["fill","xlink:href"],_hoisted_22=["fill","mask"],_hoisted_23=["fill"],__default__$L=defineComponent({name:"ImgEmpty"}),_sfc_main$12=defineComponent({...__default__$L,setup(oe){const ie=useNamespace("empty"),le=useId();return(ue,de)=>(openBlock(),createElementBlock("svg",_hoisted_1$y,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(le)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(ie).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$b),createBaseVNode("stop",{"stop-color":`var(${unref(ie).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$7)],8,_hoisted_2$n),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(le)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(ie).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$1),createBaseVNode("stop",{"stop-color":`var(${unref(ie).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(le)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8)]),createBaseVNode("g",_hoisted_9,[createBaseVNode("g",_hoisted_10,[createBaseVNode("g",_hoisted_11,[createBaseVNode("path",{id:"Oval-Copy-2",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(${unref(ie).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref(ie).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,_hoisted_13),createBaseVNode("g",_hoisted_14,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref(ie).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,_hoisted_15),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref(ie).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(le)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref(ie).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,_hoisted_18)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(le)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19),createBaseVNode("g",_hoisted_20,[createBaseVNode("use",{id:"Mask",fill:`var(${unref(ie).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(le)}`},null,8,_hoisted_21),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(ie).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(le)})`,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,_hoisted_22)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref(ie).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,_hoisted_23)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$12,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$x=["src"],_hoisted_2$m={key:1},__default__$K=defineComponent({name:"ElEmpty"}),_sfc_main$11=defineComponent({...__default__$K,props:emptyProps,setup(oe){const ie=oe,{t:le}=useLocale(),ue=useNamespace("empty"),de=computed(()=>ie.description||le("el.table.emptyText")),pe=computed(()=>({width:addUnit(ie.imageSize)}));return(he,_e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("image")),style:normalizeStyle$1(unref(pe))},[he.image?(openBlock(),createElementBlock("img",{key:0,src:he.image,ondragstart:"return false"},null,8,_hoisted_1$x)):renderSlot(he.$slots,"image",{key:1},()=>[createVNode(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(ue).e("description"))},[he.$slots.description?renderSlot(he.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$m,toDisplayString$1(unref(de)),1))],2),he.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("bottom"))},[renderSlot(he.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$11,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:{type:Boolean,default:!1},teleported:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageViewerEmits={close:()=>!0,switch:oe=>isNumber$4(oe)},_hoisted_1$w=["src"],__default__$J=defineComponent({name:"ElImageViewer"}),_sfc_main$10=defineComponent({...__default__$J,props:imageViewerProps,emits:imageViewerEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:pe}=useLocale(),he=useNamespace("image-viewer"),{nextZIndex:_e}=useZIndex(),$e=ref(),Ie=ref([]),Ve=effectScope(),Fe=ref(!0),Ue=ref(ue.initialIndex),qe=shallowRef(de.CONTAIN),Et=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),At=computed(()=>{const{urlList:Mn}=ue;return Mn.length<=1}),Lt=computed(()=>Ue.value===0),hn=computed(()=>Ue.value===ue.urlList.length-1),vn=computed(()=>ue.urlList[Ue.value]),_n=computed(()=>{const{scale:Mn,deg:Fn,offsetX:Ln,offsetY:jn,enableTransition:Zn}=Et.value;let Gn=Ln/Mn,Jn=jn/Mn;switch(Fn%360){case 90:case-270:[Gn,Jn]=[Jn,-Gn];break;case 180:case-180:[Gn,Jn]=[-Gn,-Jn];break;case 270:case-90:[Gn,Jn]=[-Jn,Gn];break}const lr={transform:`scale(${Mn}) rotate(${Fn}deg) translate(${Gn}px, ${Jn}px)`,transition:Zn?"transform .3s":""};return qe.value.name===de.CONTAIN.name&&(lr.maxWidth=lr.maxHeight="100%"),lr}),bn=computed(()=>isNumber$4(ue.zIndex)?ue.zIndex:_e());function Sn(){En(),le("close")}function Cn(){const Mn=throttle$1(Ln=>{switch(Ln.code){case EVENT_CODE.esc:ue.closeOnPressEscape&&Sn();break;case EVENT_CODE.space:An();break;case EVENT_CODE.left:Nn();break;case EVENT_CODE.up:Vn("zoomIn");break;case EVENT_CODE.right:Un();break;case EVENT_CODE.down:Vn("zoomOut");break}}),Fn=throttle$1(Ln=>{const jn=Ln.deltaY||Ln.deltaX;Vn(jn<0?"zoomIn":"zoomOut",{zoomRate:ue.zoomRate,enableTransition:!1})});Ve.run(()=>{useEventListener$1(document,"keydown",Mn),useEventListener$1(document,"wheel",Fn)})}function En(){Ve.stop()}function wn(){Fe.value=!1}function xn(Mn){Fe.value=!1,Mn.target.alt=pe("el.image.error")}function kn(Mn){if(Fe.value||Mn.button!==0||!$e.value)return;Et.value.enableTransition=!1;const{offsetX:Fn,offsetY:Ln}=Et.value,jn=Mn.pageX,Zn=Mn.pageY,Gn=throttle$1(lr=>{Et.value={...Et.value,offsetX:Fn+lr.pageX-jn,offsetY:Ln+lr.pageY-Zn}}),Jn=useEventListener$1(document,"mousemove",Gn);useEventListener$1(document,"mouseup",()=>{Jn()}),Mn.preventDefault()}function Pn(){Et.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function An(){if(Fe.value)return;const Mn=keysOf(de),Fn=Object.values(de),Ln=qe.value.name,Zn=(Fn.findIndex(Gn=>Gn.name===Ln)+1)%Mn.length;qe.value=de[Mn[Zn]],Pn()}function In(Mn){const Fn=ue.urlList.length;Ue.value=(Mn+Fn)%Fn}function Nn(){Lt.value&&!ue.infinite||In(Ue.value-1)}function Un(){hn.value&&!ue.infinite||In(Ue.value+1)}function Vn(Mn,Fn={}){if(Fe.value)return;const{zoomRate:Ln,rotateDeg:jn,enableTransition:Zn}={zoomRate:ue.zoomRate,rotateDeg:90,enableTransition:!0,...Fn};switch(Mn){case"zoomOut":Et.value.scale>.2&&(Et.value.scale=Number.parseFloat((Et.value.scale/Ln).toFixed(3)));break;case"zoomIn":Et.value.scale<7&&(Et.value.scale=Number.parseFloat((Et.value.scale*Ln).toFixed(3)));break;case"clockwise":Et.value.deg+=jn;break;case"anticlockwise":Et.value.deg-=jn;break}Et.value.enableTransition=Zn}return watch(vn,()=>{nextTick(()=>{const Mn=Ie.value[0];Mn!=null&&Mn.complete||(Fe.value=!0)})}),watch(Ue,Mn=>{Pn(),le("switch",Mn)}),onMounted(()=>{var Mn,Fn;Cn(),(Fn=(Mn=$e.value)==null?void 0:Mn.focus)==null||Fn.call(Mn)}),ie({setActiveItem:In}),(Mn,Fn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Mn.teleported},[createVNode(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:$e,tabindex:-1,class:normalizeClass(unref(he).e("wrapper")),style:normalizeStyle$1({zIndex:unref(bn)})},[createBaseVNode("div",{class:normalizeClass(unref(he).e("mask")),onClick:Fn[0]||(Fn[0]=withModifiers(Ln=>Mn.hideOnClickModal&&Sn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(he).e("btn"),unref(he).e("close")]),onClick:Sn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(At)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass([unref(he).e("btn"),unref(he).e("prev"),unref(he).is("disabled",!Mn.infinite&&unref(Lt))]),onClick:Nn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass([unref(he).e("btn"),unref(he).e("next"),unref(he).is("disabled",!Mn.infinite&&unref(hn))]),onClick:Un},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(he).e("btn"),unref(he).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(he).e("actions__inner"))},[createVNode(unref(ElIcon),{onClick:Fn[1]||(Fn[1]=Ln=>Vn("zoomOut"))},{default:withCtx(()=>[createVNode(unref(zoom_out_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Fn[2]||(Fn[2]=Ln=>Vn("zoomIn"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(he).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:An},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(qe).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(he).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Fn[3]||(Fn[3]=Ln=>Vn("anticlockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_left_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Fn[4]||(Fn[4]=Ln=>Vn("clockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(he).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.urlList,(Ln,jn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:Zn=>Ie.value[jn]=Zn,key:Ln,src:Ln,style:normalizeStyle$1(unref(_n)),class:normalizeClass(unref(he).e("img")),onLoad:wn,onError:xn,onMousedown:kn},null,46,_hoisted_1$w)),[[vShow,jn===Ue.value]])),128))],2),renderSlot(Mn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$10,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:{type:Boolean,default:!1},src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:{type:Boolean,default:!1},scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:{type:Boolean,default:!1},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageEmits={load:oe=>oe instanceof Event,error:oe=>oe instanceof Event,switch:oe=>isNumber$4(oe),close:()=>!0,show:()=>!0},_hoisted_1$v=["src","loading"],_hoisted_2$l={key:0},__default__$I=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$$=defineComponent({...__default__$I,props:imageProps,emits:imageEmits,setup(oe,{emit:ie}){const le=oe;let ue="";const{t:de}=useLocale(),pe=useNamespace("image"),he=useAttrs$1(),_e=useAttrs(),$e=ref(),Ie=ref(!1),Ve=ref(!0),Fe=ref(!1),Ue=ref(),qe=ref(),Et=isClient$1&&"loading"in HTMLImageElement.prototype;let At,Lt;const hn=computed(()=>he.style),vn=computed(()=>{const{fit:Mn}=le;return isClient$1&&Mn?{objectFit:Mn}:{}}),_n=computed(()=>{const{previewSrcList:Mn}=le;return Array.isArray(Mn)&&Mn.length>0}),bn=computed(()=>{const{previewSrcList:Mn,initialIndex:Fn}=le;let Ln=Fn;return Fn>Mn.length-1&&(Ln=0),Ln}),Sn=computed(()=>le.loading==="eager"?!1:!Et&&le.loading==="lazy"||le.lazy),Cn=()=>{isClient$1&&(Ve.value=!0,Ie.value=!1,$e.value=le.src)};function En(Mn){Ve.value=!1,Ie.value=!1,ie("load",Mn)}function wn(Mn){Ve.value=!1,Ie.value=!0,ie("error",Mn)}function xn(){isInContainer(Ue.value,qe.value)&&(Cn(),An())}const kn=useThrottleFn(xn,200,!0);async function Pn(){var Mn;if(!isClient$1)return;await nextTick();const{scrollContainer:Fn}=le;isElement$1(Fn)?qe.value=Fn:isString$6(Fn)&&Fn!==""?qe.value=(Mn=document.querySelector(Fn))!=null?Mn:void 0:Ue.value&&(qe.value=getScrollContainer(Ue.value)),qe.value&&(At=useEventListener$1(qe,"scroll",kn),setTimeout(()=>xn(),100))}function An(){!isClient$1||!qe.value||!kn||(At==null||At(),qe.value=void 0)}function In(Mn){if(Mn.ctrlKey){if(Mn.deltaY<0)return Mn.preventDefault(),!1;if(Mn.deltaY>0)return Mn.preventDefault(),!1}}function Nn(){_n.value&&(Lt=useEventListener$1("wheel",In,{passive:!1}),ue=document.body.style.overflow,document.body.style.overflow="hidden",Fe.value=!0,ie("show"))}function Un(){Lt==null||Lt(),document.body.style.overflow=ue,Fe.value=!1,ie("close")}function Vn(Mn){ie("switch",Mn)}return watch(()=>le.src,()=>{Sn.value?(Ve.value=!0,Ie.value=!1,An(),Pn()):Cn()}),onMounted(()=>{Sn.value?Pn():Cn()}),(Mn,Fn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:Ue,class:normalizeClass([unref(pe).b(),Mn.$attrs.class]),style:normalizeStyle$1(unref(hn))},[Ie.value?renderSlot(Mn.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(pe).e("error"))},toDisplayString$1(unref(de)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[$e.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(_e),{src:$e.value,loading:Mn.loading,style:unref(vn),class:[unref(pe).e("inner"),unref(_n)&&unref(pe).e("preview"),Ve.value&&unref(pe).is("loading")],onClick:Nn,onLoad:En,onError:wn}),null,16,_hoisted_1$v)):createCommentVNode("v-if",!0),Ve.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(pe).e("wrapper"))},[renderSlot(Mn.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(pe).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(_n)?(openBlock(),createElementBlock(Fragment,{key:2},[Fe.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Mn.zIndex,"initial-index":unref(bn),infinite:Mn.infinite,"zoom-rate":Mn.zoomRate,"url-list":Mn.previewSrcList,"hide-on-click-modal":Mn.hideOnClickModal,teleported:Mn.previewTeleported,"close-on-press-escape":Mn.closeOnPressEscape,onClose:Un,onSwitch:Vn},{default:withCtx(()=>[Mn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$l,[renderSlot(Mn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:oe=>oe===null||isNumber$4(oe)||["min","max"].includes(oe),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:oe=>oe>=0&&oe===Number.parseInt(`${oe}`,10)},validateEvent:{type:Boolean,default:!0}}),inputNumberEmits={[CHANGE_EVENT]:(oe,ie)=>ie!==oe,blur:oe=>oe instanceof FocusEvent,focus:oe=>oe instanceof FocusEvent,[INPUT_EVENT]:oe=>isNumber$4(oe)||isNil(oe),[UPDATE_MODEL_EVENT]:oe=>isNumber$4(oe)||isNil(oe)},_hoisted_1$u=["aria-label","onKeydown"],_hoisted_2$k=["aria-label","onKeydown"],__default__$H=defineComponent({name:"ElInputNumber"}),_sfc_main$_=defineComponent({...__default__$H,props:inputNumberProps,emits:inputNumberEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,{t:de}=useLocale(),pe=useNamespace("input-number"),he=ref(),_e=reactive({currentValue:ue.modelValue,userInput:null}),{formItem:$e}=useFormItem(),Ie=computed(()=>isNumber$4(ue.modelValue)&&ue.modelValue<=ue.min),Ve=computed(()=>isNumber$4(ue.modelValue)&&ue.modelValue>=ue.max),Fe=computed(()=>{const In=hn(ue.step);return isUndefined$1(ue.precision)?Math.max(hn(ue.modelValue),In):(In>ue.precision,ue.precision)}),Ue=computed(()=>ue.controls&&ue.controlsPosition==="right"),qe=useFormSize(),Et=useFormDisabled(),At=computed(()=>{if(_e.userInput!==null)return _e.userInput;let In=_e.currentValue;if(isNil(In))return"";if(isNumber$4(In)){if(Number.isNaN(In))return"";isUndefined$1(ue.precision)||(In=In.toFixed(ue.precision))}return In}),Lt=(In,Nn)=>{if(isUndefined$1(Nn)&&(Nn=Fe.value),Nn===0)return Math.round(In);let Un=String(In);const Vn=Un.indexOf(".");if(Vn===-1||!Un.replace(".","").split("")[Vn+Nn])return In;const Ln=Un.length;return Un.charAt(Ln-1)==="5"&&(Un=`${Un.slice(0,Math.max(0,Ln-1))}6`),Number.parseFloat(Number(Un).toFixed(Nn))},hn=In=>{if(isNil(In))return 0;const Nn=In.toString(),Un=Nn.indexOf(".");let Vn=0;return Un!==-1&&(Vn=Nn.length-Un-1),Vn},vn=(In,Nn=1)=>isNumber$4(In)?Lt(In+ue.step*Nn):_e.currentValue,_n=()=>{if(ue.readonly||Et.value||Ve.value)return;const In=Number(At.value)||0,Nn=vn(In);Cn(Nn),le(INPUT_EVENT,_e.currentValue)},bn=()=>{if(ue.readonly||Et.value||Ie.value)return;const In=Number(At.value)||0,Nn=vn(In,-1);Cn(Nn),le(INPUT_EVENT,_e.currentValue)},Sn=(In,Nn)=>{const{max:Un,min:Vn,step:Mn,precision:Fn,stepStrictly:Ln,valueOnClear:jn}=ue;Un<Vn&&throwError$1("InputNumber","min should not be greater than max.");let Zn=Number(In);if(isNil(In)||Number.isNaN(Zn))return null;if(In===""){if(jn===null)return null;Zn=isString$6(jn)?{min:Vn,max:Un}[jn]:jn}return Ln&&(Zn=Lt(Math.round(Zn/Mn)*Mn,Fn)),isUndefined$1(Fn)||(Zn=Lt(Zn,Fn)),(Zn>Un||Zn<Vn)&&(Zn=Zn>Un?Un:Vn,Nn&&le(UPDATE_MODEL_EVENT,Zn)),Zn},Cn=(In,Nn=!0)=>{var Un;const Vn=_e.currentValue,Mn=Sn(In);if(!Nn){le(UPDATE_MODEL_EVENT,Mn);return}Vn!==Mn&&(_e.userInput=null,le(UPDATE_MODEL_EVENT,Mn),le(CHANGE_EVENT,Mn,Vn),ue.validateEvent&&((Un=$e==null?void 0:$e.validate)==null||Un.call($e,"change").catch(Fn=>void 0)),_e.currentValue=Mn)},En=In=>{_e.userInput=In;const Nn=In===""?null:Number(In);le(INPUT_EVENT,Nn),Cn(Nn,!1)},wn=In=>{const Nn=In!==""?Number(In):"";(isNumber$4(Nn)&&!Number.isNaN(Nn)||In==="")&&Cn(Nn),_e.userInput=null},xn=()=>{var In,Nn;(Nn=(In=he.value)==null?void 0:In.focus)==null||Nn.call(In)},kn=()=>{var In,Nn;(Nn=(In=he.value)==null?void 0:In.blur)==null||Nn.call(In)},Pn=In=>{le("focus",In)},An=In=>{var Nn;le("blur",In),ue.validateEvent&&((Nn=$e==null?void 0:$e.validate)==null||Nn.call($e,"blur").catch(Un=>void 0))};return watch(()=>ue.modelValue,In=>{const Nn=Sn(_e.userInput),Un=Sn(In,!0);!isNumber$4(Nn)&&(!Nn||Nn!==Un)&&(_e.currentValue=Un,_e.userInput=null)},{immediate:!0}),onMounted(()=>{var In;const{min:Nn,max:Un,modelValue:Vn}=ue,Mn=(In=he.value)==null?void 0:In.input;if(Mn.setAttribute("role","spinbutton"),Number.isFinite(Un)?Mn.setAttribute("aria-valuemax",String(Un)):Mn.removeAttribute("aria-valuemax"),Number.isFinite(Nn)?Mn.setAttribute("aria-valuemin",String(Nn)):Mn.removeAttribute("aria-valuemin"),Mn.setAttribute("aria-valuenow",String(_e.currentValue)),Mn.setAttribute("aria-disabled",String(Et.value)),!isNumber$4(Vn)&&Vn!=null){let Fn=Number(Vn);Number.isNaN(Fn)&&(Fn=null),le(UPDATE_MODEL_EVENT,Fn)}}),onUpdated(()=>{var In;const Nn=(In=he.value)==null?void 0:In.input;Nn==null||Nn.setAttribute("aria-valuenow",`${_e.currentValue}`)}),ie({focus:xn,blur:kn}),(In,Nn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(pe).b(),unref(pe).m(unref(qe)),unref(pe).is("disabled",unref(Et)),unref(pe).is("without-controls",!In.controls),unref(pe).is("controls-right",unref(Ue))]),onDragstart:Nn[1]||(Nn[1]=withModifiers(()=>{},["prevent"]))},[In.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(de)("el.inputNumber.decrease"),class:normalizeClass([unref(pe).e("decrease"),unref(pe).is("disabled",unref(Ie))]),onKeydown:withKeys(bn,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ue)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})],42,_hoisted_1$u)),[[unref(vRepeatClick),bn]]):createCommentVNode("v-if",!0),In.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(de)("el.inputNumber.increase"),class:normalizeClass([unref(pe).e("increase"),unref(pe).is("disabled",unref(Ve))]),onKeydown:withKeys(_n,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ue)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})],42,_hoisted_2$k)),[[unref(vRepeatClick),_n]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:In.id,ref_key:"input",ref:he,type:"number",step:In.step,"model-value":unref(At),placeholder:In.placeholder,readonly:In.readonly,disabled:unref(Et),size:unref(qe),max:In.max,min:In.min,name:In.name,label:In.label,"validate-event":!1,onWheel:Nn[0]||(Nn[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(_n,["prevent"]),["up"]),withKeys(withModifiers(bn,["prevent"]),["down"])],onBlur:An,onFocus:Pn,onInput:En,onChange:wn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:iconPropType}}),linkEmits={click:oe=>oe instanceof MouseEvent},_hoisted_1$t=["href"],__default__$G=defineComponent({name:"ElLink"}),_sfc_main$Z=defineComponent({...__default__$G,props:linkProps,emits:linkEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("link"),de=computed(()=>[ue.b(),ue.m(le.type),ue.is("disabled",le.disabled),ue.is("underline",le.underline&&!le.disabled)]);function pe(he){le.disabled||ie("click",he)}return(he,_e)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(de)),href:he.disabled||!he.href?void 0:he.href,onClick:pe},[he.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(he.icon)))]),_:1})):createCommentVNode("v-if",!0),he.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ue).e("inner"))},[renderSlot(he.$slots,"default")],2)):createCommentVNode("v-if",!0),he.$slots.icon?renderSlot(he.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$t))}});var Link=_export_sfc$1(_sfc_main$Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(ie,le){this.parent=ie,this.domNode=le,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(ie){ie===this.subMenuItems.length?ie=0:ie<0&&(ie=this.subMenuItems.length-1),this.subMenuItems[ie].focus(),this.subIndex=ie}addListeners(){const ie=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,le=>{le.addEventListener("keydown",ue=>{let de=!1;switch(ue.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),de=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),de=!0;break}case EVENT_CODE.tab:{triggerEvent(ie,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{de=!0,ue.currentTarget.click();break}}return de&&(ue.preventDefault(),ue.stopPropagation()),!1})})}},MenuItem$1=class{constructor(ie,le){this.domNode=ie,this.submenu=null,this.submenu=null,this.init(le)}init(ie){this.domNode.setAttribute("tabindex","0");const le=this.domNode.querySelector(`.${ie}-menu`);le&&(this.submenu=new SubMenu$1(this,le)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",ie=>{let le=!1;switch(ie.code){case EVENT_CODE.down:{triggerEvent(ie.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),le=!0;break}case EVENT_CODE.up:{triggerEvent(ie.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),le=!0;break}case EVENT_CODE.tab:{triggerEvent(ie.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{le=!0,ie.currentTarget.click();break}}le&&ie.preventDefault()})}},Menu$1=class{constructor(ie,le){this.domNode=ie,this.init(le)}init(ie){const le=this.domNode.childNodes;Array.from(le).forEach(ue=>{ue.nodeType===1&&new MenuItem$1(ue,ie)})}};const _sfc_main$Y=defineComponent({name:"ElMenuCollapseTransition",setup(){const oe=useNamespace("menu");return{listeners:{onBeforeEnter:le=>le.style.opacity="0.2",onEnter(le,ue){addClass(le,`${oe.namespace.value}-opacity-transition`),le.style.opacity="1",ue()},onAfterEnter(le){removeClass(le,`${oe.namespace.value}-opacity-transition`),le.style.opacity=""},onBeforeLeave(le){le.dataset||(le.dataset={}),hasClass(le,oe.m("collapse"))?(removeClass(le,oe.m("collapse")),le.dataset.oldOverflow=le.style.overflow,le.dataset.scrollWidth=le.clientWidth.toString(),addClass(le,oe.m("collapse"))):(addClass(le,oe.m("collapse")),le.dataset.oldOverflow=le.style.overflow,le.dataset.scrollWidth=le.clientWidth.toString(),removeClass(le,oe.m("collapse"))),le.style.width=`${le.scrollWidth}px`,le.style.overflow="hidden"},onLeave(le){addClass(le,"horizontal-collapse-transition"),le.style.width=`${le.dataset.scrollWidth}px`}}}}});function _sfc_render$f(oe,ie,le,ue,de,pe){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},oe.listeners),{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$f],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu(oe,ie){const le=computed(()=>{let de=oe.parent;const pe=[ie.value];for(;de.type.name!=="ElMenu";)de.props.index&&pe.unshift(de.props.index),de=de.parent;return pe});return{parentMenu:computed(()=>{let de=oe.parent;for(;de&&!["ElMenu","ElSubMenu"].includes(de.type.name);)de=de.parent;return de}),indexPath:le}}function useMenuColor(oe){return computed(()=>{const le=oe.backgroundColor;return le?new TinyColor(le).shade(20).toString():""})}const useMenuCssVar=(oe,ie)=>{const le=useNamespace("menu");return computed(()=>le.cssVarBlock({"text-color":oe.textColor||"","hover-text-color":oe.textColor||"","bg-color":oe.backgroundColor||"","hover-bg-color":useMenuColor(oe).value||"","active-color":oe.activeTextColor||"",level:`${ie}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(oe,{slots:ie,expose:le}){useDeprecated({from:"popper-append-to-body",replacement:"teleported",scope:COMPONENT_NAME$c,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},computed(()=>oe.popperAppendToBody!==void 0));const ue=getCurrentInstance(),{indexPath:de,parentMenu:pe}=useMenu(ue,computed(()=>oe.index)),he=useNamespace("menu"),_e=useNamespace("sub-menu"),$e=inject("rootMenu");$e||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const Ie=inject(`subMenu:${pe.value.uid}`);Ie||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const Ve=ref({}),Fe=ref({});let Ue;const qe=ref(!1),Et=ref(),At=ref(null),Lt=computed(()=>Pn.value==="horizontal"&&vn.value?"bottom-start":"right-start"),hn=computed(()=>Pn.value==="horizontal"&&vn.value||Pn.value==="vertical"&&!$e.props.collapse?oe.expandCloseIcon&&oe.expandOpenIcon?Cn.value?oe.expandOpenIcon:oe.expandCloseIcon:arrow_down_default:oe.collapseCloseIcon&&oe.collapseOpenIcon?Cn.value?oe.collapseOpenIcon:oe.collapseCloseIcon:arrow_right_default),vn=computed(()=>Ie.level===0),_n=computed(()=>{var jn;const Zn=(jn=oe.teleported)!=null?jn:oe.popperAppendToBody;return Zn===void 0?vn.value:Zn}),bn=computed(()=>$e.props.collapse?`${he.namespace.value}-zoom-in-left`:`${he.namespace.value}-zoom-in-top`),Sn=computed(()=>Pn.value==="horizontal"&&vn.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),Cn=computed(()=>$e.openedMenus.includes(oe.index)),En=computed(()=>{let jn=!1;return Object.values(Ve.value).forEach(Zn=>{Zn.active&&(jn=!0)}),Object.values(Fe.value).forEach(Zn=>{Zn.active&&(jn=!0)}),jn}),wn=computed(()=>$e.props.backgroundColor||""),xn=computed(()=>$e.props.activeTextColor||""),kn=computed(()=>$e.props.textColor||""),Pn=computed(()=>$e.props.mode),An=reactive({index:oe.index,indexPath:de,active:En}),In=useMenuCssVar($e.props,Ie.level+1),Nn=computed(()=>Pn.value!=="horizontal"?{color:kn.value}:{borderBottomColor:En.value?$e.props.activeTextColor?xn.value:"":"transparent",color:En.value?xn.value:kn.value}),Un=()=>{var jn,Zn,Gn;return(Gn=(Zn=(jn=At.value)==null?void 0:jn.popperRef)==null?void 0:Zn.popperInstanceRef)==null?void 0:Gn.destroy()},Vn=jn=>{jn||Un()},Mn=()=>{$e.props.menuTrigger==="hover"&&$e.props.mode==="horizontal"||$e.props.collapse&&$e.props.mode==="vertical"||oe.disabled||$e.handleSubMenuClick({index:oe.index,indexPath:de.value,active:En.value})},Fn=(jn,Zn=oe.showTimeout)=>{var Gn;jn.type!=="focus"&&($e.props.menuTrigger==="click"&&$e.props.mode==="horizontal"||!$e.props.collapse&&$e.props.mode==="vertical"||oe.disabled||(Ie.mouseInChild.value=!0,Ue==null||Ue(),{stop:Ue}=useTimeoutFn$1(()=>{$e.openMenu(oe.index,de.value)},Zn),_n.value&&((Gn=pe.value.vnode.el)==null||Gn.dispatchEvent(new MouseEvent("mouseenter")))))},Ln=(jn=!1)=>{var Zn,Gn;$e.props.menuTrigger==="click"&&$e.props.mode==="horizontal"||!$e.props.collapse&&$e.props.mode==="vertical"||(Ue==null||Ue(),Ie.mouseInChild.value=!1,{stop:Ue}=useTimeoutFn$1(()=>!qe.value&&$e.closeMenu(oe.index,de.value),oe.hideTimeout),_n.value&&jn&&((Zn=ue.parent)==null?void 0:Zn.type.name)==="ElSubMenu"&&((Gn=Ie.handleMouseleave)==null||Gn.call(Ie,!0)))};watch(()=>$e.props.collapse,jn=>Vn(!!jn));{const jn=Gn=>{Fe.value[Gn.index]=Gn},Zn=Gn=>{delete Fe.value[Gn.index]};provide(`subMenu:${ue.uid}`,{addSubMenu:jn,removeSubMenu:Zn,handleMouseleave:Ln,mouseInChild:qe,level:Ie.level+1})}return le({opened:Cn}),onMounted(()=>{$e.addSubMenu(An),Ie.addSubMenu(An)}),onBeforeUnmount(()=>{Ie.removeSubMenu(An),$e.removeSubMenu(An)}),()=>{var jn;const Zn=[(jn=ie.title)==null?void 0:jn.call(ie),h$3(ElIcon,{class:_e.e("icon-arrow"),style:{transform:Cn.value?oe.expandCloseIcon&&oe.expandOpenIcon||oe.collapseCloseIcon&&oe.collapseOpenIcon&&$e.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$6(hn.value)?h$3(ue.appContext.components[hn.value]):h$3(hn.value)})],Gn=$e.isMenuPopup?h$3(ElTooltip,{ref:At,visible:Cn.value,effect:"light",pure:!0,offset:oe.popperOffset,showArrow:!1,persistent:!0,popperClass:oe.popperClass,placement:Lt.value,teleported:_n.value,fallbackPlacements:Sn.value,transition:bn.value,gpuAcceleration:!1},{content:()=>{var Jn;return h$3("div",{class:[he.m(Pn.value),he.m("popup-container"),oe.popperClass],onMouseenter:lr=>Fn(lr,100),onMouseleave:()=>Ln(!0),onFocus:lr=>Fn(lr,100)},[h$3("ul",{class:[he.b(),he.m("popup"),he.m(`popup-${Lt.value}`)],style:In.value},[(Jn=ie.default)==null?void 0:Jn.call(ie)])])},default:()=>h$3("div",{class:_e.e("title"),style:[Nn.value,{backgroundColor:wn.value}],onClick:Mn},Zn)}):h$3(Fragment,{},[h$3("div",{class:_e.e("title"),style:[Nn.value,{backgroundColor:wn.value}],ref:Et,onClick:Mn},Zn),h$3(_CollapseTransition,{},{default:()=>{var Jn;return withDirectives(h$3("ul",{role:"menu",class:[he.b(),he.m("inline")],style:In.value},[(Jn=ie.default)==null?void 0:Jn.call(ie)]),[[vShow,Cn.value]])}})]);return h$3("li",{class:[_e.b(),_e.is("active",En.value),_e.is("opened",Cn.value),_e.is("disabled",oe.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:Cn.value,onMouseenter:Fn,onMouseleave:()=>Ln(!0),onFocus:Fn},[Gn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),checkIndexPath=oe=>Array.isArray(oe)&&oe.every(ie=>isString$6(ie)),menuEmits={close:(oe,ie)=>isString$6(oe)&&checkIndexPath(ie),open:(oe,ie)=>isString$6(oe)&&checkIndexPath(ie),select:(oe,ie,le,ue)=>isString$6(oe)&&checkIndexPath(ie)&&isObject$9(le)&&(ue===void 0||ue instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(oe,{emit:ie,slots:le,expose:ue}){const de=getCurrentInstance(),pe=de.appContext.config.globalProperties.$router,he=ref(),_e=useNamespace("menu"),$e=useNamespace("sub-menu"),Ie=ref(-1),Ve=ref(oe.defaultOpeneds&&!oe.collapse?oe.defaultOpeneds.slice(0):[]),Fe=ref(oe.defaultActive),Ue=ref({}),qe=ref({}),Et=computed(()=>oe.mode==="horizontal"||oe.mode==="vertical"&&oe.collapse),At=()=>{const Pn=Fe.value&&Ue.value[Fe.value];if(!Pn||oe.mode==="horizontal"||oe.collapse)return;Pn.indexPath.forEach(In=>{const Nn=qe.value[In];Nn&&Lt(In,Nn.indexPath)})},Lt=(Pn,An)=>{Ve.value.includes(Pn)||(oe.uniqueOpened&&(Ve.value=Ve.value.filter(In=>An.includes(In))),Ve.value.push(Pn),ie("open",Pn,An))},hn=Pn=>{const An=Ve.value.indexOf(Pn);An!==-1&&Ve.value.splice(An,1)},vn=(Pn,An)=>{hn(Pn),ie("close",Pn,An)},_n=({index:Pn,indexPath:An})=>{Ve.value.includes(Pn)?vn(Pn,An):Lt(Pn,An)},bn=Pn=>{(oe.mode==="horizontal"||oe.collapse)&&(Ve.value=[]);const{index:An,indexPath:In}=Pn;if(!(isNil(An)||isNil(In)))if(oe.router&&pe){const Nn=Pn.route||An,Un=pe.push(Nn).then(Vn=>(Vn||(Fe.value=An),Vn));ie("select",An,In,{index:An,indexPath:In,route:Nn},Un)}else Fe.value=An,ie("select",An,In,{index:An,indexPath:In})},Sn=Pn=>{const An=Ue.value,In=An[Pn]||Fe.value&&An[Fe.value]||An[oe.defaultActive];In?Fe.value=In.index:Fe.value=Pn},Cn=()=>{var Pn,An;if(!he.value)return-1;const In=Array.from((An=(Pn=he.value)==null?void 0:Pn.childNodes)!=null?An:[]).filter(jn=>jn.nodeName!=="#comment"&&(jn.nodeName!=="#text"||jn.nodeValue)),Nn=64,Un=Number.parseInt(getComputedStyle(he.value).paddingLeft,10),Vn=Number.parseInt(getComputedStyle(he.value).paddingRight,10),Mn=he.value.clientWidth-Un-Vn;let Fn=0,Ln=0;return In.forEach((jn,Zn)=>{Fn+=jn.offsetWidth||0,Fn<=Mn-Nn&&(Ln=Zn+1)}),Ln===In.length?-1:Ln},En=(Pn,An=33.34)=>{let In;return()=>{In&&clearTimeout(In),In=setTimeout(()=>{Pn()},An)}};let wn=!0;const xn=()=>{const Pn=()=>{Ie.value=-1,nextTick(()=>{Ie.value=Cn()})};wn?Pn():En(Pn)(),wn=!1};watch(()=>oe.defaultActive,Pn=>{Ue.value[Pn]||(Fe.value=""),Sn(Pn)}),watch(()=>oe.collapse,Pn=>{Pn&&(Ve.value=[])}),watch(Ue.value,At);let kn;watchEffect(()=>{oe.mode==="horizontal"&&oe.ellipsis?kn=useResizeObserver$1(he,xn).stop:kn==null||kn()});{const Pn=Un=>{qe.value[Un.index]=Un},An=Un=>{delete qe.value[Un.index]};provide("rootMenu",reactive({props:oe,openedMenus:Ve,items:Ue,subMenus:qe,activeIndex:Fe,isMenuPopup:Et,addMenuItem:Un=>{Ue.value[Un.index]=Un},removeMenuItem:Un=>{delete Ue.value[Un.index]},addSubMenu:Pn,removeSubMenu:An,openMenu:Lt,closeMenu:vn,handleMenuItemClick:bn,handleSubMenuClick:_n})),provide(`subMenu:${de.uid}`,{addSubMenu:Pn,removeSubMenu:An,mouseInChild:ref(!1),level:0})}return onMounted(()=>{oe.mode==="horizontal"&&new Menu$1(de.vnode.el,_e.namespace.value)}),ue({open:An=>{const{indexPath:In}=qe.value[An];In.forEach(Nn=>Lt(Nn,In))},close:hn,handleResize:xn}),()=>{var Pn,An;let In=(An=(Pn=le.default)==null?void 0:Pn.call(le))!=null?An:[];const Nn=[];if(oe.mode==="horizontal"&&he.value){const Mn=flattedChildren(In),Fn=Ie.value===-1?Mn:Mn.slice(0,Ie.value),Ln=Ie.value===-1?[]:Mn.slice(Ie.value);Ln!=null&&Ln.length&&oe.ellipsis&&(In=Fn,Nn.push(h$3(SubMenu,{index:"sub-menu-more",class:$e.e("hide-arrow")},{title:()=>h$3(ElIcon,{class:$e.e("icon-more")},{default:()=>h$3(more_default)}),default:()=>Ln})))}const Un=useMenuCssVar(oe,0),Vn=h$3("ul",{key:String(oe.collapse),role:"menubar",ref:he,style:Un.value,class:{[_e.b()]:!0,[_e.m(oe.mode)]:!0,[_e.m("collapse")]:oe.collapse}},[...In,...Nn]);return oe.collapseTransition&&oe.mode==="vertical"?h$3(ElMenuCollapseTransition,()=>Vn):Vn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:oe=>isString$6(oe.index)&&Array.isArray(oe.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$X=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(oe,{emit:ie}){const le=getCurrentInstance(),ue=inject("rootMenu"),de=useNamespace("menu"),pe=useNamespace("menu-item");ue||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:he,indexPath:_e}=useMenu(le,toRef$1(oe,"index")),$e=inject(`subMenu:${he.value.uid}`);$e||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const Ie=computed(()=>oe.index===ue.activeIndex),Ve=reactive({index:oe.index,indexPath:_e,active:Ie}),Fe=()=>{oe.disabled||(ue.handleMenuItemClick({index:oe.index,indexPath:_e.value,route:oe.route}),ie("click",Ve))};return onMounted(()=>{$e.addSubMenu(Ve),ue.addMenuItem(Ve)}),onBeforeUnmount(()=>{$e.removeSubMenu(Ve),ue.removeMenuItem(Ve)}),{parentMenu:he,rootMenu:ue,active:Ie,nsMenu:de,nsMenuItem:pe,handleClick:Fe}}});function _sfc_render$e(oe,ie,le,ue,de,pe){const he=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([oe.nsMenuItem.b(),oe.nsMenuItem.is("active",oe.active),oe.nsMenuItem.is("disabled",oe.disabled)]),role:"menuitem",tabindex:"-1",onClick:ie[0]||(ie[0]=(..._e)=>oe.handleClick&&oe.handleClick(..._e))},[oe.parentMenu.type.name==="ElMenu"&&oe.rootMenu.props.collapse&&oe.$slots.title?(openBlock(),createBlock(he,{key:0,effect:oe.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(oe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(oe.nsMenu.be("tooltip","trigger"))},[renderSlot(oe.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(oe.$slots,"default"),renderSlot(oe.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$e],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$W=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$d(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("li",{class:normalizeClass(oe.ns.b())},[createBaseVNode("div",{class:normalizeClass(oe.ns.e("title"))},[oe.$slots.title?renderSlot(oe.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(oe.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(oe.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$W,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$s=["aria-label"],__default__$F=defineComponent({name:"ElPageHeader"}),_sfc_main$V=defineComponent({...__default__$F,props:pageHeaderProps,emits:pageHeaderEmits,setup(oe,{emit:ie}){const le=useSlots(),{t:ue}=useLocale(),de=useNamespace("page-header"),pe=computed(()=>[de.b(),{[de.m("has-breadcrumb")]:!!le.breadcrumb,[de.m("has-extra")]:!!le.extra,[de.is("contentful")]:!!le.default}]);function he(){ie("back")}return(_e,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(pe))},[_e.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).e("breadcrumb"))},[renderSlot(_e.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(de).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(de).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(de).e("back")),role:"button",tabindex:"0",onClick:he},[_e.icon||_e.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":_e.title||unref(ue)("el.pageHeader.title"),class:normalizeClass(unref(de).e("icon"))},[renderSlot(_e.$slots,"icon",{},()=>[_e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(_e.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$s)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(de).e("title"))},[renderSlot(_e.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(_e.title||unref(ue)("el.pageHeader.title")),1)])],2)],2),createVNode(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(de).e("content"))},[renderSlot(_e.$slots,"content",{},()=>[createTextVNode(toDisplayString$1(_e.content),1)])],2)],2),_e.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).e("extra"))},[renderSlot(_e.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),_e.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(de).e("main"))},[renderSlot(_e.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:oe=>oe instanceof MouseEvent},_hoisted_1$r=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$E=defineComponent({name:"ElPaginationPrev"}),_sfc_main$U=defineComponent({...__default__$E,props:paginationPrevProps,emits:paginationPrevEmits,setup(oe){const ie=oe,{t:le}=useLocale(),ue=computed(()=>ie.disabled||ie.currentPage<=1);return(de,pe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(ue),"aria-label":de.prevText||unref(le)("el.pagination.prev"),"aria-disabled":unref(ue),onClick:pe[0]||(pe[0]=he=>de.$emit("click",he))},[de.prevText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString$1(de.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.prevIcon)))]),_:1}))],8,_hoisted_1$r))}});var Prev=_export_sfc$1(_sfc_main$U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$q=["disabled","aria-label","aria-disabled"],_hoisted_2$i={key:0},__default__$D=defineComponent({name:"ElPaginationNext"}),_sfc_main$T=defineComponent({...__default__$D,props:paginationNextProps,emits:["click"],setup(oe){const ie=oe,{t:le}=useLocale(),ue=computed(()=>ie.disabled||ie.currentPage===ie.pageCount||ie.pageCount===0);return(de,pe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(ue),"aria-label":de.nextText||unref(le)("el.pagination.next"),"aria-disabled":unref(ue),onClick:pe[0]||(pe[0]=he=>de.$emit("click",he))},[de.nextText?(openBlock(),createElementBlock("span",_hoisted_2$i,toDisplayString$1(de.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.nextIcon)))]),_:1}))],8,_hoisted_1$q))}});var Next=_export_sfc$1(_sfc_main$T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(oe,ie){const le=inject(selectKey),ue=inject(selectGroupKey,{disabled:!1}),de=computed(()=>Object.prototype.toString.call(oe.value).toLowerCase()==="[object object]"),pe=computed(()=>le.props.multiple?Fe(le.props.modelValue,oe.value):Ue(oe.value,le.props.modelValue)),he=computed(()=>{if(le.props.multiple){const At=le.props.modelValue||[];return!pe.value&&At.length>=le.props.multipleLimit&&le.props.multipleLimit>0}else return!1}),_e=computed(()=>oe.label||(de.value?"":oe.value)),$e=computed(()=>oe.value||oe.label||""),Ie=computed(()=>oe.disabled||ie.groupDisabled||he.value),Ve=getCurrentInstance(),Fe=(At=[],Lt)=>{if(de.value){const hn=le.props.valueKey;return At&&At.some(vn=>toRaw(get$1(vn,hn))===get$1(Lt,hn))}else return At&&At.includes(Lt)},Ue=(At,Lt)=>{if(de.value){const{valueKey:hn}=le.props;return get$1(At,hn)===get$1(Lt,hn)}else return At===Lt},qe=()=>{!oe.disabled&&!ue.disabled&&(le.hoverIndex=le.optionsArray.indexOf(Ve.proxy))};watch(()=>_e.value,()=>{!oe.created&&!le.props.remote&&le.setSelected()}),watch(()=>oe.value,(At,Lt)=>{const{remote:hn,valueKey:vn}=le.props;if(Object.is(At,Lt)||(le.onOptionDestroy(Lt,Ve.proxy),le.onOptionCreate(Ve.proxy)),!oe.created&&!hn){if(vn&&typeof At=="object"&&typeof Lt=="object"&&At[vn]===Lt[vn])return;le.setSelected()}}),watch(()=>ue.disabled,()=>{ie.groupDisabled=ue.disabled},{immediate:!0});const{queryChange:Et}=toRaw(le);return watch(Et,At=>{const{query:Lt}=unref(At),hn=new RegExp(escapeStringRegexp(Lt),"i");ie.visible=hn.test(_e.value)||oe.created,ie.visible||le.filteredOptionsCount--},{immediate:!0}),{select:le,currentLabel:_e,currentValue:$e,itemSelected:pe,isDisabled:Ie,hoverItem:qe}}const _sfc_main$S=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(oe){const ie=useNamespace("select"),le=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:ue,itemSelected:de,isDisabled:pe,select:he,hoverItem:_e}=useOption$1(oe,le),{visible:$e,hover:Ie}=toRefs(le),Ve=getCurrentInstance().proxy;he.onOptionCreate(Ve),onBeforeUnmount(()=>{const Ue=Ve.value,{selected:qe}=he,At=(he.props.multiple?qe:[qe]).some(Lt=>Lt.value===Ve.value);nextTick(()=>{he.cachedOptions.get(Ue)===Ve&&!At&&he.cachedOptions.delete(Ue)}),he.onOptionDestroy(Ue,Ve)});function Fe(){oe.disabled!==!0&&le.groupDisabled!==!0&&he.handleOptionSelect(Ve)}return{ns:ie,currentLabel:ue,itemSelected:de,isDisabled:pe,select:he,hoverItem:_e,visible:$e,hover:Ie,selectOptionClick:Fe,states:le}}});function _sfc_render$c(oe,ie,le,ue,de,pe){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass([oe.ns.be("dropdown","item"),oe.ns.is("disabled",oe.isDisabled),{selected:oe.itemSelected,hover:oe.hover}]),onMouseenter:ie[0]||(ie[0]=(...he)=>oe.hoverItem&&oe.hoverItem(...he)),onClick:ie[1]||(ie[1]=withModifiers((...he)=>oe.selectOptionClick&&oe.selectOptionClick(...he),["stop"]))},[renderSlot(oe.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString$1(oe.currentLabel),1)])],34)),[[vShow,oe.visible]])}var Option=_export_sfc$1(_sfc_main$S,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const _sfc_main$R=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const oe=inject(selectKey),ie=useNamespace("select"),le=computed(()=>oe.props.popperClass),ue=computed(()=>oe.props.multiple),de=computed(()=>oe.props.fitInputWidth),pe=ref("");function he(){var _e;pe.value=`${(_e=oe.selectWrapper)==null?void 0:_e.offsetWidth}px`}return onMounted(()=>{he(),useResizeObserver$1(oe.selectWrapper,he)}),{ns:ie,minWidth:pe,popperClass:le,isMultiple:ue,isFitInputWidth:de}}});function _sfc_render$b(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("div",{class:normalizeClass([oe.ns.b("dropdown"),oe.ns.is("multiple",oe.isMultiple),oe.popperClass]),style:normalizeStyle$1({[oe.isFitInputWidth?"width":"minWidth"]:oe.minWidth})},[renderSlot(oe.$slots,"default")],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$R,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function useSelectStates(oe){const{t:ie}=useLocale();return reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:oe.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:ie("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,tagInMultiLine:!1,mouseEnter:!1})}let ignoreFocusEvent=!1;const useSelect$2=(oe,ie,le)=>{const{t:ue}=useLocale(),de=useNamespace("select");useDeprecated({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},computed(()=>oe.suffixTransition===!1));const pe=ref(null),he=ref(null),_e=ref(null),$e=ref(null),Ie=ref(null),Ve=ref(null),Fe=ref(null),Ue=ref(-1),qe=shallowRef({query:""}),Et=shallowRef(""),At=ref([]);let Lt=0;const{form:hn,formItem:vn}=useFormItem(),_n=computed(()=>!oe.filterable||oe.multiple||!ie.visible),bn=computed(()=>oe.disabled||(hn==null?void 0:hn.disabled)),Sn=computed(()=>{const Cr=oe.multiple?Array.isArray(oe.modelValue)&&oe.modelValue.length>0:oe.modelValue!==void 0&&oe.modelValue!==null&&oe.modelValue!=="";return oe.clearable&&!bn.value&&ie.inputHovering&&Cr}),Cn=computed(()=>oe.remote&&oe.filterable&&!oe.remoteShowSuffix?"":oe.suffixIcon),En=computed(()=>de.is("reverse",Cn.value&&ie.visible&&oe.suffixTransition)),wn=computed(()=>oe.remote?300:0),xn=computed(()=>oe.loading?oe.loadingText||ue("el.select.loading"):oe.remote&&ie.query===""&&ie.options.size===0?!1:oe.filterable&&ie.query&&ie.options.size>0&&ie.filteredOptionsCount===0?oe.noMatchText||ue("el.select.noMatch"):ie.options.size===0?oe.noDataText||ue("el.select.noData"):null),kn=computed(()=>{const Cr=Array.from(ie.options.values()),Nr=[];return At.value.forEach(Fr=>{const jr=Cr.findIndex(Wr=>Wr.currentLabel===Fr);jr>-1&&Nr.push(Cr[jr])}),Nr.length?Nr:Cr}),Pn=computed(()=>Array.from(ie.cachedOptions.values())),An=computed(()=>{const Cr=kn.value.filter(Nr=>!Nr.created).some(Nr=>Nr.currentLabel===ie.query);return oe.filterable&&oe.allowCreate&&ie.query!==""&&!Cr}),In=useFormSize(),Nn=computed(()=>["small"].includes(In.value)?"small":"default"),Un=computed({get(){return ie.visible&&xn.value!==!1},set(Cr){ie.visible=Cr}});watch([()=>bn.value,()=>In.value,()=>hn==null?void 0:hn.size],()=>{nextTick(()=>{Vn()})}),watch(()=>oe.placeholder,Cr=>{ie.cachedPlaceHolder=ie.currentPlaceholder=Cr,oe.multiple&&Array.isArray(oe.modelValue)&&oe.modelValue.length>0&&(ie.currentPlaceholder="")}),watch(()=>oe.modelValue,(Cr,Nr)=>{oe.multiple&&(Vn(),Cr&&Cr.length>0||he.value&&ie.query!==""?ie.currentPlaceholder="":ie.currentPlaceholder=ie.cachedPlaceHolder,oe.filterable&&!oe.reserveKeyword&&(ie.query="",Mn(ie.query))),jn(),oe.filterable&&!oe.multiple&&(ie.inputLength=20),!isEqual$1(Cr,Nr)&&oe.validateEvent&&(vn==null||vn.validate("change").catch(Fr=>void 0))},{flush:"post",deep:!0}),watch(()=>ie.visible,Cr=>{var Nr,Fr,jr,Wr,qr;Cr?((Fr=(Nr=$e.value)==null?void 0:Nr.updatePopper)==null||Fr.call(Nr),oe.filterable&&(ie.filteredOptionsCount=ie.optionsCount,ie.query=oe.remote?"":ie.selectedLabel,(Wr=(jr=_e.value)==null?void 0:jr.focus)==null||Wr.call(jr),oe.multiple?(qr=he.value)==null||qr.focus():ie.selectedLabel&&(ie.currentPlaceholder=`${ie.selectedLabel}`,ie.selectedLabel=""),Mn(ie.query),!oe.multiple&&!oe.remote&&(qe.value.query="",triggerRef(qe),triggerRef(Et)))):(oe.filterable&&(isFunction$5(oe.filterMethod)&&oe.filterMethod(""),isFunction$5(oe.remoteMethod)&&oe.remoteMethod("")),he.value&&he.value.blur(),ie.query="",ie.previousQuery=null,ie.selectedLabel="",ie.inputLength=20,ie.menuVisibleOnFocus=!1,Gn(),nextTick(()=>{he.value&&he.value.value===""&&ie.selected.length===0&&(ie.currentPlaceholder=ie.cachedPlaceHolder)}),oe.multiple||(ie.selected&&(oe.filterable&&oe.allowCreate&&ie.createdSelected&&ie.createdLabel?ie.selectedLabel=ie.createdLabel:ie.selectedLabel=ie.selected.currentLabel,oe.filterable&&(ie.query=ie.selectedLabel)),oe.filterable&&(ie.currentPlaceholder=ie.cachedPlaceHolder))),le.emit("visible-change",Cr)}),watch(()=>ie.options.entries(),()=>{var Cr,Nr,Fr;if(!isClient$1)return;(Nr=(Cr=$e.value)==null?void 0:Cr.updatePopper)==null||Nr.call(Cr),oe.multiple&&Vn();const jr=((Fr=Ve.value)==null?void 0:Fr.querySelectorAll("input"))||[];Array.from(jr).includes(document.activeElement)||jn(),oe.defaultFirstOption&&(oe.filterable||oe.remote)&&ie.filteredOptionsCount&&Ln()},{flush:"post"}),watch(()=>ie.hoverIndex,Cr=>{isNumber$4(Cr)&&Cr>-1?Ue.value=kn.value[Cr]||{}:Ue.value={},kn.value.forEach(Nr=>{Nr.hover=Ue.value===Nr})});const Vn=()=>{nextTick(()=>{var Cr,Nr;if(!pe.value)return;const Fr=pe.value.$el.querySelector("input");Lt=Lt||(Fr.clientHeight>0?Fr.clientHeight+2:0);const jr=Ie.value,Wr=getComponentSize(In.value||(hn==null?void 0:hn.size)),qr=In.value||Wr===Lt||Lt<=0?Wr:Lt;!(Fr.offsetParent===null)&&(Fr.style.height=`${(ie.selected.length===0?qr:Math.max(jr?jr.clientHeight+(jr.clientHeight>qr?6:0):0,qr))-2}px`),ie.tagInMultiLine=Number.parseFloat(Fr.style.height)>=qr,ie.visible&&xn.value!==!1&&((Nr=(Cr=$e.value)==null?void 0:Cr.updatePopper)==null||Nr.call(Cr))})},Mn=async Cr=>{if(!(ie.previousQuery===Cr||ie.isOnComposition)){if(ie.previousQuery===null&&(isFunction$5(oe.filterMethod)||isFunction$5(oe.remoteMethod))){ie.previousQuery=Cr;return}ie.previousQuery=Cr,nextTick(()=>{var Nr,Fr;ie.visible&&((Fr=(Nr=$e.value)==null?void 0:Nr.updatePopper)==null||Fr.call(Nr))}),ie.hoverIndex=-1,oe.multiple&&oe.filterable&&nextTick(()=>{const Nr=he.value.value.length*15+20;ie.inputLength=oe.collapseTags?Math.min(50,Nr):Nr,Fn(),Vn()}),oe.remote&&isFunction$5(oe.remoteMethod)?(ie.hoverIndex=-1,oe.remoteMethod(Cr)):isFunction$5(oe.filterMethod)?(oe.filterMethod(Cr),triggerRef(Et)):(ie.filteredOptionsCount=ie.optionsCount,qe.value.query=Cr,triggerRef(qe),triggerRef(Et)),oe.defaultFirstOption&&(oe.filterable||oe.remote)&&ie.filteredOptionsCount&&(await nextTick(),Ln())}},Fn=()=>{ie.currentPlaceholder!==""&&(ie.currentPlaceholder=he.value.value?"":ie.cachedPlaceHolder)},Ln=()=>{const Cr=kn.value.filter(jr=>jr.visible&&!jr.disabled&&!jr.states.groupDisabled),Nr=Cr.find(jr=>jr.created),Fr=Cr[0];ie.hoverIndex=er(kn.value,Nr||Fr)},jn=()=>{var Cr;if(oe.multiple)ie.selectedLabel="";else{const Fr=Zn(oe.modelValue);(Cr=Fr.props)!=null&&Cr.created?(ie.createdLabel=Fr.props.value,ie.createdSelected=!0):ie.createdSelected=!1,ie.selectedLabel=Fr.currentLabel,ie.selected=Fr,oe.filterable&&(ie.query=ie.selectedLabel);return}const Nr=[];Array.isArray(oe.modelValue)&&oe.modelValue.forEach(Fr=>{Nr.push(Zn(Fr))}),ie.selected=Nr,nextTick(()=>{Vn()})},Zn=Cr=>{let Nr;const Fr=toRawType(Cr).toLowerCase()==="object",jr=toRawType(Cr).toLowerCase()==="null",Wr=toRawType(Cr).toLowerCase()==="undefined";for(let Pr=ie.cachedOptions.size-1;Pr>=0;Pr--){const Rr=Pn.value[Pr];if(Fr?get$1(Rr.value,oe.valueKey)===get$1(Cr,oe.valueKey):Rr.value===Cr){Nr={value:Cr,currentLabel:Rr.currentLabel,isDisabled:Rr.isDisabled};break}}if(Nr)return Nr;const qr=Fr?Cr.label:!jr&&!Wr?Cr:"",Jr={value:Cr,currentLabel:qr};return oe.multiple&&(Jr.hitState=!1),Jr},Gn=()=>{setTimeout(()=>{const Cr=oe.valueKey;oe.multiple?ie.selected.length>0?ie.hoverIndex=Math.min.apply(null,ie.selected.map(Nr=>kn.value.findIndex(Fr=>get$1(Fr,Cr)===get$1(Nr,Cr)))):ie.hoverIndex=-1:ie.hoverIndex=kn.value.findIndex(Nr=>xr(Nr)===xr(ie.selected))},300)},Jn=()=>{var Cr,Nr;lr(),(Nr=(Cr=$e.value)==null?void 0:Cr.updatePopper)==null||Nr.call(Cr),oe.multiple&&Vn()},lr=()=>{var Cr;ie.inputWidth=(Cr=pe.value)==null?void 0:Cr.$el.offsetWidth},yr=()=>{oe.filterable&&ie.query!==ie.selectedLabel&&(ie.query=ie.selectedLabel,Mn(ie.query))},ir=debounce(()=>{yr()},wn.value),qn=debounce(Cr=>{Mn(Cr.target.value)},wn.value),Yn=Cr=>{isEqual$1(oe.modelValue,Cr)||le.emit(CHANGE_EVENT,Cr)},Xn=Cr=>{if(Cr.code!==EVENT_CODE.delete){if(Cr.target.value.length<=0&&!br()){const Nr=oe.modelValue.slice();Nr.pop(),le.emit(UPDATE_MODEL_EVENT,Nr),Yn(Nr)}Cr.target.value.length===1&&oe.modelValue.length===0&&(ie.currentPlaceholder=ie.cachedPlaceHolder)}},or=(Cr,Nr)=>{const Fr=ie.selected.indexOf(Nr);if(Fr>-1&&!bn.value){const jr=oe.modelValue.slice();jr.splice(Fr,1),le.emit(UPDATE_MODEL_EVENT,jr),Yn(jr),le.emit("remove-tag",Nr.value)}Cr.stopPropagation()},_r=Cr=>{Cr.stopPropagation();const Nr=oe.multiple?[]:"";if(!isString$6(Nr))for(const Fr of ie.selected)Fr.isDisabled&&Nr.push(Fr.value);le.emit(UPDATE_MODEL_EVENT,Nr),Yn(Nr),ie.hoverIndex=-1,ie.visible=!1,le.emit("clear")},Kn=Cr=>{var Nr;if(oe.multiple){const Fr=(oe.modelValue||[]).slice(),jr=er(Fr,Cr.value);jr>-1?Fr.splice(jr,1):(oe.multipleLimit<=0||Fr.length<oe.multipleLimit)&&Fr.push(Cr.value),le.emit(UPDATE_MODEL_EVENT,Fr),Yn(Fr),Cr.created&&(ie.query="",Mn(""),ie.inputLength=20),oe.filterable&&((Nr=he.value)==null||Nr.focus())}else le.emit(UPDATE_MODEL_EVENT,Cr.value),Yn(Cr.value),ie.visible=!1;ar(),!ie.visible&&nextTick(()=>{gr(Cr)})},er=(Cr=[],Nr)=>{if(!isObject$9(Nr))return Cr.indexOf(Nr);const Fr=oe.valueKey;let jr=-1;return Cr.some((Wr,qr)=>toRaw(get$1(Wr,Fr))===get$1(Nr,Fr)?(jr=qr,!0):!1),jr},ar=()=>{const Cr=he.value||pe.value;Cr&&(Cr==null||Cr.focus())},gr=Cr=>{var Nr,Fr,jr,Wr,qr;const Jr=Array.isArray(Cr)?Cr[0]:Cr;let Pr=null;if(Jr!=null&&Jr.value){const Rr=kn.value.filter(Gr=>Gr.value===Jr.value);Rr.length>0&&(Pr=Rr[0].$el)}if($e.value&&Pr){const Rr=(Wr=(jr=(Fr=(Nr=$e.value)==null?void 0:Nr.popperRef)==null?void 0:Fr.contentRef)==null?void 0:jr.querySelector)==null?void 0:Wr.call(jr,`.${de.be("dropdown","wrap")}`);Rr&&scrollIntoView(Rr,Pr)}(qr=Fe.value)==null||qr.handleScroll()},Er=Cr=>{ie.optionsCount++,ie.filteredOptionsCount++,ie.options.set(Cr.value,Cr),ie.cachedOptions.set(Cr.value,Cr)},cr=(Cr,Nr)=>{ie.options.get(Cr)===Nr&&(ie.optionsCount--,ie.filteredOptionsCount--,ie.options.delete(Cr))},Ar=Cr=>{Cr.code!==EVENT_CODE.backspace&&br(!1),ie.inputLength=he.value.value.length*15+20,Vn()},br=Cr=>{if(!Array.isArray(ie.selected))return;const Nr=ie.selected[ie.selected.length-1];if(Nr)return Cr===!0||Cr===!1?(Nr.hitState=Cr,Cr):(Nr.hitState=!Nr.hitState,Nr.hitState)},kr=Cr=>{const Nr=Cr.target.value;if(Cr.type==="compositionend")ie.isOnComposition=!1,nextTick(()=>Mn(Nr));else{const Fr=Nr[Nr.length-1]||"";ie.isOnComposition=!isKorean(Fr)}},mr=()=>{nextTick(()=>gr(ie.selected))},ur=Cr=>{ignoreFocusEvent?ignoreFocusEvent=!1:((oe.automaticDropdown||oe.filterable)&&(oe.filterable&&!ie.visible&&(ie.menuVisibleOnFocus=!0),ie.visible=!0),le.emit("focus",Cr))},fr=()=>{var Cr,Nr,Fr;ie.visible=!1,(Cr=pe.value)==null||Cr.blur(),(Fr=(Nr=_e.value)==null?void 0:Nr.blur)==null||Fr.call(Nr)},pr=Cr=>{setTimeout(()=>{var Nr;if((Nr=$e.value)!=null&&Nr.isFocusInsideContent()){ignoreFocusEvent=!0;return}ie.visible&&Lr(),le.emit("blur",Cr)})},Or=Cr=>{_r(Cr)},Lr=()=>{ie.visible=!1},Vr=Cr=>{ie.visible&&(Cr.preventDefault(),Cr.stopPropagation(),ie.visible=!1)},Dr=Cr=>{var Nr;Cr&&!ie.mouseEnter||bn.value||(ie.menuVisibleOnFocus?ie.menuVisibleOnFocus=!1:(!$e.value||!$e.value.isFocusInsideContent())&&(ie.visible=!ie.visible),ie.visible&&((Nr=he.value||pe.value)==null||Nr.focus()))},$r=()=>{ie.visible?kn.value[ie.hoverIndex]&&Kn(kn.value[ie.hoverIndex]):Dr()},xr=Cr=>isObject$9(Cr.value)?get$1(Cr.value,oe.valueKey):Cr.value,dr=computed(()=>kn.value.filter(Cr=>Cr.visible).every(Cr=>Cr.disabled)),Qn=computed(()=>ie.selected.slice(0,oe.maxCollapseTags)),sr=computed(()=>ie.selected.slice(oe.maxCollapseTags)),wr=Cr=>{if(!ie.visible){ie.visible=!0;return}if(!(ie.options.size===0||ie.filteredOptionsCount===0)&&!ie.isOnComposition&&!dr.value){Cr==="next"?(ie.hoverIndex++,ie.hoverIndex===ie.options.size&&(ie.hoverIndex=0)):Cr==="prev"&&(ie.hoverIndex--,ie.hoverIndex<0&&(ie.hoverIndex=ie.options.size-1));const Nr=kn.value[ie.hoverIndex];(Nr.disabled===!0||Nr.states.groupDisabled===!0||!Nr.visible)&&wr(Cr),nextTick(()=>gr(Ue.value))}};return{optionList:At,optionsArray:kn,selectSize:In,handleResize:Jn,debouncedOnInputChange:ir,debouncedQueryChange:qn,deletePrevTag:Xn,deleteTag:or,deleteSelected:_r,handleOptionSelect:Kn,scrollToOption:gr,readonly:_n,resetInputHeight:Vn,showClose:Sn,iconComponent:Cn,iconReverse:En,showNewOption:An,collapseTagSize:Nn,setSelected:jn,managePlaceholder:Fn,selectDisabled:bn,emptyText:xn,toggleLastOptionHitState:br,resetInputState:Ar,handleComposition:kr,onOptionCreate:Er,onOptionDestroy:cr,handleMenuEnter:mr,handleFocus:ur,blur:fr,handleBlur:pr,handleClearClick:Or,handleClose:Lr,handleKeydownEscape:Vr,toggleMenu:Dr,selectOption:$r,getValueKey:xr,navigateOptions:wr,dropMenuVisible:Un,queryChange:qe,groupQueryChange:Et,showTagList:Qn,collapseTagList:sr,reference:pe,input:he,iOSInput:_e,tooltipRef:$e,tags:Ie,selectWrapper:Ve,scrollbar:Fe,handleMouseEnter:()=>{ie.mouseEnter=!0},handleMouseLeave:()=>{ie.mouseEnter=!1}}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup(oe,{slots:ie,emit:le}){let ue=[];function de(pe,he){if(pe.length!==he.length)return!1;for(const[_e]of pe.entries())if(pe[_e]!=he[_e])return!1;return!0}return()=>{var pe,he;const _e=(pe=ie.default)==null?void 0:pe.call(ie),$e=[];function Ie(Ve){Array.isArray(Ve)&&Ve.forEach(Fe=>{var Ue,qe,Et,At;const Lt=(Ue=(Fe==null?void 0:Fe.type)||{})==null?void 0:Ue.name;Lt==="ElOptionGroup"?Ie(!isString$6(Fe.children)&&!Array.isArray(Fe.children)&&isFunction$5((qe=Fe.children)==null?void 0:qe.default)?(Et=Fe.children)==null?void 0:Et.default():Fe.children):Lt==="ElOption"?$e.push((At=Fe.props)==null?void 0:At.label):Array.isArray(Fe.children)&&Ie(Fe.children)})}return _e.length&&Ie((he=_e[0])==null?void 0:he.children),de($e,ue)||(ue=$e,le("update-options",$e)),_e}}});const COMPONENT_NAME$9="ElSelect",_sfc_main$Q=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:isValidComponentSize},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod: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:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean,default:!1},suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Ee,default:"bottom-start"}},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(oe,ie){const le=useNamespace("select"),ue=useNamespace("input"),{t:de}=useLocale(),pe=useSelectStates(oe),{optionList:he,optionsArray:_e,selectSize:$e,readonly:Ie,handleResize:Ve,collapseTagSize:Fe,debouncedOnInputChange:Ue,debouncedQueryChange:qe,deletePrevTag:Et,deleteTag:At,deleteSelected:Lt,handleOptionSelect:hn,scrollToOption:vn,setSelected:_n,resetInputHeight:bn,managePlaceholder:Sn,showClose:Cn,selectDisabled:En,iconComponent:wn,iconReverse:xn,showNewOption:kn,emptyText:Pn,toggleLastOptionHitState:An,resetInputState:In,handleComposition:Nn,onOptionCreate:Un,onOptionDestroy:Vn,handleMenuEnter:Mn,handleFocus:Fn,blur:Ln,handleBlur:jn,handleClearClick:Zn,handleClose:Gn,handleKeydownEscape:Jn,toggleMenu:lr,selectOption:yr,getValueKey:ir,navigateOptions:qn,dropMenuVisible:Yn,reference:Xn,input:or,iOSInput:_r,tooltipRef:Kn,tags:er,selectWrapper:ar,scrollbar:gr,queryChange:Er,groupQueryChange:cr,handleMouseEnter:Ar,handleMouseLeave:br,showTagList:kr,collapseTagList:mr}=useSelect$2(oe,pe,ie),{focus:ur}=useFocus(Xn),{inputWidth:fr,selected:pr,inputLength:Or,filteredOptionsCount:Lr,visible:Vr,selectedLabel:Dr,hoverIndex:$r,query:xr,inputHovering:dr,currentPlaceholder:Qn,menuVisibleOnFocus:sr,isOnComposition:wr,options:Ir,cachedOptions:zr,optionsCount:Cr,prefixWidth:Nr,tagInMultiLine:Fr}=toRefs(pe),jr=computed(()=>{const Rr=[le.b()],Gr=unref($e);return Gr&&Rr.push(le.m(Gr)),oe.disabled&&Rr.push(le.m("disabled")),Rr}),Wr=computed(()=>({maxWidth:`${unref(fr)-32}px`,width:"100%"})),qr=computed(()=>({maxWidth:`${unref(fr)>123?unref(fr)-123:unref(fr)-75}px`}));provide(selectKey,reactive({props:oe,options:Ir,optionsArray:_e,cachedOptions:zr,optionsCount:Cr,filteredOptionsCount:Lr,hoverIndex:$r,handleOptionSelect:hn,onOptionCreate:Un,onOptionDestroy:Vn,selectWrapper:ar,selected:pr,setSelected:_n,queryChange:Er,groupQueryChange:cr})),onMounted(()=>{pe.cachedPlaceHolder=Qn.value=oe.placeholder||(()=>de("el.select.placeholder")),oe.multiple&&Array.isArray(oe.modelValue)&&oe.modelValue.length>0&&(Qn.value=""),useResizeObserver$1(ar,Ve),oe.remote&&oe.multiple&&bn(),nextTick(()=>{const Rr=Xn.value&&Xn.value.$el;if(Rr&&(fr.value=Rr.getBoundingClientRect().width,ie.slots.prefix)){const Gr=Rr.querySelector(`.${ue.e("prefix")}`);Nr.value=Math.max(Gr.getBoundingClientRect().width+5,30)}}),_n()}),oe.multiple&&!Array.isArray(oe.modelValue)&&ie.emit(UPDATE_MODEL_EVENT,[]),!oe.multiple&&Array.isArray(oe.modelValue)&&ie.emit(UPDATE_MODEL_EVENT,"");const Jr=computed(()=>{var Rr,Gr;return(Gr=(Rr=Kn.value)==null?void 0:Rr.popperRef)==null?void 0:Gr.contentRef});return{isIOS:isIOS$1,onOptionsRendered:Rr=>{he.value=Rr},tagInMultiLine:Fr,prefixWidth:Nr,selectSize:$e,readonly:Ie,handleResize:Ve,collapseTagSize:Fe,debouncedOnInputChange:Ue,debouncedQueryChange:qe,deletePrevTag:Et,deleteTag:At,deleteSelected:Lt,handleOptionSelect:hn,scrollToOption:vn,inputWidth:fr,selected:pr,inputLength:Or,filteredOptionsCount:Lr,visible:Vr,selectedLabel:Dr,hoverIndex:$r,query:xr,inputHovering:dr,currentPlaceholder:Qn,menuVisibleOnFocus:sr,isOnComposition:wr,options:Ir,resetInputHeight:bn,managePlaceholder:Sn,showClose:Cn,selectDisabled:En,iconComponent:wn,iconReverse:xn,showNewOption:kn,emptyText:Pn,toggleLastOptionHitState:An,resetInputState:In,handleComposition:Nn,handleMenuEnter:Mn,handleFocus:Fn,blur:Ln,handleBlur:jn,handleClearClick:Zn,handleClose:Gn,handleKeydownEscape:Jn,toggleMenu:lr,selectOption:yr,getValueKey:ir,navigateOptions:qn,dropMenuVisible:Yn,focus:ur,reference:Xn,input:or,iOSInput:_r,tooltipRef:Kn,popperPaneRef:Jr,tags:er,selectWrapper:ar,scrollbar:gr,wrapperKls:jr,selectTagsStyle:Wr,nsSelect:le,tagTextStyle:qr,handleMouseEnter:Ar,handleMouseLeave:br,showTagList:kr,collapseTagList:mr}}}),_hoisted_1$p=["disabled","autocomplete"],_hoisted_2$h=["disabled"],_hoisted_3$a={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _sfc_render$a(oe,ie,le,ue,de,pe){const he=resolveComponent("el-tag"),_e=resolveComponent("el-tooltip"),$e=resolveComponent("el-icon"),Ie=resolveComponent("el-input"),Ve=resolveComponent("el-option"),Fe=resolveComponent("el-options"),Ue=resolveComponent("el-scrollbar"),qe=resolveComponent("el-select-menu"),Et=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass(oe.wrapperKls),onMouseenter:ie[21]||(ie[21]=(...At)=>oe.handleMouseEnter&&oe.handleMouseEnter(...At)),onMouseleave:ie[22]||(ie[22]=(...At)=>oe.handleMouseLeave&&oe.handleMouseLeave(...At)),onClick:ie[23]||(ie[23]=withModifiers((...At)=>oe.toggleMenu&&oe.toggleMenu(...At),["stop"]))},[createVNode(_e,{ref:"tooltipRef",visible:oe.dropMenuVisible,placement:oe.placement,teleported:oe.teleported,"popper-class":[oe.nsSelect.e("popper"),oe.popperClass],"popper-options":oe.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:oe.effect,pure:"",trigger:"click",transition:`${oe.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:oe.persistent,onShow:oe.handleMenuEnter},{default:withCtx(()=>[createBaseVNode("div",{class:"select-trigger",onMouseenter:ie[19]||(ie[19]=At=>oe.inputHovering=!0),onMouseleave:ie[20]||(ie[20]=At=>oe.inputHovering=!1)},[oe.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"tags",class:normalizeClass([oe.nsSelect.e("tags"),oe.nsSelect.is("disabled",oe.selectDisabled)]),style:normalizeStyle$1(oe.selectTagsStyle)},[oe.collapseTags&&oe.selected.length?(openBlock(),createBlock(Transition,{key:0,onAfterLeave:oe.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([oe.nsSelect.b("tags-wrapper"),{"has-prefix":oe.prefixWidth&&oe.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.showTagList,At=>(openBlock(),createBlock(he,{key:oe.getValueKey(At),closable:!oe.selectDisabled&&!At.isDisabled,size:oe.collapseTagSize,hit:At.hitState,type:oe.tagType,"disable-transitions":"",onClose:Lt=>oe.deleteTag(Lt,At)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelect.e("tags-text")),style:normalizeStyle$1(oe.tagTextStyle)},toDisplayString$1(At.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),oe.selected.length>oe.maxCollapseTags?(openBlock(),createBlock(he,{key:0,closable:!1,size:oe.collapseTagSize,type:oe.tagType,"disable-transitions":""},{default:withCtx(()=>[oe.collapseTagsTooltip?(openBlock(),createBlock(_e,{key:0,disabled:oe.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:oe.effect,placement:"bottom",teleported:oe.teleported},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelect.e("tags-text"))},"+ "+toDisplayString$1(oe.selected.length-oe.maxCollapseTags),3)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(oe.nsSelect.e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.collapseTagList,At=>(openBlock(),createElementBlock("div",{key:oe.getValueKey(At),class:normalizeClass(oe.nsSelect.e("collapse-tag"))},[createVNode(he,{class:"in-tooltip",closable:!oe.selectDisabled&&!At.isDisabled,size:oe.collapseTagSize,hit:At.hitState,type:oe.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:Lt=>oe.deleteTag(Lt,At)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:oe.inputWidth-75+"px"})},toDisplayString$1(At.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(oe.nsSelect.e("tags-text"))},"+ "+toDisplayString$1(oe.selected.length-oe.maxCollapseTags),3))]),_:1},8,["size","type"])):createCommentVNode("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):createCommentVNode("v-if",!0),oe.collapseTags?createCommentVNode("v-if",!0):(openBlock(),createBlock(Transition,{key:1,onAfterLeave:oe.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([oe.nsSelect.b("tags-wrapper"),{"has-prefix":oe.prefixWidth&&oe.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.selected,At=>(openBlock(),createBlock(he,{key:oe.getValueKey(At),closable:!oe.selectDisabled&&!At.isDisabled,size:oe.collapseTagSize,hit:At.hitState,type:oe.tagType,"disable-transitions":"",onClose:Lt=>oe.deleteTag(Lt,At)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:oe.inputWidth-75+"px"})},toDisplayString$1(At.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),oe.filterable?withDirectives((openBlock(),createElementBlock("input",{key:2,ref:"input","onUpdate:modelValue":ie[0]||(ie[0]=At=>oe.query=At),type:"text",class:normalizeClass([oe.nsSelect.e("input"),oe.nsSelect.is(oe.selectSize),oe.nsSelect.is("disabled",oe.selectDisabled)]),disabled:oe.selectDisabled,autocomplete:oe.autocomplete,style:normalizeStyle$1({marginLeft:oe.prefixWidth&&!oe.selected.length||oe.tagInMultiLine?`${oe.prefixWidth}px`:"",flexGrow:1,width:`${oe.inputLength/(oe.inputWidth-32)}%`,maxWidth:`${oe.inputWidth-42}px`}),onFocus:ie[1]||(ie[1]=(...At)=>oe.handleFocus&&oe.handleFocus(...At)),onBlur:ie[2]||(ie[2]=(...At)=>oe.handleBlur&&oe.handleBlur(...At)),onKeyup:ie[3]||(ie[3]=(...At)=>oe.managePlaceholder&&oe.managePlaceholder(...At)),onKeydown:[ie[4]||(ie[4]=(...At)=>oe.resetInputState&&oe.resetInputState(...At)),ie[5]||(ie[5]=withKeys(withModifiers(At=>oe.navigateOptions("next"),["prevent"]),["down"])),ie[6]||(ie[6]=withKeys(withModifiers(At=>oe.navigateOptions("prev"),["prevent"]),["up"])),ie[7]||(ie[7]=withKeys((...At)=>oe.handleKeydownEscape&&oe.handleKeydownEscape(...At),["esc"])),ie[8]||(ie[8]=withKeys(withModifiers((...At)=>oe.selectOption&&oe.selectOption(...At),["stop","prevent"]),["enter"])),ie[9]||(ie[9]=withKeys((...At)=>oe.deletePrevTag&&oe.deletePrevTag(...At),["delete"])),ie[10]||(ie[10]=withKeys(At=>oe.visible=!1,["tab"]))],onCompositionstart:ie[11]||(ie[11]=(...At)=>oe.handleComposition&&oe.handleComposition(...At)),onCompositionupdate:ie[12]||(ie[12]=(...At)=>oe.handleComposition&&oe.handleComposition(...At)),onCompositionend:ie[13]||(ie[13]=(...At)=>oe.handleComposition&&oe.handleComposition(...At)),onInput:ie[14]||(ie[14]=(...At)=>oe.debouncedQueryChange&&oe.debouncedQueryChange(...At))},null,46,_hoisted_1$p)),[[vModelText,oe.query]]):createCommentVNode("v-if",!0)],6)):createCommentVNode("v-if",!0),createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),oe.isIOS&&!oe.multiple&&oe.filterable&&oe.readonly?(openBlock(),createElementBlock("input",{key:1,ref:"iOSInput",class:normalizeClass([oe.nsSelect.e("input"),oe.nsSelect.is(oe.selectSize),oe.nsSelect.em("input","iOS")]),disabled:oe.selectDisabled,type:"text"},null,10,_hoisted_2$h)):createCommentVNode("v-if",!0),createVNode(Ie,{id:oe.id,ref:"reference",modelValue:oe.selectedLabel,"onUpdate:modelValue":ie[15]||(ie[15]=At=>oe.selectedLabel=At),type:"text",placeholder:typeof oe.currentPlaceholder=="function"?oe.currentPlaceholder():oe.currentPlaceholder,name:oe.name,autocomplete:oe.autocomplete,size:oe.selectSize,disabled:oe.selectDisabled,readonly:oe.readonly,"validate-event":!1,class:normalizeClass([oe.nsSelect.is("focus",oe.visible)]),tabindex:oe.multiple&&oe.filterable?-1:void 0,onFocus:oe.handleFocus,onBlur:oe.handleBlur,onInput:oe.debouncedOnInputChange,onPaste:oe.debouncedOnInputChange,onCompositionstart:oe.handleComposition,onCompositionupdate:oe.handleComposition,onCompositionend:oe.handleComposition,onKeydown:[ie[16]||(ie[16]=withKeys(withModifiers(At=>oe.navigateOptions("next"),["stop","prevent"]),["down"])),ie[17]||(ie[17]=withKeys(withModifiers(At=>oe.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers(oe.selectOption,["stop","prevent"]),["enter"]),withKeys(oe.handleKeydownEscape,["esc"]),ie[18]||(ie[18]=withKeys(At=>oe.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[oe.iconComponent&&!oe.showClose?(openBlock(),createBlock($e,{key:0,class:normalizeClass([oe.nsSelect.e("caret"),oe.nsSelect.e("icon"),oe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),oe.showClose&&oe.clearIcon?(openBlock(),createBlock($e,{key:1,class:normalizeClass([oe.nsSelect.e("caret"),oe.nsSelect.e("icon")]),onClick:oe.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:2},[oe.$slots.prefix?{name:"prefix",fn:withCtx(()=>[createBaseVNode("div",_hoisted_3$a,[renderSlot(oe.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:withCtx(()=>[createVNode(qe,null,{default:withCtx(()=>[withDirectives(createVNode(Ue,{ref:"scrollbar",tag:"ul","wrap-class":oe.nsSelect.be("dropdown","wrap"),"view-class":oe.nsSelect.be("dropdown","list"),class:normalizeClass([oe.nsSelect.is("empty",!oe.allowCreate&&!!oe.query&&oe.filteredOptionsCount===0)])},{default:withCtx(()=>[oe.showNewOption?(openBlock(),createBlock(Ve,{key:0,value:oe.query,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode(Fe,{onUpdateOptions:oe.onOptionsRendered},{default:withCtx(()=>[renderSlot(oe.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[vShow,oe.options.size>0&&!oe.loading]]),oe.emptyText&&(!oe.allowCreate||oe.loading||oe.allowCreate&&oe.options.size===0)?(openBlock(),createElementBlock(Fragment,{key:0},[oe.$slots.empty?renderSlot(oe.$slots,"empty",{key:0}):(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(oe.nsSelect.be("dropdown","empty"))},toDisplayString$1(oe.emptyText),3))],64)):createCommentVNode("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[Et,oe.handleClose,oe.popperPaneRef]])}var Select$1=_export_sfc$1(_sfc_main$Q,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const _sfc_main$P=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(oe){const ie=useNamespace("select"),le=ref(!0),ue=getCurrentInstance(),de=ref([]);provide(selectGroupKey,reactive({...toRefs(oe)}));const pe=inject(selectKey);onMounted(()=>{de.value=he(ue.subTree)});const he=$e=>{const Ie=[];return Array.isArray($e.children)&&$e.children.forEach(Ve=>{var Fe;Ve.type&&Ve.type.name==="ElOption"&&Ve.component&&Ve.component.proxy?Ie.push(Ve.component.proxy):(Fe=Ve.children)!=null&&Fe.length&&Ie.push(...he(Ve))}),Ie},{groupQueryChange:_e}=toRaw(pe);return watch(_e,()=>{le.value=de.value.some($e=>$e.visible===!0)},{flush:"post"}),{visible:le,ns:ie}}});function _sfc_render$9(oe,ie,le,ue,de,pe){return withDirectives((openBlock(),createElementBlock("ul",{class:normalizeClass(oe.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(oe.ns.be("group","title"))},toDisplayString$1(oe.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(oe.ns.b("group"))},[renderSlot(oe.$slots,"default")],2)])],2)),[[vShow,oe.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$P,[["render",_sfc_render$9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,size:{type:String,values:componentSizes}}),__default__$C=defineComponent({name:"ElPaginationSizes"}),_sfc_main$O=defineComponent({...__default__$C,props:paginationSizesProps,emits:["page-size-change"],setup(oe,{emit:ie}){const le=oe,{t:ue}=useLocale(),de=useNamespace("pagination"),pe=usePagination(),he=ref(le.pageSize);watch(()=>le.pageSizes,(Ie,Ve)=>{if(!isEqual$1(Ie,Ve)&&Array.isArray(Ie)){const Fe=Ie.includes(le.pageSize)?le.pageSize:le.pageSizes[0];ie("page-size-change",Fe)}}),watch(()=>le.pageSize,Ie=>{he.value=Ie});const _e=computed(()=>le.pageSizes);function $e(Ie){var Ve;Ie!==he.value&&(he.value=Ie,(Ve=pe.handleSizeChange)==null||Ve.call(pe,Number(Ie)))}return(Ie,Ve)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(de).e("sizes"))},[createVNode(unref(ElSelect),{"model-value":he.value,disabled:Ie.disabled,"popper-class":Ie.popperClass,size:Ie.size,"validate-event":!1,onChange:$e},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),Fe=>(openBlock(),createBlock(unref(ElOption),{key:Fe,value:Fe,label:Fe+unref(ue)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size"])],2))}});var Sizes=_export_sfc$1(_sfc_main$O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$o=["disabled"],__default__$B=defineComponent({name:"ElPaginationJumper"}),_sfc_main$N=defineComponent({...__default__$B,props:paginationJumperProps,setup(oe){const{t:ie}=useLocale(),le=useNamespace("pagination"),{pageCount:ue,disabled:de,currentPage:pe,changeEvent:he}=usePagination(),_e=ref(),$e=computed(()=>{var Fe;return(Fe=_e.value)!=null?Fe:pe==null?void 0:pe.value});function Ie(Fe){_e.value=Fe?+Fe:""}function Ve(Fe){Fe=Math.trunc(+Fe),he==null||he(Fe),_e.value=void 0}return(Fe,Ue)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(le).e("jump")),disabled:unref(de)},[createBaseVNode("span",{class:normalizeClass([unref(le).e("goto")])},toDisplayString$1(unref(ie)("el.pagination.goto")),3),createVNode(unref(ElInput),{size:Fe.size,class:normalizeClass([unref(le).e("editor"),unref(le).is("in-pagination")]),min:1,max:unref(ue),disabled:unref(de),"model-value":unref($e),"validate-event":!1,label:unref(ie)("el.pagination.page"),type:"number","onUpdate:modelValue":Ie,onChange:Ve},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref(le).e("classifier")])},toDisplayString$1(unref(ie)("el.pagination.pageClassifier")),3)],10,_hoisted_1$o))}});var Jumper=_export_sfc$1(_sfc_main$N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$n=["disabled"],__default__$A=defineComponent({name:"ElPaginationTotal"}),_sfc_main$M=defineComponent({...__default__$A,props:paginationTotalProps,setup(oe){const{t:ie}=useLocale(),le=useNamespace("pagination"),{disabled:ue}=usePagination();return(de,pe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(le).e("total")),disabled:unref(ue)},toDisplayString$1(unref(ie)("el.pagination.total",{total:de.total})),11,_hoisted_1$n))}});var Total=_export_sfc$1(_sfc_main$M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$m=["onKeyup"],_hoisted_2$g=["aria-current","aria-label","tabindex"],_hoisted_3$9=["tabindex","aria-label"],_hoisted_4$6=["aria-current","aria-label","tabindex"],_hoisted_5$4=["tabindex","aria-label"],_hoisted_6=["aria-current","aria-label","tabindex"],__default__$z=defineComponent({name:"ElPaginationPager"}),_sfc_main$L=defineComponent({...__default__$z,props:paginationPagerProps,emits:["change"],setup(oe,{emit:ie}){const le=oe,ue=useNamespace("pager"),de=useNamespace("icon"),{t:pe}=useLocale(),he=ref(!1),_e=ref(!1),$e=ref(!1),Ie=ref(!1),Ve=ref(!1),Fe=ref(!1),Ue=computed(()=>{const bn=le.pagerCount,Sn=(bn-1)/2,Cn=Number(le.currentPage),En=Number(le.pageCount);let wn=!1,xn=!1;En>bn&&(Cn>bn-Sn&&(wn=!0),Cn<En-Sn&&(xn=!0));const kn=[];if(wn&&!xn){const Pn=En-(bn-2);for(let An=Pn;An<En;An++)kn.push(An)}else if(!wn&&xn)for(let Pn=2;Pn<bn;Pn++)kn.push(Pn);else if(wn&&xn){const Pn=Math.floor(bn/2)-1;for(let An=Cn-Pn;An<=Cn+Pn;An++)kn.push(An)}else for(let Pn=2;Pn<En;Pn++)kn.push(Pn);return kn}),qe=computed(()=>["more","btn-quickprev",de.b(),ue.is("disabled",le.disabled)]),Et=computed(()=>["more","btn-quicknext",de.b(),ue.is("disabled",le.disabled)]),At=computed(()=>le.disabled?-1:0);watchEffect(()=>{const bn=(le.pagerCount-1)/2;he.value=!1,_e.value=!1,le.pageCount>le.pagerCount&&(le.currentPage>le.pagerCount-bn&&(he.value=!0),le.currentPage<le.pageCount-bn&&(_e.value=!0))});function Lt(bn=!1){le.disabled||(bn?$e.value=!0:Ie.value=!0)}function hn(bn=!1){bn?Ve.value=!0:Fe.value=!0}function vn(bn){const Sn=bn.target;if(Sn.tagName.toLowerCase()==="li"&&Array.from(Sn.classList).includes("number")){const Cn=Number(Sn.textContent);Cn!==le.currentPage&&ie("change",Cn)}else Sn.tagName.toLowerCase()==="li"&&Array.from(Sn.classList).includes("more")&&_n(bn)}function _n(bn){const Sn=bn.target;if(Sn.tagName.toLowerCase()==="ul"||le.disabled)return;let Cn=Number(Sn.textContent);const En=le.pageCount,wn=le.currentPage,xn=le.pagerCount-2;Sn.className.includes("more")&&(Sn.className.includes("quickprev")?Cn=wn-xn:Sn.className.includes("quicknext")&&(Cn=wn+xn)),Number.isNaN(+Cn)||(Cn<1&&(Cn=1),Cn>En&&(Cn=En)),Cn!==wn&&ie("change",Cn)}return(bn,Sn)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(ue).b()),onClick:_n,onKeyup:withKeys(vn,["enter"])},[bn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(ue).is("active",bn.currentPage===1),unref(ue).is("disabled",bn.disabled)],"number"]),"aria-current":bn.currentPage===1,"aria-label":unref(pe)("el.pagination.currentPage",{pager:1}),tabindex:unref(At)}," 1 ",10,_hoisted_2$g)):createCommentVNode("v-if",!0),he.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(qe)),tabindex:unref(At),"aria-label":unref(pe)("el.pagination.prevPages",{pager:bn.pagerCount-2}),onMouseenter:Sn[0]||(Sn[0]=Cn=>Lt(!0)),onMouseleave:Sn[1]||(Sn[1]=Cn=>$e.value=!1),onFocus:Sn[2]||(Sn[2]=Cn=>hn(!0)),onBlur:Sn[3]||(Sn[3]=Cn=>Ve.value=!1)},[($e.value||Ve.value)&&!bn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$9)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),Cn=>(openBlock(),createElementBlock("li",{key:Cn,class:normalizeClass([[unref(ue).is("active",bn.currentPage===Cn),unref(ue).is("disabled",bn.disabled)],"number"]),"aria-current":bn.currentPage===Cn,"aria-label":unref(pe)("el.pagination.currentPage",{pager:Cn}),tabindex:unref(At)},toDisplayString$1(Cn),11,_hoisted_4$6))),128)),_e.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(Et)),tabindex:unref(At),"aria-label":unref(pe)("el.pagination.nextPages",{pager:bn.pagerCount-2}),onMouseenter:Sn[4]||(Sn[4]=Cn=>Lt()),onMouseleave:Sn[5]||(Sn[5]=Cn=>Ie.value=!1),onFocus:Sn[6]||(Sn[6]=Cn=>hn()),onBlur:Sn[7]||(Sn[7]=Cn=>Fe.value=!1)},[(Ie.value||Fe.value)&&!bn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$4)):createCommentVNode("v-if",!0),bn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(ue).is("active",bn.currentPage===bn.pageCount),unref(ue).is("disabled",bn.disabled)],"number"]),"aria-current":bn.currentPage===bn.pageCount,"aria-label":unref(pe)("el.pagination.currentPage",{pager:bn.pageCount}),tabindex:unref(At)},toDisplayString$1(bn.pageCount),11,_hoisted_6)):createCommentVNode("v-if",!0)],42,_hoisted_1$m))}});var Pager=_export_sfc$1(_sfc_main$L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const isAbsent=oe=>typeof oe!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:oe=>isNumber$4(oe)&&Math.trunc(oe)===oe&&oe>4&&oe<22&&oe%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":oe=>isNumber$4(oe),"update:page-size":oe=>isNumber$4(oe),"size-change":oe=>isNumber$4(oe),"current-change":oe=>isNumber$4(oe),"prev-click":oe=>isNumber$4(oe),"next-click":oe=>isNumber$4(oe)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(oe,{emit:ie,slots:le}){const{t:ue}=useLocale(),de=useNamespace("pagination"),pe=getCurrentInstance().vnode.props||{},he="onUpdate:currentPage"in pe||"onUpdate:current-page"in pe||"onCurrentChange"in pe,_e="onUpdate:pageSize"in pe||"onUpdate:page-size"in pe||"onSizeChange"in pe,$e=computed(()=>{if(isAbsent(oe.total)&&isAbsent(oe.pageCount)||!isAbsent(oe.currentPage)&&!he)return!1;if(oe.layout.includes("sizes")){if(isAbsent(oe.pageCount)){if(!isAbsent(oe.total)&&!isAbsent(oe.pageSize)&&!_e)return!1}else if(!_e)return!1}return!0}),Ie=ref(isAbsent(oe.defaultPageSize)?10:oe.defaultPageSize),Ve=ref(isAbsent(oe.defaultCurrentPage)?1:oe.defaultCurrentPage),Fe=computed({get(){return isAbsent(oe.pageSize)?Ie.value:oe.pageSize},set(_n){isAbsent(oe.pageSize)&&(Ie.value=_n),_e&&(ie("update:page-size",_n),ie("size-change",_n))}}),Ue=computed(()=>{let _n=0;return isAbsent(oe.pageCount)?isAbsent(oe.total)||(_n=Math.max(1,Math.ceil(oe.total/Fe.value))):_n=oe.pageCount,_n}),qe=computed({get(){return isAbsent(oe.currentPage)?Ve.value:oe.currentPage},set(_n){let bn=_n;_n<1?bn=1:_n>Ue.value&&(bn=Ue.value),isAbsent(oe.currentPage)&&(Ve.value=bn),he&&(ie("update:current-page",bn),ie("current-change",bn))}});watch(Ue,_n=>{qe.value>_n&&(qe.value=_n)});function Et(_n){qe.value=_n}function At(_n){Fe.value=_n;const bn=Ue.value;qe.value>bn&&(qe.value=bn)}function Lt(){oe.disabled||(qe.value-=1,ie("prev-click",qe.value))}function hn(){oe.disabled||(qe.value+=1,ie("next-click",qe.value))}function vn(_n,bn){_n&&(_n.props||(_n.props={}),_n.props.class=[_n.props.class,bn].join(" "))}return provide(elPaginationKey,{pageCount:Ue,disabled:computed(()=>oe.disabled),currentPage:qe,changeEvent:Et,handleSizeChange:At}),()=>{var _n,bn;if(!$e.value)return ue("el.pagination.deprecationWarning"),null;if(!oe.layout||oe.hideOnSinglePage&&Ue.value<=1)return null;const Sn=[],Cn=[],En=h$3("div",{class:de.e("rightwrapper")},Cn),wn={prev:h$3(Prev,{disabled:oe.disabled,currentPage:qe.value,prevText:oe.prevText,prevIcon:oe.prevIcon,onClick:Lt}),jumper:h$3(Jumper,{size:oe.small?"small":"default"}),pager:h$3(Pager,{currentPage:qe.value,pageCount:Ue.value,pagerCount:oe.pagerCount,onChange:Et,disabled:oe.disabled}),next:h$3(Next,{disabled:oe.disabled,currentPage:qe.value,pageCount:Ue.value,nextText:oe.nextText,nextIcon:oe.nextIcon,onClick:hn}),sizes:h$3(Sizes,{pageSize:Fe.value,pageSizes:oe.pageSizes,popperClass:oe.popperClass,disabled:oe.disabled,size:oe.small?"small":"default"}),slot:(bn=(_n=le==null?void 0:le.default)==null?void 0:_n.call(le))!=null?bn:null,total:h$3(Total,{total:isAbsent(oe.total)?0:oe.total})},xn=oe.layout.split(",").map(Pn=>Pn.trim());let kn=!1;return xn.forEach(Pn=>{if(Pn==="->"){kn=!0;return}kn?Cn.push(wn[Pn]):Sn.push(wn[Pn])}),vn(Sn[0],de.is("first")),vn(Sn[Sn.length-1],de.is("last")),kn&&Cn.length>0&&(vn(Cn[0],de.is("first")),vn(Cn[Cn.length-1],de.is("last")),Sn.push(En)),h$3("div",{class:[de.b(),de.is("background",oe.background),{[de.m("small")]:oe.small}]},Sn)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:oe=>oe instanceof MouseEvent,cancel:oe=>oe instanceof MouseEvent},__default__$y=defineComponent({name:"ElPopconfirm"}),_sfc_main$K=defineComponent({...__default__$y,props:popconfirmProps,emits:popconfirmEmits,setup(oe,{emit:ie}){const le=oe,{t:ue}=useLocale(),de=useNamespace("popconfirm"),pe=ref(),he=()=>{var Ue,qe;(qe=(Ue=pe.value)==null?void 0:Ue.onClose)==null||qe.call(Ue)},_e=computed(()=>({width:addUnit(le.width)})),$e=Ue=>{ie("confirm",Ue),he()},Ie=Ue=>{ie("cancel",Ue),he()},Ve=computed(()=>le.confirmButtonText||ue("el.popconfirm.confirmButtonText")),Fe=computed(()=>le.cancelButtonText||ue("el.popconfirm.cancelButtonText"));return(Ue,qe)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:pe,trigger:"click",effect:"light"},Ue.$attrs,{"popper-class":`${unref(de).namespace.value}-popover`,"popper-style":unref(_e),teleported:Ue.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":Ue.hideAfter,persistent:Ue.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(de).b())},[createBaseVNode("div",{class:normalizeClass(unref(de).e("main"))},[!Ue.hideIcon&&Ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("icon")),style:normalizeStyle$1({color:Ue.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString$1(Ue.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(de).e("action"))},[createVNode(unref(ElButton),{size:"small",type:Ue.cancelButtonType==="text"?"":Ue.cancelButtonType,text:Ue.cancelButtonType==="text",onClick:Ie},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Fe)),1)]),_:1},8,["type","text"]),createVNode(unref(ElButton),{size:"small",type:Ue.confirmButtonType==="text"?"":Ue.confirmButtonType,text:Ue.confirmButtonType==="text",onClick:$e},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Ve)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[Ue.$slots.reference?renderSlot(Ue.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,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}}),popoverEmits={"update:visible":oe=>isBoolean$3(oe),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$x=defineComponent({name:"ElPopover"}),_sfc_main$J=defineComponent({...__default__$x,props:popoverProps,emits:popoverEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=computed(()=>ue[updateEventKeyRaw]),pe=useNamespace("popover"),he=ref(),_e=computed(()=>{var Lt;return(Lt=unref(he))==null?void 0:Lt.popperRef}),$e=computed(()=>[{width:addUnit(ue.width)},ue.popperStyle]),Ie=computed(()=>[pe.b(),ue.popperClass,{[pe.m("plain")]:!!ue.content}]),Ve=computed(()=>ue.transition===`${pe.namespace.value}-fade-in-linear`),Fe=()=>{var Lt;(Lt=he.value)==null||Lt.hide()},Ue=()=>{le("before-enter")},qe=()=>{le("before-leave")},Et=()=>{le("after-enter")},At=()=>{le("update:visible",!1),le("after-leave")};return ie({popperRef:_e,hide:Fe}),(Lt,hn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:he},Lt.$attrs,{trigger:Lt.trigger,placement:Lt.placement,disabled:Lt.disabled,visible:Lt.visible,transition:Lt.transition,"popper-options":Lt.popperOptions,tabindex:Lt.tabindex,content:Lt.content,offset:Lt.offset,"show-after":Lt.showAfter,"hide-after":Lt.hideAfter,"auto-close":Lt.autoClose,"show-arrow":Lt.showArrow,"aria-label":Lt.title,effect:Lt.effect,enterable:Lt.enterable,"popper-class":unref(Ie),"popper-style":unref($e),teleported:Lt.teleported,persistent:Lt.persistent,"gpu-acceleration":unref(Ve),"onUpdate:visible":unref(de),onBeforeShow:Ue,onBeforeHide:qe,onShow:Et,onHide:At}),{content:withCtx(()=>[Lt.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(pe).e("title")),role:"title"},toDisplayString$1(Lt.title),3)):createCommentVNode("v-if",!0),renderSlot(Lt.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Lt.content),1)])]),default:withCtx(()=>[Lt.$slots.reference?renderSlot(Lt.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","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","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=(oe,ie)=>{const le=ie.arg||ie.value,ue=le==null?void 0:le.popperRef;ue&&(ue.triggerRef=oe)};var PopoverDirective={mounted(oe,ie){attachEvents(oe,ie)},updated(oe,ie){attachEvents(oe,ie)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:oe=>oe>=0&&oe<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:oe=>`${oe}%`}}),_hoisted_1$l=["aria-valuenow"],_hoisted_2$f={viewBox:"0 0 100 100"},_hoisted_3$8=["d","stroke","stroke-width"],_hoisted_4$5=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$3={key:0},__default__$w=defineComponent({name:"ElProgress"}),_sfc_main$I=defineComponent({...__default__$w,props:progressProps,setup(oe){const ie=oe,le={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},ue=useNamespace("progress"),de=computed(()=>({width:`${ie.percentage}%`,animationDuration:`${ie.duration}s`,backgroundColor:vn(ie.percentage)})),pe=computed(()=>(ie.strokeWidth/ie.width*100).toFixed(1)),he=computed(()=>["circle","dashboard"].includes(ie.type)?Number.parseInt(`${50-Number.parseFloat(pe.value)/2}`,10):0),_e=computed(()=>{const _n=he.value,bn=ie.type==="dashboard";return`
M 50 50
m 0 ${bn?"":"-"}${_n}
a ${_n} ${_n} 0 1 1 0 ${bn?"-":""}${_n*2}
a ${_n} ${_n} 0 1 1 0 ${bn?"":"-"}${_n*2}
`}),$e=computed(()=>2*Math.PI*he.value),Ie=computed(()=>ie.type==="dashboard"?.75:1),Ve=computed(()=>`${-1*$e.value*(1-Ie.value)/2}px`),Fe=computed(()=>({strokeDasharray:`${$e.value*Ie.value}px, ${$e.value}px`,strokeDashoffset:Ve.value})),Ue=computed(()=>({strokeDasharray:`${$e.value*Ie.value*(ie.percentage/100)}px, ${$e.value}px`,strokeDashoffset:Ve.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),qe=computed(()=>{let _n;return ie.color?_n=vn(ie.percentage):_n=le[ie.status]||le.default,_n}),Et=computed(()=>ie.status==="warning"?warning_filled_default:ie.type==="line"?ie.status==="success"?circle_check_default:circle_close_default:ie.status==="success"?check_default:close_default),At=computed(()=>ie.type==="line"?12+ie.strokeWidth*.4:ie.width*.111111+2),Lt=computed(()=>ie.format(ie.percentage));function hn(_n){const bn=100/_n.length;return _n.map((Cn,En)=>isString$6(Cn)?{color:Cn,percentage:(En+1)*bn}:Cn).sort((Cn,En)=>Cn.percentage-En.percentage)}const vn=_n=>{var bn;const{color:Sn}=ie;if(isFunction$5(Sn))return Sn(_n);if(isString$6(Sn))return Sn;{const Cn=hn(Sn);for(const En of Cn)if(En.percentage>_n)return En.color;return(bn=Cn[Cn.length-1])==null?void 0:bn.color}};return(_n,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b(),unref(ue).m(_n.type),unref(ue).is(_n.status),{[unref(ue).m("without-text")]:!_n.showText,[unref(ue).m("text-inside")]:_n.textInside}]),role:"progressbar","aria-valuenow":_n.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[_n.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).be("bar","outer")),style:normalizeStyle$1({height:`${_n.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(ue).be("bar","inner"),{[unref(ue).bem("bar","inner","indeterminate")]:_n.indeterminate},{[unref(ue).bem("bar","inner","striped")]:_n.striped},{[unref(ue).bem("bar","inner","striped-flow")]:_n.stripedFlow}]),style:normalizeStyle$1(unref(de))},[(_n.showText||_n.$slots.default)&&_n.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).be("bar","innerText"))},[renderSlot(_n.$slots,"default",{percentage:_n.percentage},()=>[createBaseVNode("span",null,toDisplayString$1(unref(Lt)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).b("circle")),style:normalizeStyle$1({height:`${_n.width}px`,width:`${_n.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$f,[createBaseVNode("path",{class:normalizeClass(unref(ue).be("circle","track")),d:unref(_e),stroke:`var(${unref(ue).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":unref(pe),fill:"none",style:normalizeStyle$1(unref(Fe))},null,14,_hoisted_3$8),createBaseVNode("path",{class:normalizeClass(unref(ue).be("circle","path")),d:unref(_e),stroke:unref(qe),fill:"none",opacity:_n.percentage?1:0,"stroke-linecap":_n.strokeLinecap,"stroke-width":unref(pe),style:normalizeStyle$1(unref(Ue))},null,14,_hoisted_4$5)]))],6)),(_n.showText||_n.$slots.default)&&!_n.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(ue).e("text")),style:normalizeStyle$1({fontSize:`${unref(At)}px`})},[renderSlot(_n.$slots,"default",{percentage:_n.percentage},()=>[_n.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Et))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$3,toDisplayString$1(unref(Lt)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$l))}});var Progress=_export_sfc$1(_sfc_main$I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({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:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1}}),rateEmits={[CHANGE_EVENT]:oe=>isNumber$4(oe),[UPDATE_MODEL_EVENT]:oe=>isNumber$4(oe)},_hoisted_1$k=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$e=["onMousemove","onClick"],__default__$v=defineComponent({name:"ElRate"}),_sfc_main$H=defineComponent({...__default__$v,props:rateProps,emits:rateEmits,setup(oe,{expose:ie,emit:le}){const ue=oe;function de(Vn,Mn){const Fn=Zn=>isObject$9(Zn),Ln=Object.keys(Mn).map(Zn=>+Zn).filter(Zn=>{const Gn=Mn[Zn];return(Fn(Gn)?Gn.excluded:!1)?Vn<Zn:Vn<=Zn}).sort((Zn,Gn)=>Zn-Gn),jn=Mn[Ln[0]];return Fn(jn)&&jn.value||jn}const pe=inject(formContextKey,void 0),he=inject(formItemContextKey,void 0),_e=useFormSize(),$e=useNamespace("rate"),{inputId:Ie,isLabeledByFormItem:Ve}=useFormItemInputId(ue,{formItemContext:he}),Fe=ref(ue.modelValue),Ue=ref(-1),qe=ref(!0),Et=computed(()=>[$e.b(),$e.m(_e.value)]),At=computed(()=>ue.disabled||(pe==null?void 0:pe.disabled)),Lt=computed(()=>$e.cssVarBlock({"void-color":ue.voidColor,"disabled-void-color":ue.disabledVoidColor,"fill-color":bn.value})),hn=computed(()=>{let Vn="";return ue.showScore?Vn=ue.scoreTemplate.replace(/\{\s*value\s*\}/,At.value?`${ue.modelValue}`:`${Fe.value}`):ue.showText&&(Vn=ue.texts[Math.ceil(Fe.value)-1]),Vn}),vn=computed(()=>ue.modelValue*100-Math.floor(ue.modelValue)*100),_n=computed(()=>isArray$c(ue.colors)?{[ue.lowThreshold]:ue.colors[0],[ue.highThreshold]:{value:ue.colors[1],excluded:!0},[ue.max]:ue.colors[2]}:ue.colors),bn=computed(()=>{const Vn=de(Fe.value,_n.value);return isObject$9(Vn)?"":Vn}),Sn=computed(()=>{let Vn="";return At.value?Vn=`${vn.value}%`:ue.allowHalf&&(Vn="50%"),{color:bn.value,width:Vn}}),Cn=computed(()=>{let Vn=isArray$c(ue.icons)?[...ue.icons]:{...ue.icons};return Vn=markRaw(Vn),isArray$c(Vn)?{[ue.lowThreshold]:Vn[0],[ue.highThreshold]:{value:Vn[1],excluded:!0},[ue.max]:Vn[2]}:Vn}),En=computed(()=>de(ue.modelValue,Cn.value)),wn=computed(()=>At.value?isString$6(ue.disabledVoidIcon)?ue.disabledVoidIcon:markRaw(ue.disabledVoidIcon):isString$6(ue.voidIcon)?ue.voidIcon:markRaw(ue.voidIcon)),xn=computed(()=>de(Fe.value,Cn.value));function kn(Vn){const Mn=At.value&&vn.value>0&&Vn-1<ue.modelValue&&Vn>ue.modelValue,Fn=ue.allowHalf&&qe.value&&Vn-.5<=Fe.value&&Vn>Fe.value;return Mn||Fn}function Pn(Vn){ue.clearable&&Vn===ue.modelValue&&(Vn=0),le(UPDATE_MODEL_EVENT,Vn),ue.modelValue!==Vn&&le("change",Vn)}function An(Vn){At.value||(ue.allowHalf&&qe.value?Pn(Fe.value):Pn(Vn))}function In(Vn){if(At.value)return;let Mn=Fe.value;const Fn=Vn.code;return Fn===EVENT_CODE.up||Fn===EVENT_CODE.right?(ue.allowHalf?Mn+=.5:Mn+=1,Vn.stopPropagation(),Vn.preventDefault()):(Fn===EVENT_CODE.left||Fn===EVENT_CODE.down)&&(ue.allowHalf?Mn-=.5:Mn-=1,Vn.stopPropagation(),Vn.preventDefault()),Mn=Mn<0?0:Mn,Mn=Mn>ue.max?ue.max:Mn,le(UPDATE_MODEL_EVENT,Mn),le("change",Mn),Mn}function Nn(Vn,Mn){if(!At.value){if(ue.allowHalf&&Mn){let Fn=Mn.target;hasClass(Fn,$e.e("item"))&&(Fn=Fn.querySelector(`.${$e.e("icon")}`)),(Fn.clientWidth===0||hasClass(Fn,$e.e("decimal")))&&(Fn=Fn.parentNode),qe.value=Mn.offsetX*2<=Fn.clientWidth,Fe.value=qe.value?Vn-.5:Vn}else Fe.value=Vn;Ue.value=Vn}}function Un(){At.value||(ue.allowHalf&&(qe.value=ue.modelValue!==Math.floor(ue.modelValue)),Fe.value=ue.modelValue,Ue.value=-1)}return watch(()=>ue.modelValue,Vn=>{Fe.value=Vn,qe.value=ue.modelValue!==Math.floor(ue.modelValue)}),ue.modelValue||le(UPDATE_MODEL_EVENT,0),ie({setCurrentValue:Nn,resetCurrentValue:Un}),(Vn,Mn)=>{var Fn;return openBlock(),createElementBlock("div",{id:unref(Ie),class:normalizeClass([unref(Et),unref($e).is("disabled",unref(At))]),role:"slider","aria-label":unref(Ve)?void 0:Vn.label||"rating","aria-labelledby":unref(Ve)?(Fn=unref(he))==null?void 0:Fn.labelId:void 0,"aria-valuenow":Fe.value,"aria-valuetext":unref(hn)||void 0,"aria-valuemin":"0","aria-valuemax":Vn.max,tabindex:"0",style:normalizeStyle$1(unref(Lt)),onKeydown:In},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Vn.max,(Ln,jn)=>(openBlock(),createElementBlock("span",{key:jn,class:normalizeClass(unref($e).e("item")),onMousemove:Zn=>Nn(Ln,Zn),onMouseleave:Un,onClick:Zn=>An(Ln)},[createVNode(unref(ElIcon),{class:normalizeClass([unref($e).e("icon"),{hover:Ue.value===Ln},unref($e).is("active",Ln<=Fe.value)])},{default:withCtx(()=>[kn(Ln)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(xn)),null,null,512)),[[vShow,Ln<=Fe.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(wn)),null,null,512)),[[vShow,!(Ln<=Fe.value)]])],64)),kn(Ln)?(openBlock(),createBlock(unref(ElIcon),{key:1,style:normalizeStyle$1(unref(Sn)),class:normalizeClass([unref($e).e("icon"),unref($e).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(En))))]),_:1},8,["style","class"])):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$e))),128)),Vn.showText||Vn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref($e).e("text"))},toDisplayString$1(unref(hn)),3)):createCommentVNode("v-if",!0)],46,_hoisted_1$k)}}});var Rate=_export_sfc$1(_sfc_main$H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$u=defineComponent({name:"ElResult"}),_sfc_main$G=defineComponent({...__default__$u,props:resultProps,setup(oe){const ie=oe,le=useNamespace("result"),ue=computed(()=>{const de=ie.icon,pe=de&&IconMap[de]?IconMap[de]:"icon-info",he=IconComponentMap[pe]||IconComponentMap["icon-info"];return{class:pe,component:he}});return(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le).b())},[createBaseVNode("div",{class:normalizeClass(unref(le).e("icon"))},[renderSlot(de.$slots,"icon",{},()=>[unref(ue).component?(openBlock(),createBlock(resolveDynamicComponent(unref(ue).component),{key:0,class:normalizeClass(unref(ue).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),de.title||de.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("title"))},[renderSlot(de.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString$1(de.title),1)])],2)):createCommentVNode("v-if",!0),de.subTitle||de.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(le).e("subtitle"))},[renderSlot(de.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString$1(de.subTitle),1)])],2)):createCommentVNode("v-if",!0),de.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(le).e("extra"))},[renderSlot(de.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function(ie){return typeof ie=="number"&&ie!==ie};function isEqual(oe,ie){return!!(oe===ie||safeIsNaN(oe)&&safeIsNaN(ie))}function areInputsEqual(oe,ie){if(oe.length!==ie.length)return!1;for(var le=0;le<oe.length;le++)if(!isEqual(oe[le],ie[le]))return!1;return!0}function memoizeOne(oe,ie){ie===void 0&&(ie=areInputsEqual);var le=null;function ue(){for(var de=[],pe=0;pe<arguments.length;pe++)de[pe]=arguments[pe];if(le&&le.lastThis===this&&ie(de,le.lastArgs))return le.lastResult;var he=oe.apply(this,de);return le={lastResult:he,lastArgs:de,lastThis:this},he}return ue.clear=function(){le=null},ue}const useCache=()=>{const ie=getCurrentInstance().proxy.$props;return computed(()=>{const le=(ue,de,pe)=>({});return ie.perfMode?memoize(le):memoizeOne(le)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL$1]:"left",[VERTICAL$1]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL$1]:"deltaX",[VERTICAL$1]:"deltaY"},useWheel=({atEndEdge:oe,atStartEdge:ie,layout:le},ue)=>{let de,pe=0;const he=$e=>$e<0&&ie.value||$e>0&&oe.value;return{hasReachedEdge:he,onWheel:$e=>{cAF(de);const Ie=$e[LayoutKeys[le.value]];he(pe)&&he(pe+Ie)||(pe+=Ie,isFirefox()||$e.preventDefault(),de=rAF(()=>{ue(pe),pe=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache$1=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout$3=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL$1}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache:cache$1,estimatedItemSize,layout:layout$3,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache$1,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:oe,rowIndex:ie})=>`${ie}:${oe}`},rowCache:cache$1,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$3,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(oe,ie)=>oe<ie?FORWARD:BACKWARD,isHorizontal=oe=>oe===LTR||oe===RTL||oe===HORIZONTAL$1,isRTL=oe=>oe===RTL;let cachedRTLResult=null;function getRTLOffsetType(oe=!1){if(cachedRTLResult===null||oe){const ie=document.createElement("div"),le=ie.style;le.width="50px",le.height="50px",le.overflow="scroll",le.direction="rtl";const ue=document.createElement("div"),de=ue.style;return de.width="100px",de.height="100px",ie.appendChild(ue),document.body.appendChild(ie),ie.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(ie.scrollLeft=1,ie.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(ie),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:oe,size:ie,bar:le},ue){const de={},pe=`translate${le.axis}(${oe}px)`;return de[le.size]=ie,de.transform=pe,de.msTransform=pe,de.webkitTransform=pe,ue==="horizontal"?de.height="100%":de.width="100%",de}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(oe,{emit:ie}){const le=computed(()=>oe.startGap+oe.endGap),ue=useNamespace("virtual-scrollbar"),de=useNamespace("scrollbar"),pe=ref(),he=ref();let _e=null,$e=null;const Ie=reactive({isDragging:!1,traveled:0}),Ve=computed(()=>BAR_MAP[oe.layout]),Fe=computed(()=>oe.clientSize-unref(le)),Ue=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===oe.layout?Fe.value:oe.scrollbarSize}px`,height:`${HORIZONTAL$1===oe.layout?oe.scrollbarSize:Fe.value}px`,[ScrollbarDirKey[oe.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),qe=computed(()=>{const Cn=oe.ratio,En=oe.clientSize;if(Cn>=100)return Number.POSITIVE_INFINITY;if(Cn>=50)return Cn*En/100;const wn=En/3;return Math.floor(Math.min(Math.max(Cn*En,SCROLLBAR_MIN_SIZE),wn))}),Et=computed(()=>{if(!Number.isFinite(qe.value))return{display:"none"};const Cn=`${qe.value}px`;return renderThumbStyle({bar:Ve.value,size:Cn,move:Ie.traveled},oe.layout)}),At=computed(()=>Math.floor(oe.clientSize-qe.value-unref(le))),Lt=()=>{window.addEventListener("mousemove",bn),window.addEventListener("mouseup",_n);const Cn=unref(he);Cn&&($e=document.onselectstart,document.onselectstart=()=>!1,Cn.addEventListener("touchmove",bn),Cn.addEventListener("touchend",_n))},hn=()=>{window.removeEventListener("mousemove",bn),window.removeEventListener("mouseup",_n),document.onselectstart=$e,$e=null;const Cn=unref(he);Cn&&(Cn.removeEventListener("touchmove",bn),Cn.removeEventListener("touchend",_n))},vn=Cn=>{Cn.stopImmediatePropagation(),!(Cn.ctrlKey||[1,2].includes(Cn.button))&&(Ie.isDragging=!0,Ie[Ve.value.axis]=Cn.currentTarget[Ve.value.offset]-(Cn[Ve.value.client]-Cn.currentTarget.getBoundingClientRect()[Ve.value.direction]),ie("start-move"),Lt())},_n=()=>{Ie.isDragging=!1,Ie[Ve.value.axis]=0,ie("stop-move"),hn()},bn=Cn=>{const{isDragging:En}=Ie;if(!En||!he.value||!pe.value)return;const wn=Ie[Ve.value.axis];if(!wn)return;cAF(_e);const xn=(pe.value.getBoundingClientRect()[Ve.value.direction]-Cn[Ve.value.client])*-1,kn=he.value[Ve.value.offset]-wn,Pn=xn-kn;_e=rAF(()=>{Ie.traveled=Math.max(oe.startGap,Math.min(Pn,At.value)),ie("scroll",Pn,At.value)})},Sn=Cn=>{const En=Math.abs(Cn.target.getBoundingClientRect()[Ve.value.direction]-Cn[Ve.value.client]),wn=he.value[Ve.value.offset]/2,xn=En-wn;Ie.traveled=Math.max(0,Math.min(xn,At.value)),ie("scroll",xn,At.value)};return watch(()=>oe.scrollFrom,Cn=>{Ie.isDragging||(Ie.traveled=Math.ceil(Cn*At.value))}),onBeforeUnmount(()=>{hn()}),()=>h$3("div",{role:"presentation",ref:pe,class:[ue.b(),oe.class,(oe.alwaysOn||Ie.isDragging)&&"always-on"],style:Ue.value,onMousedown:withModifiers(Sn,["stop","prevent"]),onTouchstartPrevent:vn},h$3("div",{ref:he,class:de.e("thumb"),style:Et.value,onMousedown:vn},[]))}}),createList$1=({name:oe,getOffset:ie,getItemSize:le,getItemOffset:ue,getEstimatedTotalSize:de,getStartIndexForOffset:pe,getStopIndexForStartIndex:he,initCache:_e,clearCache:$e,validateProps:Ie})=>defineComponent({name:oe??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Ve,{emit:Fe,expose:Ue}){Ie(Ve);const qe=getCurrentInstance(),Et=useNamespace("vl"),At=ref(_e(Ve,qe)),Lt=useCache(),hn=ref(),vn=ref(),_n=ref(),bn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$4(Ve.initScrollOffset)?Ve.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:Ve.scrollbarAlwaysOn}),Sn=computed(()=>{const{total:Jn,cache:lr}=Ve,{isScrolling:yr,scrollDir:ir,scrollOffset:qn}=unref(bn);if(Jn===0)return[0,0,0,0];const Yn=pe(Ve,qn,unref(At)),Xn=he(Ve,Yn,qn,unref(At)),or=!yr||ir===BACKWARD?Math.max(1,lr):1,_r=!yr||ir===FORWARD?Math.max(1,lr):1;return[Math.max(0,Yn-or),Math.max(0,Math.min(Jn-1,Xn+_r)),Yn,Xn]}),Cn=computed(()=>de(Ve,unref(At))),En=computed(()=>isHorizontal(Ve.layout)),wn=computed(()=>[{position:"relative",[`overflow-${En.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Ve.direction,height:isNumber$4(Ve.height)?`${Ve.height}px`:Ve.height,width:isNumber$4(Ve.width)?`${Ve.width}px`:Ve.width},Ve.style]),xn=computed(()=>{const Jn=unref(Cn),lr=unref(En);return{height:lr?"100%":`${Jn}px`,pointerEvents:unref(bn).isScrolling?"none":void 0,width:lr?`${Jn}px`:"100%"}}),kn=computed(()=>En.value?Ve.width:Ve.height),{onWheel:Pn}=useWheel({atStartEdge:computed(()=>bn.value.scrollOffset<=0),atEndEdge:computed(()=>bn.value.scrollOffset>=Cn.value),layout:computed(()=>Ve.layout)},Jn=>{var lr,yr;(yr=(lr=_n.value).onMouseUp)==null||yr.call(lr),Mn(Math.min(bn.value.scrollOffset+Jn,Cn.value-kn.value))}),An=()=>{const{total:Jn}=Ve;if(Jn>0){const[qn,Yn,Xn,or]=unref(Sn);Fe(ITEM_RENDER_EVT,qn,Yn,Xn,or)}const{scrollDir:lr,scrollOffset:yr,updateRequested:ir}=unref(bn);Fe(SCROLL_EVT,lr,yr,ir)},In=Jn=>{const{clientHeight:lr,scrollHeight:yr,scrollTop:ir}=Jn.currentTarget,qn=unref(bn);if(qn.scrollOffset===ir)return;const Yn=Math.max(0,Math.min(ir,yr-lr));bn.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,Yn),scrollOffset:Yn,updateRequested:!1},nextTick(jn)},Nn=Jn=>{const{clientWidth:lr,scrollLeft:yr,scrollWidth:ir}=Jn.currentTarget,qn=unref(bn);if(qn.scrollOffset===yr)return;const{direction:Yn}=Ve;let Xn=yr;if(Yn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Xn=-yr;break}case RTL_OFFSET_POS_DESC:{Xn=ir-lr-yr;break}}Xn=Math.max(0,Math.min(Xn,ir-lr)),bn.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,Xn),scrollOffset:Xn,updateRequested:!1},nextTick(jn)},Un=Jn=>{unref(En)?Nn(Jn):In(Jn),An()},Vn=(Jn,lr)=>{const yr=(Cn.value-kn.value)/lr*Jn;Mn(Math.min(Cn.value-kn.value,yr))},Mn=Jn=>{Jn=Math.max(Jn,0),Jn!==unref(bn).scrollOffset&&(bn.value={...unref(bn),scrollOffset:Jn,scrollDir:getScrollDir(unref(bn).scrollOffset,Jn),updateRequested:!0},nextTick(jn))},Fn=(Jn,lr=AUTO_ALIGNMENT)=>{const{scrollOffset:yr}=unref(bn);Jn=Math.max(0,Math.min(Jn,Ve.total-1)),Mn(ie(Ve,Jn,lr,yr,unref(At)))},Ln=Jn=>{const{direction:lr,itemSize:yr,layout:ir}=Ve,qn=Lt.value($e&&yr,$e&&ir,$e&&lr);let Yn;if(hasOwn$4(qn,String(Jn)))Yn=qn[Jn];else{const Xn=ue(Ve,Jn,unref(At)),or=le(Ve,Jn,unref(At)),_r=unref(En),Kn=lr===RTL,er=_r?Xn:0;qn[Jn]=Yn={position:"absolute",left:Kn?void 0:`${er}px`,right:Kn?`${er}px`:void 0,top:_r?0:`${Xn}px`,height:_r?"100%":`${or}px`,width:_r?`${or}px`:"100%"}}return Yn},jn=()=>{bn.value.isScrolling=!1,nextTick(()=>{Lt.value(-1,null,null)})},Zn=()=>{const Jn=hn.value;Jn&&(Jn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Jn}=Ve,lr=unref(hn);isNumber$4(Jn)&&lr&&(unref(En)?lr.scrollLeft=Jn:lr.scrollTop=Jn),An()}),onUpdated(()=>{const{direction:Jn,layout:lr}=Ve,{scrollOffset:yr,updateRequested:ir}=unref(bn),qn=unref(hn);if(ir&&qn)if(lr===HORIZONTAL$1)if(Jn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{qn.scrollLeft=-yr;break}case RTL_OFFSET_POS_ASC:{qn.scrollLeft=yr;break}default:{const{clientWidth:Yn,scrollWidth:Xn}=qn;qn.scrollLeft=Xn-Yn-yr;break}}else qn.scrollLeft=yr;else qn.scrollTop=yr});const Gn={ns:Et,clientSize:kn,estimatedTotalSize:Cn,windowStyle:wn,windowRef:hn,innerRef:vn,innerStyle:xn,itemsToRender:Sn,scrollbarRef:_n,states:bn,getItemStyle:Ln,onScroll:Un,onScrollbarScroll:Vn,onWheel:Pn,scrollTo:Mn,scrollToItem:Fn,resetScrollTop:Zn};return Ue({windowRef:hn,innerRef:vn,getItemStyleCache:Lt,scrollTo:Mn,scrollToItem:Fn,resetScrollTop:Zn,states:bn}),Gn},render(Ve){var Fe;const{$slots:Ue,className:qe,clientSize:Et,containerElement:At,data:Lt,getItemStyle:hn,innerElement:vn,itemsToRender:_n,innerStyle:bn,layout:Sn,total:Cn,onScroll:En,onScrollbarScroll:wn,onWheel:xn,states:kn,useIsScrolling:Pn,windowStyle:An,ns:In}=Ve,[Nn,Un]=_n,Vn=resolveDynamicComponent(At),Mn=resolveDynamicComponent(vn),Fn=[];if(Cn>0)for(let Gn=Nn;Gn<=Un;Gn++)Fn.push((Fe=Ue.default)==null?void 0:Fe.call(Ue,{data:Lt,key:Gn,index:Gn,isScrolling:Pn?kn.isScrolling:void 0,style:hn(Gn)}));const Ln=[h$3(Mn,{style:bn,ref:"innerRef"},isString$6(Mn)?Fn:{default:()=>Fn})],jn=h$3(ScrollBar,{ref:"scrollbarRef",clientSize:Et,layout:Sn,onScroll:wn,ratio:Et*100/this.estimatedTotalSize,scrollFrom:kn.scrollOffset/(this.estimatedTotalSize-Et),total:Cn}),Zn=h$3(Vn,{class:[In.e("window"),qe],style:An,onScroll:En,onWheel:xn,ref:"windowRef",key:0},isString$6(Vn)?[Ln]:{default:()=>[Ln]});return h$3("div",{key:0,class:[In.e("wrapper"),kn.scrollbarAlwaysOn?"always-on":""]},[Zn,jn])}}),FixedSizeList=createList$1({name:"ElFixedSizeList",getItemOffset:({itemSize:oe},ie)=>ie*oe,getItemSize:({itemSize:oe})=>oe,getEstimatedTotalSize:({total:oe,itemSize:ie})=>ie*oe,getOffset:({height:oe,total:ie,itemSize:le,layout:ue,width:de},pe,he,_e)=>{const $e=isHorizontal(ue)?de:oe,Ie=Math.max(0,ie*le-$e),Ve=Math.min(Ie,pe*le),Fe=Math.max(0,(pe+1)*le-$e);switch(he===SMART_ALIGNMENT&&(_e>=Fe-$e&&_e<=Ve+$e?he=AUTO_ALIGNMENT:he=CENTERED_ALIGNMENT),he){case START_ALIGNMENT:return Ve;case END_ALIGNMENT:return Fe;case CENTERED_ALIGNMENT:{const Ue=Math.round(Fe+(Ve-Fe)/2);return Ue<Math.ceil($e/2)?0:Ue>Ie+Math.floor($e/2)?Ie:Ue}case AUTO_ALIGNMENT:default:return _e>=Fe&&_e<=Ve?_e:_e<Fe?Fe:Ve}},getStartIndexForOffset:({total:oe,itemSize:ie},le)=>Math.max(0,Math.min(oe-1,Math.floor(le/ie))),getStopIndexForStartIndex:({height:oe,total:ie,itemSize:le,layout:ue,width:de},pe,he)=>{const _e=pe*le,$e=isHorizontal(ue)?de:oe,Ie=Math.ceil(($e+he-_e)/le);return Math.max(0,Math.min(ie-1,pe+Ie-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(oe,ie,le)=>{const{itemSize:ue}=oe,{items:de,lastVisitedIndex:pe}=le;if(ie>pe){let he=0;if(pe>=0){const _e=de[pe];he=_e.offset+_e.size}for(let _e=pe+1;_e<=ie;_e++){const $e=ue(_e);de[_e]={offset:he,size:$e},he+=$e}le.lastVisitedIndex=ie}return de[ie]},findItem$1=(oe,ie,le)=>{const{items:ue,lastVisitedIndex:de}=ie;return(de>0?ue[de].offset:0)>=le?bs$1(oe,ie,0,de,le):es$1(oe,ie,Math.max(0,de),le)},bs$1=(oe,ie,le,ue,de)=>{for(;le<=ue;){const pe=le+Math.floor((ue-le)/2),he=getItemFromCache$1(oe,pe,ie).offset;if(he===de)return pe;he<de?le=pe+1:he>de&&(ue=pe-1)}return Math.max(0,le-1)},es$1=(oe,ie,le,ue)=>{const{total:de}=oe;let pe=1;for(;le<de&&getItemFromCache$1(oe,le,ie).offset<ue;)le+=pe,pe*=2;return bs$1(oe,ie,Math.floor(le/2),Math.min(le,de-1),ue)},getEstimatedTotalSize=({total:oe},{items:ie,estimatedItemSize:le,lastVisitedIndex:ue})=>{let de=0;if(ue>=oe&&(ue=oe-1),ue>=0){const _e=ie[ue];de=_e.offset+_e.size}const he=(oe-ue-1)*le;return de+he},DynamicSizeList=createList$1({name:"ElDynamicSizeList",getItemOffset:(oe,ie,le)=>getItemFromCache$1(oe,ie,le).offset,getItemSize:(oe,ie,{items:le})=>le[ie].size,getEstimatedTotalSize,getOffset:(oe,ie,le,ue,de)=>{const{height:pe,layout:he,width:_e}=oe,$e=isHorizontal(he)?_e:pe,Ie=getItemFromCache$1(oe,ie,de),Ve=getEstimatedTotalSize(oe,de),Fe=Math.max(0,Math.min(Ve-$e,Ie.offset)),Ue=Math.max(0,Ie.offset-$e+Ie.size);switch(le===SMART_ALIGNMENT&&(ue>=Ue-$e&&ue<=Fe+$e?le=AUTO_ALIGNMENT:le=CENTERED_ALIGNMENT),le){case START_ALIGNMENT:return Fe;case END_ALIGNMENT:return Ue;case CENTERED_ALIGNMENT:return Math.round(Ue+(Fe-Ue)/2);case AUTO_ALIGNMENT:default:return ue>=Ue&&ue<=Fe?ue:ue<Ue?Ue:Fe}},getStartIndexForOffset:(oe,ie,le)=>findItem$1(oe,le,ie),getStopIndexForStartIndex:(oe,ie,le,ue)=>{const{height:de,total:pe,layout:he,width:_e}=oe,$e=isHorizontal(he)?_e:de,Ie=getItemFromCache$1(oe,ie,ue),Ve=le+$e;let Fe=Ie.offset+Ie.size,Ue=ie;for(;Ue<pe-1&&Fe<Ve;)Ue++,Fe+=getItemFromCache$1(oe,Ue,ue).size;return Ue},initCache({estimatedItemSize:oe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE},ie){const le={items:{},estimatedItemSize:oe,lastVisitedIndex:-1};return le.clearCacheAfterIndex=(ue,de=!0)=>{var pe,he;le.lastVisitedIndex=Math.min(le.lastVisitedIndex,ue-1),(pe=ie.exposed)==null||pe.getItemStyleCache(-1),de&&((he=ie.proxy)==null||he.$forceUpdate())},le},clearCache:!1,validateProps:({itemSize:oe})=>{}}),useGridWheel=({atXEndEdge:oe,atXStartEdge:ie,atYEndEdge:le,atYStartEdge:ue},de)=>{let pe=null,he=0,_e=0;const $e=(Ve,Fe)=>{const Ue=Ve<=0&&ie.value||Ve>=0&&oe.value,qe=Fe<=0&&ue.value||Fe>=0&&le.value;return Ue&&qe};return{hasReachedEdge:$e,onWheel:Ve=>{cAF(pe);let Fe=Ve.deltaX,Ue=Ve.deltaY;Math.abs(Fe)>Math.abs(Ue)?Ue=0:Fe=0,Ve.shiftKey&&Ue!==0&&(Fe=Ue,Ue=0),!($e(he,_e)&&$e(he+Fe,_e+Ue))&&(he+=Fe,_e+=Ue,Ve.preventDefault(),pe=rAF(()=>{de(he,_e),he=0,_e=0}))}}},createGrid=({name:oe,clearCache:ie,getColumnPosition:le,getColumnStartIndexForOffset:ue,getColumnStopIndexForStartIndex:de,getEstimatedTotalHeight:pe,getEstimatedTotalWidth:he,getColumnOffset:_e,getRowOffset:$e,getRowPosition:Ie,getRowStartIndexForOffset:Ve,getRowStopIndexForStartIndex:Fe,initCache:Ue,injectToInstance:qe,validateProps:Et})=>defineComponent({name:oe??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(At,{emit:Lt,expose:hn,slots:vn}){const _n=useNamespace("vl");Et(At);const bn=getCurrentInstance(),Sn=ref(Ue(At,bn));qe==null||qe(bn,Sn);const Cn=ref(),En=ref(),wn=ref(),xn=ref(null),kn=ref({isScrolling:!1,scrollLeft:isNumber$4(At.initScrollLeft)?At.initScrollLeft:0,scrollTop:isNumber$4(At.initScrollTop)?At.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),Pn=useCache(),An=computed(()=>Number.parseInt(`${At.height}`,10)),In=computed(()=>Number.parseInt(`${At.width}`,10)),Nn=computed(()=>{const{totalColumn:cr,totalRow:Ar,columnCache:br}=At,{isScrolling:kr,xAxisScrollDir:mr,scrollLeft:ur}=unref(kn);if(cr===0||Ar===0)return[0,0,0,0];const fr=ue(At,ur,unref(Sn)),pr=de(At,fr,ur,unref(Sn)),Or=!kr||mr===BACKWARD?Math.max(1,br):1,Lr=!kr||mr===FORWARD?Math.max(1,br):1;return[Math.max(0,fr-Or),Math.max(0,Math.min(cr-1,pr+Lr)),fr,pr]}),Un=computed(()=>{const{totalColumn:cr,totalRow:Ar,rowCache:br}=At,{isScrolling:kr,yAxisScrollDir:mr,scrollTop:ur}=unref(kn);if(cr===0||Ar===0)return[0,0,0,0];const fr=Ve(At,ur,unref(Sn)),pr=Fe(At,fr,ur,unref(Sn)),Or=!kr||mr===BACKWARD?Math.max(1,br):1,Lr=!kr||mr===FORWARD?Math.max(1,br):1;return[Math.max(0,fr-Or),Math.max(0,Math.min(Ar-1,pr+Lr)),fr,pr]}),Vn=computed(()=>pe(At,unref(Sn))),Mn=computed(()=>he(At,unref(Sn))),Fn=computed(()=>{var cr;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:At.direction,height:isNumber$4(At.height)?`${At.height}px`:At.height,width:isNumber$4(At.width)?`${At.width}px`:At.width},(cr=At.style)!=null?cr:{}]}),Ln=computed(()=>{const cr=`${unref(Mn)}px`;return{height:`${unref(Vn)}px`,pointerEvents:unref(kn).isScrolling?"none":void 0,width:cr}}),jn=()=>{const{totalColumn:cr,totalRow:Ar}=At;if(cr>0&&Ar>0){const[pr,Or,Lr,Vr]=unref(Nn),[Dr,$r,xr,dr]=unref(Un);Lt(ITEM_RENDER_EVT,{columnCacheStart:pr,columnCacheEnd:Or,rowCacheStart:Dr,rowCacheEnd:$r,columnVisibleStart:Lr,columnVisibleEnd:Vr,rowVisibleStart:xr,rowVisibleEnd:dr})}const{scrollLeft:br,scrollTop:kr,updateRequested:mr,xAxisScrollDir:ur,yAxisScrollDir:fr}=unref(kn);Lt(SCROLL_EVT,{xAxisScrollDir:ur,scrollLeft:br,yAxisScrollDir:fr,scrollTop:kr,updateRequested:mr})},Zn=cr=>{const{clientHeight:Ar,clientWidth:br,scrollHeight:kr,scrollLeft:mr,scrollTop:ur,scrollWidth:fr}=cr.currentTarget,pr=unref(kn);if(pr.scrollTop===ur&&pr.scrollLeft===mr)return;let Or=mr;if(isRTL(At.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:Or=-mr;break;case RTL_OFFSET_POS_DESC:Or=fr-br-mr;break}kn.value={...pr,isScrolling:!0,scrollLeft:Or,scrollTop:Math.max(0,Math.min(ur,kr-Ar)),updateRequested:!0,xAxisScrollDir:getScrollDir(pr.scrollLeft,Or),yAxisScrollDir:getScrollDir(pr.scrollTop,ur)},nextTick(()=>Yn()),Xn(),jn()},Gn=(cr,Ar)=>{const br=unref(An),kr=(Vn.value-br)/Ar*cr;yr({scrollTop:Math.min(Vn.value-br,kr)})},Jn=(cr,Ar)=>{const br=unref(In),kr=(Mn.value-br)/Ar*cr;yr({scrollLeft:Math.min(Mn.value-br,kr)})},{onWheel:lr}=useGridWheel({atXStartEdge:computed(()=>kn.value.scrollLeft<=0),atXEndEdge:computed(()=>kn.value.scrollLeft>=Mn.value-unref(In)),atYStartEdge:computed(()=>kn.value.scrollTop<=0),atYEndEdge:computed(()=>kn.value.scrollTop>=Vn.value-unref(An))},(cr,Ar)=>{var br,kr,mr,ur;(kr=(br=En.value)==null?void 0:br.onMouseUp)==null||kr.call(br),(ur=(mr=En.value)==null?void 0:mr.onMouseUp)==null||ur.call(mr);const fr=unref(In),pr=unref(An);yr({scrollLeft:Math.min(kn.value.scrollLeft+cr,Mn.value-fr),scrollTop:Math.min(kn.value.scrollTop+Ar,Vn.value-pr)})}),yr=({scrollLeft:cr=kn.value.scrollLeft,scrollTop:Ar=kn.value.scrollTop})=>{cr=Math.max(cr,0),Ar=Math.max(Ar,0);const br=unref(kn);Ar===br.scrollTop&&cr===br.scrollLeft||(kn.value={...br,xAxisScrollDir:getScrollDir(br.scrollLeft,cr),yAxisScrollDir:getScrollDir(br.scrollTop,Ar),scrollLeft:cr,scrollTop:Ar,updateRequested:!0},nextTick(()=>Yn()),Xn(),jn())},ir=(cr=0,Ar=0,br=AUTO_ALIGNMENT)=>{const kr=unref(kn);Ar=Math.max(0,Math.min(Ar,At.totalColumn-1)),cr=Math.max(0,Math.min(cr,At.totalRow-1));const mr=getScrollBarWidth(_n.namespace.value),ur=unref(Sn),fr=pe(At,ur),pr=he(At,ur);yr({scrollLeft:_e(At,Ar,br,kr.scrollLeft,ur,pr>At.width?mr:0),scrollTop:$e(At,cr,br,kr.scrollTop,ur,fr>At.height?mr:0)})},qn=(cr,Ar)=>{const{columnWidth:br,direction:kr,rowHeight:mr}=At,ur=Pn.value(ie&&br,ie&&mr,ie&&kr),fr=`${cr},${Ar}`;if(hasOwn$4(ur,fr))return ur[fr];{const[,pr]=le(At,Ar,unref(Sn)),Or=unref(Sn),Lr=isRTL(kr),[Vr,Dr]=Ie(At,cr,Or),[$r]=le(At,Ar,Or);return ur[fr]={position:"absolute",left:Lr?void 0:`${pr}px`,right:Lr?`${pr}px`:void 0,top:`${Dr}px`,height:`${Vr}px`,width:`${$r}px`},ur[fr]}},Yn=()=>{kn.value.isScrolling=!1,nextTick(()=>{Pn.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:cr,initScrollTop:Ar}=At,br=unref(Cn);br&&(isNumber$4(cr)&&(br.scrollLeft=cr),isNumber$4(Ar)&&(br.scrollTop=Ar)),jn()});const Xn=()=>{const{direction:cr}=At,{scrollLeft:Ar,scrollTop:br,updateRequested:kr}=unref(kn),mr=unref(Cn);if(kr&&mr){if(cr===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{mr.scrollLeft=-Ar;break}case RTL_OFFSET_POS_ASC:{mr.scrollLeft=Ar;break}default:{const{clientWidth:ur,scrollWidth:fr}=mr;mr.scrollLeft=fr-ur-Ar;break}}else mr.scrollLeft=Math.max(0,Ar);mr.scrollTop=Math.max(0,br)}},{resetAfterColumnIndex:or,resetAfterRowIndex:_r,resetAfter:Kn}=bn.proxy;hn({windowRef:Cn,innerRef:xn,getItemStyleCache:Pn,scrollTo:yr,scrollToItem:ir,states:kn,resetAfterColumnIndex:or,resetAfterRowIndex:_r,resetAfter:Kn});const er=()=>{const{scrollbarAlwaysOn:cr,scrollbarStartGap:Ar,scrollbarEndGap:br,totalColumn:kr,totalRow:mr}=At,ur=unref(In),fr=unref(An),pr=unref(Mn),Or=unref(Vn),{scrollLeft:Lr,scrollTop:Vr}=unref(kn),Dr=h$3(ScrollBar,{ref:En,alwaysOn:cr,startGap:Ar,endGap:br,class:_n.e("horizontal"),clientSize:ur,layout:"horizontal",onScroll:Jn,ratio:ur*100/pr,scrollFrom:Lr/(pr-ur),total:mr,visible:!0}),$r=h$3(ScrollBar,{ref:wn,alwaysOn:cr,startGap:Ar,endGap:br,class:_n.e("vertical"),clientSize:fr,layout:"vertical",onScroll:Gn,ratio:fr*100/Or,scrollFrom:Vr/(Or-fr),total:kr,visible:!0});return{horizontalScrollbar:Dr,verticalScrollbar:$r}},ar=()=>{var cr;const[Ar,br]=unref(Nn),[kr,mr]=unref(Un),{data:ur,totalColumn:fr,totalRow:pr,useIsScrolling:Or,itemKey:Lr}=At,Vr=[];if(pr>0&&fr>0)for(let Dr=kr;Dr<=mr;Dr++)for(let $r=Ar;$r<=br;$r++)Vr.push((cr=vn.default)==null?void 0:cr.call(vn,{columnIndex:$r,data:ur,key:Lr({columnIndex:$r,data:ur,rowIndex:Dr}),isScrolling:Or?unref(kn).isScrolling:void 0,style:qn(Dr,$r),rowIndex:Dr}));return Vr},gr=()=>{const cr=resolveDynamicComponent(At.innerElement),Ar=ar();return[h$3(cr,{style:unref(Ln),ref:xn},isString$6(cr)?Ar:{default:()=>Ar})]};return()=>{const cr=resolveDynamicComponent(At.containerElement),{horizontalScrollbar:Ar,verticalScrollbar:br}=er(),kr=gr();return h$3("div",{key:0,class:_n.e("wrapper"),role:At.role},[h$3(cr,{class:At.className,style:unref(Fn),onScroll:Zn,onWheel:lr,ref:Cn},isString$6(cr)?kr:{default:()=>kr}),Ar,br])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:oe},ie)=>[oe,ie*oe],getRowPosition:({rowHeight:oe},ie)=>[oe,ie*oe],getEstimatedTotalHeight:({totalRow:oe,rowHeight:ie})=>ie*oe,getEstimatedTotalWidth:({totalColumn:oe,columnWidth:ie})=>ie*oe,getColumnOffset:({totalColumn:oe,columnWidth:ie,width:le},ue,de,pe,he,_e)=>{le=Number(le);const $e=Math.max(0,oe*ie-le),Ie=Math.min($e,ue*ie),Ve=Math.max(0,ue*ie-le+_e+ie);switch(de==="smart"&&(pe>=Ve-le&&pe<=Ie+le?de=AUTO_ALIGNMENT:de=CENTERED_ALIGNMENT),de){case START_ALIGNMENT:return Ie;case END_ALIGNMENT:return Ve;case CENTERED_ALIGNMENT:{const Fe=Math.round(Ve+(Ie-Ve)/2);return Fe<Math.ceil(le/2)?0:Fe>$e+Math.floor(le/2)?$e:Fe}case AUTO_ALIGNMENT:default:return pe>=Ve&&pe<=Ie?pe:Ve>Ie||pe<Ve?Ve:Ie}},getRowOffset:({rowHeight:oe,height:ie,totalRow:le},ue,de,pe,he,_e)=>{ie=Number(ie);const $e=Math.max(0,le*oe-ie),Ie=Math.min($e,ue*oe),Ve=Math.max(0,ue*oe-ie+_e+oe);switch(de===SMART_ALIGNMENT&&(pe>=Ve-ie&&pe<=Ie+ie?de=AUTO_ALIGNMENT:de=CENTERED_ALIGNMENT),de){case START_ALIGNMENT:return Ie;case END_ALIGNMENT:return Ve;case CENTERED_ALIGNMENT:{const Fe=Math.round(Ve+(Ie-Ve)/2);return Fe<Math.ceil(ie/2)?0:Fe>$e+Math.floor(ie/2)?$e:Fe}case AUTO_ALIGNMENT:default:return pe>=Ve&&pe<=Ie?pe:Ve>Ie||pe<Ve?Ve:Ie}},getColumnStartIndexForOffset:({columnWidth:oe,totalColumn:ie},le)=>Math.max(0,Math.min(ie-1,Math.floor(le/oe))),getColumnStopIndexForStartIndex:({columnWidth:oe,totalColumn:ie,width:le},ue,de)=>{const pe=ue*oe,he=Math.ceil((le+de-pe)/oe);return Math.max(0,Math.min(ie-1,ue+he-1))},getRowStartIndexForOffset:({rowHeight:oe,totalRow:ie},le)=>Math.max(0,Math.min(ie-1,Math.floor(le/oe))),getRowStopIndexForStartIndex:({rowHeight:oe,totalRow:ie,height:le},ue,de)=>{const pe=ue*oe,he=Math.ceil((le+de-pe)/oe);return Math.max(0,Math.min(ie-1,ue+he-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:oe,rowHeight:ie})=>{}}),{max:max$2,min:min$2,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(oe,ie,le,ue)=>{const[de,pe,he]=[le[ue],oe[ACCESS_SIZER_KEY_MAP[ue]],le[ACCESS_LAST_VISITED_KEY_MAP[ue]]];if(ie>he){let _e=0;if(he>=0){const $e=de[he];_e=$e.offset+$e.size}for(let $e=he+1;$e<=ie;$e++){const Ie=pe($e);de[$e]={offset:_e,size:Ie},_e+=Ie}le[ACCESS_LAST_VISITED_KEY_MAP[ue]]=ie}return de[ie]},bs=(oe,ie,le,ue,de,pe)=>{for(;le<=ue;){const he=le+floor((ue-le)/2),_e=getItemFromCache(oe,he,ie,pe).offset;if(_e===de)return he;_e<de?le=he+1:ue=he-1}return max$2(0,le-1)},es=(oe,ie,le,ue,de)=>{const pe=de==="column"?oe.totalColumn:oe.totalRow;let he=1;for(;le<pe&&getItemFromCache(oe,le,ie,de).offset<ue;)le+=he,he*=2;return bs(oe,ie,floor(le/2),min$2(le,pe-1),ue,de)},findItem=(oe,ie,le,ue)=>{const[de,pe]=[ie[ue],ie[ACCESS_LAST_VISITED_KEY_MAP[ue]]];return(pe>0?de[pe].offset:0)>=le?bs(oe,ie,0,pe,le,ue):es(oe,ie,max$2(0,pe),le,ue)},getEstimatedTotalHeight=({totalRow:oe},{estimatedRowHeight:ie,lastVisitedRowIndex:le,row:ue})=>{let de=0;if(le>=oe&&(le=oe-1),le>=0){const _e=ue[le];de=_e.offset+_e.size}const he=(oe-le-1)*ie;return de+he},getEstimatedTotalWidth=({totalColumn:oe},{column:ie,estimatedColumnWidth:le,lastVisitedColumnIndex:ue})=>{let de=0;if(ue>oe&&(ue=oe-1),ue>=0){const _e=ie[ue];de=_e.offset+_e.size}const he=(oe-ue-1)*le;return de+he},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(oe,ie,le,ue,de,pe,he)=>{const[_e,$e]=[pe==="row"?oe.height:oe.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[pe]],Ie=getItemFromCache(oe,ie,de,pe),Ve=$e(oe,de),Fe=max$2(0,min$2(Ve-_e,Ie.offset)),Ue=max$2(0,Ie.offset-_e+he+Ie.size);switch(le===SMART_ALIGNMENT&&(ue>=Ue-_e&&ue<=Fe+_e?le=AUTO_ALIGNMENT:le=CENTERED_ALIGNMENT),le){case START_ALIGNMENT:return Fe;case END_ALIGNMENT:return Ue;case CENTERED_ALIGNMENT:return Math.round(Ue+(Fe-Ue)/2);case AUTO_ALIGNMENT:default:return ue>=Ue&&ue<=Fe?ue:Ue>Fe||ue<Ue?Ue:Fe}},DynamicSizeGrid=createGrid({name:"ElDynamicSizeGrid",getColumnPosition:(oe,ie,le)=>{const ue=getItemFromCache(oe,ie,le,"column");return[ue.size,ue.offset]},getRowPosition:(oe,ie,le)=>{const ue=getItemFromCache(oe,ie,le,"row");return[ue.size,ue.offset]},getColumnOffset:(oe,ie,le,ue,de,pe)=>getOffset$1(oe,ie,le,ue,de,"column",pe),getRowOffset:(oe,ie,le,ue,de,pe)=>getOffset$1(oe,ie,le,ue,de,"row",pe),getColumnStartIndexForOffset:(oe,ie,le)=>findItem(oe,le,ie,"column"),getColumnStopIndexForStartIndex:(oe,ie,le,ue)=>{const de=getItemFromCache(oe,ie,ue,"column"),pe=le+oe.width;let he=de.offset+de.size,_e=ie;for(;_e<oe.totalColumn-1&&he<pe;)_e++,he+=getItemFromCache(oe,ie,ue,"column").size;return _e},getEstimatedTotalHeight,getEstimatedTotalWidth,getRowStartIndexForOffset:(oe,ie,le)=>findItem(oe,le,ie,"row"),getRowStopIndexForStartIndex:(oe,ie,le,ue)=>{const{totalRow:de,height:pe}=oe,he=getItemFromCache(oe,ie,ue,"row"),_e=le+pe;let $e=he.size+he.offset,Ie=ie;for(;Ie<de-1&&$e<_e;)Ie++,$e+=getItemFromCache(oe,Ie,ue,"row").size;return Ie},injectToInstance:(oe,ie)=>{const le=({columnIndex:pe,rowIndex:he},_e)=>{var $e,Ie;_e=isUndefined$1(_e)?!0:_e,isNumber$4(pe)&&(ie.value.lastVisitedColumnIndex=Math.min(ie.value.lastVisitedColumnIndex,pe-1)),isNumber$4(he)&&(ie.value.lastVisitedRowIndex=Math.min(ie.value.lastVisitedRowIndex,he-1)),($e=oe.exposed)==null||$e.getItemStyleCache.value(-1,null,null),_e&&((Ie=oe.proxy)==null||Ie.$forceUpdate())},ue=(pe,he)=>{le({columnIndex:pe},he)},de=(pe,he)=>{le({rowIndex:pe},he)};Object.assign(oe.proxy,{resetAfterColumnIndex:ue,resetAfterRowIndex:de,resetAfter:le})},initCache:({estimatedColumnWidth:oe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:ie=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:oe,estimatedRowHeight:ie,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:oe,rowHeight:ie})=>{}}),_sfc_main$F=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$8(oe,ie,le,ue,de,pe){return oe.item.isTitle?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(oe.ns.be("group","title")),style:normalizeStyle$1([oe.style,{lineHeight:`${oe.height}px`}])},toDisplayString$1(oe.item.label),7)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(oe.ns.be("group","split")),style:normalizeStyle$1(oe.style)},[createBaseVNode("span",{class:normalizeClass(oe.ns.be("group","split-dash")),style:normalizeStyle$1({top:`${oe.height/2}px`})},null,6)],6))}var GroupItem=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function useOption(oe,{emit:ie}){return{hoverItem:()=>{oe.disabled||ie("hover",oe.index)},selectOptionClick:()=>{oe.disabled||ie("select",oe.item,oe.index)}}}const SelectProps={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:circle_close_default},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:isValidComponentSize},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"}},OptionProps={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},_sfc_main$E=defineComponent({props:OptionProps,emits:["select","hover"],setup(oe,{emit:ie}){const le=useNamespace("select"),{hoverItem:ue,selectOptionClick:de}=useOption(oe,{emit:ie});return{ns:le,hoverItem:ue,selectOptionClick:de}}}),_hoisted_1$j=["aria-selected"];function _sfc_render$7(oe,ie,le,ue,de,pe){return openBlock(),createElementBlock("li",{"aria-selected":oe.selected,style:normalizeStyle$1(oe.style),class:normalizeClass([oe.ns.be("dropdown","option-item"),oe.ns.is("selected",oe.selected),oe.ns.is("disabled",oe.disabled),oe.ns.is("created",oe.created),{hover:oe.hovering}]),onMouseenter:ie[0]||(ie[0]=(...he)=>oe.hoverItem&&oe.hoverItem(...he)),onClick:ie[1]||(ie[1]=withModifiers((...he)=>oe.selectOptionClick&&oe.selectOptionClick(...he),["stop"]))},[renderSlot(oe.$slots,"default",{item:oe.item,index:oe.index,disabled:oe.disabled},()=>[createBaseVNode("span",null,toDisplayString$1(oe.item.label),1)])],46,_hoisted_1$j)}var OptionItem=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$7],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const selectV2InjectionKey=Symbol("ElSelectV2Injection");var ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(oe,{slots:ie,expose:le}){const ue=inject(selectV2InjectionKey),de=useNamespace("select"),pe=ref([]),he=ref(),_e=computed(()=>oe.data.length);watch(()=>_e.value,()=>{var wn,xn;(xn=(wn=ue.popper.value).updatePopper)==null||xn.call(wn)});const $e=computed(()=>isUndefined$1(ue.props.estimatedOptionHeight)),Ie=computed(()=>$e.value?{itemSize:ue.props.itemHeight}:{estimatedSize:ue.props.estimatedOptionHeight,itemSize:wn=>pe.value[wn]}),Ve=(wn=[],xn)=>{const{props:{valueKey:kn}}=ue;return isObject$9(xn)?wn&&wn.some(Pn=>get$1(Pn,kn)===get$1(xn,kn)):wn.includes(xn)},Fe=(wn,xn)=>{if(isObject$9(xn)){const{valueKey:kn}=ue.props;return get$1(wn,kn)===get$1(xn,kn)}else return wn===xn},Ue=(wn,xn)=>{const{valueKey:kn}=ue.props;return ue.props.multiple?Ve(wn,get$1(xn,kn)):Fe(wn,get$1(xn,kn))},qe=(wn,xn)=>{const{disabled:kn,multiple:Pn,multipleLimit:An}=ue.props;return kn||!xn&&(Pn?An>0&&wn.length>=An:!1)},Et=wn=>oe.hoveringIndex===wn;le({listRef:he,isSized:$e,isItemDisabled:qe,isItemHovering:Et,isItemSelected:Ue,scrollToItem:wn=>{const xn=he.value;xn&&xn.scrollToItem(wn)},resetScrollTop:()=>{const wn=he.value;wn&&wn.resetScrollTop()}});const hn=wn=>{const{index:xn,data:kn,style:Pn}=wn,An=unref($e),{itemSize:In,estimatedSize:Nn}=unref(Ie),{modelValue:Un}=ue.props,{onSelect:Vn,onHover:Mn}=ue,Fn=kn[xn];if(Fn.type==="Group")return createVNode(GroupItem,{item:Fn,style:Pn,height:An?In:Nn},null);const Ln=Ue(Un,Fn),jn=qe(Un,Ln),Zn=Et(xn);return createVNode(OptionItem,mergeProps(wn,{selected:Ln,disabled:Fn.disabled||jn,created:!!Fn.created,hovering:Zn,item:Fn,onSelect:Vn,onHover:Mn}),{default:Gn=>{var Jn;return((Jn=ie.default)==null?void 0:Jn.call(ie,Gn))||createVNode("span",null,[Fn.label])}})},{onKeyboardNavigate:vn,onKeyboardSelect:_n}=ue,bn=()=>{vn("forward")},Sn=()=>{vn("backward")},Cn=()=>{ue.expanded=!1},En=wn=>{const{code:xn}=wn,{tab:kn,esc:Pn,down:An,up:In,enter:Nn}=EVENT_CODE;switch(xn!==kn&&(wn.preventDefault(),wn.stopPropagation()),xn){case kn:case Pn:{Cn();break}case An:{bn();break}case In:{Sn();break}case Nn:{_n();break}}};return()=>{var wn;const{data:xn,width:kn}=oe,{height:Pn,multiple:An,scrollbarAlwaysOn:In}=ue.props;if(xn.length===0)return createVNode("div",{class:de.b("dropdown"),style:{width:`${kn}px`}},[(wn=ie.empty)==null?void 0:wn.call(ie)]);const Nn=unref($e)?FixedSizeList:DynamicSizeList;return createVNode("div",{class:[de.b("dropdown"),de.is("multiple",An)]},[createVNode(Nn,mergeProps({ref:he},unref(Ie),{className:de.be("dropdown","list"),scrollbarAlwaysOn:In,data:xn,height:Pn,width:kn,total:xn.length,onKeydown:En}),{default:Un=>createVNode(hn,Un,null)})])}}});function useAllowCreate(oe,ie){const le=ref(0),ue=ref(null),de=computed(()=>oe.allowCreate&&oe.filterable);function pe(Ve){const Fe=Ue=>Ue.value===Ve;return oe.options&&oe.options.some(Fe)||ie.createdOptions.some(Fe)}function he(Ve){de.value&&(oe.multiple&&Ve.created?le.value++:ue.value=Ve)}function _e(Ve){if(de.value)if(Ve&&Ve.length>0&&!pe(Ve)){const Fe={value:Ve,label:Ve,created:!0,disabled:!1};ie.createdOptions.length>=le.value?ie.createdOptions[le.value]=Fe:ie.createdOptions.push(Fe)}else if(oe.multiple)ie.createdOptions.length=le.value;else{const Fe=ue.value;ie.createdOptions.length=0,Fe&&Fe.created&&ie.createdOptions.push(Fe)}}function $e(Ve){if(!de.value||!Ve||!Ve.created||Ve.created&&oe.reserveKeyword&&ie.inputValue===Ve.label)return;const Fe=ie.createdOptions.findIndex(Ue=>Ue.value===Ve.value);~Fe&&(ie.createdOptions.splice(Fe,1),le.value--)}function Ie(){de.value&&(ie.createdOptions.length=0,le.value=0)}return{createNewOption:_e,removeNewOption:$e,selectNewOption:he,clearAllNewOption:Ie}}const flattenOptions=oe=>{const ie=[];return oe.forEach(le=>{isArray$c(le.options)?(ie.push({label:le.label,isTitle:!0,type:"Group"}),le.options.forEach(ue=>{ie.push(ue)}),ie.push({type:"Group"})):ie.push(le)}),ie};function useInput(oe){const ie=ref(!1);return{handleCompositionStart:()=>{ie.value=!0},handleCompositionUpdate:pe=>{const he=pe.target.value,_e=he[he.length-1]||"";ie.value=!isKorean(_e)},handleCompositionEnd:pe=>{ie.value&&(ie.value=!1,isFunction$5(oe)&&oe(pe))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=(oe,ie)=>{const{t:le}=useLocale(),ue=useNamespace("select-v2"),de=useNamespace("input"),{form:pe,formItem:he}=useFormItem(),_e=reactive({inputValue:DEFAULT_INPUT_PLACEHOLDER,displayInputValue:DEFAULT_INPUT_PLACEHOLDER,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),$e=ref(-1),Ie=ref(-1),Ve=ref(null),Fe=ref(null),Ue=ref(null),qe=ref(null),Et=ref(null),At=ref(null),Lt=ref(null),hn=ref(!1),vn=computed(()=>oe.disabled||(pe==null?void 0:pe.disabled)),_n=computed(()=>{const Pr=An.value.length*34;return Pr>oe.height?oe.height:Pr}),bn=computed(()=>!isNil(oe.modelValue)),Sn=computed(()=>{const Pr=oe.multiple?Array.isArray(oe.modelValue)&&oe.modelValue.length>0:bn.value;return oe.clearable&&!vn.value&&_e.comboBoxHovering&&Pr}),Cn=computed(()=>oe.remote&&oe.filterable?"":arrow_up_default),En=computed(()=>Cn.value&&ue.is("reverse",hn.value)),wn=computed(()=>(he==null?void 0:he.validateState)||""),xn=computed(()=>ValidateComponentsMap[wn.value]),kn=computed(()=>oe.remote?300:0),Pn=computed(()=>{const Pr=An.value;return oe.loading?oe.loadingText||le("el.select.loading"):oe.remote&&_e.inputValue===""&&Pr.length===0?!1:oe.filterable&&_e.inputValue&&Pr.length>0?oe.noMatchText||le("el.select.noMatch"):Pr.length===0?oe.noDataText||le("el.select.noData"):null}),An=computed(()=>{const Pr=Rr=>{const Gr=_e.inputValue,Xr=new RegExp(escapeStringRegexp(Gr),"i");return Gr?Xr.test(Rr.label||""):!0};return oe.loading?[]:flattenOptions(oe.options.concat(_e.createdOptions).map(Rr=>{if(isArray$c(Rr.options)){const Gr=Rr.options.filter(Pr);if(Gr.length>0)return{...Rr,options:Gr}}else if(oe.remote||Pr(Rr))return Rr;return null}).filter(Rr=>Rr!==null))}),In=computed(()=>An.value.every(Pr=>Pr.disabled)),Nn=useFormSize(),Un=computed(()=>Nn.value==="small"?"small":"default"),Vn=computed(()=>{const Pr=At.value,Rr=Un.value||"default",Gr=Pr?Number.parseInt(getComputedStyle(Pr).paddingLeft):0,Xr=Pr?Number.parseInt(getComputedStyle(Pr).paddingRight):0;return _e.selectWidth-Xr-Gr-TAG_BASE_WIDTH[Rr]}),Mn=()=>{var Pr;Ie.value=((Pr=Et.value)==null?void 0:Pr.offsetWidth)||200},Fn=computed(()=>({width:`${_e.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil(_e.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),Ln=computed(()=>isArray$c(oe.modelValue)?oe.modelValue.length===0&&!_e.displayInputValue:oe.filterable?_e.displayInputValue.length===0:!0),jn=computed(()=>{const Pr=oe.placeholder||le("el.select.placeholder");return oe.multiple||isNil(oe.modelValue)?Pr:_e.selectedLabel}),Zn=computed(()=>{var Pr,Rr;return(Rr=(Pr=qe.value)==null?void 0:Pr.popperRef)==null?void 0:Rr.contentRef}),Gn=computed(()=>{if(oe.multiple){const Pr=oe.modelValue.length;if(oe.modelValue.length>0)return An.value.findIndex(Rr=>Rr.value===oe.modelValue[Pr-1])}else if(oe.modelValue)return An.value.findIndex(Pr=>Pr.value===oe.modelValue);return-1}),Jn=computed({get(){return hn.value&&Pn.value!==!1},set(Pr){hn.value=Pr}}),lr=computed(()=>_e.cachedOptions.slice(0,oe.maxCollapseTags)),yr=computed(()=>_e.cachedOptions.slice(oe.maxCollapseTags)),{createNewOption:ir,removeNewOption:qn,selectNewOption:Yn,clearAllNewOption:Xn}=useAllowCreate(oe,_e),{handleCompositionStart:or,handleCompositionUpdate:_r,handleCompositionEnd:Kn}=useInput(Pr=>Fr(Pr)),er=()=>{var Pr,Rr,Gr;(Rr=(Pr=Fe.value)==null?void 0:Pr.focus)==null||Rr.call(Pr),(Gr=qe.value)==null||Gr.updatePopper()},ar=()=>{if(!oe.automaticDropdown&&!vn.value)return _e.isComposing&&(_e.softFocus=!0),nextTick(()=>{var Pr,Rr;hn.value=!hn.value,(Rr=(Pr=Fe.value)==null?void 0:Pr.focus)==null||Rr.call(Pr)})},gr=()=>(oe.filterable&&_e.inputValue!==_e.selectedLabel&&(_e.query=_e.selectedLabel),cr(_e.inputValue),nextTick(()=>{ir(_e.inputValue)})),Er=debounce(gr,kn.value),cr=Pr=>{_e.previousQuery!==Pr&&(_e.previousQuery=Pr,oe.filterable&&isFunction$5(oe.filterMethod)?oe.filterMethod(Pr):oe.filterable&&oe.remote&&isFunction$5(oe.remoteMethod)&&oe.remoteMethod(Pr))},Ar=Pr=>{isEqual$1(oe.modelValue,Pr)||ie(CHANGE_EVENT,Pr)},br=Pr=>{ie(UPDATE_MODEL_EVENT,Pr),Ar(Pr),_e.previousValue=Pr==null?void 0:Pr.toString()},kr=(Pr=[],Rr)=>{if(!isObject$9(Rr))return Pr.indexOf(Rr);const Gr=oe.valueKey;let Xr=-1;return Pr.some((Hr,Qr)=>get$1(Hr,Gr)===get$1(Rr,Gr)?(Xr=Qr,!0):!1),Xr},mr=Pr=>isObject$9(Pr)?get$1(Pr,oe.valueKey):Pr,ur=Pr=>isObject$9(Pr)?Pr.label:Pr,fr=()=>nextTick(()=>{var Pr,Rr;if(!Fe.value)return;const Gr=At.value;Et.value.height=Gr.offsetHeight,hn.value&&Pn.value!==!1&&((Rr=(Pr=qe.value)==null?void 0:Pr.updatePopper)==null||Rr.call(Pr))}),pr=()=>{var Pr,Rr;if(Or(),Mn(),(Rr=(Pr=qe.value)==null?void 0:Pr.updatePopper)==null||Rr.call(Pr),oe.multiple)return fr()},Or=()=>{const Pr=At.value;Pr&&(_e.selectWidth=Pr.getBoundingClientRect().width)},Lr=(Pr,Rr,Gr=!0)=>{var Xr,Hr;if(oe.multiple){let Qr=oe.modelValue.slice();const oo=kr(Qr,mr(Pr));oo>-1?(Qr=[...Qr.slice(0,oo),...Qr.slice(oo+1)],_e.cachedOptions.splice(oo,1),qn(Pr)):(oe.multipleLimit<=0||Qr.length<oe.multipleLimit)&&(Qr=[...Qr,mr(Pr)],_e.cachedOptions.push(Pr),Yn(Pr),zr(Rr)),br(Qr),Pr.created&&(_e.query="",cr(""),_e.inputLength=20),oe.filterable&&!oe.reserveKeyword&&((Hr=(Xr=Fe.value).focus)==null||Hr.call(Xr),sr("")),oe.filterable&&(_e.calculatedWidth=Lt.value.getBoundingClientRect().width),fr(),Nr()}else $e.value=Rr,_e.selectedLabel=Pr.label,br(mr(Pr)),hn.value=!1,_e.isComposing=!1,_e.isSilentBlur=Gr,Yn(Pr),Pr.created||Xn(),zr(Rr)},Vr=(Pr,Rr)=>{const{valueKey:Gr}=oe,Xr=oe.modelValue.indexOf(get$1(Rr,Gr));if(Xr>-1&&!vn.value){const Hr=[...oe.modelValue.slice(0,Xr),...oe.modelValue.slice(Xr+1)];return _e.cachedOptions.splice(Xr,1),br(Hr),ie("remove-tag",get$1(Rr,Gr)),_e.softFocus=!0,qn(Rr),nextTick(er)}Pr.stopPropagation()},Dr=Pr=>{const Rr=_e.isComposing;_e.isComposing=!0,_e.softFocus?_e.softFocus=!1:Rr||ie("focus",Pr)},$r=Pr=>(_e.softFocus=!1,nextTick(()=>{var Rr,Gr;(Gr=(Rr=Fe.value)==null?void 0:Rr.blur)==null||Gr.call(Rr),Lt.value&&(_e.calculatedWidth=Lt.value.getBoundingClientRect().width),_e.isSilentBlur?_e.isSilentBlur=!1:_e.isComposing&&ie("blur",Pr),_e.isComposing=!1})),xr=()=>{_e.displayInputValue.length>0?sr(""):hn.value=!1},dr=Pr=>{if(_e.displayInputValue.length===0){Pr.preventDefault();const Rr=oe.modelValue.slice();Rr.pop(),qn(_e.cachedOptions.pop()),br(Rr)}},Qn=()=>{let Pr;return isArray$c(oe.modelValue)?Pr=[]:Pr=void 0,_e.softFocus=!0,oe.multiple?_e.cachedOptions=[]:_e.selectedLabel="",hn.value=!1,br(Pr),ie("clear"),Xn(),nextTick(er)},sr=Pr=>{_e.displayInputValue=Pr,_e.inputValue=Pr},wr=(Pr,Rr=void 0)=>{const Gr=An.value;if(!["forward","backward"].includes(Pr)||vn.value||Gr.length<=0||In.value)return;if(!hn.value)return ar();Rr===void 0&&(Rr=_e.hoveringIndex);let Xr=-1;Pr==="forward"?(Xr=Rr+1,Xr>=Gr.length&&(Xr=0)):Pr==="backward"&&(Xr=Rr-1,(Xr<0||Xr>=Gr.length)&&(Xr=Gr.length-1));const Hr=Gr[Xr];if(Hr.disabled||Hr.type==="Group")return wr(Pr,Xr);zr(Xr),qr(Xr)},Ir=()=>{if(hn.value)~_e.hoveringIndex&&An.value[_e.hoveringIndex]&&Lr(An.value[_e.hoveringIndex],_e.hoveringIndex,!1);else return ar()},zr=Pr=>{_e.hoveringIndex=Pr},Cr=()=>{_e.hoveringIndex=-1},Nr=()=>{var Pr;const Rr=Fe.value;Rr&&((Pr=Rr.focus)==null||Pr.call(Rr))},Fr=Pr=>{const Rr=Pr.target.value;if(sr(Rr),_e.displayInputValue.length>0&&!hn.value&&(hn.value=!0),_e.calculatedWidth=Lt.value.getBoundingClientRect().width,oe.multiple&&fr(),oe.remote)Er();else return gr()},jr=()=>(hn.value=!1,$r()),Wr=()=>(_e.inputValue=_e.displayInputValue,nextTick(()=>{~Gn.value&&(zr(Gn.value),qr(_e.hoveringIndex))})),qr=Pr=>{Ue.value.scrollToItem(Pr)},Jr=()=>{if(Cr(),oe.multiple)if(oe.modelValue.length>0){let Pr=!1;_e.cachedOptions.length=0,_e.previousValue=oe.modelValue.toString(),oe.modelValue.forEach(Rr=>{const Gr=An.value.findIndex(Xr=>mr(Xr)===Rr);~Gr&&(_e.cachedOptions.push(An.value[Gr]),Pr||zr(Gr),Pr=!0)})}else _e.cachedOptions=[],_e.previousValue=void 0;else if(bn.value){_e.previousValue=oe.modelValue;const Pr=An.value,Rr=Pr.findIndex(Gr=>mr(Gr)===mr(oe.modelValue));~Rr?(_e.selectedLabel=Pr[Rr].label,zr(Rr)):_e.selectedLabel=`${oe.modelValue}`}else _e.selectedLabel="",_e.previousValue=void 0;Xn(),Mn()};return watch(hn,Pr=>{var Rr,Gr;ie("visible-change",Pr),Pr?(Gr=(Rr=qe.value).update)==null||Gr.call(Rr):(_e.displayInputValue="",_e.previousQuery=null,ir(""))}),watch(()=>oe.modelValue,(Pr,Rr)=>{var Gr;(!Pr||Pr.toString()!==_e.previousValue)&&Jr(),!isEqual$1(Pr,Rr)&&oe.validateEvent&&((Gr=he==null?void 0:he.validate)==null||Gr.call(he,"change").catch(Xr=>void 0))},{deep:!0}),watch(()=>oe.options,()=>{const Pr=Fe.value;(!Pr||Pr&&document.activeElement!==Pr)&&Jr()},{deep:!0}),watch(An,()=>nextTick(Ue.value.resetScrollTop)),watch(()=>Jn.value,Pr=>{Pr||Cr()}),onMounted(()=>{Jr()}),useResizeObserver$1(Et,pr),{collapseTagSize:Un,currentPlaceholder:jn,expanded:hn,emptyText:Pn,popupHeight:_n,debounce:kn,filteredOptions:An,iconComponent:Cn,iconReverse:En,inputWrapperStyle:Fn,popperSize:Ie,dropdownMenuVisible:Jn,hasModelValue:bn,shouldShowPlaceholder:Ln,selectDisabled:vn,selectSize:Nn,showClearBtn:Sn,states:_e,tagMaxWidth:Vn,nsSelectV2:ue,nsInput:de,calculatorRef:Lt,controlRef:Ve,inputRef:Fe,menuRef:Ue,popper:qe,selectRef:Et,selectionRef:At,popperRef:Zn,validateState:wn,validateIcon:xn,showTagList:lr,collapseTagList:yr,debouncedOnInputChange:Er,deleteTag:Vr,getLabel:ur,getValueKey:mr,handleBlur:$r,handleClear:Qn,handleClickOutside:jr,handleDel:dr,handleEsc:xr,handleFocus:Dr,handleMenuEnter:Wr,handleResize:pr,toggleMenu:ar,scrollTo:qr,onInput:Fr,onKeyboardNavigate:wr,onKeyboardSelect:Ir,onSelect:Lr,onHover:zr,onUpdateInputValue:sr,handleCompositionStart:or,handleCompositionEnd:Kn,handleCompositionUpdate:_r}},_sfc_main$D=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside,ModelText:vModelText},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(oe,{emit:ie}){const le=computed(()=>{const{modelValue:de,multiple:pe}=oe,he=pe?[]:void 0;return isArray$c(de)?pe?de:he:pe?he:de}),ue=useSelect$1(reactive({...toRefs(oe),modelValue:le}),ie);return provide(selectV2InjectionKey,{props:reactive({...toRefs(oe),height:ue.popupHeight,modelValue:le}),popper:ue.popper,onSelect:ue.onSelect,onHover:ue.onHover,onKeyboardNavigate:ue.onKeyboardNavigate,onKeyboardSelect:ue.onKeyboardSelect}),{...ue,modelValue:le}}}),_hoisted_1$i={key:0},_hoisted_2$d=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],_hoisted_3$7=["textContent"],_hoisted_4$4=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],_hoisted_5$2=["textContent"];function _sfc_render$6(oe,ie,le,ue,de,pe){const he=resolveComponent("el-tag"),_e=resolveComponent("el-tooltip"),$e=resolveComponent("el-icon"),Ie=resolveComponent("el-select-menu"),Ve=resolveDirective("model-text"),Fe=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([oe.nsSelectV2.b(),oe.nsSelectV2.m(oe.selectSize)]),onClick:ie[24]||(ie[24]=withModifiers((...Ue)=>oe.toggleMenu&&oe.toggleMenu(...Ue),["stop"])),onMouseenter:ie[25]||(ie[25]=Ue=>oe.states.comboBoxHovering=!0),onMouseleave:ie[26]||(ie[26]=Ue=>oe.states.comboBoxHovering=!1)},[createVNode(_e,{ref:"popper",visible:oe.dropdownMenuVisible,teleported:oe.teleported,"popper-class":[oe.nsSelectV2.e("popper"),oe.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":oe.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:oe.effect,placement:oe.placement,pure:"",transition:`${oe.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:oe.persistent,onBeforeShow:oe.handleMenuEnter,onHide:ie[23]||(ie[23]=Ue=>oe.states.inputValue=oe.states.displayInputValue)},{default:withCtx(()=>[createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([oe.nsSelectV2.e("wrapper"),oe.nsSelectV2.is("focused",oe.states.isComposing||oe.expanded),oe.nsSelectV2.is("hovering",oe.states.comboBoxHovering),oe.nsSelectV2.is("filterable",oe.filterable),oe.nsSelectV2.is("disabled",oe.selectDisabled)])},[oe.$slots.prefix?(openBlock(),createElementBlock("div",_hoisted_1$i,[renderSlot(oe.$slots,"prefix")])):createCommentVNode("v-if",!0),oe.multiple?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(oe.nsSelectV2.e("selection"))},[oe.collapseTags&&oe.modelValue.length>0?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.showTagList,Ue=>(openBlock(),createElementBlock("div",{key:oe.getValueKey(Ue),class:normalizeClass(oe.nsSelectV2.e("selected-item"))},[createVNode(he,{closable:!oe.selectDisabled&&!(Ue!=null&&Ue.disable),size:oe.collapseTagSize,type:"info","disable-transitions":"",onClose:qe=>oe.deleteTag(qe,Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${oe.tagMaxWidth}px`})},toDisplayString$1(Ue==null?void 0:Ue.label),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass(oe.nsSelectV2.e("selected-item"))},[oe.modelValue.length>oe.maxCollapseTags?(openBlock(),createBlock(he,{key:0,closable:!1,size:oe.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[oe.collapseTagsTooltip?(openBlock(),createBlock(_e,{key:0,disabled:oe.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:oe.effect,placement:"bottom",teleported:!1},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${oe.tagMaxWidth}px`})},"+ "+toDisplayString$1(oe.modelValue.length-oe.maxCollapseTags),7)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(oe.nsSelectV2.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.collapseTagList,Ue=>(openBlock(),createElementBlock("div",{key:oe.getValueKey(Ue),class:normalizeClass(oe.nsSelectV2.e("selected-item"))},[createVNode(he,{closable:!oe.selectDisabled&&!Ue.disabled,size:oe.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:qe=>oe.deleteTag(qe,Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${oe.tagMaxWidth}px`})},toDisplayString$1(oe.getLabel(Ue)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(oe.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${oe.tagMaxWidth}px`})},"+ "+toDisplayString$1(oe.modelValue.length-oe.maxCollapseTags),7))]),_:1},8,["size"])):createCommentVNode("v-if",!0)],2)],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(oe.states.cachedOptions,Ue=>(openBlock(),createElementBlock("div",{key:oe.getValueKey(Ue),class:normalizeClass(oe.nsSelectV2.e("selected-item"))},[createVNode(he,{closable:!oe.selectDisabled&&!Ue.disabled,size:oe.collapseTagSize,type:"info","disable-transitions":"",onClose:qe=>oe.deleteTag(qe,Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(oe.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${oe.tagMaxWidth}px`})},toDisplayString$1(oe.getLabel(Ue)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass([oe.nsSelectV2.e("selected-item"),oe.nsSelectV2.e("input-wrapper")]),style:normalizeStyle$1(oe.inputWrapperStyle)},[withDirectives(createBaseVNode("input",{id:oe.id,ref:"inputRef",autocomplete:oe.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":oe.expanded,"aria-labelledby":oe.label,class:normalizeClass([oe.nsSelectV2.is(oe.selectSize),oe.nsSelectV2.e("combobox-input")]),disabled:oe.disabled,role:"combobox",readonly:!oe.filterable,spellcheck:"false",type:"text",name:oe.name,unselectable:oe.expanded?"on":void 0,"onUpdate:modelValue":ie[0]||(ie[0]=(...Ue)=>oe.onUpdateInputValue&&oe.onUpdateInputValue(...Ue)),onFocus:ie[1]||(ie[1]=(...Ue)=>oe.handleFocus&&oe.handleFocus(...Ue)),onBlur:ie[2]||(ie[2]=(...Ue)=>oe.handleBlur&&oe.handleBlur(...Ue)),onInput:ie[3]||(ie[3]=(...Ue)=>oe.onInput&&oe.onInput(...Ue)),onCompositionstart:ie[4]||(ie[4]=(...Ue)=>oe.handleCompositionStart&&oe.handleCompositionStart(...Ue)),onCompositionupdate:ie[5]||(ie[5]=(...Ue)=>oe.handleCompositionUpdate&&oe.handleCompositionUpdate(...Ue)),onCompositionend:ie[6]||(ie[6]=(...Ue)=>oe.handleCompositionEnd&&oe.handleCompositionEnd(...Ue)),onKeydown:[ie[7]||(ie[7]=withKeys(withModifiers(Ue=>oe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),ie[8]||(ie[8]=withKeys(withModifiers(Ue=>oe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),ie[9]||(ie[9]=withKeys(withModifiers((...Ue)=>oe.onKeyboardSelect&&oe.onKeyboardSelect(...Ue),["stop","prevent"]),["enter"])),ie[10]||(ie[10]=withKeys(withModifiers((...Ue)=>oe.handleEsc&&oe.handleEsc(...Ue),["stop","prevent"]),["esc"])),ie[11]||(ie[11]=withKeys(withModifiers((...Ue)=>oe.handleDel&&oe.handleDel(...Ue),["stop"]),["delete"]))]},null,42,_hoisted_2$d),[[Ve,oe.states.displayInputValue]]),oe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(oe.nsSelectV2.e("input-calculator")),textContent:toDisplayString$1(oe.states.displayInputValue)},null,10,_hoisted_3$7)):createCommentVNode("v-if",!0)],6)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",{class:normalizeClass([oe.nsSelectV2.e("selected-item"),oe.nsSelectV2.e("input-wrapper")])},[withDirectives(createBaseVNode("input",{id:oe.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":oe.label,"aria-expanded":oe.expanded,autocapitalize:"off",autocomplete:oe.autocomplete,class:normalizeClass(oe.nsSelectV2.e("combobox-input")),disabled:oe.disabled,name:oe.name,role:"combobox",readonly:!oe.filterable,spellcheck:"false",type:"text",unselectable:oe.expanded?"on":void 0,onCompositionstart:ie[12]||(ie[12]=(...Ue)=>oe.handleCompositionStart&&oe.handleCompositionStart(...Ue)),onCompositionupdate:ie[13]||(ie[13]=(...Ue)=>oe.handleCompositionUpdate&&oe.handleCompositionUpdate(...Ue)),onCompositionend:ie[14]||(ie[14]=(...Ue)=>oe.handleCompositionEnd&&oe.handleCompositionEnd(...Ue)),onFocus:ie[15]||(ie[15]=(...Ue)=>oe.handleFocus&&oe.handleFocus(...Ue)),onBlur:ie[16]||(ie[16]=(...Ue)=>oe.handleBlur&&oe.handleBlur(...Ue)),onInput:ie[17]||(ie[17]=(...Ue)=>oe.onInput&&oe.onInput(...Ue)),onKeydown:[ie[18]||(ie[18]=withKeys(withModifiers(Ue=>oe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),ie[19]||(ie[19]=withKeys(withModifiers(Ue=>oe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),ie[20]||(ie[20]=withKeys(withModifiers((...Ue)=>oe.onKeyboardSelect&&oe.onKeyboardSelect(...Ue),["stop","prevent"]),["enter"])),ie[21]||(ie[21]=withKeys(withModifiers((...Ue)=>oe.handleEsc&&oe.handleEsc(...Ue),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":ie[22]||(ie[22]=(...Ue)=>oe.onUpdateInputValue&&oe.onUpdateInputValue(...Ue))},null,42,_hoisted_4$4),[[Ve,oe.states.displayInputValue]])],2),oe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass([oe.nsSelectV2.e("selected-item"),oe.nsSelectV2.e("input-calculator")]),textContent:toDisplayString$1(oe.states.displayInputValue)},null,10,_hoisted_5$2)):createCommentVNode("v-if",!0)],64)),oe.shouldShowPlaceholder?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([oe.nsSelectV2.e("placeholder"),oe.nsSelectV2.is("transparent",oe.multiple?oe.modelValue.length===0:!oe.hasModelValue)])},toDisplayString$1(oe.currentPlaceholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(oe.nsSelectV2.e("suffix"))},[oe.iconComponent?withDirectives((openBlock(),createBlock($e,{key:0,class:normalizeClass([oe.nsSelectV2.e("caret"),oe.nsInput.e("icon"),oe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.iconComponent)))]),_:1},8,["class"])),[[vShow,!oe.showClearBtn]]):createCommentVNode("v-if",!0),oe.showClearBtn&&oe.clearIcon?(openBlock(),createBlock($e,{key:1,class:normalizeClass([oe.nsSelectV2.e("caret"),oe.nsInput.e("icon")]),onClick:withModifiers(oe.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),oe.validateState&&oe.validateIcon?(openBlock(),createBlock($e,{key:2,class:normalizeClass([oe.nsInput.e("icon"),oe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode(Ie,{ref:"menuRef",data:oe.filteredOptions,width:oe.popperSize,"hovering-index":oe.states.hoveringIndex,"scrollbar-always-on":oe.scrollbarAlwaysOn},{default:withCtx(Ue=>[renderSlot(oe.$slots,"default",normalizeProps(guardReactiveProps(Ue)))]),empty:withCtx(()=>[renderSlot(oe.$slots,"empty",{},()=>[createBaseVNode("p",{class:normalizeClass(oe.nsSelectV2.e("empty"))},toDisplayString$1(oe.emptyText?oe.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","placement","transition","persistent","onBeforeShow"])],34)),[[Fe,oe.handleClickOutside,oe.popperRef]])}var Select=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);Select.install=oe=>{oe.component(Select.name,Select)};const _Select=Select,ElSelectV2=_Select,skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$t=defineComponent({name:"ElSkeletonItem"}),_sfc_main$C=defineComponent({...__default__$t,props:skeletonItemProps,setup(oe){const ie=useNamespace("skeleton");return(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).e("item"),unref(ie).e(le.variant)])},[le.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const __default__$s=defineComponent({name:"ElSkeleton"}),_sfc_main$B=defineComponent({...__default__$s,props:skeletonProps,setup(oe,{expose:ie}){const le=oe,ue=useNamespace("skeleton"),de=useThrottleRender(toRef$1(le,"loading"),le.throttle);return ie({uiLoading:de}),(pe,he)=>unref(de)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(ue).b(),unref(ue).is("animated",pe.animated)]},pe.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.count,_e=>(openBlock(),createElementBlock(Fragment,{key:_e},[pe.loading?renderSlot(pe.$slots,"template",{key:_e},()=>[createVNode(SkeletonItem,{class:normalizeClass(unref(ue).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.rows,$e=>(openBlock(),createBlock(SkeletonItem,{key:$e,class:normalizeClass([unref(ue).e("paragraph"),unref(ue).is("last",$e===pe.rows&&pe.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(pe.$slots,"default",normalizeProps(mergeProps({key:1},pe.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([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:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0}}),isValidValue$1=oe=>isNumber$4(oe)||isArray$c(oe)&&oe.every(isNumber$4),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(oe,ie,le)=>{const ue=ref();return onMounted(async()=>{oe.range?(Array.isArray(oe.modelValue)?(ie.firstValue=Math.max(oe.min,oe.modelValue[0]),ie.secondValue=Math.min(oe.max,oe.modelValue[1])):(ie.firstValue=oe.min,ie.secondValue=oe.max),ie.oldValue=[ie.firstValue,ie.secondValue]):(typeof oe.modelValue!="number"||Number.isNaN(oe.modelValue)?ie.firstValue=oe.min:ie.firstValue=Math.min(oe.max,Math.max(oe.min,oe.modelValue)),ie.oldValue=ie.firstValue),useEventListener$1(window,"resize",le),await nextTick(),le()}),{sliderWrapper:ue}},useMarks=oe=>computed(()=>oe.marks?Object.keys(oe.marks).map(Number.parseFloat).sort((le,ue)=>le-ue).filter(le=>le<=oe.max&&le>=oe.min).map(le=>({point:le,position:(le-oe.min)*100/(oe.max-oe.min),mark:oe.marks[le]})):[]),useSlide=(oe,ie,le)=>{const{form:ue,formItem:de}=useFormItem(),pe=shallowRef(),he=ref(),_e=ref(),$e={firstButton:he,secondButton:_e},Ie=computed(()=>oe.disabled||(ue==null?void 0:ue.disabled)||!1),Ve=computed(()=>Math.min(ie.firstValue,ie.secondValue)),Fe=computed(()=>Math.max(ie.firstValue,ie.secondValue)),Ue=computed(()=>oe.range?`${100*(Fe.value-Ve.value)/(oe.max-oe.min)}%`:`${100*(ie.firstValue-oe.min)/(oe.max-oe.min)}%`),qe=computed(()=>oe.range?`${100*(Ve.value-oe.min)/(oe.max-oe.min)}%`:"0%"),Et=computed(()=>oe.vertical?{height:oe.height}:{}),At=computed(()=>oe.vertical?{height:Ue.value,bottom:qe.value}:{width:Ue.value,left:qe.value}),Lt=()=>{pe.value&&(ie.sliderSize=pe.value[`client${oe.vertical?"Height":"Width"}`])},hn=Pn=>{const An=oe.min+Pn*(oe.max-oe.min)/100;if(!oe.range)return he;let In;return Math.abs(Ve.value-An)<Math.abs(Fe.value-An)?In=ie.firstValue<ie.secondValue?"firstButton":"secondButton":In=ie.firstValue>ie.secondValue?"firstButton":"secondButton",$e[In]},vn=Pn=>{const An=hn(Pn);return An.value.setPosition(Pn),An},_n=Pn=>{ie.firstValue=Pn,Sn(oe.range?[Ve.value,Fe.value]:Pn)},bn=Pn=>{ie.secondValue=Pn,oe.range&&Sn([Ve.value,Fe.value])},Sn=Pn=>{le(UPDATE_MODEL_EVENT,Pn),le(INPUT_EVENT,Pn)},Cn=async()=>{await nextTick(),le(CHANGE_EVENT,oe.range?[Ve.value,Fe.value]:oe.modelValue)},En=Pn=>{var An,In,Nn,Un,Vn,Mn;if(Ie.value||ie.dragging)return;Lt();let Fn=0;if(oe.vertical){const Ln=(Nn=(In=(An=Pn.touches)==null?void 0:An.item(0))==null?void 0:In.clientY)!=null?Nn:Pn.clientY;Fn=(pe.value.getBoundingClientRect().bottom-Ln)/ie.sliderSize*100}else{const Ln=(Mn=(Vn=(Un=Pn.touches)==null?void 0:Un.item(0))==null?void 0:Vn.clientX)!=null?Mn:Pn.clientX,jn=pe.value.getBoundingClientRect().left;Fn=(Ln-jn)/ie.sliderSize*100}if(!(Fn<0||Fn>100))return vn(Fn)};return{elFormItem:de,slider:pe,firstButton:he,secondButton:_e,sliderDisabled:Ie,minValue:Ve,maxValue:Fe,runwayStyle:Et,barStyle:At,resetSize:Lt,setPosition:vn,emitChange:Cn,onSliderWrapperPrevent:Pn=>{var An,In;((An=$e.firstButton.value)!=null&&An.dragging||(In=$e.secondButton.value)!=null&&In.dragging)&&Pn.preventDefault()},onSliderClick:Pn=>{En(Pn)&&Cn()},onSliderDown:async Pn=>{const An=En(Pn);An&&(await nextTick(),An.value.onButtonDown(Pn))},setFirstValue:_n,setSecondValue:bn}},{left,down,right,up,home:home$2,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(oe,ie,le)=>{const ue=ref(),de=ref(!1),pe=computed(()=>ie.value instanceof Function),he=computed(()=>pe.value&&ie.value(oe.modelValue)||oe.modelValue),_e=debounce(()=>{le.value&&(de.value=!0)},50),$e=debounce(()=>{le.value&&(de.value=!1)},50);return{tooltip:ue,tooltipVisible:de,formatValue:he,displayTooltip:_e,hideTooltip:$e}},useSliderButton=(oe,ie,le)=>{const{disabled:ue,min:de,max:pe,step:he,showTooltip:_e,precision:$e,sliderSize:Ie,formatTooltip:Ve,emitChange:Fe,resetSize:Ue,updateDragging:qe}=inject(sliderContextKey),{tooltip:Et,tooltipVisible:At,formatValue:Lt,displayTooltip:hn,hideTooltip:vn}=useTooltip(oe,Ve,_e),_n=ref(),bn=computed(()=>`${(oe.modelValue-de.value)/(pe.value-de.value)*100}%`),Sn=computed(()=>oe.vertical?{bottom:bn.value}:{left:bn.value}),Cn=()=>{ie.hovering=!0,hn()},En=()=>{ie.hovering=!1,ie.dragging||vn()},wn=Gn=>{ue.value||(Gn.preventDefault(),Fn(Gn),window.addEventListener("mousemove",Ln),window.addEventListener("touchmove",Ln),window.addEventListener("mouseup",jn),window.addEventListener("touchend",jn),window.addEventListener("contextmenu",jn),_n.value.focus())},xn=Gn=>{ue.value||(ie.newPosition=Number.parseFloat(bn.value)+Gn/(pe.value-de.value)*100,Zn(ie.newPosition),Fe())},kn=()=>{xn(-he.value)},Pn=()=>{xn(he.value)},An=()=>{xn(-he.value*4)},In=()=>{xn(he.value*4)},Nn=()=>{ue.value||(Zn(0),Fe())},Un=()=>{ue.value||(Zn(100),Fe())},Vn=Gn=>{let Jn=!0;[left,down].includes(Gn.key)?kn():[right,up].includes(Gn.key)?Pn():Gn.key===home$2?Nn():Gn.key===end$1?Un():Gn.key===pageDown?An():Gn.key===pageUp?In():Jn=!1,Jn&&Gn.preventDefault()},Mn=Gn=>{let Jn,lr;return Gn.type.startsWith("touch")?(lr=Gn.touches[0].clientY,Jn=Gn.touches[0].clientX):(lr=Gn.clientY,Jn=Gn.clientX),{clientX:Jn,clientY:lr}},Fn=Gn=>{ie.dragging=!0,ie.isClick=!0;const{clientX:Jn,clientY:lr}=Mn(Gn);oe.vertical?ie.startY=lr:ie.startX=Jn,ie.startPosition=Number.parseFloat(bn.value),ie.newPosition=ie.startPosition},Ln=Gn=>{if(ie.dragging){ie.isClick=!1,hn(),Ue();let Jn;const{clientX:lr,clientY:yr}=Mn(Gn);oe.vertical?(ie.currentY=yr,Jn=(ie.startY-ie.currentY)/Ie.value*100):(ie.currentX=lr,Jn=(ie.currentX-ie.startX)/Ie.value*100),ie.newPosition=ie.startPosition+Jn,Zn(ie.newPosition)}},jn=()=>{ie.dragging&&(setTimeout(()=>{ie.dragging=!1,ie.hovering||vn(),ie.isClick||Zn(ie.newPosition),Fe()},0),window.removeEventListener("mousemove",Ln),window.removeEventListener("touchmove",Ln),window.removeEventListener("mouseup",jn),window.removeEventListener("touchend",jn),window.removeEventListener("contextmenu",jn))},Zn=async Gn=>{if(Gn===null||Number.isNaN(+Gn))return;Gn<0?Gn=0:Gn>100&&(Gn=100);const Jn=100/((pe.value-de.value)/he.value);let yr=Math.round(Gn/Jn)*Jn*(pe.value-de.value)*.01+de.value;yr=Number.parseFloat(yr.toFixed($e.value)),yr!==oe.modelValue&&le(UPDATE_MODEL_EVENT,yr),!ie.dragging&&oe.modelValue!==ie.oldValue&&(ie.oldValue=oe.modelValue),await nextTick(),ie.dragging&&hn(),Et.value.updatePopper()};return watch(()=>ie.dragging,Gn=>{qe(Gn)}),{disabled:ue,button:_n,tooltip:Et,tooltipVisible:At,showTooltip:_e,wrapperStyle:Sn,formatValue:Lt,handleMouseEnter:Cn,handleMouseLeave:En,onButtonDown:wn,onKeyDown:Vn,setPosition:Zn}},useStops=(oe,ie,le,ue)=>({stops:computed(()=>{if(!oe.showStops||oe.min>oe.max)return[];if(oe.step===0)return[];const he=(oe.max-oe.min)/oe.step,_e=100*oe.step/(oe.max-oe.min),$e=Array.from({length:he-1}).map((Ie,Ve)=>(Ve+1)*_e);return oe.range?$e.filter(Ie=>Ie<100*(le.value-oe.min)/(oe.max-oe.min)||Ie>100*(ue.value-oe.min)/(oe.max-oe.min)):$e.filter(Ie=>Ie>100*(ie.firstValue-oe.min)/(oe.max-oe.min))}),getStopStyle:he=>oe.vertical?{bottom:`${he}%`}:{left:`${he}%`}}),useWatch=(oe,ie,le,ue,de,pe)=>{const he=Ie=>{de(UPDATE_MODEL_EVENT,Ie),de(INPUT_EVENT,Ie)},_e=()=>oe.range?![le.value,ue.value].every((Ie,Ve)=>Ie===ie.oldValue[Ve]):oe.modelValue!==ie.oldValue,$e=()=>{var Ie,Ve;oe.min>oe.max&&throwError$1("Slider","min should not be greater than max.");const Fe=oe.modelValue;oe.range&&Array.isArray(Fe)?Fe[1]<oe.min?he([oe.min,oe.min]):Fe[0]>oe.max?he([oe.max,oe.max]):Fe[0]<oe.min?he([oe.min,Fe[1]]):Fe[1]>oe.max?he([Fe[0],oe.max]):(ie.firstValue=Fe[0],ie.secondValue=Fe[1],_e()&&(oe.validateEvent&&((Ie=pe==null?void 0:pe.validate)==null||Ie.call(pe,"change").catch(Ue=>void 0)),ie.oldValue=Fe.slice())):!oe.range&&typeof Fe=="number"&&!Number.isNaN(Fe)&&(Fe<oe.min?he(oe.min):Fe>oe.max?he(oe.max):(ie.firstValue=Fe,_e()&&(oe.validateEvent&&((Ve=pe==null?void 0:pe.validate)==null||Ve.call(pe,"change").catch(Ue=>void 0)),ie.oldValue=Fe)))};$e(),watch(()=>ie.dragging,Ie=>{Ie||$e()}),watch(()=>oe.modelValue,(Ie,Ve)=>{ie.dragging||Array.isArray(Ie)&&Array.isArray(Ve)&&Ie.every((Fe,Ue)=>Fe===Ve[Ue])&&ie.firstValue===Ie[0]&&ie.secondValue===Ie[1]||$e()},{deep:!0}),watch(()=>[oe.min,oe.max],()=>{$e()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:oe=>isNumber$4(oe)},_hoisted_1$h=["tabindex"],__default__$r=defineComponent({name:"ElSliderButton"}),_sfc_main$A=defineComponent({...__default__$r,props:sliderButtonProps,emits:sliderButtonEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useNamespace("slider"),pe=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:ue.modelValue}),{disabled:he,button:_e,tooltip:$e,showTooltip:Ie,tooltipVisible:Ve,wrapperStyle:Fe,formatValue:Ue,handleMouseEnter:qe,handleMouseLeave:Et,onButtonDown:At,onKeyDown:Lt,setPosition:hn}=useSliderButton(ue,pe,le),{hovering:vn,dragging:_n}=toRefs(pe);return ie({onButtonDown:At,onKeyDown:Lt,setPosition:hn,hovering:vn,dragging:_n}),(bn,Sn)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:_e,class:normalizeClass([unref(de).e("button-wrapper"),{hover:unref(vn),dragging:unref(_n)}]),style:normalizeStyle$1(unref(Fe)),tabindex:unref(he)?-1:0,onMouseenter:Sn[0]||(Sn[0]=(...Cn)=>unref(qe)&&unref(qe)(...Cn)),onMouseleave:Sn[1]||(Sn[1]=(...Cn)=>unref(Et)&&unref(Et)(...Cn)),onMousedown:Sn[2]||(Sn[2]=(...Cn)=>unref(At)&&unref(At)(...Cn)),onTouchstart:Sn[3]||(Sn[3]=(...Cn)=>unref(At)&&unref(At)(...Cn)),onFocus:Sn[4]||(Sn[4]=(...Cn)=>unref(qe)&&unref(qe)(...Cn)),onBlur:Sn[5]||(Sn[5]=(...Cn)=>unref(Et)&&unref(Et)(...Cn)),onKeydown:Sn[6]||(Sn[6]=(...Cn)=>unref(Lt)&&unref(Lt)(...Cn))},[createVNode(unref(ElTooltip),{ref_key:"tooltip",ref:$e,visible:unref(Ve),placement:bn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":bn.tooltipClass,disabled:!unref(Ie),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(unref(Ue)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(de).e("button"),{hover:unref(vn),dragging:unref(_n)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$h))}});var SliderButton=_export_sfc$1(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(oe){const ie=useNamespace("slider"),le=computed(()=>isString$6(oe.mark)?oe.mark:oe.mark.label),ue=computed(()=>isString$6(oe.mark)?void 0:oe.mark.style);return()=>h$3("div",{class:ie.e("marks-text"),style:ue.value},le.value)}});const _hoisted_1$g=["id","role","aria-label","aria-labelledby"],_hoisted_2$c={key:1},__default__$q=defineComponent({name:"ElSlider"}),_sfc_main$z=defineComponent({...__default__$q,props:sliderProps,emits:sliderEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useNamespace("slider"),{t:pe}=useLocale(),he=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:_e,slider:$e,firstButton:Ie,secondButton:Ve,sliderDisabled:Fe,minValue:Ue,maxValue:qe,runwayStyle:Et,barStyle:At,resetSize:Lt,emitChange:hn,onSliderWrapperPrevent:vn,onSliderClick:_n,onSliderDown:bn,setFirstValue:Sn,setSecondValue:Cn}=useSlide(ue,he,le),{stops:En,getStopStyle:wn}=useStops(ue,he,Ue,qe),{inputId:xn,isLabeledByFormItem:kn}=useFormItemInputId(ue,{formItemContext:_e}),Pn=useFormSize(),An=computed(()=>ue.inputSize||Pn.value),In=computed(()=>ue.label||pe("el.slider.defaultLabel",{min:ue.min,max:ue.max})),Nn=computed(()=>ue.range?ue.rangeStartLabel||pe("el.slider.defaultRangeStartLabel"):In.value),Un=computed(()=>ue.formatValueText?ue.formatValueText(Gn.value):`${Gn.value}`),Vn=computed(()=>ue.rangeEndLabel||pe("el.slider.defaultRangeEndLabel")),Mn=computed(()=>ue.formatValueText?ue.formatValueText(Jn.value):`${Jn.value}`),Fn=computed(()=>[de.b(),de.m(Pn.value),de.is("vertical",ue.vertical),{[de.m("with-input")]:ue.showInput}]),Ln=useMarks(ue);useWatch(ue,he,Ue,qe,le,_e);const jn=computed(()=>{const ir=[ue.min,ue.max,ue.step].map(qn=>{const Yn=`${qn}`.split(".")[1];return Yn?Yn.length:0});return Math.max.apply(null,ir)}),{sliderWrapper:Zn}=useLifecycle(ue,he,Lt),{firstValue:Gn,secondValue:Jn,sliderSize:lr}=toRefs(he),yr=ir=>{he.dragging=ir};return provide(sliderContextKey,{...toRefs(ue),sliderSize:lr,disabled:Fe,precision:jn,emitChange:hn,resetSize:Lt,updateDragging:yr}),ie({onSliderClick:_n}),(ir,qn)=>{var Yn,Xn;return openBlock(),createElementBlock("div",{id:ir.range?unref(xn):void 0,ref_key:"sliderWrapper",ref:Zn,class:normalizeClass(unref(Fn)),role:ir.range?"group":void 0,"aria-label":ir.range&&!unref(kn)?unref(In):void 0,"aria-labelledby":ir.range&&unref(kn)?(Yn=unref(_e))==null?void 0:Yn.labelId:void 0,onTouchstart:qn[2]||(qn[2]=(...or)=>unref(vn)&&unref(vn)(...or)),onTouchmove:qn[3]||(qn[3]=(...or)=>unref(vn)&&unref(vn)(...or))},[createBaseVNode("div",{ref_key:"slider",ref:$e,class:normalizeClass([unref(de).e("runway"),{"show-input":ir.showInput&&!ir.range},unref(de).is("disabled",unref(Fe))]),style:normalizeStyle$1(unref(Et)),onMousedown:qn[0]||(qn[0]=(...or)=>unref(bn)&&unref(bn)(...or)),onTouchstart:qn[1]||(qn[1]=(...or)=>unref(bn)&&unref(bn)(...or))},[createBaseVNode("div",{class:normalizeClass(unref(de).e("bar")),style:normalizeStyle$1(unref(At))},null,6),createVNode(SliderButton,{id:ir.range?void 0:unref(xn),ref_key:"firstButton",ref:Ie,"model-value":unref(Gn),vertical:ir.vertical,"tooltip-class":ir.tooltipClass,placement:ir.placement,role:"slider","aria-label":ir.range||!unref(kn)?unref(Nn):void 0,"aria-labelledby":!ir.range&&unref(kn)?(Xn=unref(_e))==null?void 0:Xn.labelId:void 0,"aria-valuemin":ir.min,"aria-valuemax":ir.range?unref(Jn):ir.max,"aria-valuenow":unref(Gn),"aria-valuetext":unref(Un),"aria-orientation":ir.vertical?"vertical":"horizontal","aria-disabled":unref(Fe),"onUpdate:modelValue":unref(Sn)},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"]),ir.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:Ve,"model-value":unref(Jn),vertical:ir.vertical,"tooltip-class":ir.tooltipClass,placement:ir.placement,role:"slider","aria-label":unref(Vn),"aria-valuemin":unref(Gn),"aria-valuemax":ir.max,"aria-valuenow":unref(Jn),"aria-valuetext":unref(Mn),"aria-orientation":ir.vertical?"vertical":"horizontal","aria-disabled":unref(Fe),"onUpdate:modelValue":unref(Cn)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),ir.showStops?(openBlock(),createElementBlock("div",_hoisted_2$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(En),(or,_r)=>(openBlock(),createElementBlock("div",{key:_r,class:normalizeClass(unref(de).e("stop")),style:normalizeStyle$1(unref(wn)(or))},null,6))),128))])):createCommentVNode("v-if",!0),unref(Ln).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ln),(or,_r)=>(openBlock(),createElementBlock("div",{key:_r,style:normalizeStyle$1(unref(wn)(or.position)),class:normalizeClass([unref(de).e("stop"),unref(de).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(de).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ln),(or,_r)=>(openBlock(),createBlock(unref(SliderMarker),{key:_r,mark:or.mark,style:normalizeStyle$1(unref(wn)(or.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),ir.showInput&&!ir.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Gn),class:normalizeClass(unref(de).e("input")),step:ir.step,disabled:unref(Fe),controls:ir.showInputControls,min:ir.min,max:ir.max,debounce:ir.debounce,size:unref(An),"onUpdate:modelValue":unref(Sn),onChange:unref(hn)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$g)}}});var Slider=_export_sfc$1(_sfc_main$z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(oe,{slots:ie}){const le=useNamespace("space"),ue=computed(()=>`${oe.prefixCls||le.b()}__item`);return()=>h$3("div",{class:ue.value},renderSlot(ie,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(oe){const ie=useNamespace("space"),le=computed(()=>[ie.b(),ie.m(oe.direction),oe.class]),ue=ref(0),de=ref(0),pe=computed(()=>{const _e=oe.wrap||oe.fill?{flexWrap:"wrap",marginBottom:`-${de.value}px`}:{},$e={alignItems:oe.alignment};return[_e,$e,oe.style]}),he=computed(()=>{const _e={paddingBottom:`${de.value}px`,marginRight:`${ue.value}px`},$e=oe.fill?{flexGrow:1,minWidth:`${oe.fillRatio}%`}:{};return[_e,$e]});return watchEffect(()=>{const{size:_e="small",wrap:$e,direction:Ie,fill:Ve}=oe;if(isArray$c(_e)){const[Fe=0,Ue=0]=_e;ue.value=Fe,de.value=Ue}else{let Fe;isNumber$4(_e)?Fe=_e:Fe=SIZE_MAP[_e||"small"]||SIZE_MAP.small,($e||Ve)&&Ie==="horizontal"?ue.value=de.value=Fe:Ie==="horizontal"?(ue.value=Fe,de.value=0):(de.value=Fe,ue.value=0)}}),{classes:le,containerStyle:pe,itemStyle:he}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:oe=>isVNode$1(oe)||isNumber$4(oe)||isString$6(oe)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:oe=>isNumber$4(oe)||isArray$c(oe)&&oe.length===2&&oe.every(isNumber$4)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(oe,{slots:ie}){const{classes:le,containerStyle:ue,itemStyle:de}=useSpace(oe);function pe(he,_e="",$e=[]){const{prefixCls:Ie}=oe;return he.forEach((Ve,Fe)=>{isFragment(Ve)?isArray$c(Ve.children)&&Ve.children.forEach((Ue,qe)=>{isFragment(Ue)&&isArray$c(Ue.children)?pe(Ue.children,`${_e+qe}-`,$e):$e.push(createVNode(SpaceItem,{style:de.value,prefixCls:Ie,key:`nested-${_e+qe}`},{default:()=>[Ue]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(Ve)&&$e.push(createVNode(SpaceItem,{style:de.value,prefixCls:Ie,key:`LoopKey${_e+Fe}`},{default:()=>[Ve]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),$e}return()=>{var he;const{spacer:_e,direction:$e}=oe,Ie=renderSlot(ie,"default",{key:0},()=>[]);if(((he=Ie.children)!=null?he:[]).length===0)return null;if(isArray$c(Ie.children)){let Ve=pe(Ie.children);if(_e){const Fe=Ve.length-1;Ve=Ve.reduce((Ue,qe,Et)=>{const At=[...Ue,qe];return Et!==Fe&&At.push(createVNode("span",{style:[de.value,$e==="vertical"?"width: 100%":null],key:Et},[isVNode$1(_e)?_e:createTextVNode(_e,PatchFlags.TEXT)],PatchFlags.STYLE)),At},[])}return createVNode("div",{class:le.value,style:ue.value},Ve,PatchFlags.STYLE|PatchFlags.CLASS)}return Ie.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$p=defineComponent({name:"ElStatistic"}),_sfc_main$y=defineComponent({...__default__$p,props:statisticProps,setup(oe,{expose:ie}){const le=oe,ue=useNamespace("statistic"),de=computed(()=>{const{value:pe,formatter:he,precision:_e,decimalSeparator:$e,groupSeparator:Ie}=le;if(isFunction$5(he))return he(pe);if(!isNumber$4(pe))return pe;let[Ve,Fe=""]=String(pe).split(".");return Fe=Fe.padEnd(_e,"0").slice(0,_e>0?_e:0),Ve=Ve.replace(/\B(?=(\d{3})+(?!\d))/g,Ie),[Ve,Fe].join(Fe?$e:"")});return ie({displayValue:de}),(pe,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b())},[pe.$slots.title||pe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("head"))},[renderSlot(pe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(pe.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).e("content"))},[pe.$slots.prefix||pe.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("prefix"))},[renderSlot(pe.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString$1(pe.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(ue).e("number")),style:normalizeStyle$1(pe.valueStyle)},toDisplayString$1(unref(de)),7),pe.$slots.suffix||pe.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).e("suffix"))},[renderSlot(pe.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString$1(pe.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:oe=>isNumber$4(oe)},timeUnits$1=[["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]],getTime$1=oe=>isNumber$4(oe)?new Date(oe).getTime():oe.valueOf(),formatTime$2=(oe,ie)=>{let le=oe;const ue=/\[([^\]]*)]/g;return timeUnits$1.reduce((pe,[he,_e])=>{const $e=new RegExp(`${he}+(?![^\\[\\]]*\\])`,"g");if($e.test(pe)){const Ie=Math.floor(le/_e);return le-=Ie*_e,pe.replace($e,Ve=>String(Ie).padStart(Ve.length,"0"))}return pe},ie).replace(ue,"$1")},__default__$o=defineComponent({name:"ElCountdown"}),_sfc_main$x=defineComponent({...__default__$o,props:countdownProps,emits:countdownEmits,setup(oe,{expose:ie,emit:le}){const ue=oe;let de;const pe=ref(getTime$1(ue.value)-Date.now()),he=computed(()=>formatTime$2(pe.value,ue.format)),_e=Ve=>formatTime$2(Ve,ue.format),$e=()=>{de&&(cAF(de),de=void 0)},Ie=()=>{const Ve=getTime$1(ue.value),Fe=()=>{let Ue=Ve-Date.now();le("change",Ue),Ue<=0?(Ue=0,$e(),le("finish")):de=rAF(Fe),pe.value=Ue};de=rAF(Fe)};return watch(()=>[ue.value,ue.format],()=>{$e(),Ie()},{immediate:!0}),onBeforeUnmount(()=>{$e()}),ie({displayValue:he}),(Ve,Fe)=>(openBlock(),createBlock(unref(ElStatistic),{value:pe.value,title:Ve.title,prefix:Ve.prefix,suffix:Ve.suffix,"value-style":Ve.valueStyle,formatter:_e},createSlots({_:2},[renderList(Ve.$slots,(Ue,qe)=>({name:qe,fn:withCtx(()=>[renderSlot(Ve.$slots,qe)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({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"}}),stepsEmits={[CHANGE_EVENT]:(oe,ie)=>[oe,ie].every(isNumber$4)},__default__$n=defineComponent({name:"ElSteps"}),_sfc_main$w=defineComponent({...__default__$n,props:stepsProps,emits:stepsEmits,setup(oe,{emit:ie}){const le=oe,ue=useNamespace("steps"),{children:de,addChild:pe,removeChild:he}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(de,()=>{de.value.forEach((_e,$e)=>{_e.setIndex($e)})}),provide("ElSteps",{props:le,steps:de,addStep:pe,removeStep:he}),watch(()=>le.active,(_e,$e)=>{ie(CHANGE_EVENT,_e,$e)}),(_e,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b(),unref(ue).m(_e.simple?"simple":_e.direction)])},[renderSlot(_e.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$m=defineComponent({name:"ElStep"}),_sfc_main$v=defineComponent({...__default__$m,props:stepProps,setup(oe){const ie=oe,le=useNamespace("step"),ue=ref(-1),de=ref({}),pe=ref(""),he=inject("ElSteps"),_e=getCurrentInstance();onMounted(()=>{watch([()=>he.props.active,()=>he.props.processStatus,()=>he.props.finishStatus],([Cn])=>{bn(Cn)},{immediate:!0})}),onBeforeUnmount(()=>{he.removeStep(Sn.uid)});const $e=computed(()=>ie.status||pe.value),Ie=computed(()=>{const Cn=he.steps.value[ue.value-1];return Cn?Cn.currentStatus:"wait"}),Ve=computed(()=>he.props.alignCenter),Fe=computed(()=>he.props.direction==="vertical"),Ue=computed(()=>he.props.simple),qe=computed(()=>he.steps.value.length),Et=computed(()=>{var Cn;return((Cn=he.steps.value[qe.value-1])==null?void 0:Cn.uid)===(_e==null?void 0:_e.uid)}),At=computed(()=>Ue.value?"":he.props.space),Lt=computed(()=>[le.b(),le.is(Ue.value?"simple":he.props.direction),le.is("flex",Et.value&&!At.value&&!Ve.value),le.is("center",Ve.value&&!Fe.value&&!Ue.value)]),hn=computed(()=>{const Cn={flexBasis:isNumber$4(At.value)?`${At.value}px`:At.value?At.value:`${100/(qe.value-(Ve.value?0:1))}%`};return Fe.value||Et.value&&(Cn.maxWidth=`${100/qe.value}%`),Cn}),vn=Cn=>{ue.value=Cn},_n=Cn=>{const En=Cn==="wait",wn={transitionDelay:`${En?"-":""}${150*ue.value}ms`},xn=Cn===he.props.processStatus||En?0:100;wn.borderWidth=xn&&!Ue.value?"1px":0,wn[he.props.direction==="vertical"?"height":"width"]=`${xn}%`,de.value=wn},bn=Cn=>{Cn>ue.value?pe.value=he.props.finishStatus:Cn===ue.value&&Ie.value!=="error"?pe.value=he.props.processStatus:pe.value="wait";const En=he.steps.value[ue.value-1];En&&En.calcProgress(pe.value)},Sn=reactive({uid:_e.uid,currentStatus:$e,setIndex:vn,calcProgress:_n});return he.addStep(Sn),(Cn,En)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(hn)),class:normalizeClass(unref(Lt))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(le).e("head"),unref(le).is(unref($e))])},[unref(Ue)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(le).e("line-inner")),style:normalizeStyle$1(de.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(le).e("icon"),unref(le).is(Cn.icon||Cn.$slots.icon?"icon":"text")])},[renderSlot(Cn.$slots,"icon",{},()=>[Cn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(le).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.icon)))]),_:1},8,["class"])):unref($e)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(le).e("icon-inner"),unref(le).is("status")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):unref($e)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(le).e("icon-inner"),unref(le).is("status")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):unref(Ue)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(le).e("icon-inner"))},toDisplayString$1(ue.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(le).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(le).e("title"),unref(le).is(unref($e))])},[renderSlot(Cn.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Cn.title),1)])],2),unref(Ue)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(le).e("description"),unref(le).is(unref($e))])},[renderSlot(Cn.$slots,"description",{},()=>[createTextVNode(toDisplayString$1(Cn.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{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},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:definePropType(Function)},size:{type:String,validator:isValidComponentSize},tabindex:{type:[String,Number]}}),switchEmits={[UPDATE_MODEL_EVENT]:oe=>isBoolean$3(oe)||isString$6(oe)||isNumber$4(oe),[CHANGE_EVENT]:oe=>isBoolean$3(oe)||isString$6(oe)||isNumber$4(oe),[INPUT_EVENT]:oe=>isBoolean$3(oe)||isString$6(oe)||isNumber$4(oe)},_hoisted_1$f=["onClick"],_hoisted_2$b=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$6=["aria-hidden"],_hoisted_4$3=["aria-hidden"],_hoisted_5$1=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$l=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$u=defineComponent({...__default__$l,props:switchProps,emits:switchEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=getCurrentInstance(),{formItem:pe}=useFormItem(),he=useFormSize(),_e=useNamespace("switch");useDeprecated({from:'"value"',replacement:'"model-value" or "v-model"',scope:COMPONENT_NAME$8,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},computed(()=>{var Sn;return!!((Sn=de.vnode.props)!=null&&Sn.value)}));const{inputId:$e}=useFormItemInputId(ue,{formItemContext:pe}),Ie=useFormDisabled(computed(()=>ue.loading)),Ve=ref(ue.modelValue!==!1),Fe=ref(),Ue=ref(),qe=computed(()=>[_e.b(),_e.m(he.value),_e.is("disabled",Ie.value),_e.is("checked",Lt.value)]),Et=computed(()=>({width:addUnit(ue.width)}));watch(()=>ue.modelValue,()=>{Ve.value=!0}),watch(()=>ue.value,()=>{Ve.value=!1});const At=computed(()=>Ve.value?ue.modelValue:ue.value),Lt=computed(()=>At.value===ue.activeValue);[ue.activeValue,ue.inactiveValue].includes(At.value)||(le(UPDATE_MODEL_EVENT,ue.inactiveValue),le(CHANGE_EVENT,ue.inactiveValue),le(INPUT_EVENT,ue.inactiveValue)),watch(Lt,Sn=>{var Cn;Fe.value.checked=Sn,ue.validateEvent&&((Cn=pe==null?void 0:pe.validate)==null||Cn.call(pe,"change").catch(En=>void 0))});const hn=()=>{const Sn=Lt.value?ue.inactiveValue:ue.activeValue;le(UPDATE_MODEL_EVENT,Sn),le(CHANGE_EVENT,Sn),le(INPUT_EVENT,Sn),nextTick(()=>{Fe.value.checked=Lt.value})},vn=()=>{if(Ie.value)return;const{beforeChange:Sn}=ue;if(!Sn){hn();return}const Cn=Sn();[isPromise(Cn),isBoolean$3(Cn)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise<boolean>` or `boolean`"),isPromise(Cn)?Cn.then(wn=>{wn&&hn()}).catch(wn=>{}):Cn&&hn()},_n=computed(()=>_e.cssVarBlock({...ue.activeColor?{"on-color":ue.activeColor}:null,...ue.inactiveColor?{"off-color":ue.inactiveColor}:null,...ue.borderColor?{"border-color":ue.borderColor}:null})),bn=()=>{var Sn,Cn;(Cn=(Sn=Fe.value)==null?void 0:Sn.focus)==null||Cn.call(Sn)};return onMounted(()=>{Fe.value.checked=Lt.value}),ie({focus:bn,checked:Lt}),(Sn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(_n)),onClick:withModifiers(vn,["prevent"])},[createBaseVNode("input",{id:unref($e),ref_key:"input",ref:Fe,class:normalizeClass(unref(_e).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Lt),"aria-disabled":unref(Ie),name:Sn.name,"true-value":Sn.activeValue,"false-value":Sn.inactiveValue,disabled:unref(Ie),tabindex:Sn.tabindex,onChange:hn,onKeydown:withKeys(vn,["enter"])},null,42,_hoisted_2$b),!Sn.inlinePrompt&&(Sn.inactiveIcon||Sn.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(_e).e("label"),unref(_e).em("label","left"),unref(_e).is("active",!unref(Lt))])},[Sn.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Sn.inactiveIcon&&Sn.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Lt)},toDisplayString$1(Sn.inactiveText),9,_hoisted_3$6)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:Ue,class:normalizeClass(unref(_e).e("core")),style:normalizeStyle$1(unref(Et))},[Sn.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(_e).e("inner"))},[Sn.activeIcon||Sn.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(_e).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Lt)?Sn.activeIcon:Sn.inactiveIcon)))]),_:1},8,["class"])):Sn.activeText||Sn.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(_e).is("text")),"aria-hidden":!unref(Lt)},toDisplayString$1(unref(Lt)?Sn.activeText:Sn.inactiveText),11,_hoisted_4$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(_e).e("action"))},[Sn.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(_e).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],6),!Sn.inlinePrompt&&(Sn.activeIcon||Sn.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass([unref(_e).e("label"),unref(_e).em("label","right"),unref(_e).is("active",unref(Lt))])},[Sn.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Sn.activeIcon&&Sn.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Lt)},toDisplayString$1(Sn.activeText),9,_hoisted_5$1)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$f))}});var Switch=_export_sfc$1(_sfc_main$u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const ElSwitch=withInstall(Switch);/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var matchHtmlRegExp=/["'&<>]/,escapeHtml_1=escapeHtml$1;function escapeHtml$1(oe){var ie=""+oe,le=matchHtmlRegExp.exec(ie);if(!le)return ie;var ue,de="",pe=0,he=0;for(pe=le.index;pe<ie.length;pe++){switch(ie.charCodeAt(pe)){case 34:ue="&quot;";break;case 38:ue="&amp;";break;case 39:ue="&#39;";break;case 60:ue="&lt;";break;case 62:ue="&gt;";break;default:continue}he!==pe&&(de+=ie.substring(he,pe)),he=pe+1,de+=ue}return he!==pe?de+ie.substring(he,pe):de}const escapeHtml$2=getDefaultExportFromCjs(escapeHtml_1),getCell=function(oe){var ie;return(ie=oe.target)==null?void 0:ie.closest("td")},orderBy=function(oe,ie,le,ue,de){if(!ie&&!ue&&(!de||Array.isArray(de)&&!de.length))return oe;typeof le=="string"?le=le==="descending"?-1:1:le=le&&le<0?-1:1;const pe=ue?null:function(_e,$e){return de?(Array.isArray(de)||(de=[de]),de.map(Ie=>typeof Ie=="string"?get$1(_e,Ie):Ie(_e,$e,oe))):(ie!=="$key"&&isObject$9(_e)&&"$value"in _e&&(_e=_e.$value),[isObject$9(_e)?get$1(_e,ie):_e])},he=function(_e,$e){if(ue)return ue(_e.value,$e.value);for(let Ie=0,Ve=_e.key.length;Ie<Ve;Ie++){if(_e.key[Ie]<$e.key[Ie])return-1;if(_e.key[Ie]>$e.key[Ie])return 1}return 0};return oe.map((_e,$e)=>({value:_e,index:$e,key:pe?pe(_e,$e):null})).sort((_e,$e)=>{let Ie=he(_e,$e);return Ie||(Ie=_e.index-$e.index),Ie*+le}).map(_e=>_e.value)},getColumnById=function(oe,ie){let le=null;return oe.columns.forEach(ue=>{ue.id===ie&&(le=ue)}),le},getColumnByKey=function(oe,ie){let le=null;for(let ue=0;ue<oe.columns.length;ue++){const de=oe.columns[ue];if(de.columnKey===ie){le=de;break}}return le||throwError$1("ElTable",`No column matching with column-key: ${ie}`),le},getColumnByCell=function(oe,ie,le){const ue=(ie.className||"").match(new RegExp(`${le}-table_[^\\s]+`,"gm"));return ue?getColumnById(oe,ue[0]):null},getRowIdentity=(oe,ie)=>{if(!oe)throw new Error("Row is required when get row identity");if(typeof ie=="string"){if(!ie.includes("."))return`${oe[ie]}`;const le=ie.split(".");let ue=oe;for(const de of le)ue=ue[de];return`${ue}`}else if(typeof ie=="function")return ie.call(null,oe)},getKeysMap=function(oe,ie){const le={};return(oe||[]).forEach((ue,de)=>{le[getRowIdentity(ue,ie)]={row:ue,index:de}}),le};function mergeOptions$1(oe,ie){const le={};let ue;for(ue in oe)le[ue]=oe[ue];for(ue in ie)if(hasOwn$4(ie,ue)){const de=ie[ue];typeof de<"u"&&(le[ue]=de)}return le}function parseWidth(oe){return oe===""||oe!==void 0&&(oe=Number.parseInt(oe,10),Number.isNaN(oe)&&(oe="")),oe}function parseMinWidth(oe){return oe===""||oe!==void 0&&(oe=parseWidth(oe),Number.isNaN(oe)&&(oe=80)),oe}function parseHeight(oe){return typeof oe=="number"?oe:typeof oe=="string"?/^\d+(?:px)?$/.test(oe)?Number.parseInt(oe,10):oe:null}function compose(...oe){return oe.length===0?ie=>ie:oe.length===1?oe[0]:oe.reduce((ie,le)=>(...ue)=>ie(le(...ue)))}function toggleRowStatus(oe,ie,le){let ue=!1;const de=oe.indexOf(ie),pe=de!==-1,he=_e=>{_e==="add"?oe.push(ie):oe.splice(de,1),ue=!0,isArray$c(ie.children)&&ie.children.forEach($e=>{toggleRowStatus(oe,$e,le??!pe)})};return isBoolean$3(le)?le&&!pe?he("add"):!le&&pe&&he("remove"):he(pe?"remove":"add"),ue}function walkTreeNode(oe,ie,le="children",ue="hasChildren"){const de=he=>!(Array.isArray(he)&&he.length);function pe(he,_e,$e){ie(he,_e,$e),_e.forEach(Ie=>{if(Ie[ue]){ie(Ie,null,$e+1);return}const Ve=Ie[le];de(Ve)||pe(Ie,Ve,$e+1)})}oe.forEach(he=>{if(he[ue]){ie(he,null,0);return}const _e=he[le];de(_e)||pe(he,_e,0)})}let removePopper;function createTablePopper(oe,ie,le,ue,de){de=merge$4({enterable:!0,showArrow:!0},de);const pe=oe==null?void 0:oe.dataset.prefix,he=oe==null?void 0:oe.querySelector(`.${pe}-scrollbar__wrap`);function _e(){const Lt=de.effect==="light",hn=document.createElement("div");return hn.className=[`${pe}-popper`,Lt?"is-light":"is-dark",de.popperClass||""].join(" "),le=escapeHtml$2(le),hn.innerHTML=le,hn.style.zIndex=String(ue()),oe==null||oe.appendChild(hn),hn}function $e(){const Lt=document.createElement("div");return Lt.className=`${pe}-popper__arrow`,Lt}function Ie(){Ve&&Ve.update()}removePopper==null||removePopper(),removePopper=()=>{try{Ve&&Ve.destroy(),qe&&(oe==null||oe.removeChild(qe)),ie.removeEventListener("mouseenter",Fe),ie.removeEventListener("mouseleave",Ue),he==null||he.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let Ve=null,Fe=Ie,Ue=removePopper;de.enterable&&({onOpen:Fe,onClose:Ue}=useDelayedToggle({showAfter:de.showAfter,hideAfter:de.hideAfter,open:Ie,close:removePopper}));const qe=_e();qe.onmouseenter=Fe,qe.onmouseleave=Ue;const Et=[];if(de.offset&&Et.push({name:"offset",options:{offset:[0,de.offset]}}),de.showArrow){const Lt=qe.appendChild($e());Et.push({name:"arrow",options:{element:Lt,padding:10}})}const At=de.popperOptions||{};return Ve=yn(ie,qe,{placement:de.placement||"top",strategy:"fixed",...At,modifiers:At.modifiers?Et.concat(At.modifiers):Et}),ie.addEventListener("mouseenter",Fe),ie.addEventListener("mouseleave",Ue),he==null||he.addEventListener("scroll",removePopper),Ve}function getCurrentColumns(oe){return oe.children?flatMap(oe.children,getCurrentColumns):[oe]}function getColSpan(oe,ie){return oe+ie.colSpan}const isFixedColumn=(oe,ie,le,ue)=>{let de=0,pe=oe;const he=le.states.columns.value;if(ue){const $e=getCurrentColumns(ue[oe]);de=he.slice(0,he.indexOf($e[0])).reduce(getColSpan,0),pe=de+$e.reduce(getColSpan,0)-1}else de=oe;let _e;switch(ie){case"left":pe<le.states.fixedLeafColumnsLength.value&&(_e="left");break;case"right":de>=he.length-le.states.rightFixedLeafColumnsLength.value&&(_e="right");break;default:pe<le.states.fixedLeafColumnsLength.value?_e="left":de>=he.length-le.states.rightFixedLeafColumnsLength.value&&(_e="right")}return _e?{direction:_e,start:de,after:pe}:{}},getFixedColumnsClass=(oe,ie,le,ue,de,pe=0)=>{const he=[],{direction:_e,start:$e,after:Ie}=isFixedColumn(ie,le,ue,de);if(_e){const Ve=_e==="left";he.push(`${oe}-fixed-column--${_e}`),Ve&&Ie+pe===ue.states.fixedLeafColumnsLength.value-1?he.push("is-last-column"):!Ve&&$e-pe===ue.states.columns.value.length-ue.states.rightFixedLeafColumnsLength.value&&he.push("is-first-column")}return he};function getOffset(oe,ie){return oe+(ie.realWidth===null||Number.isNaN(ie.realWidth)?Number(ie.width):ie.realWidth)}const getFixedColumnOffset=(oe,ie,le,ue)=>{const{direction:de,start:pe=0,after:he=0}=isFixedColumn(oe,ie,le,ue);if(!de)return;const _e={},$e=de==="left",Ie=le.states.columns.value;return $e?_e.left=Ie.slice(0,pe).reduce(getOffset,0):_e.right=Ie.slice(he+1).reverse().reduce(getOffset,0),_e},ensurePosition=(oe,ie)=>{oe&&(Number.isNaN(oe[ie])||(oe[ie]=`${oe[ie]}px`))};function useExpand(oe){const ie=getCurrentInstance(),le=ref(!1),ue=ref([]);return{updateExpandRows:()=>{const $e=oe.data.value||[],Ie=oe.rowKey.value;if(le.value)ue.value=$e.slice();else if(Ie){const Ve=getKeysMap(ue.value,Ie);ue.value=$e.reduce((Fe,Ue)=>{const qe=getRowIdentity(Ue,Ie);return Ve[qe]&&Fe.push(Ue),Fe},[])}else ue.value=[]},toggleRowExpansion:($e,Ie)=>{toggleRowStatus(ue.value,$e,Ie)&&ie.emit("expand-change",$e,ue.value.slice())},setExpandRowKeys:$e=>{ie.store.assertRowKey();const Ie=oe.data.value||[],Ve=oe.rowKey.value,Fe=getKeysMap(Ie,Ve);ue.value=$e.reduce((Ue,qe)=>{const Et=Fe[qe];return Et&&Ue.push(Et.row),Ue},[])},isRowExpanded:$e=>{const Ie=oe.rowKey.value;return Ie?!!getKeysMap(ue.value,Ie)[getRowIdentity($e,Ie)]:ue.value.includes($e)},states:{expandRows:ue,defaultExpandAll:le}}}function useCurrent(oe){const ie=getCurrentInstance(),le=ref(null),ue=ref(null),de=Ie=>{ie.store.assertRowKey(),le.value=Ie,he(Ie)},pe=()=>{le.value=null},he=Ie=>{const{data:Ve,rowKey:Fe}=oe;let Ue=null;Fe.value&&(Ue=(unref(Ve)||[]).find(qe=>getRowIdentity(qe,Fe.value)===Ie)),ue.value=Ue,ie.emit("current-change",ue.value,null)};return{setCurrentRowKey:de,restoreCurrentRowKey:pe,setCurrentRowByKey:he,updateCurrentRow:Ie=>{const Ve=ue.value;if(Ie&&Ie!==Ve){ue.value=Ie,ie.emit("current-change",ue.value,Ve);return}!Ie&&Ve&&(ue.value=null,ie.emit("current-change",null,Ve))},updateCurrentRowData:()=>{const Ie=oe.rowKey.value,Ve=oe.data.value||[],Fe=ue.value;if(!Ve.includes(Fe)&&Fe){if(Ie){const Ue=getRowIdentity(Fe,Ie);he(Ue)}else ue.value=null;ue.value===null&&ie.emit("current-change",null,Fe)}else le.value&&(he(le.value),pe())},states:{_currentRowKey:le,currentRow:ue}}}function useTree$2(oe){const ie=ref([]),le=ref({}),ue=ref(16),de=ref(!1),pe=ref({}),he=ref("hasChildren"),_e=ref("children"),$e=getCurrentInstance(),Ie=computed(()=>{if(!oe.rowKey.value)return{};const hn=oe.data.value||[];return Fe(hn)}),Ve=computed(()=>{const hn=oe.rowKey.value,vn=Object.keys(pe.value),_n={};return vn.length&&vn.forEach(bn=>{if(pe.value[bn].length){const Sn={children:[]};pe.value[bn].forEach(Cn=>{const En=getRowIdentity(Cn,hn);Sn.children.push(En),Cn[he.value]&&!_n[En]&&(_n[En]={children:[]})}),_n[bn]=Sn}}),_n}),Fe=hn=>{const vn=oe.rowKey.value,_n={};return walkTreeNode(hn,(bn,Sn,Cn)=>{const En=getRowIdentity(bn,vn);Array.isArray(Sn)?_n[En]={children:Sn.map(wn=>getRowIdentity(wn,vn)),level:Cn}:de.value&&(_n[En]={children:[],lazy:!0,level:Cn})},_e.value,he.value),_n},Ue=(hn=!1,vn=(_n=>(_n=$e.store)==null?void 0:_n.states.defaultExpandAll.value)())=>{var _n;const bn=Ie.value,Sn=Ve.value,Cn=Object.keys(bn),En={};if(Cn.length){const wn=unref(le),xn=[],kn=(An,In)=>{if(hn)return ie.value?vn||ie.value.includes(In):!!(vn||An!=null&&An.expanded);{const Nn=vn||ie.value&&ie.value.includes(In);return!!(An!=null&&An.expanded||Nn)}};Cn.forEach(An=>{const In=wn[An],Nn={...bn[An]};if(Nn.expanded=kn(In,An),Nn.lazy){const{loaded:Un=!1,loading:Vn=!1}=In||{};Nn.loaded=!!Un,Nn.loading=!!Vn,xn.push(An)}En[An]=Nn});const Pn=Object.keys(Sn);de.value&&Pn.length&&xn.length&&Pn.forEach(An=>{const In=wn[An],Nn=Sn[An].children;if(xn.includes(An)){if(En[An].children.length!==0)throw new Error("[ElTable]children must be an empty array.");En[An].children=Nn}else{const{loaded:Un=!1,loading:Vn=!1}=In||{};En[An]={lazy:!0,loaded:!!Un,loading:!!Vn,expanded:kn(In,An),children:Nn,level:""}}})}le.value=En,(_n=$e.store)==null||_n.updateTableScrollY()};watch(()=>ie.value,()=>{Ue(!0)}),watch(()=>Ie.value,()=>{Ue()}),watch(()=>Ve.value,()=>{Ue()});const qe=hn=>{ie.value=hn,Ue()},Et=(hn,vn)=>{$e.store.assertRowKey();const _n=oe.rowKey.value,bn=getRowIdentity(hn,_n),Sn=bn&&le.value[bn];if(bn&&Sn&&"expanded"in Sn){const Cn=Sn.expanded;vn=typeof vn>"u"?!Sn.expanded:vn,le.value[bn].expanded=vn,Cn!==vn&&$e.emit("expand-change",hn,vn),$e.store.updateTableScrollY()}},At=hn=>{$e.store.assertRowKey();const vn=oe.rowKey.value,_n=getRowIdentity(hn,vn),bn=le.value[_n];de.value&&bn&&"loaded"in bn&&!bn.loaded?Lt(hn,_n,bn):Et(hn,void 0)},Lt=(hn,vn,_n)=>{const{load:bn}=$e.props;bn&&!le.value[vn].loaded&&(le.value[vn].loading=!0,bn(hn,_n,Sn=>{if(!Array.isArray(Sn))throw new TypeError("[ElTable] data must be an array");le.value[vn].loading=!1,le.value[vn].loaded=!0,le.value[vn].expanded=!0,Sn.length&&(pe.value[vn]=Sn),$e.emit("expand-change",hn,!0)}))};return{loadData:Lt,loadOrToggle:At,toggleTreeExpansion:Et,updateTreeExpandKeys:qe,updateTreeData:Ue,normalize:Fe,states:{expandRowKeys:ie,treeData:le,indent:ue,lazy:de,lazyTreeNodeMap:pe,lazyColumnIdentifier:he,childrenColumnName:_e}}}const sortData=(oe,ie)=>{const le=ie.sortingColumn;return!le||typeof le.sortable=="string"?oe:orderBy(oe,ie.sortProp,ie.sortOrder,le.sortMethod,le.sortBy)},doFlattenColumns=oe=>{const ie=[];return oe.forEach(le=>{le.children?ie.push.apply(ie,doFlattenColumns(le.children)):ie.push(le)}),ie};function useWatcher$1(){var oe;const ie=getCurrentInstance(),{size:le}=toRefs((oe=ie.proxy)==null?void 0:oe.$props),ue=ref(null),de=ref([]),pe=ref([]),he=ref(!1),_e=ref([]),$e=ref([]),Ie=ref([]),Ve=ref([]),Fe=ref([]),Ue=ref([]),qe=ref([]),Et=ref([]),At=[],Lt=ref(0),hn=ref(0),vn=ref(0),_n=ref(!1),bn=ref([]),Sn=ref(!1),Cn=ref(!1),En=ref(null),wn=ref({}),xn=ref(null),kn=ref(null),Pn=ref(null),An=ref(null),In=ref(null);watch(de,()=>ie.state&&Mn(!1),{deep:!0});const Nn=()=>{if(!ue.value)throw new Error("[ElTable] prop row-key is required")},Un=xr=>{var dr;(dr=xr.children)==null||dr.forEach(Qn=>{Qn.fixed=xr.fixed,Un(Qn)})},Vn=()=>{_e.value.forEach(wr=>{Un(wr)}),Ve.value=_e.value.filter(wr=>wr.fixed===!0||wr.fixed==="left"),Fe.value=_e.value.filter(wr=>wr.fixed==="right"),Ve.value.length>0&&_e.value[0]&&_e.value[0].type==="selection"&&!_e.value[0].fixed&&(_e.value[0].fixed=!0,Ve.value.unshift(_e.value[0]));const xr=_e.value.filter(wr=>!wr.fixed);$e.value=[].concat(Ve.value).concat(xr).concat(Fe.value);const dr=doFlattenColumns(xr),Qn=doFlattenColumns(Ve.value),sr=doFlattenColumns(Fe.value);Lt.value=dr.length,hn.value=Qn.length,vn.value=sr.length,Ie.value=[].concat(Qn).concat(dr).concat(sr),he.value=Ve.value.length>0||Fe.value.length>0},Mn=(xr,dr=!1)=>{xr&&Vn(),dr?ie.state.doLayout():ie.state.debouncedUpdateLayout()},Fn=xr=>bn.value.includes(xr),Ln=()=>{_n.value=!1,bn.value.length&&(bn.value=[],ie.emit("selection-change",[]))},jn=()=>{let xr;if(ue.value){xr=[];const dr=getKeysMap(bn.value,ue.value),Qn=getKeysMap(de.value,ue.value);for(const sr in dr)hasOwn$4(dr,sr)&&!Qn[sr]&&xr.push(dr[sr].row)}else xr=bn.value.filter(dr=>!de.value.includes(dr));if(xr.length){const dr=bn.value.filter(Qn=>!xr.includes(Qn));bn.value=dr,ie.emit("selection-change",dr.slice())}},Zn=()=>(bn.value||[]).slice(),Gn=(xr,dr=void 0,Qn=!0)=>{if(toggleRowStatus(bn.value,xr,dr)){const wr=(bn.value||[]).slice();Qn&&ie.emit("select",wr,xr),ie.emit("selection-change",wr)}},Jn=()=>{var xr,dr;const Qn=Cn.value?!_n.value:!(_n.value||bn.value.length);_n.value=Qn;let sr=!1,wr=0;const Ir=(dr=(xr=ie==null?void 0:ie.store)==null?void 0:xr.states)==null?void 0:dr.rowKey.value;de.value.forEach((zr,Cr)=>{const Nr=Cr+wr;En.value?En.value.call(null,zr,Nr)&&toggleRowStatus(bn.value,zr,Qn)&&(sr=!0):toggleRowStatus(bn.value,zr,Qn)&&(sr=!0),wr+=ir(getRowIdentity(zr,Ir))}),sr&&ie.emit("selection-change",bn.value?bn.value.slice():[]),ie.emit("select-all",bn.value)},lr=()=>{const xr=getKeysMap(bn.value,ue.value);de.value.forEach(dr=>{const Qn=getRowIdentity(dr,ue.value),sr=xr[Qn];sr&&(bn.value[sr.index]=dr)})},yr=()=>{var xr,dr,Qn;if(((xr=de.value)==null?void 0:xr.length)===0){_n.value=!1;return}let sr;ue.value&&(sr=getKeysMap(bn.value,ue.value));const wr=function(Nr){return sr?!!sr[getRowIdentity(Nr,ue.value)]:bn.value.includes(Nr)};let Ir=!0,zr=0,Cr=0;for(let Nr=0,Fr=(de.value||[]).length;Nr<Fr;Nr++){const jr=(Qn=(dr=ie==null?void 0:ie.store)==null?void 0:dr.states)==null?void 0:Qn.rowKey.value,Wr=Nr+Cr,qr=de.value[Nr],Jr=En.value&&En.value.call(null,qr,Wr);if(wr(qr))zr++;else if(!En.value||Jr){Ir=!1;break}Cr+=ir(getRowIdentity(qr,jr))}zr===0&&(Ir=!1),_n.value=Ir},ir=xr=>{var dr;if(!ie||!ie.store)return 0;const{treeData:Qn}=ie.store.states;let sr=0;const wr=(dr=Qn.value[xr])==null?void 0:dr.children;return wr&&(sr+=wr.length,wr.forEach(Ir=>{sr+=ir(Ir)})),sr},qn=(xr,dr)=>{Array.isArray(xr)||(xr=[xr]);const Qn={};return xr.forEach(sr=>{wn.value[sr.id]=dr,Qn[sr.columnKey||sr.id]=dr}),Qn},Yn=(xr,dr,Qn)=>{kn.value&&kn.value!==xr&&(kn.value.order=null),kn.value=xr,Pn.value=dr,An.value=Qn},Xn=()=>{let xr=unref(pe);Object.keys(wn.value).forEach(dr=>{const Qn=wn.value[dr];if(!Qn||Qn.length===0)return;const sr=getColumnById({columns:Ie.value},dr);sr&&sr.filterMethod&&(xr=xr.filter(wr=>Qn.some(Ir=>sr.filterMethod.call(null,Ir,wr,sr))))}),xn.value=xr},or=()=>{de.value=sortData(xn.value,{sortingColumn:kn.value,sortProp:Pn.value,sortOrder:An.value})},_r=(xr=void 0)=>{xr&&xr.filter||Xn(),or()},Kn=xr=>{const{tableHeaderRef:dr}=ie.refs;if(!dr)return;const Qn=Object.assign({},dr.filterPanels),sr=Object.keys(Qn);if(sr.length)if(typeof xr=="string"&&(xr=[xr]),Array.isArray(xr)){const wr=xr.map(Ir=>getColumnByKey({columns:Ie.value},Ir));sr.forEach(Ir=>{const zr=wr.find(Cr=>Cr.id===Ir);zr&&(zr.filteredValue=[])}),ie.store.commit("filterChange",{column:wr,values:[],silent:!0,multi:!0})}else sr.forEach(wr=>{const Ir=Ie.value.find(zr=>zr.id===wr);Ir&&(Ir.filteredValue=[])}),wn.value={},ie.store.commit("filterChange",{column:{},values:[],silent:!0})},er=()=>{kn.value&&(Yn(null,null,null),ie.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:ar,toggleRowExpansion:gr,updateExpandRows:Er,states:cr,isRowExpanded:Ar}=useExpand({data:de,rowKey:ue}),{updateTreeExpandKeys:br,toggleTreeExpansion:kr,updateTreeData:mr,loadOrToggle:ur,states:fr}=useTree$2({data:de,rowKey:ue}),{updateCurrentRowData:pr,updateCurrentRow:Or,setCurrentRowKey:Lr,states:Vr}=useCurrent({data:de,rowKey:ue});return{assertRowKey:Nn,updateColumns:Vn,scheduleLayout:Mn,isSelected:Fn,clearSelection:Ln,cleanSelection:jn,getSelectionRows:Zn,toggleRowSelection:Gn,_toggleAllSelection:Jn,toggleAllSelection:null,updateSelectionByRowKey:lr,updateAllSelected:yr,updateFilters:qn,updateCurrentRow:Or,updateSort:Yn,execFilter:Xn,execSort:or,execQuery:_r,clearFilter:Kn,clearSort:er,toggleRowExpansion:gr,setExpandRowKeysAdapter:xr=>{ar(xr),br(xr)},setCurrentRowKey:Lr,toggleRowExpansionAdapter:(xr,dr)=>{Ie.value.some(({type:sr})=>sr==="expand")?gr(xr,dr):kr(xr,dr)},isRowExpanded:Ar,updateExpandRows:Er,updateCurrentRowData:pr,loadOrToggle:ur,updateTreeData:mr,states:{tableSize:le,rowKey:ue,data:de,_data:pe,isComplex:he,_columns:_e,originColumns:$e,columns:Ie,fixedColumns:Ve,rightFixedColumns:Fe,leafColumns:Ue,fixedLeafColumns:qe,rightFixedLeafColumns:Et,updateOrderFns:At,leafColumnsLength:Lt,fixedLeafColumnsLength:hn,rightFixedLeafColumnsLength:vn,isAllSelected:_n,selection:bn,reserveSelection:Sn,selectOnIndeterminate:Cn,selectable:En,filters:wn,filteredData:xn,sortingColumn:kn,sortProp:Pn,sortOrder:An,hoverRow:In,...cr,...fr,...Vr}}}function replaceColumn(oe,ie){return oe.map(le=>{var ue;return le.id===ie.id?ie:((ue=le.children)!=null&&ue.length&&(le.children=replaceColumn(le.children,ie)),le)})}function sortColumn(oe){oe.forEach(ie=>{var le,ue;ie.no=(le=ie.getColumnIndex)==null?void 0:le.call(ie),(ue=ie.children)!=null&&ue.length&&sortColumn(ie.children)}),oe.sort((ie,le)=>ie.no-le.no)}function useStore(){const oe=getCurrentInstance(),ie=useWatcher$1();return{ns:useNamespace("table"),...ie,mutations:{setData(he,_e){const $e=unref(he._data)!==_e;he.data.value=_e,he._data.value=_e,oe.store.execQuery(),oe.store.updateCurrentRowData(),oe.store.updateExpandRows(),oe.store.updateTreeData(oe.store.states.defaultExpandAll.value),unref(he.reserveSelection)?(oe.store.assertRowKey(),oe.store.updateSelectionByRowKey()):$e?oe.store.clearSelection():oe.store.cleanSelection(),oe.store.updateAllSelected(),oe.$ready&&oe.store.scheduleLayout()},insertColumn(he,_e,$e,Ie){const Ve=unref(he._columns);let Fe=[];$e?($e&&!$e.children&&($e.children=[]),$e.children.push(_e),Fe=replaceColumn(Ve,$e)):(Ve.push(_e),Fe=Ve),sortColumn(Fe),he._columns.value=Fe,he.updateOrderFns.push(Ie),_e.type==="selection"&&(he.selectable.value=_e.selectable,he.reserveSelection.value=_e.reserveSelection),oe.$ready&&(oe.store.updateColumns(),oe.store.scheduleLayout())},updateColumnOrder(he,_e){var $e;(($e=_e.getColumnIndex)==null?void 0:$e.call(_e))!==_e.no&&(sortColumn(he._columns.value),oe.$ready&&oe.store.updateColumns())},removeColumn(he,_e,$e,Ie){const Ve=unref(he._columns)||[];if($e)$e.children.splice($e.children.findIndex(Ue=>Ue.id===_e.id),1),nextTick(()=>{var Ue;((Ue=$e.children)==null?void 0:Ue.length)===0&&delete $e.children}),he._columns.value=replaceColumn(Ve,$e);else{const Ue=Ve.indexOf(_e);Ue>-1&&(Ve.splice(Ue,1),he._columns.value=Ve)}const Fe=he.updateOrderFns.indexOf(Ie);Fe>-1&&he.updateOrderFns.splice(Fe,1),oe.$ready&&(oe.store.updateColumns(),oe.store.scheduleLayout())},sort(he,_e){const{prop:$e,order:Ie,init:Ve}=_e;if($e){const Fe=unref(he.columns).find(Ue=>Ue.property===$e);Fe&&(Fe.order=Ie,oe.store.updateSort(Fe,$e,Ie),oe.store.commit("changeSortCondition",{init:Ve}))}},changeSortCondition(he,_e){const{sortingColumn:$e,sortProp:Ie,sortOrder:Ve}=he,Fe=unref($e),Ue=unref(Ie),qe=unref(Ve);qe===null&&(he.sortingColumn.value=null,he.sortProp.value=null);const Et={filter:!0};oe.store.execQuery(Et),(!_e||!(_e.silent||_e.init))&&oe.emit("sort-change",{column:Fe,prop:Ue,order:qe}),oe.store.updateTableScrollY()},filterChange(he,_e){const{column:$e,values:Ie,silent:Ve}=_e,Fe=oe.store.updateFilters($e,Ie);oe.store.execQuery(),Ve||oe.emit("filter-change",Fe),oe.store.updateTableScrollY()},toggleAllSelection(){oe.store.toggleAllSelection()},rowSelectedChanged(he,_e){oe.store.toggleRowSelection(_e),oe.store.updateAllSelected()},setHoverRow(he,_e){he.hoverRow.value=_e},setCurrentRow(he,_e){oe.store.updateCurrentRow(_e)}},commit:function(he,..._e){const $e=oe.store.mutations;if($e[he])$e[he].apply(oe,[oe.store.states].concat(_e));else throw new Error(`Action not found: ${he}`)},updateTableScrollY:function(){nextTick(()=>oe.layout.updateScrollY.apply(oe.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function createStore(oe,ie){if(!oe)throw new Error("Table is required.");const le=useStore();return le.toggleAllSelection=debounce(le._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(ue=>{handleValue(getArrKeysValue(ie,ue),ue,le)}),proxyTableProps(le,ie),le}function proxyTableProps(oe,ie){Object.keys(InitialStateMap).forEach(le=>{watch(()=>getArrKeysValue(ie,le),ue=>{handleValue(ue,le,oe)})})}function handleValue(oe,ie,le){let ue=oe,de=InitialStateMap[ie];typeof InitialStateMap[ie]=="object"&&(de=de.key,ue=ue||InitialStateMap[ie].default),le.states[de].value=ue}function getArrKeysValue(oe,ie){if(ie.includes(".")){const le=ie.split(".");let ue=oe;return le.forEach(de=>{ue=ue[de]}),ue}else return oe[ie]}class TableLayout{constructor(ie){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const le in ie)hasOwn$4(ie,le)&&(isRef(this[le])?this[le].value=ie[le]:this[le]=ie[le]);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(){if(this.height.value===null)return!1;const le=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(le!=null&&le.wrapRef)){let ue=!0;const de=this.scrollY.value;return ue=le.wrapRef.scrollHeight>le.wrapRef.clientHeight,this.scrollY.value=ue,de!==ue}return!1}setHeight(ie,le="height"){if(!isClient$1)return;const ue=this.table.vnode.el;if(ie=parseHeight(ie),this.height.value=Number(ie),!ue&&(ie||ie===0))return nextTick(()=>this.setHeight(ie,le));typeof ie=="number"?(ue.style[le]=`${ie}px`,this.updateElsHeight()):typeof ie=="string"&&(ue.style[le]=ie,this.updateElsHeight())}setMaxHeight(ie){this.setHeight(ie,"max-height")}getFlattenColumns(){const ie=[];return this.table.store.states.columns.value.forEach(ue=>{ue.isColumnGroup?ie.push.apply(ie,ue.columns):ie.push(ue)}),ie}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(ie){if(!ie)return!0;let le=ie;for(;le.tagName!=="DIV";){if(getComputedStyle(le).display==="none")return!0;le=le.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const ie=this.fit,le=this.table.vnode.el.clientWidth;let ue=0;const de=this.getFlattenColumns(),pe=de.filter($e=>typeof $e.width!="number");if(de.forEach($e=>{typeof $e.width=="number"&&$e.realWidth&&($e.realWidth=null)}),pe.length>0&&ie){if(de.forEach($e=>{ue+=Number($e.width||$e.minWidth||80)}),ue<=le){this.scrollX.value=!1;const $e=le-ue;if(pe.length===1)pe[0].realWidth=Number(pe[0].minWidth||80)+$e;else{const Ie=pe.reduce((Ue,qe)=>Ue+Number(qe.minWidth||80),0),Ve=$e/Ie;let Fe=0;pe.forEach((Ue,qe)=>{if(qe===0)return;const Et=Math.floor(Number(Ue.minWidth||80)*Ve);Fe+=Et,Ue.realWidth=Number(Ue.minWidth||80)+Et}),pe[0].realWidth=Number(pe[0].minWidth||80)+$e-Fe}}else this.scrollX.value=!0,pe.forEach($e=>{$e.realWidth=Number($e.minWidth)});this.bodyWidth.value=Math.max(ue,le),this.table.state.resizeState.value.width=this.bodyWidth.value}else de.forEach($e=>{!$e.width&&!$e.minWidth?$e.realWidth=80:$e.realWidth=Number($e.width||$e.minWidth),ue+=$e.realWidth}),this.scrollX.value=ue>le,this.bodyWidth.value=ue;const he=this.store.states.fixedColumns.value;if(he.length>0){let $e=0;he.forEach(Ie=>{$e+=Number(Ie.realWidth||Ie.width)}),this.fixedWidth.value=$e}const _e=this.store.states.rightFixedColumns.value;if(_e.length>0){let $e=0;_e.forEach(Ie=>{$e+=Number(Ie.realWidth||Ie.width)}),this.rightFixedWidth.value=$e}this.notifyObservers("columns")}addObserver(ie){this.observers.push(ie)}removeObserver(ie){const le=this.observers.indexOf(ie);le!==-1&&this.observers.splice(le,1)}notifyObservers(ie){this.observers.forEach(ue=>{var de,pe;switch(ie){case"columns":(de=ue.state)==null||de.onColumnsChange(this);break;case"scrollable":(pe=ue.state)==null||pe.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${ie}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$t=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(oe){const ie=getCurrentInstance(),{t:le}=useLocale(),ue=useNamespace("table-filter"),de=ie==null?void 0:ie.parent;de.filterPanels.value[oe.column.id]||(de.filterPanels.value[oe.column.id]=ie);const pe=ref(!1),he=ref(null),_e=computed(()=>oe.column&&oe.column.filters),$e=computed({get:()=>{var bn;return(((bn=oe.column)==null?void 0:bn.filteredValue)||[])[0]},set:bn=>{Ie.value&&(typeof bn<"u"&&bn!==null?Ie.value.splice(0,1,bn):Ie.value.splice(0,1))}}),Ie=computed({get(){return oe.column?oe.column.filteredValue||[]:[]},set(bn){oe.column&&oe.upDataColumn("filteredValue",bn)}}),Ve=computed(()=>oe.column?oe.column.filterMultiple:!0),Fe=bn=>bn.value===$e.value,Ue=()=>{pe.value=!1},qe=bn=>{bn.stopPropagation(),pe.value=!pe.value},Et=()=>{pe.value=!1},At=()=>{vn(Ie.value),Ue()},Lt=()=>{Ie.value=[],vn(Ie.value),Ue()},hn=bn=>{$e.value=bn,vn(typeof bn<"u"&&bn!==null?Ie.value:[]),Ue()},vn=bn=>{oe.store.commit("filterChange",{column:oe.column,values:bn}),oe.store.updateAllSelected()};watch(pe,bn=>{oe.column&&oe.upDataColumn("filterOpened",bn)},{immediate:!0});const _n=computed(()=>{var bn,Sn;return(Sn=(bn=he.value)==null?void 0:bn.popperRef)==null?void 0:Sn.contentRef});return{tooltipVisible:pe,multiple:Ve,filteredValue:Ie,filterValue:$e,filters:_e,handleConfirm:At,handleReset:Lt,handleSelect:hn,isActive:Fe,t:le,ns:ue,showFilterPanel:qe,hideFilterPanel:Et,popperPaneRef:_n,tooltip:he}}}),_hoisted_1$e={key:0},_hoisted_2$a=["disabled"],_hoisted_3$5=["label","onClick"];function _sfc_render$5(oe,ie,le,ue,de,pe){const he=resolveComponent("el-checkbox"),_e=resolveComponent("el-checkbox-group"),$e=resolveComponent("el-scrollbar"),Ie=resolveComponent("arrow-up"),Ve=resolveComponent("arrow-down"),Fe=resolveComponent("el-icon"),Ue=resolveComponent("el-tooltip"),qe=resolveDirective("click-outside");return openBlock(),createBlock(Ue,{ref:"tooltip",visible:oe.tooltipVisible,offset:0,placement:oe.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":oe.ns.b(),persistent:""},{content:withCtx(()=>[oe.multiple?(openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("div",{class:normalizeClass(oe.ns.e("content"))},[createVNode($e,{"wrap-class":oe.ns.e("wrap")},{default:withCtx(()=>[createVNode(_e,{modelValue:oe.filteredValue,"onUpdate:modelValue":ie[0]||(ie[0]=Et=>oe.filteredValue=Et),class:normalizeClass(oe.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.filters,Et=>(openBlock(),createBlock(he,{key:Et.value,label:Et.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1(Et.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(oe.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[oe.ns.is("disabled")]:oe.filteredValue.length===0}),disabled:oe.filteredValue.length===0,type:"button",onClick:ie[1]||(ie[1]=(...Et)=>oe.handleConfirm&&oe.handleConfirm(...Et))},toDisplayString$1(oe.t("el.table.confirmFilter")),11,_hoisted_2$a),createBaseVNode("button",{type:"button",onClick:ie[2]||(ie[2]=(...Et)=>oe.handleReset&&oe.handleReset(...Et))},toDisplayString$1(oe.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(oe.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([oe.ns.e("list-item"),{[oe.ns.is("active")]:oe.filterValue===void 0||oe.filterValue===null}]),onClick:ie[3]||(ie[3]=Et=>oe.handleSelect(null))},toDisplayString$1(oe.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.filters,Et=>(openBlock(),createElementBlock("li",{key:Et.value,class:normalizeClass([oe.ns.e("list-item"),oe.ns.is("active",oe.isActive(Et))]),label:Et.value,onClick:At=>oe.handleSelect(Et.value)},toDisplayString$1(Et.text),11,_hoisted_3$5))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${oe.ns.namespace.value}-table__column-filter-trigger`,`${oe.ns.namespace.value}-none-outline`]),onClick:ie[4]||(ie[4]=(...Et)=>oe.showFilterPanel&&oe.showFilterPanel(...Et))},[createVNode(Fe,null,{default:withCtx(()=>[oe.column.filterOpened?(openBlock(),createBlock(Ie,{key:0})):(openBlock(),createBlock(Ve,{key:1}))]),_:1})],2)),[[qe,oe.hideFilterPanel,oe.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$t,[["render",_sfc_render$5],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function useLayoutObserver(oe){const ie=getCurrentInstance();onBeforeMount(()=>{le.value.addObserver(ie)}),onMounted(()=>{ue(le.value),de(le.value)}),onUpdated(()=>{ue(le.value),de(le.value)}),onUnmounted(()=>{le.value.removeObserver(ie)});const le=computed(()=>{const pe=oe.layout;if(!pe)throw new Error("Can not find table layout.");return pe}),ue=pe=>{var he;const _e=((he=oe.vnode.el)==null?void 0:he.querySelectorAll("colgroup > col"))||[];if(!_e.length)return;const $e=pe.getFlattenColumns(),Ie={};$e.forEach(Ve=>{Ie[Ve.id]=Ve});for(let Ve=0,Fe=_e.length;Ve<Fe;Ve++){const Ue=_e[Ve],qe=Ue.getAttribute("name"),Et=Ie[qe];Et&&Ue.setAttribute("width",Et.realWidth||Et.width)}},de=pe=>{var he,_e;const $e=((he=oe.vnode.el)==null?void 0:he.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let Ve=0,Fe=$e.length;Ve<Fe;Ve++)$e[Ve].setAttribute("width",pe.scrollY.value?pe.gutterWidth:"0");const Ie=((_e=oe.vnode.el)==null?void 0:_e.querySelectorAll("th.gutter"))||[];for(let Ve=0,Fe=Ie.length;Ve<Fe;Ve++){const Ue=Ie[Ve];Ue.style.width=pe.scrollY.value?`${pe.gutterWidth}px`:"0",Ue.style.display=pe.scrollY.value?"":"none"}};return{tableLayout:le.value,onColumnsChange:ue,onScrollableChange:de}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent(oe,ie){const le=getCurrentInstance(),ue=inject(TABLE_INJECTION_KEY),de=At=>{At.stopPropagation()},pe=(At,Lt)=>{!Lt.filters&&Lt.sortable?Et(At,Lt,!1):Lt.filterable&&!Lt.sortable&&de(At),ue==null||ue.emit("header-click",Lt,At)},he=(At,Lt)=>{ue==null||ue.emit("header-contextmenu",Lt,At)},_e=ref(null),$e=ref(!1),Ie=ref({}),Ve=(At,Lt)=>{if(isClient$1&&!(Lt.children&&Lt.children.length>0)&&_e.value&&oe.border){$e.value=!0;const hn=ue;ie("set-drag-visible",!0);const _n=(hn==null?void 0:hn.vnode.el).getBoundingClientRect().left,bn=le.vnode.el.querySelector(`th.${Lt.id}`),Sn=bn.getBoundingClientRect(),Cn=Sn.left-_n+30;addClass(bn,"noclick"),Ie.value={startMouseLeft:At.clientX,startLeft:Sn.right-_n,startColumnLeft:Sn.left-_n,tableLeft:_n};const En=hn==null?void 0:hn.refs.resizeProxy;En.style.left=`${Ie.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const wn=kn=>{const Pn=kn.clientX-Ie.value.startMouseLeft,An=Ie.value.startLeft+Pn;En.style.left=`${Math.max(Cn,An)}px`},xn=()=>{if($e.value){const{startColumnLeft:kn,startLeft:Pn}=Ie.value,In=Number.parseInt(En.style.left,10)-kn;Lt.width=Lt.realWidth=In,hn==null||hn.emit("header-dragend",Lt.width,Pn-kn,Lt,At),requestAnimationFrame(()=>{oe.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",$e.value=!1,_e.value=null,Ie.value={},ie("set-drag-visible",!1)}document.removeEventListener("mousemove",wn),document.removeEventListener("mouseup",xn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(bn,"noclick")},0)};document.addEventListener("mousemove",wn),document.addEventListener("mouseup",xn)}},Fe=(At,Lt)=>{if(Lt.children&&Lt.children.length>0)return;const hn=At.target;if(!isElement$1(hn))return;const vn=hn==null?void 0:hn.closest("th");if(!(!Lt||!Lt.resizable)&&!$e.value&&oe.border){const _n=vn.getBoundingClientRect(),bn=document.body.style;_n.width>12&&_n.right-At.pageX<8?(bn.cursor="col-resize",hasClass(vn,"is-sortable")&&(vn.style.cursor="col-resize"),_e.value=Lt):$e.value||(bn.cursor="",hasClass(vn,"is-sortable")&&(vn.style.cursor="pointer"),_e.value=null)}},Ue=()=>{isClient$1&&(document.body.style.cursor="")},qe=({order:At,sortOrders:Lt})=>{if(At==="")return Lt[0];const hn=Lt.indexOf(At||null);return Lt[hn>Lt.length-2?0:hn+1]},Et=(At,Lt,hn)=>{var vn;At.stopPropagation();const _n=Lt.order===hn?null:hn||qe(Lt),bn=(vn=At.target)==null?void 0:vn.closest("th");if(bn&&hasClass(bn,"noclick")){removeClass(bn,"noclick");return}if(!Lt.sortable)return;const Sn=oe.store.states;let Cn=Sn.sortProp.value,En;const wn=Sn.sortingColumn.value;(wn!==Lt||wn===Lt&&wn.order===null)&&(wn&&(wn.order=null),Sn.sortingColumn.value=Lt,Cn=Lt.property),_n?En=Lt.order=_n:En=Lt.order=null,Sn.sortProp.value=Cn,Sn.sortOrder.value=En,ue==null||ue.store.commit("changeSortCondition")};return{handleHeaderClick:pe,handleHeaderContextMenu:he,handleMouseDown:Ve,handleMouseMove:Fe,handleMouseOut:Ue,handleSortClick:Et,handleFilterClick:de}}function useStyle$2(oe){const ie=inject(TABLE_INJECTION_KEY),le=useNamespace("table");return{getHeaderRowStyle:_e=>{const $e=ie==null?void 0:ie.props.headerRowStyle;return typeof $e=="function"?$e.call(null,{rowIndex:_e}):$e},getHeaderRowClass:_e=>{const $e=[],Ie=ie==null?void 0:ie.props.headerRowClassName;return typeof Ie=="string"?$e.push(Ie):typeof Ie=="function"&&$e.push(Ie.call(null,{rowIndex:_e})),$e.join(" ")},getHeaderCellStyle:(_e,$e,Ie,Ve)=>{var Fe;let Ue=(Fe=ie==null?void 0:ie.props.headerCellStyle)!=null?Fe:{};typeof Ue=="function"&&(Ue=Ue.call(null,{rowIndex:_e,columnIndex:$e,row:Ie,column:Ve}));const qe=getFixedColumnOffset($e,Ve.fixed,oe.store,Ie);return ensurePosition(qe,"left"),ensurePosition(qe,"right"),Object.assign({},Ue,qe)},getHeaderCellClass:(_e,$e,Ie,Ve)=>{const Fe=getFixedColumnsClass(le.b(),$e,Ve.fixed,oe.store,Ie),Ue=[Ve.id,Ve.order,Ve.headerAlign,Ve.className,Ve.labelClassName,...Fe];Ve.children||Ue.push("is-leaf"),Ve.sortable&&Ue.push("is-sortable");const qe=ie==null?void 0:ie.props.headerCellClassName;return typeof qe=="string"?Ue.push(qe):typeof qe=="function"&&Ue.push(qe.call(null,{rowIndex:_e,columnIndex:$e,row:Ie,column:Ve})),Ue.push(le.e("cell")),Ue.filter(Et=>!!Et).join(" ")}}}const getAllColumns=oe=>{const ie=[];return oe.forEach(le=>{le.children?(ie.push(le),ie.push.apply(ie,getAllColumns(le.children))):ie.push(le)}),ie},convertToRows=oe=>{let ie=1;const le=(pe,he)=>{if(he&&(pe.level=he.level+1,ie<pe.level&&(ie=pe.level)),pe.children){let _e=0;pe.children.forEach($e=>{le($e,pe),_e+=$e.colSpan}),pe.colSpan=_e}else pe.colSpan=1};oe.forEach(pe=>{pe.level=1,le(pe,void 0)});const ue=[];for(let pe=0;pe<ie;pe++)ue.push([]);return getAllColumns(oe).forEach(pe=>{pe.children?(pe.rowSpan=1,pe.children.forEach(he=>he.isSubColumn=!0)):pe.rowSpan=ie-pe.level+1,ue[pe.level-1].push(pe)}),ue};function useUtils$1(oe){const ie=inject(TABLE_INJECTION_KEY),le=computed(()=>convertToRows(oe.store.states.originColumns.value));return{isGroup:computed(()=>{const pe=le.value.length>1;return pe&&ie&&(ie.state.isGroup.value=!0),pe}),toggleAllSelection:pe=>{pe.stopPropagation(),ie==null||ie.store.commit("toggleAllSelection")},columnRows:le}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(oe,{emit:ie}){const le=getCurrentInstance(),ue=inject(TABLE_INJECTION_KEY),de=useNamespace("table"),pe=ref({}),{onColumnsChange:he,onScrollableChange:_e}=useLayoutObserver(ue);onMounted(async()=>{await nextTick(),await nextTick();const{prop:Cn,order:En}=oe.defaultSort;ue==null||ue.store.commit("sort",{prop:Cn,order:En,init:!0})});const{handleHeaderClick:$e,handleHeaderContextMenu:Ie,handleMouseDown:Ve,handleMouseMove:Fe,handleMouseOut:Ue,handleSortClick:qe,handleFilterClick:Et}=useEvent(oe,ie),{getHeaderRowStyle:At,getHeaderRowClass:Lt,getHeaderCellStyle:hn,getHeaderCellClass:vn}=useStyle$2(oe),{isGroup:_n,toggleAllSelection:bn,columnRows:Sn}=useUtils$1(oe);return le.state={onColumnsChange:he,onScrollableChange:_e},le.filterPanels=pe,{ns:de,filterPanels:pe,onColumnsChange:he,onScrollableChange:_e,columnRows:Sn,getHeaderRowClass:Lt,getHeaderRowStyle:At,getHeaderCellClass:vn,getHeaderCellStyle:hn,handleHeaderClick:$e,handleHeaderContextMenu:Ie,handleMouseDown:Ve,handleMouseMove:Fe,handleMouseOut:Ue,handleSortClick:qe,handleFilterClick:Et,isGroup:_n,toggleAllSelection:bn}},render(){const{ns:oe,isGroup:ie,columnRows:le,getHeaderCellStyle:ue,getHeaderCellClass:de,getHeaderRowClass:pe,getHeaderRowStyle:he,handleHeaderClick:_e,handleHeaderContextMenu:$e,handleMouseDown:Ie,handleMouseMove:Ve,handleSortClick:Fe,handleMouseOut:Ue,store:qe,$parent:Et}=this;let At=1;return h$3("thead",{class:{[oe.is("group")]:ie}},le.map((Lt,hn)=>h$3("tr",{class:pe(hn),key:hn,style:he(hn)},Lt.map((vn,_n)=>(vn.rowSpan>At&&(At=vn.rowSpan),h$3("th",{class:de(hn,_n,Lt,vn),colspan:vn.colSpan,key:`${vn.id}-thead`,rowspan:vn.rowSpan,style:ue(hn,_n,Lt,vn),onClick:bn=>_e(bn,vn),onContextmenu:bn=>$e(bn,vn),onMousedown:bn=>Ie(bn,vn),onMousemove:bn=>Ve(bn,vn),onMouseout:Ue},[h$3("div",{class:["cell",vn.filteredValue&&vn.filteredValue.length>0?"highlight":""]},[vn.renderHeader?vn.renderHeader({column:vn,$index:_n,store:qe,_self:Et}):vn.label,vn.sortable&&h$3("span",{onClick:bn=>Fe(bn,vn),class:"caret-wrapper"},[h$3("i",{onClick:bn=>Fe(bn,vn,"ascending"),class:"sort-caret ascending"}),h$3("i",{onClick:bn=>Fe(bn,vn,"descending"),class:"sort-caret descending"})]),vn.filterable&&h$3(FilterPanel,{store:qe,placement:vn.filterPlacement||"bottom-start",column:vn,upDataColumn:(bn,Sn)=>{vn[bn]=Sn}})])]))))))}});function useEvents(oe){const ie=inject(TABLE_INJECTION_KEY),le=ref(""),ue=ref(h$3("div")),{nextZIndex:de}=useZIndex(),pe=(qe,Et,At)=>{var Lt;const hn=ie,vn=getCell(qe);let _n;const bn=(Lt=hn==null?void 0:hn.vnode.el)==null?void 0:Lt.dataset.prefix;vn&&(_n=getColumnByCell({columns:oe.store.states.columns.value},vn,bn),_n&&(hn==null||hn.emit(`cell-${At}`,Et,_n,vn,qe))),hn==null||hn.emit(`row-${At}`,Et,_n,qe)},he=(qe,Et)=>{pe(qe,Et,"dblclick")},_e=(qe,Et)=>{oe.store.commit("setCurrentRow",Et),pe(qe,Et,"click")},$e=(qe,Et)=>{pe(qe,Et,"contextmenu")},Ie=debounce(qe=>{oe.store.commit("setHoverRow",qe)},30),Ve=debounce(()=>{oe.store.commit("setHoverRow",null)},30);return{handleDoubleClick:he,handleClick:_e,handleContextMenu:$e,handleMouseEnter:Ie,handleMouseLeave:Ve,handleCellMouseEnter:(qe,Et,At)=>{var Lt;const hn=ie,vn=getCell(qe),_n=(Lt=hn==null?void 0:hn.vnode.el)==null?void 0:Lt.dataset.prefix;if(vn){const wn=getColumnByCell({columns:oe.store.states.columns.value},vn,_n),xn=hn.hoverState={cell:vn,column:wn,row:Et};hn==null||hn.emit("cell-mouse-enter",xn.row,xn.column,xn.cell,qe)}if(!At)return;const bn=qe.target.querySelector(".cell");if(!(hasClass(bn,`${_n}-tooltip`)&&bn.childNodes.length))return;const Sn=document.createRange();Sn.setStart(bn,0),Sn.setEnd(bn,bn.childNodes.length);const Cn=Math.round(Sn.getBoundingClientRect().width),En=(Number.parseInt(getStyle$1(bn,"paddingLeft"),10)||0)+(Number.parseInt(getStyle$1(bn,"paddingRight"),10)||0);(Cn+En>bn.offsetWidth||bn.scrollWidth>bn.offsetWidth)&&createTablePopper(ie==null?void 0:ie.refs.tableWrapper,vn,vn.innerText||vn.textContent,de,At)},handleCellMouseLeave:qe=>{if(!getCell(qe))return;const At=ie==null?void 0:ie.hoverState;ie==null||ie.emit("cell-mouse-leave",At==null?void 0:At.row,At==null?void 0:At.column,At==null?void 0:At.cell,qe)},tooltipContent:le,tooltipTrigger:ue}}function useStyles$1(oe){const ie=inject(TABLE_INJECTION_KEY),le=useNamespace("table");return{getRowStyle:(Ie,Ve)=>{const Fe=ie==null?void 0:ie.props.rowStyle;return typeof Fe=="function"?Fe.call(null,{row:Ie,rowIndex:Ve}):Fe||null},getRowClass:(Ie,Ve)=>{const Fe=[le.e("row")];ie!=null&&ie.props.highlightCurrentRow&&Ie===oe.store.states.currentRow.value&&Fe.push("current-row"),oe.stripe&&Ve%2===1&&Fe.push(le.em("row","striped"));const Ue=ie==null?void 0:ie.props.rowClassName;return typeof Ue=="string"?Fe.push(Ue):typeof Ue=="function"&&Fe.push(Ue.call(null,{row:Ie,rowIndex:Ve})),Fe},getCellStyle:(Ie,Ve,Fe,Ue)=>{const qe=ie==null?void 0:ie.props.cellStyle;let Et=qe??{};typeof qe=="function"&&(Et=qe.call(null,{rowIndex:Ie,columnIndex:Ve,row:Fe,column:Ue}));const At=getFixedColumnOffset(Ve,oe==null?void 0:oe.fixed,oe.store);return ensurePosition(At,"left"),ensurePosition(At,"right"),Object.assign({},Et,At)},getCellClass:(Ie,Ve,Fe,Ue,qe)=>{const Et=getFixedColumnsClass(le.b(),Ve,oe==null?void 0:oe.fixed,oe.store,void 0,qe),At=[Ue.id,Ue.align,Ue.className,...Et],Lt=ie==null?void 0:ie.props.cellClassName;return typeof Lt=="string"?At.push(Lt):typeof Lt=="function"&&At.push(Lt.call(null,{rowIndex:Ie,columnIndex:Ve,row:Fe,column:Ue})),At.push(le.e("cell")),At.filter(hn=>!!hn).join(" ")},getSpan:(Ie,Ve,Fe,Ue)=>{let qe=1,Et=1;const At=ie==null?void 0:ie.props.spanMethod;if(typeof At=="function"){const Lt=At({row:Ie,column:Ve,rowIndex:Fe,columnIndex:Ue});Array.isArray(Lt)?(qe=Lt[0],Et=Lt[1]):typeof Lt=="object"&&(qe=Lt.rowspan,Et=Lt.colspan)}return{rowspan:qe,colspan:Et}},getColspanRealWidth:(Ie,Ve,Fe)=>{if(Ve<1)return Ie[Fe].realWidth;const Ue=Ie.map(({realWidth:qe,width:Et})=>qe||Et).slice(Fe,Fe+Ve);return Number(Ue.reduce((qe,Et)=>Number(qe)+Number(Et),-1))}}}function useRender$1(oe){const ie=inject(TABLE_INJECTION_KEY),le=useNamespace("table"),{handleDoubleClick:ue,handleClick:de,handleContextMenu:pe,handleMouseEnter:he,handleMouseLeave:_e,handleCellMouseEnter:$e,handleCellMouseLeave:Ie,tooltipContent:Ve,tooltipTrigger:Fe}=useEvents(oe),{getRowStyle:Ue,getRowClass:qe,getCellStyle:Et,getCellClass:At,getSpan:Lt,getColspanRealWidth:hn}=useStyles$1(oe),vn=computed(()=>oe.store.states.columns.value.findIndex(({type:En})=>En==="default")),_n=(En,wn)=>{const xn=ie.props.rowKey;return xn?getRowIdentity(En,xn):wn},bn=(En,wn,xn,kn=!1)=>{const{tooltipEffect:Pn,tooltipOptions:An,store:In}=oe,{indent:Nn,columns:Un}=In.states,Vn=qe(En,wn);let Mn=!0;return xn&&(Vn.push(le.em("row",`level-${xn.level}`)),Mn=xn.display),h$3("tr",{style:[Mn?null:{display:"none"},Ue(En,wn)],class:Vn,key:_n(En,wn),onDblclick:Ln=>ue(Ln,En),onClick:Ln=>de(Ln,En),onContextmenu:Ln=>pe(Ln,En),onMouseenter:()=>he(wn),onMouseleave:_e},Un.value.map((Ln,jn)=>{const{rowspan:Zn,colspan:Gn}=Lt(En,Ln,wn,jn);if(!Zn||!Gn)return null;const Jn={...Ln};Jn.realWidth=hn(Un.value,Gn,jn);const lr={store:oe.store,_self:oe.context||ie,column:Jn,row:En,$index:wn,cellIndex:jn,expanded:kn};jn===vn.value&&xn&&(lr.treeNode={indent:xn.level*Nn.value,level:xn.level},typeof xn.expanded=="boolean"&&(lr.treeNode.expanded=xn.expanded,"loading"in xn&&(lr.treeNode.loading=xn.loading),"noLazyChildren"in xn&&(lr.treeNode.noLazyChildren=xn.noLazyChildren)));const yr=`${wn},${jn}`,ir=Jn.columnKey||Jn.rawColumnKey||"",qn=Sn(jn,Ln,lr),Yn=Ln.showOverflowTooltip&&merge$4({effect:Pn},An,Ln.showOverflowTooltip);return h$3("td",{style:Et(wn,jn,En,Ln),class:At(wn,jn,En,Ln,Gn-1),key:`${ir}${yr}`,rowspan:Zn,colspan:Gn,onMouseenter:Xn=>$e(Xn,En,Yn),onMouseleave:Ie},[qn])}))},Sn=(En,wn,xn)=>wn.renderCell(xn);return{wrappedRowRender:(En,wn)=>{const xn=oe.store,{isRowExpanded:kn,assertRowKey:Pn}=xn,{treeData:An,lazyTreeNodeMap:In,childrenColumnName:Nn,rowKey:Un}=xn.states,Vn=xn.states.columns.value;if(Vn.some(({type:Fn})=>Fn==="expand")){const Fn=kn(En),Ln=bn(En,wn,void 0,Fn),jn=ie.renderExpanded;return Fn?jn?[[Ln,h$3("tr",{key:`expanded-row__${Ln.key}`},[h$3("td",{colspan:Vn.length,class:`${le.e("cell")} ${le.e("expanded-cell")}`},[jn({row:En,$index:wn,store:xn,expanded:Fn})])])]]:(console.error("[Element Error]renderExpanded is required."),Ln):[[Ln]]}else if(Object.keys(An.value).length){Pn();const Fn=getRowIdentity(En,Un.value);let Ln=An.value[Fn],jn=null;Ln&&(jn={expanded:Ln.expanded,level:Ln.level,display:!0},typeof Ln.lazy=="boolean"&&(typeof Ln.loaded=="boolean"&&Ln.loaded&&(jn.noLazyChildren=!(Ln.children&&Ln.children.length)),jn.loading=Ln.loading));const Zn=[bn(En,wn,jn)];if(Ln){let Gn=0;const Jn=(yr,ir)=>{yr&&yr.length&&ir&&yr.forEach(qn=>{const Yn={display:ir.display&&ir.expanded,level:ir.level+1,expanded:!1,noLazyChildren:!1,loading:!1},Xn=getRowIdentity(qn,Un.value);if(Xn==null)throw new Error("For nested data item, row-key is required.");if(Ln={...An.value[Xn]},Ln&&(Yn.expanded=Ln.expanded,Ln.level=Ln.level||Yn.level,Ln.display=!!(Ln.expanded&&Yn.display),typeof Ln.lazy=="boolean"&&(typeof Ln.loaded=="boolean"&&Ln.loaded&&(Yn.noLazyChildren=!(Ln.children&&Ln.children.length)),Yn.loading=Ln.loading)),Gn++,Zn.push(bn(qn,wn+Gn,Yn)),Ln){const or=In.value[Xn]||qn[Nn.value];Jn(or,Ln)}})};Ln.display=!0;const lr=In.value[Fn]||En[Nn.value];Jn(lr,Ln)}return Zn}else return bn(En,wn,void 0)},tooltipContent:Ve,tooltipTrigger:Fe}}const defaultProps$2={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 TableBody=defineComponent({name:"ElTableBody",props:defaultProps$2,setup(oe){const ie=getCurrentInstance(),le=inject(TABLE_INJECTION_KEY),ue=useNamespace("table"),{wrappedRowRender:de,tooltipContent:pe,tooltipTrigger:he}=useRender$1(oe),{onColumnsChange:_e,onScrollableChange:$e}=useLayoutObserver(le);return watch(oe.store.states.hoverRow,(Ie,Ve)=>{if(!oe.store.states.isComplex.value||!isClient$1)return;let Fe=window.requestAnimationFrame;Fe||(Fe=Ue=>window.setTimeout(Ue,16)),Fe(()=>{const Ue=ie==null?void 0:ie.vnode.el,qe=Array.from((Ue==null?void 0:Ue.children)||[]).filter(Lt=>Lt==null?void 0:Lt.classList.contains(`${ue.e("row")}`)),Et=qe[Ve],At=qe[Ie];Et&&removeClass(Et,"hover-row"),At&&addClass(At,"hover-row")})}),onUnmounted(()=>{var Ie;(Ie=removePopper)==null||Ie()}),{ns:ue,onColumnsChange:_e,onScrollableChange:$e,wrappedRowRender:de,tooltipContent:pe,tooltipTrigger:he}},render(){const{wrappedRowRender:oe,store:ie}=this,le=ie.states.data.value||[];return h$3("tbody",{},[le.reduce((ue,de)=>ue.concat(oe(de,ue.length)),[])])}});function hColgroup(oe){const ie=oe.tableLayout==="auto";let le=oe.columns||[];ie&&le.every(de=>de.width===void 0)&&(le=[]);const ue=de=>{const pe={key:`${oe.tableLayout}_${de.id}`,style:{},name:void 0};return ie?pe.style={width:`${de.width}px`}:pe.name=de.id,pe};return h$3("colgroup",{},le.map(de=>h$3("col",ue(de))))}hColgroup.props=["columns","tableLayout"];function useMapState(){const oe=inject(TABLE_INJECTION_KEY),ie=oe==null?void 0:oe.store,le=computed(()=>ie.states.fixedLeafColumnsLength.value),ue=computed(()=>ie.states.rightFixedColumns.value.length),de=computed(()=>ie.states.columns.value.length),pe=computed(()=>ie.states.fixedColumns.value.length),he=computed(()=>ie.states.rightFixedColumns.value.length);return{leftFixedLeafCount:le,rightFixedLeafCount:ue,columnsCount:de,leftFixedCount:pe,rightFixedCount:he,columns:ie.states.columns}}function useStyle$1(oe){const{columns:ie}=useMapState(),le=useNamespace("table");return{getCellClasses:(pe,he)=>{const _e=pe[he],$e=[le.e("cell"),_e.id,_e.align,_e.labelClassName,...getFixedColumnsClass(le.b(),he,_e.fixed,oe.store)];return _e.className&&$e.push(_e.className),_e.children||$e.push(le.is("leaf")),$e},getCellStyles:(pe,he)=>{const _e=getFixedColumnOffset(he,pe.fixed,oe.store);return ensurePosition(_e,"left"),ensurePosition(_e,"right"),_e},columns:ie}}var TableFooter=defineComponent({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(oe){const{getCellClasses:ie,getCellStyles:le,columns:ue}=useStyle$1(oe);return{ns:useNamespace("table"),getCellClasses:ie,getCellStyles:le,columns:ue}},render(){const{columns:oe,getCellStyles:ie,getCellClasses:le,summaryMethod:ue,sumText:de,ns:pe}=this,he=this.store.states.data.value;let _e=[];return ue?_e=ue({columns:oe,data:he}):oe.forEach(($e,Ie)=>{if(Ie===0){_e[Ie]=de;return}const Ve=he.map(Et=>Number(Et[$e.property])),Fe=[];let Ue=!0;Ve.forEach(Et=>{if(!Number.isNaN(+Et)){Ue=!1;const At=`${Et}`.split(".")[1];Fe.push(At?At.length:0)}});const qe=Math.max.apply(null,Fe);Ue?_e[Ie]="":_e[Ie]=Ve.reduce((Et,At)=>{const Lt=Number(At);return Number.isNaN(+Lt)?Et:Number.parseFloat((Et+At).toFixed(Math.min(qe,20)))},0)}),h$3("table",{class:pe.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[hColgroup({columns:oe}),h$3("tbody",[h$3("tr",{},[...oe.map(($e,Ie)=>h$3("td",{key:Ie,colspan:$e.colSpan,rowspan:$e.rowSpan,class:le(oe,Ie),style:ie($e,Ie)},[h$3("div",{class:["cell",$e.labelClassName]},[_e[Ie]])]))])])])}});function useUtils(oe){return{setCurrentRow:Ve=>{oe.commit("setCurrentRow",Ve)},getSelectionRows:()=>oe.getSelectionRows(),toggleRowSelection:(Ve,Fe)=>{oe.toggleRowSelection(Ve,Fe,!1),oe.updateAllSelected()},clearSelection:()=>{oe.clearSelection()},clearFilter:Ve=>{oe.clearFilter(Ve)},toggleAllSelection:()=>{oe.commit("toggleAllSelection")},toggleRowExpansion:(Ve,Fe)=>{oe.toggleRowExpansionAdapter(Ve,Fe)},clearSort:()=>{oe.clearSort()},sort:(Ve,Fe)=>{oe.commit("sort",{prop:Ve,order:Fe})}}}function useStyle(oe,ie,le,ue){const de=ref(!1),pe=ref(null),he=ref(!1),_e=Fn=>{he.value=Fn},$e=ref({width:null,height:null,headerHeight:null}),Ie=ref(!1),Ve={display:"inline-block",verticalAlign:"middle"},Fe=ref(),Ue=ref(0),qe=ref(0),Et=ref(0),At=ref(0);watchEffect(()=>{ie.setHeight(oe.height)}),watchEffect(()=>{ie.setMaxHeight(oe.maxHeight)}),watch(()=>[oe.currentRowKey,le.states.rowKey],([Fn,Ln])=>{!unref(Ln)||!unref(Fn)||le.setCurrentRowKey(`${Fn}`)},{immediate:!0}),watch(()=>oe.data,Fn=>{ue.store.commit("setData",Fn)},{immediate:!0,deep:!0}),watchEffect(()=>{oe.expandRowKeys&&le.setExpandRowKeysAdapter(oe.expandRowKeys)});const Lt=()=>{ue.store.commit("setHoverRow",null),ue.hoverState&&(ue.hoverState=null)},hn=(Fn,Ln)=>{const{pixelX:jn,pixelY:Zn}=Ln;Math.abs(jn)>=Math.abs(Zn)&&(ue.refs.bodyWrapper.scrollLeft+=Ln.pixelX/5)},vn=computed(()=>oe.height||oe.maxHeight||le.states.fixedColumns.value.length>0||le.states.rightFixedColumns.value.length>0),_n=computed(()=>({width:ie.bodyWidth.value?`${ie.bodyWidth.value}px`:""})),bn=()=>{vn.value&&ie.updateElsHeight(),ie.updateColumnsWidth(),requestAnimationFrame(wn)};onMounted(async()=>{await nextTick(),le.updateColumns(),xn(),requestAnimationFrame(bn);const Fn=ue.vnode.el,Ln=ue.refs.headerWrapper;oe.flexible&&Fn&&Fn.parentElement&&(Fn.parentElement.style.minWidth="0"),$e.value={width:Fe.value=Fn.offsetWidth,height:Fn.offsetHeight,headerHeight:oe.showHeader&&Ln?Ln.offsetHeight:null},le.states.columns.value.forEach(jn=>{jn.filteredValue&&jn.filteredValue.length&&ue.store.commit("filterChange",{column:jn,values:jn.filteredValue,silent:!0})}),ue.$ready=!0});const Sn=(Fn,Ln)=>{if(!Fn)return;const jn=Array.from(Fn.classList).filter(Zn=>!Zn.startsWith("is-scrolling-"));jn.push(ie.scrollX.value?Ln:"is-scrolling-none"),Fn.className=jn.join(" ")},Cn=Fn=>{const{tableWrapper:Ln}=ue.refs;Sn(Ln,Fn)},En=Fn=>{const{tableWrapper:Ln}=ue.refs;return!!(Ln&&Ln.classList.contains(Fn))},wn=function(){if(!ue.refs.scrollBarRef)return;if(!ie.scrollX.value){const yr="is-scrolling-none";En(yr)||Cn(yr);return}const Fn=ue.refs.scrollBarRef.wrapRef;if(!Fn)return;const{scrollLeft:Ln,offsetWidth:jn,scrollWidth:Zn}=Fn,{headerWrapper:Gn,footerWrapper:Jn}=ue.refs;Gn&&(Gn.scrollLeft=Ln),Jn&&(Jn.scrollLeft=Ln);const lr=Zn-jn-1;Ln>=lr?Cn("is-scrolling-right"):Cn(Ln===0?"is-scrolling-left":"is-scrolling-middle")},xn=()=>{ue.refs.scrollBarRef&&(ue.refs.scrollBarRef.wrapRef&&useEventListener$1(ue.refs.scrollBarRef.wrapRef,"scroll",wn,{passive:!0}),oe.fit?useResizeObserver$1(ue.vnode.el,kn):useEventListener$1(window,"resize",kn),useResizeObserver$1(ue.refs.bodyWrapper,()=>{var Fn,Ln;kn(),(Ln=(Fn=ue.refs)==null?void 0:Fn.scrollBarRef)==null||Ln.update()}))},kn=()=>{var Fn,Ln,jn;const Zn=ue.vnode.el;if(!ue.$ready||!Zn)return;let Gn=!1;const{width:Jn,height:lr,headerHeight:yr}=$e.value,ir=Fe.value=Zn.offsetWidth;Jn!==ir&&(Gn=!0);const qn=Zn.offsetHeight;(oe.height||vn.value)&&lr!==qn&&(Gn=!0);const Yn=oe.tableLayout==="fixed"?ue.refs.headerWrapper:(Fn=ue.refs.tableHeaderRef)==null?void 0:Fn.$el;oe.showHeader&&(Yn==null?void 0:Yn.offsetHeight)!==yr&&(Gn=!0),Ue.value=((Ln=ue.refs.tableWrapper)==null?void 0:Ln.scrollHeight)||0,Et.value=(Yn==null?void 0:Yn.scrollHeight)||0,At.value=((jn=ue.refs.footerWrapper)==null?void 0:jn.offsetHeight)||0,qe.value=Ue.value-Et.value-At.value,Gn&&($e.value={width:ir,height:qn,headerHeight:oe.showHeader&&(Yn==null?void 0:Yn.offsetHeight)||0},bn())},Pn=useFormSize(),An=computed(()=>{const{bodyWidth:Fn,scrollY:Ln,gutterWidth:jn}=ie;return Fn.value?`${Fn.value-(Ln.value?jn:0)}px`:""}),In=computed(()=>oe.maxHeight?"fixed":oe.tableLayout),Nn=computed(()=>{if(oe.data&&oe.data.length)return null;let Fn="100%";oe.height&&qe.value&&(Fn=`${qe.value}px`);const Ln=Fe.value;return{width:Ln?`${Ln}px`:"",height:Fn}}),Un=computed(()=>oe.height?{height:Number.isNaN(Number(oe.height))?oe.height:`${oe.height}px`}:oe.maxHeight?{maxHeight:Number.isNaN(Number(oe.maxHeight))?oe.maxHeight:`${oe.maxHeight}px`}:{}),Vn=computed(()=>oe.height?{height:"100%"}:oe.maxHeight?Number.isNaN(Number(oe.maxHeight))?{maxHeight:`calc(${oe.maxHeight} - ${Et.value+At.value}px)`}:{maxHeight:`${oe.maxHeight-Et.value-At.value}px`}:{});return{isHidden:de,renderExpanded:pe,setDragVisible:_e,isGroup:Ie,handleMouseLeave:Lt,handleHeaderFooterMousewheel:hn,tableSize:Pn,emptyBlockStyle:Nn,handleFixedMousewheel:(Fn,Ln)=>{const jn=ue.refs.bodyWrapper;if(Math.abs(Ln.spinY)>0){const Zn=jn.scrollTop;Ln.pixelY<0&&Zn!==0&&Fn.preventDefault(),Ln.pixelY>0&&jn.scrollHeight-jn.clientHeight>Zn&&Fn.preventDefault(),jn.scrollTop+=Math.ceil(Ln.pixelY/5)}else jn.scrollLeft+=Math.ceil(Ln.pixelX/5)},resizeProxyVisible:he,bodyWidth:An,resizeState:$e,doLayout:bn,tableBodyStyles:_n,tableLayout:In,scrollbarViewStyle:Ve,tableInnerStyle:Un,scrollbarStyle:Vn}}function useKeyRender(oe){const ie=ref(),le=()=>{const de=oe.vnode.el.querySelector(".hidden-columns"),pe={childList:!0,subtree:!0},he=oe.store.states.updateOrderFns;ie.value=new MutationObserver(()=>{he.forEach(_e=>_e())}),ie.value.observe(de,pe)};onMounted(()=>{le()}),onUnmounted(()=>{var ue;(ue=ie.value)==null||ue.disconnect()})}var defaultProps$1={data:{type:Array,default:()=>[]},size:useSizeProp,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"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const useScrollbar$1=()=>{const oe=ref(),ie=(pe,he)=>{const _e=oe.value;_e&&_e.scrollTo(pe,he)},le=(pe,he)=>{const _e=oe.value;_e&&isNumber$4(he)&&["Top","Left"].includes(pe)&&_e[`setScroll${pe}`](he)};return{scrollBarRef:oe,scrollTo:ie,setScrollTop:pe=>le("Top",pe),setScrollLeft:pe=>le("Left",pe)}};let tableIdSeed=1;const _sfc_main$s=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,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"],setup(oe){const{t:ie}=useLocale(),le=useNamespace("table"),ue=getCurrentInstance();provide(TABLE_INJECTION_KEY,ue);const de=createStore(ue,oe);ue.store=de;const pe=new TableLayout({store:ue.store,table:ue,fit:oe.fit,showHeader:oe.showHeader});ue.layout=pe;const he=computed(()=>(de.states.data.value||[]).length===0),{setCurrentRow:_e,getSelectionRows:$e,toggleRowSelection:Ie,clearSelection:Ve,clearFilter:Fe,toggleAllSelection:Ue,toggleRowExpansion:qe,clearSort:Et,sort:At}=useUtils(de),{isHidden:Lt,renderExpanded:hn,setDragVisible:vn,isGroup:_n,handleMouseLeave:bn,handleHeaderFooterMousewheel:Sn,tableSize:Cn,emptyBlockStyle:En,handleFixedMousewheel:wn,resizeProxyVisible:xn,bodyWidth:kn,resizeState:Pn,doLayout:An,tableBodyStyles:In,tableLayout:Nn,scrollbarViewStyle:Un,tableInnerStyle:Vn,scrollbarStyle:Mn}=useStyle(oe,pe,de,ue),{scrollBarRef:Fn,scrollTo:Ln,setScrollLeft:jn,setScrollTop:Zn}=useScrollbar$1(),Gn=debounce(An,50),Jn=`${le.namespace.value}-table_${tableIdSeed++}`;ue.tableId=Jn,ue.state={isGroup:_n,resizeState:Pn,doLayout:An,debouncedUpdateLayout:Gn};const lr=computed(()=>oe.sumText||ie("el.table.sumText")),yr=computed(()=>oe.emptyText||ie("el.table.emptyText"));return useKeyRender(ue),{ns:le,layout:pe,store:de,handleHeaderFooterMousewheel:Sn,handleMouseLeave:bn,tableId:Jn,tableSize:Cn,isHidden:Lt,isEmpty:he,renderExpanded:hn,resizeProxyVisible:xn,resizeState:Pn,isGroup:_n,bodyWidth:kn,tableBodyStyles:In,emptyBlockStyle:En,debouncedUpdateLayout:Gn,handleFixedMousewheel:wn,setCurrentRow:_e,getSelectionRows:$e,toggleRowSelection:Ie,clearSelection:Ve,clearFilter:Fe,toggleAllSelection:Ue,toggleRowExpansion:qe,clearSort:Et,doLayout:An,sort:At,t:ie,setDragVisible:vn,context:ue,computedSumText:lr,computedEmptyText:yr,tableLayout:Nn,scrollbarViewStyle:Un,tableInnerStyle:Vn,scrollbarStyle:Mn,scrollBarRef:Fn,scrollTo:Ln,setScrollLeft:jn,setScrollTop:Zn}}}),_hoisted_1$d=["data-prefix"],_hoisted_2$9={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$4(oe,ie,le,ue,de,pe){const he=resolveComponent("hColgroup"),_e=resolveComponent("table-header"),$e=resolveComponent("table-body"),Ie=resolveComponent("el-scrollbar"),Ve=resolveComponent("table-footer"),Fe=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[oe.ns.m("fit")]:oe.fit,[oe.ns.m("striped")]:oe.stripe,[oe.ns.m("border")]:oe.border||oe.isGroup,[oe.ns.m("hidden")]:oe.isHidden,[oe.ns.m("group")]:oe.isGroup,[oe.ns.m("fluid-height")]:oe.maxHeight,[oe.ns.m("scrollable-x")]:oe.layout.scrollX.value,[oe.ns.m("scrollable-y")]:oe.layout.scrollY.value,[oe.ns.m("enable-row-hover")]:!oe.store.states.isComplex.value,[oe.ns.m("enable-row-transition")]:(oe.store.states.data.value||[]).length!==0&&(oe.store.states.data.value||[]).length<100,"has-footer":oe.showSummary},oe.ns.m(oe.tableSize),oe.className,oe.ns.b(),oe.ns.m(`layout-${oe.tableLayout}`)]),style:normalizeStyle$1(oe.style),"data-prefix":oe.ns.namespace.value,onMouseleave:ie[0]||(ie[0]=(...Ue)=>oe.handleMouseLeave&&oe.handleMouseLeave(...Ue))},[createBaseVNode("div",{class:normalizeClass(oe.ns.e("inner-wrapper")),style:normalizeStyle$1(oe.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$9,[renderSlot(oe.$slots,"default")],512),oe.showHeader&&oe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(oe.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(oe.ns.e("header")),style:normalizeStyle$1(oe.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode(he,{columns:oe.store.states.columns.value,"table-layout":oe.tableLayout},null,8,["columns","table-layout"]),createVNode(_e,{ref:"tableHeaderRef",border:oe.border,"default-sort":oe.defaultSort,store:oe.store,onSetDragVisible:oe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[Fe,oe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(oe.ns.e("body-wrapper"))},[createVNode(Ie,{ref:"scrollBarRef","view-style":oe.scrollbarViewStyle,"wrap-style":oe.scrollbarStyle,always:oe.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(oe.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:oe.bodyWidth,tableLayout:oe.tableLayout})},[createVNode(he,{columns:oe.store.states.columns.value,"table-layout":oe.tableLayout},null,8,["columns","table-layout"]),oe.showHeader&&oe.tableLayout==="auto"?(openBlock(),createBlock(_e,{key:0,ref:"tableHeaderRef",border:oe.border,"default-sort":oe.defaultSort,store:oe.store,onSetDragVisible:oe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode($e,{context:oe.context,highlight:oe.highlightCurrentRow,"row-class-name":oe.rowClassName,"tooltip-effect":oe.tooltipEffect,"tooltip-options":oe.tooltipOptions,"row-style":oe.rowStyle,store:oe.store,stripe:oe.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"])],6),oe.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(oe.emptyBlockStyle),class:normalizeClass(oe.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(oe.ns.e("empty-text"))},[renderSlot(oe.$slots,"empty",{},()=>[createTextVNode(toDisplayString$1(oe.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),oe.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(oe.ns.e("append-wrapper"))},[renderSlot(oe.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),oe.showSummary?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(oe.ns.e("footer-wrapper"))},[createVNode(Ve,{border:oe.border,"default-sort":oe.defaultSort,store:oe.store,style:normalizeStyle$1(oe.tableBodyStyles),"sum-text":oe.computedSumText,"summary-method":oe.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[vShow,!oe.isEmpty],[Fe,oe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),oe.border||oe.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(oe.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(oe.ns.e("column-resize-proxy"))},null,2),[[vShow,oe.resizeProxyVisible]])],46,_hoisted_1$d)}var Table=_export_sfc$1(_sfc_main$s,[["render",_sfc_render$4],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={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:""}},getDefaultClassName=oe=>defaultClassNames[oe]||"",cellForced={selection:{renderHeader({store:oe}){function ie(){return oe.states.data.value&&oe.states.data.value.length===0}return h$3(ElCheckbox,{disabled:ie(),size:oe.states.tableSize.value,indeterminate:oe.states.selection.value.length>0&&!oe.states.isAllSelected.value,"onUpdate:modelValue":oe.toggleAllSelection,modelValue:oe.states.isAllSelected.value})},renderCell({row:oe,column:ie,store:le,$index:ue}){return h$3(ElCheckbox,{disabled:ie.selectable?!ie.selectable.call(null,oe,ue):!1,size:le.states.tableSize.value,onChange:()=>{le.commit("rowSelectedChanged",oe)},onClick:de=>de.stopPropagation(),modelValue:le.isSelected(oe)})},sortable:!1,resizable:!1},index:{renderHeader({column:oe}){return oe.label||"#"},renderCell({column:oe,$index:ie}){let le=ie+1;const ue=oe.index;return typeof ue=="number"?le=ie+ue:typeof ue=="function"&&(le=ue(ie)),h$3("div",{},[le])},sortable:!1},expand:{renderHeader({column:oe}){return oe.label||""},renderCell({row:oe,store:ie,expanded:le}){const{ns:ue}=ie,de=[ue.e("expand-icon")];return le&&de.push(ue.em("expand-icon","expanded")),h$3("div",{class:de,onClick:function(he){he.stopPropagation(),ie.toggleRowExpansion(oe)}},{default:()=>[h$3(ElIcon,null,{default:()=>[h$3(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:oe,column:ie,$index:le}){var ue;const de=ie.property,pe=de&&getProp(oe,de).value;return ie&&ie.formatter?ie.formatter(oe,ie,pe,le):((ue=pe==null?void 0:pe.toString)==null?void 0:ue.call(pe))||""}function treeCellPrefix({row:oe,treeNode:ie,store:le},ue=!1){const{ns:de}=le;if(!ie)return ue?[h$3("span",{class:de.e("placeholder")})]:null;const pe=[],he=function(_e){_e.stopPropagation(),!ie.loading&&le.loadOrToggle(oe)};if(ie.indent&&pe.push(h$3("span",{class:de.e("indent"),style:{"padding-left":`${ie.indent}px`}})),typeof ie.expanded=="boolean"&&!ie.noLazyChildren){const _e=[de.e("expand-icon"),ie.expanded?de.em("expand-icon","expanded"):""];let $e=arrow_right_default;ie.loading&&($e=loading_default),pe.push(h$3("div",{class:_e,onClick:he},{default:()=>[h$3(ElIcon,{class:{[de.is("loading")]:ie.loading}},{default:()=>[h$3($e)]})]}))}else pe.push(h$3("span",{class:de.e("placeholder")}));return pe}function getAllAliases(oe,ie){return oe.reduce((le,ue)=>(le[ue]=ue,le),ie)}function useWatcher(oe,ie){const le=getCurrentInstance();return{registerComplexWatchers:()=>{const pe=["fixed"],he={realWidth:"width",realMinWidth:"minWidth"},_e=getAllAliases(pe,he);Object.keys(_e).forEach($e=>{const Ie=he[$e];hasOwn$4(ie,Ie)&&watch(()=>ie[Ie],Ve=>{let Fe=Ve;Ie==="width"&&$e==="realWidth"&&(Fe=parseWidth(Ve)),Ie==="minWidth"&&$e==="realMinWidth"&&(Fe=parseMinWidth(Ve)),le.columnConfig.value[Ie]=Fe,le.columnConfig.value[$e]=Fe;const Ue=Ie==="fixed";oe.value.store.scheduleLayout(Ue)})})},registerNormalWatchers:()=>{const pe=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],he={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},_e=getAllAliases(pe,he);Object.keys(_e).forEach($e=>{const Ie=he[$e];hasOwn$4(ie,Ie)&&watch(()=>ie[Ie],Ve=>{le.columnConfig.value[$e]=Ve})})}}}function useRender(oe,ie,le){const ue=getCurrentInstance(),de=ref(""),pe=ref(!1),he=ref(),_e=ref(),$e=useNamespace("table");watchEffect(()=>{he.value=oe.align?`is-${oe.align}`:null,he.value}),watchEffect(()=>{_e.value=oe.headerAlign?`is-${oe.headerAlign}`:he.value,_e.value});const Ie=computed(()=>{let bn=ue.vnode.vParent||ue.parent;for(;bn&&!bn.tableId&&!bn.columnId;)bn=bn.vnode.vParent||bn.parent;return bn}),Ve=computed(()=>{const{store:bn}=ue.parent;if(!bn)return!1;const{treeData:Sn}=bn.states,Cn=Sn.value;return Cn&&Object.keys(Cn).length>0}),Fe=ref(parseWidth(oe.width)),Ue=ref(parseMinWidth(oe.minWidth)),qe=bn=>(Fe.value&&(bn.width=Fe.value),Ue.value&&(bn.minWidth=Ue.value),!Fe.value&&Ue.value&&(bn.width=void 0),bn.minWidth||(bn.minWidth=80),bn.realWidth=Number(bn.width===void 0?bn.minWidth:bn.width),bn),Et=bn=>{const Sn=bn.type,Cn=cellForced[Sn]||{};Object.keys(Cn).forEach(wn=>{const xn=Cn[wn];wn!=="className"&&xn!==void 0&&(bn[wn]=xn)});const En=getDefaultClassName(Sn);if(En){const wn=`${unref($e.namespace)}-${En}`;bn.className=bn.className?`${bn.className} ${wn}`:wn}return bn},At=bn=>{Array.isArray(bn)?bn.forEach(Cn=>Sn(Cn)):Sn(bn);function Sn(Cn){var En;((En=Cn==null?void 0:Cn.type)==null?void 0:En.name)==="ElTableColumn"&&(Cn.vParent=ue)}};return{columnId:de,realAlign:he,isSubColumn:pe,realHeaderAlign:_e,columnOrTableParent:Ie,setColumnWidth:qe,setColumnForcedProps:Et,setColumnRenders:bn=>{oe.renderHeader||bn.type!=="selection"&&(bn.renderHeader=Cn=>{ue.columnConfig.value.label;const En=ie.header;return En?En(Cn):bn.label});let Sn=bn.renderCell;return bn.type==="expand"?(bn.renderCell=Cn=>h$3("div",{class:"cell"},[Sn(Cn)]),le.value.renderExpanded=Cn=>ie.default?ie.default(Cn):ie.default):(Sn=Sn||defaultRenderCell,bn.renderCell=Cn=>{let En=null;if(ie.default){const In=ie.default(Cn);En=In.some(Nn=>Nn.type!==Comment)?In:Sn(Cn)}else En=Sn(Cn);const{columns:wn}=le.value.store.states,xn=wn.value.findIndex(In=>In.type==="default"),kn=Ve.value&&Cn.cellIndex===xn,Pn=treeCellPrefix(Cn,kn),An={class:"cell",style:{}};return bn.showOverflowTooltip&&(An.class=`${An.class} ${unref($e.namespace)}-tooltip`,An.style={width:`${(Cn.column.realWidth||Number(Cn.column.width))-1}px`}),At(En),h$3("div",An,[Pn,En])}),bn},getPropsData:(...bn)=>bn.reduce((Sn,Cn)=>(Array.isArray(Cn)&&Cn.forEach(En=>{Sn[En]=oe[En]}),Sn),{}),getColumnElIndex:(bn,Sn)=>Array.prototype.indexOf.call(bn,Sn),updateColumnOrder:()=>{le.value.store.commit("updateColumnOrder",ue.columnConfig.value)}}}var defaultProps={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:[Boolean,Object],fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:oe=>oe.every(ie=>["ascending","descending",null].includes(ie))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(oe,{slots:ie}){const le=getCurrentInstance(),ue=ref({}),de=computed(()=>{let _n=le.parent;for(;_n&&!_n.tableId;)_n=_n.parent;return _n}),{registerNormalWatchers:pe,registerComplexWatchers:he}=useWatcher(de,oe),{columnId:_e,isSubColumn:$e,realHeaderAlign:Ie,columnOrTableParent:Ve,setColumnWidth:Fe,setColumnForcedProps:Ue,setColumnRenders:qe,getPropsData:Et,getColumnElIndex:At,realAlign:Lt,updateColumnOrder:hn}=useRender(oe,ie,de),vn=Ve.value;_e.value=`${vn.tableId||vn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{$e.value=de.value!==vn;const _n=oe.type||"default",bn=oe.sortable===""?!0:oe.sortable,Sn={...cellStarts[_n],id:_e.value,type:_n,property:oe.prop||oe.property,align:Lt,headerAlign:Ie,showOverflowTooltip:oe.showOverflowTooltip,filterable:oe.filters||oe.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:bn,index:oe.index,rawColumnKey:le.vnode.key};let kn=Et(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);kn=mergeOptions$1(Sn,kn),kn=compose(qe,Fe,Ue)(kn),ue.value=kn,pe(),he()}),onMounted(()=>{var _n;const bn=Ve.value,Sn=$e.value?bn.vnode.el.children:(_n=bn.refs.hiddenColumns)==null?void 0:_n.children,Cn=()=>At(Sn||[],le.vnode.el);ue.value.getColumnIndex=Cn,Cn()>-1&&de.value.store.commit("insertColumn",ue.value,$e.value?bn.columnConfig.value:null,hn)}),onBeforeUnmount(()=>{de.value.store.commit("removeColumn",ue.value,$e.value?vn.columnConfig.value:null,hn)}),le.columnId=_e.value,le.columnConfig=ue},render(){var oe,ie,le;try{const ue=(ie=(oe=this.$slots).default)==null?void 0:ie.call(oe,{row:{},column:{},$index:-1}),de=[];if(Array.isArray(ue))for(const he of ue)((le=he.type)==null?void 0:le.name)==="ElTableColumn"||he.shapeFlag&2?de.push(he):he.type===Fragment&&Array.isArray(he.children)&&he.children.forEach(_e=>{(_e==null?void 0:_e.patchFlag)!==1024&&!isString$6(_e==null?void 0:_e.children)&&de.push(_e)});return h$3("div",de)}catch{return h$3("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(oe=>(oe.ASC="asc",oe.DESC="desc",oe))(SortOrder||{}),Alignment=(oe=>(oe.CENTER="center",oe.RIGHT="right",oe))(Alignment||{}),FixedDir=(oe=>(oe.LEFT="left",oe.RIGHT="right",oe))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(oe,ie,le)=>{var ue;const de={flexGrow:0,flexShrink:0,...le?{}:{flexGrow:oe.flexGrow||0,flexShrink:oe.flexShrink||1}};le||(de.flexShrink=1);const pe={...(ue=oe.style)!=null?ue:{},...de,flexBasis:"auto",width:oe.width};return ie||(oe.maxWidth&&(pe.maxWidth=oe.maxWidth),oe.minWidth&&(pe.minWidth=oe.minWidth)),pe};function useColumns(oe,ie,le){const ue=computed(()=>unref(ie).filter(At=>!At.hidden)),de=computed(()=>unref(ue).filter(At=>At.fixed==="left"||At.fixed===!0)),pe=computed(()=>unref(ue).filter(At=>At.fixed==="right")),he=computed(()=>unref(ue).filter(At=>!At.fixed)),_e=computed(()=>{const At=[];return unref(de).forEach(Lt=>{At.push({...Lt,placeholderSign})}),unref(he).forEach(Lt=>{At.push(Lt)}),unref(pe).forEach(Lt=>{At.push({...Lt,placeholderSign})}),At}),$e=computed(()=>unref(de).length||unref(pe).length),Ie=computed(()=>unref(ie).reduce((Lt,hn)=>(Lt[hn.key]=calcColumnStyle(hn,unref(le),oe.fixed),Lt),{})),Ve=computed(()=>unref(ue).reduce((At,Lt)=>At+Lt.width,0)),Fe=At=>unref(ie).find(Lt=>Lt.key===At),Ue=At=>unref(Ie)[At],qe=(At,Lt)=>{At.width=Lt};function Et(At){var Lt;const{key:hn}=At.currentTarget.dataset;if(!hn)return;const{sortState:vn,sortBy:_n}=oe;let bn=SortOrder.ASC;isObject$9(vn)?bn=oppositeOrderMap[vn[hn]]:bn=oppositeOrderMap[_n.order],(Lt=oe.onColumnSort)==null||Lt.call(oe,{column:Fe(hn),key:hn,order:bn})}return{columns:ie,columnsStyles:Ie,columnsTotalWidth:Ve,fixedColumnsOnLeft:de,fixedColumnsOnRight:pe,hasFixedColumns:$e,mainColumns:_e,normalColumns:he,visibleColumns:ue,getColumn:Fe,getColumnStyle:Ue,updateColumnWidth:qe,onColumnSorted:Et}}const useScrollbar=(oe,{mainTableRef:ie,leftTableRef:le,rightTableRef:ue,onMaybeEndReached:de})=>{const pe=ref({scrollLeft:0,scrollTop:0});function he(qe){var Et,At,Lt;const{scrollTop:hn}=qe;(Et=ie.value)==null||Et.scrollTo(qe),(At=le.value)==null||At.scrollToTop(hn),(Lt=ue.value)==null||Lt.scrollToTop(hn)}function _e(qe){pe.value=qe,he(qe)}function $e(qe){pe.value.scrollTop=qe,he(unref(pe))}function Ie(qe){var Et,At;pe.value.scrollLeft=qe,(At=(Et=ie.value)==null?void 0:Et.scrollTo)==null||At.call(Et,unref(pe))}function Ve(qe){var Et;_e(qe),(Et=oe.onScroll)==null||Et.call(oe,qe)}function Fe({scrollTop:qe}){const{scrollTop:Et}=unref(pe);qe!==Et&&$e(qe)}function Ue(qe,Et="auto"){var At;(At=ie.value)==null||At.scrollToRow(qe,Et)}return watch(()=>unref(pe).scrollTop,(qe,Et)=>{qe>Et&&de()}),{scrollPos:pe,scrollTo:_e,scrollToLeft:Ie,scrollToTop:$e,scrollToRow:Ue,onScroll:Ve,onVerticalScroll:Fe}},useRow=(oe,{mainTableRef:ie,leftTableRef:le,rightTableRef:ue})=>{const de=getCurrentInstance(),{emit:pe}=de,he=shallowRef(!1),_e=shallowRef(null),$e=ref(oe.defaultExpandedRowKeys||[]),Ie=ref(-1),Ve=shallowRef(null),Fe=ref({}),Ue=ref({}),qe=shallowRef({}),Et=shallowRef({}),At=shallowRef({}),Lt=computed(()=>isNumber$4(oe.estimatedRowHeight));function hn(wn){var xn;(xn=oe.onRowsRendered)==null||xn.call(oe,wn),wn.rowCacheEnd>unref(Ie)&&(Ie.value=wn.rowCacheEnd)}function vn({hovered:wn,rowKey:xn}){_e.value=wn?xn:null}function _n({expanded:wn,rowData:xn,rowIndex:kn,rowKey:Pn}){var An,In;const Nn=[...unref($e)],Un=Nn.indexOf(Pn);wn?Un===-1&&Nn.push(Pn):Un>-1&&Nn.splice(Un,1),$e.value=Nn,pe("update:expandedRowKeys",Nn),(An=oe.onRowExpand)==null||An.call(oe,{expanded:wn,rowData:xn,rowIndex:kn,rowKey:Pn}),(In=oe.onExpandedRowsChange)==null||In.call(oe,Nn)}const bn=debounce(()=>{var wn,xn,kn,Pn;he.value=!0,Fe.value={...unref(Fe),...unref(Ue)},Sn(unref(Ve),!1),Ue.value={},Ve.value=null,(wn=ie.value)==null||wn.forceUpdate(),(xn=le.value)==null||xn.forceUpdate(),(kn=ue.value)==null||kn.forceUpdate(),(Pn=de.proxy)==null||Pn.$forceUpdate(),he.value=!1},0);function Sn(wn,xn=!1){unref(Lt)&&[ie,le,ue].forEach(kn=>{const Pn=unref(kn);Pn&&Pn.resetAfterRowIndex(wn,xn)})}function Cn(wn,xn,kn){const Pn=unref(Ve);(Pn===null||Pn>kn)&&(Ve.value=kn),Ue.value[wn]=xn}function En({rowKey:wn,height:xn,rowIndex:kn},Pn){Pn?Pn===FixedDir.RIGHT?At.value[wn]=xn:qe.value[wn]=xn:Et.value[wn]=xn;const An=Math.max(...[qe,At,Et].map(In=>In.value[wn]||0));unref(Fe)[wn]!==An&&(Cn(wn,An,kn),bn())}return{hoveringRowKey:_e,expandedRowKeys:$e,lastRenderedRowIndex:Ie,isDynamic:Lt,isResetting:he,rowHeights:Fe,resetAfterIndex:Sn,onRowExpanded:_n,onRowHovered:vn,onRowsRendered:hn,onRowHeightChange:En}},useData=(oe,{expandedRowKeys:ie,lastRenderedRowIndex:le,resetAfterIndex:ue})=>{const de=ref({}),pe=computed(()=>{const _e={},{data:$e,rowKey:Ie}=oe,Ve=unref(ie);if(!Ve||!Ve.length)return $e;const Fe=[],Ue=new Set;Ve.forEach(Et=>Ue.add(Et));let qe=$e.slice();for(qe.forEach(Et=>_e[Et[Ie]]=0);qe.length>0;){const Et=qe.shift();Fe.push(Et),Ue.has(Et[Ie])&&Array.isArray(Et.children)&&Et.children.length>0&&(qe=[...Et.children,...qe],Et.children.forEach(At=>_e[At[Ie]]=_e[Et[Ie]]+1))}return de.value=_e,Fe}),he=computed(()=>{const{data:_e,expandColumnKey:$e}=oe;return $e?unref(pe):_e});return watch(he,(_e,$e)=>{_e!==$e&&(le.value=-1,ue(0,!0))}),{data:he,depthMap:de}},sumReducer=(oe,ie)=>oe+ie,sum=oe=>isArray$c(oe)?oe.reduce(sumReducer,0):oe,tryCall=(oe,ie,le={})=>isFunction$5(oe)?oe(ie):oe??le,enforceUnit=oe=>(["width","maxWidth","minWidth","height"].forEach(ie=>{oe[ie]=addUnit(oe[ie])}),oe),componentToSlot=oe=>isVNode$1(oe)?ie=>h$3(oe,ie):oe,useStyles=(oe,{columnsTotalWidth:ie,data:le,fixedColumnsOnLeft:ue,fixedColumnsOnRight:de})=>{const pe=computed(()=>{const{fixed:_n,width:bn,vScrollbarSize:Sn}=oe,Cn=bn-Sn;return _n?Math.max(Math.round(unref(ie)),Cn):Cn}),he=computed(()=>unref(pe)+(oe.fixed?oe.vScrollbarSize:0)),_e=computed(()=>{const{height:_n=0,maxHeight:bn=0,footerHeight:Sn,hScrollbarSize:Cn}=oe;if(bn>0){const En=unref(Et),wn=unref($e),kn=unref(qe)+En+wn+Cn;return Math.min(kn,bn-Sn)}return _n-Sn}),$e=computed(()=>{const{rowHeight:_n,estimatedRowHeight:bn}=oe,Sn=unref(le);return isNumber$4(bn)?Sn.length*bn:Sn.length*_n}),Ie=computed(()=>{const{maxHeight:_n}=oe,bn=unref(_e);if(isNumber$4(_n)&&_n>0)return bn;const Sn=unref($e)+unref(qe)+unref(Et);return Math.min(bn,Sn)}),Ve=_n=>_n.width,Fe=computed(()=>sum(unref(ue).map(Ve))),Ue=computed(()=>sum(unref(de).map(Ve))),qe=computed(()=>sum(oe.headerHeight)),Et=computed(()=>{var _n;return(((_n=oe.fixedData)==null?void 0:_n.length)||0)*oe.rowHeight}),At=computed(()=>unref(_e)-unref(qe)-unref(Et)),Lt=computed(()=>{const{style:_n={},height:bn,width:Sn}=oe;return enforceUnit({..._n,height:bn,width:Sn})}),hn=computed(()=>enforceUnit({height:oe.footerHeight})),vn=computed(()=>({top:addUnit(unref(qe)),bottom:addUnit(oe.footerHeight),width:addUnit(oe.width)}));return{bodyWidth:pe,fixedTableHeight:Ie,mainTableHeight:_e,leftTableWidth:Fe,rightTableWidth:Ue,headerWidth:he,rowsHeight:$e,windowHeight:At,footerHeight:hn,emptyStyle:vn,rootStyle:Lt,headerHeight:qe}},useAutoResize=oe=>{const ie=ref(),le=ref(0),ue=ref(0);let de;return onMounted(()=>{de=useResizeObserver$1(ie,([pe])=>{const{width:he,height:_e}=pe.contentRect,{paddingLeft:$e,paddingRight:Ie,paddingTop:Ve,paddingBottom:Fe}=getComputedStyle(pe.target),Ue=Number.parseInt($e)||0,qe=Number.parseInt(Ie)||0,Et=Number.parseInt(Ve)||0,At=Number.parseInt(Fe)||0;le.value=he-Ue-qe,ue.value=_e-Et-At}).stop}),onBeforeUnmount(()=>{de==null||de()}),watch([le,ue],([pe,he])=>{var _e;(_e=oe.onResize)==null||_e.call(oe,{width:pe,height:he})}),{sizer:ie,width:le,height:ue}};function useTable(oe){const ie=ref(),le=ref(),ue=ref(),{columns:de,columnsStyles:pe,columnsTotalWidth:he,fixedColumnsOnLeft:_e,fixedColumnsOnRight:$e,hasFixedColumns:Ie,mainColumns:Ve,onColumnSorted:Fe}=useColumns(oe,toRef$1(oe,"columns"),toRef$1(oe,"fixed")),{scrollTo:Ue,scrollToLeft:qe,scrollToTop:Et,scrollToRow:At,onScroll:Lt,onVerticalScroll:hn,scrollPos:vn}=useScrollbar(oe,{mainTableRef:ie,leftTableRef:le,rightTableRef:ue,onMaybeEndReached:Kn}),{expandedRowKeys:_n,hoveringRowKey:bn,lastRenderedRowIndex:Sn,isDynamic:Cn,isResetting:En,rowHeights:wn,resetAfterIndex:xn,onRowExpanded:kn,onRowHeightChange:Pn,onRowHovered:An,onRowsRendered:In}=useRow(oe,{mainTableRef:ie,leftTableRef:le,rightTableRef:ue}),{data:Nn,depthMap:Un}=useData(oe,{expandedRowKeys:_n,lastRenderedRowIndex:Sn,resetAfterIndex:xn}),{bodyWidth:Vn,fixedTableHeight:Mn,mainTableHeight:Fn,leftTableWidth:Ln,rightTableWidth:jn,headerWidth:Zn,rowsHeight:Gn,windowHeight:Jn,footerHeight:lr,emptyStyle:yr,rootStyle:ir,headerHeight:qn}=useStyles(oe,{columnsTotalWidth:he,data:Nn,fixedColumnsOnLeft:_e,fixedColumnsOnRight:$e}),Yn=shallowRef(!1),Xn=ref(),or=computed(()=>{const er=unref(Nn).length===0;return isArray$c(oe.fixedData)?oe.fixedData.length===0&&er:er});function _r(er){const{estimatedRowHeight:ar,rowHeight:gr,rowKey:Er}=oe;return ar?unref(wn)[unref(Nn)[er][Er]]||ar:gr}function Kn(){const{onEndReached:er}=oe;if(!er)return;const{scrollTop:ar}=unref(vn),gr=unref(Gn),Er=unref(Jn),cr=gr-(ar+Er)+oe.hScrollbarSize;unref(Sn)>=0&&gr===ar+unref(Fn)-unref(qn)&&er(cr)}return watch(()=>oe.expandedRowKeys,er=>_n.value=er,{deep:!0}),{columns:de,containerRef:Xn,mainTableRef:ie,leftTableRef:le,rightTableRef:ue,isDynamic:Cn,isResetting:En,isScrolling:Yn,hoveringRowKey:bn,hasFixedColumns:Ie,columnsStyles:pe,columnsTotalWidth:he,data:Nn,expandedRowKeys:_n,depthMap:Un,fixedColumnsOnLeft:_e,fixedColumnsOnRight:$e,mainColumns:Ve,bodyWidth:Vn,emptyStyle:yr,rootStyle:ir,headerWidth:Zn,footerHeight:lr,mainTableHeight:Fn,fixedTableHeight:Mn,leftTableWidth:Ln,rightTableWidth:jn,showEmpty:or,getRowHeight:_r,onColumnSorted:Fe,onRowHovered:An,onRowExpanded:kn,onRowsRendered:In,onRowHeightChange:Pn,scrollTo:Ue,scrollToLeft:qe,scrollToTop:Et,scrollToRow:At,onScroll:Lt,onVerticalScroll:hn}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),TableV2Cell=(oe,{slots:ie})=>{var le;const{cellData:ue,style:de}=oe,pe=((le=ue==null?void 0:ue.toString)==null?void 0:le.call(ue))||"";return createVNode("div",{class:oe.class,title:pe,style:de},[ie.default?ie.default(oe):pe])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(oe,{slots:ie})=>{var le,ue;return ie.default?ie.default(oe):createVNode("div",{class:oe.class,title:(le=oe.column)==null?void 0:le.title},[(ue=oe.column)==null?void 0:ue.title])};HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(oe,{slots:ie}){return()=>{const{columns:le,columnsStyles:ue,headerIndex:de,style:pe}=oe;let he=le.map((_e,$e)=>ie.cell({columns:le,column:_e,columnIndex:$e,headerIndex:de,style:ue[_e.key]}));return ie.header&&(he=ie.header({cells:he.map(_e=>isArray$c(_e)&&_e.length===1?_e[0]:_e),columns:le,headerIndex:de})),createVNode("div",{class:oe.class,style:pe,role:"row"},[he])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(oe,{slots:ie,expose:le}){const ue=useNamespace("table-v2"),de=ref(),pe=computed(()=>enforceUnit({width:oe.width,height:oe.height})),he=computed(()=>enforceUnit({width:oe.rowWidth,height:oe.height})),_e=computed(()=>castArray$1(unref(oe.headerHeight))),$e=Fe=>{const Ue=unref(de);nextTick(()=>{Ue!=null&&Ue.scroll&&Ue.scroll({left:Fe})})},Ie=()=>{const Fe=ue.e("fixed-header-row"),{columns:Ue,fixedHeaderData:qe,rowHeight:Et}=oe;return qe==null?void 0:qe.map((At,Lt)=>{var hn;const vn=enforceUnit({height:Et,width:"100%"});return(hn=ie.fixed)==null?void 0:hn.call(ie,{class:Fe,columns:Ue,rowData:At,rowIndex:-(Lt+1),style:vn})})},Ve=()=>{const Fe=ue.e("dynamic-header-row"),{columns:Ue}=oe;return unref(_e).map((qe,Et)=>{var At;const Lt=enforceUnit({width:"100%",height:qe});return(At=ie.dynamic)==null?void 0:At.call(ie,{class:Fe,columns:Ue,headerIndex:Et,style:Lt})})};return le({scrollToLeft:$e}),()=>{if(!(oe.height<=0))return createVNode("div",{ref:de,class:oe.class,style:unref(pe),role:"rowgroup"},[createVNode("div",{style:unref(he),class:ue.e("header")},[Ve(),Ie()])])}}}),useTableRow=oe=>{const{isScrolling:ie}=inject(TableV2InjectionKey),le=ref(!1),ue=ref(),de=computed(()=>isNumber$4(oe.estimatedRowHeight)&&oe.rowIndex>=0),pe=($e=!1)=>{const Ie=unref(ue);if(!Ie)return;const{columns:Ve,onRowHeightChange:Fe,rowKey:Ue,rowIndex:qe,style:Et}=oe,{height:At}=Ie.getBoundingClientRect();le.value=!0,nextTick(()=>{if($e||At!==Number.parseInt(Et.height)){const Lt=Ve[0],hn=(Lt==null?void 0:Lt.placeholderSign)===placeholderSign;Fe==null||Fe({rowKey:Ue,height:At,rowIndex:qe},Lt&&!hn&&Lt.fixed)}})},he=computed(()=>{const{rowData:$e,rowIndex:Ie,rowKey:Ve,onRowHover:Fe}=oe,Ue=oe.rowEventHandlers||{},qe={};return Object.entries(Ue).forEach(([Et,At])=>{isFunction$5(At)&&(qe[Et]=Lt=>{At({event:Lt,rowData:$e,rowIndex:Ie,rowKey:Ve})})}),Fe&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:Et,hovered:At})=>{const Lt=qe[Et];qe[Et]=hn=>{Fe({event:hn,hovered:At,rowData:$e,rowIndex:Ie,rowKey:Ve}),Lt==null||Lt(hn)}}),qe}),_e=$e=>{const{onRowExpand:Ie,rowData:Ve,rowIndex:Fe,rowKey:Ue}=oe;Ie==null||Ie({expanded:$e,rowData:Ve,rowIndex:Fe,rowKey:Ue})};return onMounted(()=>{unref(de)&&pe(!0)}),{isScrolling:ie,measurable:de,measured:le,rowRef:ue,eventHandlers:he,onExpand:_e}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(oe,{expose:ie,slots:le,attrs:ue}){const{eventHandlers:de,isScrolling:pe,measurable:he,measured:_e,rowRef:$e,onExpand:Ie}=useTableRow(oe);return ie({onExpand:Ie}),()=>{const{columns:Ve,columnsStyles:Fe,expandColumnKey:Ue,depth:qe,rowData:Et,rowIndex:At,style:Lt}=oe;let hn=Ve.map((vn,_n)=>{const bn=isArray$c(Et.children)&&Et.children.length>0&&vn.key===Ue;return le.cell({column:vn,columns:Ve,columnIndex:_n,depth:qe,style:Fe[vn.key],rowData:Et,rowIndex:At,isScrolling:unref(pe),expandIconProps:bn?{rowData:Et,rowIndex:At,onExpand:Ie}:void 0})});if(le.row&&(hn=le.row({cells:hn.map(vn=>isArray$c(vn)&&vn.length===1?vn[0]:vn),style:Lt,columns:Ve,depth:qe,rowData:Et,rowIndex:At,isScrolling:unref(pe)})),unref(he)){const{height:vn,..._n}=Lt||{},bn=unref(_e);return createVNode("div",mergeProps({ref:$e,class:oe.class,style:bn?Lt:_n,role:"row"},ue,unref(de)),[hn])}return createVNode("div",mergeProps(ue,{ref:$e,class:oe.class,style:Lt,role:"row"},unref(de)),[hn])}}}),SortIcon=oe=>{const{sortOrder:ie}=oe;return createVNode(ElIcon,{size:14,class:oe.class},{default:()=>[ie===SortOrder.ASC?createVNode(sort_up_default,null,null):createVNode(sort_down_default,null,null)]})},ExpandIcon=oe=>{const{expanded:ie,expandable:le,onExpand:ue,style:de,size:pe}=oe,he={onClick:le?()=>ue(!ie):void 0,class:oe.class};return createVNode(ElIcon,mergeProps(he,{size:pe,style:de}),{default:()=>[createVNode(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=oe=>{const ie=ref(),le=ref(),ue=computed(()=>{const{data:At,rowHeight:Lt,estimatedRowHeight:hn}=oe;if(!hn)return At.length*Lt}),de=computed(()=>{const{fixedData:At,rowHeight:Lt}=oe;return((At==null?void 0:At.length)||0)*Lt}),pe=computed(()=>sum(oe.headerHeight)),he=computed(()=>{const{height:At}=oe;return Math.max(0,At-unref(pe)-unref(de))}),_e=computed(()=>unref(pe)+unref(de)>0),$e=({data:At,rowIndex:Lt})=>At[Lt][oe.rowKey];function Ie({rowCacheStart:At,rowCacheEnd:Lt,rowVisibleStart:hn,rowVisibleEnd:vn}){var _n;(_n=oe.onRowsRendered)==null||_n.call(oe,{rowCacheStart:At,rowCacheEnd:Lt,rowVisibleStart:hn,rowVisibleEnd:vn})}function Ve(At,Lt){var hn;(hn=le.value)==null||hn.resetAfterRowIndex(At,Lt)}function Fe(At,Lt){const hn=unref(ie),vn=unref(le);!hn||!vn||(isObject$9(At)?(hn.scrollToLeft(At.scrollLeft),vn.scrollTo(At)):(hn.scrollToLeft(At),vn.scrollTo({scrollLeft:At,scrollTop:Lt})))}function Ue(At){var Lt;(Lt=unref(le))==null||Lt.scrollTo({scrollTop:At})}function qe(At,Lt){var hn;(hn=unref(le))==null||hn.scrollToItem(At,1,Lt)}function Et(){var At,Lt;(At=unref(le))==null||At.$forceUpdate(),(Lt=unref(ie))==null||Lt.$forceUpdate()}return{bodyRef:le,forceUpdate:Et,fixedRowHeight:de,gridHeight:he,hasHeader:_e,headerHeight:pe,headerRef:ie,totalHeight:ue,itemKey:$e,onItemRendered:Ie,resetAfterRowIndex:Ve,scrollTo:Fe,scrollToTop:Ue,scrollToRow:qe}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(oe,{slots:ie,expose:le}){const{ns:ue}=inject(TableV2InjectionKey),{bodyRef:de,fixedRowHeight:pe,gridHeight:he,hasHeader:_e,headerRef:$e,headerHeight:Ie,totalHeight:Ve,forceUpdate:Fe,itemKey:Ue,onItemRendered:qe,resetAfterRowIndex:Et,scrollTo:At,scrollToTop:Lt,scrollToRow:hn}=useTableGrid(oe);le({forceUpdate:Fe,totalHeight:Ve,scrollTo:At,scrollToTop:Lt,scrollToRow:hn,resetAfterRowIndex:Et});const vn=()=>oe.bodyWidth;return()=>{const{cache:_n,columns:bn,data:Sn,fixedData:Cn,useIsScrolling:En,scrollbarAlwaysOn:wn,scrollbarEndGap:xn,scrollbarStartGap:kn,style:Pn,rowHeight:An,bodyWidth:In,estimatedRowHeight:Nn,headerWidth:Un,height:Vn,width:Mn,getRowHeight:Fn,onScroll:Ln}=oe,jn=isNumber$4(Nn),Zn=jn?DynamicSizeGrid:FixedSizeGrid,Gn=unref(Ie);return createVNode("div",{role:"table",class:[ue.e("table"),oe.class],style:Pn},[createVNode(Zn,{ref:de,data:Sn,useIsScrolling:En,itemKey:Ue,columnCache:0,columnWidth:jn?vn:In,totalColumn:1,totalRow:Sn.length,rowCache:_n,rowHeight:jn?Fn:An,width:Mn,height:unref(he),class:ue.e("body"),role:"rowgroup",scrollbarStartGap:kn,scrollbarEndGap:xn,scrollbarAlwaysOn:wn,onScroll:Ln,onItemRendered:qe,perfMode:!1},{default:Jn=>{var lr;const yr=Sn[Jn.rowIndex];return(lr=ie.row)==null?void 0:lr.call(ie,{...Jn,columns:bn,rowData:yr})}}),unref(_e)&&createVNode(TableV2Header,{ref:$e,class:ue.e("header-wrapper"),columns:bn,headerData:Sn,headerHeight:oe.headerHeight,fixedHeaderData:Cn,rowWidth:Un,rowHeight:An,width:Mn,height:Math.min(Gn+unref(pe),Vn)},{dynamic:ie.header,fixed:ie.row})])}}});function _isSlot$5(oe){return typeof oe=="function"||Object.prototype.toString.call(oe)==="[object Object]"&&!isVNode$1(oe)}const MainTable=(oe,{slots:ie})=>{const{mainTableRef:le,...ue}=oe;return createVNode(TableGrid,mergeProps({ref:le},ue),_isSlot$5(ie)?ie:{default:()=>[ie]})};function _isSlot$4(oe){return typeof oe=="function"||Object.prototype.toString.call(oe)==="[object Object]"&&!isVNode$1(oe)}const LeftTable$1=(oe,{slots:ie})=>{if(!oe.columns.length)return;const{leftTableRef:le,...ue}=oe;return createVNode(TableGrid,mergeProps({ref:le},ue),_isSlot$4(ie)?ie:{default:()=>[ie]})};function _isSlot$3(oe){return typeof oe=="function"||Object.prototype.toString.call(oe)==="[object Object]"&&!isVNode$1(oe)}const LeftTable=(oe,{slots:ie})=>{if(!oe.columns.length)return;const{rightTableRef:le,...ue}=oe;return createVNode(TableGrid,mergeProps({ref:le},ue),_isSlot$3(ie)?ie:{default:()=>[ie]})};function _isSlot$2(oe){return typeof oe=="function"||Object.prototype.toString.call(oe)==="[object Object]"&&!isVNode$1(oe)}const RowRenderer=(oe,{slots:ie})=>{const{columns:le,columnsStyles:ue,depthMap:de,expandColumnKey:pe,expandedRowKeys:he,estimatedRowHeight:_e,hasFixedColumns:$e,hoveringRowKey:Ie,rowData:Ve,rowIndex:Fe,style:Ue,isScrolling:qe,rowProps:Et,rowClass:At,rowKey:Lt,rowEventHandlers:hn,ns:vn,onRowHovered:_n,onRowExpanded:bn}=oe,Sn=tryCall(At,{columns:le,rowData:Ve,rowIndex:Fe},""),Cn=tryCall(Et,{columns:le,rowData:Ve,rowIndex:Fe}),En=Ve[Lt],wn=de[En]||0,xn=!!pe,kn=Fe<0,Pn=[vn.e("row"),Sn,{[vn.e(`row-depth-${wn}`)]:xn&&Fe>=0,[vn.is("expanded")]:xn&&he.includes(En),[vn.is("hovered")]:!qe&&En===Ie,[vn.is("fixed")]:!wn&&kn,[vn.is("customized")]:!!ie.row}],An=$e?_n:void 0,In={...Cn,columns:le,columnsStyles:ue,class:Pn,depth:wn,expandColumnKey:pe,estimatedRowHeight:kn?void 0:_e,isScrolling:qe,rowIndex:Fe,rowData:Ve,rowKey:En,rowEventHandlers:hn,style:Ue};return createVNode(TableV2Row,mergeProps(In,{onRowHover:An,onRowExpand:bn}),_isSlot$2(ie)?ie:{default:()=>[ie]})},CellRenderer=({columns:oe,column:ie,columnIndex:le,depth:ue,expandIconProps:de,isScrolling:pe,rowData:he,rowIndex:_e,style:$e,expandedRowKeys:Ie,ns:Ve,cellProps:Fe,expandColumnKey:Ue,indentSize:qe,iconSize:Et,rowKey:At},{slots:Lt})=>{const hn=enforceUnit($e);if(ie.placeholderSign===placeholderSign)return createVNode("div",{class:Ve.em("row-cell","placeholder"),style:hn},null);const{cellRenderer:vn,dataKey:_n,dataGetter:bn}=ie,Cn=componentToSlot(vn)||Lt.default||(Vn=>createVNode(TableV2Cell,Vn,null)),En=isFunction$5(bn)?bn({columns:oe,column:ie,columnIndex:le,rowData:he,rowIndex:_e}):get$1(he,_n??""),wn=tryCall(Fe,{cellData:En,columns:oe,column:ie,columnIndex:le,rowIndex:_e,rowData:he}),xn={class:Ve.e("cell-text"),columns:oe,column:ie,columnIndex:le,cellData:En,isScrolling:pe,rowData:he,rowIndex:_e},kn=Cn(xn),Pn=[Ve.e("row-cell"),ie.class,ie.align===Alignment.CENTER&&Ve.is("align-center"),ie.align===Alignment.RIGHT&&Ve.is("align-right")],An=_e>=0&&Ue&&ie.key===Ue,In=_e>=0&&Ie.includes(he[At]);let Nn;const Un=`margin-inline-start: ${ue*qe}px;`;return An&&(isObject$9(de)?Nn=createVNode(ExpandIcon,mergeProps(de,{class:[Ve.e("expand-icon"),Ve.is("expanded",In)],size:Et,expanded:In,style:Un,expandable:!0}),null):Nn=createVNode("div",{style:[Un,`width: ${Et}px; height: ${Et}px;`].join(" ")},null)),createVNode("div",mergeProps({class:Pn,style:hn},wn,{role:"cell"}),[Nn,kn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(oe){return typeof oe=="function"||Object.prototype.toString.call(oe)==="[object Object]"&&!isVNode$1(oe)}const HeaderRenderer=({columns:oe,columnsStyles:ie,headerIndex:le,style:ue,headerClass:de,headerProps:pe,ns:he},{slots:_e})=>{const $e={columns:oe,headerIndex:le},Ie=[he.e("header-row"),tryCall(de,$e,""),{[he.is("customized")]:!!_e.header}],Ve={...tryCall(pe,$e),columnsStyles:ie,class:Ie,columns:oe,headerIndex:le,style:ue};return createVNode(TableV2HeaderRow,Ve,_isSlot$1(_e)?_e:{default:()=>[_e]})},HeaderCellRenderer=(oe,{slots:ie})=>{const{column:le,ns:ue,style:de,onColumnSorted:pe}=oe,he=enforceUnit(de);if(le.placeholderSign===placeholderSign)return createVNode("div",{class:ue.em("header-row-cell","placeholder"),style:he},null);const{headerCellRenderer:_e,headerClass:$e,sortable:Ie}=le,Ve={...oe,class:ue.e("header-cell-text")},Ue=(componentToSlot(_e)||ie.default||(bn=>createVNode(HeaderCell,bn,null)))(Ve),{sortBy:qe,sortState:Et,headerCellProps:At}=oe;let Lt,hn;if(Et){const bn=Et[le.key];Lt=!!oppositeOrderMap[bn],hn=Lt?bn:SortOrder.ASC}else Lt=le.key===qe.key,hn=Lt?qe.order:SortOrder.ASC;const vn=[ue.e("header-cell"),tryCall($e,oe,""),le.align===Alignment.CENTER&&ue.is("align-center"),le.align===Alignment.RIGHT&&ue.is("align-right"),Ie&&ue.is("sortable")],_n={...tryCall(At,oe),onClick:le.sortable?pe:void 0,class:vn,style:he,["data-key"]:le.key};return createVNode("div",mergeProps(_n,{role:"columnheader"}),[Ue,Ie&&createVNode(SortIcon,{class:[ue.e("sort-icon"),Lt&&ue.is("sorting")],sortOrder:hn},null)])},Footer$1=(oe,{slots:ie})=>{var le;return createVNode("div",{class:oe.class,style:oe.style},[(le=ie.default)==null?void 0:le.call(ie)])};Footer$1.displayName="ElTableV2Footer";const Footer=(oe,{slots:ie})=>createVNode("div",{class:oe.class,style:oe.style},[ie.default?ie.default():createVNode(ElEmpty,null,null)]);Footer.displayName="ElTableV2Empty";const Overlay=(oe,{slots:ie})=>{var le;return createVNode("div",{class:oe.class,style:oe.style},[(le=ie.default)==null?void 0:le.call(ie)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(oe){return typeof oe=="function"||Object.prototype.toString.call(oe)==="[object Object]"&&!isVNode$1(oe)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(oe,{slots:ie,expose:le}){const ue=useNamespace("table-v2"),{columnsStyles:de,fixedColumnsOnLeft:pe,fixedColumnsOnRight:he,mainColumns:_e,mainTableHeight:$e,fixedTableHeight:Ie,leftTableWidth:Ve,rightTableWidth:Fe,data:Ue,depthMap:qe,expandedRowKeys:Et,hasFixedColumns:At,hoveringRowKey:Lt,mainTableRef:hn,leftTableRef:vn,rightTableRef:_n,isDynamic:bn,isResetting:Sn,isScrolling:Cn,bodyWidth:En,emptyStyle:wn,rootStyle:xn,headerWidth:kn,footerHeight:Pn,showEmpty:An,scrollTo:In,scrollToLeft:Nn,scrollToTop:Un,scrollToRow:Vn,getRowHeight:Mn,onColumnSorted:Fn,onRowHeightChange:Ln,onRowHovered:jn,onRowExpanded:Zn,onRowsRendered:Gn,onScroll:Jn,onVerticalScroll:lr}=useTable(oe);return le({scrollTo:In,scrollToLeft:Nn,scrollToTop:Un,scrollToRow:Vn}),provide(TableV2InjectionKey,{ns:ue,isResetting:Sn,hoveringRowKey:Lt,isScrolling:Cn}),()=>{const{cache:yr,cellProps:ir,estimatedRowHeight:qn,expandColumnKey:Yn,fixedData:Xn,headerHeight:or,headerClass:_r,headerProps:Kn,headerCellProps:er,sortBy:ar,sortState:gr,rowHeight:Er,rowClass:cr,rowEventHandlers:Ar,rowKey:br,rowProps:kr,scrollbarAlwaysOn:mr,indentSize:ur,iconSize:fr,useIsScrolling:pr,vScrollbarSize:Or,width:Lr}=oe,Vr=unref(Ue),Dr={cache:yr,class:ue.e("main"),columns:unref(_e),data:Vr,fixedData:Xn,estimatedRowHeight:qn,bodyWidth:unref(En),headerHeight:or,headerWidth:unref(kn),height:unref($e),mainTableRef:hn,rowKey:br,rowHeight:Er,scrollbarAlwaysOn:mr,scrollbarStartGap:2,scrollbarEndGap:Or,useIsScrolling:pr,width:Lr,getRowHeight:Mn,onRowsRendered:Gn,onScroll:Jn},$r=unref(Ve),xr=unref(Ie),dr={cache:yr,class:ue.e("left"),columns:unref(pe),data:Vr,estimatedRowHeight:qn,leftTableRef:vn,rowHeight:Er,bodyWidth:$r,headerWidth:$r,headerHeight:or,height:xr,rowKey:br,scrollbarAlwaysOn:mr,scrollbarStartGap:2,scrollbarEndGap:Or,useIsScrolling:pr,width:$r,getRowHeight:Mn,onScroll:lr},sr=unref(Fe)+Or,wr={cache:yr,class:ue.e("right"),columns:unref(he),data:Vr,estimatedRowHeight:qn,rightTableRef:_n,rowHeight:Er,bodyWidth:sr,headerWidth:sr,headerHeight:or,height:xr,rowKey:br,scrollbarAlwaysOn:mr,scrollbarStartGap:2,scrollbarEndGap:Or,width:sr,style:`--${unref(ue.namespace)}-table-scrollbar-size: ${Or}px`,useIsScrolling:pr,getRowHeight:Mn,onScroll:lr},Ir=unref(de),zr={ns:ue,depthMap:unref(qe),columnsStyles:Ir,expandColumnKey:Yn,expandedRowKeys:unref(Et),estimatedRowHeight:qn,hasFixedColumns:unref(At),hoveringRowKey:unref(Lt),rowProps:kr,rowClass:cr,rowKey:br,rowEventHandlers:Ar,onRowHovered:jn,onRowExpanded:Zn,onRowHeightChange:Ln},Cr={cellProps:ir,expandColumnKey:Yn,indentSize:ur,iconSize:fr,rowKey:br,expandedRowKeys:unref(Et),ns:ue},Nr={ns:ue,headerClass:_r,headerProps:Kn,columnsStyles:Ir},Fr={ns:ue,sortBy:ar,sortState:gr,headerCellProps:er,onColumnSorted:Fn},jr={row:Jr=>createVNode(RowRenderer,mergeProps(Jr,zr),{row:ie.row,cell:Pr=>{let Rr;return ie.cell?createVNode(CellRenderer,mergeProps(Pr,Cr,{style:Ir[Pr.column.key]}),_isSlot(Rr=ie.cell(Pr))?Rr:{default:()=>[Rr]}):createVNode(CellRenderer,mergeProps(Pr,Cr,{style:Ir[Pr.column.key]}),null)}}),header:Jr=>createVNode(HeaderRenderer,mergeProps(Jr,Nr),{header:ie.header,cell:Pr=>{let Rr;return ie["header-cell"]?createVNode(HeaderCellRenderer,mergeProps(Pr,Fr,{style:Ir[Pr.column.key]}),_isSlot(Rr=ie["header-cell"](Pr))?Rr:{default:()=>[Rr]}):createVNode(HeaderCellRenderer,mergeProps(Pr,Fr,{style:Ir[Pr.column.key]}),null)}})},Wr=[oe.class,ue.b(),ue.e("root"),{[ue.is("dynamic")]:unref(bn)}],qr={class:ue.e("footer"),style:unref(Pn)};return createVNode("div",{class:Wr,style:unref(xn)},[createVNode(MainTable,Dr,_isSlot(jr)?jr:{default:()=>[jr]}),createVNode(LeftTable$1,dr,_isSlot(jr)?jr:{default:()=>[jr]}),createVNode(LeftTable,wr,_isSlot(jr)?jr:{default:()=>[jr]}),ie.footer&&createVNode(Footer$1,qr,{default:ie.footer}),unref(An)&&createVNode(Footer,{class:ue.e("empty"),style:unref(wn)},{default:ie.empty}),ie.overlay&&createVNode(Overlay,{class:ue.e("overlay")},{default:ie.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(oe,{slots:ie}){const le=useNamespace("auto-resizer"),{height:ue,width:de,sizer:pe}=useAutoResize(oe),he={width:"100%",height:"100%"};return()=>{var _e;return createVNode("div",{ref:pe,class:le.b(),style:he},[(_e=ie.default)==null?void 0:_e.call(ie,{height:ue.value,width:de.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$k=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$r=defineComponent({...__default__$k,props:tabBarProps,setup(oe,{expose:ie}){const le=oe,ue=getCurrentInstance(),de=inject(tabsRootContextKey);de||throwError$1(COMPONENT_NAME$3,"<el-tabs><el-tab-bar /></el-tabs>");const pe=useNamespace("tabs"),he=ref(),_e=ref(),$e=()=>{let Ve=0,Fe=0;const Ue=["top","bottom"].includes(de.props.tabPosition)?"width":"height",qe=Ue==="width"?"x":"y",Et=qe==="x"?"left":"top";return le.tabs.every(At=>{var Lt,hn;const vn=(hn=(Lt=ue.parent)==null?void 0:Lt.refs)==null?void 0:hn[`tab-${At.uid}`];if(!vn)return!1;if(!At.active)return!0;Ve=vn[`offset${capitalize$1(Et)}`],Fe=vn[`client${capitalize$1(Ue)}`];const _n=window.getComputedStyle(vn);return Ue==="width"&&(le.tabs.length>1&&(Fe-=Number.parseFloat(_n.paddingLeft)+Number.parseFloat(_n.paddingRight)),Ve+=Number.parseFloat(_n.paddingLeft)),!1}),{[Ue]:`${Fe}px`,transform:`translate${capitalize$1(qe)}(${Ve}px)`}},Ie=()=>_e.value=$e();return watch(()=>le.tabs,async()=>{await nextTick(),Ie()},{immediate:!0}),useResizeObserver$1(he,()=>Ie()),ie({ref:he,update:Ie}),(Ve,Fe)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:he,class:normalizeClass([unref(pe).e("active-bar"),unref(pe).is(unref(de).props.tabPosition)]),style:normalizeStyle$1(_e.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(oe,ie,le)=>le instanceof Event,tabRemove:(oe,ie)=>ie instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(oe,{expose:ie,emit:le}){const ue=getCurrentInstance(),de=inject(tabsRootContextKey);de||throwError$1(COMPONENT_NAME$2,"<el-tabs><tab-nav /></el-tabs>");const pe=useNamespace("tabs"),he=useDocumentVisibility(),_e=useWindowFocus(),$e=ref(),Ie=ref(),Ve=ref(),Fe=ref(),Ue=ref(!1),qe=ref(0),Et=ref(!1),At=ref(!0),Lt=computed(()=>["top","bottom"].includes(de.props.tabPosition)?"width":"height"),hn=computed(()=>({transform:`translate${Lt.value==="width"?"X":"Y"}(-${qe.value}px)`})),vn=()=>{if(!$e.value)return;const xn=$e.value[`offset${capitalize$1(Lt.value)}`],kn=qe.value;if(!kn)return;const Pn=kn>xn?kn-xn:0;qe.value=Pn},_n=()=>{if(!$e.value||!Ie.value)return;const xn=Ie.value[`offset${capitalize$1(Lt.value)}`],kn=$e.value[`offset${capitalize$1(Lt.value)}`],Pn=qe.value;if(xn-Pn<=kn)return;const An=xn-Pn>kn*2?Pn+kn:xn-kn;qe.value=An},bn=async()=>{const xn=Ie.value;if(!Ue.value||!Ve.value||!$e.value||!xn)return;await nextTick();const kn=Ve.value.querySelector(".is-active");if(!kn)return;const Pn=$e.value,An=["top","bottom"].includes(de.props.tabPosition),In=kn.getBoundingClientRect(),Nn=Pn.getBoundingClientRect(),Un=An?xn.offsetWidth-Nn.width:xn.offsetHeight-Nn.height,Vn=qe.value;let Mn=Vn;An?(In.left<Nn.left&&(Mn=Vn-(Nn.left-In.left)),In.right>Nn.right&&(Mn=Vn+In.right-Nn.right)):(In.top<Nn.top&&(Mn=Vn-(Nn.top-In.top)),In.bottom>Nn.bottom&&(Mn=Vn+(In.bottom-Nn.bottom))),Mn=Math.max(Mn,0),qe.value=Math.min(Mn,Un)},Sn=()=>{var xn;if(!Ie.value||!$e.value)return;oe.stretch&&((xn=Fe.value)==null||xn.update());const kn=Ie.value[`offset${capitalize$1(Lt.value)}`],Pn=$e.value[`offset${capitalize$1(Lt.value)}`],An=qe.value;Pn<kn?(Ue.value=Ue.value||{},Ue.value.prev=An,Ue.value.next=An+Pn<kn,kn-An<Pn&&(qe.value=kn-Pn)):(Ue.value=!1,An>0&&(qe.value=0))},Cn=xn=>{const kn=xn.code,{up:Pn,down:An,left:In,right:Nn}=EVENT_CODE;if(![Pn,An,In,Nn].includes(kn))return;const Un=Array.from(xn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Vn=Un.indexOf(xn.target);let Mn;kn===In||kn===Pn?Vn===0?Mn=Un.length-1:Mn=Vn-1:Vn<Un.length-1?Mn=Vn+1:Mn=0,Un[Mn].focus({preventScroll:!0}),Un[Mn].click(),En()},En=()=>{At.value&&(Et.value=!0)},wn=()=>Et.value=!1;return watch(he,xn=>{xn==="hidden"?At.value=!1:xn==="visible"&&setTimeout(()=>At.value=!0,50)}),watch(_e,xn=>{xn?setTimeout(()=>At.value=!0,50):At.value=!1}),useResizeObserver$1(Ve,Sn),onMounted(()=>setTimeout(()=>bn(),0)),onUpdated(()=>Sn()),ie({scrollToActiveTab:bn,removeFocus:wn}),watch(()=>oe.panes,()=>ue.update(),{flush:"post",deep:!0}),()=>{const xn=Ue.value?[createVNode("span",{class:[pe.e("nav-prev"),pe.is("disabled",!Ue.value.prev)],onClick:vn},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[pe.e("nav-next"),pe.is("disabled",!Ue.value.next)],onClick:_n},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,kn=oe.panes.map((Pn,An)=>{var In,Nn,Un,Vn;const Mn=Pn.uid,Fn=Pn.props.disabled,Ln=(Nn=(In=Pn.props.name)!=null?In:Pn.index)!=null?Nn:`${An}`,jn=!Fn&&(Pn.isClosable||oe.editable);Pn.index=`${An}`;const Zn=jn?createVNode(ElIcon,{class:"is-icon-close",onClick:lr=>le("tabRemove",Pn,lr)},{default:()=>[createVNode(close_default,null,null)]}):null,Gn=((Vn=(Un=Pn.slots).label)==null?void 0:Vn.call(Un))||Pn.props.label,Jn=!Fn&&Pn.active?0:-1;return createVNode("div",{ref:`tab-${Mn}`,class:[pe.e("item"),pe.is(de.props.tabPosition),pe.is("active",Pn.active),pe.is("disabled",Fn),pe.is("closable",jn),pe.is("focus",Et.value)],id:`tab-${Ln}`,key:`tab-${Mn}`,"aria-controls":`pane-${Ln}`,role:"tab","aria-selected":Pn.active,tabindex:Jn,onFocus:()=>En(),onBlur:()=>wn(),onClick:lr=>{wn(),le("tabClick",Pn,Ln,lr)},onKeydown:lr=>{jn&&(lr.code===EVENT_CODE.delete||lr.code===EVENT_CODE.backspace)&&le("tabRemove",Pn,lr)}},[Gn,Zn])});return createVNode("div",{ref:Ve,class:[pe.e("nav-wrap"),pe.is("scrollable",!!Ue.value),pe.is(de.props.tabPosition)]},[xn,createVNode("div",{class:pe.e("nav-scroll"),ref:$e},[createVNode("div",{class:[pe.e("nav"),pe.is(de.props.tabPosition),pe.is("stretch",oe.stretch&&["top","bottom"].includes(de.props.tabPosition))],ref:Ie,style:hn.value,role:"tablist",onKeydown:Cn},[oe.type?null:createVNode(TabBar,{ref:Fe,tabs:[...oe.panes]},null),kn])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=oe=>isString$6(oe)||isNumber$4(oe),tabsEmits={[UPDATE_MODEL_EVENT]:oe=>isPaneName(oe),tabClick:(oe,ie)=>ie instanceof Event,tabChange:oe=>isPaneName(oe),edit:(oe,ie)=>["remove","add"].includes(ie),tabRemove:oe=>isPaneName(oe),tabAdd:()=>!0};var Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(oe,{emit:ie,slots:le,expose:ue}){var de,pe;const he=useNamespace("tabs"),{children:_e,addChild:$e,removeChild:Ie}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),Ve=ref(),Fe=ref((pe=(de=oe.modelValue)!=null?de:oe.activeName)!=null?pe:"0"),Ue=hn=>{Fe.value=hn,ie(UPDATE_MODEL_EVENT,hn),ie("tabChange",hn)},qe=async hn=>{var vn,_n,bn;if(!(Fe.value===hn||isUndefined$1(hn)))try{await((vn=oe.beforeLeave)==null?void 0:vn.call(oe,hn,Fe.value))!==!1&&(Ue(hn),(bn=(_n=Ve.value)==null?void 0:_n.removeFocus)==null||bn.call(_n))}catch{}},Et=(hn,vn,_n)=>{hn.props.disabled||(qe(vn),ie("tabClick",hn,_n))},At=(hn,vn)=>{hn.props.disabled||isUndefined$1(hn.props.name)||(vn.stopPropagation(),ie("edit",hn.props.name,"remove"),ie("tabRemove",hn.props.name))},Lt=()=>{ie("edit",void 0,"add"),ie("tabAdd")};return useDeprecated({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},computed(()=>!!oe.activeName)),watch(()=>oe.activeName,hn=>qe(hn)),watch(()=>oe.modelValue,hn=>qe(hn)),watch(Fe,async()=>{var hn;await nextTick(),(hn=Ve.value)==null||hn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:oe,currentName:Fe,registerPane:$e,unregisterPane:Ie}),ue({currentName:Fe}),()=>{const hn=oe.editable||oe.addable?createVNode("span",{class:he.e("new-tab"),tabindex:"0",onClick:Lt,onKeydown:bn=>{bn.code===EVENT_CODE.enter&&Lt()}},[createVNode(ElIcon,{class:he.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,vn=createVNode("div",{class:[he.e("header"),he.is(oe.tabPosition)]},[hn,createVNode(TabNav,{ref:Ve,currentName:Fe.value,editable:oe.editable,type:oe.type,panes:_e.value,stretch:oe.stretch,onTabClick:Et,onTabRemove:At},null)]),_n=createVNode("div",{class:he.e("content")},[renderSlot(le,"default")]);return createVNode("div",{class:[he.b(),he.m(oe.tabPosition),{[he.m("card")]:oe.type==="card",[he.m("border-card")]:oe.type==="border-card"}]},[...oe.tabPosition!=="bottom"?[vn,_n]:[_n,vn]])}}});const tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$c=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$j=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$q=defineComponent({...__default__$j,props:tabPaneProps,setup(oe){const ie=oe,le=getCurrentInstance(),ue=useSlots(),de=inject(tabsRootContextKey);de||throwError$1(COMPONENT_NAME$1,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const pe=useNamespace("tab-pane"),he=ref(),_e=computed(()=>ie.closable||de.props.closable),$e=computedEager(()=>{var qe;return de.currentName.value===((qe=ie.name)!=null?qe:he.value)}),Ie=ref($e.value),Ve=computed(()=>{var qe;return(qe=ie.name)!=null?qe:he.value}),Fe=computedEager(()=>!ie.lazy||Ie.value||$e.value);watch($e,qe=>{qe&&(Ie.value=!0)});const Ue=reactive({uid:le.uid,slots:ue,props:ie,paneName:Ve,active:$e,index:he,isClosable:_e});return onMounted(()=>{de.registerPane(Ue)}),onUnmounted(()=>{de.unregisterPane(Ue.uid)}),(qe,Et)=>unref(Fe)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(Ve)}`,class:normalizeClass(unref(pe).b()),role:"tabpanel","aria-hidden":!unref($e),"aria-labelledby":`tab-${unref(Ve)}`},[renderSlot(qe.$slots,"default")],10,_hoisted_1$c)),[[vShow,unref($e)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},tag:{type:String,default:"span"}}),__default__$i=defineComponent({name:"ElText"}),_sfc_main$p=defineComponent({...__default__$i,props:textProps,setup(oe){const ie=oe,le=useFormSize(),ue=useNamespace("text"),de=computed(()=>[ue.b(),ue.m(ie.type),ue.m(le.value),ue.is("truncated",ie.truncated)]);return(pe,he)=>(openBlock(),createBlock(resolveDynamicComponent(pe.tag),{class:normalizeClass(unref(de))},{default:withCtx(()=>[renderSlot(pe.$slots,"default")]),_:3},8,["class"]))}});var Text=_export_sfc$1(_sfc_main$p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const ElText=withInstall(Text),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default}}),parseTime=oe=>{const ie=(oe||"").split(":");if(ie.length>=2){let le=Number.parseInt(ie[0],10);const ue=Number.parseInt(ie[1],10),de=oe.toUpperCase();return de.includes("AM")&&le===12?le=0:de.includes("PM")&&le!==12&&(le+=12),{hours:le,minutes:ue}}return null},compareTime=(oe,ie)=>{const le=parseTime(oe);if(!le)return-1;const ue=parseTime(ie);if(!ue)return-1;const de=le.minutes+le.hours*60,pe=ue.minutes+ue.hours*60;return de===pe?0:de>pe?1:-1},padTime=oe=>`${oe}`.padStart(2,"0"),formatTime$1=oe=>`${padTime(oe.hours)}:${padTime(oe.minutes)}`,nextTime=(oe,ie)=>{const le=parseTime(oe);if(!le)return"";const ue=parseTime(ie);if(!ue)return"";const de={hours:le.hours,minutes:le.minutes};return de.minutes+=ue.minutes,de.hours+=ue.hours,de.hours+=Math.floor(de.minutes/60),de.minutes=de.minutes%60,formatTime$1(de)},__default__$h=defineComponent({name:"ElTimeSelect"}),_sfc_main$o=defineComponent({...__default__$h,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(oe,{expose:ie}){const le=oe;dayjs.extend(customParseFormat);const{Option:ue}=ElSelect,de=useNamespace("input"),pe=ref(),he=useFormDisabled(),_e=computed(()=>le.modelValue),$e=computed(()=>{const Lt=parseTime(le.start);return Lt?formatTime$1(Lt):null}),Ie=computed(()=>{const Lt=parseTime(le.end);return Lt?formatTime$1(Lt):null}),Ve=computed(()=>{const Lt=parseTime(le.step);return Lt?formatTime$1(Lt):null}),Fe=computed(()=>{const Lt=parseTime(le.minTime||"");return Lt?formatTime$1(Lt):null}),Ue=computed(()=>{const Lt=parseTime(le.maxTime||"");return Lt?formatTime$1(Lt):null}),qe=computed(()=>{const Lt=[];if(le.start&&le.end&&le.step){let hn=$e.value,vn;for(;hn&&Ie.value&&compareTime(hn,Ie.value)<=0;)vn=dayjs(hn,"HH:mm").format(le.format),Lt.push({value:vn,disabled:compareTime(hn,Fe.value||"-1:-1")<=0||compareTime(hn,Ue.value||"100:100")>=0}),hn=nextTime(hn,Ve.value)}return Lt});return ie({blur:()=>{var Lt,hn;(hn=(Lt=pe.value)==null?void 0:Lt.blur)==null||hn.call(Lt)},focus:()=>{var Lt,hn;(hn=(Lt=pe.value)==null?void 0:Lt.focus)==null||hn.call(Lt)}}),(Lt,hn)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:pe,"model-value":unref(_e),disabled:unref(he),clearable:Lt.clearable,"clear-icon":Lt.clearIcon,size:Lt.size,effect:Lt.effect,placeholder:Lt.placeholder,"default-first-option":"",filterable:Lt.editable,"onUpdate:modelValue":hn[0]||(hn[0]=vn=>Lt.$emit("update:modelValue",vn)),onChange:hn[1]||(hn[1]=vn=>Lt.$emit("change",vn)),onBlur:hn[2]||(hn[2]=vn=>Lt.$emit("blur",vn)),onFocus:hn[3]||(hn[3]=vn=>Lt.$emit("focus",vn))},{prefix:withCtx(()=>[Lt.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Lt.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),vn=>(openBlock(),createBlock(unref(ue),{key:vn.value,label:vn.value,value:vn.value,disabled:vn.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"]))}});var TimeSelect=_export_sfc$1(_sfc_main$o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);TimeSelect.install=oe=>{oe.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(oe,{slots:ie}){const le=useNamespace("timeline");return provide("timeline",ie),()=>h$3("ul",{class:[le.b()]},[renderSlot(ie,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},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:iconPropType},hollow:{type:Boolean,default:!1}}),__default__$g=defineComponent({name:"ElTimelineItem"}),_sfc_main$n=defineComponent({...__default__$g,props:timelineItemProps,setup(oe){const ie=oe,le=useNamespace("timeline-item"),ue=computed(()=>[le.e("node"),le.em("node",ie.size||""),le.em("node",ie.type||""),le.is("hollow",ie.hollow)]);return(de,pe)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(le).b(),{[unref(le).e("center")]:de.center}])},[createBaseVNode("div",{class:normalizeClass(unref(le).e("tail"))},null,2),de.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue)),style:normalizeStyle$1({backgroundColor:de.color})},[de.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(le).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),de.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(le).e("dot"))},[renderSlot(de.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("wrapper"))},[!de.hideTimestamp&&de.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(le).e("timestamp"),unref(le).is("top")])},toDisplayString$1(de.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("content"))},[renderSlot(de.$slots,"default")],2),!de.hideTimestamp&&de.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(le).e("timestamp"),unref(le).is("bottom")])},toDisplayString$1(de.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(oe=>(oe.top="top",oe.bottom="bottom",oe.left="left",oe.right="right",oe))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({ariaLabel:String,arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:{type:Boolean,default:!1}}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$f=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$m=defineComponent({...__default__$f,props:tooltipV2RootProps,setup(oe,{expose:ie}){const le=oe,ue=ref(le.defaultOpen),de=ref(null),pe=computed({get:()=>isPropAbsent(le.open)?ue.value:le.open,set:Lt=>{var hn;ue.value=Lt,(hn=le["onUpdate:open"])==null||hn.call(le,Lt)}}),he=computed(()=>isNumber$4(le.delayDuration)&&le.delayDuration>0),{start:_e,stop:$e}=useTimeoutFn$1(()=>{pe.value=!0},computed(()=>le.delayDuration),{immediate:!1}),Ie=useNamespace("tooltip-v2"),Ve=useId(),Fe=()=>{$e(),pe.value=!0},Ue=()=>{unref(he)?_e():Fe()},qe=Fe,Et=()=>{$e(),pe.value=!1};return watch(pe,Lt=>{var hn;Lt&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),qe()),(hn=le.onOpenChange)==null||hn.call(le,Lt)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,Et)}),onBeforeUnmount(()=>{$e(),document.removeEventListener(TOOLTIP_V2_OPEN,Et)}),provide(tooltipV2RootKey,{contentId:Ve,triggerRef:de,ns:Ie,onClose:Et,onDelayOpen:Ue,onOpen:qe}),ie({onOpen:qe,onClose:Et}),(Lt,hn)=>renderSlot(Lt.$slots,"default",{open:unref(pe)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const __default__$e=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$l=defineComponent({...__default__$e,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(oe){const ie=oe,{ns:le}=inject(tooltipV2RootKey),{arrowRef:ue}=inject(tooltipV2ContentKey),de=computed(()=>{const{style:pe,width:he,height:_e}=ie,$e=le.namespace.value;return{[`--${$e}-tooltip-v2-arrow-width`]:`${he}px`,[`--${$e}-tooltip-v2-arrow-height`]:`${_e}px`,[`--${$e}-tooltip-v2-arrow-border-width`]:`${he/2}px`,[`--${$e}-tooltip-v2-arrow-cover-width`]:he/2-1,...pe||{}}});return(pe,he)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:ue,style:normalizeStyle$1(unref(de)),class:normalizeClass(unref(le).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$d=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$k=defineComponent({...__default__$d,props:visualHiddenProps,setup(oe){const ie=oe,le=computed(()=>[ie.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(ue,de)=>(openBlock(),createElementBlock("span",mergeProps(ue.$attrs,{style:unref(le)}),[renderSlot(ue.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _hoisted_1$b=["data-side"],__default__$c=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$j=defineComponent({...__default__$c,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(oe){const ie=oe,{triggerRef:le,contentId:ue}=inject(tooltipV2RootKey),de=ref(ie.placement),pe=ref(ie.strategy),he=ref(null),{referenceRef:_e,contentRef:$e,middlewareData:Ie,x:Ve,y:Fe,update:Ue}=useFloating({placement:de,strategy:pe,middleware:computed(()=>{const _n=[L$3(ie.offset)];return ie.showArrow&&_n.push(arrowMiddleware({arrowRef:he})),_n})}),qe=useZIndex().nextZIndex(),Et=useNamespace("tooltip-v2"),At=computed(()=>de.value.split("-")[0]),Lt=computed(()=>({position:unref(pe),top:`${unref(Fe)||0}px`,left:`${unref(Ve)||0}px`,zIndex:qe})),hn=computed(()=>{if(!ie.showArrow)return{};const{arrow:_n}=unref(Ie);return{[`--${Et.namespace.value}-tooltip-v2-arrow-x`]:`${_n==null?void 0:_n.x}px`||"",[`--${Et.namespace.value}-tooltip-v2-arrow-y`]:`${_n==null?void 0:_n.y}px`||""}}),vn=computed(()=>[Et.e("content"),Et.is("dark",ie.effect==="dark"),Et.is(unref(pe)),ie.contentClass]);return watch(he,()=>Ue()),watch(()=>ie.placement,_n=>de.value=_n),onMounted(()=>{watch(()=>ie.reference||le.value,_n=>{_e.value=_n||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:he}),(_n,bn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:$e,style:normalizeStyle$1(unref(Lt)),"data-tooltip-v2-root":""},[_n.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(At),class:normalizeClass(unref(vn))},[renderSlot(_n.$slots,"default",{contentStyle:unref(Lt),contentClass:unref(vn)}),createVNode(unref(ElVisuallyHidden),{id:unref(ue),role:"tooltip"},{default:withCtx(()=>[_n.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(_n.ariaLabel),1)],64)):renderSlot(_n.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(_n.$slots,"arrow",{style:normalizeStyle$1(unref(hn)),side:unref(At)})],10,_hoisted_1$b))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(oe,{slots:ie}){const le=ref(),ue=composeRefs(le,de=>{de?oe.setRef(de.nextElementSibling):oe.setRef(null)});return()=>{var de;const[pe]=((de=ie.default)==null?void 0:de.call(ie))||[],he=oe.onlyChild?ensureOnlyChild(pe.children):pe.children;return createVNode(Fragment,{ref:ue},[he])}}});const __default__$b=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$i=defineComponent({...__default__$b,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(oe){const ie=oe,{onClose:le,onOpen:ue,onDelayOpen:de,triggerRef:pe,contentId:he}=inject(tooltipV2RootKey);let _e=!1;const $e=vn=>{pe.value=vn},Ie=()=>{_e=!1},Ve=composeEventHandlers(ie.onMouseEnter,de),Fe=composeEventHandlers(ie.onMouseLeave,le),Ue=composeEventHandlers(ie.onMouseDown,()=>{le(),_e=!0,document.addEventListener("mouseup",Ie,{once:!0})}),qe=composeEventHandlers(ie.onFocus,()=>{_e||ue()}),Et=composeEventHandlers(ie.onBlur,le),At=composeEventHandlers(ie.onClick,vn=>{vn.detail===0&&le()}),Lt={blur:Et,click:At,focus:qe,mousedown:Ue,mouseenter:Ve,mouseleave:Fe},hn=(vn,_n,bn)=>{vn&&Object.entries(_n).forEach(([Sn,Cn])=>{vn[bn](Sn,Cn)})};return watch(pe,(vn,_n)=>{hn(vn,Lt,"addEventListener"),hn(_n,Lt,"removeEventListener"),vn&&vn.setAttribute("aria-describedby",he.value)}),onBeforeUnmount(()=>{hn(pe.value,Lt,"removeEventListener"),document.removeEventListener("mouseup",Ie)}),(vn,_n)=>vn.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":$e,"only-child":""},{default:withCtx(()=>[renderSlot(vn.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:pe},vn.$attrs),[renderSlot(vn.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const __default__$a=defineComponent({name:"ElTooltipV2"}),_sfc_main$h=defineComponent({...__default__$a,props:tooltipV2Props,setup(oe){const le=toRefs(oe),ue=reactive(pick$1(le,Object.keys(tooltipV2ArrowProps))),de=reactive(pick$1(le,Object.keys(tooltipV2ContentProps))),pe=reactive(pick$1(le,Object.keys(tooltipV2RootProps))),he=reactive(pick$1(le,Object.keys(tooltipV2TriggerProps)));return(_e,$e)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(pe)),{default:withCtx(({open:Ie})=>[createVNode(TooltipV2Trigger,mergeProps(he,{nowrap:""}),{default:withCtx(()=>[renderSlot(_e.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:_e.to,disabled:!_e.teleported},[_e.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},_e.transitionProps)),{default:withCtx(()=>[_e.alwaysOn||Ie?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},de)),{arrow:withCtx(({style:Ve,side:Fe})=>[_e.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},ue,{style:Ve,side:Fe}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(_e.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[_e.alwaysOn||Ie?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},de)),{arrow:withCtx(({style:Ve,side:Fe})=>[_e.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},ue,{style:Ve,side:Fe}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(_e.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(oe,ie)=>[oe,ie].every(isArray$c)||isArray$c(oe)&&isNil(ie),transferEmits={[CHANGE_EVENT]:(oe,ie,le)=>[oe,le].every(isArray$c)&&["left","right"].includes(ie),[UPDATE_MODEL_EVENT]:oe=>isArray$c(oe),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=oe=>{const ie={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...ie,...oe.props}))},useCheck$1=(oe,ie,le)=>{const ue=usePropsAlias(oe),de=computed(()=>oe.data.filter(Ve=>isFunction$5(oe.filterMethod)?oe.filterMethod(ie.query,Ve):String(Ve[ue.value.label]||Ve[ue.value.key]).toLowerCase().includes(ie.query.toLowerCase()))),pe=computed(()=>de.value.filter(Ve=>!Ve[ue.value.disabled])),he=computed(()=>{const Ve=ie.checked.length,Fe=oe.data.length,{noChecked:Ue,hasChecked:qe}=oe.format;return Ue&&qe?Ve>0?qe.replace(/\${checked}/g,Ve.toString()).replace(/\${total}/g,Fe.toString()):Ue.replace(/\${total}/g,Fe.toString()):`${Ve}/${Fe}`}),_e=computed(()=>{const Ve=ie.checked.length;return Ve>0&&Ve<pe.value.length}),$e=()=>{const Ve=pe.value.map(Fe=>Fe[ue.value.key]);ie.allChecked=Ve.length>0&&Ve.every(Fe=>ie.checked.includes(Fe))},Ie=Ve=>{ie.checked=Ve?pe.value.map(Fe=>Fe[ue.value.key]):[]};return watch(()=>ie.checked,(Ve,Fe)=>{if($e(),ie.checkChangeByUser){const Ue=Ve.concat(Fe).filter(qe=>!Ve.includes(qe)||!Fe.includes(qe));le(CHECKED_CHANGE_EVENT,Ve,Ue)}else le(CHECKED_CHANGE_EVENT,Ve),ie.checkChangeByUser=!0}),watch(pe,()=>{$e()}),watch(()=>oe.data,()=>{const Ve=[],Fe=de.value.map(Ue=>Ue[ue.value.key]);ie.checked.forEach(Ue=>{Fe.includes(Ue)&&Ve.push(Ue)}),ie.checkChangeByUser=!1,ie.checked=Ve}),watch(()=>oe.defaultChecked,(Ve,Fe)=>{if(Fe&&Ve.length===Fe.length&&Ve.every(Et=>Fe.includes(Et)))return;const Ue=[],qe=pe.value.map(Et=>Et[ue.value.key]);Ve.forEach(Et=>{qe.includes(Et)&&Ue.push(Et)}),ie.checkChangeByUser=!1,ie.checked=Ue},{immediate:!0}),{filteredData:de,checkableData:pe,checkedSummary:he,isIndeterminate:_e,updateAllChecked:$e,handleAllCheckedChange:Ie}},useCheckedChange=(oe,ie)=>({onSourceCheckedChange:(de,pe)=>{oe.leftChecked=de,pe&&ie(LEFT_CHECK_CHANGE_EVENT,de,pe)},onTargetCheckedChange:(de,pe)=>{oe.rightChecked=de,pe&&ie(RIGHT_CHECK_CHANGE_EVENT,de,pe)}}),useComputedData=oe=>{const ie=usePropsAlias(oe),le=computed(()=>oe.data.reduce((pe,he)=>(pe[he[ie.value.key]]=he)&&pe,{})),ue=computed(()=>oe.data.filter(pe=>!oe.modelValue.includes(pe[ie.value.key]))),de=computed(()=>oe.targetOrder==="original"?oe.data.filter(pe=>oe.modelValue.includes(pe[ie.value.key])):oe.modelValue.reduce((pe,he)=>{const _e=le.value[he];return _e&&pe.push(_e),pe},[]));return{sourceData:ue,targetData:de}},useMove=(oe,ie,le)=>{const ue=usePropsAlias(oe),de=(_e,$e,Ie)=>{le(UPDATE_MODEL_EVENT,_e),le(CHANGE_EVENT,_e,$e,Ie)};return{addToLeft:()=>{const _e=oe.modelValue.slice();ie.rightChecked.forEach($e=>{const Ie=_e.indexOf($e);Ie>-1&&_e.splice(Ie,1)}),de(_e,"left",ie.rightChecked)},addToRight:()=>{let _e=oe.modelValue.slice();const $e=oe.data.filter(Ie=>{const Ve=Ie[ue.value.key];return ie.leftChecked.includes(Ve)&&!oe.modelValue.includes(Ve)}).map(Ie=>Ie[ue.value.key]);_e=oe.targetOrder==="unshift"?$e.concat(_e):_e.concat($e),oe.targetOrder==="original"&&(_e=oe.data.filter(Ie=>_e.includes(Ie[ue.value.key])).map(Ie=>Ie[ue.value.key])),de(_e,"right",ie.leftChecked)}}},__default__$9=defineComponent({name:"ElTransferPanel"}),_sfc_main$g=defineComponent({...__default__$9,props:transferPanelProps,emits:transferPanelEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useSlots(),pe=({option:_n})=>_n,{t:he}=useLocale(),_e=useNamespace("transfer"),$e=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),Ie=usePropsAlias(ue),{filteredData:Ve,checkedSummary:Fe,isIndeterminate:Ue,handleAllCheckedChange:qe}=useCheck$1(ue,$e,le),Et=computed(()=>!isEmpty($e.query)&&isEmpty(Ve.value)),At=computed(()=>!isEmpty(de.default()[0].children)),{checked:Lt,allChecked:hn,query:vn}=toRefs($e);return ie({query:vn}),(_n,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_e).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(_e).be("panel","header"))},[createVNode(unref(ElCheckbox),{modelValue:unref(hn),"onUpdate:modelValue":bn[0]||(bn[0]=Sn=>isRef(hn)?hn.value=Sn:null),indeterminate:unref(Ue),"validate-event":!1,onChange:unref(qe)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_n.title)+" ",1),createBaseVNode("span",null,toDisplayString$1(unref(Fe)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(_e).be("panel","body"),unref(_e).is("with-footer",unref(At))])},[_n.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(vn),"onUpdate:modelValue":bn[1]||(bn[1]=Sn=>isRef(vn)?vn.value=Sn:null),class:normalizeClass(unref(_e).be("panel","filter")),size:"default",placeholder:_n.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode(unref(ElCheckboxGroup$1),{modelValue:unref(Lt),"onUpdate:modelValue":bn[2]||(bn[2]=Sn=>isRef(Lt)?Lt.value=Sn:null),"validate-event":!1,class:normalizeClass([unref(_e).is("filterable",_n.filterable),unref(_e).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),Sn=>(openBlock(),createBlock(unref(ElCheckbox),{key:Sn[unref(Ie).key],class:normalizeClass(unref(_e).be("panel","item")),label:Sn[unref(Ie).key],disabled:Sn[unref(Ie).disabled],"validate-event":!1},{default:withCtx(()=>{var Cn;return[createVNode(pe,{option:(Cn=_n.optionRender)==null?void 0:Cn.call(_n,Sn)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(Et)&&!unref(isEmpty)(_n.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(_e).be("panel","empty"))},toDisplayString$1(unref(Et)?unref(he)("el.transfer.noMatch"):unref(he)("el.transfer.noData")),3),[[vShow,unref(Et)||unref(isEmpty)(_n.data)]])],2),unref(At)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(_e).be("panel","footer"))},[renderSlot(_n.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const _hoisted_1$a={key:0},_hoisted_2$8={key:0},__default__$8=defineComponent({name:"ElTransfer"}),_sfc_main$f=defineComponent({...__default__$8,props:transferProps,emits:transferEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useSlots(),{t:pe}=useLocale(),he=useNamespace("transfer"),{formItem:_e}=useFormItem(),$e=reactive({leftChecked:[],rightChecked:[]}),Ie=usePropsAlias(ue),{sourceData:Ve,targetData:Fe}=useComputedData(ue),{onSourceCheckedChange:Ue,onTargetCheckedChange:qe}=useCheckedChange($e,le),{addToLeft:Et,addToRight:At}=useMove(ue,$e,le),Lt=ref(),hn=ref(),vn=wn=>{switch(wn){case"left":Lt.value.query="";break;case"right":hn.value.query="";break}},_n=computed(()=>ue.buttonTexts.length===2),bn=computed(()=>ue.titles[0]||pe("el.transfer.titles.0")),Sn=computed(()=>ue.titles[1]||pe("el.transfer.titles.1")),Cn=computed(()=>ue.filterPlaceholder||pe("el.transfer.filterPlaceholder"));watch(()=>ue.modelValue,()=>{var wn;ue.validateEvent&&((wn=_e==null?void 0:_e.validate)==null||wn.call(_e,"change").catch(xn=>void 0))});const En=computed(()=>wn=>ue.renderContent?ue.renderContent(h$3,wn):de.default?de.default({option:wn}):h$3("span",wn[Ie.value.label]||wn[Ie.value.key]));return ie({clearQuery:vn,leftPanel:Lt,rightPanel:hn}),(wn,xn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(he).b())},[createVNode(TransferPanel,{ref_key:"leftPanel",ref:Lt,data:unref(Ve),"option-render":unref(En),placeholder:unref(Cn),title:unref(bn),filterable:wn.filterable,format:wn.format,"filter-method":wn.filterMethod,"default-checked":wn.leftDefaultChecked,props:ue.props,onCheckedChange:unref(Ue)},{default:withCtx(()=>[renderSlot(wn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(he).e("buttons"))},[createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(he).e("button"),unref(he).is("with-texts",unref(_n))]),disabled:unref(isEmpty)($e.rightChecked),onClick:unref(Et)},{default:withCtx(()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1}),unref(isUndefined$1)(wn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$a,toDisplayString$1(wn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(he).e("button"),unref(he).is("with-texts",unref(_n))]),disabled:unref(isEmpty)($e.leftChecked),onClick:unref(At)},{default:withCtx(()=>[unref(isUndefined$1)(wn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$8,toDisplayString$1(wn.buttonTexts[1]),1)),createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode(TransferPanel,{ref_key:"rightPanel",ref:hn,data:unref(Fe),"option-render":unref(En),placeholder:unref(Cn),filterable:wn.filterable,format:wn.format,"filter-method":wn.filterMethod,title:unref(Sn),"default-checked":wn.rightDefaultChecked,props:ue.props,onCheckedChange:unref(qe)},{default:withCtx(()=>[renderSlot(wn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(oe,ie){!ie||ie[NODE_KEY]||Object.defineProperty(ie,NODE_KEY,{value:oe.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(oe,ie){return oe?ie[oe]:ie[NODE_KEY]},handleCurrentChange=(oe,ie,le)=>{const ue=oe.value.currentNode;le();const de=oe.value.currentNode;ue!==de&&ie("current-change",de?de.data:null,de)},getChildState=oe=>{let ie=!0,le=!0,ue=!0;for(let de=0,pe=oe.length;de<pe;de++){const he=oe[de];(he.checked!==!0||he.indeterminate)&&(ie=!1,he.disabled||(ue=!1)),(he.checked!==!1||he.indeterminate)&&(le=!1)}return{all:ie,none:le,allWithoutDisable:ue,half:!ie&&!le}},reInitChecked=function(oe){if(oe.childNodes.length===0||oe.loading)return;const{all:ie,none:le,half:ue}=getChildState(oe.childNodes);ie?(oe.checked=!0,oe.indeterminate=!1):ue?(oe.checked=!1,oe.indeterminate=!0):le&&(oe.checked=!1,oe.indeterminate=!1);const de=oe.parent;!de||de.level===0||oe.store.checkStrictly||reInitChecked(de)},getPropertyFromData=function(oe,ie){const le=oe.store.props,ue=oe.data||{},de=le[ie];if(typeof de=="function")return de(ue,oe);if(typeof de=="string")return ue[de];if(typeof de>"u"){const pe=ue[ie];return pe===void 0?"":pe}};let nodeIdSeed=0;class Node{constructor(ie){this.id=nodeIdSeed++,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 le in ie)hasOwn$4(ie,le)&&(this[le]=ie[le]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const ie=this.store;if(!ie)throw new Error("[Node]store is required!");ie.registerNode(this);const le=ie.props;if(le&&typeof le.isLeaf<"u"){const pe=getPropertyFromData(this,"isLeaf");typeof pe=="boolean"&&(this.isLeafByUser=pe)}if(ie.lazy!==!0&&this.data?(this.setData(this.data),ie.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&ie.lazy&&ie.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const ue=ie.defaultExpandedKeys,de=ie.key;de&&ue&&ue.includes(this.key)&&this.expand(null,ie.autoExpandParent),de&&ie.currentNodeKey!==void 0&&this.key===ie.currentNodeKey&&(ie.currentNode=this,ie.currentNode.isCurrent=!0),ie.lazy&&ie._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(ie){Array.isArray(ie)||markNodeData(this,ie),this.data=ie,this.childNodes=[];let le;this.level===0&&Array.isArray(this.data)?le=this.data:le=getPropertyFromData(this,"children")||[];for(let ue=0,de=le.length;ue<de;ue++)this.insertChild({data:le[ue]})}get label(){return getPropertyFromData(this,"label")}get key(){const ie=this.store.key;return this.data?this.data[ie]:null}get disabled(){return getPropertyFromData(this,"disabled")}get nextSibling(){const ie=this.parent;if(ie){const le=ie.childNodes.indexOf(this);if(le>-1)return ie.childNodes[le+1]}return null}get previousSibling(){const ie=this.parent;if(ie){const le=ie.childNodes.indexOf(this);if(le>-1)return le>0?ie.childNodes[le-1]:null}return null}contains(ie,le=!0){return(this.childNodes||[]).some(ue=>ue===ie||le&&ue.contains(ie))}remove(){const ie=this.parent;ie&&ie.removeChild(this)}insertChild(ie,le,ue){if(!ie)throw new Error("InsertChild error: child is required.");if(!(ie instanceof Node)){if(!ue){const de=this.getChildren(!0);de.includes(ie.data)||(typeof le>"u"||le<0?de.push(ie.data):de.splice(le,0,ie.data))}Object.assign(ie,{parent:this,store:this.store}),ie=reactive(new Node(ie)),ie instanceof Node&&ie.initialize()}ie.level=this.level+1,typeof le>"u"||le<0?this.childNodes.push(ie):this.childNodes.splice(le,0,ie),this.updateLeafState()}insertBefore(ie,le){let ue;le&&(ue=this.childNodes.indexOf(le)),this.insertChild(ie,ue)}insertAfter(ie,le){let ue;le&&(ue=this.childNodes.indexOf(le),ue!==-1&&(ue+=1)),this.insertChild(ie,ue)}removeChild(ie){const le=this.getChildren()||[],ue=le.indexOf(ie.data);ue>-1&&le.splice(ue,1);const de=this.childNodes.indexOf(ie);de>-1&&(this.store&&this.store.deregisterNode(ie),ie.parent=null,this.childNodes.splice(de,1)),this.updateLeafState()}removeChildByData(ie){let le=null;for(let ue=0;ue<this.childNodes.length;ue++)if(this.childNodes[ue].data===ie){le=this.childNodes[ue];break}le&&this.removeChild(le)}expand(ie,le){const ue=()=>{if(le){let de=this.parent;for(;de.level>0;)de.expanded=!0,de=de.parent}this.expanded=!0,ie&&ie(),this.childNodes.forEach(de=>{de.canFocus=!0})};this.shouldLoadData()?this.loadData(de=>{Array.isArray(de)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),ue())}):ue()}doCreateChildren(ie,le={}){ie.forEach(ue=>{this.insertChild(Object.assign({data:ue},le),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(ie=>{ie.canFocus=!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 ie=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!ie||ie.length===0;return}this.isLeaf=!1}setChecked(ie,le,ue,de){if(this.indeterminate=ie==="half",this.checked=ie===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:he,allWithoutDisable:_e}=getChildState(this.childNodes);!this.isLeaf&&!he&&_e&&(this.checked=!1,ie=!1);const $e=()=>{if(le){const Ie=this.childNodes;for(let Ue=0,qe=Ie.length;Ue<qe;Ue++){const Et=Ie[Ue];de=de||ie!==!1;const At=Et.disabled?Et.checked:de;Et.setChecked(At,le,!0,de)}const{half:Ve,all:Fe}=getChildState(Ie);Fe||(this.checked=Fe,this.indeterminate=Ve)}};if(this.shouldLoadData()){this.loadData(()=>{$e(),reInitChecked(this)},{checked:ie!==!1});return}else $e()}const pe=this.parent;!pe||pe.level===0||ue||reInitChecked(pe)}getChildren(ie=!1){if(this.level===0)return this.data;const le=this.data;if(!le)return null;const ue=this.store.props;let de="children";return ue&&(de=ue.children||"children"),le[de]===void 0&&(le[de]=null),ie&&!le[de]&&(le[de]=[]),le[de]}updateChildren(){const ie=this.getChildren()||[],le=this.childNodes.map(pe=>pe.data),ue={},de=[];ie.forEach((pe,he)=>{const _e=pe[NODE_KEY];!!_e&&le.findIndex(Ie=>Ie[NODE_KEY]===_e)>=0?ue[_e]={index:he,data:pe}:de.push({index:he,data:pe})}),this.store.lazy||le.forEach(pe=>{ue[pe[NODE_KEY]]||this.removeChildByData(pe)}),de.forEach(({index:pe,data:he})=>{this.insertChild({data:he},pe)}),this.updateLeafState()}loadData(ie,le={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(le).length)){this.loading=!0;const ue=de=>{this.childNodes=[],this.doCreateChildren(de,le),this.loaded=!0,this.loading=!1,this.updateLeafState(),ie&&ie.call(this,de)};this.store.load(this,ue)}else ie&&ie.call(this)}}class TreeStore{constructor(ie){this.currentNode=null,this.currentNodeKey=null;for(const le in ie)hasOwn$4(ie,le)&&(this[le]=ie[le]);this.nodesMap={}}initialize(){if(this.root=new Node({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const ie=this.load;ie(this.root,le=>{this.root.doCreateChildren(le),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(ie){const le=this.filterNodeMethod,ue=this.lazy,de=function(pe){const he=pe.root?pe.root.childNodes:pe.childNodes;if(he.forEach(_e=>{_e.visible=le.call(_e,ie,_e.data,_e),de(_e)}),!pe.visible&&he.length){let _e=!0;_e=!he.some($e=>$e.visible),pe.root?pe.root.visible=_e===!1:pe.visible=_e===!1}ie&&pe.visible&&!pe.isLeaf&&!ue&&pe.expand()};de(this)}setData(ie){ie!==this.root.data?(this.root.setData(ie),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(ie){if(ie instanceof Node)return ie;const le=isObject$9(ie)?getNodeKey(this.key,ie):ie;return this.nodesMap[le]||null}insertBefore(ie,le){const ue=this.getNode(le);ue.parent.insertBefore({data:ie},ue)}insertAfter(ie,le){const ue=this.getNode(le);ue.parent.insertAfter({data:ie},ue)}remove(ie){const le=this.getNode(ie);le&&le.parent&&(le===this.currentNode&&(this.currentNode=null),le.parent.removeChild(le))}append(ie,le){const ue=le?this.getNode(le):this.root;ue&&ue.insertChild({data:ie})}_initDefaultCheckedNodes(){const ie=this.defaultCheckedKeys||[],le=this.nodesMap;ie.forEach(ue=>{const de=le[ue];de&&de.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(ie){(this.defaultCheckedKeys||[]).includes(ie.key)&&ie.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(ie){ie!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=ie,this._initDefaultCheckedNodes())}registerNode(ie){const le=this.key;!ie||!ie.data||(le?ie.key!==void 0&&(this.nodesMap[ie.key]=ie):this.nodesMap[ie.id]=ie)}deregisterNode(ie){!this.key||!ie||!ie.data||(ie.childNodes.forEach(ue=>{this.deregisterNode(ue)}),delete this.nodesMap[ie.key])}getCheckedNodes(ie=!1,le=!1){const ue=[],de=function(pe){(pe.root?pe.root.childNodes:pe.childNodes).forEach(_e=>{(_e.checked||le&&_e.indeterminate)&&(!ie||ie&&_e.isLeaf)&&ue.push(_e.data),de(_e)})};return de(this),ue}getCheckedKeys(ie=!1){return this.getCheckedNodes(ie).map(le=>(le||{})[this.key])}getHalfCheckedNodes(){const ie=[],le=function(ue){(ue.root?ue.root.childNodes:ue.childNodes).forEach(pe=>{pe.indeterminate&&ie.push(pe.data),le(pe)})};return le(this),ie}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(ie=>(ie||{})[this.key])}_getAllNodes(){const ie=[],le=this.nodesMap;for(const ue in le)hasOwn$4(le,ue)&&ie.push(le[ue]);return ie}updateChildren(ie,le){const ue=this.nodesMap[ie];if(!ue)return;const de=ue.childNodes;for(let pe=de.length-1;pe>=0;pe--){const he=de[pe];this.remove(he.data)}for(let pe=0,he=le.length;pe<he;pe++){const _e=le[pe];this.append(_e,ue.data)}}_setCheckedKeys(ie,le=!1,ue){const de=this._getAllNodes().sort((_e,$e)=>$e.level-_e.level),pe=Object.create(null),he=Object.keys(ue);de.forEach(_e=>_e.setChecked(!1,!1));for(let _e=0,$e=de.length;_e<$e;_e++){const Ie=de[_e],Ve=Ie.data[ie].toString();if(!he.includes(Ve)){Ie.checked&&!pe[Ve]&&Ie.setChecked(!1,!1);continue}let Ue=Ie.parent;for(;Ue&&Ue.level>0;)pe[Ue.data[ie]]=!0,Ue=Ue.parent;if(Ie.isLeaf||this.checkStrictly){Ie.setChecked(!0,!1);continue}if(Ie.setChecked(!0,!0),le){Ie.setChecked(!1,!1);const qe=function(Et){Et.childNodes.forEach(Lt=>{Lt.isLeaf||Lt.setChecked(!1,!1),qe(Lt)})};qe(Ie)}}}setCheckedNodes(ie,le=!1){const ue=this.key,de={};ie.forEach(pe=>{de[(pe||{})[ue]]=!0}),this._setCheckedKeys(ue,le,de)}setCheckedKeys(ie,le=!1){this.defaultCheckedKeys=ie;const ue=this.key,de={};ie.forEach(pe=>{de[pe]=!0}),this._setCheckedKeys(ue,le,de)}setDefaultExpandedKeys(ie){ie=ie||[],this.defaultExpandedKeys=ie,ie.forEach(le=>{const ue=this.getNode(le);ue&&ue.expand(null,this.autoExpandParent)})}setChecked(ie,le,ue){const de=this.getNode(ie);de&&de.setChecked(!!le,ue)}getCurrentNode(){return this.currentNode}setCurrentNode(ie){const le=this.currentNode;le&&(le.isCurrent=!1),this.currentNode=ie,this.currentNode.isCurrent=!0}setUserCurrentNode(ie,le=!0){const ue=ie[this.key],de=this.nodesMap[ue];this.setCurrentNode(de),le&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(ie,le=!0){if(ie==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const ue=this.getNode(ie);ue&&(this.setCurrentNode(ue),le&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$e=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(oe){const ie=useNamespace("tree"),le=inject("NodeInstance"),ue=inject("RootTree");return()=>{const de=oe.node,{data:pe,store:he}=de;return oe.renderContent?oe.renderContent(h$3,{_self:le,node:de,data:pe,store:he}):ue.ctx.slots.default?ue.ctx.slots.default({node:de,data:pe}):h$3("span",{class:ie.be("node","label")},[de.label])}}});var NodeContent=_export_sfc$1(_sfc_main$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast(oe){const ie=inject("TreeNodeMap",null),le={treeNodeExpand:ue=>{oe.node!==ue&&oe.node.collapse()},children:[]};return ie&&ie.children.push(le),provide("TreeNodeMap",le),{broadcastExpanded:ue=>{if(oe.accordion)for(const de of le.children)de.treeNodeExpand(ue)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:oe,ctx:ie,el$:le,dropIndicator$:ue,store:de}){const pe=useNamespace("tree"),he=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:Ve,treeNode:Fe})=>{if(typeof oe.allowDrag=="function"&&!oe.allowDrag(Fe.node))return Ve.preventDefault(),!1;Ve.dataTransfer.effectAllowed="move";try{Ve.dataTransfer.setData("text/plain","")}catch{}he.value.draggingNode=Fe,ie.emit("node-drag-start",Fe.node,Ve)},treeNodeDragOver:({event:Ve,treeNode:Fe})=>{const Ue=Fe,qe=he.value.dropNode;qe&&qe.node.id!==Ue.node.id&&removeClass(qe.$el,pe.is("drop-inner"));const Et=he.value.draggingNode;if(!Et||!Ue)return;let At=!0,Lt=!0,hn=!0,vn=!0;typeof oe.allowDrop=="function"&&(At=oe.allowDrop(Et.node,Ue.node,"prev"),vn=Lt=oe.allowDrop(Et.node,Ue.node,"inner"),hn=oe.allowDrop(Et.node,Ue.node,"next")),Ve.dataTransfer.dropEffect=Lt||At||hn?"move":"none",(At||Lt||hn)&&(qe==null?void 0:qe.node.id)!==Ue.node.id&&(qe&&ie.emit("node-drag-leave",Et.node,qe.node,Ve),ie.emit("node-drag-enter",Et.node,Ue.node,Ve)),(At||Lt||hn)&&(he.value.dropNode=Ue),Ue.node.nextSibling===Et.node&&(hn=!1),Ue.node.previousSibling===Et.node&&(At=!1),Ue.node.contains(Et.node,!1)&&(Lt=!1),(Et.node===Ue.node||Et.node.contains(Ue.node))&&(At=!1,Lt=!1,hn=!1);const _n=Ue.$el.getBoundingClientRect(),bn=le.value.getBoundingClientRect();let Sn;const Cn=At?Lt?.25:hn?.45:1:-1,En=hn?Lt?.75:At?.55:0:1;let wn=-9999;const xn=Ve.clientY-_n.top;xn<_n.height*Cn?Sn="before":xn>_n.height*En?Sn="after":Lt?Sn="inner":Sn="none";const kn=Ue.$el.querySelector(`.${pe.be("node","expand-icon")}`).getBoundingClientRect(),Pn=ue.value;Sn==="before"?wn=kn.top-bn.top:Sn==="after"&&(wn=kn.bottom-bn.top),Pn.style.top=`${wn}px`,Pn.style.left=`${kn.right-bn.left}px`,Sn==="inner"?addClass(Ue.$el,pe.is("drop-inner")):removeClass(Ue.$el,pe.is("drop-inner")),he.value.showDropIndicator=Sn==="before"||Sn==="after",he.value.allowDrop=he.value.showDropIndicator||vn,he.value.dropType=Sn,ie.emit("node-drag-over",Et.node,Ue.node,Ve)},treeNodeDragEnd:Ve=>{const{draggingNode:Fe,dropType:Ue,dropNode:qe}=he.value;if(Ve.preventDefault(),Ve.dataTransfer.dropEffect="move",Fe&&qe){const Et={data:Fe.node.data};Ue!=="none"&&Fe.node.remove(),Ue==="before"?qe.node.parent.insertBefore(Et,qe.node):Ue==="after"?qe.node.parent.insertAfter(Et,qe.node):Ue==="inner"&&qe.node.insertChild(Et),Ue!=="none"&&de.value.registerNode(Et),removeClass(qe.$el,pe.is("drop-inner")),ie.emit("node-drag-end",Fe.node,qe.node,Ue,Ve),Ue!=="none"&&ie.emit("node-drop",Fe.node,qe.node,Ue,Ve)}Fe&&!qe&&ie.emit("node-drag-end",Fe.node,null,Ue,Ve),he.value.showDropIndicator=!1,he.value.draggingNode=null,he.value.dropNode=null,he.value.allowDrop=!0}}),{dragState:he}}const _sfc_main$d=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(oe,ie){const le=useNamespace("tree"),{broadcastExpanded:ue}=useNodeExpandEventBroadcast(oe),de=inject("RootTree"),pe=ref(!1),he=ref(!1),_e=ref(null),$e=ref(null),Ie=ref(null),Ve=inject(dragEventsKey),Fe=getCurrentInstance();provide("NodeInstance",Fe),oe.node.expanded&&(pe.value=!0,he.value=!0);const Ue=de.props.children||"children";watch(()=>{const xn=oe.node.data[Ue];return xn&&[...xn]},()=>{oe.node.updateChildren()}),watch(()=>oe.node.indeterminate,xn=>{At(oe.node.checked,xn)}),watch(()=>oe.node.checked,xn=>{At(xn,oe.node.indeterminate)}),watch(()=>oe.node.expanded,xn=>{nextTick(()=>pe.value=xn),xn&&(he.value=!0)});const qe=xn=>getNodeKey(de.props.nodeKey,xn.data),Et=xn=>{const kn=oe.props.class;if(!kn)return{};let Pn;if(isFunction$5(kn)){const{data:An}=xn;Pn=kn(An,xn)}else Pn=kn;return isString$6(Pn)?{[Pn]:!0}:Pn},At=(xn,kn)=>{(_e.value!==xn||$e.value!==kn)&&de.ctx.emit("check-change",oe.node.data,xn,kn),_e.value=xn,$e.value=kn},Lt=xn=>{handleCurrentChange(de.store,de.ctx.emit,()=>de.store.value.setCurrentNode(oe.node)),de.currentNode.value=oe.node,de.props.expandOnClickNode&&vn(),de.props.checkOnClickNode&&!oe.node.disabled&&_n(null,{target:{checked:!oe.node.checked}}),de.ctx.emit("node-click",oe.node.data,oe.node,Fe,xn)},hn=xn=>{de.instance.vnode.props.onNodeContextmenu&&(xn.stopPropagation(),xn.preventDefault()),de.ctx.emit("node-contextmenu",xn,oe.node.data,oe.node,Fe)},vn=()=>{oe.node.isLeaf||(pe.value?(de.ctx.emit("node-collapse",oe.node.data,oe.node,Fe),oe.node.collapse()):(oe.node.expand(),ie.emit("node-expand",oe.node.data,oe.node,Fe)))},_n=(xn,kn)=>{oe.node.setChecked(kn.target.checked,!de.props.checkStrictly),nextTick(()=>{const Pn=de.store.value;de.ctx.emit("check",oe.node.data,{checkedNodes:Pn.getCheckedNodes(),checkedKeys:Pn.getCheckedKeys(),halfCheckedNodes:Pn.getHalfCheckedNodes(),halfCheckedKeys:Pn.getHalfCheckedKeys()})})};return{ns:le,node$:Ie,tree:de,expanded:pe,childNodeRendered:he,oldChecked:_e,oldIndeterminate:$e,getNodeKey:qe,getNodeClass:Et,handleSelectChange:At,handleClick:Lt,handleContextMenu:hn,handleExpandIconClick:vn,handleCheckChange:_n,handleChildNodeExpand:(xn,kn,Pn)=>{ue(kn),de.ctx.emit("node-expand",xn,kn,Pn)},handleDragStart:xn=>{de.props.draggable&&Ve.treeNodeDragStart({event:xn,treeNode:oe})},handleDragOver:xn=>{xn.preventDefault(),de.props.draggable&&Ve.treeNodeDragOver({event:xn,treeNode:{$el:Ie.value,node:oe.node}})},handleDrop:xn=>{xn.preventDefault()},handleDragEnd:xn=>{de.props.draggable&&Ve.treeNodeDragEnd(xn)},CaretRight:caret_right_default}}}),_hoisted_1$9=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$7=["aria-expanded"];function _sfc_render$3(oe,ie,le,ue,de,pe){const he=resolveComponent("el-icon"),_e=resolveComponent("el-checkbox"),$e=resolveComponent("loading"),Ie=resolveComponent("node-content"),Ve=resolveComponent("el-tree-node"),Fe=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([oe.ns.b("node"),oe.ns.is("expanded",oe.expanded),oe.ns.is("current",oe.node.isCurrent),oe.ns.is("hidden",!oe.node.visible),oe.ns.is("focusable",!oe.node.disabled),oe.ns.is("checked",!oe.node.disabled&&oe.node.checked),oe.getNodeClass(oe.node)]),role:"treeitem",tabindex:"-1","aria-expanded":oe.expanded,"aria-disabled":oe.node.disabled,"aria-checked":oe.node.checked,draggable:oe.tree.props.draggable,"data-key":oe.getNodeKey(oe.node),onClick:ie[1]||(ie[1]=withModifiers((...Ue)=>oe.handleClick&&oe.handleClick(...Ue),["stop"])),onContextmenu:ie[2]||(ie[2]=(...Ue)=>oe.handleContextMenu&&oe.handleContextMenu(...Ue)),onDragstart:ie[3]||(ie[3]=withModifiers((...Ue)=>oe.handleDragStart&&oe.handleDragStart(...Ue),["stop"])),onDragover:ie[4]||(ie[4]=withModifiers((...Ue)=>oe.handleDragOver&&oe.handleDragOver(...Ue),["stop"])),onDragend:ie[5]||(ie[5]=withModifiers((...Ue)=>oe.handleDragEnd&&oe.handleDragEnd(...Ue),["stop"])),onDrop:ie[6]||(ie[6]=withModifiers((...Ue)=>oe.handleDrop&&oe.handleDrop(...Ue),["stop"]))},[createBaseVNode("div",{class:normalizeClass(oe.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(oe.node.level-1)*oe.tree.props.indent+"px"})},[oe.tree.props.icon||oe.CaretRight?(openBlock(),createBlock(he,{key:0,class:normalizeClass([oe.ns.be("node","expand-icon"),oe.ns.is("leaf",oe.node.isLeaf),{expanded:!oe.node.isLeaf&&oe.expanded}]),onClick:withModifiers(oe.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.tree.props.icon||oe.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),oe.showCheckbox?(openBlock(),createBlock(_e,{key:1,"model-value":oe.node.checked,indeterminate:oe.node.indeterminate,disabled:!!oe.node.disabled,onClick:ie[0]||(ie[0]=withModifiers(()=>{},["stop"])),onChange:oe.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),oe.node.loading?(openBlock(),createBlock(he,{key:2,class:normalizeClass([oe.ns.be("node","loading-icon"),oe.ns.is("loading")])},{default:withCtx(()=>[createVNode($e)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(Ie,{node:oe.node,"render-content":oe.renderContent},null,8,["node","render-content"])],6),createVNode(Fe,null,{default:withCtx(()=>[!oe.renderAfterExpand||oe.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(oe.ns.be("node","children")),role:"group","aria-expanded":oe.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.node.childNodes,Ue=>(openBlock(),createBlock(Ve,{key:oe.getNodeKey(Ue),"render-content":oe.renderContent,"render-after-expand":oe.renderAfterExpand,"show-checkbox":oe.showCheckbox,node:Ue,accordion:oe.accordion,props:oe.props,onNodeExpand:oe.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$7)),[[vShow,oe.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$9)),[[vShow,oe.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function useKeydown({el$:oe},ie){const le=useNamespace("tree"),ue=shallowRef([]),de=shallowRef([]);onMounted(()=>{he()}),onUpdated(()=>{ue.value=Array.from(oe.value.querySelectorAll("[role=treeitem]")),de.value=Array.from(oe.value.querySelectorAll("input[type=checkbox]"))}),watch(de,_e=>{_e.forEach($e=>{$e.setAttribute("tabindex","-1")})}),useEventListener$1(oe,"keydown",_e=>{const $e=_e.target;if(!$e.className.includes(le.b("node")))return;const Ie=_e.code;ue.value=Array.from(oe.value.querySelectorAll(`.${le.is("focusable")}[role=treeitem]`));const Ve=ue.value.indexOf($e);let Fe;if([EVENT_CODE.up,EVENT_CODE.down].includes(Ie)){if(_e.preventDefault(),Ie===EVENT_CODE.up){Fe=Ve===-1?0:Ve!==0?Ve-1:ue.value.length-1;const qe=Fe;for(;!ie.value.getNode(ue.value[Fe].dataset.key).canFocus;){if(Fe--,Fe===qe){Fe=-1;break}Fe<0&&(Fe=ue.value.length-1)}}else{Fe=Ve===-1?0:Ve<ue.value.length-1?Ve+1:0;const qe=Fe;for(;!ie.value.getNode(ue.value[Fe].dataset.key).canFocus;){if(Fe++,Fe===qe){Fe=-1;break}Fe>=ue.value.length&&(Fe=0)}}Fe!==-1&&ue.value[Fe].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(Ie)&&(_e.preventDefault(),$e.click());const Ue=$e.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(Ie)&&Ue&&(_e.preventDefault(),Ue.click())});const he=()=>{var _e;ue.value=Array.from(oe.value.querySelectorAll(`.${le.is("focusable")}[role=treeitem]`)),de.value=Array.from(oe.value.querySelectorAll("input[type=checkbox]"));const $e=oe.value.querySelectorAll(`.${le.is("checked")}[role=treeitem]`);if($e.length){$e[0].setAttribute("tabindex","0");return}(_e=ue.value[0])==null||_e.setAttribute("tabindex","0")}}const _sfc_main$c=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(oe,ie){const{t:le}=useLocale(),ue=useNamespace("tree"),de=ref(new TreeStore({key:oe.nodeKey,data:oe.data,lazy:oe.lazy,props:oe.props,load:oe.load,currentNodeKey:oe.currentNodeKey,checkStrictly:oe.checkStrictly,checkDescendants:oe.checkDescendants,defaultCheckedKeys:oe.defaultCheckedKeys,defaultExpandedKeys:oe.defaultExpandedKeys,autoExpandParent:oe.autoExpandParent,defaultExpandAll:oe.defaultExpandAll,filterNodeMethod:oe.filterNodeMethod}));de.value.initialize();const pe=ref(de.value.root),he=ref(null),_e=ref(null),$e=ref(null),{broadcastExpanded:Ie}=useNodeExpandEventBroadcast(oe),{dragState:Ve}=useDragNodeHandler({props:oe,ctx:ie,el$:_e,dropIndicator$:$e,store:de});useKeydown({el$:_e},de);const Fe=computed(()=>{const{childNodes:Mn}=pe.value;return!Mn||Mn.length===0||Mn.every(({visible:Fn})=>!Fn)});watch(()=>oe.currentNodeKey,Mn=>{de.value.setCurrentNodeKey(Mn)}),watch(()=>oe.defaultCheckedKeys,Mn=>{de.value.setDefaultCheckedKey(Mn)}),watch(()=>oe.defaultExpandedKeys,Mn=>{de.value.setDefaultExpandedKeys(Mn)}),watch(()=>oe.data,Mn=>{de.value.setData(Mn)},{deep:!0}),watch(()=>oe.checkStrictly,Mn=>{de.value.checkStrictly=Mn});const Ue=Mn=>{if(!oe.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");de.value.filter(Mn)},qe=Mn=>getNodeKey(oe.nodeKey,Mn.data),Et=Mn=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const Fn=de.value.getNode(Mn);if(!Fn)return[];const Ln=[Fn.data];let jn=Fn.parent;for(;jn&&jn!==pe.value;)Ln.push(jn.data),jn=jn.parent;return Ln.reverse()},At=(Mn,Fn)=>de.value.getCheckedNodes(Mn,Fn),Lt=Mn=>de.value.getCheckedKeys(Mn),hn=()=>{const Mn=de.value.getCurrentNode();return Mn?Mn.data:null},vn=()=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Mn=hn();return Mn?Mn[oe.nodeKey]:null},_n=(Mn,Fn)=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");de.value.setCheckedNodes(Mn,Fn)},bn=(Mn,Fn)=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");de.value.setCheckedKeys(Mn,Fn)},Sn=(Mn,Fn,Ln)=>{de.value.setChecked(Mn,Fn,Ln)},Cn=()=>de.value.getHalfCheckedNodes(),En=()=>de.value.getHalfCheckedKeys(),wn=(Mn,Fn=!0)=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(de,ie.emit,()=>de.value.setUserCurrentNode(Mn,Fn))},xn=(Mn,Fn=!0)=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(de,ie.emit,()=>de.value.setCurrentNodeKey(Mn,Fn))},kn=Mn=>de.value.getNode(Mn),Pn=Mn=>{de.value.remove(Mn)},An=(Mn,Fn)=>{de.value.append(Mn,Fn)},In=(Mn,Fn)=>{de.value.insertBefore(Mn,Fn)},Nn=(Mn,Fn)=>{de.value.insertAfter(Mn,Fn)},Un=(Mn,Fn,Ln)=>{Ie(Fn),ie.emit("node-expand",Mn,Fn,Ln)},Vn=(Mn,Fn)=>{if(!oe.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");de.value.updateChildren(Mn,Fn)};return provide("RootTree",{ctx:ie,props:oe,store:de,root:pe,currentNode:he,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:ue,store:de,root:pe,currentNode:he,dragState:Ve,el$:_e,dropIndicator$:$e,isEmpty:Fe,filter:Ue,getNodeKey:qe,getNodePath:Et,getCheckedNodes:At,getCheckedKeys:Lt,getCurrentNode:hn,getCurrentKey:vn,setCheckedNodes:_n,setCheckedKeys:bn,setChecked:Sn,getHalfCheckedNodes:Cn,getHalfCheckedKeys:En,setCurrentNode:wn,setCurrentKey:xn,t:le,getNode:kn,remove:Pn,append:An,insertBefore:In,insertAfter:Nn,handleNodeExpand:Un,updateKeyChildren:Vn}}});function _sfc_render$2(oe,ie,le,ue,de,pe){const he=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([oe.ns.b(),oe.ns.is("dragging",!!oe.dragState.draggingNode),oe.ns.is("drop-not-allow",!oe.dragState.allowDrop),oe.ns.is("drop-inner",oe.dragState.dropType==="inner"),{[oe.ns.m("highlight-current")]:oe.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.root.childNodes,_e=>(openBlock(),createBlock(he,{key:oe.getNodeKey(_e),node:_e,props:oe.props,accordion:oe.accordion,"render-after-expand":oe.renderAfterExpand,"show-checkbox":oe.showCheckbox,"render-content":oe.renderContent,onNodeExpand:oe.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),oe.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(oe.ns.e("empty-block"))},[renderSlot(oe.$slots,"empty",{},()=>{var _e;return[createBaseVNode("span",{class:normalizeClass(oe.ns.e("empty-text"))},toDisplayString$1((_e=oe.emptyText)!=null?_e:oe.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(oe.ns.e("drop-indicator"))},null,2),[[vShow,oe.dragState.showDropIndicator]])],2)}var Tree=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$2],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);Tree.install=oe=>{oe.component(Tree.name,Tree)};const _Tree=Tree,ElTree=_Tree,useSelect=(oe,{attrs:ie},{tree:le,key:ue})=>{const de=useNamespace("tree-select"),pe={...pick$1(toRefs(oe),Object.keys(ElSelect.props)),...ie,valueKey:ue,popperClass:computed(()=>{const he=[de.e("popper")];return oe.popperClass&&he.push(oe.popperClass),he.join(" ")}),filterMethod:(he="")=>{oe.filterMethod&&oe.filterMethod(he),nextTick(()=>{var _e;(_e=le.value)==null||_e.filter(he)})},onVisibleChange:he=>{var _e;(_e=ie.onVisibleChange)==null||_e.call(ie,he),oe.filterable&&he&&pe.filterMethod()}};return pe},component$1=defineComponent({extends:ElOption,setup(oe,ie){const le=ElOption.setup(oe,ie);delete le.selectOptionClick;const ue=getCurrentInstance().proxy;return nextTick(()=>{le.select.cachedOptions.get(ue.value)||le.select.onOptionCreate(ue)}),le},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(oe){return oe||oe===0}function isValidArray(oe){return Array.isArray(oe)&&oe.length}function toValidArray(oe){return Array.isArray(oe)?oe:isValidValue(oe)?[oe]:[]}function treeFind(oe,ie,le,ue,de){for(let pe=0;pe<oe.length;pe++){const he=oe[pe];if(ie(he,pe,oe,de))return ue?ue(he,pe,oe,de):he;{const _e=le(he);if(isValidArray(_e)){const $e=treeFind(_e,ie,le,ue,he);if($e)return $e}}}}function treeEach(oe,ie,le,ue){for(let de=0;de<oe.length;de++){const pe=oe[de];ie(pe,de,oe,ue);const he=le(pe);isValidArray(he)&&treeEach(he,ie,le,pe)}}const useTree$1=(oe,{attrs:ie,slots:le,emit:ue},{select:de,tree:pe,key:he})=>{watch(()=>oe.modelValue,()=>{oe.showCheckbox&&nextTick(()=>{const Ue=pe.value;Ue&&!isEqual$1(Ue.getCheckedKeys(),toValidArray(oe.modelValue))&&Ue.setCheckedKeys(toValidArray(oe.modelValue))})},{immediate:!0,deep:!0});const _e=computed(()=>({value:he.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...oe.props})),$e=(Ue,qe)=>{var Et;const At=_e.value[Ue];return isFunction$5(At)?At(qe,(Et=pe.value)==null?void 0:Et.getNode($e("value",qe))):qe[At]},Ie=toValidArray(oe.modelValue).map(Ue=>treeFind(oe.data||[],qe=>$e("value",qe)===Ue,qe=>$e("children",qe),(qe,Et,At,Lt)=>Lt&&$e("value",Lt))).filter(Ue=>isValidValue(Ue)),Ve=computed(()=>{if(!oe.renderAfterExpand&&!oe.lazy)return[];const Ue=[];return treeEach(oe.data.concat(oe.cacheData),qe=>{const Et=$e("value",qe);Ue.push({value:Et,currentLabel:$e("label",qe),isDisabled:$e("disabled",qe)})},qe=>$e("children",qe)),Ue}),Fe=computed(()=>Ve.value.reduce((Ue,qe)=>({...Ue,[qe.value]:qe}),{}));return{...pick$1(toRefs(oe),Object.keys(_Tree.props)),...ie,nodeKey:he,expandOnClickNode:computed(()=>!oe.checkStrictly&&oe.expandOnClickNode),defaultExpandedKeys:computed(()=>oe.defaultExpandedKeys?oe.defaultExpandedKeys.concat(Ie):Ie),renderContent:(Ue,{node:qe,data:Et,store:At})=>Ue(component$1,{value:$e("value",Et),label:$e("label",Et),disabled:$e("disabled",Et)},oe.renderContent?()=>oe.renderContent(Ue,{node:qe,data:Et,store:At}):le.default?()=>le.default({node:qe,data:Et,store:At}):void 0),filterNodeMethod:(Ue,qe,Et)=>{var At;return oe.filterNodeMethod?oe.filterNodeMethod(Ue,qe,Et):Ue?(At=$e("label",qe))==null?void 0:At.includes(Ue):!0},onNodeClick:(Ue,qe,Et)=>{var At,Lt,hn;if((At=ie.onNodeClick)==null||At.call(ie,Ue,qe,Et),!(oe.showCheckbox&&oe.checkOnClickNode))if(!oe.showCheckbox&&(oe.checkStrictly||qe.isLeaf)){if(!$e("disabled",Ue)){const vn=(Lt=de.value)==null?void 0:Lt.options.get($e("value",Ue));(hn=de.value)==null||hn.handleOptionSelect(vn)}}else oe.expandOnClickNode&&Et.proxy.handleExpandIconClick()},onCheck:(Ue,qe)=>{if(!oe.showCheckbox)return;const Et=$e("value",Ue),At=qe.checkedKeys,Lt=oe.multiple?toValidArray(oe.modelValue).filter(vn=>vn in Fe.value&&!pe.value.getNode(vn)&&!At.includes(vn)):[],hn=At.concat(Lt);if(oe.checkStrictly)ue(UPDATE_MODEL_EVENT,oe.multiple?hn:hn.includes(Et)?Et:void 0);else if(oe.multiple)ue(UPDATE_MODEL_EVENT,pe.value.getCheckedKeys(!0));else{const vn=treeFind([Ue],Sn=>!isValidArray($e("children",Sn))&&!$e("disabled",Sn),Sn=>$e("children",Sn)),_n=vn?$e("value",vn):void 0,bn=isValidValue(oe.modelValue)&&!!treeFind([Ue],Sn=>$e("value",Sn)===oe.modelValue,Sn=>$e("children",Sn));ue(UPDATE_MODEL_EVENT,_n===oe.modelValue||bn?void 0:_n)}nextTick(()=>{var vn;const _n=toValidArray(oe.modelValue);pe.value.setCheckedKeys(_n),(vn=ie.onCheck)==null||vn.call(ie,Ue,{checkedKeys:pe.value.getCheckedKeys(),checkedNodes:pe.value.getCheckedNodes(),halfCheckedKeys:pe.value.getHalfCheckedKeys(),halfCheckedNodes:pe.value.getHalfCheckedNodes()})})},cacheOptions:Ve}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(oe){const ie=inject(selectKey);return watch(()=>oe.data,()=>{var le;oe.data.forEach(de=>{ie.cachedOptions.has(de.value)||ie.cachedOptions.set(de.value,de)});const ue=((le=ie.selectWrapper)==null?void 0:le.querySelectorAll("input"))||[];Array.from(ue).includes(document.activeElement)||ie.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$b=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(oe,ie){const{slots:le,expose:ue}=ie,de=ref(),pe=ref(),he=computed(()=>oe.nodeKey||oe.valueKey||"value"),_e=useSelect(oe,ie,{select:de,tree:pe,key:he}),{cacheOptions:$e,...Ie}=useTree$1(oe,ie,{select:de,tree:pe,key:he}),Ve=reactive({});return ue(Ve),onMounted(()=>{Object.assign(Ve,{...pick$1(pe.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$1(de.value,["focus","blur"])})}),()=>h$3(ElSelect,reactive({..._e,ref:Fe=>de.value=Fe}),{...le,default:()=>[h$3(CacheOptions,{data:$e.value}),h$3(_Tree,reactive({...Ie,ref:Fe=>pe.value=Fe}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);TreeSelect.install=oe=>{oe.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(oe=>(oe.KEY="id",oe.LABEL="label",oe.CHILDREN="children",oe.DISABLED="disabled",oe))(TreeOptionsEnum||{}),SetOperationEnum=(oe=>(oe.ADD="add",oe.DELETE="delete",oe))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(oe,ie,le)=>oe&&ie&&le,[NODE_EXPAND]:(oe,ie)=>oe&&ie,[NODE_COLLAPSE]:(oe,ie)=>oe&&ie,[CURRENT_CHANGE]:(oe,ie)=>oe&&ie,[NODE_CHECK]:(oe,ie)=>oe&&ie,[NODE_CHECK_CHANGE]:(oe,ie)=>oe&&typeof ie=="boolean",[NODE_CONTEXTMENU]:(oe,ie,le)=>oe&&ie&&le},treeNodeEmits={click:(oe,ie)=>!!(oe&&ie),toggle:oe=>!!oe,check:(oe,ie)=>oe&&typeof ie=="boolean"};function useCheck(oe,ie){const le=ref(new Set),ue=ref(new Set),{emit:de}=getCurrentInstance();watch([()=>ie.value,()=>oe.defaultCheckedKeys],()=>nextTick(()=>{vn(oe.defaultCheckedKeys)}),{immediate:!0});const pe=()=>{if(!ie.value||!oe.showCheckbox||oe.checkStrictly)return;const{levelTreeNodeMap:_n,maxLevel:bn}=ie.value,Sn=le.value,Cn=new Set;for(let En=bn-1;En>=1;--En){const wn=_n.get(En);wn&&wn.forEach(xn=>{const kn=xn.children;if(kn){let Pn=!0,An=!1;for(const In of kn){const Nn=In.key;if(Sn.has(Nn))An=!0;else if(Cn.has(Nn)){Pn=!1,An=!0;break}else Pn=!1}Pn?Sn.add(xn.key):An?(Cn.add(xn.key),Sn.delete(xn.key)):(Sn.delete(xn.key),Cn.delete(xn.key))}})}ue.value=Cn},he=_n=>le.value.has(_n.key),_e=_n=>ue.value.has(_n.key),$e=(_n,bn,Sn=!0)=>{const Cn=le.value,En=(wn,xn)=>{Cn[xn?SetOperationEnum.ADD:SetOperationEnum.DELETE](wn.key);const kn=wn.children;!oe.checkStrictly&&kn&&kn.forEach(Pn=>{Pn.disabled||En(Pn,xn)})};En(_n,bn),pe(),Sn&&Ie(_n,bn)},Ie=(_n,bn)=>{const{checkedNodes:Sn,checkedKeys:Cn}=Et(),{halfCheckedNodes:En,halfCheckedKeys:wn}=At();de(NODE_CHECK,_n.data,{checkedKeys:Cn,checkedNodes:Sn,halfCheckedKeys:wn,halfCheckedNodes:En}),de(NODE_CHECK_CHANGE,_n.data,bn)};function Ve(_n=!1){return Et(_n).checkedKeys}function Fe(_n=!1){return Et(_n).checkedNodes}function Ue(){return At().halfCheckedKeys}function qe(){return At().halfCheckedNodes}function Et(_n=!1){const bn=[],Sn=[];if(ie!=null&&ie.value&&oe.showCheckbox){const{treeNodeMap:Cn}=ie.value;le.value.forEach(En=>{const wn=Cn.get(En);wn&&(!_n||_n&&wn.isLeaf)&&(Sn.push(En),bn.push(wn.data))})}return{checkedKeys:Sn,checkedNodes:bn}}function At(){const _n=[],bn=[];if(ie!=null&&ie.value&&oe.showCheckbox){const{treeNodeMap:Sn}=ie.value;ue.value.forEach(Cn=>{const En=Sn.get(Cn);En&&(bn.push(Cn),_n.push(En.data))})}return{halfCheckedNodes:_n,halfCheckedKeys:bn}}function Lt(_n){le.value.clear(),ue.value.clear(),vn(_n)}function hn(_n,bn){if(ie!=null&&ie.value&&oe.showCheckbox){const Sn=ie.value.treeNodeMap.get(_n);Sn&&$e(Sn,bn,!1)}}function vn(_n){if(ie!=null&&ie.value){const{treeNodeMap:bn}=ie.value;if(oe.showCheckbox&&bn&&_n)for(const Sn of _n){const Cn=bn.get(Sn);Cn&&!he(Cn)&&$e(Cn,!0,!1)}}}return{updateCheckedKeys:pe,toggleCheckbox:$e,isChecked:he,isIndeterminate:_e,getCheckedKeys:Ve,getCheckedNodes:Fe,getHalfCheckedKeys:Ue,getHalfCheckedNodes:qe,setChecked:hn,setCheckedKeys:Lt}}function useFilter(oe,ie){const le=ref(new Set([])),ue=ref(new Set([])),de=computed(()=>isFunction$5(oe.filterMethod));function pe(_e){var $e;if(!de.value)return;const Ie=new Set,Ve=ue.value,Fe=le.value,Ue=[],qe=(($e=ie.value)==null?void 0:$e.treeNodes)||[],Et=oe.filterMethod;Fe.clear();function At(Lt){Lt.forEach(hn=>{Ue.push(hn),Et!=null&&Et(_e,hn.data)?Ue.forEach(_n=>{Ie.add(_n.key)}):hn.isLeaf&&Fe.add(hn.key);const vn=hn.children;if(vn&&At(vn),!hn.isLeaf){if(!Ie.has(hn.key))Fe.add(hn.key);else if(vn){let _n=!0;for(const bn of vn)if(!Fe.has(bn.key)){_n=!1;break}_n?Ve.add(hn.key):Ve.delete(hn.key)}}Ue.pop()})}return At(qe),Ie}function he(_e){return ue.value.has(_e.key)}return{hiddenExpandIconKeySet:ue,hiddenNodeKeySet:le,doFilter:pe,isForceHiddenExpandIcon:he}}function useTree(oe,ie){const le=ref(new Set(oe.defaultExpandedKeys)),ue=ref(),de=shallowRef();watch(()=>oe.currentNodeKey,Yn=>{ue.value=Yn},{immediate:!0}),watch(()=>oe.data,Yn=>{ir(Yn)},{immediate:!0});const{isIndeterminate:pe,isChecked:he,toggleCheckbox:_e,getCheckedKeys:$e,getCheckedNodes:Ie,getHalfCheckedKeys:Ve,getHalfCheckedNodes:Fe,setChecked:Ue,setCheckedKeys:qe}=useCheck(oe,de),{doFilter:Et,hiddenNodeKeySet:At,isForceHiddenExpandIcon:Lt}=useFilter(oe,de),hn=computed(()=>{var Yn;return((Yn=oe.props)==null?void 0:Yn.value)||TreeOptionsEnum.KEY}),vn=computed(()=>{var Yn;return((Yn=oe.props)==null?void 0:Yn.children)||TreeOptionsEnum.CHILDREN}),_n=computed(()=>{var Yn;return((Yn=oe.props)==null?void 0:Yn.disabled)||TreeOptionsEnum.DISABLED}),bn=computed(()=>{var Yn;return((Yn=oe.props)==null?void 0:Yn.label)||TreeOptionsEnum.LABEL}),Sn=computed(()=>{const Yn=le.value,Xn=At.value,or=[],_r=de.value&&de.value.treeNodes||[];function Kn(){const er=[];for(let ar=_r.length-1;ar>=0;--ar)er.push(_r[ar]);for(;er.length;){const ar=er.pop();if(ar&&(Xn.has(ar.key)||or.push(ar),Yn.has(ar.key))){const gr=ar.children;if(gr){const Er=gr.length;for(let cr=Er-1;cr>=0;--cr)er.push(gr[cr])}}}}return Kn(),or}),Cn=computed(()=>Sn.value.length>0);function En(Yn){const Xn=new Map,or=new Map;let _r=1;function Kn(ar,gr=1,Er=void 0){var cr;const Ar=[];for(const br of ar){const kr=kn(br),mr={level:gr,key:kr,data:br};mr.label=An(br),mr.parent=Er;const ur=xn(br);mr.disabled=Pn(br),mr.isLeaf=!ur||ur.length===0,ur&&ur.length&&(mr.children=Kn(ur,gr+1,mr)),Ar.push(mr),Xn.set(kr,mr),or.has(gr)||or.set(gr,[]),(cr=or.get(gr))==null||cr.push(mr)}return gr>_r&&(_r=gr),Ar}const er=Kn(Yn);return{treeNodeMap:Xn,levelTreeNodeMap:or,maxLevel:_r,treeNodes:er}}function wn(Yn){const Xn=Et(Yn);Xn&&(le.value=Xn)}function xn(Yn){return Yn[vn.value]}function kn(Yn){return Yn?Yn[hn.value]:""}function Pn(Yn){return Yn[_n.value]}function An(Yn){return Yn[bn.value]}function In(Yn){le.value.has(Yn.key)?Ln(Yn):Fn(Yn)}function Nn(Yn){le.value=new Set(Yn)}function Un(Yn,Xn){ie(NODE_CLICK,Yn.data,Yn,Xn),Vn(Yn),oe.expandOnClickNode&&In(Yn),oe.showCheckbox&&oe.checkOnClickNode&&!Yn.disabled&&_e(Yn,!he(Yn),!0)}function Vn(Yn){Gn(Yn)||(ue.value=Yn.key,ie(CURRENT_CHANGE,Yn.data,Yn))}function Mn(Yn,Xn){_e(Yn,Xn)}function Fn(Yn){const Xn=le.value;if(de.value&&oe.accordion){const{treeNodeMap:or}=de.value;Xn.forEach(_r=>{const Kn=or.get(_r);Yn&&Yn.level===(Kn==null?void 0:Kn.level)&&Xn.delete(_r)})}Xn.add(Yn.key),ie(NODE_EXPAND,Yn.data,Yn)}function Ln(Yn){le.value.delete(Yn.key),ie(NODE_COLLAPSE,Yn.data,Yn)}function jn(Yn){return le.value.has(Yn.key)}function Zn(Yn){return!!Yn.disabled}function Gn(Yn){const Xn=ue.value;return!!Xn&&Xn===Yn.key}function Jn(){var Yn,Xn;if(ue.value)return(Xn=(Yn=de.value)==null?void 0:Yn.treeNodeMap.get(ue.value))==null?void 0:Xn.data}function lr(){return ue.value}function yr(Yn){ue.value=Yn}function ir(Yn){nextTick(()=>de.value=En(Yn))}function qn(Yn){var Xn;const or=isObject$9(Yn)?kn(Yn):Yn;return(Xn=de.value)==null?void 0:Xn.treeNodeMap.get(or)}return{tree:de,flattenTree:Sn,isNotEmpty:Cn,getKey:kn,getChildren:xn,toggleExpand:In,toggleCheckbox:_e,isExpanded:jn,isChecked:he,isIndeterminate:pe,isDisabled:Zn,isCurrent:Gn,isForceHiddenExpandIcon:Lt,handleNodeClick:Un,handleNodeCheck:Mn,getCurrentNode:Jn,getCurrentKey:lr,setCurrentKey:yr,getCheckedKeys:$e,getCheckedNodes:Ie,getHalfCheckedKeys:Ve,getHalfCheckedNodes:Fe,setChecked:Ue,setCheckedKeys:qe,filter:wn,setData:ir,getNode:qn,expandNode:Fn,collapseNode:Ln,setExpandedKeys:Nn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(oe){const ie=inject(ROOT_TREE_INJECTION_KEY),le=useNamespace("tree");return()=>{const ue=oe.node,{data:de}=ue;return ie!=null&&ie.ctx.slots.default?ie.ctx.slots.default({node:ue,data:de}):h$3("span",{class:le.be("node","label")},[ue==null?void 0:ue.label])}}});const _hoisted_1$8=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$7=defineComponent({name:"ElTreeNode"}),_sfc_main$a=defineComponent({...__default__$7,props:treeNodeProps,emits:treeNodeEmits,setup(oe,{emit:ie}){const le=oe,ue=inject(ROOT_TREE_INJECTION_KEY),de=useNamespace("tree"),pe=computed(()=>{var Fe;return(Fe=ue==null?void 0:ue.props.indent)!=null?Fe:16}),he=computed(()=>{var Fe;return(Fe=ue==null?void 0:ue.props.icon)!=null?Fe:caret_right_default}),_e=Fe=>{ie("click",le.node,Fe)},$e=()=>{ie("toggle",le.node)},Ie=Fe=>{ie("check",le.node,Fe)},Ve=Fe=>{var Ue,qe,Et,At;(Et=(qe=(Ue=ue==null?void 0:ue.instance)==null?void 0:Ue.vnode)==null?void 0:qe.props)!=null&&Et.onNodeContextmenu&&(Fe.stopPropagation(),Fe.preventDefault()),ue==null||ue.ctx.emit(NODE_CONTEXTMENU,Fe,(At=le.node)==null?void 0:At.data,le.node)};return(Fe,Ue)=>{var qe,Et,At;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(de).b("node"),unref(de).is("expanded",Fe.expanded),unref(de).is("current",Fe.current),unref(de).is("focusable",!Fe.disabled),unref(de).is("checked",!Fe.disabled&&Fe.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":Fe.expanded,"aria-disabled":Fe.disabled,"aria-checked":Fe.checked,"data-key":(qe=Fe.node)==null?void 0:qe.key,onClick:withModifiers(_e,["stop"]),onContextmenu:Ve},[createBaseVNode("div",{class:normalizeClass(unref(de).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(Fe.node.level-1)*unref(pe)}px`,height:Fe.itemSize+"px"})},[unref(he)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(de).is("leaf",!!((Et=Fe.node)!=null&&Et.isLeaf)),unref(de).is("hidden",Fe.hiddenExpandIcon),{expanded:!((At=Fe.node)!=null&&At.isLeaf)&&Fe.expanded},unref(de).be("node","expand-icon")]),onClick:withModifiers($e,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(he))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),Fe.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":Fe.checked,indeterminate:Fe.indeterminate,disabled:Fe.disabled,onChange:Ie,onClick:Ue[0]||(Ue[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode(unref(ElNodeContent),{node:Fe.node},null,8,["node"])],6)],42,_hoisted_1$8)}}});var ElTreeNode=_export_sfc$1(_sfc_main$a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const __default__$6=defineComponent({name:"ElTreeV2"}),_sfc_main$9=defineComponent({...__default__$6,props:treeProps,emits:treeEmits,setup(oe,{expose:ie,emit:le}){const ue=oe,de=useSlots(),pe=computed(()=>ue.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:le,slots:de},props:ue,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:he}=useLocale(),_e=useNamespace("tree"),{flattenTree:$e,isNotEmpty:Ie,toggleExpand:Ve,isExpanded:Fe,isIndeterminate:Ue,isChecked:qe,isDisabled:Et,isCurrent:At,isForceHiddenExpandIcon:Lt,handleNodeClick:hn,handleNodeCheck:vn,toggleCheckbox:_n,getCurrentNode:bn,getCurrentKey:Sn,setCurrentKey:Cn,getCheckedKeys:En,getCheckedNodes:wn,getHalfCheckedKeys:xn,getHalfCheckedNodes:kn,setChecked:Pn,setCheckedKeys:An,filter:In,setData:Nn,getNode:Un,expandNode:Vn,collapseNode:Mn,setExpandedKeys:Fn}=useTree(ue,le);return ie({toggleCheckbox:_n,getCurrentNode:bn,getCurrentKey:Sn,setCurrentKey:Cn,getCheckedKeys:En,getCheckedNodes:wn,getHalfCheckedKeys:xn,getHalfCheckedNodes:kn,setChecked:Pn,setCheckedKeys:An,filter:In,setData:Nn,getNode:Un,expandNode:Vn,collapseNode:Mn,setExpandedKeys:Fn}),(Ln,jn)=>{var Zn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(_e).b(),{[unref(_e).m("highlight-current")]:Ln.highlightCurrent}]),role:"tree"},[unref(Ie)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(_e).b("virtual-list"),data:unref($e),total:unref($e).length,height:Ln.height,"item-size":unref(pe),"perf-mode":Ln.perfMode},{default:withCtx(({data:Gn,index:Jn,style:lr})=>[(openBlock(),createBlock(ElTreeNode,{key:Gn[Jn].key,style:normalizeStyle$1(lr),node:Gn[Jn],expanded:unref(Fe)(Gn[Jn]),"show-checkbox":Ln.showCheckbox,checked:unref(qe)(Gn[Jn]),indeterminate:unref(Ue)(Gn[Jn]),"item-size":unref(pe),disabled:unref(Et)(Gn[Jn]),current:unref(At)(Gn[Jn]),"hidden-expand-icon":unref(Lt)(Gn[Jn]),onClick:unref(hn),onToggle:unref(Ve),onCheck:unref(vn)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(_e).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(_e).e("empty-text"))},toDisplayString$1((Zn=Ln.emptyText)!=null?Zn:unref(he)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(ie,le,ue,de){super(ie),this.name="UploadAjaxError",this.status=le,this.method=ue,this.url=de}}function getError(oe,ie,le){let ue;return le.response?ue=`${le.response.error||le.response}`:le.responseText?ue=`${le.responseText}`:ue=`fail to ${ie.method} ${oe} ${le.status}`,new UploadAjaxError(ue,le.status,ie.method,oe)}function getBody(oe){const ie=oe.responseText||oe.response;if(!ie)return ie;try{return JSON.parse(ie)}catch{return ie}}const ajaxUpload=oe=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const ie=new XMLHttpRequest,le=oe.action;ie.upload&&ie.upload.addEventListener("progress",pe=>{const he=pe;he.percent=pe.total>0?pe.loaded/pe.total*100:0,oe.onProgress(he)});const ue=new FormData;if(oe.data)for(const[pe,he]of Object.entries(oe.data))Array.isArray(he)?ue.append(pe,...he):ue.append(pe,he);ue.append(oe.filename,oe.file,oe.file.name),ie.addEventListener("error",()=>{oe.onError(getError(le,oe,ie))}),ie.addEventListener("load",()=>{if(ie.status<200||ie.status>=300)return oe.onError(getError(le,oe,ie));oe.onSuccess(getBody(ie))}),ie.open(oe.method,le,!0),oe.withCredentials&&"withCredentials"in ie&&(ie.withCredentials=!0);const de=oe.headers||{};if(de instanceof Headers)de.forEach((pe,he)=>ie.setRequestHeader(he,pe));else for(const[pe,he]of Object.entries(de))isNil(he)||ie.setRequestHeader(pe,String(he));return ie.send(ue),ie},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"}}),uploadListEmits={remove:oe=>!!oe},_hoisted_1$7=["onKeydown"],_hoisted_2$6=["src"],_hoisted_3$4=["onClick"],_hoisted_4$2=["onClick"],_hoisted_5=["onClick"],__default__$5=defineComponent({name:"ElUploadList"}),_sfc_main$8=defineComponent({...__default__$5,props:uploadListProps,emits:uploadListEmits,setup(oe,{emit:ie}){const{t:le}=useLocale(),ue=useNamespace("upload"),de=useNamespace("icon"),pe=useNamespace("list"),he=useFormDisabled(),_e=ref(!1),$e=Ie=>{ie("remove",Ie)};return(Ie,Ve)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass([unref(ue).b("list"),unref(ue).bm("list",Ie.listType),unref(ue).is("disabled",unref(he))]),name:unref(pe).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.files,Fe=>(openBlock(),createElementBlock("li",{key:Fe.uid||Fe.name,class:normalizeClass([unref(ue).be("list","item"),unref(ue).is(Fe.status),{focusing:_e.value}]),tabindex:"0",onKeydown:withKeys(Ue=>!unref(he)&&$e(Fe),["delete"]),onFocus:Ve[0]||(Ve[0]=Ue=>_e.value=!0),onBlur:Ve[1]||(Ve[1]=Ue=>_e.value=!1),onClick:Ve[2]||(Ve[2]=Ue=>_e.value=!1)},[renderSlot(Ie.$slots,"default",{file:Fe},()=>[Ie.listType==="picture"||Fe.status!=="uploading"&&Ie.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(ue).be("list","item-thumbnail")),src:Fe.url,alt:""},null,10,_hoisted_2$6)):createCommentVNode("v-if",!0),Fe.status==="uploading"||Ie.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(ue).be("list","item-name")),onClick:withModifiers(Ue=>Ie.handlePreview(Fe),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(de).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(ue).be("list","item-file-name"))},toDisplayString$1(Fe.name),3)],10,_hoisted_3$4),Fe.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:Ie.listType==="picture-card"?"circle":"line","stroke-width":Ie.listType==="picture-card"?6:2,percentage:Number(Fe.percentage),style:normalizeStyle$1(Ie.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(ue).be("list","item-status-label"))},[Ie.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(de).m("upload-success"),unref(de).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(Ie.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(de).m("upload-success"),unref(de).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(he)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(de).m("close")),onClick:Ue=>$e(Fe)},{default:withCtx(()=>[createVNode(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(he)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(de).m("close-tip"))},toDisplayString$1(unref(le)("el.upload.deleteTip")),3)),Ie.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(ue).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(ue).be("list","item-preview")),onClick:Ue=>Ie.handlePreview(Fe)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(de).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_4$2),unref(he)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ue).be("list","item-delete")),onClick:Ue=>$e(Fe)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(de).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_5))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$7))),128)),renderSlot(Ie.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:oe=>isArray$c(oe)},_hoisted_1$6=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$4=defineComponent({name:COMPONENT_NAME}),_sfc_main$7=defineComponent({...__default__$4,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(oe,{emit:ie}){const le=inject(uploadContextKey);le||throwError$1(COMPONENT_NAME,"usage: <el-upload><el-upload-dragger /></el-upload>");const ue=useNamespace("upload"),de=ref(!1),pe=useFormDisabled(),he=$e=>{if(pe.value)return;de.value=!1,$e.stopPropagation();const Ie=Array.from($e.dataTransfer.files),Ve=le.accept.value;if(!Ve){ie("file",Ie);return}const Fe=Ie.filter(Ue=>{const{type:qe,name:Et}=Ue,At=Et.includes(".")?`.${Et.split(".").pop()}`:"",Lt=qe.replace(/\/.*$/,"");return Ve.split(",").map(hn=>hn.trim()).filter(hn=>hn).some(hn=>hn.startsWith(".")?At===hn:/\/\*$/.test(hn)?Lt===hn.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(hn)?qe===hn:!1)});ie("file",Fe)},_e=()=>{pe.value||(de.value=!0)};return($e,Ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b("dragger"),unref(ue).is("dragover",de.value)]),onDrop:withModifiers(he,["prevent"]),onDragover:withModifiers(_e,["prevent"]),onDragleave:Ie[0]||(Ie[0]=withModifiers(Ve=>de.value=!1,["prevent"]))},[renderSlot($e.$slots,"default")],42,_hoisted_1$6))}});var UploadDragger=_export_sfc$1(_sfc_main$7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$5=["onKeydown"],_hoisted_2$5=["name","multiple","accept"],__default__$3=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$6=defineComponent({...__default__$3,props:uploadContentProps,setup(oe,{expose:ie}){const le=oe,ue=useNamespace("upload"),de=useFormDisabled(),pe=shallowRef({}),he=shallowRef(),_e=Et=>{if(Et.length===0)return;const{autoUpload:At,limit:Lt,fileList:hn,multiple:vn,onStart:_n,onExceed:bn}=le;if(Lt&&hn.length+Et.length>Lt){bn(Et,hn);return}vn||(Et=Et.slice(0,1));for(const Sn of Et){const Cn=Sn;Cn.uid=genFileId(),_n(Cn),At&&$e(Cn)}},$e=async Et=>{if(he.value.value="",!le.beforeUpload)return Ie(Et);let At,Lt={};try{const vn=le.data,_n=le.beforeUpload(Et);Lt=isObject$9(le.data)?cloneDeep(le.data):le.data,At=await _n,isObject$9(le.data)&&isEqual$1(vn,Lt)&&(Lt=cloneDeep(le.data))}catch{At=!1}if(At===!1){le.onRemove(Et);return}let hn=Et;At instanceof Blob&&(At instanceof File?hn=At:hn=new File([At],Et.name,{type:Et.type})),Ie(Object.assign(hn,{uid:Et.uid}),Lt)},Ie=(Et,At)=>{const{headers:Lt,data:hn,method:vn,withCredentials:_n,name:bn,action:Sn,onProgress:Cn,onSuccess:En,onError:wn,httpRequest:xn}=le,{uid:kn}=Et,Pn={headers:Lt||{},withCredentials:_n,file:Et,data:At??hn,method:vn,filename:bn,action:Sn,onProgress:In=>{Cn(In,Et)},onSuccess:In=>{En(In,Et),delete pe.value[kn]},onError:In=>{wn(In,Et),delete pe.value[kn]}},An=xn(Pn);pe.value[kn]=An,An instanceof Promise&&An.then(Pn.onSuccess,Pn.onError)},Ve=Et=>{const At=Et.target.files;At&&_e(Array.from(At))},Fe=()=>{de.value||(he.value.value="",he.value.click())},Ue=()=>{Fe()};return ie({abort:Et=>{entriesOf(pe.value).filter(Et?([Lt])=>String(Et.uid)===Lt:()=>!0).forEach(([Lt,hn])=>{hn instanceof XMLHttpRequest&&hn.abort(),delete pe.value[Lt]})},upload:$e}),(Et,At)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b(),unref(ue).m(Et.listType),unref(ue).is("drag",Et.drag)]),tabindex:"0",onClick:Fe,onKeydown:withKeys(withModifiers(Ue,["self"]),["enter","space"])},[Et.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(de),onFile:_e},{default:withCtx(()=>[renderSlot(Et.$slots,"default")]),_:3},8,["disabled"])):renderSlot(Et.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:he,class:normalizeClass(unref(ue).e("input")),name:Et.name,multiple:Et.multiple,accept:Et.accept,type:"file",onChange:Ve,onClick:At[0]||(At[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$5)],42,_hoisted_1$5))}});var UploadContent=_export_sfc$1(_sfc_main$6,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeObjectURL=oe=>{var ie;(ie=oe.url)!=null&&ie.startsWith("blob:")&&URL.revokeObjectURL(oe.url)},useHandlers=(oe,ie)=>{const le=useVModel$1(oe,"fileList",void 0,{passive:!0}),ue=Ue=>le.value.find(qe=>qe.uid===Ue.uid);function de(Ue){var qe;(qe=ie.value)==null||qe.abort(Ue)}function pe(Ue=["ready","uploading","success","fail"]){le.value=le.value.filter(qe=>!Ue.includes(qe.status))}const he=(Ue,qe)=>{const Et=ue(qe);Et&&(console.error(Ue),Et.status="fail",le.value.splice(le.value.indexOf(Et),1),oe.onError(Ue,Et,le.value),oe.onChange(Et,le.value))},_e=(Ue,qe)=>{const Et=ue(qe);Et&&(oe.onProgress(Ue,Et,le.value),Et.status="uploading",Et.percentage=Math.round(Ue.percent))},$e=(Ue,qe)=>{const Et=ue(qe);Et&&(Et.status="success",Et.response=Ue,oe.onSuccess(Ue,Et,le.value),oe.onChange(Et,le.value))},Ie=Ue=>{isNil(Ue.uid)&&(Ue.uid=genFileId());const qe={name:Ue.name,percentage:0,status:"ready",size:Ue.size,raw:Ue,uid:Ue.uid};if(oe.listType==="picture-card"||oe.listType==="picture")try{qe.url=URL.createObjectURL(Ue)}catch(Et){Et.message,oe.onError(Et,qe,le.value)}le.value=[...le.value,qe],oe.onChange(qe,le.value)},Ve=async Ue=>{const qe=Ue instanceof File?ue(Ue):Ue;qe||throwError$1(SCOPE$1,"file to be removed not found");const Et=At=>{de(At);const Lt=le.value;Lt.splice(Lt.indexOf(At),1),oe.onRemove(At,Lt),revokeObjectURL(At)};oe.beforeRemove?await oe.beforeRemove(qe,le.value)!==!1&&Et(qe):Et(qe)};function Fe(){le.value.filter(({status:Ue})=>Ue==="ready").forEach(({raw:Ue})=>{var qe;return Ue&&((qe=ie.value)==null?void 0:qe.upload(Ue))})}return watch(()=>oe.listType,Ue=>{Ue!=="picture-card"&&Ue!=="picture"||(le.value=le.value.map(qe=>{const{raw:Et,url:At}=qe;if(!At&&Et)try{qe.url=URL.createObjectURL(Et)}catch(Lt){oe.onError(Lt,qe,le.value)}return qe}))}),watch(le,Ue=>{for(const qe of Ue)qe.uid||(qe.uid=genFileId()),qe.status||(qe.status="success")},{immediate:!0,deep:!0}),{uploadFiles:le,abort:de,clearFiles:pe,handleError:he,handleProgress:_e,handleStart:Ie,handleSuccess:$e,handleRemove:Ve,submit:Fe}},__default__$2=defineComponent({name:"ElUpload"}),_sfc_main$5=defineComponent({...__default__$2,props:uploadProps,setup(oe,{expose:ie}){const le=oe,ue=useSlots(),de=useFormDisabled(),pe=shallowRef(),{abort:he,submit:_e,clearFiles:$e,uploadFiles:Ie,handleStart:Ve,handleError:Fe,handleRemove:Ue,handleSuccess:qe,handleProgress:Et}=useHandlers(le,pe),At=computed(()=>le.listType==="picture-card"),Lt=computed(()=>({...le,fileList:Ie.value,onStart:Ve,onProgress:Et,onSuccess:qe,onError:Fe,onRemove:Ue}));return onBeforeUnmount(()=>{Ie.value.forEach(({url:hn})=>{hn!=null&&hn.startsWith("blob:")&&URL.revokeObjectURL(hn)})}),provide(uploadContextKey,{accept:toRef$1(le,"accept")}),ie({abort:he,submit:_e,clearFiles:$e,handleStart:Ve,handleRemove:Ue}),(hn,vn)=>(openBlock(),createElementBlock("div",null,[unref(At)&&hn.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(de),"list-type":hn.listType,files:unref(Ie),"handle-preview":hn.onPreview,onRemove:unref(Ue)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:pe},unref(Lt)),{default:withCtx(()=>[unref(ue).trigger?renderSlot(hn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(ue).trigger&&unref(ue).default?renderSlot(hn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[hn.$slots.file?{name:"default",fn:withCtx(({file:_n})=>[renderSlot(hn.$slots,"file",{file:_n})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(At)||unref(At)&&!hn.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:pe},unref(Lt)),{default:withCtx(()=>[unref(ue).trigger?renderSlot(hn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(ue).trigger&&unref(ue).default?renderSlot(hn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),hn.$slots.trigger?renderSlot(hn.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(hn.$slots,"tip"),!unref(At)&&hn.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(de),"list-type":hn.listType,files:unref(Ie),"handle-preview":hn.onPreview,onRemove:unref(Ue)},createSlots({_:2},[hn.$slots.file?{name:"default",fn:withCtx(({file:_n})=>[renderSlot(hn.$slots,"file",{file:_n})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$5,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const ElUpload=withInstall(Upload);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(oe,ie)=>Object.entries(attributes).reduce((le,[ue,de])=>{var pe,he;const{type:_e,default:$e}=de,Ie=oe.getAttribute(`infinite-scroll-${ue}`);let Ve=(he=(pe=ie[Ie])!=null?pe:Ie)!=null?he:$e;return Ve=Ve==="false"?!1:Ve,Ve=_e(Ve),le[ue]=Number.isNaN(Ve)?$e:Ve,le},{}),destroyObserver=oe=>{const{observer:ie}=oe[SCOPE];ie&&(ie.disconnect(),delete oe[SCOPE].observer)},handleScroll=(oe,ie)=>{const{container:le,containerEl:ue,instance:de,observer:pe,lastScrollTop:he}=oe[SCOPE],{disabled:_e,distance:$e}=getScrollOptions(oe,de),{clientHeight:Ie,scrollHeight:Ve,scrollTop:Fe}=ue,Ue=Fe-he;if(oe[SCOPE].lastScrollTop=Fe,pe||_e||Ue<0)return;let qe=!1;if(le===oe)qe=Ve-(Ie+Fe)<=$e;else{const{clientTop:Et,scrollHeight:At}=oe,Lt=getOffsetTopDistance(oe,ue);qe=Fe+Ie>=Lt+Et+At-$e}qe&&ie.call(de)};function checkFull(oe,ie){const{containerEl:le,instance:ue}=oe[SCOPE],{disabled:de}=getScrollOptions(oe,ue);de||le.clientHeight===0||(le.scrollHeight<=le.clientHeight?ie.call(ue):destroyObserver(oe))}const InfiniteScroll={async mounted(oe,ie){const{instance:le,value:ue}=ie;isFunction$5(ue)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:de,immediate:pe}=getScrollOptions(oe,le),he=getScrollContainer(oe,!0),_e=he===window?document.documentElement:he,$e=throttle$1(handleScroll.bind(null,oe,ue),de);if(he){if(oe[SCOPE]={instance:le,container:he,containerEl:_e,delay:de,cb:ue,onScroll:$e,lastScrollTop:_e.scrollTop},pe){const Ie=new MutationObserver(throttle$1(checkFull.bind(null,oe,ue),CHECK_INTERVAL));oe[SCOPE].observer=Ie,Ie.observe(oe,{childList:!0,subtree:!0}),checkFull(oe,ue)}he.addEventListener("scroll",$e)}},unmounted(oe){const{container:ie,onScroll:le}=oe[SCOPE];ie==null||ie.removeEventListener("scroll",le),destroyObserver(oe)},async updated(oe){if(!oe[SCOPE])await nextTick();else{const{containerEl:ie,cb:le,observer:ue}=oe[SCOPE];ie.clientHeight&&ue&&checkFull(oe,le)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=oe=>{oe.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(oe){let ie;const le=ref(!1),ue=reactive({...oe,originalPosition:"",originalOverflow:"",visible:!1});function de(Ue){ue.text=Ue}function pe(){const Ue=ue.parent,qe=Fe.ns;if(!Ue.vLoadingAddClassList){let Et=Ue.getAttribute("loading-number");Et=Number.parseInt(Et)-1,Et?Ue.setAttribute("loading-number",Et.toString()):(removeClass(Ue,qe.bm("parent","relative")),Ue.removeAttribute("loading-number")),removeClass(Ue,qe.bm("parent","hidden"))}he(),Ve.unmount()}function he(){var Ue,qe;(qe=(Ue=Fe.$el)==null?void 0:Ue.parentNode)==null||qe.removeChild(Fe.$el)}function _e(){var Ue;oe.beforeClose&&!oe.beforeClose()||(le.value=!0,clearTimeout(ie),ie=window.setTimeout($e,400),ue.visible=!1,(Ue=oe.closed)==null||Ue.call(oe))}function $e(){if(!le.value)return;const Ue=ue.parent;le.value=!1,Ue.vLoadingAddClassList=void 0,pe()}const Ie=defineComponent({name:"ElLoading",setup(Ue,{expose:qe}){const{ns:Et,zIndex:At}=useGlobalComponentSettings("loading");return qe({ns:Et,zIndex:At}),()=>{const Lt=ue.spinner||ue.svg,hn=h$3("svg",{class:"circular",viewBox:ue.svgViewBox?ue.svgViewBox:"0 0 50 50",...Lt?{innerHTML:Lt}:{}},[h$3("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),vn=ue.text?h$3("p",{class:Et.b("text")},[ue.text]):void 0;return h$3(Transition,{name:Et.b("fade"),onAfterLeave:$e},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:ue.background||""},class:[Et.b("mask"),ue.customClass,ue.fullscreen?"is-fullscreen":""]},[h$3("div",{class:Et.b("spinner")},[hn,vn])]),[[vShow,ue.visible]])])})}}}),Ve=createApp(Ie),Fe=Ve.mount(document.createElement("div"));return{...toRefs(ue),setText:de,removeElLoadingChild:he,close:_e,handleAfterLeave:$e,vm:Fe,get $el(){return Fe.$el}}}let fullscreenInstance;const Loading=function(oe={}){if(!isClient$1)return;const ie=resolveOptions(oe);if(ie.fullscreen&&fullscreenInstance)return fullscreenInstance;const le=createLoadingComponent({...ie,closed:()=>{var de;(de=ie.closed)==null||de.call(ie),ie.fullscreen&&(fullscreenInstance=void 0)}});addStyle(ie,ie.parent,le),addClassList(ie,ie.parent,le),ie.parent.vLoadingAddClassList=()=>addClassList(ie,ie.parent,le);let ue=ie.parent.getAttribute("loading-number");return ue?ue=`${Number.parseInt(ue)+1}`:ue="1",ie.parent.setAttribute("loading-number",ue),ie.parent.appendChild(le.$el),nextTick(()=>le.visible.value=ie.visible),ie.fullscreen&&(fullscreenInstance=le),le},resolveOptions=oe=>{var ie,le,ue,de;let pe;return isString$6(oe.target)?pe=(ie=document.querySelector(oe.target))!=null?ie:document.body:pe=oe.target||document.body,{parent:pe===document.body||oe.body?document.body:pe,background:oe.background||"",svg:oe.svg||"",svgViewBox:oe.svgViewBox||"",spinner:oe.spinner||!1,text:oe.text||"",fullscreen:pe===document.body&&((le=oe.fullscreen)!=null?le:!0),lock:(ue=oe.lock)!=null?ue:!1,customClass:oe.customClass||"",visible:(de=oe.visible)!=null?de:!0,target:pe}},addStyle=async(oe,ie,le)=>{const{nextZIndex:ue}=le.vm.zIndex||le.vm._.exposed.zIndex,de={};if(oe.fullscreen)le.originalPosition.value=getStyle$1(document.body,"position"),le.originalOverflow.value=getStyle$1(document.body,"overflow"),de.zIndex=ue();else if(oe.parent===document.body){le.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const pe of["top","left"]){const he=pe==="top"?"scrollTop":"scrollLeft";de[pe]=`${oe.target.getBoundingClientRect()[pe]+document.body[he]+document.documentElement[he]-Number.parseInt(getStyle$1(document.body,`margin-${pe}`),10)}px`}for(const pe of["height","width"])de[pe]=`${oe.target.getBoundingClientRect()[pe]}px`}else le.originalPosition.value=getStyle$1(ie,"position");for(const[pe,he]of Object.entries(de))le.$el.style[pe]=he},addClassList=(oe,ie,le)=>{const ue=le.vm.ns||le.vm._.exposed.ns;["absolute","fixed","sticky"].includes(le.originalPosition.value)?removeClass(ie,ue.bm("parent","relative")):addClass(ie,ue.bm("parent","relative")),oe.fullscreen&&oe.lock?addClass(ie,ue.bm("parent","hidden")):removeClass(ie,ue.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(oe,ie)=>{var le,ue,de,pe;const he=ie.instance,_e=Ue=>isObject$9(ie.value)?ie.value[Ue]:void 0,$e=Ue=>{const qe=isString$6(Ue)&&(he==null?void 0:he[Ue])||Ue;return qe&&ref(qe)},Ie=Ue=>$e(_e(Ue)||oe.getAttribute(`element-loading-${hyphenate(Ue)}`)),Ve=(le=_e("fullscreen"))!=null?le:ie.modifiers.fullscreen,Fe={text:Ie("text"),svg:Ie("svg"),svgViewBox:Ie("svgViewBox"),spinner:Ie("spinner"),background:Ie("background"),customClass:Ie("customClass"),fullscreen:Ve,target:(ue=_e("target"))!=null?ue:Ve?void 0:oe,body:(de=_e("body"))!=null?de:ie.modifiers.body,lock:(pe=_e("lock"))!=null?pe:ie.modifiers.lock};oe[INSTANCE_KEY]={options:Fe,instance:Loading(Fe)}},updateOptions=(oe,ie)=>{for(const le of Object.keys(ie))isRef(ie[le])&&(ie[le].value=oe[le])},vLoading={mounted(oe,ie){ie.value&&createInstance$1(oe,ie)},updated(oe,ie){const le=oe[INSTANCE_KEY];ie.oldValue!==ie.value&&(ie.value&&!ie.oldValue?createInstance$1(oe,ie):ie.value&&ie.oldValue?isObject$9(ie.value)&&updateOptions(ie.value,le.options):le==null||le.instance.close())},unmounted(oe){var ie;(ie=oe[INSTANCE_KEY])==null||ie.instance.close()}},ElLoading={install(oe){oe.directive("loading",vLoading),oe.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),required:!1},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances$2=shallowReactive([]),getInstance$1=oe=>{const ie=instances$2.findIndex(de=>de.id===oe),le=instances$2[ie];let ue;return ie>0&&(ue=instances$2[ie-1]),{current:le,prev:ue}},getLastOffset=oe=>{const{prev:ie}=getInstance$1(oe);return ie?ie.vm.exposed.bottom.value:0},getOffsetOrSpace=(oe,ie)=>instances$2.findIndex(ue=>ue.id===oe)>0?20:ie,_hoisted_1$4=["id"],_hoisted_2$4=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$4=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(oe,{expose:ie}){const le=oe,{Close:ue}=TypeComponents,{ns:de,zIndex:pe}=useGlobalComponentSettings("message"),{currentZIndex:he,nextZIndex:_e}=pe,$e=ref(),Ie=ref(!1),Ve=ref(0);let Fe;const Ue=computed(()=>le.type?le.type==="error"?"danger":le.type:"info"),qe=computed(()=>{const En=le.type;return{[de.bm("icon",En)]:En&&TypeComponentsMap[En]}}),Et=computed(()=>le.icon||TypeComponentsMap[le.type]||""),At=computed(()=>getLastOffset(le.id)),Lt=computed(()=>getOffsetOrSpace(le.id,le.offset)+At.value),hn=computed(()=>Ve.value+Lt.value),vn=computed(()=>({top:`${Lt.value}px`,zIndex:he.value}));function _n(){le.duration!==0&&({stop:Fe}=useTimeoutFn$1(()=>{Sn()},le.duration))}function bn(){Fe==null||Fe()}function Sn(){Ie.value=!1}function Cn({code:En}){En===EVENT_CODE.esc&&Sn()}return onMounted(()=>{_n(),_e(),Ie.value=!0}),watch(()=>le.repeatNum,()=>{bn(),_n()}),useEventListener$1(document,"keydown",Cn),useResizeObserver$1($e,()=>{Ve.value=$e.value.getBoundingClientRect().height}),ie({visible:Ie,bottom:hn,close:Sn}),(En,wn)=>(openBlock(),createBlock(Transition,{name:unref(de).b("fade"),onBeforeLeave:En.onClose,onAfterLeave:wn[0]||(wn[0]=xn=>En.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:En.id,ref_key:"messageRef",ref:$e,class:normalizeClass([unref(de).b(),{[unref(de).m(En.type)]:En.type&&!En.icon},unref(de).is("center",En.center),unref(de).is("closable",En.showClose),En.customClass]),style:normalizeStyle$1(unref(vn)),role:"alert",onMouseenter:bn,onMouseleave:_n},[En.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:En.repeatNum,type:unref(Ue),class:normalizeClass(unref(de).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(Et)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(de).e("icon"),unref(qe)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Et))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(En.$slots,"default",{},()=>[En.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(de).e("content")),innerHTML:En.message},null,10,_hoisted_2$4)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(de).e("content"))},toDisplayString$1(En.message),3))]),En.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(de).e("closeBtn")),onClick:withModifiers(Sn,["stop"])},{default:withCtx(()=>[createVNode(unref(ue))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$4),[[vShow,Ie.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$4,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed$1=1;const normalizeOptions=oe=>{const ie=!oe||isString$6(oe)||isVNode$1(oe)||isFunction$5(oe)?{message:oe}:oe,le={...messageDefaults,...ie};if(!le.appendTo)le.appendTo=document.body;else if(isString$6(le.appendTo)){let ue=document.querySelector(le.appendTo);isElement$1(ue)||(ue=document.body),le.appendTo=ue}return le},closeMessage=oe=>{const ie=instances$2.indexOf(oe);if(ie===-1)return;instances$2.splice(ie,1);const{handler:le}=oe;le.close()},createMessage=({appendTo:oe,...ie},le)=>{const ue=`message_${seed$1++}`,de=ie.onClose,pe=document.createElement("div"),he={...ie,id:ue,onClose:()=>{de==null||de(),closeMessage(Ve)},onDestroy:()=>{render$4(null,pe)}},_e=createVNode(MessageConstructor,he,isFunction$5(he.message)||isVNode$1(he.message)?{default:isFunction$5(he.message)?he.message:()=>he.message}:null);_e.appContext=le||message$1._context,render$4(_e,pe),oe.appendChild(pe.firstElementChild);const $e=_e.component,Ve={id:ue,vnode:_e,vm:$e,handler:{close:()=>{$e.exposed.visible.value=!1}},props:_e.component.props};return Ve},message$1=(oe={},ie)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$4(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const le=normalizeOptions(oe);if(le.grouping&&instances$2.length){const de=instances$2.find(({vnode:pe})=>{var he;return((he=pe.props)==null?void 0:he.message)===le.message});if(de)return de.props.repeatNum+=1,de.props.type=le.type,de.handler}const ue=createMessage(le,ie);return instances$2.push(ue),ue.handler};messageTypes.forEach(oe=>{message$1[oe]=(ie={},le)=>{const ue=normalizeOptions(ie);return message$1({...ue,type:oe},le)}});function closeAll$1(oe){for(const ie of instances$2)(!oe||oe===ie.props.type)&&ie.handler.close()}message$1.closeAll=closeAll$1;message$1._context=null;const ElMessage=withInstallFunction(message$1,"$message"),_sfc_main$3=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},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,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(oe,{emit:ie}){const{locale:le,zIndex:ue,ns:de,size:pe}=useGlobalComponentSettings("message-box",computed(()=>oe.buttonSize)),{t:he}=le,{nextZIndex:_e}=ue,$e=ref(!1),Ie=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:_e()}),Ve=computed(()=>{const Un=Ie.type;return{[de.bm("icon",Un)]:Un&&TypeComponentsMap[Un]}}),Fe=useId(),Ue=useId(),qe=computed(()=>Ie.icon||TypeComponentsMap[Ie.type]||""),Et=computed(()=>!!Ie.message),At=ref(),Lt=ref(),hn=ref(),vn=ref(),_n=ref(),bn=computed(()=>Ie.confirmButtonClass);watch(()=>Ie.inputValue,async Un=>{await nextTick(),oe.boxType==="prompt"&&Un!==null&&Pn()},{immediate:!0}),watch(()=>$e.value,Un=>{var Vn,Mn;Un&&(oe.boxType!=="prompt"&&(Ie.autofocus?hn.value=(Mn=(Vn=_n.value)==null?void 0:Vn.$el)!=null?Mn:At.value:hn.value=At.value),Ie.zIndex=_e()),oe.boxType==="prompt"&&(Un?nextTick().then(()=>{var Fn;vn.value&&vn.value.$el&&(Ie.autofocus?hn.value=(Fn=An())!=null?Fn:At.value:hn.value=At.value)}):(Ie.editorErrorMessage="",Ie.validateError=!1))});const Sn=computed(()=>oe.draggable);useDraggable(At,Lt,Sn),onMounted(async()=>{await nextTick(),oe.closeOnHashChange&&window.addEventListener("hashchange",Cn)}),onBeforeUnmount(()=>{oe.closeOnHashChange&&window.removeEventListener("hashchange",Cn)});function Cn(){$e.value&&($e.value=!1,nextTick(()=>{Ie.action&&ie("action",Ie.action)}))}const En=()=>{oe.closeOnClickModal&&kn(Ie.distinguishCancelAndClose?"close":"cancel")},wn=useSameTarget(En),xn=Un=>{if(Ie.inputType!=="textarea")return Un.preventDefault(),kn("confirm")},kn=Un=>{var Vn;oe.boxType==="prompt"&&Un==="confirm"&&!Pn()||(Ie.action=Un,Ie.beforeClose?(Vn=Ie.beforeClose)==null||Vn.call(Ie,Un,Ie,Cn):Cn())},Pn=()=>{if(oe.boxType==="prompt"){const Un=Ie.inputPattern;if(Un&&!Un.test(Ie.inputValue||""))return Ie.editorErrorMessage=Ie.inputErrorMessage||he("el.messagebox.error"),Ie.validateError=!0,!1;const Vn=Ie.inputValidator;if(typeof Vn=="function"){const Mn=Vn(Ie.inputValue);if(Mn===!1)return Ie.editorErrorMessage=Ie.inputErrorMessage||he("el.messagebox.error"),Ie.validateError=!0,!1;if(typeof Mn=="string")return Ie.editorErrorMessage=Mn,Ie.validateError=!0,!1}}return Ie.editorErrorMessage="",Ie.validateError=!1,!0},An=()=>{const Un=vn.value.$refs;return Un.input||Un.textarea},In=()=>{kn("close")},Nn=()=>{oe.closeOnPressEscape&&In()};return oe.lockScroll&&useLockscreen($e),{...toRefs(Ie),ns:de,overlayEvent:wn,visible:$e,hasMessage:Et,typeClass:Ve,contentId:Fe,inputId:Ue,btnSize:pe,iconComponent:qe,confirmButtonClasses:bn,rootRef:At,focusStartRef:hn,headerRef:Lt,inputRef:vn,confirmRef:_n,doClose:Cn,handleClose:In,onCloseRequested:Nn,handleWrapperClick:En,handleInputEnter:xn,handleAction:kn,t:he}}}),_hoisted_1$3=["aria-label","aria-describedby"],_hoisted_2$3=["aria-label"],_hoisted_3$3=["id"];function _sfc_render$1(oe,ie,le,ue,de,pe){const he=resolveComponent("el-icon"),_e=resolveComponent("close"),$e=resolveComponent("el-input"),Ie=resolveComponent("el-button"),Ve=resolveComponent("el-focus-trap"),Fe=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:ie[11]||(ie[11]=Ue=>oe.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(Fe,{"z-index":oe.zIndex,"overlay-class":[oe.ns.is("message-box"),oe.modalClass],mask:oe.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":oe.title,"aria-modal":"true","aria-describedby":oe.showInput?void 0:oe.contentId,class:normalizeClass(`${oe.ns.namespace.value}-overlay-message-box`),onClick:ie[8]||(ie[8]=(...Ue)=>oe.overlayEvent.onClick&&oe.overlayEvent.onClick(...Ue)),onMousedown:ie[9]||(ie[9]=(...Ue)=>oe.overlayEvent.onMousedown&&oe.overlayEvent.onMousedown(...Ue)),onMouseup:ie[10]||(ie[10]=(...Ue)=>oe.overlayEvent.onMouseup&&oe.overlayEvent.onMouseup(...Ue))},[createVNode(Ve,{loop:"",trapped:oe.visible,"focus-trap-el":oe.rootRef,"focus-start-el":oe.focusStartRef,onReleaseRequested:oe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([oe.ns.b(),oe.customClass,oe.ns.is("draggable",oe.draggable),{[oe.ns.m("center")]:oe.center}]),style:normalizeStyle$1(oe.customStyle),tabindex:"-1",onClick:ie[7]||(ie[7]=withModifiers(()=>{},["stop"]))},[oe.title!==null&&oe.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass(oe.ns.e("header"))},[createBaseVNode("div",{class:normalizeClass(oe.ns.e("title"))},[oe.iconComponent&&oe.center?(openBlock(),createBlock(he,{key:0,class:normalizeClass([oe.ns.e("status"),oe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString$1(oe.title),1)],2),oe.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(oe.ns.e("headerbtn")),"aria-label":oe.t("el.messagebox.close"),onClick:ie[0]||(ie[0]=Ue=>oe.handleAction(oe.distinguishCancelAndClose?"close":"cancel")),onKeydown:ie[1]||(ie[1]=withKeys(withModifiers(Ue=>oe.handleAction(oe.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode(he,{class:normalizeClass(oe.ns.e("close"))},{default:withCtx(()=>[createVNode(_e)]),_:1},8,["class"])],42,_hoisted_2$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:oe.contentId,class:normalizeClass(oe.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(oe.ns.e("container"))},[oe.iconComponent&&!oe.center&&oe.hasMessage?(openBlock(),createBlock(he,{key:0,class:normalizeClass([oe.ns.e("status"),oe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),oe.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(oe.ns.e("message"))},[renderSlot(oe.$slots,"default",{},()=>[oe.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(oe.showInput?"label":"p"),{key:1,for:oe.showInput?oe.inputId:void 0,innerHTML:oe.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(oe.showInput?"label":"p"),{key:0,for:oe.showInput?oe.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(oe.dangerouslyUseHTMLString?"":oe.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(oe.ns.e("input"))},[createVNode($e,{id:oe.inputId,ref:"inputRef",modelValue:oe.inputValue,"onUpdate:modelValue":ie[2]||(ie[2]=Ue=>oe.inputValue=Ue),type:oe.inputType,placeholder:oe.inputPlaceholder,"aria-invalid":oe.validateError,class:normalizeClass({invalid:oe.validateError}),onKeydown:withKeys(oe.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(oe.ns.e("errormsg")),style:normalizeStyle$1({visibility:oe.editorErrorMessage?"visible":"hidden"})},toDisplayString$1(oe.editorErrorMessage),7)],2),[[vShow,oe.showInput]])],10,_hoisted_3$3),createBaseVNode("div",{class:normalizeClass(oe.ns.e("btns"))},[oe.showCancelButton?(openBlock(),createBlock(Ie,{key:0,loading:oe.cancelButtonLoading,class:normalizeClass([oe.cancelButtonClass]),round:oe.roundButton,size:oe.btnSize,onClick:ie[3]||(ie[3]=Ue=>oe.handleAction("cancel")),onKeydown:ie[4]||(ie[4]=withKeys(withModifiers(Ue=>oe.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(oe.cancelButtonText||oe.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode(Ie,{ref:"confirmRef",type:"primary",loading:oe.confirmButtonLoading,class:normalizeClass([oe.confirmButtonClasses]),round:oe.roundButton,disabled:oe.confirmButtonDisabled,size:oe.btnSize,onClick:ie[5]||(ie[5]=Ue=>oe.handleAction("confirm")),onKeydown:ie[6]||(ie[6]=withKeys(withModifiers(Ue=>oe.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(oe.confirmButtonText||oe.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,oe.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$3)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,oe.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$1],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const messageInstance=new Map,getAppendToElement=oe=>{let ie=document.body;return oe.appendTo&&(isString$6(oe.appendTo)&&(ie=document.querySelector(oe.appendTo)),isElement$1(oe.appendTo)&&(ie=oe.appendTo),isElement$1(ie)||(ie=document.body)),ie},initInstance=(oe,ie,le=null)=>{const ue=createVNode(MessageBoxConstructor,oe,isFunction$5(oe.message)||isVNode$1(oe.message)?{default:isFunction$5(oe.message)?oe.message:()=>oe.message}:null);return ue.appContext=le,render$4(ue,ie),getAppendToElement(oe).appendChild(ie.firstElementChild),ue.component},genContainer=()=>document.createElement("div"),showMessage=(oe,ie)=>{const le=genContainer();oe.onVanish=()=>{render$4(null,le),messageInstance.delete(de)},oe.onAction=pe=>{const he=messageInstance.get(de);let _e;oe.showInput?_e={value:de.inputValue,action:pe}:_e=pe,oe.callback?oe.callback(_e,ue.proxy):pe==="cancel"||pe==="close"?oe.distinguishCancelAndClose&&pe!=="cancel"?he.reject("close"):he.reject("cancel"):he.resolve(_e)};const ue=initInstance(oe,le,ie),de=ue.proxy;for(const pe in oe)hasOwn$4(oe,pe)&&!hasOwn$4(de.$props,pe)&&(de[pe]=oe[pe]);return de.visible=!0,de};function MessageBox(oe,ie=null){if(!isClient$1)return Promise.reject();let le;return isString$6(oe)||isVNode$1(oe)?oe={message:oe}:le=oe.callback,new Promise((ue,de)=>{const pe=showMessage(oe,ie??MessageBox._context);messageInstance.set(pe,{options:oe,callback:le,resolve:ue,reject:de})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(oe=>{MessageBox[oe]=messageBoxFactory(oe)});function messageBoxFactory(oe){return(ie,le,ue,de)=>{let pe="";return isObject$9(le)?(ue=le,pe=""):isUndefined$1(le)?pe="":pe=le,MessageBox(Object.assign({title:pe,message:ie,type:"",...MESSAGE_BOX_DEFAULT_OPTS[oe]},ue,{boxType:oe}),de)}}MessageBox.close=()=>{messageInstance.forEach((oe,ie)=>{ie.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=oe=>{_MessageBox._context=oe._context,oe.config.globalProperties.$msgbox=_MessageBox,oe.config.globalProperties.$messageBox=_MessageBox,oe.config.globalProperties.$alert=_MessageBox.alert,oe.config.globalProperties.$confirm=_MessageBox.confirm,oe.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(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:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},_hoisted_1$2=["id"],_hoisted_2$2=["textContent"],_hoisted_3$2={key:0},_hoisted_4$1=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$2=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(oe,{expose:ie}){const le=oe,{ns:ue,zIndex:de}=useGlobalComponentSettings("notification"),{nextZIndex:pe,currentZIndex:he}=de,{Close:_e}=CloseComponents,$e=ref(!1);let Ie;const Ve=computed(()=>{const _n=le.type;return _n&&TypeComponentsMap[le.type]?ue.m(_n):""}),Fe=computed(()=>le.type&&TypeComponentsMap[le.type]||le.icon),Ue=computed(()=>le.position.endsWith("right")?"right":"left"),qe=computed(()=>le.position.startsWith("top")?"top":"bottom"),Et=computed(()=>{var _n;return{[qe.value]:`${le.offset}px`,zIndex:(_n=le.zIndex)!=null?_n:he.value}});function At(){le.duration>0&&({stop:Ie}=useTimeoutFn$1(()=>{$e.value&&hn()},le.duration))}function Lt(){Ie==null||Ie()}function hn(){$e.value=!1}function vn({code:_n}){_n===EVENT_CODE.delete||_n===EVENT_CODE.backspace?Lt():_n===EVENT_CODE.esc?$e.value&&hn():At()}return onMounted(()=>{At(),pe(),$e.value=!0}),useEventListener$1(document,"keydown",vn),ie({visible:$e,close:hn}),(_n,bn)=>(openBlock(),createBlock(Transition,{name:unref(ue).b("fade"),onBeforeLeave:_n.onClose,onAfterLeave:bn[1]||(bn[1]=Sn=>_n.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:_n.id,class:normalizeClass([unref(ue).b(),_n.customClass,unref(Ue)]),style:normalizeStyle$1(unref(Et)),role:"alert",onMouseenter:Lt,onMouseleave:At,onClick:bn[0]||(bn[0]=(...Sn)=>_n.onClick&&_n.onClick(...Sn))},[unref(Fe)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ue).e("icon"),unref(Ve)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(ue).e("title")),textContent:toDisplayString$1(_n.title)},null,10,_hoisted_2$2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(ue).e("content")),style:normalizeStyle$1(_n.title?void 0:{margin:0})},[renderSlot(_n.$slots,"default",{},()=>[_n.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:_n.message},null,8,_hoisted_4$1)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$2,toDisplayString$1(_n.message),1))])],6),[[vShow,_n.message]]),_n.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("closeBtn")),onClick:withModifiers(hn,["stop"])},{default:withCtx(()=>[createVNode(unref(_e))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$2),[[vShow,$e.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$2,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(oe={},ie=null){if(!isClient$1)return{close:()=>{}};(typeof oe=="string"||isVNode$1(oe))&&(oe={message:oe});const le=oe.position||"top-right";let ue=oe.offset||0;notifications[le].forEach(({vm:Ve})=>{var Fe;ue+=(((Fe=Ve.el)==null?void 0:Fe.offsetHeight)||0)+GAP_SIZE}),ue+=GAP_SIZE;const de=`notification_${seed++}`,pe=oe.onClose,he={...oe,offset:ue,id:de,onClose:()=>{close(de,le,pe)}};let _e=document.body;isElement$1(oe.appendTo)?_e=oe.appendTo:isString$6(oe.appendTo)&&(_e=document.querySelector(oe.appendTo)),isElement$1(_e)||(_e=document.body);const $e=document.createElement("div"),Ie=createVNode(NotificationConstructor,he,isVNode$1(he.message)?{default:()=>he.message}:null);return Ie.appContext=ie??notify._context,Ie.props.onDestroy=()=>{render$4(null,$e)},render$4(Ie,$e),notifications[le].push({vm:Ie}),_e.appendChild($e.firstElementChild),{close:()=>{Ie.component.exposed.visible.value=!1}}};notificationTypes.forEach(oe=>{notify[oe]=(ie={})=>((typeof ie=="string"||isVNode$1(ie))&&(ie={message:ie}),notify({...ie,type:oe}))});function close(oe,ie,le){const ue=notifications[ie],de=ue.findIndex(({vm:Ie})=>{var Ve;return((Ve=Ie.component)==null?void 0:Ve.props.id)===oe});if(de===-1)return;const{vm:pe}=ue[de];if(!pe)return;le==null||le(pe);const he=pe.el.offsetHeight,_e=ie.split("-")[0];ue.splice(de,1);const $e=ue.length;if(!($e<1))for(let Ie=de;Ie<$e;Ie++){const{el:Ve,component:Fe}=ue[Ie].vm,Ue=Number.parseInt(Ve.style[_e],10)-he-GAP_SIZE;Fe.props.offset=Ue}}function closeAll(){for(const oe of Object.values(notifications))oe.forEach(({vm:ie})=>{ie.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]),en$1={};(function(oe){Object.defineProperty(oe,"__esModule",{value:!0});var ie={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new 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",week:"week",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"},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"},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"}}};oe.default=ie})(en$1);const enLocale=getDefaultExportFromCjs(en$1);var ct=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,$t$1=Object.getOwnPropertyNames,It=Object.prototype.hasOwnProperty,Dt=(oe,ie)=>{for(var le in ie)ct(oe,le,{get:ie[le],enumerable:!0})},at=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of $t$1(ie))!It.call(oe,de)&&de!==le&&ct(oe,de,{get:()=>ie[de],enumerable:!(ue=kt(ie,de))||ue.enumerable});return oe},et=(oe,ie,le)=>(at(oe,ie,"default"),le&&at(le,ie,"default"));function lt$1(oe){let ie=oe.split(","),le=ie[0].match(/:(.*?);/)[1],ue=window.atob(ie[1]),de=ue.length,pe=new Uint8Array(de);for(;de--;)pe[de]=ue.charCodeAt(de);return new Blob([pe],{type:le})}function ft(oe,ie,le){return new Promise((ue,de)=>{let pe=document.createElement("CANVAS"),he=pe.getContext("2d"),_e=new Image;_e.crossOrigin="",_e.onload=function(){if(!pe||!he)return de();pe.height=_e.height,pe.width=_e.width,he.drawImage(_e,0,0);let $e=pe.toDataURL(ie||"image/png",le);pe=null,ue($e)},_e.src=oe})}var Pt=Object.prototype.toString;function O(oe,ie){return Pt.call(oe)===`[object ${ie}]`}function k(oe){return oe!==null&&O(oe,"Object")}function R(oe){return typeof oe<"u"}function mt(oe){return!R(oe)}function dt(oe){return oe===null}function Ut(oe){return dt(oe)||mt(oe)}function Nt(oe){return $(oe)||A(oe)?oe.length===0:oe instanceof Map||oe instanceof Set?oe.size===0:k(oe)?Object.keys(oe).length===0:!1}function N(oe){return!!(Nt(oe)||Ut(oe))}function B(oe){return O(oe,"Number")}function A(oe){return O(oe,"String")}function q$1(oe){return typeof oe=="function"}function Le(oe){return O(oe,"Boolean")}function $(oe){return oe&&Array.isArray(oe)}var nt=typeof window>"u",rt$1=!nt;function gt(oe){let ie="^((https|http|ftp|rtsp|mms)?://)(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z].[a-z]{2,6})(:[0-9]{1,5})?((/?)|(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$";return new RegExp(ie,"ig").test(oe)}function Be$1(oe){return/^[1](([3][0-9])|([4][0,1,4-9])|([5][0-3,5-9])|([6][2,5,6,7])|([7][0-8])|([8][0-9])|([9][0-3,5-9]))[0-9]{8}$/.test(oe)}function He(oe){return/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(oe)}var z=(oe,ie)=>!!(oe!=null&&oe.className.match(new RegExp("(\\s|^)"+ie+"(\\s|$)"))),Ze=(oe,ie,le)=>{z(oe,ie)||(oe.className+=" "+ie),le&&!z(oe,le)&&(oe.className+=" "+le)},Ge=(oe,ie,le)=>{if(z(oe,ie)){let ue=new RegExp("(\\s|^)"+ie+"(\\s|$)");oe.className=oe.className.replace(ue," ").trim()}if(le&&z(oe,le)){let ue=new RegExp("(\\s|^)"+le+"(\\s|$)");oe.className=oe.className.replace(ue," ").trim()}},Qe=(oe,ie,le)=>{let ue=le||document.body,{className:de}=ue,pe=de.replace(ie,"").trim().split(/\s+/).join(" ");ue.className=oe?`${pe} ${ie}`:pe},Bt=Object.prototype.toString;function Ht(oe,ie){return oe&&oe.hasOwnProperty?oe.hasOwnProperty(ie):!1}function jt(oe,ie,le){if(oe)if(oe.forEach)oe.forEach(ie,le);else for(let ue=0,de=oe.length;ue<de;ue++)ie.call(le,oe[ue],ue,oe)}function Ft(oe,ie,le){if(oe)for(let ue in oe)Ht(oe,ue)&&ie.call(le,oe[ue],ue,oe)}function ot(oe,ie){let le=oe.__proto__.constructor;return ie?new le(ie):new le}function _$1(oe,ie){return ie?st(oe,ie):oe}function st(oe,ie){if(oe)switch(Bt.call(oe)){case"[object Object]":{let le=Object.create(oe.__proto__);return Ft(oe,function(ue,de){le[de]=_$1(ue,ie)}),le}case"[object Date]":case"[object RegExp]":return ot(oe,oe.valueOf());case"[object Array]":case"[object Arguments]":{let le=[];return jt(oe,function(ue){le.push(_$1(ue,ie))}),le}case"[object Set]":{let le=ot(oe);return le.forEach(function(ue){le.add(_$1(ue,ie))}),le}case"[object Map]":{let le=ot(oe);return le.forEach(function(ue){le.set(_$1(ue,ie))}),le}}return oe}function tn(oe,ie){return oe&&st(oe,ie)}function en(oe){return oe&&st(oe,!0)}var rn=oe=>{let ie=(oe==null?void 0:oe.type)??"rgb",le=(oe==null?void 0:oe.num)??0;if(le===0)switch(ie){case"rgb":return window.crypto.getRandomValues(new Uint8Array(3)).toString();case"hex":return`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,`${Math.random()*10}`)}`;case"hsl":return[360*Math.random(),`${100*Math.random()}%`,`${100*Math.random()}%`].toString()}else switch(ie){case"rgb":let ue=[];for(let he=0;he<le;he++)ue.push(window.crypto.getRandomValues(new Uint8Array(3)).toString());return ue;case"hex":let de=[];for(let he=0;he<le;he++)de.push(`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,`${Math.random()*10}`)}`);return de;case"hsl":let pe=[];for(let he=0;he<le;he++)pe.push([360*Math.random(),`${100*Math.random()}%`,`${100*Math.random()}%`].toString());return pe}},Tn=(oe,ie)=>{if(oe==0)return"0 Bytes";let le=1024,ue=ie||2,de=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],pe=Math.floor(Math.log(oe)/Math.log(le));return parseFloat((oe/Math.pow(le,pe)).toFixed(ue))+" "+de[pe]};function On(oe,ie=!0){let le=he=>(he=Math.floor(he),he<10&&ie?`0${he}`:he),ue=le(oe/3600),de=le(oe%3600/60),pe=le(oe%60);return{h:ue,m:de,s:pe}}var D$1=(oe=20)=>new Promise(ie=>setTimeout(ie,oe)),vt=(oe,ie=200,le=!1)=>{let ue,de=ie,pe;return function(){ue&&clearTimeout(ue),le?(ue||oe.call(pe,...arguments),ue=setTimeout(()=>ue=null,de)):ue=setTimeout(()=>oe.call(pe,...arguments),de)}},Rn=(oe,ie=1e3)=>{let le;return function(){le||(le=setTimeout(()=>{oe.call(void 0,...arguments),le=null},ie))}},$n=()=>{let oe=navigator.userAgent.toLowerCase(),ie=oe.match(/midp/i)=="midp",le=oe.match(/ucweb/i)=="ucweb",ue=oe.match(/android/i)=="android",de=oe.match(/iphone os/i)=="iphone os",pe=oe.match(/windows ce/i)=="windows ce",he=oe.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",_e=oe.match(/windows mobile/i)=="windows mobile";return ie||le||ue||de||pe||he||_e},Mt=(oe,ie="_blank")=>{let le=document.createElement("a");le.setAttribute("href",oe),le.setAttribute("target",ie),le.setAttribute("rel","noreferrer noopener"),le.setAttribute("id","external");let ue=document.getElementById("external");ue&&document.body.removeChild(ue),document.body.appendChild(le),le.click(),le.remove()};function Bn(oe,ie,le,ue){ft(oe).then(de=>{zt(de,ie,le,ue)})}function zt(oe,ie,le,ue){let de=lt$1(oe);_t(de,ie,le,ue)}function _t(oe,ie,le,ue){let de=typeof ue<"u"?[ue,oe]:[oe],pe=new Blob(de,{type:le||"application/octet-stream"}),he=window.URL.createObjectURL(pe),_e=document.createElement("a");_e.style.display="none",_e.href=he,_e.setAttribute("download",ie),typeof _e.download>"u"&&_e.setAttribute("target","_blank"),document.body.appendChild(_e),_e.click(),document.body.removeChild(_e),window.URL.revokeObjectURL(he)}function Hn(oe,ie,le="_self"){let ue=window.navigator.userAgent.toLowerCase().indexOf("chrome")>-1,de=window.navigator.userAgent.toLowerCase().indexOf("safari")>-1;if(/(iP)/g.test(window.navigator.userAgent))return console.error("Your browser does not support download!"),!1;if(ue||de){let pe=document.createElement("a");if(pe.href=oe,pe.target=le,pe.download!==void 0&&(pe.download=ie||oe.substring(oe.lastIndexOf("/")+1,oe.length)),document.createEvent){let he=document.createEvent("MouseEvents");return he.initEvent("click",!0,!0),pe.dispatchEvent(he),!0}}return oe.indexOf("?")===-1&&(oe+="?download"),Mt(oe,le),!0}function St(oe,ie){if(oe===ie)return!0;if(typeof oe!="object"||typeof ie!="object"||oe==null||ie==null)return!1;let le=Object.keys(oe),ue=Object.keys(ie);if(le.length!==ue.length)return!1;for(let de of le)if(!ue.includes(de)||!St(oe[de],ie[de]))return!1;return!0}function Wt(oe,ie){if(!oe||!ie)return!1;let{length:le}=oe;if(le!==ie.length)return!1;for(let ue=0;ue<le;ue++)if(!Xt(oe[ue],ie[ue]))return!1;return!0}function Xt(oe,ie){let le=Object.prototype.toString.call(oe);return le!==Object.prototype.toString.call(ie)?!1:le==="[object Object]"?St(oe,ie):le==="[object Array]"?Wt(oe,ie):le==="[object Function]"?oe===ie?!0:oe.toString()===ie.toString():oe===ie}var zn=(oe,ie)=>{if(oe.install=le=>{for(let ue of[oe,...Object.values(ie??{})])le.component(ue.name,ue)},ie)for(let[le,ue]of Object.entries(ie))oe[le]=ue;return oe},H=class{constructor(oe){ao(this,"storage");this.storage=oe}setItem(oe,ie){N(this.storage)||this.storage.setItem(oe,JSON.stringify(ie))}getItem(oe){if(!N(this.storage))return JSON.parse(this.storage.getItem(oe))}removeItem(oe){N(this.storage)||this.storage.removeItem(oe)}clear(){N(this.storage)||this.storage.clear()}},Q=class extends H{constructor(oe){super(oe)}},nr=()=>rt$1?new Q(window.localStorage):new Q(""),rr=()=>rt$1?new H(window.sessionStorage):new H("");function Vt(oe,ie){return A(ie)?oe.substring(0,oe.indexOf(ie)):""}function Zt(oe,ie){return A(ie)?oe.substring(oe.lastIndexOf(ie)+ie.length,oe.length):""}function hr(oe){if(!gt(oe))return console.error(`${oe}不符合超链接规范`),{};let ie=oe.indexOf("?"),le=oe.slice(ie+1).split("&"),ue={};for(let de=0;de<le.length;de++)ue[le[de].split("=")[0]]=le[de].split("=")[1];return ue}function Tr(oe,ie){return oe.every(le=>ie.some(ue=>ue===le))}var vr=(...oe)=>[...oe].reduce((ie,le)=>ie.filter(ue=>le.includes(ue)));function Sr(oe,ie){let le=[];for(let ue of oe)ue[ie]&&le.push(ue[ie]);return Array.from(new Set(le))}var a$1={};Dt(a$1,{Vue:()=>vue_runtime_esmBundler});et(a$1,vue_runtime_esmBundler);function se(oe,{target:ie=document.body}={}){let le=document.createElement("textarea"),ue=document.activeElement;le.value=oe,le.setAttribute("readonly",""),le.style.contain="strict",le.style.position="absolute",le.style.left="-9999px",le.style.fontSize="12pt";let de=document.getSelection(),pe;de&&de.rangeCount>0&&(pe=de.getRangeAt(0)),ie.append(le),le.select(),le.selectionStart=0,le.selectionEnd=oe.length;let he=!1;try{he=document.execCommand("copy")}catch(_e){throw new Error(_e)}return le.remove(),pe&&de&&(de.removeAllRanges(),de.addRange(pe)),ue&&ue.focus(),he}function L$1(oe){(0,a$1.getCurrentInstance)()&&(0,a$1.onUnmounted)(oe)}var Yr=()=>{let oe=(0,a$1.shallowRef)(!1),ie,le=()=>{oe.value=document.documentElement.classList.contains("dark")};return L$1(()=>{ie.takeRecords(),ie.disconnect()}),(0,a$1.onBeforeMount)(()=>{le(),ie=new MutationObserver(le),ie.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:oe}};function Ct(){let{appContext:{config:{globalProperties:oe}}}=(0,a$1.getCurrentInstance)();return oe}var to=(oe,ie)=>{let le=(ie==null?void 0:ie.theme)??(0,a$1.ref)("default"),ue=(ie==null?void 0:ie.tooltipId)??"tooltipElement",de=Ct().$echarts,pe=null,he=(0,a$1.ref)({}),_e=(0,a$1.ref)(),$e=(0,a$1.computed)(()=>le.value!=="dark"?he.value:{backgroundColor:"transparent",...he.value});function Ie(xn){let kn=(0,a$1.unref)(oe);!kn||!(0,a$1.unref)(kn)||(pe=de.init(kn,xn))}function Ve(xn,...kn){var Pn;if(he.value=xn,_e.value=kn,((Pn=(0,a$1.unref)(oe))==null?void 0:Pn.offsetHeight)===0){D$1().then(()=>Ve((0,a$1.unref)($e),...kn));return}(0,a$1.nextTick)(()=>{D$1().then(()=>{!pe&&Ie(le.value),(xn.clear??!0)&&Fe(),pe==null||pe.setOption((0,a$1.unref)($e)),kn&&kn.map(An=>{(An==null?void 0:An.type)!=="zrender"&&typeof(An==null?void 0:An.callback)=="function"&&(pe==null||pe.on(An==null?void 0:An.name,An!=null&&An.query?An==null?void 0:An.query:"",In=>{An==null||An.callback(In)})),(An==null?void 0:An.type)==="zrender"&&typeof(An==null?void 0:An.callback)=="function"&&(pe==null||pe.getZr().on(An==null?void 0:An.name,In=>{In.target||(An==null||An.callback(In))}))}),xn!=null&&xn.addTooltip&&En(xn.addTooltip)})})}function Fe(){pe&&pe.clear()}function Ue(){pe.resize()}function qe(xn){let kn=(xn==null?void 0:xn.type)??"default",Pn=(xn==null?void 0:xn.opts)??{};pe.showLoading(kn,Pn)}function Et(){pe.hideLoading()}function At(xn){pe.appendData(xn)}function Lt(){return pe.getWidth()}function hn(){return pe.getHeight()}function vn(){return pe||Ie(le.value),pe}function _n(){return pe.getDom()}function bn(){return pe.getOption()}function Sn(xn){return pe.getDataURL(xn)}function Cn(xn){return pe.getConnectedDataURL(xn)}function En(xn){if(!xn)return;let kn=document.querySelector("html");if(!document.getElementById(ue)){let In=document.createElement("div");In.setAttribute("id",ue),In.style.display="block",kn.appendChild(In)}let Pn=document.querySelector(`#${ue}`),An=In=>{if((In==null?void 0:In.targetType)!=="axisLabel")return;let Nn=`
padding: 5px;
font-size: 12px;
display: inline;
border-radius: 4px;
position: absolute;
background-color: #303133;
z-index: 99999;color: #fff;
box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px;
`;Pn.style.cssText=Nn,Pn.innerHTML=In==null?void 0:In.value,kn.onmousemove=Un=>{let Vn=Un.pageX-10,Mn=Un.pageY+15;Pn.style.top=Mn+"px",Pn.style.left=Vn+"px"}};pe==null||pe.on("mouseover",In=>{(xn==="x"&&In.componentType=="xAxis"||xn==="y"&&In.componentType=="yAxis"||xn.toString()==="true"&&In.componentType.includes("Axis"))&&An(In)}),pe==null||pe.on("mouseout",()=>{kn.onmousemove=null,Pn.style.cssText="display:none"})}(0,a$1.watch)(()=>le.value,xn=>{pe&&(pe.dispose(),Ie(xn),Ve(he.value,..._e.value))});function wn(){var xn;!pe||D$1(((xn=he.value)==null?void 0:xn.delay)??300).then(()=>{Ue()})}return(0,a$1.onMounted)(()=>{(0,a$1.nextTick)(()=>{window.addEventListener("resize",wn)})}),L$1(()=>{var xn;window.removeEventListener("resize",wn),pe&&(pe.dispose(),pe=null,(xn=document.querySelector(`#${ue}`))==null||xn.remove())}),{echarts:de,clear:Fe,resize:Ue,getDom:_n,getWidth:Lt,getOption:bn,getHeight:hn,addTooltip:En,getDataURL:Sn,setOptions:Ve,appendData:At,getInstance:vn,showLoading:qe,hideLoading:Et,getConnectedDataURL:Cn}},j$2=665,F=665;function ro(oe=!0){let ie,le;function ue(pe){var he;return document.querySelector(`#pure-utils-css-${j$2}`)&&((he=document.querySelector(`#pure-utils-css-${j$2}`))==null||he.remove()),j$2+=1,new Promise((_e,$e)=>{ie=document.createElement("link"),ie.id=`pure-utils-css-${j$2}`,ie.rel="stylesheet",ie.onload=function(){_e("success")},ie.onerror=function(Ie){$e(Ie)},ie.href=pe.src,document[(pe==null?void 0:pe.carrier)??"head"].appendChild(ie)})}function de(pe){var he;return document.querySelector(`#pure-utils-script-${F}`)&&((he=document.querySelector(`#pure-utils-script-${F}`))==null||he.remove()),F+=1,new Promise((_e,$e)=>{le=document.createElement("script"),le.id=`pure-utils-script-${F}`,le.type="text/javascript",le.onload=function(){_e("success")},le.onerror=function(Ie){$e(Ie)},le.src=pe.src,document[(pe==null?void 0:pe.carrier)??"head"].appendChild(le)})}return L$1(()=>{oe&&(ie&&(ie==null||ie.remove()),le&&(le==null||le.remove()),j$2=665,F=665)}),{loadCss:ue,loadScript:de}}var ae=Symbol("watermark-dom"),mo=(oe=(0,a$1.ref)(document.body))=>{let ie=ae.toString(),le=(0,a$1.shallowRef)(),ue=()=>{let Fe=(0,a$1.unref)(le);le.value=void 0;let Ue=(0,a$1.unref)(oe);!Ue||Fe&&Ue.removeChild(Fe)};function de(Fe,Ue){let qe=document.createElement("canvas"),Et=(Ue==null?void 0:Ue.width)??250,At=(Ue==null?void 0:Ue.height)??100;Object.assign(qe,{width:Et,height:At});let Lt=qe.getContext("2d");if(Lt){if(Lt.rotate(((Ue==null?void 0:Ue.rotate)??-10*Math.PI)/120),Lt.font=(Ue==null?void 0:Ue.font)??"15px Reggae One",(Ue==null?void 0:Ue.gradient)&&$(Ue==null?void 0:Ue.gradient)){let hn=Lt.createLinearGradient(0,0,Et,0);Ue==null||Ue.gradient.forEach(vn=>{hn.addColorStop(vn.value,vn.color)}),Lt.fillStyle=hn}else Lt.fillStyle=(Ue==null?void 0:Ue.fillStyle)??"rgba(0, 0, 0, 0.15)";if(Lt.textAlign="left",Lt.textBaseline="middle",Ue!=null&&Ue.globalAlpha&&(Lt.globalAlpha=Ue.globalAlpha),Ue==null?void 0:Ue.shadowConfig){let{shadowConfig:hn}=Ue;Lt.shadowBlur=hn[0],Lt.shadowColor=(hn==null?void 0:hn[1])??"#000000",Lt.shadowOffsetX=(hn==null?void 0:hn[2])??0,Lt.shadowOffsetY=(hn==null?void 0:hn[3])??0}Lt.fillText(Fe,Et/((Ue==null?void 0:Ue.fillTextWidth)??20),At/((Ue==null?void 0:Ue.fillTextHeight)??2))}return qe.toDataURL("image/png")}function pe(Fe={}){let Ue=(0,a$1.unref)(le);!Ue||(R(Fe.width)&&(Ue.style.width=`${Fe.width}px`),R(Fe.height)&&(Ue.style.height=`${Fe.height}px`),R(Fe.str)&&(Ue.style.background=`url(${de(Fe.str,Fe.attr)}) left top repeat`))}let he=vt(()=>{let Fe=(0,a$1.unref)(oe);if(!Fe)return;let{clientHeight:Ue,clientWidth:qe}=Fe;pe({height:Ue,width:qe})}),_e=(Fe,Ue)=>{var hn;if((0,a$1.unref)(le))return pe({str:Fe,attr:Ue}),ie;let qe=document.createElement("div");le.value=qe,qe.id=ie,qe.style.pointerEvents="none",qe.style.top="0px",qe.style.left="0px",qe.style.position="absolute",qe.style.zIndex=(Ue==null?void 0:Ue.zIndex)??"100000";let Et=(0,a$1.unref)(oe);if(!Et)return ie;let{clientHeight:At,clientWidth:Lt}=Et;return pe({str:Fe,width:Lt,height:At,attr:Ue}),(hn=Et==null?void 0:Et.style)!=null&&hn.position||(Et.style.position="relative"),Et.appendChild(qe),ie};function $e(Fe,{str:Ue,attr:qe}){Fe[0].removedNodes[0]&&Fe[0].removedNodes[0].id===ie&&(le.value=void 0,_e(Ue,qe))}function Ie(Fe,Ue){let qe={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(Et=>$e(Et,{str:Fe,attr:Ue})).observe((0,a$1.unref)(oe),qe)}function Ve(Fe,Ue){_e(Fe,Ue),window.addEventListener("resize",he),Ue!=null&&Ue.forever&&Ie(Fe,Ue),(0,a$1.getCurrentInstance)()&&ue&&ue()}return L$1(()=>{window.removeEventListener("resize",he)}),{clear:ue,setWatermark:Ve}};const data$1={width:24,height:24,body:'<path fill="currentColor" d="M16 3h6v6h-2V5h-4V3ZM2 3h6v2H4v4H2V3Zm18 16v-4h2v6h-6v-2h4ZM4 19h4v2H2v-6h2v4Z"/>'},data={width:24,height:24,body:'<path fill="currentColor" d="M18 7h4v2h-6V3h2v4ZM8 9H2V7h4V3h2v6Zm10 8v4h-2v-6h6v2h-4ZM8 15v6H6v-4H2v-2h6Z"/>'},_hoisted_1$1={key:0,class:"flex items-center justify-between"},_hoisted_2$1=["id"],_hoisted_3$1={key:1},_sfc_main$1=defineComponent({__name:"index",setup(oe){const ie=ref(!1),le=computed(()=>he=>{var _e;return((_e=he==null?void 0:he.footerButtons)==null?void 0:_e.length)>0?he.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:Ie}})=>{const Ve=()=>closeDialog($e,Ie,{command:"cancel"});$e!=null&&$e.beforeCancel&&q$1($e==null?void 0:$e.beforeCancel)?$e.beforeCancel(Ve,{options:$e,index:Ie}):Ve()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:Ie}})=>{const Ve=()=>closeDialog($e,Ie,{command:"sure"});$e!=null&&$e.beforeSure&&q$1($e==null?void 0:$e.beforeSure)?$e.beforeSure(Ve,{options:$e,index:Ie}):Ve()}}]}),ue=computed(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function de(he,_e,$e){if(ie.value=(_e==null?void 0:_e.fullscreen)??!1,_e!=null&&_e[he]&&q$1(_e==null?void 0:_e[he]))return _e==null?void 0:_e[he]({options:_e,index:$e})}function pe(he,_e,$e={command:"close"}){closeDialog(he,_e,$e),de("close",he,_e)}return(he,_e)=>{const $e=resolveComponent("IconifyIconOffline"),Ie=resolveComponent("el-button"),Ve=resolveComponent("el-dialog");return openBlock(!0),createElementBlock(Fragment,null,renderList(unref(dialogStore),(Fe,Ue)=>(openBlock(),createBlock(Ve,mergeProps({class:"pure-dialog",key:Ue},Fe,{modelValue:Fe.visible,"onUpdate:modelValue":qe=>Fe.visible=qe,fullscreen:ie.value?!0:!!(Fe!=null&&Fe.fullscreen),onClose:qe=>pe(Fe,Ue),onOpened:qe=>de("open",Fe,Ue),onOpenAutoFocus:qe=>de("openAutoFocus",Fe,Ue),onCloseAutoFocus:qe=>de("closeAutoFocus",Fe,Ue)}),createSlots({default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.contentRenderer({options:Fe,index:Ue})),mergeProps(Fe==null?void 0:Fe.props,{onClose:qe=>pe(Fe,Ue,qe)}),null,16,["onClose"]))]),_:2},[Fe!=null&&Fe.fullscreenIcon||Fe!=null&&Fe.headerRenderer?{name:"header",fn:withCtx(({close:qe,titleId:Et,titleClass:At})=>[Fe!=null&&Fe.fullscreenIcon?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("span",{id:Et,class:normalizeClass(At)},toDisplayString$1(Fe==null?void 0:Fe.title),11,_hoisted_2$1),Fe!=null&&Fe.fullscreen?createCommentVNode("",!0):(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(ue.value),onClick:_e[0]||(_e[0]=Lt=>ie.value=!ie.value)},[createVNode($e,{class:"pure-dialog-svg",icon:Fe!=null&&Fe.fullscreen||ie.value?unref(data):unref(data$1)},null,8,["icon"])],2))])):(openBlock(),createBlock(resolveDynamicComponent(Fe==null?void 0:Fe.headerRenderer({close:qe,titleId:Et,titleClass:At})),{key:1}))]),key:"0"}:void 0,Fe!=null&&Fe.hideFooter?void 0:{name:"footer",fn:withCtx(()=>[Fe!=null&&Fe.footerRenderer?(openBlock(),createBlock(resolveDynamicComponent(Fe==null?void 0:Fe.footerRenderer({options:Fe,index:Ue})),{key:0})):(openBlock(),createElementBlock("span",_hoisted_3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.value(Fe),(qe,Et)=>(openBlock(),createBlock(Ie,mergeProps({key:Et},qe,{onClick:At=>qe.btnClick({dialog:{options:Fe,index:Ue},button:{btn:qe,index:Et}})}),{default:withCtx(()=>[createTextVNode(toDisplayString$1(qe==null?void 0:qe.label),1)]),_:2},1040,["onClick"]))),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClose","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function tryOnScopeDispose(oe){return getCurrentScope()?(onScopeDispose(oe),!0):!1}function toValue(oe){return typeof oe=="function"?oe():unref(oe)}const isClient=typeof window<"u",isDef=oe=>typeof oe<"u",notNullish=oe=>oe!=null,toString$1=Object.prototype.toString,isObject$7=oe=>toString$1.call(oe)==="[object Object]",noop$4=()=>{},isIOS=getIsIOS();function getIsIOS(){var oe;return isClient&&((oe=window==null?void 0:window.navigator)==null?void 0:oe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function createFilterWrapper(oe,ie){function le(...ue){return new Promise((de,pe)=>{Promise.resolve(oe(()=>ie.apply(this,ue),{fn:ie,thisArg:this,args:ue})).then(de).catch(pe)})}return le}function debounceFilter(oe,ie={}){let le,ue,de=noop$4;const pe=_e=>{clearTimeout(_e),de(),de=noop$4};return _e=>{const $e=toValue(oe),Ie=toValue(ie.maxWait);return le&&pe(le),$e<=0||Ie!==void 0&&Ie<=0?(ue&&(pe(ue),ue=null),Promise.resolve(_e())):new Promise((Ve,Fe)=>{de=ie.rejectOnCancel?Fe:Ve,Ie&&!ue&&(ue=setTimeout(()=>{le&&pe(le),ue=null,Ve(_e())},Ie)),le=setTimeout(()=>{ue&&pe(ue),ue=null,Ve(_e())},$e)})}}function toRef(...oe){if(oe.length!==1)return toRef$1(...oe);const ie=oe[0];return typeof ie=="function"?readonly(customRef(()=>({get:ie,set:noop$4}))):ref(ie)}function useDebounceFn(oe,ie=200,le={}){return createFilterWrapper(debounceFilter(ie,le),oe)}function tryOnMounted(oe,ie=!0){getCurrentInstance()?onMounted(oe):ie?oe():nextTick(oe)}function tryOnUnmounted(oe){getCurrentInstance()&&onUnmounted(oe)}function useIntervalFn(oe,ie=1e3,le={}){const{immediate:ue=!0,immediateCallback:de=!1}=le;let pe=null;const he=ref(!1);function _e(){pe&&(clearInterval(pe),pe=null)}function $e(){he.value=!1,_e()}function Ie(){const Ve=toValue(ie);Ve<=0||(he.value=!0,de&&oe(),_e(),pe=setInterval(oe,Ve))}if(ue&&isClient&&Ie(),isRef(ie)||typeof ie=="function"){const Ve=watch(ie,()=>{he.value&&isClient&&Ie()});tryOnScopeDispose(Ve)}return tryOnScopeDispose($e),{isActive:he,pause:$e,resume:Ie}}function useTimeoutFn(oe,ie,le={}){const{immediate:ue=!0}=le,de=ref(!1);let pe=null;function he(){pe&&(clearTimeout(pe),pe=null)}function _e(){de.value=!1,he()}function $e(...Ie){he(),de.value=!0,pe=setTimeout(()=>{de.value=!1,pe=null,oe(...Ie)},toValue(ie))}return ue&&(de.value=!0,isClient&&$e()),tryOnScopeDispose(_e),{isPending:readonly(de),start:$e,stop:_e}}function unrefElement(oe){var ie;const le=toValue(oe);return(ie=le==null?void 0:le.$el)!=null?ie:le}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...oe){let ie,le,ue,de;if(typeof oe[0]=="string"||Array.isArray(oe[0])?([le,ue,de]=oe,ie=defaultWindow):[ie,le,ue,de]=oe,!ie)return noop$4;Array.isArray(le)||(le=[le]),Array.isArray(ue)||(ue=[ue]);const pe=[],he=()=>{pe.forEach(Ve=>Ve()),pe.length=0},_e=(Ve,Fe,Ue,qe)=>(Ve.addEventListener(Fe,Ue,qe),()=>Ve.removeEventListener(Fe,Ue,qe)),$e=watch(()=>[unrefElement(ie),toValue(de)],([Ve,Fe])=>{he(),Ve&&pe.push(...le.flatMap(Ue=>ue.map(qe=>_e(Ve,Ue,qe,Fe))))},{immediate:!0,flush:"post"}),Ie=()=>{$e(),he()};return tryOnScopeDispose(Ie),Ie}let _iOSWorkaround=!1;function onClickOutside(oe,ie,le={}){const{window:ue=defaultWindow,ignore:de=[],capture:pe=!0,detectIframe:he=!1}=le;if(!ue)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(ue.document.body.children).forEach(Ue=>Ue.addEventListener("click",noop$4)));let _e=!0;const $e=Ue=>de.some(qe=>{if(typeof qe=="string")return Array.from(ue.document.querySelectorAll(qe)).some(Et=>Et===Ue.target||Ue.composedPath().includes(Et));{const Et=unrefElement(qe);return Et&&(Ue.target===Et||Ue.composedPath().includes(Et))}}),Ve=[useEventListener(ue,"click",Ue=>{const qe=unrefElement(oe);if(!(!qe||qe===Ue.target||Ue.composedPath().includes(qe))){if(Ue.detail===0&&(_e=!$e(Ue)),!_e){_e=!0;return}ie(Ue)}},{passive:!0,capture:pe}),useEventListener(ue,"pointerdown",Ue=>{const qe=unrefElement(oe);qe&&(_e=!Ue.composedPath().includes(qe)&&!$e(Ue))},{passive:!0}),he&&useEventListener(ue,"blur",Ue=>{setTimeout(()=>{var qe;const Et=unrefElement(oe);((qe=ue.document.activeElement)==null?void 0:qe.tagName)==="IFRAME"&&!(Et!=null&&Et.contains(ue.document.activeElement))&&ie(Ue)},0)})].filter(Boolean);return()=>Ve.forEach(Ue=>Ue())}function createKeyPredicate(oe){return typeof oe=="function"?oe:typeof oe=="string"?ie=>ie.key===oe:Array.isArray(oe)?ie=>oe.includes(ie.key):()=>!0}function onKeyStroke(...oe){let ie,le,ue={};oe.length===3?(ie=oe[0],le=oe[1],ue=oe[2]):oe.length===2?typeof oe[1]=="object"?(ie=!0,le=oe[0],ue=oe[1]):(ie=oe[0],le=oe[1]):(ie=!0,le=oe[0]);const{target:de=defaultWindow,eventName:pe="keydown",passive:he=!1,dedupe:_e=!1}=ue,$e=createKeyPredicate(ie);return useEventListener(de,pe,Ve=>{Ve.repeat&&toValue(_e)||$e(Ve)&&le(Ve)},he)}function templateRef(oe,ie=null){const le=getCurrentInstance();let ue=()=>{};const de=customRef((pe,he)=>(ue=he,{get(){var _e,$e;return pe(),($e=(_e=le==null?void 0:le.proxy)==null?void 0:_e.$refs[oe])!=null?$e:ie},set(){}}));return tryOnMounted(ue),onUpdated(ue),de}function useMounted(){const oe=ref(!1);return getCurrentInstance()&&onMounted(()=>{oe.value=!0}),oe}function useSupported(oe){const ie=useMounted();return computed(()=>(ie.value,!!oe()))}function useMediaQuery(oe,ie={}){const{window:le=defaultWindow}=ie,ue=useSupported(()=>le&&"matchMedia"in le&&typeof le.matchMedia=="function");let de;const pe=ref(!1),he=()=>{de&&("removeEventListener"in de?de.removeEventListener("change",_e):de.removeListener(_e))},_e=()=>{ue.value&&(he(),de=le.matchMedia(toRef(oe).value),pe.value=!!(de!=null&&de.matches),de&&("addEventListener"in de?de.addEventListener("change",_e):de.addListener(_e)))};return watchEffect(_e),tryOnScopeDispose(()=>he()),pe}function cloneFnJSON(oe){return JSON.parse(JSON.stringify(oe))}var __getOwnPropSymbols$h=Object.getOwnPropertySymbols,__hasOwnProp$h=Object.prototype.hasOwnProperty,__propIsEnum$h=Object.prototype.propertyIsEnumerable,__objRest$2=(oe,ie)=>{var le={};for(var ue in oe)__hasOwnProp$h.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&__getOwnPropSymbols$h)for(var ue of __getOwnPropSymbols$h(oe))ie.indexOf(ue)<0&&__propIsEnum$h.call(oe,ue)&&(le[ue]=oe[ue]);return le};function useResizeObserver(oe,ie,le={}){const ue=le,{window:de=defaultWindow}=ue,pe=__objRest$2(ue,["window"]);let he;const _e=useSupported(()=>de&&"ResizeObserver"in de),$e=()=>{he&&(he.disconnect(),he=void 0)},Ie=computed(()=>Array.isArray(oe)?oe.map(Ue=>unrefElement(Ue)):[unrefElement(oe)]),Ve=watch(Ie,Ue=>{if($e(),_e.value&&de){he=new ResizeObserver(ie);for(const qe of Ue)qe&&he.observe(qe,pe)}},{immediate:!0,flush:"post",deep:!0}),Fe=()=>{$e(),Ve()};return tryOnScopeDispose(Fe),{isSupported:_e,stop:Fe}}function useIntersectionObserver(oe,ie,le={}){const{root:ue,rootMargin:de="0px",threshold:pe=.1,window:he=defaultWindow,immediate:_e=!0}=le,$e=useSupported(()=>he&&"IntersectionObserver"in he),Ie=computed(()=>{const Et=toValue(oe);return(Array.isArray(Et)?Et:[Et]).map(unrefElement).filter(notNullish)});let Ve=noop$4;const Fe=ref(_e),Ue=$e.value?watch(()=>[Ie.value,unrefElement(ue),Fe.value],([Et,At])=>{if(Ve(),!Fe.value||!Et.length)return;const Lt=new IntersectionObserver(ie,{root:unrefElement(At),rootMargin:de,threshold:pe});Et.forEach(hn=>hn&&Lt.observe(hn)),Ve=()=>{Lt.disconnect(),Ve=noop$4}},{immediate:_e,flush:"post"}):noop$4,qe=()=>{Ve(),Ue(),Fe.value=!1};return tryOnScopeDispose(qe),{isSupported:$e,isActive:Fe,pause(){Ve(),Fe.value=!1},resume(){Fe.value=!0},stop:qe}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen(oe,ie={}){const{document:le=defaultDocument,autoExit:ue=!1}=ie,de=computed(()=>{var hn;return(hn=unrefElement(oe))!=null?hn:le==null?void 0:le.querySelector("html")}),pe=ref(!1),he=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(hn=>le&&hn in le||de.value&&hn in de.value)),_e=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(hn=>le&&hn in le||de.value&&hn in de.value)),$e=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(hn=>le&&hn in le||de.value&&hn in de.value)),Ie=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(hn=>le&&hn in le),Ve=useSupported(()=>de.value&&le&&he.value!==void 0&&_e.value!==void 0&&$e.value!==void 0),Fe=()=>Ie?(le==null?void 0:le[Ie])===de.value:!1,Ue=()=>{if($e.value){if(le&&le[$e.value]!=null)return le[$e.value];{const hn=de.value;if((hn==null?void 0:hn[$e.value])!=null)return!!hn[$e.value]}}return!1};async function qe(){if(Ve.value){if(_e.value)if((le==null?void 0:le[_e.value])!=null)await le[_e.value]();else{const hn=de.value;(hn==null?void 0:hn[_e.value])!=null&&await hn[_e.value]()}pe.value=!1}}async function Et(){if(!Ve.value)return;Ue()&&await qe();const hn=de.value;he.value&&(hn==null?void 0:hn[he.value])!=null&&(await hn[he.value](),pe.value=!0)}async function At(){await(pe.value?qe():Et())}const Lt=()=>{const hn=Ue();(!hn||hn&&Fe())&&(pe.value=hn)};return useEventListener(le,eventHandlers,Lt,!1),useEventListener(()=>unrefElement(de),eventHandlers,Lt,!1),ue&&tryOnScopeDispose(qe),{isSupported:Ve,isFullscreen:pe,enter:Et,exit:qe,toggle:At}}function useVModel(oe,ie,le,ue={}){var de,pe,he;const{clone:_e=!1,passive:$e=!1,eventName:Ie,deep:Ve=!1,defaultValue:Fe,shouldEmit:Ue}=ue,qe=getCurrentInstance(),Et=le||(qe==null?void 0:qe.emit)||((de=qe==null?void 0:qe.$emit)==null?void 0:de.bind(qe))||((he=(pe=qe==null?void 0:qe.proxy)==null?void 0:pe.$emit)==null?void 0:he.bind(qe==null?void 0:qe.proxy));let At=Ie;ie||(ie="modelValue"),At=At||`update:${ie.toString()}`;const Lt=_n=>_e?typeof _e=="function"?_e(_n):cloneFnJSON(_n):_n,hn=()=>isDef(oe[ie])?Lt(oe[ie]):Fe,vn=_n=>{Ue?Ue(_n)&&Et(At,_n):Et(At,_n)};if($e){const _n=hn(),bn=ref(_n);return watch(()=>oe[ie],Sn=>bn.value=Lt(Sn)),watch(bn,Sn=>{(Sn!==oe[ie]||Ve)&&vn(Sn)},{deep:Ve}),bn}else return computed({get(){return hn()},set(_n){vn(_n)}})}function useWindowSize(oe={}){const{window:ie=defaultWindow,initialWidth:le=1/0,initialHeight:ue=1/0,listenOrientation:de=!0,includeScrollbar:pe=!0}=oe,he=ref(le),_e=ref(ue),$e=()=>{ie&&(pe?(he.value=ie.innerWidth,_e.value=ie.innerHeight):(he.value=ie.document.documentElement.clientWidth,_e.value=ie.document.documentElement.clientHeight))};if($e(),tryOnMounted($e),useEventListener("resize",$e,{passive:!0}),de){const Ie=useMediaQuery("(orientation: portrait)");watch(Ie,()=>$e())}return{width:he,height:_e}}const dialogStore=ref([]),addDialog=oe=>{const ie=()=>dialogStore.value.push(Object.assign(oe,{visible:!0}));oe!=null&&oe.openDelay?useTimeoutFn(()=>{ie()},oe.openDelay):ie()},closeDialog=(oe,ie,le)=>{dialogStore.value.splice(ie,1),oe.closeCallBack&&oe.closeCallBack({options:oe,index:ie,args:le})},updateDialog=(oe,ie="title",le=0)=>{dialogStore.value[le][ie]=oe},closeAllDialog=()=>{dialogStore.value=[]},ReDialog=zn(_sfc_main$1);var zhCn={};(function(oe){Object.defineProperty(oe,"__esModule",{value:!0});var ie={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};oe.default=ie})(zhCn);const zhLocale=getDefaultExportFromCjs(zhCn),_sfc_main=defineComponent({name:"app",components:{[ElConfigProvider.name]:ElConfigProvider,ReDialog},computed:{currentLocale(){var oe;return((oe=this.$storage.locale)==null?void 0:oe.locale)==="zh"?zhLocale:enLocale}},beforeCreate(){const{version:oe,name:ie}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.7","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"2.3.6","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0","wavesurfer.js":"^7.0.3",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.5.0"},{VITE_PUBLIC_PATH:le,MODE:ue}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};ue==="production"&&checkVersion({pollingTime:3e5,localPackageVersion:oe,originVersionFileUrl:`${location.origin}${le}version.json`},{title:ie,description:"检测到新版本",buttonText:"立即更新"})}}),_export_sfc=(oe,ie)=>{const le=oe.__vccOpts||oe;for(const[ue,de]of ie)le[ue]=de;return le};function _sfc_render(oe,ie,le,ue,de,pe){const he=resolveComponent("router-view"),_e=resolveComponent("ReDialog"),$e=resolveComponent("el-config-provider");return openBlock(),createBlock($e,{locale:oe.currentLocale},{default:withCtx(()=>[createVNode(he),createVNode(_e)]),_:1},8,["locale"])}const App=_export_sfc(_sfc_main,[["render",_sfc_render]]),scriptRel="modulepreload",assetsURL=function(oe){return"/vue-pure-admin/"+oe},seen={},__vitePreload=function(ie,le,ue){if(!le||le.length===0)return ie();const de=document.getElementsByTagName("link");return Promise.all(le.map(pe=>{if(pe=assetsURL(pe),pe in seen)return;seen[pe]=!0;const he=pe.endsWith(".css"),_e=he?'[rel="stylesheet"]':"";if(!!ue)for(let Ve=de.length-1;Ve>=0;Ve--){const Fe=de[Ve];if(Fe.href===pe&&(!he||Fe.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${pe}"]${_e}`))return;const Ie=document.createElement("link");if(Ie.rel=he?"stylesheet":scriptRel,he||(Ie.as="script",Ie.crossOrigin=""),Ie.href=pe,document.head.appendChild(Ie),he)return new Promise((Ve,Fe)=>{Ie.addEventListener("load",Ve),Ie.addEventListener("error",()=>Fe(new Error(`Unable to preload CSS for ${pe}`)))})})).then(()=>ie())},resource$1={buttons:{hsLoginOut:oe=>{const{normalize:ie}=oe;return ie(["LoginOut"])},hsfullscreen:oe=>{const{normalize:ie}=oe;return ie(["FullScreen"])},hsexitfullscreen:oe=>{const{normalize:ie}=oe;return ie(["ExitFullscreen"])},hsrefreshRoute:oe=>{const{normalize:ie}=oe;return ie(["RefreshRoute"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["Login"])},hsadd:oe=>{const{normalize:ie}=oe;return ie(["Add"])},hsmark:oe=>{const{normalize:ie}=oe;return ie(["Mark/Cancel"])},hssave:oe=>{const{normalize:ie}=oe;return ie(["Save"])},hssearch:oe=>{const{normalize:ie}=oe;return ie(["Search"])},hsexpendAll:oe=>{const{normalize:ie}=oe;return ie(["Expand All"])},hscollapseAll:oe=>{const{normalize:ie}=oe;return ie(["Collapse All"])},hssystemSet:oe=>{const{normalize:ie}=oe;return ie(["Open ProjectConfig"])},hsdelete:oe=>{const{normalize:ie}=oe;return ie(["Delete"])},hsreload:oe=>{const{normalize:ie}=oe;return ie(["Reload"])},hscloseCurrentTab:oe=>{const{normalize:ie}=oe;return ie(["Close CurrentTab"])},hscloseLeftTabs:oe=>{const{normalize:ie}=oe;return ie(["Close LeftTabs"])},hscloseRightTabs:oe=>{const{normalize:ie}=oe;return ie(["Close RightTabs"])},hscloseOtherTabs:oe=>{const{normalize:ie}=oe;return ie(["Close OtherTabs"])},hscloseAllTabs:oe=>{const{normalize:ie}=oe;return ie(["Close AllTabs"])},hswholeFullScreen:oe=>{const{normalize:ie}=oe;return ie(["FullScreen"])},hswholeExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["ExitFull"])},hscontentFullScreen:oe=>{const{normalize:ie}=oe;return ie(["Content FullScreen"])},hscontentExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["Content ExitFullScreen"])}},menus:{hshome:oe=>{const{normalize:ie}=oe;return ie(["Home"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["Login"])},hsempty:oe=>{const{normalize:ie}=oe;return ie(["Empty Page"])},hssysManagement:oe=>{const{normalize:ie}=oe;return ie(["System Manage"])},hsUser:oe=>{const{normalize:ie}=oe;return ie(["User Manage"])},hsRole:oe=>{const{normalize:ie}=oe;return ie(["Role Manage"])},hsDept:oe=>{const{normalize:ie}=oe;return ie(["Dept Manage"])},hseditor:oe=>{const{normalize:ie}=oe;return ie(["Editor"])},hsabnormal:oe=>{const{normalize:ie}=oe;return ie(["Abnormal Page"])},hsfourZeroFour:oe=>{const{normalize:ie}=oe;return ie(["404"])},hsfourZeroOne:oe=>{const{normalize:ie}=oe;return ie(["403"])},hsFive:oe=>{const{normalize:ie}=oe;return ie(["500"])},hscomponents:oe=>{const{normalize:ie}=oe;return ie(["Components"])},hsdialog:oe=>{const{normalize:ie}=oe;return ie(["Dialog Components"])},hsmessage:oe=>{const{normalize:ie}=oe;return ie(["Message Tips Components"])},hsvideo:oe=>{const{normalize:ie}=oe;return ie(["Video Components"])},hssegmented:oe=>{const{normalize:ie}=oe;return ie(["Segmented Components"])},hswaterfall:oe=>{const{normalize:ie}=oe;return ie(["Waterfall Components"])},hsmap:oe=>{const{normalize:ie}=oe;return ie(["Map Components"])},hsdraggable:oe=>{const{normalize:ie}=oe;return ie(["Draggable Components"])},hssplitPane:oe=>{const{normalize:ie}=oe;return ie(["Split Pane"])},hsbutton:oe=>{const{normalize:ie}=oe;return ie(["Button Components"])},hscropping:oe=>{const{normalize:ie}=oe;return ie(["Picture Cropping"])},hscountTo:oe=>{const{normalize:ie}=oe;return ie(["Digital Animation"])},hsselector:oe=>{const{normalize:ie}=oe;return ie(["Selector Components"])},hsflowChart:oe=>{const{normalize:ie}=oe;return ie(["Flow Chart"])},hsseamless:oe=>{const{normalize:ie}=oe;return ie(["Seamless Scroll"])},hscontextmenu:oe=>{const{normalize:ie}=oe;return ie(["Context Menu"])},hstypeit:oe=>{const{normalize:ie}=oe;return ie(["Typeit Components"])},hsjsoneditor:oe=>{const{normalize:ie}=oe;return ie(["JSON Editor"])},hsmenus:oe=>{const{normalize:ie}=oe;return ie(["MultiLevel Menu"])},hsmenu1:oe=>{const{normalize:ie}=oe;return ie(["Menu1"])},"hsmenu1-1":oe=>{const{normalize:ie}=oe;return ie(["Menu1-1"])},"hsmenu1-2":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2"])},"hsmenu1-2-1":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2-1"])},"hsmenu1-2-2":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2-2"])},"hsmenu1-3":oe=>{const{normalize:ie}=oe;return ie(["Menu1-3"])},hsmenu2:oe=>{const{normalize:ie}=oe;return ie(["Menu2"])},permission:oe=>{const{normalize:ie}=oe;return ie(["Permission Manage"])},permissionPage:oe=>{const{normalize:ie}=oe;return ie(["Page Permission"])},permissionButton:oe=>{const{normalize:ie}=oe;return ie(["Button Permission"])},hstabs:oe=>{const{normalize:ie}=oe;return ie(["Tabs Operate"])},hsguide:oe=>{const{normalize:ie}=oe;return ie(["Guide"])},hsAble:oe=>{const{normalize:ie}=oe;return ie(["Able"])},hsMenuTree:oe=>{const{normalize:ie}=oe;return ie(["Menu Tree"])},hsVideoFrame:oe=>{const{normalize:ie}=oe;return ie(["Video Frame Capture"])},hsWavesurfer:oe=>{const{normalize:ie}=oe;return ie(["Audio Visualization"])},hsOptimize:oe=>{const{normalize:ie}=oe;return ie(["Debounce、Throttle、Copy、Longpress Directives"])},hsWatermark:oe=>{const{normalize:ie}=oe;return ie(["Water Mark"])},hsPrint:oe=>{const{normalize:ie}=oe;return ie(["Print"])},hsDownload:oe=>{const{normalize:ie}=oe;return ie(["Download"])},hsExternalPage:oe=>{const{normalize:ie}=oe;return ie(["External Page"])},hsPureDocument:oe=>{const{normalize:ie}=oe;return ie(["Pure Doc(Embedded)"])},externalLink:oe=>{const{normalize:ie}=oe;return ie(["Pure Doc(External)"])},hsEpDocument:oe=>{const{normalize:ie}=oe;return ie(["Element Plus Doc(Embedded)"])},hsVueDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue3 Doc(Embedded)"])},hsViteDocument:oe=>{const{normalize:ie}=oe;return ie(["Vite Doc(Embedded)"])},hsPiniaDocument:oe=>{const{normalize:ie}=oe;return ie(["Pinia Doc(Embedded)"])},hsRouterDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue Router Doc(Embedded)"])},hsTailwindcssDocument:oe=>{const{normalize:ie}=oe;return ie(["Tailwindcss Doc(Embedded)"])},hsAbout:oe=>{const{normalize:ie}=oe;return ie(["About"])},hsResult:oe=>{const{normalize:ie}=oe;return ie(["Result Page"])},hsSuccess:oe=>{const{normalize:ie}=oe;return ie(["Success Page"])},hsFail:oe=>{const{normalize:ie}=oe;return ie(["Fail Page"])},hsIconSelect:oe=>{const{normalize:ie}=oe;return ie(["Icon Select"])},hsTimeline:oe=>{const{normalize:ie}=oe;return ie(["Time Line"])},hsLineTree:oe=>{const{normalize:ie}=oe;return ie(["LineTree"])},hsList:oe=>{const{normalize:ie}=oe;return ie(["List Page"])},hsListCard:oe=>{const{normalize:ie}=oe;return ie(["Card List Page"])},hsDebounce:oe=>{const{normalize:ie}=oe;return ie(["Debounce & Throttle"])},hsFormDesign:oe=>{const{normalize:ie}=oe;return ie(["Form Design"])},hsBarcode:oe=>{const{normalize:ie}=oe;return ie(["Barcode"])},hsQrcode:oe=>{const{normalize:ie}=oe;return ie(["Qrcode"])},hsCascader:oe=>{const{normalize:ie}=oe;return ie(["Area Cascader"])},hsSwiper:oe=>{const{normalize:ie}=oe;return ie(["Swiper Plugin"])},hsVirtualList:oe=>{const{normalize:ie}=oe;return ie(["Virtual List"])},hsPdf:oe=>{const{normalize:ie}=oe;return ie(["PDF Preview"])},hsExecl:oe=>{const{normalize:ie}=oe;return ie(["Export Excel"])},hsInfiniteScroll:oe=>{const{normalize:ie}=oe;return ie(["Table Infinite Scroll"])},hsSensitive:oe=>{const{normalize:ie}=oe;return ie(["Sensitive Filter"])},hsPinyin:oe=>{const{normalize:ie}=oe;return ie(["PinYin"])},hsdanmaku:oe=>{const{normalize:ie}=oe;return ie(["Danmaku Components"])},hsPureTableBase:oe=>{const{normalize:ie}=oe;return ie(["Base Usage"])},hsPureTableHigh:oe=>{const{normalize:ie}=oe;return ie(["High Usage"])},hsTree:oe=>{const{normalize:ie}=oe;return ie(["Big Data Tree"])},hsMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["Menu Overflow Show Tooltip Text"])},hsChildMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["Child Menu Overflow Show Tooltip Text"])}},status:{hsLoad:oe=>{const{normalize:ie}=oe;return ie(["Loading..."])}},login:{username:oe=>{const{normalize:ie}=oe;return ie(["Username"])},password:oe=>{const{normalize:ie}=oe;return ie(["Password"])},verifyCode:oe=>{const{normalize:ie}=oe;return ie(["VerifyCode"])},remember:oe=>{const{normalize:ie}=oe;return ie(["Remember Password"])},sure:oe=>{const{normalize:ie}=oe;return ie(["Sure Password"])},forget:oe=>{const{normalize:ie}=oe;return ie(["Forget Password?"])},login:oe=>{const{normalize:ie}=oe;return ie(["Login"])},thirdLogin:oe=>{const{normalize:ie}=oe;return ie(["Third Login"])},phoneLogin:oe=>{const{normalize:ie}=oe;return ie(["Phone Login"])},qRCodeLogin:oe=>{const{normalize:ie}=oe;return ie(["QRCode Login"])},register:oe=>{const{normalize:ie}=oe;return ie(["Register"])},weChatLogin:oe=>{const{normalize:ie}=oe;return ie(["WeChat Login"])},alipayLogin:oe=>{const{normalize:ie}=oe;return ie(["Alipay Login"])},qqLogin:oe=>{const{normalize:ie}=oe;return ie(["QQ Login"])},weiboLogin:oe=>{const{normalize:ie}=oe;return ie(["Weibo Login"])},phone:oe=>{const{normalize:ie}=oe;return ie(["Phone"])},smsVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["SMS VerifyCode"])},back:oe=>{const{normalize:ie}=oe;return ie(["Back"])},test:oe=>{const{normalize:ie}=oe;return ie(["Mock Test"])},tip:oe=>{const{normalize:ie}=oe;return ie(['After scanning the code, click "Confirm" to complete the login'])},definite:oe=>{const{normalize:ie}=oe;return ie(["Definite"])},loginSuccess:oe=>{const{normalize:ie}=oe;return ie(["Login Success"])},registerSuccess:oe=>{const{normalize:ie}=oe;return ie(["Regist Success"])},tickPrivacy:oe=>{const{normalize:ie}=oe;return ie(["Please tick Privacy Policy"])},readAccept:oe=>{const{normalize:ie}=oe;return ie(["I have read it carefully and accept"])},privacyPolicy:oe=>{const{normalize:ie}=oe;return ie(["Privacy Policy"])},getVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["Get VerifyCode"])},info:oe=>{const{normalize:ie}=oe;return ie(["Seconds"])},usernameReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter username"])},passwordReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter password"])},verifyCodeReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter verify code"])},verifyCodeCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter correct verify code"])},verifyCodeSixReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter a 6-digit verify code"])},phoneReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter the phone"])},phoneCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter the correct phone number format"])},passwordRuleReg:oe=>{const{normalize:ie}=oe;return ie(["The password format should be any combination of 8-18 digits"])},passwordSureReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter confirm password"])},passwordDifferentReg:oe=>{const{normalize:ie}=oe;return ie(["The two passwords do not match!"])},passwordUpdateReg:oe=>{const{normalize:ie}=oe;return ie(["Password has been updated"])}}},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource$1},Symbol.toStringTag,{value:"Module"})),resource={buttons:{hsLoginOut:oe=>{const{normalize:ie}=oe;return ie(["退出系统"])},hsfullscreen:oe=>{const{normalize:ie}=oe;return ie(["全屏"])},hsexitfullscreen:oe=>{const{normalize:ie}=oe;return ie(["退出全屏"])},hsrefreshRoute:oe=>{const{normalize:ie}=oe;return ie(["刷新路由"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["登录"])},hsadd:oe=>{const{normalize:ie}=oe;return ie(["新增"])},hsmark:oe=>{const{normalize:ie}=oe;return ie(["标记/取消"])},hssave:oe=>{const{normalize:ie}=oe;return ie(["保存"])},hssearch:oe=>{const{normalize:ie}=oe;return ie(["搜索"])},hsexpendAll:oe=>{const{normalize:ie}=oe;return ie(["全部展开"])},hscollapseAll:oe=>{const{normalize:ie}=oe;return ie(["全部折叠"])},hssystemSet:oe=>{const{normalize:ie}=oe;return ie(["打开项目配置"])},hsdelete:oe=>{const{normalize:ie}=oe;return ie(["删除"])},hsreload:oe=>{const{normalize:ie}=oe;return ie(["重新加载"])},hscloseCurrentTab:oe=>{const{normalize:ie}=oe;return ie(["关闭当前标签页"])},hscloseLeftTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭左侧标签页"])},hscloseRightTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭右侧标签页"])},hscloseOtherTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭其他标签页"])},hscloseAllTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭全部标签页"])},hswholeFullScreen:oe=>{const{normalize:ie}=oe;return ie(["全屏"])},hswholeExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["退出全屏"])},hscontentFullScreen:oe=>{const{normalize:ie}=oe;return ie(["内容区全屏"])},hscontentExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["内容区退出全屏"])}},menus:{hshome:oe=>{const{normalize:ie}=oe;return ie(["首页"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["登录"])},hsempty:oe=>{const{normalize:ie}=oe;return ie(["无Layout页"])},hssysManagement:oe=>{const{normalize:ie}=oe;return ie(["系统管理"])},hsUser:oe=>{const{normalize:ie}=oe;return ie(["用户管理"])},hsRole:oe=>{const{normalize:ie}=oe;return ie(["角色管理"])},hsDept:oe=>{const{normalize:ie}=oe;return ie(["部门管理"])},hseditor:oe=>{const{normalize:ie}=oe;return ie(["编辑器"])},hsabnormal:oe=>{const{normalize:ie}=oe;return ie(["异常页面"])},hsfourZeroFour:oe=>{const{normalize:ie}=oe;return ie(["404"])},hsfourZeroOne:oe=>{const{normalize:ie}=oe;return ie(["403"])},hsFive:oe=>{const{normalize:ie}=oe;return ie(["500"])},hscomponents:oe=>{const{normalize:ie}=oe;return ie(["组件"])},hsdialog:oe=>{const{normalize:ie}=oe;return ie(["函数式弹框组件"])},hsmessage:oe=>{const{normalize:ie}=oe;return ie(["消息提示组件"])},hsvideo:oe=>{const{normalize:ie}=oe;return ie(["视频组件"])},hssegmented:oe=>{const{normalize:ie}=oe;return ie(["分段控制器组件"])},hswaterfall:oe=>{const{normalize:ie}=oe;return ie(["瀑布流无限滚动组件"])},hsmap:oe=>{const{normalize:ie}=oe;return ie(["地图组件"])},hsdraggable:oe=>{const{normalize:ie}=oe;return ie(["拖拽组件"])},hssplitPane:oe=>{const{normalize:ie}=oe;return ie(["切割面板"])},hsbutton:oe=>{const{normalize:ie}=oe;return ie(["按钮组件"])},hscropping:oe=>{const{normalize:ie}=oe;return ie(["图片裁剪"])},hscountTo:oe=>{const{normalize:ie}=oe;return ie(["数字动画"])},hsselector:oe=>{const{normalize:ie}=oe;return ie(["选择器组件"])},hsflowChart:oe=>{const{normalize:ie}=oe;return ie(["流程图"])},hsseamless:oe=>{const{normalize:ie}=oe;return ie(["无缝滚动"])},hscontextmenu:oe=>{const{normalize:ie}=oe;return ie(["右键菜单"])},hstypeit:oe=>{const{normalize:ie}=oe;return ie(["打字机组件"])},hsjsoneditor:oe=>{const{normalize:ie}=oe;return ie(["JSON编辑器"])},hsmenus:oe=>{const{normalize:ie}=oe;return ie(["多级菜单"])},hsmenu1:oe=>{const{normalize:ie}=oe;return ie(["菜单1"])},"hsmenu1-1":oe=>{const{normalize:ie}=oe;return ie(["菜单1-1"])},"hsmenu1-2":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2"])},"hsmenu1-2-1":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2-1"])},"hsmenu1-2-2":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2-2"])},"hsmenu1-3":oe=>{const{normalize:ie}=oe;return ie(["菜单1-3"])},hsmenu2:oe=>{const{normalize:ie}=oe;return ie(["菜单2"])},permission:oe=>{const{normalize:ie}=oe;return ie(["权限管理"])},permissionPage:oe=>{const{normalize:ie}=oe;return ie(["页面权限"])},permissionButton:oe=>{const{normalize:ie}=oe;return ie(["按钮权限"])},hstabs:oe=>{const{normalize:ie}=oe;return ie(["标签页操作"])},hsguide:oe=>{const{normalize:ie}=oe;return ie(["引导页"])},hsAble:oe=>{const{normalize:ie}=oe;return ie(["功能"])},hsMenuTree:oe=>{const{normalize:ie}=oe;return ie(["菜单树结构"])},hsVideoFrame:oe=>{const{normalize:ie}=oe;return ie(["视频帧截取-wasm版"])},hsWavesurfer:oe=>{const{normalize:ie}=oe;return ie(["音频可视化"])},hsOptimize:oe=>{const{normalize:ie}=oe;return ie(["防抖、截流、复制、长按指令"])},hsWatermark:oe=>{const{normalize:ie}=oe;return ie(["水印"])},hsPrint:oe=>{const{normalize:ie}=oe;return ie(["打印"])},hsDownload:oe=>{const{normalize:ie}=oe;return ie(["下载"])},hsExternalPage:oe=>{const{normalize:ie}=oe;return ie(["外部页面"])},hsPureDocument:oe=>{const{normalize:ie}=oe;return ie(["平台文档(内嵌)"])},externalLink:oe=>{const{normalize:ie}=oe;return ie(["平台文档(外链)"])},hsEpDocument:oe=>{const{normalize:ie}=oe;return ie(["Element Plus 文档(内嵌)"])},hsVueDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue3 文档(内嵌)"])},hsViteDocument:oe=>{const{normalize:ie}=oe;return ie(["Vite 文档(内嵌)"])},hsPiniaDocument:oe=>{const{normalize:ie}=oe;return ie(["Pinia 文档(内嵌)"])},hsRouterDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue Router 文档(内嵌)"])},hsTailwindcssDocument:oe=>{const{normalize:ie}=oe;return ie(["Tailwindcss 文档(内嵌)"])},hsAbout:oe=>{const{normalize:ie}=oe;return ie(["关于"])},hsResult:oe=>{const{normalize:ie}=oe;return ie(["结果页面"])},hsSuccess:oe=>{const{normalize:ie}=oe;return ie(["成功页面"])},hsFail:oe=>{const{normalize:ie}=oe;return ie(["失败页面"])},hsIconSelect:oe=>{const{normalize:ie}=oe;return ie(["图标选择器"])},hsTimeline:oe=>{const{normalize:ie}=oe;return ie(["时间线"])},hsLineTree:oe=>{const{normalize:ie}=oe;return ie(["树形连接线"])},hsList:oe=>{const{normalize:ie}=oe;return ie(["列表页"])},hsListCard:oe=>{const{normalize:ie}=oe;return ie(["卡片列表页"])},hsDebounce:oe=>{const{normalize:ie}=oe;return ie(["防抖节流"])},hsFormDesign:oe=>{const{normalize:ie}=oe;return ie(["表单设计器"])},hsBarcode:oe=>{const{normalize:ie}=oe;return ie(["条形码"])},hsQrcode:oe=>{const{normalize:ie}=oe;return ie(["二维码"])},hsCascader:oe=>{const{normalize:ie}=oe;return ie(["区域级联选择器"])},hsSwiper:oe=>{const{normalize:ie}=oe;return ie(["Swiper插件"])},hsVirtualList:oe=>{const{normalize:ie}=oe;return ie(["虚拟列表"])},hsPdf:oe=>{const{normalize:ie}=oe;return ie(["PDF预览"])},hsExecl:oe=>{const{normalize:ie}=oe;return ie(["导出Excel"])},hsInfiniteScroll:oe=>{const{normalize:ie}=oe;return ie(["表格无限滚动"])},hsSensitive:oe=>{const{normalize:ie}=oe;return ie(["敏感词过滤"])},hsPinyin:oe=>{const{normalize:ie}=oe;return ie(["汉语拼音"])},hsdanmaku:oe=>{const{normalize:ie}=oe;return ie(["弹幕组件"])},hsPureTableBase:oe=>{const{normalize:ie}=oe;return ie(["基础用法23个示例"])},hsPureTableHigh:oe=>{const{normalize:ie}=oe;return ie(["高级用法11个示例"])},hsTree:oe=>{const{normalize:ie}=oe;return ie(["大数据树业务组件"])},hsMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["目录超出显示 Tooltip 文字提示"])},hsChildMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["菜单超出显示 Tooltip 文字提示"])}},status:{hsLoad:oe=>{const{normalize:ie}=oe;return ie(["加载中..."])}},login:{username:oe=>{const{normalize:ie}=oe;return ie(["账号"])},password:oe=>{const{normalize:ie}=oe;return ie(["密码"])},verifyCode:oe=>{const{normalize:ie}=oe;return ie(["验证码"])},remember:oe=>{const{normalize:ie}=oe;return ie(["记住密码"])},sure:oe=>{const{normalize:ie}=oe;return ie(["确认密码"])},forget:oe=>{const{normalize:ie}=oe;return ie(["忘记密码?"])},login:oe=>{const{normalize:ie}=oe;return ie(["登录"])},thirdLogin:oe=>{const{normalize:ie}=oe;return ie(["第三方登录"])},phoneLogin:oe=>{const{normalize:ie}=oe;return ie(["手机登录"])},qRCodeLogin:oe=>{const{normalize:ie}=oe;return ie(["二维码登录"])},register:oe=>{const{normalize:ie}=oe;return ie(["注册"])},weChatLogin:oe=>{const{normalize:ie}=oe;return ie(["微信登录"])},alipayLogin:oe=>{const{normalize:ie}=oe;return ie(["支付宝登录"])},qqLogin:oe=>{const{normalize:ie}=oe;return ie(["QQ登录"])},weiboLogin:oe=>{const{normalize:ie}=oe;return ie(["微博登录"])},phone:oe=>{const{normalize:ie}=oe;return ie(["手机号码"])},smsVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["短信验证码"])},back:oe=>{const{normalize:ie}=oe;return ie(["返回"])},test:oe=>{const{normalize:ie}=oe;return ie(["模拟测试"])},tip:oe=>{const{normalize:ie}=oe;return ie(['扫码后点击"确认",即可完成登录'])},definite:oe=>{const{normalize:ie}=oe;return ie(["确定"])},loginSuccess:oe=>{const{normalize:ie}=oe;return ie(["登录成功"])},registerSuccess:oe=>{const{normalize:ie}=oe;return ie(["注册成功"])},tickPrivacy:oe=>{const{normalize:ie}=oe;return ie(["请勾选隐私政策"])},readAccept:oe=>{const{normalize:ie}=oe;return ie(["我已仔细阅读并接受"])},privacyPolicy:oe=>{const{normalize:ie}=oe;return ie(["《隐私政策》"])},getVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["获取验证码"])},info:oe=>{const{normalize:ie}=oe;return ie(["秒后重新获取"])},usernameReg:oe=>{const{normalize:ie}=oe;return ie(["请输入账号"])},passwordReg:oe=>{const{normalize:ie}=oe;return ie(["请输入密码"])},verifyCodeReg:oe=>{const{normalize:ie}=oe;return ie(["请输入验证码"])},verifyCodeCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["请输入正确的验证码"])},verifyCodeSixReg:oe=>{const{normalize:ie}=oe;return ie(["请输入6位数字验证码"])},phoneReg:oe=>{const{normalize:ie}=oe;return ie(["请输入手机号码"])},phoneCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["请输入正确的手机号码格式"])},passwordRuleReg:oe=>{const{normalize:ie}=oe;return ie(["密码格式应为8-18位数字、字母、符号的任意两种组合"])},passwordSureReg:oe=>{const{normalize:ie}=oe;return ie(["请输入确认密码"])},passwordDifferentReg:oe=>{const{normalize:ie}=oe;return ie(["两次密码不一致!"])},passwordUpdateReg:oe=>{const{normalize:ie}=oe;return ie(["修改密码成功"])}}},__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource},Symbol.toStringTag,{value:"Module"}));/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const inBrowser=typeof window<"u",hasSymbol=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",makeSymbol=oe=>hasSymbol?Symbol(oe):oe,generateFormatCacheKey=(oe,ie,le)=>friendlyJSONstringify({l:oe,k:ie,s:le}),friendlyJSONstringify=oe=>JSON.stringify(oe).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber$3=oe=>typeof oe=="number"&&isFinite(oe),isDate$2=oe=>toTypeString(oe)==="[object Date]",isRegExp$4=oe=>toTypeString(oe)==="[object RegExp]",isEmptyObject=oe=>isPlainObject$2(oe)&&Object.keys(oe).length===0;function warn$1(oe,ie){typeof console<"u"&&(console.warn("[intlify] "+oe),ie&&console.warn(ie.stack))}const assign$4=Object.assign;function escapeHtml(oe){return oe.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const hasOwnProperty$1=Object.prototype.hasOwnProperty;function hasOwn$3(oe,ie){return hasOwnProperty$1.call(oe,ie)}const isArray$9=Array.isArray,isFunction$2=oe=>typeof oe=="function",isString$4=oe=>typeof oe=="string",isBoolean$2=oe=>typeof oe=="boolean",isObject$6=oe=>oe!==null&&typeof oe=="object",objectToString$1=Object.prototype.toString,toTypeString=oe=>objectToString$1.call(oe),isPlainObject$2=oe=>toTypeString(oe)==="[object Object]",toDisplayString=oe=>oe==null?"":isArray$9(oe)||isPlainObject$2(oe)&&oe.toString===objectToString$1?JSON.stringify(oe,null,2):String(oe);/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function createCompileError(oe,ie,le={}){const{domain:ue,messages:de,args:pe}=le,he=oe,_e=new SyntaxError(String(he));return _e.code=oe,ie&&(_e.location=ie),_e.domain=ue,_e}/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],["["]:[4],o:[7]};pathStateMachine[1]={w:[1],["."]:[2],["["]:[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],[0]:[3,0]};pathStateMachine[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};pathStateMachine[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};pathStateMachine[5]={["'"]:[4,0],o:8,l:[5,0]};pathStateMachine[6]={['"']:[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(oe){return literalValueRE.test(oe)}function stripQuotes(oe){const ie=oe.charCodeAt(0),le=oe.charCodeAt(oe.length-1);return ie===le&&(ie===34||ie===39)?oe.slice(1,-1):oe}function getPathCharType(oe){if(oe==null)return"o";switch(oe.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return oe;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath(oe){const ie=oe.trim();return oe.charAt(0)==="0"&&isNaN(parseInt(oe))?!1:isLiteral(ie)?stripQuotes(ie):"*"+ie}function parse$5(oe){const ie=[];let le=-1,ue=0,de=0,pe,he,_e,$e,Ie,Ve,Fe;const Ue=[];Ue[0]=()=>{he===void 0?he=_e:he+=_e},Ue[1]=()=>{he!==void 0&&(ie.push(he),he=void 0)},Ue[2]=()=>{Ue[0](),de++},Ue[3]=()=>{if(de>0)de--,ue=4,Ue[0]();else{if(de=0,he===void 0||(he=formatSubPath(he),he===!1))return!1;Ue[1]()}};function qe(){const Et=oe[le+1];if(ue===5&&Et==="'"||ue===6&&Et==='"')return le++,_e="\\"+Et,Ue[0](),!0}for(;ue!==null;)if(le++,pe=oe[le],!(pe==="\\"&&qe())){if($e=getPathCharType(pe),Fe=pathStateMachine[ue],Ie=Fe[$e]||Fe.l||8,Ie===8||(ue=Ie[0],Ie[1]!==void 0&&(Ve=Ue[Ie[1]],Ve&&(_e=pe,Ve()===!1))))return;if(ue===7)return ie}}const cache=new Map;function resolveWithKeyValue(oe,ie){return isObject$6(oe)?oe[ie]:null}function resolveValue(oe,ie){if(!isObject$6(oe))return null;let le=cache.get(ie);if(le||(le=parse$5(ie),le&&cache.set(ie,le)),!le)return null;const ue=le.length;let de=oe,pe=0;for(;pe<ue;){const he=de[le[pe]];if(he===void 0)return null;de=he,pe++}return de}const DEFAULT_MODIFIER=oe=>oe,DEFAULT_MESSAGE=oe=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=oe=>oe.length===0?"":oe.join(""),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(oe,ie){return oe=Math.abs(oe),ie===2?oe?oe>1?1:0:1:oe?Math.min(oe,2):0}function getPluralIndex(oe){const ie=isNumber$3(oe.pluralIndex)?oe.pluralIndex:-1;return oe.named&&(isNumber$3(oe.named.count)||isNumber$3(oe.named.n))?isNumber$3(oe.named.count)?oe.named.count:isNumber$3(oe.named.n)?oe.named.n:ie:ie}function normalizeNamed(oe,ie){ie.count||(ie.count=oe),ie.n||(ie.n=oe)}function createMessageContext(oe={}){const ie=oe.locale,le=getPluralIndex(oe),ue=isObject$6(oe.pluralRules)&&isString$4(ie)&&isFunction$2(oe.pluralRules[ie])?oe.pluralRules[ie]:pluralDefault,de=isObject$6(oe.pluralRules)&&isString$4(ie)&&isFunction$2(oe.pluralRules[ie])?pluralDefault:void 0,pe=hn=>hn[ue(le,hn.length,de)],he=oe.list||[],_e=hn=>he[hn],$e=oe.named||{};isNumber$3(oe.pluralIndex)&&normalizeNamed(le,$e);const Ie=hn=>$e[hn];function Ve(hn){const vn=isFunction$2(oe.messages)?oe.messages(hn):isObject$6(oe.messages)?oe.messages[hn]:!1;return vn||(oe.parent?oe.parent.message(hn):DEFAULT_MESSAGE)}const Fe=hn=>oe.modifiers?oe.modifiers[hn]:DEFAULT_MODIFIER,Ue=isPlainObject$2(oe.processor)&&isFunction$2(oe.processor.normalize)?oe.processor.normalize:DEFAULT_NORMALIZE,qe=isPlainObject$2(oe.processor)&&isFunction$2(oe.processor.interpolate)?oe.processor.interpolate:DEFAULT_INTERPOLATE,Et=isPlainObject$2(oe.processor)&&isString$4(oe.processor.type)?oe.processor.type:DEFAULT_MESSAGE_DATA_TYPE,Lt={list:_e,named:Ie,plural:pe,linked:(hn,...vn)=>{const[_n,bn]=vn;let Sn="text",Cn="";vn.length===1?isObject$6(_n)?(Cn=_n.modifier||Cn,Sn=_n.type||Sn):isString$4(_n)&&(Cn=_n||Cn):vn.length===2&&(isString$4(_n)&&(Cn=_n||Cn),isString$4(bn)&&(Sn=bn||Sn));let En=Ve(hn)(Lt);return Sn==="vnode"&&isArray$9(En)&&Cn&&(En=En[0]),Cn?Fe(Cn)(En,Sn):En},message:Ve,type:Et,interpolate:qe,normalize:Ue};return Lt}function fallbackWithSimple(oe,ie,le){return[...new Set([le,...isArray$9(ie)?ie:isObject$6(ie)?Object.keys(ie):isString$4(ie)?[ie]:[le]])]}function fallbackWithLocaleChain(oe,ie,le){const ue=isString$4(le)?le:DEFAULT_LOCALE$1,de=oe;de.__localeChainCache||(de.__localeChainCache=new Map);let pe=de.__localeChainCache.get(ue);if(!pe){pe=[];let he=[le];for(;isArray$9(he);)he=appendBlockToChain(pe,he,ie);const _e=isArray$9(ie)||!isPlainObject$2(ie)?ie:ie.default?ie.default:null;he=isString$4(_e)?[_e]:_e,isArray$9(he)&&appendBlockToChain(pe,he,!1),de.__localeChainCache.set(ue,pe)}return pe}function appendBlockToChain(oe,ie,le){let ue=!0;for(let de=0;de<ie.length&&isBoolean$2(ue);de++){const pe=ie[de];isString$4(pe)&&(ue=appendLocaleToChain(oe,ie[de],le))}return ue}function appendLocaleToChain(oe,ie,le){let ue;const de=ie.split("-");do{const pe=de.join("-");ue=appendItemToChain(oe,pe,le),de.splice(-1,1)}while(de.length&&ue===!0);return ue}function appendItemToChain(oe,ie,le){let ue=!1;if(!oe.includes(ie)&&(ue=!0,ie)){ue=ie[ie.length-1]!=="!";const de=ie.replace(/!/g,"");oe.push(de),(isArray$9(le)||isPlainObject$2(le))&&le[de]&&(ue=le[de])}return ue}const VERSION$2="9.2.2",NOT_REOSLVED=-1,DEFAULT_LOCALE$1="en-US",MISSING_RESOLVE_VALUE="",capitalize=oe=>`${oe.charAt(0).toLocaleUpperCase()}${oe.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(oe,ie)=>ie==="text"&&isString$4(oe)?oe.toUpperCase():ie==="vnode"&&isObject$6(oe)&&"__v_isVNode"in oe?oe.children.toUpperCase():oe,lower:(oe,ie)=>ie==="text"&&isString$4(oe)?oe.toLowerCase():ie==="vnode"&&isObject$6(oe)&&"__v_isVNode"in oe?oe.children.toLowerCase():oe,capitalize:(oe,ie)=>ie==="text"&&isString$4(oe)?capitalize(oe):ie==="vnode"&&isObject$6(oe)&&"__v_isVNode"in oe?capitalize(oe.children):oe}}let _compiler,_resolver;function registerMessageResolver(oe){_resolver=oe}let _fallbacker;function registerLocaleFallbacker(oe){_fallbacker=oe}let _cid=0;function createCoreContext(oe={}){const ie=isString$4(oe.version)?oe.version:VERSION$2,le=isString$4(oe.locale)?oe.locale:DEFAULT_LOCALE$1,ue=isArray$9(oe.fallbackLocale)||isPlainObject$2(oe.fallbackLocale)||isString$4(oe.fallbackLocale)||oe.fallbackLocale===!1?oe.fallbackLocale:le,de=isPlainObject$2(oe.messages)?oe.messages:{[le]:{}},pe=isPlainObject$2(oe.datetimeFormats)?oe.datetimeFormats:{[le]:{}},he=isPlainObject$2(oe.numberFormats)?oe.numberFormats:{[le]:{}},_e=assign$4({},oe.modifiers||{},getDefaultLinkedModifiers()),$e=oe.pluralRules||{},Ie=isFunction$2(oe.missing)?oe.missing:null,Ve=isBoolean$2(oe.missingWarn)||isRegExp$4(oe.missingWarn)?oe.missingWarn:!0,Fe=isBoolean$2(oe.fallbackWarn)||isRegExp$4(oe.fallbackWarn)?oe.fallbackWarn:!0,Ue=!!oe.fallbackFormat,qe=!!oe.unresolving,Et=isFunction$2(oe.postTranslation)?oe.postTranslation:null,At=isPlainObject$2(oe.processor)?oe.processor:null,Lt=isBoolean$2(oe.warnHtmlMessage)?oe.warnHtmlMessage:!0,hn=!!oe.escapeParameter,vn=isFunction$2(oe.messageCompiler)?oe.messageCompiler:_compiler,_n=isFunction$2(oe.messageResolver)?oe.messageResolver:_resolver||resolveWithKeyValue,bn=isFunction$2(oe.localeFallbacker)?oe.localeFallbacker:_fallbacker||fallbackWithSimple,Sn=isObject$6(oe.fallbackContext)?oe.fallbackContext:void 0,Cn=isFunction$2(oe.onWarn)?oe.onWarn:warn$1,En=oe,wn=isObject$6(En.__datetimeFormatters)?En.__datetimeFormatters:new Map,xn=isObject$6(En.__numberFormatters)?En.__numberFormatters:new Map,kn=isObject$6(En.__meta)?En.__meta:{};_cid++;const Pn={version:ie,cid:_cid,locale:le,fallbackLocale:ue,messages:de,modifiers:_e,pluralRules:$e,missing:Ie,missingWarn:Ve,fallbackWarn:Fe,fallbackFormat:Ue,unresolving:qe,postTranslation:Et,processor:At,warnHtmlMessage:Lt,escapeParameter:hn,messageCompiler:vn,messageResolver:_n,localeFallbacker:bn,fallbackContext:Sn,onWarn:Cn,__meta:kn};return Pn.datetimeFormats=pe,Pn.numberFormats=he,Pn.__datetimeFormatters=wn,Pn.__numberFormatters=xn,Pn}function handleMissing(oe,ie,le,ue,de){const{missing:pe,onWarn:he}=oe;if(pe!==null){const _e=pe(oe,le,ie,de);return isString$4(_e)?_e:ie}else return ie}function updateFallbackLocale(oe,ie,le){const ue=oe;ue.__localeChainCache=new Map,oe.localeFallbacker(oe,le,ie)}let code$1=CompileErrorCodes.__EXTEND_POINT__;const inc$1=()=>++code$1,CoreErrorCodes={INVALID_ARGUMENT:code$1,INVALID_DATE_ARGUMENT:inc$1(),INVALID_ISO_DATE_ARGUMENT:inc$1(),__EXTEND_POINT__:inc$1()};function createCoreError(oe){return createCompileError(oe,null,void 0)}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=oe=>isFunction$2(oe);function translate$1(oe,...ie){const{fallbackFormat:le,postTranslation:ue,unresolving:de,messageCompiler:pe,fallbackLocale:he,messages:_e}=oe,[$e,Ie]=parseTranslateArgs(...ie),Ve=isBoolean$2(Ie.missingWarn)?Ie.missingWarn:oe.missingWarn,Fe=isBoolean$2(Ie.fallbackWarn)?Ie.fallbackWarn:oe.fallbackWarn,Ue=isBoolean$2(Ie.escapeParameter)?Ie.escapeParameter:oe.escapeParameter,qe=!!Ie.resolvedMessage,Et=isString$4(Ie.default)||isBoolean$2(Ie.default)?isBoolean$2(Ie.default)?pe?$e:()=>$e:Ie.default:le?pe?$e:()=>$e:"",At=le||Et!=="",Lt=isString$4(Ie.locale)?Ie.locale:oe.locale;Ue&&escapeParams(Ie);let[hn,vn,_n]=qe?[$e,Lt,_e[Lt]||{}]:resolveMessageFormat(oe,$e,Lt,he,Fe,Ve),bn=hn,Sn=$e;if(!qe&&!(isString$4(bn)||isMessageFunction(bn))&&At&&(bn=Et,Sn=bn),!qe&&(!(isString$4(bn)||isMessageFunction(bn))||!isString$4(vn)))return de?NOT_REOSLVED:$e;let Cn=!1;const En=()=>{Cn=!0},wn=isMessageFunction(bn)?bn:compileMessageFormat(oe,$e,vn,bn,Sn,En);if(Cn)return bn;const xn=getMessageContextOptions(oe,vn,_n,Ie),kn=createMessageContext(xn),Pn=evaluateMessage(oe,wn,kn);return ue?ue(Pn,$e):Pn}function escapeParams(oe){isArray$9(oe.list)?oe.list=oe.list.map(ie=>isString$4(ie)?escapeHtml(ie):ie):isObject$6(oe.named)&&Object.keys(oe.named).forEach(ie=>{isString$4(oe.named[ie])&&(oe.named[ie]=escapeHtml(oe.named[ie]))})}function resolveMessageFormat(oe,ie,le,ue,de,pe){const{messages:he,onWarn:_e,messageResolver:$e,localeFallbacker:Ie}=oe,Ve=Ie(oe,ue,le);let Fe={},Ue,qe=null;const Et="translate";for(let At=0;At<Ve.length&&(Ue=Ve[At],Fe=he[Ue]||{},(qe=$e(Fe,ie))===null&&(qe=Fe[ie]),!(isString$4(qe)||isFunction$2(qe)));At++){const Lt=handleMissing(oe,ie,Ue,pe,Et);Lt!==ie&&(qe=Lt)}return[qe,Ue,Fe]}function compileMessageFormat(oe,ie,le,ue,de,pe){const{messageCompiler:he,warnHtmlMessage:_e}=oe;if(isMessageFunction(ue)){const Ie=ue;return Ie.locale=Ie.locale||le,Ie.key=Ie.key||ie,Ie}if(he==null){const Ie=()=>ue;return Ie.locale=le,Ie.key=ie,Ie}const $e=he(ue,getCompileOptions(oe,le,de,ue,_e,pe));return $e.locale=le,$e.key=ie,$e.source=ue,$e}function evaluateMessage(oe,ie,le){return ie(le)}function parseTranslateArgs(...oe){const[ie,le,ue]=oe,de={};if(!isString$4(ie)&&!isNumber$3(ie)&&!isMessageFunction(ie))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const pe=isNumber$3(ie)?String(ie):(isMessageFunction(ie),ie);return isNumber$3(le)?de.plural=le:isString$4(le)?de.default=le:isPlainObject$2(le)&&!isEmptyObject(le)?de.named=le:isArray$9(le)&&(de.list=le),isNumber$3(ue)?de.plural=ue:isString$4(ue)?de.default=ue:isPlainObject$2(ue)&&assign$4(de,ue),[pe,de]}function getCompileOptions(oe,ie,le,ue,de,pe){return{warnHtmlMessage:de,onError:he=>{throw pe&&pe(he),he},onCacheKey:he=>generateFormatCacheKey(ie,le,he)}}function getMessageContextOptions(oe,ie,le,ue){const{modifiers:de,pluralRules:pe,messageResolver:he,fallbackLocale:_e,fallbackWarn:$e,missingWarn:Ie,fallbackContext:Ve}=oe,Ue={locale:ie,modifiers:de,pluralRules:pe,messages:qe=>{let Et=he(le,qe);if(Et==null&&Ve){const[,,At]=resolveMessageFormat(Ve,qe,ie,_e,$e,Ie);Et=he(At,qe)}if(isString$4(Et)){let At=!1;const hn=compileMessageFormat(oe,qe,ie,Et,qe,()=>{At=!0});return At?NOOP_MESSAGE_FUNCTION:hn}else return isMessageFunction(Et)?Et:NOOP_MESSAGE_FUNCTION}};return oe.processor&&(Ue.processor=oe.processor),ue.list&&(Ue.list=ue.list),ue.named&&(Ue.named=ue.named),isNumber$3(ue.plural)&&(Ue.pluralIndex=ue.plural),Ue}function datetime(oe,...ie){const{datetimeFormats:le,unresolving:ue,fallbackLocale:de,onWarn:pe,localeFallbacker:he}=oe,{__datetimeFormatters:_e}=oe,[$e,Ie,Ve,Fe]=parseDateTimeArgs(...ie),Ue=isBoolean$2(Ve.missingWarn)?Ve.missingWarn:oe.missingWarn;isBoolean$2(Ve.fallbackWarn)?Ve.fallbackWarn:oe.fallbackWarn;const qe=!!Ve.part,Et=isString$4(Ve.locale)?Ve.locale:oe.locale,At=he(oe,de,Et);if(!isString$4($e)||$e==="")return new Intl.DateTimeFormat(Et,Fe).format(Ie);let Lt={},hn,vn=null;const _n="datetime format";for(let Cn=0;Cn<At.length&&(hn=At[Cn],Lt=le[hn]||{},vn=Lt[$e],!isPlainObject$2(vn));Cn++)handleMissing(oe,$e,hn,Ue,_n);if(!isPlainObject$2(vn)||!isString$4(hn))return ue?NOT_REOSLVED:$e;let bn=`${hn}__${$e}`;isEmptyObject(Fe)||(bn=`${bn}__${JSON.stringify(Fe)}`);let Sn=_e.get(bn);return Sn||(Sn=new Intl.DateTimeFormat(hn,assign$4({},vn,Fe)),_e.set(bn,Sn)),qe?Sn.formatToParts(Ie):Sn.format(Ie)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...oe){const[ie,le,ue,de]=oe,pe={};let he={},_e;if(isString$4(ie)){const $e=ie.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!$e)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const Ie=$e[3]?$e[3].trim().startsWith("T")?`${$e[1].trim()}${$e[3].trim()}`:`${$e[1].trim()}T${$e[3].trim()}`:$e[1].trim();_e=new Date(Ie);try{_e.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate$2(ie)){if(isNaN(ie.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);_e=ie}else if(isNumber$3(ie))_e=ie;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString$4(le)?pe.key=le:isPlainObject$2(le)&&Object.keys(le).forEach($e=>{DATETIME_FORMAT_OPTIONS_KEYS.includes($e)?he[$e]=le[$e]:pe[$e]=le[$e]}),isString$4(ue)?pe.locale=ue:isPlainObject$2(ue)&&(he=ue),isPlainObject$2(de)&&(he=de),[pe.key||"",_e,pe,he]}function clearDateTimeFormat(oe,ie,le){const ue=oe;for(const de in le){const pe=`${ie}__${de}`;ue.__datetimeFormatters.has(pe)&&ue.__datetimeFormatters.delete(pe)}}function number$2(oe,...ie){const{numberFormats:le,unresolving:ue,fallbackLocale:de,onWarn:pe,localeFallbacker:he}=oe,{__numberFormatters:_e}=oe,[$e,Ie,Ve,Fe]=parseNumberArgs(...ie),Ue=isBoolean$2(Ve.missingWarn)?Ve.missingWarn:oe.missingWarn;isBoolean$2(Ve.fallbackWarn)?Ve.fallbackWarn:oe.fallbackWarn;const qe=!!Ve.part,Et=isString$4(Ve.locale)?Ve.locale:oe.locale,At=he(oe,de,Et);if(!isString$4($e)||$e==="")return new Intl.NumberFormat(Et,Fe).format(Ie);let Lt={},hn,vn=null;const _n="number format";for(let Cn=0;Cn<At.length&&(hn=At[Cn],Lt=le[hn]||{},vn=Lt[$e],!isPlainObject$2(vn));Cn++)handleMissing(oe,$e,hn,Ue,_n);if(!isPlainObject$2(vn)||!isString$4(hn))return ue?NOT_REOSLVED:$e;let bn=`${hn}__${$e}`;isEmptyObject(Fe)||(bn=`${bn}__${JSON.stringify(Fe)}`);let Sn=_e.get(bn);return Sn||(Sn=new Intl.NumberFormat(hn,assign$4({},vn,Fe)),_e.set(bn,Sn)),qe?Sn.formatToParts(Ie):Sn.format(Ie)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...oe){const[ie,le,ue,de]=oe,pe={};let he={};if(!isNumber$3(ie))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const _e=ie;return isString$4(le)?pe.key=le:isPlainObject$2(le)&&Object.keys(le).forEach($e=>{NUMBER_FORMAT_OPTIONS_KEYS.includes($e)?he[$e]=le[$e]:pe[$e]=le[$e]}),isString$4(ue)?pe.locale=ue:isPlainObject$2(ue)&&(he=ue),isPlainObject$2(de)&&(he=de),[pe.key||"",_e,pe,he]}function clearNumberFormat(oe,ie,le){const ue=oe;for(const de in le){const pe=`${ie}__${de}`;ue.__numberFormatters.has(pe)&&ue.__numberFormatters.delete(pe)}}/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const VERSION$1="9.2.2";let code=CompileErrorCodes.__EXTEND_POINT__;const inc=()=>++code,I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSLALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSLALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(oe,...ie){return createCompileError(oe,null,void 0)}const TransrateVNodeSymbol=makeSymbol("__transrateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOption=makeSymbol("__injectWithOption");function handleFlatJson(oe){if(!isObject$6(oe))return oe;for(const ie in oe)if(hasOwn$3(oe,ie))if(!ie.includes("."))isObject$6(oe[ie])&&handleFlatJson(oe[ie]);else{const le=ie.split("."),ue=le.length-1;let de=oe;for(let pe=0;pe<ue;pe++)le[pe]in de||(de[le[pe]]={}),de=de[le[pe]];de[le[ue]]=oe[ie],delete oe[ie],isObject$6(de[le[ue]])&&handleFlatJson(de[le[ue]])}return oe}function getLocaleMessages(oe,ie){const{messages:le,__i18n:ue,messageResolver:de,flatJson:pe}=ie,he=isPlainObject$2(le)?le:isArray$9(ue)?{}:{[oe]:{}};if(isArray$9(ue)&&ue.forEach(_e=>{if("locale"in _e&&"resource"in _e){const{locale:$e,resource:Ie}=_e;$e?(he[$e]=he[$e]||{},deepCopy(Ie,he[$e])):deepCopy(Ie,he)}else isString$4(_e)&&deepCopy(JSON.parse(_e),he)}),de==null&&pe)for(const _e in he)hasOwn$3(he,_e)&&handleFlatJson(he[_e]);return he}const isNotObjectOrIsArray=oe=>!isObject$6(oe)||isArray$9(oe);function deepCopy(oe,ie){if(isNotObjectOrIsArray(oe)||isNotObjectOrIsArray(ie))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const le in oe)hasOwn$3(oe,le)&&(isNotObjectOrIsArray(oe[le])||isNotObjectOrIsArray(ie[le])?ie[le]=oe[le]:deepCopy(oe[le],ie[le]))}function getComponentOptions(oe){return oe.type}function adjustI18nResources(oe,ie,le){let ue=isObject$6(ie.messages)?ie.messages:{};"__i18nGlobal"in le&&(ue=getLocaleMessages(oe.locale.value,{messages:ue,__i18n:le.__i18nGlobal}));const de=Object.keys(ue);de.length&&de.forEach(pe=>{oe.mergeLocaleMessage(pe,ue[pe])});{if(isObject$6(ie.datetimeFormats)){const pe=Object.keys(ie.datetimeFormats);pe.length&&pe.forEach(he=>{oe.mergeDateTimeFormat(he,ie.datetimeFormats[he])})}if(isObject$6(ie.numberFormats)){const pe=Object.keys(ie.numberFormats);pe.length&&pe.forEach(he=>{oe.mergeNumberFormat(he,ie.numberFormats[he])})}}}function createTextNode(oe){return createVNode(Text$1,null,oe,0)}let composerID=0;function defineCoreMissingHandler(oe){return(ie,le,ue,de)=>oe(le,ue,getCurrentInstance()||void 0,de)}function createComposer(oe={},ie){const{__root:le}=oe,ue=le===void 0;let de=isBoolean$2(oe.inheritLocale)?oe.inheritLocale:!0;const pe=ref(le&&de?le.locale.value:isString$4(oe.locale)?oe.locale:DEFAULT_LOCALE$1),he=ref(le&&de?le.fallbackLocale.value:isString$4(oe.fallbackLocale)||isArray$9(oe.fallbackLocale)||isPlainObject$2(oe.fallbackLocale)||oe.fallbackLocale===!1?oe.fallbackLocale:pe.value),_e=ref(getLocaleMessages(pe.value,oe)),$e=ref(isPlainObject$2(oe.datetimeFormats)?oe.datetimeFormats:{[pe.value]:{}}),Ie=ref(isPlainObject$2(oe.numberFormats)?oe.numberFormats:{[pe.value]:{}});let Ve=le?le.missingWarn:isBoolean$2(oe.missingWarn)||isRegExp$4(oe.missingWarn)?oe.missingWarn:!0,Fe=le?le.fallbackWarn:isBoolean$2(oe.fallbackWarn)||isRegExp$4(oe.fallbackWarn)?oe.fallbackWarn:!0,Ue=le?le.fallbackRoot:isBoolean$2(oe.fallbackRoot)?oe.fallbackRoot:!0,qe=!!oe.fallbackFormat,Et=isFunction$2(oe.missing)?oe.missing:null,At=isFunction$2(oe.missing)?defineCoreMissingHandler(oe.missing):null,Lt=isFunction$2(oe.postTranslation)?oe.postTranslation:null,hn=le?le.warnHtmlMessage:isBoolean$2(oe.warnHtmlMessage)?oe.warnHtmlMessage:!0,vn=!!oe.escapeParameter;const _n=le?le.modifiers:isPlainObject$2(oe.modifiers)?oe.modifiers:{};let bn=oe.pluralRules||le&&le.pluralRules,Sn;Sn=(()=>{const ur={version:VERSION$1,locale:pe.value,fallbackLocale:he.value,messages:_e.value,modifiers:_n,pluralRules:bn,missing:At===null?void 0:At,missingWarn:Ve,fallbackWarn:Fe,fallbackFormat:qe,unresolving:!0,postTranslation:Lt===null?void 0:Lt,warnHtmlMessage:hn,escapeParameter:vn,messageResolver:oe.messageResolver,__meta:{framework:"vue"}};return ur.datetimeFormats=$e.value,ur.numberFormats=Ie.value,ur.__datetimeFormatters=isPlainObject$2(Sn)?Sn.__datetimeFormatters:void 0,ur.__numberFormatters=isPlainObject$2(Sn)?Sn.__numberFormatters:void 0,createCoreContext(ur)})(),updateFallbackLocale(Sn,pe.value,he.value);function En(){return[pe.value,he.value,_e.value,$e.value,Ie.value]}const wn=computed({get:()=>pe.value,set:ur=>{pe.value=ur,Sn.locale=pe.value}}),xn=computed({get:()=>he.value,set:ur=>{he.value=ur,Sn.fallbackLocale=he.value,updateFallbackLocale(Sn,pe.value,ur)}}),kn=computed(()=>_e.value),Pn=computed(()=>$e.value),An=computed(()=>Ie.value);function In(){return isFunction$2(Lt)?Lt:null}function Nn(ur){Lt=ur,Sn.postTranslation=ur}function Un(){return Et}function Vn(ur){ur!==null&&(At=defineCoreMissingHandler(ur)),Et=ur,Sn.missing=At}const Mn=(ur,fr,pr,Or,Lr,Vr)=>{En();let Dr;if(Dr=ur(Sn),isNumber$3(Dr)&&Dr===NOT_REOSLVED){const[$r,xr]=fr();return le&&Ue?Or(le):Lr($r)}else{if(Vr(Dr))return Dr;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function Fn(...ur){return Mn(fr=>Reflect.apply(translate$1,null,[fr,...ur]),()=>parseTranslateArgs(...ur),"translate",fr=>Reflect.apply(fr.t,fr,[...ur]),fr=>fr,fr=>isString$4(fr))}function Ln(...ur){const[fr,pr,Or]=ur;if(Or&&!isObject$6(Or))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return Fn(fr,pr,assign$4({resolvedMessage:!0},Or||{}))}function jn(...ur){return Mn(fr=>Reflect.apply(datetime,null,[fr,...ur]),()=>parseDateTimeArgs(...ur),"datetime format",fr=>Reflect.apply(fr.d,fr,[...ur]),()=>MISSING_RESOLVE_VALUE,fr=>isString$4(fr))}function Zn(...ur){return Mn(fr=>Reflect.apply(number$2,null,[fr,...ur]),()=>parseNumberArgs(...ur),"number format",fr=>Reflect.apply(fr.n,fr,[...ur]),()=>MISSING_RESOLVE_VALUE,fr=>isString$4(fr))}function Gn(ur){return ur.map(fr=>isString$4(fr)||isNumber$3(fr)||isBoolean$2(fr)?createTextNode(String(fr)):fr)}const lr={normalize:Gn,interpolate:ur=>ur,type:"vnode"};function yr(...ur){return Mn(fr=>{let pr;const Or=fr;try{Or.processor=lr,pr=Reflect.apply(translate$1,null,[Or,...ur])}finally{Or.processor=null}return pr},()=>parseTranslateArgs(...ur),"translate",fr=>fr[TransrateVNodeSymbol](...ur),fr=>[createTextNode(fr)],fr=>isArray$9(fr))}function ir(...ur){return Mn(fr=>Reflect.apply(number$2,null,[fr,...ur]),()=>parseNumberArgs(...ur),"number format",fr=>fr[NumberPartsSymbol](...ur),()=>[],fr=>isString$4(fr)||isArray$9(fr))}function qn(...ur){return Mn(fr=>Reflect.apply(datetime,null,[fr,...ur]),()=>parseDateTimeArgs(...ur),"datetime format",fr=>fr[DatetimePartsSymbol](...ur),()=>[],fr=>isString$4(fr)||isArray$9(fr))}function Yn(ur){bn=ur,Sn.pluralRules=bn}function Xn(ur,fr){const pr=isString$4(fr)?fr:pe.value,Or=Kn(pr);return Sn.messageResolver(Or,ur)!==null}function or(ur){let fr=null;const pr=fallbackWithLocaleChain(Sn,he.value,pe.value);for(let Or=0;Or<pr.length;Or++){const Lr=_e.value[pr[Or]]||{},Vr=Sn.messageResolver(Lr,ur);if(Vr!=null){fr=Vr;break}}return fr}function _r(ur){const fr=or(ur);return fr??(le?le.tm(ur)||{}:{})}function Kn(ur){return _e.value[ur]||{}}function er(ur,fr){_e.value[ur]=fr,Sn.messages=_e.value}function ar(ur,fr){_e.value[ur]=_e.value[ur]||{},deepCopy(fr,_e.value[ur]),Sn.messages=_e.value}function gr(ur){return $e.value[ur]||{}}function Er(ur,fr){$e.value[ur]=fr,Sn.datetimeFormats=$e.value,clearDateTimeFormat(Sn,ur,fr)}function cr(ur,fr){$e.value[ur]=assign$4($e.value[ur]||{},fr),Sn.datetimeFormats=$e.value,clearDateTimeFormat(Sn,ur,fr)}function Ar(ur){return Ie.value[ur]||{}}function br(ur,fr){Ie.value[ur]=fr,Sn.numberFormats=Ie.value,clearNumberFormat(Sn,ur,fr)}function kr(ur,fr){Ie.value[ur]=assign$4(Ie.value[ur]||{},fr),Sn.numberFormats=Ie.value,clearNumberFormat(Sn,ur,fr)}composerID++,le&&inBrowser&&(watch(le.locale,ur=>{de&&(pe.value=ur,Sn.locale=ur,updateFallbackLocale(Sn,pe.value,he.value))}),watch(le.fallbackLocale,ur=>{de&&(he.value=ur,Sn.fallbackLocale=ur,updateFallbackLocale(Sn,pe.value,he.value))}));const mr={id:composerID,locale:wn,fallbackLocale:xn,get inheritLocale(){return de},set inheritLocale(ur){de=ur,ur&&le&&(pe.value=le.locale.value,he.value=le.fallbackLocale.value,updateFallbackLocale(Sn,pe.value,he.value))},get availableLocales(){return Object.keys(_e.value).sort()},messages:kn,get modifiers(){return _n},get pluralRules(){return bn||{}},get isGlobal(){return ue},get missingWarn(){return Ve},set missingWarn(ur){Ve=ur,Sn.missingWarn=Ve},get fallbackWarn(){return Fe},set fallbackWarn(ur){Fe=ur,Sn.fallbackWarn=Fe},get fallbackRoot(){return Ue},set fallbackRoot(ur){Ue=ur},get fallbackFormat(){return qe},set fallbackFormat(ur){qe=ur,Sn.fallbackFormat=qe},get warnHtmlMessage(){return hn},set warnHtmlMessage(ur){hn=ur,Sn.warnHtmlMessage=ur},get escapeParameter(){return vn},set escapeParameter(ur){vn=ur,Sn.escapeParameter=ur},t:Fn,getLocaleMessage:Kn,setLocaleMessage:er,mergeLocaleMessage:ar,getPostTranslationHandler:In,setPostTranslationHandler:Nn,getMissingHandler:Un,setMissingHandler:Vn,[SetPluralRulesSymbol]:Yn};return mr.datetimeFormats=Pn,mr.numberFormats=An,mr.rt=Ln,mr.te=Xn,mr.tm=_r,mr.d=jn,mr.n=Zn,mr.getDateTimeFormat=gr,mr.setDateTimeFormat=Er,mr.mergeDateTimeFormat=cr,mr.getNumberFormat=Ar,mr.setNumberFormat=br,mr.mergeNumberFormat=kr,mr[InejctWithOption]=oe.__injectWithOption,mr[TransrateVNodeSymbol]=yr,mr[DatetimePartsSymbol]=qn,mr[NumberPartsSymbol]=ir,mr}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:oe=>oe==="parent"||oe==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:oe},ie){return ie.length===1&&ie[0]==="default"?(oe.default?oe.default():[]).reduce((ue,de)=>ue=[...ue,...isArray$9(de.children)?de.children:[de]],[]):ie.reduce((le,ue)=>{const de=oe[ue];return de&&(le[ue]=de()),le},{})}function getFragmentableTag(oe){return Fragment}const Translation={name:"i18n-t",props:assign$4({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:oe=>isNumber$3(oe)||!isNaN(oe)}},baseFormatProps),setup(oe,ie){const{slots:le,attrs:ue}=ie,de=oe.i18n||useI18n$1({useScope:oe.scope,__useComponent:!0});return()=>{const pe=Object.keys(le).filter(Fe=>Fe!=="_"),he={};oe.locale&&(he.locale=oe.locale),oe.plural!==void 0&&(he.plural=isString$4(oe.plural)?+oe.plural:oe.plural);const _e=getInterpolateArg(ie,pe),$e=de[TransrateVNodeSymbol](oe.keypath,_e,he),Ie=assign$4({},ue),Ve=isString$4(oe.tag)||isObject$6(oe.tag)?oe.tag:getFragmentableTag();return h$3(Ve,Ie,$e)}}};function isVNode(oe){return isArray$9(oe)&&!isString$4(oe[0])}function renderFormatter(oe,ie,le,ue){const{slots:de,attrs:pe}=ie;return()=>{const he={part:!0};let _e={};oe.locale&&(he.locale=oe.locale),isString$4(oe.format)?he.key=oe.format:isObject$6(oe.format)&&(isString$4(oe.format.key)&&(he.key=oe.format.key),_e=Object.keys(oe.format).reduce((Ue,qe)=>le.includes(qe)?assign$4({},Ue,{[qe]:oe.format[qe]}):Ue,{}));const $e=ue(oe.value,he,_e);let Ie=[he.key];isArray$9($e)?Ie=$e.map((Ue,qe)=>{const Et=de[Ue.type],At=Et?Et({[Ue.type]:Ue.value,index:qe,parts:$e}):[Ue.value];return isVNode(At)&&(At[0].key=`${Ue.type}-${qe}`),At}):isString$4($e)&&(Ie=[$e]);const Ve=assign$4({},pe),Fe=isString$4(oe.tag)||isObject$6(oe.tag)?oe.tag:getFragmentableTag();return h$3(Fe,Ve,Ie)}}const NumberFormat={name:"i18n-n",props:assign$4({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(oe,ie){const le=oe.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(oe,ie,NUMBER_FORMAT_OPTIONS_KEYS,(...ue)=>le[NumberPartsSymbol](...ue))}},DatetimeFormat={name:"i18n-d",props:assign$4({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(oe,ie){const le=oe.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(oe,ie,DATETIME_FORMAT_OPTIONS_KEYS,(...ue)=>le[DatetimePartsSymbol](...ue))}};function getComposer$2(oe,ie){const le=oe;if(oe.mode==="composition")return le.__getInstance(ie)||oe.global;{const ue=le.__getInstance(ie);return ue!=null?ue.__composer:oe.global.__composer}}function vTDirective(oe){const ie=he=>{const{instance:_e,modifiers:$e,value:Ie}=he;if(!_e||!_e.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const Ve=getComposer$2(oe,_e.$),Fe=parseValue(Ie);return[Reflect.apply(Ve.t,Ve,[...makeParams(Fe)]),Ve]};return{created:(he,_e)=>{const[$e,Ie]=ie(_e);inBrowser&&oe.global===Ie&&(he.__i18nWatcher=watch(Ie.locale,()=>{_e.instance&&_e.instance.$forceUpdate()})),he.__composer=Ie,he.textContent=$e},unmounted:he=>{inBrowser&&he.__i18nWatcher&&(he.__i18nWatcher(),he.__i18nWatcher=void 0,delete he.__i18nWatcher),he.__composer&&(he.__composer=void 0,delete he.__composer)},beforeUpdate:(he,{value:_e})=>{if(he.__composer){const $e=he.__composer,Ie=parseValue(_e);he.textContent=Reflect.apply($e.t,$e,[...makeParams(Ie)])}},getSSRProps:he=>{const[_e]=ie(he);return{textContent:_e}}}}function parseValue(oe){if(isString$4(oe))return{path:oe};if(isPlainObject$2(oe)){if(!("path"in oe))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return oe}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(oe){const{path:ie,locale:le,args:ue,choice:de,plural:pe}=oe,he={},_e=ue||{};return isString$4(le)&&(he.locale=le),isNumber$3(de)&&(he.plural=de),isNumber$3(pe)&&(he.plural=pe),[ie,_e,he]}function apply(oe,ie,...le){const ue=isPlainObject$2(le[0])?le[0]:{},de=!!ue.useI18nComponentName;(isBoolean$2(ue.globalInstall)?ue.globalInstall:!0)&&(oe.component(de?"i18n":Translation.name,Translation),oe.component(NumberFormat.name,NumberFormat),oe.component(DatetimeFormat.name,DatetimeFormat)),oe.directive("t",vTDirective(ie))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(oe={},ie){const le=isBoolean$2(oe.globalInjection)?oe.globalInjection:!0,ue=!0,de=new Map,[pe,he]=createGlobal(oe),_e=makeSymbol("");function $e(Fe){return de.get(Fe)||null}function Ie(Fe,Ue){de.set(Fe,Ue)}function Ve(Fe){de.delete(Fe)}{const Fe={get mode(){return"composition"},get allowComposition(){return ue},async install(Ue,...qe){Ue.__VUE_I18N_SYMBOL__=_e,Ue.provide(Ue.__VUE_I18N_SYMBOL__,Fe),le&&injectGlobalFields(Ue,Fe.global),apply(Ue,Fe,...qe);const Et=Ue.unmount;Ue.unmount=()=>{Fe.dispose(),Et()}},get global(){return he},dispose(){pe.stop()},__instances:de,__getInstance:$e,__setInstance:Ie,__deleteInstance:Ve};return Fe}}function useI18n$1(oe={}){const ie=getCurrentInstance();if(ie==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!ie.isCE&&ie.appContext.app!=null&&!ie.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSLALLED);const le=getI18nInstance(ie),ue=getGlobalComposer(le),de=getComponentOptions(ie),pe=getScope(oe,de);if(pe==="global")return adjustI18nResources(ue,oe,de),ue;if(pe==="parent"){let $e=getComposer(le,ie,oe.__useComponent);return $e==null&&($e=ue),$e}const he=le;let _e=he.__getInstance(ie);if(_e==null){const $e=assign$4({},oe);"__i18n"in de&&($e.__i18n=de.__i18n),ue&&($e.__root=ue),_e=createComposer($e),setupLifeCycle(he,ie),he.__setInstance(ie,_e)}return _e}function createGlobal(oe,ie,le){const ue=effectScope();{const de=ue.run(()=>createComposer(oe));if(de==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[ue,de]}}function getI18nInstance(oe){{const ie=inject(oe.isCE?I18nInjectionKey:oe.appContext.app.__VUE_I18N_SYMBOL__);if(!ie)throw createI18nError(oe.isCE?I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return ie}}function getScope(oe,ie){return isEmptyObject(oe)?"__i18n"in ie?"local":"global":oe.useScope?oe.useScope:"local"}function getGlobalComposer(oe){return oe.mode==="composition"?oe.global:oe.global.__composer}function getComposer(oe,ie,le=!1){let ue=null;const de=ie.root;let pe=ie.parent;for(;pe!=null;){const he=oe;if(oe.mode==="composition"&&(ue=he.__getInstance(pe)),ue!=null||de===pe)break;pe=pe.parent}return ue}function setupLifeCycle(oe,ie,le){onMounted(()=>{},ie),onUnmounted(()=>{oe.__deleteInstance(ie)},ie)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm"];function injectGlobalFields(oe,ie){const le=Object.create(null);globalExportProps.forEach(ue=>{const de=Object.getOwnPropertyDescriptor(ie,ue);if(!de)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const pe=isRef(de.value)?{get(){return de.value.value},set(he){de.value.value=he}}:{get(){return de.get&&de.get()}};Object.defineProperty(le,ue,pe)}),oe.config.globalProperties.$i18n=le,globalExportMethods.forEach(ue=>{const de=Object.getOwnPropertyDescriptor(ie,ue);if(!de||!de.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(oe.config.globalProperties,`$${ue}`,de)})}registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);function bind$4(oe,ie){return function(){return oe.apply(ie,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(oe=>ie=>{const le=toString.call(ie);return oe[le]||(oe[le]=le.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=oe=>(oe=oe.toLowerCase(),ie=>kindOf(ie)===oe),typeOfTest=oe=>ie=>typeof ie===oe,{isArray:isArray$8}=Array,isUndefined=typeOfTest("undefined");function isBuffer$1(oe){return oe!==null&&!isUndefined(oe)&&oe.constructor!==null&&!isUndefined(oe.constructor)&&isFunction$1(oe.constructor.isBuffer)&&oe.constructor.isBuffer(oe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(oe){let ie;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ie=ArrayBuffer.isView(oe):ie=oe&&oe.buffer&&isArrayBuffer(oe.buffer),ie}const isString$3=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$2=typeOfTest("number"),isObject$5=oe=>oe!==null&&typeof oe=="object",isBoolean$1=oe=>oe===!0||oe===!1,isPlainObject$1=oe=>{if(kindOf(oe)!=="object")return!1;const ie=getPrototypeOf(oe);return(ie===null||ie===Object.prototype||Object.getPrototypeOf(ie)===null)&&!(Symbol.toStringTag in oe)&&!(Symbol.iterator in oe)},isDate$1=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=oe=>isObject$5(oe)&&isFunction$1(oe.pipe),isFormData=oe=>{let ie;return oe&&(typeof FormData=="function"&&oe instanceof FormData||isFunction$1(oe.append)&&((ie=kindOf(oe))==="formdata"||ie==="object"&&isFunction$1(oe.toString)&&oe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim$2=oe=>oe.trim?oe.trim():oe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(oe,ie,{allOwnKeys:le=!1}={}){if(oe===null||typeof oe>"u")return;let ue,de;if(typeof oe!="object"&&(oe=[oe]),isArray$8(oe))for(ue=0,de=oe.length;ue<de;ue++)ie.call(null,oe[ue],ue,oe);else{const pe=le?Object.getOwnPropertyNames(oe):Object.keys(oe),he=pe.length;let _e;for(ue=0;ue<he;ue++)_e=pe[ue],ie.call(null,oe[_e],_e,oe)}}function findKey(oe,ie){ie=ie.toLowerCase();const le=Object.keys(oe);let ue=le.length,de;for(;ue-- >0;)if(de=le[ue],ie===de.toLowerCase())return de;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=oe=>!isUndefined(oe)&&oe!==_global;function merge$2(){const{caseless:oe}=isContextDefined(this)&&this||{},ie={},le=(ue,de)=>{const pe=oe&&findKey(ie,de)||de;isPlainObject$1(ie[pe])&&isPlainObject$1(ue)?ie[pe]=merge$2(ie[pe],ue):isPlainObject$1(ue)?ie[pe]=merge$2({},ue):isArray$8(ue)?ie[pe]=ue.slice():ie[pe]=ue};for(let ue=0,de=arguments.length;ue<de;ue++)arguments[ue]&&forEach(arguments[ue],le);return ie}const extend$1=(oe,ie,le,{allOwnKeys:ue}={})=>(forEach(ie,(de,pe)=>{le&&isFunction$1(de)?oe[pe]=bind$4(de,le):oe[pe]=de},{allOwnKeys:ue}),oe),stripBOM=oe=>(oe.charCodeAt(0)===65279&&(oe=oe.slice(1)),oe),inherits$1=(oe,ie,le,ue)=>{oe.prototype=Object.create(ie.prototype,ue),oe.prototype.constructor=oe,Object.defineProperty(oe,"super",{value:ie.prototype}),le&&Object.assign(oe.prototype,le)},toFlatObject=(oe,ie,le,ue)=>{let de,pe,he;const _e={};if(ie=ie||{},oe==null)return ie;do{for(de=Object.getOwnPropertyNames(oe),pe=de.length;pe-- >0;)he=de[pe],(!ue||ue(he,oe,ie))&&!_e[he]&&(ie[he]=oe[he],_e[he]=!0);oe=le!==!1&&getPrototypeOf(oe)}while(oe&&(!le||le(oe,ie))&&oe!==Object.prototype);return ie},endsWith=(oe,ie,le)=>{oe=String(oe),(le===void 0||le>oe.length)&&(le=oe.length),le-=ie.length;const ue=oe.indexOf(ie,le);return ue!==-1&&ue===le},toArray=oe=>{if(!oe)return null;if(isArray$8(oe))return oe;let ie=oe.length;if(!isNumber$2(ie))return null;const le=new Array(ie);for(;ie-- >0;)le[ie]=oe[ie];return le},isTypedArray$1=(oe=>ie=>oe&&ie instanceof oe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(oe,ie)=>{const ue=(oe&&oe[Symbol.iterator]).call(oe);let de;for(;(de=ue.next())&&!de.done;){const pe=de.value;ie.call(oe,pe[0],pe[1])}},matchAll=(oe,ie)=>{let le;const ue=[];for(;(le=oe.exec(ie))!==null;)ue.push(le);return ue},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=oe=>oe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(le,ue,de){return ue.toUpperCase()+de}),hasOwnProperty=(({hasOwnProperty:oe})=>(ie,le)=>oe.call(ie,le))(Object.prototype),isRegExp$3=kindOfTest("RegExp"),reduceDescriptors=(oe,ie)=>{const le=Object.getOwnPropertyDescriptors(oe),ue={};forEach(le,(de,pe)=>{ie(de,pe,oe)!==!1&&(ue[pe]=de)}),Object.defineProperties(oe,ue)},freezeMethods=oe=>{reduceDescriptors(oe,(ie,le)=>{if(isFunction$1(oe)&&["arguments","caller","callee"].indexOf(le)!==-1)return!1;const ue=oe[le];if(isFunction$1(ue)){if(ie.enumerable=!1,"writable"in ie){ie.writable=!1;return}ie.set||(ie.set=()=>{throw Error("Can not rewrite read-only method '"+le+"'")})}})},toObjectSet=(oe,ie)=>{const le={},ue=de=>{de.forEach(pe=>{le[pe]=!0})};return isArray$8(oe)?ue(oe):ue(String(oe).split(ie)),le},noop$3=()=>{},toFiniteNumber=(oe,ie)=>(oe=+oe,Number.isFinite(oe)?oe:ie),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(oe=16,ie=ALPHABET.ALPHA_DIGIT)=>{let le="";const{length:ue}=ie;for(;oe--;)le+=ie[Math.random()*ue|0];return le};function isSpecCompliantForm(oe){return!!(oe&&isFunction$1(oe.append)&&oe[Symbol.toStringTag]==="FormData"&&oe[Symbol.iterator])}const toJSONObject=oe=>{const ie=new Array(10),le=(ue,de)=>{if(isObject$5(ue)){if(ie.indexOf(ue)>=0)return;if(!("toJSON"in ue)){ie[de]=ue;const pe=isArray$8(ue)?[]:{};return forEach(ue,(he,_e)=>{const $e=le(he,de+1);!isUndefined($e)&&(pe[_e]=$e)}),ie[de]=void 0,pe}}return ue};return le(oe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=oe=>oe&&(isObject$5(oe)||isFunction$1(oe))&&isFunction$1(oe.then)&&isFunction$1(oe.catch),utils$4={isArray:isArray$8,isArrayBuffer,isBuffer:isBuffer$1,isFormData,isArrayBufferView,isString:isString$3,isNumber:isNumber$2,isBoolean:isBoolean$1,isObject:isObject$5,isPlainObject:isPlainObject$1,isUndefined,isDate:isDate$1,isFile,isBlob,isRegExp:isRegExp$3,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge:merge$2,extend:extend$1,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$3,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(oe,ie,le,ue,de){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=oe,this.name="AxiosError",ie&&(this.code=ie),le&&(this.config=le),ue&&(this.request=ue),de&&(this.response=de)}utils$4.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$4.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(oe=>{descriptors[oe]={value:oe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(oe,ie,le,ue,de,pe)=>{const he=Object.create(prototype$1);return utils$4.toFlatObject(oe,he,function($e){return $e!==Error.prototype},_e=>_e!=="isAxiosError"),AxiosError.call(he,oe.message,ie,le,ue,de),he.cause=oe,he.name=oe.name,pe&&Object.assign(he,pe),he};const httpAdapter=null;function isVisitable(oe){return utils$4.isPlainObject(oe)||utils$4.isArray(oe)}function removeBrackets(oe){return utils$4.endsWith(oe,"[]")?oe.slice(0,-2):oe}function renderKey(oe,ie,le){return oe?oe.concat(ie).map(function(de,pe){return de=removeBrackets(de),!le&&pe?"["+de+"]":de}).join(le?".":""):ie}function isFlatArray(oe){return utils$4.isArray(oe)&&!oe.some(isVisitable)}const predicates=utils$4.toFlatObject(utils$4,{},null,function(ie){return/^is[A-Z]/.test(ie)});function toFormData(oe,ie,le){if(!utils$4.isObject(oe))throw new TypeError("target must be an object");ie=ie||new FormData,le=utils$4.toFlatObject(le,{metaTokens:!0,dots:!1,indexes:!1},!1,function(At,Lt){return!utils$4.isUndefined(Lt[At])});const ue=le.metaTokens,de=le.visitor||Ve,pe=le.dots,he=le.indexes,$e=(le.Blob||typeof Blob<"u"&&Blob)&&utils$4.isSpecCompliantForm(ie);if(!utils$4.isFunction(de))throw new TypeError("visitor must be a function");function Ie(Et){if(Et===null)return"";if(utils$4.isDate(Et))return Et.toISOString();if(!$e&&utils$4.isBlob(Et))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$4.isArrayBuffer(Et)||utils$4.isTypedArray(Et)?$e&&typeof Blob=="function"?new Blob([Et]):Buffer.from(Et):Et}function Ve(Et,At,Lt){let hn=Et;if(Et&&!Lt&&typeof Et=="object"){if(utils$4.endsWith(At,"{}"))At=ue?At:At.slice(0,-2),Et=JSON.stringify(Et);else if(utils$4.isArray(Et)&&isFlatArray(Et)||(utils$4.isFileList(Et)||utils$4.endsWith(At,"[]"))&&(hn=utils$4.toArray(Et)))return At=removeBrackets(At),hn.forEach(function(_n,bn){!(utils$4.isUndefined(_n)||_n===null)&&ie.append(he===!0?renderKey([At],bn,pe):he===null?At:At+"[]",Ie(_n))}),!1}return isVisitable(Et)?!0:(ie.append(renderKey(Lt,At,pe),Ie(Et)),!1)}const Fe=[],Ue=Object.assign(predicates,{defaultVisitor:Ve,convertValue:Ie,isVisitable});function qe(Et,At){if(!utils$4.isUndefined(Et)){if(Fe.indexOf(Et)!==-1)throw Error("Circular reference detected in "+At.join("."));Fe.push(Et),utils$4.forEach(Et,function(hn,vn){(!(utils$4.isUndefined(hn)||hn===null)&&de.call(ie,hn,utils$4.isString(vn)?vn.trim():vn,At,Ue))===!0&&qe(hn,At?At.concat(vn):[vn])}),Fe.pop()}}if(!utils$4.isObject(oe))throw new TypeError("data must be an object");return qe(oe),ie}function encode$2(oe){const ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(oe).replace(/[!'()~]|%20|%00/g,function(ue){return ie[ue]})}function AxiosURLSearchParams(oe,ie){this._pairs=[],oe&&toFormData(oe,this,ie)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(ie,le){this._pairs.push([ie,le])};prototype.toString=function(ie){const le=ie?function(ue){return ie.call(this,ue,encode$2)}:encode$2;return this._pairs.map(function(de){return le(de[0])+"="+le(de[1])},"").join("&")};function encode$1(oe){return encodeURIComponent(oe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(oe,ie,le){if(!ie)return oe;const ue=le&&le.encode||encode$1,de=le&&le.serialize;let pe;if(de?pe=de(ie,le):pe=utils$4.isURLSearchParams(ie)?ie.toString():new AxiosURLSearchParams(ie,le).toString(ue),pe){const he=oe.indexOf("#");he!==-1&&(oe=oe.slice(0,he)),oe+=(oe.indexOf("?")===-1?"?":"&")+pe}return oe}class InterceptorManager{constructor(){this.handlers=[]}use(ie,le,ue){return this.handlers.push({fulfilled:ie,rejected:le,synchronous:ue?ue.synchronous:!1,runWhen:ue?ue.runWhen:null}),this.handlers.length-1}eject(ie){this.handlers[ie]&&(this.handlers[ie]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(ie){utils$4.forEach(this.handlers,function(ue){ue!==null&&ie(ue)})}}const InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,isStandardBrowserEnv=(()=>{let oe;return typeof navigator<"u"&&((oe=navigator.product)==="ReactNative"||oe==="NativeScript"||oe==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),isStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv,isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(oe,ie){return toFormData(oe,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(le,ue,de,pe){return platform$1.isNode&&utils$4.isBuffer(le)?(this.append(ue,le.toString("base64")),!1):pe.defaultVisitor.apply(this,arguments)}},ie))}function parsePropPath(oe){return utils$4.matchAll(/\w+|\[(\w*)]/g,oe).map(ie=>ie[0]==="[]"?"":ie[1]||ie[0])}function arrayToObject$1(oe){const ie={},le=Object.keys(oe);let ue;const de=le.length;let pe;for(ue=0;ue<de;ue++)pe=le[ue],ie[pe]=oe[pe];return ie}function formDataToJSON(oe){function ie(le,ue,de,pe){let he=le[pe++];const _e=Number.isFinite(+he),$e=pe>=le.length;return he=!he&&utils$4.isArray(de)?de.length:he,$e?(utils$4.hasOwnProp(de,he)?de[he]=[de[he],ue]:de[he]=ue,!_e):((!de[he]||!utils$4.isObject(de[he]))&&(de[he]=[]),ie(le,ue,de[he],pe)&&utils$4.isArray(de[he])&&(de[he]=arrayToObject$1(de[he])),!_e)}if(utils$4.isFormData(oe)&&utils$4.isFunction(oe.entries)){const le={};return utils$4.forEachEntry(oe,(ue,de)=>{ie(parsePropPath(ue),de,le,0)}),le}return null}const DEFAULT_CONTENT_TYPE={"Content-Type":void 0};function stringifySafely(oe,ie,le){if(utils$4.isString(oe))try{return(ie||JSON.parse)(oe),utils$4.trim(oe)}catch(ue){if(ue.name!=="SyntaxError")throw ue}return(le||JSON.stringify)(oe)}const defaults$3={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(ie,le){const ue=le.getContentType()||"",de=ue.indexOf("application/json")>-1,pe=utils$4.isObject(ie);if(pe&&utils$4.isHTMLForm(ie)&&(ie=new FormData(ie)),utils$4.isFormData(ie))return de&&de?JSON.stringify(formDataToJSON(ie)):ie;if(utils$4.isArrayBuffer(ie)||utils$4.isBuffer(ie)||utils$4.isStream(ie)||utils$4.isFile(ie)||utils$4.isBlob(ie))return ie;if(utils$4.isArrayBufferView(ie))return ie.buffer;if(utils$4.isURLSearchParams(ie))return le.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),ie.toString();let _e;if(pe){if(ue.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(ie,this.formSerializer).toString();if((_e=utils$4.isFileList(ie))||ue.indexOf("multipart/form-data")>-1){const $e=this.env&&this.env.FormData;return toFormData(_e?{"files[]":ie}:ie,$e&&new $e,this.formSerializer)}}return pe||de?(le.setContentType("application/json",!1),stringifySafely(ie)):ie}],transformResponse:[function(ie){const le=this.transitional||defaults$3.transitional,ue=le&&le.forcedJSONParsing,de=this.responseType==="json";if(ie&&utils$4.isString(ie)&&(ue&&!this.responseType||de)){const he=!(le&&le.silentJSONParsing)&&de;try{return JSON.parse(ie)}catch(_e){if(he)throw _e.name==="SyntaxError"?AxiosError.from(_e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):_e}}return ie}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function(ie){return ie>=200&&ie<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$4.forEach(["delete","get","head"],function(ie){defaults$3.headers[ie]={}});utils$4.forEach(["post","put","patch"],function(ie){defaults$3.headers[ie]=utils$4.merge(DEFAULT_CONTENT_TYPE)});const defaults$4=defaults$3,ignoreDuplicateOf=utils$4.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=oe=>{const ie={};let le,ue,de;return oe&&oe.split(`
`).forEach(function(he){de=he.indexOf(":"),le=he.substring(0,de).trim().toLowerCase(),ue=he.substring(de+1).trim(),!(!le||ie[le]&&ignoreDuplicateOf[le])&&(le==="set-cookie"?ie[le]?ie[le].push(ue):ie[le]=[ue]:ie[le]=ie[le]?ie[le]+", "+ue:ue)}),ie},$internals=Symbol("internals");function normalizeHeader(oe){return oe&&String(oe).trim().toLowerCase()}function normalizeValue(oe){return oe===!1||oe==null?oe:utils$4.isArray(oe)?oe.map(normalizeValue):String(oe)}function parseTokens(oe){const ie=Object.create(null),le=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let ue;for(;ue=le.exec(oe);)ie[ue[1]]=ue[2];return ie}const isValidHeaderName=oe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(oe.trim());function matchHeaderValue(oe,ie,le,ue,de){if(utils$4.isFunction(ue))return ue.call(this,ie,le);if(de&&(ie=le),!!utils$4.isString(ie)){if(utils$4.isString(ue))return ie.indexOf(ue)!==-1;if(utils$4.isRegExp(ue))return ue.test(ie)}}function formatHeader(oe){return oe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(ie,le,ue)=>le.toUpperCase()+ue)}function buildAccessors(oe,ie){const le=utils$4.toCamelCase(" "+ie);["get","set","has"].forEach(ue=>{Object.defineProperty(oe,ue+le,{value:function(de,pe,he){return this[ue].call(this,ie,de,pe,he)},configurable:!0})})}class AxiosHeaders{constructor(ie){ie&&this.set(ie)}set(ie,le,ue){const de=this;function pe(_e,$e,Ie){const Ve=normalizeHeader($e);if(!Ve)throw new Error("header name must be a non-empty string");const Fe=utils$4.findKey(de,Ve);(!Fe||de[Fe]===void 0||Ie===!0||Ie===void 0&&de[Fe]!==!1)&&(de[Fe||$e]=normalizeValue(_e))}const he=(_e,$e)=>utils$4.forEach(_e,(Ie,Ve)=>pe(Ie,Ve,$e));return utils$4.isPlainObject(ie)||ie instanceof this.constructor?he(ie,le):utils$4.isString(ie)&&(ie=ie.trim())&&!isValidHeaderName(ie)?he(parseHeaders(ie),le):ie!=null&&pe(le,ie,ue),this}get(ie,le){if(ie=normalizeHeader(ie),ie){const ue=utils$4.findKey(this,ie);if(ue){const de=this[ue];if(!le)return de;if(le===!0)return parseTokens(de);if(utils$4.isFunction(le))return le.call(this,de,ue);if(utils$4.isRegExp(le))return le.exec(de);throw new TypeError("parser must be boolean|regexp|function")}}}has(ie,le){if(ie=normalizeHeader(ie),ie){const ue=utils$4.findKey(this,ie);return!!(ue&&this[ue]!==void 0&&(!le||matchHeaderValue(this,this[ue],ue,le)))}return!1}delete(ie,le){const ue=this;let de=!1;function pe(he){if(he=normalizeHeader(he),he){const _e=utils$4.findKey(ue,he);_e&&(!le||matchHeaderValue(ue,ue[_e],_e,le))&&(delete ue[_e],de=!0)}}return utils$4.isArray(ie)?ie.forEach(pe):pe(ie),de}clear(ie){const le=Object.keys(this);let ue=le.length,de=!1;for(;ue--;){const pe=le[ue];(!ie||matchHeaderValue(this,this[pe],pe,ie,!0))&&(delete this[pe],de=!0)}return de}normalize(ie){const le=this,ue={};return utils$4.forEach(this,(de,pe)=>{const he=utils$4.findKey(ue,pe);if(he){le[he]=normalizeValue(de),delete le[pe];return}const _e=ie?formatHeader(pe):String(pe).trim();_e!==pe&&delete le[pe],le[_e]=normalizeValue(de),ue[_e]=!0}),this}concat(...ie){return this.constructor.concat(this,...ie)}toJSON(ie){const le=Object.create(null);return utils$4.forEach(this,(ue,de)=>{ue!=null&&ue!==!1&&(le[de]=ie&&utils$4.isArray(ue)?ue.join(", "):ue)}),le}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([ie,le])=>ie+": "+le).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(ie){return ie instanceof this?ie:new this(ie)}static concat(ie,...le){const ue=new this(ie);return le.forEach(de=>ue.set(de)),ue}static accessor(ie){const ue=(this[$internals]=this[$internals]={accessors:{}}).accessors,de=this.prototype;function pe(he){const _e=normalizeHeader(he);ue[_e]||(buildAccessors(de,he),ue[_e]=!0)}return utils$4.isArray(ie)?ie.forEach(pe):pe(ie),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$4.freezeMethods(AxiosHeaders.prototype);utils$4.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(oe,ie){const le=this||defaults$4,ue=ie||le,de=AxiosHeaders$1.from(ue.headers);let pe=ue.data;return utils$4.forEach(oe,function(_e){pe=_e.call(le,pe,de.normalize(),ie?ie.status:void 0)}),de.normalize(),pe}function isCancel(oe){return!!(oe&&oe.__CANCEL__)}function CanceledError(oe,ie,le){AxiosError.call(this,oe??"canceled",AxiosError.ERR_CANCELED,ie,le),this.name="CanceledError"}utils$4.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(oe,ie,le){const ue=le.config.validateStatus;!le.status||!ue||ue(le.status)?oe(le):ie(new AxiosError("Request failed with status code "+le.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(le.status/100)-4],le.config,le.request,le))}const cookies=platform$1.isStandardBrowserEnv?function(){return{write:function(le,ue,de,pe,he,_e){const $e=[];$e.push(le+"="+encodeURIComponent(ue)),utils$4.isNumber(de)&&$e.push("expires="+new Date(de).toGMTString()),utils$4.isString(pe)&&$e.push("path="+pe),utils$4.isString(he)&&$e.push("domain="+he),_e===!0&&$e.push("secure"),document.cookie=$e.join("; ")},read:function(le){const ue=document.cookie.match(new RegExp("(^|;\\s*)("+le+")=([^;]*)"));return ue?decodeURIComponent(ue[3]):null},remove:function(le){this.write(le,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL(oe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(oe)}function combineURLs(oe,ie){return ie?oe.replace(/\/+$/,"")+"/"+ie.replace(/^\/+/,""):oe}function buildFullPath(oe,ie){return oe&&!isAbsoluteURL(ie)?combineURLs(oe,ie):ie}const isURLSameOrigin=platform$1.isStandardBrowserEnv?function(){const ie=/(msie|trident)/i.test(navigator.userAgent),le=document.createElement("a");let ue;function de(pe){let he=pe;return ie&&(le.setAttribute("href",he),he=le.href),le.setAttribute("href",he),{href:le.href,protocol:le.protocol?le.protocol.replace(/:$/,""):"",host:le.host,search:le.search?le.search.replace(/^\?/,""):"",hash:le.hash?le.hash.replace(/^#/,""):"",hostname:le.hostname,port:le.port,pathname:le.pathname.charAt(0)==="/"?le.pathname:"/"+le.pathname}}return ue=de(window.location.href),function(he){const _e=utils$4.isString(he)?de(he):he;return _e.protocol===ue.protocol&&_e.host===ue.host}}():function(){return function(){return!0}}();function parseProtocol(oe){const ie=/^([-+\w]{1,25})(:?\/\/|:)/.exec(oe);return ie&&ie[1]||""}function speedometer(oe,ie){oe=oe||10;const le=new Array(oe),ue=new Array(oe);let de=0,pe=0,he;return ie=ie!==void 0?ie:1e3,function($e){const Ie=Date.now(),Ve=ue[pe];he||(he=Ie),le[de]=$e,ue[de]=Ie;let Fe=pe,Ue=0;for(;Fe!==de;)Ue+=le[Fe++],Fe=Fe%oe;if(de=(de+1)%oe,de===pe&&(pe=(pe+1)%oe),Ie-he<ie)return;const qe=Ve&&Ie-Ve;return qe?Math.round(Ue*1e3/qe):void 0}}function progressEventReducer(oe,ie){let le=0;const ue=speedometer(50,250);return de=>{const pe=de.loaded,he=de.lengthComputable?de.total:void 0,_e=pe-le,$e=ue(_e),Ie=pe<=he;le=pe;const Ve={loaded:pe,total:he,progress:he?pe/he:void 0,bytes:_e,rate:$e||void 0,estimated:$e&&he&&Ie?(he-pe)/$e:void 0,event:de};Ve[ie?"download":"upload"]=!0,oe(Ve)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(oe){return new Promise(function(le,ue){let de=oe.data;const pe=AxiosHeaders$1.from(oe.headers).normalize(),he=oe.responseType;let _e;function $e(){oe.cancelToken&&oe.cancelToken.unsubscribe(_e),oe.signal&&oe.signal.removeEventListener("abort",_e)}utils$4.isFormData(de)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?pe.setContentType(!1):pe.setContentType("multipart/form-data;",!1));let Ie=new XMLHttpRequest;if(oe.auth){const qe=oe.auth.username||"",Et=oe.auth.password?unescape(encodeURIComponent(oe.auth.password)):"";pe.set("Authorization","Basic "+btoa(qe+":"+Et))}const Ve=buildFullPath(oe.baseURL,oe.url);Ie.open(oe.method.toUpperCase(),buildURL(Ve,oe.params,oe.paramsSerializer),!0),Ie.timeout=oe.timeout;function Fe(){if(!Ie)return;const qe=AxiosHeaders$1.from("getAllResponseHeaders"in Ie&&Ie.getAllResponseHeaders()),At={data:!he||he==="text"||he==="json"?Ie.responseText:Ie.response,status:Ie.status,statusText:Ie.statusText,headers:qe,config:oe,request:Ie};settle(function(hn){le(hn),$e()},function(hn){ue(hn),$e()},At),Ie=null}if("onloadend"in Ie?Ie.onloadend=Fe:Ie.onreadystatechange=function(){!Ie||Ie.readyState!==4||Ie.status===0&&!(Ie.responseURL&&Ie.responseURL.indexOf("file:")===0)||setTimeout(Fe)},Ie.onabort=function(){Ie&&(ue(new AxiosError("Request aborted",AxiosError.ECONNABORTED,oe,Ie)),Ie=null)},Ie.onerror=function(){ue(new AxiosError("Network Error",AxiosError.ERR_NETWORK,oe,Ie)),Ie=null},Ie.ontimeout=function(){let Et=oe.timeout?"timeout of "+oe.timeout+"ms exceeded":"timeout exceeded";const At=oe.transitional||transitionalDefaults;oe.timeoutErrorMessage&&(Et=oe.timeoutErrorMessage),ue(new AxiosError(Et,At.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,oe,Ie)),Ie=null},platform$1.isStandardBrowserEnv){const qe=(oe.withCredentials||isURLSameOrigin(Ve))&&oe.xsrfCookieName&&cookies.read(oe.xsrfCookieName);qe&&pe.set(oe.xsrfHeaderName,qe)}de===void 0&&pe.setContentType(null),"setRequestHeader"in Ie&&utils$4.forEach(pe.toJSON(),function(Et,At){Ie.setRequestHeader(At,Et)}),utils$4.isUndefined(oe.withCredentials)||(Ie.withCredentials=!!oe.withCredentials),he&&he!=="json"&&(Ie.responseType=oe.responseType),typeof oe.onDownloadProgress=="function"&&Ie.addEventListener("progress",progressEventReducer(oe.onDownloadProgress,!0)),typeof oe.onUploadProgress=="function"&&Ie.upload&&Ie.upload.addEventListener("progress",progressEventReducer(oe.onUploadProgress)),(oe.cancelToken||oe.signal)&&(_e=qe=>{Ie&&(ue(!qe||qe.type?new CanceledError(null,oe,Ie):qe),Ie.abort(),Ie=null)},oe.cancelToken&&oe.cancelToken.subscribe(_e),oe.signal&&(oe.signal.aborted?_e():oe.signal.addEventListener("abort",_e)));const Ue=parseProtocol(Ve);if(Ue&&platform$1.protocols.indexOf(Ue)===-1){ue(new AxiosError("Unsupported protocol "+Ue+":",AxiosError.ERR_BAD_REQUEST,oe));return}Ie.send(de||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$4.forEach(knownAdapters,(oe,ie)=>{if(oe){try{Object.defineProperty(oe,"name",{value:ie})}catch{}Object.defineProperty(oe,"adapterName",{value:ie})}});const adapters={getAdapter:oe=>{oe=utils$4.isArray(oe)?oe:[oe];const{length:ie}=oe;let le,ue;for(let de=0;de<ie&&(le=oe[de],!(ue=utils$4.isString(le)?knownAdapters[le.toLowerCase()]:le));de++);if(!ue)throw ue===!1?new AxiosError(`Adapter ${le} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(utils$4.hasOwnProp(knownAdapters,le)?`Adapter '${le}' is not available in the build`:`Unknown adapter '${le}'`);if(!utils$4.isFunction(ue))throw new TypeError("adapter is not a function");return ue},adapters:knownAdapters};function throwIfCancellationRequested(oe){if(oe.cancelToken&&oe.cancelToken.throwIfRequested(),oe.signal&&oe.signal.aborted)throw new CanceledError(null,oe)}function dispatchRequest(oe){return throwIfCancellationRequested(oe),oe.headers=AxiosHeaders$1.from(oe.headers),oe.data=transformData.call(oe,oe.transformRequest),["post","put","patch"].indexOf(oe.method)!==-1&&oe.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(oe.adapter||defaults$4.adapter)(oe).then(function(ue){return throwIfCancellationRequested(oe),ue.data=transformData.call(oe,oe.transformResponse,ue),ue.headers=AxiosHeaders$1.from(ue.headers),ue},function(ue){return isCancel(ue)||(throwIfCancellationRequested(oe),ue&&ue.response&&(ue.response.data=transformData.call(oe,oe.transformResponse,ue.response),ue.response.headers=AxiosHeaders$1.from(ue.response.headers))),Promise.reject(ue)})}const headersToObject=oe=>oe instanceof AxiosHeaders$1?oe.toJSON():oe;function mergeConfig(oe,ie){ie=ie||{};const le={};function ue(Ie,Ve,Fe){return utils$4.isPlainObject(Ie)&&utils$4.isPlainObject(Ve)?utils$4.merge.call({caseless:Fe},Ie,Ve):utils$4.isPlainObject(Ve)?utils$4.merge({},Ve):utils$4.isArray(Ve)?Ve.slice():Ve}function de(Ie,Ve,Fe){if(utils$4.isUndefined(Ve)){if(!utils$4.isUndefined(Ie))return ue(void 0,Ie,Fe)}else return ue(Ie,Ve,Fe)}function pe(Ie,Ve){if(!utils$4.isUndefined(Ve))return ue(void 0,Ve)}function he(Ie,Ve){if(utils$4.isUndefined(Ve)){if(!utils$4.isUndefined(Ie))return ue(void 0,Ie)}else return ue(void 0,Ve)}function _e(Ie,Ve,Fe){if(Fe in ie)return ue(Ie,Ve);if(Fe in oe)return ue(void 0,Ie)}const $e={url:pe,method:pe,data:pe,baseURL:he,transformRequest:he,transformResponse:he,paramsSerializer:he,timeout:he,timeoutMessage:he,withCredentials:he,adapter:he,responseType:he,xsrfCookieName:he,xsrfHeaderName:he,onUploadProgress:he,onDownloadProgress:he,decompress:he,maxContentLength:he,maxBodyLength:he,beforeRedirect:he,transport:he,httpAgent:he,httpsAgent:he,cancelToken:he,socketPath:he,responseEncoding:he,validateStatus:_e,headers:(Ie,Ve)=>de(headersToObject(Ie),headersToObject(Ve),!0)};return utils$4.forEach(Object.keys(Object.assign({},oe,ie)),function(Ve){const Fe=$e[Ve]||de,Ue=Fe(oe[Ve],ie[Ve],Ve);utils$4.isUndefined(Ue)&&Fe!==_e||(le[Ve]=Ue)}),le}const VERSION="1.4.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((oe,ie)=>{validators$1[oe]=function(ue){return typeof ue===oe||"a"+(ie<1?"n ":" ")+oe}});const deprecatedWarnings={};validators$1.transitional=function(ie,le,ue){function de(pe,he){return"[Axios v"+VERSION+"] Transitional option '"+pe+"'"+he+(ue?". "+ue:"")}return(pe,he,_e)=>{if(ie===!1)throw new AxiosError(de(he," has been removed"+(le?" in "+le:"")),AxiosError.ERR_DEPRECATED);return le&&!deprecatedWarnings[he]&&(deprecatedWarnings[he]=!0,console.warn(de(he," has been deprecated since v"+le+" and will be removed in the near future"))),ie?ie(pe,he,_e):!0}};function assertOptions(oe,ie,le){if(typeof oe!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const ue=Object.keys(oe);let de=ue.length;for(;de-- >0;){const pe=ue[de],he=ie[pe];if(he){const _e=oe[pe],$e=_e===void 0||he(_e,pe,oe);if($e!==!0)throw new AxiosError("option "+pe+" must be "+$e,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(le!==!0)throw new AxiosError("Unknown option "+pe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(ie){this.defaults=ie,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(ie,le){typeof ie=="string"?(le=le||{},le.url=ie):le=ie||{},le=mergeConfig(this.defaults,le);const{transitional:ue,paramsSerializer:de,headers:pe}=le;ue!==void 0&&validator.assertOptions(ue,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),de!=null&&(utils$4.isFunction(de)?le.paramsSerializer={serialize:de}:validator.assertOptions(de,{encode:validators.function,serialize:validators.function},!0)),le.method=(le.method||this.defaults.method||"get").toLowerCase();let he;he=pe&&utils$4.merge(pe.common,pe[le.method]),he&&utils$4.forEach(["delete","get","head","post","put","patch","common"],Et=>{delete pe[Et]}),le.headers=AxiosHeaders$1.concat(he,pe);const _e=[];let $e=!0;this.interceptors.request.forEach(function(At){typeof At.runWhen=="function"&&At.runWhen(le)===!1||($e=$e&&At.synchronous,_e.unshift(At.fulfilled,At.rejected))});const Ie=[];this.interceptors.response.forEach(function(At){Ie.push(At.fulfilled,At.rejected)});let Ve,Fe=0,Ue;if(!$e){const Et=[dispatchRequest.bind(this),void 0];for(Et.unshift.apply(Et,_e),Et.push.apply(Et,Ie),Ue=Et.length,Ve=Promise.resolve(le);Fe<Ue;)Ve=Ve.then(Et[Fe++],Et[Fe++]);return Ve}Ue=_e.length;let qe=le;for(Fe=0;Fe<Ue;){const Et=_e[Fe++],At=_e[Fe++];try{qe=Et(qe)}catch(Lt){At.call(this,Lt);break}}try{Ve=dispatchRequest.call(this,qe)}catch(Et){return Promise.reject(Et)}for(Fe=0,Ue=Ie.length;Fe<Ue;)Ve=Ve.then(Ie[Fe++],Ie[Fe++]);return Ve}getUri(ie){ie=mergeConfig(this.defaults,ie);const le=buildFullPath(ie.baseURL,ie.url);return buildURL(le,ie.params,ie.paramsSerializer)}}utils$4.forEach(["delete","get","head","options"],function(ie){Axios.prototype[ie]=function(le,ue){return this.request(mergeConfig(ue||{},{method:ie,url:le,data:(ue||{}).data}))}});utils$4.forEach(["post","put","patch"],function(ie){function le(ue){return function(pe,he,_e){return this.request(mergeConfig(_e||{},{method:ie,headers:ue?{"Content-Type":"multipart/form-data"}:{},url:pe,data:he}))}}Axios.prototype[ie]=le(),Axios.prototype[ie+"Form"]=le(!0)});const Axios$1=Axios;class CancelToken{constructor(ie){if(typeof ie!="function")throw new TypeError("executor must be a function.");let le;this.promise=new Promise(function(pe){le=pe});const ue=this;this.promise.then(de=>{if(!ue._listeners)return;let pe=ue._listeners.length;for(;pe-- >0;)ue._listeners[pe](de);ue._listeners=null}),this.promise.then=de=>{let pe;const he=new Promise(_e=>{ue.subscribe(_e),pe=_e}).then(de);return he.cancel=function(){ue.unsubscribe(pe)},he},ie(function(pe,he,_e){ue.reason||(ue.reason=new CanceledError(pe,he,_e),le(ue.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(ie){if(this.reason){ie(this.reason);return}this._listeners?this._listeners.push(ie):this._listeners=[ie]}unsubscribe(ie){if(!this._listeners)return;const le=this._listeners.indexOf(ie);le!==-1&&this._listeners.splice(le,1)}static source(){let ie;return{token:new CancelToken(function(de){ie=de}),cancel:ie}}}const CancelToken$1=CancelToken;function spread(oe){return function(le){return oe.apply(null,le)}}function isAxiosError(oe){return utils$4.isObject(oe)&&oe.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([oe,ie])=>{HttpStatusCode[ie]=oe});const HttpStatusCode$1=HttpStatusCode;function createInstance(oe){const ie=new Axios$1(oe),le=bind$4(Axios$1.prototype.request,ie);return utils$4.extend(le,Axios$1.prototype,ie,{allOwnKeys:!0}),utils$4.extend(le,ie,null,{allOwnKeys:!0}),le.create=function(de){return createInstance(mergeConfig(oe,de))},le}const axios=createInstance(defaults$4);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(ie){return Promise.all(ie)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=oe=>formDataToJSON(utils$4.isHTMLForm(oe)?new FormData(oe):oe);axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const axios$1=axios;let config={};const{VITE_PUBLIC_PATH}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},setConfig=oe=>{config=Object.assign(config,oe)},getConfig=oe=>{if(typeof oe=="string"){const ie=oe.split(".");if(ie&&ie.length){let le=config;return ie.forEach(ue=>{le&&typeof le[ue]<"u"?le=le[ue]:le=null}),le}}return config},getServerConfig=async oe=>(oe.config.globalProperties.$config=getConfig(),axios$1({method:"get",url:`${VITE_PUBLIC_PATH}serverConfig.json`}).then(({data:ie})=>{let le=oe.config.globalProperties.$config;return oe&&le&&typeof ie=="object"&&(le=Object.assign(le,ie),oe.config.globalProperties.$config=le,setConfig(le)),le}).catch(()=>{throw"请在public文件夹下添加serverConfig.json配置文件"})),responsiveStorageNameSpace=()=>getConfig().ResponsiveStorageNameSpace;function siphonI18n(oe="zh-CN"){return Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":__vite_glob_0_0$2,"../../locales/zh-CN.yaml":__vite_glob_0_1$2})).map(([ie,le])=>[ie.match(/([A-Za-z0-9-_]+)\./i)[1],le.default]))[oe]}const localesConfigs={zh:{...siphonI18n("zh-CN"),...zhLocale},en:{...siphonI18n("en"),...enLocale}};function transformI18n(oe=""){var le;if(!oe)return"";if(typeof oe=="object"){const ue=i18n.global.locale;return oe[ue==null?void 0:ue.value]}const ie=(le=oe.match(/(\S*)\./))==null?void 0:le[1];return ie&&Object.keys(siphonI18n("zh-CN")).includes(ie)||!ie&&Object.keys(siphonI18n("zh-CN")).includes(oe)?i18n.global.t.call(i18n.global.locale,oe):oe}const $t=oe=>oe;var ta;const i18n=createI18n({legacy:!1,locale:((ta=nr().getItem(`${responsiveStorageNameSpace()}locale`))==null?void 0:ta.locale)??"zh",fallbackLocale:"en",messages:localesConfigs});function useI18n(oe){oe.use(i18n)}const home$1=0,doc=1,utils$3=2,table$1=3,components$1=4,able$1=5,frame$1=6,nested$1=7,result$1=8,error$1=9,list$2=10,permission=11,system$1=12,tabs=13,formdesign$1=14,flowchart$1=15,ppt$1=16,editor$1=17,guide$1=18,menuoverflow$1=19,about$1=20,able={path:"/able",redirect:"/able/watermark",meta:{icon:"ubuntuFill",title:$t("menus.hsAble"),rank:able$1},children:[{path:"/able/videoFrame",name:"VideoFrame",component:()=>__vitePreload(()=>import("./index2.js"),["static/js/index2.js","static/js/mitt.js","static/css/index2.css"]),meta:{title:$t("menus.hsVideoFrame"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/wavesurfer",name:"Wavesurfer",component:()=>__vitePreload(()=>import("./index3.js"),["static/js/index3.js","static/js/vue-tippy.esm-browser.js","static/css/index3.css"]),meta:{title:$t("menus.hsWavesurfer"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/directives",name:"Directives",component:()=>__vitePreload(()=>import("./directives.js"),[]),meta:{title:$t("menus.hsOptimize")}},{path:"/able/watermark",name:"WaterMark",component:()=>__vitePreload(()=>import("./watermark.js"),[]),meta:{title:$t("menus.hsWatermark")}},{path:"/able/print",name:"Print",component:()=>__vitePreload(()=>import("./print.js"),["static/js/print.js","static/js/print2.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/css/print.css"]),meta:{title:$t("menus.hsPrint")}},{path:"/able/download",name:"Download",component:()=>__vitePreload(()=>import("./download.js"),[]),meta:{title:$t("menus.hsDownload")}},{path:"/able/iconSelect",name:"IconSelect",component:()=>__vitePreload(()=>import("./icon-select.js"),["static/js/icon-select.js","static/css/icon-select.css"]),meta:{title:$t("menus.hsIconSelect")}},{path:"/able/timeline",name:"TimeLine",component:()=>__vitePreload(()=>import("./timeline.js"),["static/js/timeline.js","static/js/index59.js","static/css/index12.css","static/js/hooks.js","static/js/iphone.js","static/css/timeline.css"]),meta:{title:$t("menus.hsTimeline")}},{path:"/able/menuTree",name:"MenuTree",component:()=>__vitePreload(()=>import("./menu-tree.js"),["static/js/menu-tree.js","static/js/hooks.js"]),meta:{title:$t("menus.hsMenuTree")}},{path:"/able/lineTree",name:"LineTree",component:()=>__vitePreload(()=>import("./line-tree.js"),["static/js/line-tree.js","static/css/line-tree.css"]),meta:{title:$t("menus.hsLineTree")}},{path:"/able/debounce",name:"Debounce",component:()=>__vitePreload(()=>import("./debounce.js"),[]),meta:{title:$t("menus.hsDebounce")}},{path:"/able/barcode",name:"BarCode",component:()=>__vitePreload(()=>import("./barcode.js"),[]),meta:{title:$t("menus.hsBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>__vitePreload(()=>import("./qrcode.js"),["static/js/qrcode.js","static/js/index60.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css"]),meta:{title:$t("menus.hsQrcode")}},{path:"/able/cascader",name:"Cascader",component:()=>__vitePreload(()=>import("./cascader.js"),["static/js/cascader.js","static/css/cascader.css"]),meta:{title:$t("menus.hsCascader")}},{path:"/able/swiper",name:"Swiper",component:()=>__vitePreload(()=>import("./swiper.js"),["static/js/swiper.js","static/css/swiper.css"]),meta:{title:$t("menus.hsSwiper")}},{path:"/able/virtualList",name:"VirtualList",component:()=>__vitePreload(()=>import("./index4.js"),["static/js/index4.js","static/js/vertical.js","static/js/vue-virtual-scroller.esm.js","static/css/vertical.css","static/js/horizontal.js","static/css/horizontal.css","static/css/index4.css"]),meta:{title:$t("menus.hsVirtualList")}},{path:"/able/pdf",name:"Pdf",component:()=>__vitePreload(()=>import("./pdf.js"),["static/js/pdf.js","static/js/vue.runtime.esm-bundler.js"]),meta:{title:$t("menus.hsPdf")}},{path:"/able/execl",name:"Execl",component:()=>__vitePreload(()=>import("./execl.js"),["static/js/execl.js","static/js/xlsx.js"]),meta:{title:$t("menus.hsExecl")}},{path:"/able/infiniteScroll",name:"InfiniteScroll",component:()=>__vitePreload(()=>import("./infinite-scroll.js"),[]),meta:{title:$t("menus.hsInfiniteScroll")}},{path:"/able/sensitive",name:"Sensitive",component:()=>__vitePreload(()=>import("./sensitive.js"),[]),meta:{title:$t("menus.hsSensitive"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/pinyin",name:"Pinyin",component:()=>__vitePreload(()=>import("./pinyin.js"),["static/js/pinyin.js","static/js/index61.js","static/css/pinyin.css"]),meta:{title:$t("menus.hsPinyin"),extraIcon:"IF-pure-iconfont-new svg"}}]},__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:able},Symbol.toStringTag,{value:"Module"})),about={path:"/about",redirect:"/about/index",meta:{title:$t("menus.hsAbout"),rank:about$1},children:[{path:"/about/index",name:"About",component:()=>__vitePreload(()=>import("./index5.js"),["static/js/index5.js","static/js/columns.js","static/css/index5.css"]),meta:{title:$t("menus.hsAbout")}}]},__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:about},Symbol.toStringTag,{value:"Module"})),components={path:"/components",redirect:"/components/dialog",meta:{icon:"menu",title:$t("menus.hscomponents"),rank:components$1},children:[{path:"/components/dialog",name:"DialogPage",component:()=>__vitePreload(()=>import("./index6.js"),["static/js/index6.js","static/js/form.vue_vue_type_script_setup_true_lang.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang.js"]),meta:{title:$t("menus.hsdialog"),extraIcon:"IF-pure-iconfont-new svg",transition:{enterTransition:"animate__fadeInLeft",leaveTransition:"animate__fadeOutRight"}}},{path:"/components/message",name:"Message",component:()=>__vitePreload(()=>import("./index7.js"),["static/js/index7.js","static/js/hooks.js","static/js/check.js"]),meta:{title:$t("menus.hsmessage")}},{path:"/components/segmented",name:"Segmented",component:()=>__vitePreload(()=>import("./index8.js"),["static/js/index8.js","static/js/home-filled.js","static/js/hooks.js","static/css/index6.css"]),meta:{title:$t("menus.hssegmented"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/waterfall",name:"Waterfall",component:()=>__vitePreload(()=>import("./index9.js"),["static/js/index9.js","static/js/back_top.js","static/css/index7.css"]),meta:{title:$t("menus.hswaterfall"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/video",name:"VideoPage",component:()=>__vitePreload(()=>import("./index10.js"),["static/js/index10.js","static/js/hooks.js","static/css/index8.css"]),meta:{title:$t("menus.hsvideo")}},{path:"/components/map",name:"MapPage",component:()=>__vitePreload(()=>import("./index11.js"),["static/js/index11.js","static/css/index9.css"]),meta:{title:$t("menus.hsmap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/components/draggable",name:"Draggable",component:()=>__vitePreload(()=>import("./index12.js"),["static/js/index12.js","static/js/sortable.esm.js","static/js/app.js","static/js/hooks.js","static/css/index10.css"]),meta:{title:$t("menus.hsdraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/components/splitPane",name:"SplitPane",component:()=>__vitePreload(()=>import("./index13.js"),["static/js/index13.js","static/css/index11.css"]),meta:{title:$t("menus.hssplitPane")}},{path:"/components/button",name:"ButtonPage",component:()=>__vitePreload(()=>import("./index14.js"),[]),meta:{title:$t("menus.hsbutton")}},{path:"/components/cropping",name:"Cropping",component:()=>__vitePreload(()=>import("./index15.js"),["static/js/index15.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),meta:{title:$t("menus.hscropping")}},{path:"/components/countTo",name:"CountTo",component:()=>__vitePreload(()=>import("./index16.js"),["static/js/index16.js","static/js/propTypes.js","static/css/index15.css"]),meta:{title:$t("menus.hscountTo")}},{path:"/components/selector",name:"Selector",component:()=>__vitePreload(()=>import("./index17.js"),["static/js/index17.js","static/css/index16.css"]),meta:{title:$t("menus.hsselector")}},{path:"/components/seamlessScroll",name:"SeamlessScroll",component:()=>__vitePreload(()=>import("./index18.js"),["static/js/index18.js","static/css/index17.css"]),meta:{title:$t("menus.hsseamless")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>__vitePreload(()=>import("./index19.js"),["static/js/index19.js","static/js/basic.js","static/js/index.esm.js","static/css/basic.css","static/js/menuGroup.js","static/css/menuGroup.css","static/js/menuDynamic.js","static/css/menuDynamic.css","static/css/index18.css"]),meta:{title:$t("menus.hscontextmenu")}},{path:"/components/typeit",name:"Typeit",component:()=>__vitePreload(()=>import("./index20.js"),["static/js/index20.js","static/js/index62.js"]),meta:{title:$t("menus.hstypeit")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>__vitePreload(()=>import("./index21.js"),["static/js/index21.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css"]),meta:{title:$t("menus.hsjsoneditor")}},{path:"/components/danmaku",name:"Danmaku",component:()=>__vitePreload(()=>import("./index22.js"),["static/js/index22.js","static/css/index19.css"]),meta:{title:$t("menus.hsdanmaku")}}]},__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:components},Symbol.toStringTag,{value:"Module"})),editor={path:"/editor",redirect:"/editor/index",meta:{icon:"edit",title:$t("menus.hseditor"),rank:editor$1},children:[{path:"/editor/index",name:"Editor",component:()=>__vitePreload(()=>import("./index23.js"),["static/js/index23.js","static/js/base.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css","static/js/multi.vue_vue_type_script_setup_true_lang.js","static/js/index63.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/css/index20.css"]),meta:{title:$t("menus.hseditor"),keepAlive:!0}}]},__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:editor},Symbol.toStringTag,{value:"Module"})),error={path:"/error",redirect:"/error/403",meta:{icon:"informationLine",title:$t("menus.hsabnormal"),rank:error$1},children:[{path:"/error/403",name:"403",component:()=>__vitePreload(()=>import("./403.js"),[]),meta:{title:$t("menus.hsfourZeroOne")}},{path:"/error/404",name:"404",component:()=>__vitePreload(()=>import("./404.js"),[]),meta:{title:$t("menus.hsfourZeroFour")}},{path:"/error/500",name:"500",component:()=>__vitePreload(()=>import("./500.js"),[]),meta:{title:$t("menus.hsFive")}}]},__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:error},Symbol.toStringTag,{value:"Module"})),flowchart={path:"/flowChart",redirect:"/flowChart/index",meta:{icon:"setUp",title:$t("menus.hsflowChart"),rank:flowchart$1},children:[{path:"/flowChart/index",name:"FlowChart",component:()=>__vitePreload(()=>import("./index24.js"),["static/js/index24.js","static/js/hooks.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css","static/js/set-up.js","static/css/index22.css"]),meta:{title:$t("menus.hsflowChart")}}]},__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:flowchart},Symbol.toStringTag,{value:"Module"})),IFrame$4=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),formdesign={path:"/formDesign",redirect:"/formDesign/index",meta:{icon:"terminalWindowLine",title:$t("menus.hsFormDesign"),rank:formdesign$1},children:[{path:"/formDesign/index",name:"FormDesign",component:IFrame$4,meta:{title:$t("menus.hsFormDesign"),frameSrc:"https://haixin-fang.github.io/starfish-vue3-lowcode/playground/index.html#/"}}]},__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:formdesign},Symbol.toStringTag,{value:"Module"})),guide={path:"/guide",redirect:"/guide/index",meta:{icon:"guide",title:$t("menus.hsguide"),rank:guide$1},children:[{path:"/guide/index",name:"Guide",component:()=>__vitePreload(()=>import("./index25.js"),["static/js/index25.js","static/css/index23.css"]),meta:{title:$t("menus.hsguide")}}]},__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:guide},Symbol.toStringTag,{value:"Module"})),{VITE_HIDE_HOME:VITE_HIDE_HOME$2}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},Layout$1=()=>__vitePreload(()=>import("./index26.js"),["static/js/index26.js","static/js/menu.js","static/js/set-up.js","static/js/home-filled.js","static/js/admin-line.js","static/js/git-branch-line.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/index61.js","static/js/hooks.js","static/js/search.js","static/js/check.js","static/js/refresh-right.js","static/js/arrow-right-s-line.js","static/js/back_top.js","static/css/index24.css"]),home={path:"/",name:"Home",component:Layout$1,redirect:"/welcome",meta:{icon:"homeFilled",title:$t("menus.hshome"),rank:home$1},children:[{path:"/welcome",name:"Welcome",component:()=>__vitePreload(()=>import("./index27.js"),["static/js/index27.js","static/js/Bar.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/js/Pie.vue_vue_type_script_setup_true_lang.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/list3.js","static/js/index62.js","static/js/Github.vue_vue_type_script_setup_true_lang.js","static/js/columns17.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js","static/js/index59.js","static/css/index12.css","static/css/index25.css"]),meta:{title:$t("menus.hshome"),showLink:VITE_HIDE_HOME$2!=="true"}}]},__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:home},Symbol.toStringTag,{value:"Module"})),list$1={path:"/list",redirect:"/list/card",meta:{icon:"listCheck",title:$t("menus.hsList"),rank:list$2},children:[{path:"/list/card",name:"ListCard",component:()=>__vitePreload(()=>import("./index28.js"),["static/js/index28.js","static/js/Card.js","static/js/more-2-fill.js","static/css/Card.css","static/js/list3.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/search.js","static/js/add-circle-line.js"]),meta:{icon:"card",title:$t("menus.hsListCard"),showParent:!0}}]},__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:list$1},Symbol.toStringTag,{value:"Module"})),menuoverflow={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:$t("menus.hsMenuoverflow"),rank:menuoverflow$1},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>__vitePreload(()=>import("./index29.js"),[]),meta:{title:$t("menus.hsChildMenuoverflow"),showParent:!0}}]},__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:menuoverflow},Symbol.toStringTag,{value:"Module"})),nested={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:$t("menus.hsmenus"),icon:"histogram",rank:nested$1},children:[{path:"/nested/menu1",meta:{title:$t("menus.hsmenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>__vitePreload(()=>import("./index30.js"),[]),name:"Menu1-1",meta:{title:$t("menus.hsmenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:$t("menus.hsmenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>__vitePreload(()=>import("./index31.js"),[]),name:"Menu1-2-1",meta:{title:$t("menus.hsmenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>__vitePreload(()=>import("./index32.js"),[]),name:"Menu1-2-2",meta:{title:$t("menus.hsmenu1-2-2"),keepAlive:!0,extraIcon:"IF-pure-iconfont-new svg"}}]},{path:"/nested/menu1/menu1-3",component:()=>__vitePreload(()=>import("./index33.js"),[]),name:"Menu1-3",meta:{title:$t("menus.hsmenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./index34.js"),[]),meta:{title:$t("menus.hsmenu2"),keepAlive:!0}}]},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:nested},Symbol.toStringTag,{value:"Module"})),IFrame$3=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),ppt={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ppt",title:"PPT",rank:ppt$1},children:[{path:"/ppt/index",name:"FramePpt",component:IFrame$3,meta:{title:"PPT",frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:ppt},Symbol.toStringTag,{value:"Module"})),_hoisted_1={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 1024"},_hoisted_2=createBaseVNode("path",{fill:"#FF5D50",d:"M428.698 107.315c-6.503 72.192-36.352 207.258-160.256 337.408 3.686-48.025-7.117-83.763-19.047-107.673-6.605-13.159-26.06-10.599-28.877 3.84-5.734 29.44-20.582 75.059-57.6 137.779-71.628 121.395-62.566 459.878 340.736 459.878S934.093 585.728 876.8 442.522c-37.376-93.44-93.952-152.525-128.82-182.324-11.417-9.779-29.132-1.945-29.593 13.056-.921 30.464-7.321 73.37-33.075 102.144-.666-52.787-38.144-208.384-202.445-296.857-23.296-12.544-51.763 2.457-54.17 28.774z"},null,-1),_hoisted_3=createBaseVNode("path",{fill:"#FFDF99",d:"M702.26 678.4c-4.2-45.056-60.673-166.554-212.634-246.426-10.599-5.58-23.092 3.124-21.504 15.002 6.246 46.848 12.953 140.493-24.064 184.73 4.044-40.397-18.125-73.83-36.66-94.31-8.396-9.217-23.552-4.66-25.497 7.68-3.533 22.322-12.851 56.268-36.557 97.945-42.086 74.035-86.989 188.672 124.57 294.656 10.956.563 22.17.87 33.74.87a617.97 617.97 0 0 0 32.717-.87C694.631 878.182 709.837 759.706 702.26 678.4z"},null,-1),_hoisted_4=[_hoisted_2,_hoisted_3];function render$3(oe,ie){return openBlock(),createElementBlock("svg",_hoisted_1,_hoisted_4)}const hot={render:render$3},IFrame$2=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),puredoc={path:"/pure-admin-doc",redirect:"/pure-admin-doc/index",meta:{icon:hot,title:"pure-admin-doc",rank:doc},children:[{path:"/pure-admin-doc/index",name:"FrameDoc",component:IFrame$2,meta:{title:"pure-admin-doc",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc/"}}]},__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:puredoc},Symbol.toStringTag,{value:"Module"})),IFrame$1=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),pureutils={path:"/pure-admin-utils",redirect:"/pure-admin-utils/index",meta:{icon:hot,title:"pure-admin-utils",rank:utils$3},children:[{path:"/pure-admin-utils/index",name:"FrameUtils",component:IFrame$1,meta:{title:"pure-admin-utils",frameSrc:"https://pure-admin-utils.netlify.app/"}}]},__vite_glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:pureutils},Symbol.toStringTag,{value:"Module"})),result={path:"/result",redirect:"/result/success",meta:{icon:"checkboxCircleLine",title:$t("menus.hsResult"),rank:result$1},children:[{path:"/result/success",name:"Success",component:()=>__vitePreload(()=>import("./success.js"),["static/js/success.js","static/css/success.css"]),meta:{title:$t("menus.hsSuccess")}},{path:"/result/fail",name:"Fail",component:()=>__vitePreload(()=>import("./fail.js"),["static/js/fail.js","static/js/columns16.js","static/js/arrow-right-s-line.js","static/css/fail.css"]),meta:{title:$t("menus.hsFail")}}]},__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:result},Symbol.toStringTag,{value:"Module"})),table={path:"/pure-table",redirect:"/pure-table/index",meta:{icon:hot,title:"pure-admin-table",rank:table$1},children:[{path:"/pure-table/index",name:"PureTable",component:()=>__vitePreload(()=>import("./index35.js"),["static/js/index35.js","static/js/list.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/css/status.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/filters.vue_vue_type_script_setup_true_lang.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/tree.vue_vue_type_script_setup_true_lang.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js","static/js/merge.vue_vue_type_script_setup_true_lang.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js","static/css/index26.css"]),meta:{title:$t("menus.hsPureTableBase")}},{path:"/pure-table/high",name:"PureTableHigh",component:()=>__vitePreload(()=>import("./high.js"),["static/js/high.js","static/js/list2.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/edit-pen.js","static/js/check.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js","static/css/high.css"]),meta:{title:$t("menus.hsPureTableHigh")}}]},__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:table},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function assign$3(oe){for(var ie=1;ie<arguments.length;ie++){var le=arguments[ie];for(var ue in le)oe[ue]=le[ue]}return oe}var defaultConverter={read:function(oe){return oe[0]==='"'&&(oe=oe.slice(1,-1)),oe.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(oe){return encodeURIComponent(oe).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init$2(oe,ie){function le(de,pe,he){if(!(typeof document>"u")){he=assign$3({},ie,he),typeof he.expires=="number"&&(he.expires=new Date(Date.now()+he.expires*864e5)),he.expires&&(he.expires=he.expires.toUTCString()),de=encodeURIComponent(de).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var _e="";for(var $e in he)he[$e]&&(_e+="; "+$e,he[$e]!==!0&&(_e+="="+he[$e].split(";")[0]));return document.cookie=de+"="+oe.write(pe,de)+_e}}function ue(de){if(!(typeof document>"u"||arguments.length&&!de)){for(var pe=document.cookie?document.cookie.split("; "):[],he={},_e=0;_e<pe.length;_e++){var $e=pe[_e].split("="),Ie=$e.slice(1).join("=");try{var Ve=decodeURIComponent($e[0]);if(he[Ve]=oe.read(Ie,Ve),de===Ve)break}catch{}}return de?he[de]:he}}return Object.create({set:le,get:ue,remove:function(de,pe){le(de,"",assign$3({},pe,{expires:-1}))},withAttributes:function(de){return init$2(this.converter,assign$3({},this.attributes,de))},withConverter:function(de){return init$2(assign$3({},this.converter,de),this.attributes)}},{attributes:{value:Object.freeze(ie)},converter:{value:Object.freeze(oe)}})}var api=init$2(defaultConverter,{path:"/"});/*!
* pinia v2.1.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/let activePinia;const setActivePinia=oe=>activePinia=oe,piniaSymbol=Symbol();function isPlainObject(oe){return oe&&typeof oe=="object"&&Object.prototype.toString.call(oe)==="[object Object]"&&typeof oe.toJSON!="function"}var MutationType;(function(oe){oe.direct="direct",oe.patchObject="patch object",oe.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const oe=effectScope(!0),ie=oe.run(()=>ref({}));let le=[],ue=[];const de=markRaw({install(pe){setActivePinia(de),de._a=pe,pe.provide(piniaSymbol,de),pe.config.globalProperties.$pinia=de,ue.forEach(he=>le.push(he)),ue=[]},use(pe){return!this._a&&!isVue2?ue.push(pe):le.push(pe),this},_p:le,_a:null,_e:oe,_s:new Map,state:ie});return de}const noop$2=()=>{};function addSubscription(oe,ie,le,ue=noop$2){oe.push(ie);const de=()=>{const pe=oe.indexOf(ie);pe>-1&&(oe.splice(pe,1),ue())};return!le&&getCurrentScope()&&onScopeDispose(de),de}function triggerSubscriptions(oe,...ie){oe.slice().forEach(le=>{le(...ie)})}const fallbackRunWithContext=oe=>oe();function mergeReactiveObjects(oe,ie){oe instanceof Map&&ie instanceof Map&&ie.forEach((le,ue)=>oe.set(ue,le)),oe instanceof Set&&ie instanceof Set&&ie.forEach(oe.add,oe);for(const le in ie){if(!ie.hasOwnProperty(le))continue;const ue=ie[le],de=oe[le];isPlainObject(de)&&isPlainObject(ue)&&oe.hasOwnProperty(le)&&!isRef(ue)&&!isReactive(ue)?oe[le]=mergeReactiveObjects(de,ue):oe[le]=ue}return oe}const skipHydrateSymbol=Symbol();function shouldHydrate(oe){return!isPlainObject(oe)||!oe.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$2}=Object;function isComputed(oe){return!!(isRef(oe)&&oe.effect)}function createOptionsStore(oe,ie,le,ue){const{state:de,actions:pe,getters:he}=ie,_e=le.state.value[oe];let $e;function Ie(){_e||(le.state.value[oe]=de?de():{});const Ve=toRefs(le.state.value[oe]);return assign$2(Ve,pe,Object.keys(he||{}).reduce((Fe,Ue)=>(Fe[Ue]=markRaw(computed(()=>{setActivePinia(le);const qe=le._s.get(oe);return he[Ue].call(qe,qe)})),Fe),{}))}return $e=createSetupStore(oe,Ie,ie,le,ue,!0),$e}function createSetupStore(oe,ie,le={},ue,de,pe){let he;const _e=assign$2({actions:{}},le),$e={deep:!0};let Ie,Ve,Fe=[],Ue=[],qe;const Et=ue.state.value[oe];!pe&&!Et&&(ue.state.value[oe]={}),ref({});let At;function Lt(wn){let xn;Ie=Ve=!1,typeof wn=="function"?(wn(ue.state.value[oe]),xn={type:MutationType.patchFunction,storeId:oe,events:qe}):(mergeReactiveObjects(ue.state.value[oe],wn),xn={type:MutationType.patchObject,payload:wn,storeId:oe,events:qe});const kn=At=Symbol();nextTick().then(()=>{At===kn&&(Ie=!0)}),Ve=!0,triggerSubscriptions(Fe,xn,ue.state.value[oe])}const hn=pe?function(){const{state:xn}=le,kn=xn?xn():{};this.$patch(Pn=>{assign$2(Pn,kn)})}:noop$2;function vn(){he.stop(),Fe=[],Ue=[],ue._s.delete(oe)}function _n(wn,xn){return function(){setActivePinia(ue);const kn=Array.from(arguments),Pn=[],An=[];function In(Vn){Pn.push(Vn)}function Nn(Vn){An.push(Vn)}triggerSubscriptions(Ue,{args:kn,name:wn,store:Sn,after:In,onError:Nn});let Un;try{Un=xn.apply(this&&this.$id===oe?this:Sn,kn)}catch(Vn){throw triggerSubscriptions(An,Vn),Vn}return Un instanceof Promise?Un.then(Vn=>(triggerSubscriptions(Pn,Vn),Vn)).catch(Vn=>(triggerSubscriptions(An,Vn),Promise.reject(Vn))):(triggerSubscriptions(Pn,Un),Un)}}const bn={_p:ue,$id:oe,$onAction:addSubscription.bind(null,Ue),$patch:Lt,$reset:hn,$subscribe(wn,xn={}){const kn=addSubscription(Fe,wn,xn.detached,()=>Pn()),Pn=he.run(()=>watch(()=>ue.state.value[oe],An=>{(xn.flush==="sync"?Ve:Ie)&&wn({storeId:oe,type:MutationType.direct,events:qe},An)},assign$2({},$e,xn)));return kn},$dispose:vn},Sn=reactive(bn);ue._s.set(oe,Sn);const Cn=ue._a&&ue._a.runWithContext||fallbackRunWithContext,En=ue._e.run(()=>(he=effectScope(),Cn(()=>he.run(ie))));for(const wn in En){const xn=En[wn];if(isRef(xn)&&!isComputed(xn)||isReactive(xn))pe||(Et&&shouldHydrate(xn)&&(isRef(xn)?xn.value=Et[wn]:mergeReactiveObjects(xn,Et[wn])),ue.state.value[oe][wn]=xn);else if(typeof xn=="function"){const kn=_n(wn,xn);En[wn]=kn,_e.actions[wn]=xn}}return assign$2(Sn,En),assign$2(toRaw(Sn),En),Object.defineProperty(Sn,"$state",{get:()=>ue.state.value[oe],set:wn=>{Lt(xn=>{assign$2(xn,wn)})}}),ue._p.forEach(wn=>{assign$2(Sn,he.run(()=>wn({store:Sn,app:ue._a,pinia:ue,options:_e})))}),Et&&pe&&le.hydrate&&le.hydrate(Sn.$state,Et),Ie=!0,Ve=!0,Sn}function defineStore(oe,ie,le){let ue,de;const pe=typeof ie=="function";typeof oe=="string"?(ue=oe,de=pe?le:ie):(de=oe,ue=oe.id);function he(_e,$e){const Ie=hasInjectionContext();return _e=_e||(Ie?inject(piniaSymbol,null):null),_e&&setActivePinia(_e),_e=activePinia,_e._s.has(ue)||(pe?createSetupStore(ue,ie,de,_e):createOptionsStore(ue,de,_e)),_e._s.get(ue)}return he.$id=ue,he}function storeToRefs(oe){{oe=toRaw(oe);const ie={};for(const le in oe){const ue=oe[le];(isRef(ue)||isReactive(ue))&&(ie[le]=toRef$1(oe,le))}return ie}}const store=createPinia();function setupStore(oe){oe.use(store)}const{VITE_HIDE_HOME:VITE_HIDE_HOME$1}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},routerArrays=VITE_HIDE_HOME$1==="false"?[{path:"/welcome",meta:{title:"menus.hshome",icon:"homeFilled"}}]:[];var shams=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ie={},le=Symbol("test"),ue=Object(le);if(typeof le=="string"||Object.prototype.toString.call(le)!=="[object Symbol]"||Object.prototype.toString.call(ue)!=="[object Symbol]")return!1;var de=42;ie[le]=de;for(le in ie)return!1;if(typeof Object.keys=="function"&&Object.keys(ie).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ie).length!==0)return!1;var pe=Object.getOwnPropertySymbols(ie);if(pe.length!==1||pe[0]!==le||!Object.prototype.propertyIsEnumerable.call(ie,le))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var he=Object.getOwnPropertyDescriptor(ie,le);if(he.value!==de||he.enumerable!==!0)return!1}return!0},origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!({__proto__:null}instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice$1=Array.prototype.slice,toStr$1=Object.prototype.toString,funcType="[object Function]",implementation$1=function(ie){var le=this;if(typeof le!="function"||toStr$1.call(le)!==funcType)throw new TypeError(ERROR_MESSAGE+le);for(var ue=slice$1.call(arguments,1),de,pe=function(){if(this instanceof de){var Ve=le.apply(this,ue.concat(slice$1.call(arguments)));return Object(Ve)===Ve?Ve:this}else return le.apply(ie,ue.concat(slice$1.call(arguments)))},he=Math.max(0,le.length-ue.length),_e=[],$e=0;$e<he;$e++)_e.push("$"+$e);if(de=Function("binder","return function ("+_e.join(",")+"){ return binder.apply(this,arguments); }")(pe),le.prototype){var Ie=function(){};Ie.prototype=le.prototype,de.prototype=new Ie,Ie.prototype=null}return de},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,bind$3=functionBind,src=bind$3.call(Function.call,Object.prototype.hasOwnProperty),undefined$1,$SyntaxError=SyntaxError,$Function=Function,$TypeError$1=TypeError,getEvalledConstructor=function(oe){try{return $Function('"use strict"; return ('+oe+").constructor;")()}catch{}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch{$gOPD=null}var throwTypeError=function(){throw new $TypeError$1},ThrowTypeError=$gOPD?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto=Object.getPrototypeOf||(hasProto?function(oe){return oe.__proto__}:null),needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto?undefined$1:getProto(Uint8Array),INTRINSICS={"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto?undefined$1:getProto(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto?undefined$1:getProto(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$1,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto)try{null.error}catch(oe){var errorProto=getProto(getProto(oe));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function oe(ie){var le;if(ie==="%AsyncFunction%")le=getEvalledConstructor("async function () {}");else if(ie==="%GeneratorFunction%")le=getEvalledConstructor("function* () {}");else if(ie==="%AsyncGeneratorFunction%")le=getEvalledConstructor("async function* () {}");else if(ie==="%AsyncGenerator%"){var ue=oe("%AsyncGeneratorFunction%");ue&&(le=ue.prototype)}else if(ie==="%AsyncIteratorPrototype%"){var de=oe("%AsyncGenerator%");de&&getProto&&(le=getProto(de.prototype))}return INTRINSICS[ie]=le,le},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$2=functionBind,hasOwn$2=src,$concat$1=bind$2.call(Function.call,Array.prototype.concat),$spliceApply=bind$2.call(Function.apply,Array.prototype.splice),$replace$1=bind$2.call(Function.call,String.prototype.replace),$strSlice=bind$2.call(Function.call,String.prototype.slice),$exec=bind$2.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(ie){var le=$strSlice(ie,0,1),ue=$strSlice(ie,-1);if(le==="%"&&ue!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(ue==="%"&&le!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var de=[];return $replace$1(ie,rePropName,function(pe,he,_e,$e){de[de.length]=_e?$replace$1($e,reEscapeChar,"$1"):he||pe}),de},getBaseIntrinsic=function(ie,le){var ue=ie,de;if(hasOwn$2(LEGACY_ALIASES,ue)&&(de=LEGACY_ALIASES[ue],ue="%"+de[0]+"%"),hasOwn$2(INTRINSICS,ue)){var pe=INTRINSICS[ue];if(pe===needsEval&&(pe=doEval(ue)),typeof pe>"u"&&!le)throw new $TypeError$1("intrinsic "+ie+" exists, but is not available. Please file an issue!");return{alias:de,name:ue,value:pe}}throw new $SyntaxError("intrinsic "+ie+" does not exist!")},getIntrinsic=function(ie,le){if(typeof ie!="string"||ie.length===0)throw new $TypeError$1("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof le!="boolean")throw new $TypeError$1('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,ie)===null)throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ue=stringToPath(ie),de=ue.length>0?ue[0]:"",pe=getBaseIntrinsic("%"+de+"%",le),he=pe.name,_e=pe.value,$e=!1,Ie=pe.alias;Ie&&(de=Ie[0],$spliceApply(ue,$concat$1([0,1],Ie)));for(var Ve=1,Fe=!0;Ve<ue.length;Ve+=1){var Ue=ue[Ve],qe=$strSlice(Ue,0,1),Et=$strSlice(Ue,-1);if((qe==='"'||qe==="'"||qe==="`"||Et==='"'||Et==="'"||Et==="`")&&qe!==Et)throw new $SyntaxError("property names with quotes must have matching quotes");if((Ue==="constructor"||!Fe)&&($e=!0),de+="."+Ue,he="%"+de+"%",hasOwn$2(INTRINSICS,he))_e=INTRINSICS[he];else if(_e!=null){if(!(Ue in _e)){if(!le)throw new $TypeError$1("base intrinsic for "+ie+" exists, but the property is not available.");return}if($gOPD&&Ve+1>=ue.length){var At=$gOPD(_e,Ue);Fe=!!At,Fe&&"get"in At&&!("originalValue"in At.get)?_e=At.get:_e=_e[Ue]}else Fe=hasOwn$2(_e,Ue),_e=_e[Ue];Fe&&!$e&&(INTRINSICS[he]=_e)}}return _e},callBind$1={exports:{}};(function(oe){var ie=functionBind,le=getIntrinsic,ue=le("%Function.prototype.apply%"),de=le("%Function.prototype.call%"),pe=le("%Reflect.apply%",!0)||ie.call(de,ue),he=le("%Object.getOwnPropertyDescriptor%",!0),_e=le("%Object.defineProperty%",!0),$e=le("%Math.max%");if(_e)try{_e({},"a",{value:1})}catch{_e=null}oe.exports=function(Fe){var Ue=pe(ie,de,arguments);if(he&&_e){var qe=he(Ue,"length");qe.configurable&&_e(Ue,"length",{value:1+$e(0,Fe.length-(arguments.length-1))})}return Ue};var Ie=function(){return pe(ie,ue,arguments)};_e?_e(oe.exports,"apply",{value:Ie}):oe.exports.apply=Ie})(callBind$1);var callBindExports=callBind$1.exports,GetIntrinsic$1=getIntrinsic,callBind=callBindExports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(ie,le){var ue=GetIntrinsic$1(ie,!!le);return typeof ue=="function"&&$indexOf(ie,".prototype.")>-1?callBind(ue):ue};const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1);var hasMap=typeof Map=="function"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get=="function"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set=="function"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get=="function"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap=="function"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet=="function"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef=="function"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt=="function"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol=="function"&&typeof Symbol.iterator=="object",toStringTag=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(oe){return oe.__proto__}:null);function addNumericSeparator(oe,ie){if(oe===1/0||oe===-1/0||oe!==oe||oe&&oe>-1e3&&oe<1e3||$test.call(/e/,ie))return ie;var le=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof oe=="number"){var ue=oe<0?-$floor(-oe):$floor(oe);if(ue!==oe){var de=String(ue),pe=$slice.call(ie,de.length+1);return $replace.call(de,le,"$&_")+"."+$replace.call($replace.call(pe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(ie,le,"$&_")}var utilInspect=require$$0,inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null,objectInspect=function oe(ie,le,ue,de){var pe=le||{};if(has$4(pe,"quoteStyle")&&pe.quoteStyle!=="single"&&pe.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$4(pe,"maxStringLength")&&(typeof pe.maxStringLength=="number"?pe.maxStringLength<0&&pe.maxStringLength!==1/0:pe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var he=has$4(pe,"customInspect")?pe.customInspect:!0;if(typeof he!="boolean"&&he!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$4(pe,"indent")&&pe.indent!==null&&pe.indent!==" "&&!(parseInt(pe.indent,10)===pe.indent&&pe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has$4(pe,"numericSeparator")&&typeof pe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var _e=pe.numericSeparator;if(typeof ie>"u")return"undefined";if(ie===null)return"null";if(typeof ie=="boolean")return ie?"true":"false";if(typeof ie=="string")return inspectString(ie,pe);if(typeof ie=="number"){if(ie===0)return 1/0/ie>0?"0":"-0";var $e=String(ie);return _e?addNumericSeparator(ie,$e):$e}if(typeof ie=="bigint"){var Ie=String(ie)+"n";return _e?addNumericSeparator(ie,Ie):Ie}var Ve=typeof pe.depth>"u"?5:pe.depth;if(typeof ue>"u"&&(ue=0),ue>=Ve&&Ve>0&&typeof ie=="object")return isArray$7(ie)?"[Array]":"[Object]";var Fe=getIndent(pe,ue);if(typeof de>"u")de=[];else if(indexOf$1(de,ie)>=0)return"[Circular]";function Ue(In,Nn,Un){if(Nn&&(de=$arrSlice.call(de),de.push(Nn)),Un){var Vn={depth:pe.depth};return has$4(pe,"quoteStyle")&&(Vn.quoteStyle=pe.quoteStyle),oe(In,Vn,ue+1,de)}return oe(In,pe,ue+1,de)}if(typeof ie=="function"&&!isRegExp$2(ie)){var qe=nameOf(ie),Et=arrObjKeys(ie,Ue);return"[Function"+(qe?": "+qe:" (anonymous)")+"]"+(Et.length>0?" { "+$join.call(Et,", ")+" }":"")}if(isSymbol(ie)){var At=hasShammedSymbols?$replace.call(String(ie),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(ie);return typeof ie=="object"&&!hasShammedSymbols?markBoxed(At):At}if(isElement(ie)){for(var Lt="<"+$toLowerCase.call(String(ie.nodeName)),hn=ie.attributes||[],vn=0;vn<hn.length;vn++)Lt+=" "+hn[vn].name+"="+wrapQuotes(quote(hn[vn].value),"double",pe);return Lt+=">",ie.childNodes&&ie.childNodes.length&&(Lt+="..."),Lt+="</"+$toLowerCase.call(String(ie.nodeName))+">",Lt}if(isArray$7(ie)){if(ie.length===0)return"[]";var _n=arrObjKeys(ie,Ue);return Fe&&!singleLineValues(_n)?"["+indentedJoin(_n,Fe)+"]":"[ "+$join.call(_n,", ")+" ]"}if(isError(ie)){var bn=arrObjKeys(ie,Ue);return!("cause"in Error.prototype)&&"cause"in ie&&!isEnumerable.call(ie,"cause")?"{ ["+String(ie)+"] "+$join.call($concat.call("[cause]: "+Ue(ie.cause),bn),", ")+" }":bn.length===0?"["+String(ie)+"]":"{ ["+String(ie)+"] "+$join.call(bn,", ")+" }"}if(typeof ie=="object"&&he){if(inspectSymbol&&typeof ie[inspectSymbol]=="function"&&utilInspect)return utilInspect(ie,{depth:Ve-ue});if(he!=="symbol"&&typeof ie.inspect=="function")return ie.inspect()}if(isMap(ie)){var Sn=[];return mapForEach&&mapForEach.call(ie,function(In,Nn){Sn.push(Ue(Nn,ie,!0)+" => "+Ue(In,ie))}),collectionOf("Map",mapSize.call(ie),Sn,Fe)}if(isSet(ie)){var Cn=[];return setForEach&&setForEach.call(ie,function(In){Cn.push(Ue(In,ie))}),collectionOf("Set",setSize.call(ie),Cn,Fe)}if(isWeakMap(ie))return weakCollectionOf("WeakMap");if(isWeakSet(ie))return weakCollectionOf("WeakSet");if(isWeakRef(ie))return weakCollectionOf("WeakRef");if(isNumber$1(ie))return markBoxed(Ue(Number(ie)));if(isBigInt(ie))return markBoxed(Ue(bigIntValueOf.call(ie)));if(isBoolean(ie))return markBoxed(booleanValueOf.call(ie));if(isString$2(ie))return markBoxed(Ue(String(ie)));if(!isDate(ie)&&!isRegExp$2(ie)){var En=arrObjKeys(ie,Ue),wn=gPO?gPO(ie)===Object.prototype:ie instanceof Object||ie.constructor===Object,xn=ie instanceof Object?"":"null prototype",kn=!wn&&toStringTag&&Object(ie)===ie&&toStringTag in ie?$slice.call(toStr(ie),8,-1):xn?"Object":"",Pn=wn||typeof ie.constructor!="function"?"":ie.constructor.name?ie.constructor.name+" ":"",An=Pn+(kn||xn?"["+$join.call($concat.call([],kn||[],xn||[]),": ")+"] ":"");return En.length===0?An+"{}":Fe?An+"{"+indentedJoin(En,Fe)+"}":An+"{ "+$join.call(En,", ")+" }"}return String(ie)};function wrapQuotes(oe,ie,le){var ue=(le.quoteStyle||ie)==="double"?'"':"'";return ue+oe+ue}function quote(oe){return $replace.call(String(oe),/"/g,"&quot;")}function isArray$7(oe){return toStr(oe)==="[object Array]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isDate(oe){return toStr(oe)==="[object Date]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isRegExp$2(oe){return toStr(oe)==="[object RegExp]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isError(oe){return toStr(oe)==="[object Error]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isString$2(oe){return toStr(oe)==="[object String]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isNumber$1(oe){return toStr(oe)==="[object Number]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isBoolean(oe){return toStr(oe)==="[object Boolean]"&&(!toStringTag||!(typeof oe=="object"&&toStringTag in oe))}function isSymbol(oe){if(hasShammedSymbols)return oe&&typeof oe=="object"&&oe instanceof Symbol;if(typeof oe=="symbol")return!0;if(!oe||typeof oe!="object"||!symToString)return!1;try{return symToString.call(oe),!0}catch{}return!1}function isBigInt(oe){if(!oe||typeof oe!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call(oe),!0}catch{}return!1}var hasOwn$1=Object.prototype.hasOwnProperty||function(oe){return oe in this};function has$4(oe,ie){return hasOwn$1.call(oe,ie)}function toStr(oe){return objectToString.call(oe)}function nameOf(oe){if(oe.name)return oe.name;var ie=$match.call(functionToString.call(oe),/^function\s*([\w$]+)/);return ie?ie[1]:null}function indexOf$1(oe,ie){if(oe.indexOf)return oe.indexOf(ie);for(var le=0,ue=oe.length;le<ue;le++)if(oe[le]===ie)return le;return-1}function isMap(oe){if(!mapSize||!oe||typeof oe!="object")return!1;try{mapSize.call(oe);try{setSize.call(oe)}catch{return!0}return oe instanceof Map}catch{}return!1}function isWeakMap(oe){if(!weakMapHas||!oe||typeof oe!="object")return!1;try{weakMapHas.call(oe,weakMapHas);try{weakSetHas.call(oe,weakSetHas)}catch{return!0}return oe instanceof WeakMap}catch{}return!1}function isWeakRef(oe){if(!weakRefDeref||!oe||typeof oe!="object")return!1;try{return weakRefDeref.call(oe),!0}catch{}return!1}function isSet(oe){if(!setSize||!oe||typeof oe!="object")return!1;try{setSize.call(oe);try{mapSize.call(oe)}catch{return!0}return oe instanceof Set}catch{}return!1}function isWeakSet(oe){if(!weakSetHas||!oe||typeof oe!="object")return!1;try{weakSetHas.call(oe,weakSetHas);try{weakMapHas.call(oe,weakMapHas)}catch{return!0}return oe instanceof WeakSet}catch{}return!1}function isElement(oe){return!oe||typeof oe!="object"?!1:typeof HTMLElement<"u"&&oe instanceof HTMLElement?!0:typeof oe.nodeName=="string"&&typeof oe.getAttribute=="function"}function inspectString(oe,ie){if(oe.length>ie.maxStringLength){var le=oe.length-ie.maxStringLength,ue="... "+le+" more character"+(le>1?"s":"");return inspectString($slice.call(oe,0,ie.maxStringLength),ie)+ue}var de=$replace.call($replace.call(oe,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(de,"single",ie)}function lowbyte(oe){var ie=oe.charCodeAt(0),le={8:"b",9:"t",10:"n",12:"f",13:"r"}[ie];return le?"\\"+le:"\\x"+(ie<16?"0":"")+$toUpperCase.call(ie.toString(16))}function markBoxed(oe){return"Object("+oe+")"}function weakCollectionOf(oe){return oe+" { ? }"}function collectionOf(oe,ie,le,ue){var de=ue?indentedJoin(le,ue):$join.call(le,", ");return oe+" ("+ie+") {"+de+"}"}function singleLineValues(oe){for(var ie=0;ie<oe.length;ie++)if(indexOf$1(oe[ie],`
`)>=0)return!1;return!0}function getIndent(oe,ie){var le;if(oe.indent===" ")le=" ";else if(typeof oe.indent=="number"&&oe.indent>0)le=$join.call(Array(oe.indent+1)," ");else return null;return{base:le,prev:$join.call(Array(ie+1),le)}}function indentedJoin(oe,ie){if(oe.length===0)return"";var le=`
`+ie.prev+ie.base;return le+$join.call(oe,","+le)+`
`+ie.prev}function arrObjKeys(oe,ie){var le=isArray$7(oe),ue=[];if(le){ue.length=oe.length;for(var de=0;de<oe.length;de++)ue[de]=has$4(oe,de)?ie(oe[de],oe):""}var pe=typeof gOPS=="function"?gOPS(oe):[],he;if(hasShammedSymbols){he={};for(var _e=0;_e<pe.length;_e++)he["$"+pe[_e]]=pe[_e]}for(var $e in oe)has$4(oe,$e)&&(le&&String(Number($e))===$e&&$e<oe.length||hasShammedSymbols&&he["$"+$e]instanceof Symbol||($test.call(/[^\w$]/,$e)?ue.push(ie($e,oe)+": "+ie(oe[$e],oe)):ue.push($e+": "+ie(oe[$e],oe))));if(typeof gOPS=="function")for(var Ie=0;Ie<pe.length;Ie++)isEnumerable.call(oe,pe[Ie])&&ue.push("["+ie(pe[Ie])+"]: "+ie(oe[pe[Ie]],oe));return ue}var GetIntrinsic=getIntrinsic,callBound=callBound$1,inspect=objectInspect,$TypeError=GetIntrinsic("%TypeError%"),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(oe,ie){for(var le=oe,ue;(ue=le.next)!==null;le=ue)if(ue.key===ie)return le.next=ue.next,ue.next=oe.next,oe.next=ue,ue},listGet=function(oe,ie){var le=listGetNode(oe,ie);return le&&le.value},listSet=function(oe,ie,le){var ue=listGetNode(oe,ie);ue?ue.value=le:oe.next={key:ie,next:oe.next,value:le}},listHas=function(oe,ie){return!!listGetNode(oe,ie)},sideChannel=function(){var ie,le,ue,de={assert:function(pe){if(!de.has(pe))throw new $TypeError("Side channel does not contain "+inspect(pe))},get:function(pe){if($WeakMap&&pe&&(typeof pe=="object"||typeof pe=="function")){if(ie)return $weakMapGet(ie,pe)}else if($Map){if(le)return $mapGet(le,pe)}else if(ue)return listGet(ue,pe)},has:function(pe){if($WeakMap&&pe&&(typeof pe=="object"||typeof pe=="function")){if(ie)return $weakMapHas(ie,pe)}else if($Map){if(le)return $mapHas(le,pe)}else if(ue)return listHas(ue,pe);return!1},set:function(pe,he){$WeakMap&&pe&&(typeof pe=="object"||typeof pe=="function")?(ie||(ie=new $WeakMap),$weakMapSet(ie,pe,he)):$Map?(le||(le=new $Map),$mapSet(le,pe,he)):(ue||(ue={key:{},next:null}),listSet(ue,pe,he))}};return de},replace=String.prototype.replace,percentTwenties=/%20/g,Format={RFC1738:"RFC1738",RFC3986:"RFC3986"},formats$3={default:Format.RFC3986,formatters:{RFC1738:function(oe){return replace.call(oe,percentTwenties,"+")},RFC3986:function(oe){return String(oe)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986},formats$2=formats$3,has$3=Object.prototype.hasOwnProperty,isArray$6=Array.isArray,hexTable=function(){for(var oe=[],ie=0;ie<256;++ie)oe.push("%"+((ie<16?"0":"")+ie.toString(16)).toUpperCase());return oe}(),compactQueue=function(ie){for(;ie.length>1;){var le=ie.pop(),ue=le.obj[le.prop];if(isArray$6(ue)){for(var de=[],pe=0;pe<ue.length;++pe)typeof ue[pe]<"u"&&de.push(ue[pe]);le.obj[le.prop]=de}}},arrayToObject=function(ie,le){for(var ue=le&&le.plainObjects?Object.create(null):{},de=0;de<ie.length;++de)typeof ie[de]<"u"&&(ue[de]=ie[de]);return ue},merge$1=function oe(ie,le,ue){if(!le)return ie;if(typeof le!="object"){if(isArray$6(ie))ie.push(le);else if(ie&&typeof ie=="object")(ue&&(ue.plainObjects||ue.allowPrototypes)||!has$3.call(Object.prototype,le))&&(ie[le]=!0);else return[ie,le];return ie}if(!ie||typeof ie!="object")return[ie].concat(le);var de=ie;return isArray$6(ie)&&!isArray$6(le)&&(de=arrayToObject(ie,ue)),isArray$6(ie)&&isArray$6(le)?(le.forEach(function(pe,he){if(has$3.call(ie,he)){var _e=ie[he];_e&&typeof _e=="object"&&pe&&typeof pe=="object"?ie[he]=oe(_e,pe,ue):ie.push(pe)}else ie[he]=pe}),ie):Object.keys(le).reduce(function(pe,he){var _e=le[he];return has$3.call(pe,he)?pe[he]=oe(pe[he],_e,ue):pe[he]=_e,pe},de)},assign$1=function(ie,le){return Object.keys(le).reduce(function(ue,de){return ue[de]=le[de],ue},ie)},decode$2=function(oe,ie,le){var ue=oe.replace(/\+/g," ");if(le==="iso-8859-1")return ue.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(ue)}catch{return ue}},encode=function(ie,le,ue,de,pe){if(ie.length===0)return ie;var he=ie;if(typeof ie=="symbol"?he=Symbol.prototype.toString.call(ie):typeof ie!="string"&&(he=String(ie)),ue==="iso-8859-1")return escape(he).replace(/%u[0-9a-f]{4}/gi,function(Ve){return"%26%23"+parseInt(Ve.slice(2),16)+"%3B"});for(var _e="",$e=0;$e<he.length;++$e){var Ie=he.charCodeAt($e);if(Ie===45||Ie===46||Ie===95||Ie===126||Ie>=48&&Ie<=57||Ie>=65&&Ie<=90||Ie>=97&&Ie<=122||pe===formats$2.RFC1738&&(Ie===40||Ie===41)){_e+=he.charAt($e);continue}if(Ie<128){_e=_e+hexTable[Ie];continue}if(Ie<2048){_e=_e+(hexTable[192|Ie>>6]+hexTable[128|Ie&63]);continue}if(Ie<55296||Ie>=57344){_e=_e+(hexTable[224|Ie>>12]+hexTable[128|Ie>>6&63]+hexTable[128|Ie&63]);continue}$e+=1,Ie=65536+((Ie&1023)<<10|he.charCodeAt($e)&1023),_e+=hexTable[240|Ie>>18]+hexTable[128|Ie>>12&63]+hexTable[128|Ie>>6&63]+hexTable[128|Ie&63]}return _e},compact=function(ie){for(var le=[{obj:{o:ie},prop:"o"}],ue=[],de=0;de<le.length;++de)for(var pe=le[de],he=pe.obj[pe.prop],_e=Object.keys(he),$e=0;$e<_e.length;++$e){var Ie=_e[$e],Ve=he[Ie];typeof Ve=="object"&&Ve!==null&&ue.indexOf(Ve)===-1&&(le.push({obj:he,prop:Ie}),ue.push(Ve))}return compactQueue(le),ie},isRegExp$1=function(ie){return Object.prototype.toString.call(ie)==="[object RegExp]"},isBuffer=function(ie){return!ie||typeof ie!="object"?!1:!!(ie.constructor&&ie.constructor.isBuffer&&ie.constructor.isBuffer(ie))},combine=function(ie,le){return[].concat(ie,le)},maybeMap=function(ie,le){if(isArray$6(ie)){for(var ue=[],de=0;de<ie.length;de+=1)ue.push(le(ie[de]));return ue}return le(ie)},utils$2={arrayToObject,assign:assign$1,combine,compact,decode:decode$2,encode,isBuffer,isRegExp:isRegExp$1,maybeMap,merge:merge$1},getSideChannel=sideChannel,utils$1=utils$2,formats$1=formats$3,has$2=Object.prototype.hasOwnProperty,arrayPrefixGenerators={brackets:function(ie){return ie+"[]"},comma:"comma",indices:function(ie,le){return ie+"["+le+"]"},repeat:function(ie){return ie}},isArray$5=Array.isArray,push$1=Array.prototype.push,pushToArray=function(oe,ie){push$1.apply(oe,isArray$5(ie)?ie:[ie])},toISO=Date.prototype.toISOString,defaultFormat=formats$1.default,defaults$2={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:utils$1.encode,encodeValuesOnly:!1,format:defaultFormat,formatter:formats$1.formatters[defaultFormat],indices:!1,serializeDate:function(ie){return toISO.call(ie)},skipNulls:!1,strictNullHandling:!1},isNonNullishPrimitive=function(ie){return typeof ie=="string"||typeof ie=="number"||typeof ie=="boolean"||typeof ie=="symbol"||typeof ie=="bigint"},sentinel={},stringify$2=function oe(ie,le,ue,de,pe,he,_e,$e,Ie,Ve,Fe,Ue,qe,Et,At,Lt){for(var hn=ie,vn=Lt,_n=0,bn=!1;(vn=vn.get(sentinel))!==void 0&&!bn;){var Sn=vn.get(ie);if(_n+=1,typeof Sn<"u"){if(Sn===_n)throw new RangeError("Cyclic object value");bn=!0}typeof vn.get(sentinel)>"u"&&(_n=0)}if(typeof $e=="function"?hn=$e(le,hn):hn instanceof Date?hn=Fe(hn):ue==="comma"&&isArray$5(hn)&&(hn=utils$1.maybeMap(hn,function(Vn){return Vn instanceof Date?Fe(Vn):Vn})),hn===null){if(pe)return _e&&!Et?_e(le,defaults$2.encoder,At,"key",Ue):le;hn=""}if(isNonNullishPrimitive(hn)||utils$1.isBuffer(hn)){if(_e){var Cn=Et?le:_e(le,defaults$2.encoder,At,"key",Ue);return[qe(Cn)+"="+qe(_e(hn,defaults$2.encoder,At,"value",Ue))]}return[qe(le)+"="+qe(String(hn))]}var En=[];if(typeof hn>"u")return En;var wn;if(ue==="comma"&&isArray$5(hn))Et&&_e&&(hn=utils$1.maybeMap(hn,_e)),wn=[{value:hn.length>0?hn.join(",")||null:void 0}];else if(isArray$5($e))wn=$e;else{var xn=Object.keys(hn);wn=Ie?xn.sort(Ie):xn}for(var kn=de&&isArray$5(hn)&&hn.length===1?le+"[]":le,Pn=0;Pn<wn.length;++Pn){var An=wn[Pn],In=typeof An=="object"&&typeof An.value<"u"?An.value:hn[An];if(!(he&&In===null)){var Nn=isArray$5(hn)?typeof ue=="function"?ue(kn,An):kn:kn+(Ve?"."+An:"["+An+"]");Lt.set(ie,_n);var Un=getSideChannel();Un.set(sentinel,Lt),pushToArray(En,oe(In,Nn,ue,de,pe,he,ue==="comma"&&Et&&isArray$5(hn)?null:_e,$e,Ie,Ve,Fe,Ue,qe,Et,At,Un))}}return En},normalizeStringifyOptions=function(ie){if(!ie)return defaults$2;if(ie.encoder!==null&&typeof ie.encoder<"u"&&typeof ie.encoder!="function")throw new TypeError("Encoder has to be a function.");var le=ie.charset||defaults$2.charset;if(typeof ie.charset<"u"&&ie.charset!=="utf-8"&&ie.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var ue=formats$1.default;if(typeof ie.format<"u"){if(!has$2.call(formats$1.formatters,ie.format))throw new TypeError("Unknown format option provided.");ue=ie.format}var de=formats$1.formatters[ue],pe=defaults$2.filter;return(typeof ie.filter=="function"||isArray$5(ie.filter))&&(pe=ie.filter),{addQueryPrefix:typeof ie.addQueryPrefix=="boolean"?ie.addQueryPrefix:defaults$2.addQueryPrefix,allowDots:typeof ie.allowDots>"u"?defaults$2.allowDots:!!ie.allowDots,charset:le,charsetSentinel:typeof ie.charsetSentinel=="boolean"?ie.charsetSentinel:defaults$2.charsetSentinel,delimiter:typeof ie.delimiter>"u"?defaults$2.delimiter:ie.delimiter,encode:typeof ie.encode=="boolean"?ie.encode:defaults$2.encode,encoder:typeof ie.encoder=="function"?ie.encoder:defaults$2.encoder,encodeValuesOnly:typeof ie.encodeValuesOnly=="boolean"?ie.encodeValuesOnly:defaults$2.encodeValuesOnly,filter:pe,format:ue,formatter:de,serializeDate:typeof ie.serializeDate=="function"?ie.serializeDate:defaults$2.serializeDate,skipNulls:typeof ie.skipNulls=="boolean"?ie.skipNulls:defaults$2.skipNulls,sort:typeof ie.sort=="function"?ie.sort:null,strictNullHandling:typeof ie.strictNullHandling=="boolean"?ie.strictNullHandling:defaults$2.strictNullHandling}},stringify_1=function(oe,ie){var le=oe,ue=normalizeStringifyOptions(ie),de,pe;typeof ue.filter=="function"?(pe=ue.filter,le=pe("",le)):isArray$5(ue.filter)&&(pe=ue.filter,de=pe);var he=[];if(typeof le!="object"||le===null)return"";var _e;ie&&ie.arrayFormat in arrayPrefixGenerators?_e=ie.arrayFormat:ie&&"indices"in ie?_e=ie.indices?"indices":"repeat":_e="indices";var $e=arrayPrefixGenerators[_e];if(ie&&"commaRoundTrip"in ie&&typeof ie.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var Ie=$e==="comma"&&ie&&ie.commaRoundTrip;de||(de=Object.keys(le)),ue.sort&&de.sort(ue.sort);for(var Ve=getSideChannel(),Fe=0;Fe<de.length;++Fe){var Ue=de[Fe];ue.skipNulls&&le[Ue]===null||pushToArray(he,stringify$2(le[Ue],Ue,$e,Ie,ue.strictNullHandling,ue.skipNulls,ue.encode?ue.encoder:null,ue.filter,ue.sort,ue.allowDots,ue.serializeDate,ue.format,ue.formatter,ue.encodeValuesOnly,ue.charset,Ve))}var qe=he.join(ue.delimiter),Et=ue.addQueryPrefix===!0?"?":"";return ue.charsetSentinel&&(ue.charset==="iso-8859-1"?Et+="utf8=%26%2310003%3B&":Et+="utf8=%E2%9C%93&"),qe.length>0?Et+qe:""},utils=utils$2,has$1=Object.prototype.hasOwnProperty,isArray$4=Array.isArray,defaults$1={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(oe){return oe.replace(/&#(\d+);/g,function(ie,le){return String.fromCharCode(parseInt(le,10))})},parseArrayValue=function(oe,ie){return oe&&typeof oe=="string"&&ie.comma&&oe.indexOf(",")>-1?oe.split(","):oe},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(ie,le){var ue={__proto__:null},de=le.ignoreQueryPrefix?ie.replace(/^\?/,""):ie,pe=le.parameterLimit===1/0?void 0:le.parameterLimit,he=de.split(le.delimiter,pe),_e=-1,$e,Ie=le.charset;if(le.charsetSentinel)for($e=0;$e<he.length;++$e)he[$e].indexOf("utf8=")===0&&(he[$e]===charsetSentinel?Ie="utf-8":he[$e]===isoSentinel&&(Ie="iso-8859-1"),_e=$e,$e=he.length);for($e=0;$e<he.length;++$e)if($e!==_e){var Ve=he[$e],Fe=Ve.indexOf("]="),Ue=Fe===-1?Ve.indexOf("="):Fe+1,qe,Et;Ue===-1?(qe=le.decoder(Ve,defaults$1.decoder,Ie,"key"),Et=le.strictNullHandling?null:""):(qe=le.decoder(Ve.slice(0,Ue),defaults$1.decoder,Ie,"key"),Et=utils.maybeMap(parseArrayValue(Ve.slice(Ue+1),le),function(At){return le.decoder(At,defaults$1.decoder,Ie,"value")})),Et&&le.interpretNumericEntities&&Ie==="iso-8859-1"&&(Et=interpretNumericEntities(Et)),Ve.indexOf("[]=")>-1&&(Et=isArray$4(Et)?[Et]:Et),has$1.call(ue,qe)?ue[qe]=utils.combine(ue[qe],Et):ue[qe]=Et}return ue},parseObject=function(oe,ie,le,ue){for(var de=ue?ie:parseArrayValue(ie,le),pe=oe.length-1;pe>=0;--pe){var he,_e=oe[pe];if(_e==="[]"&&le.parseArrays)he=[].concat(de);else{he=le.plainObjects?Object.create(null):{};var $e=_e.charAt(0)==="["&&_e.charAt(_e.length-1)==="]"?_e.slice(1,-1):_e,Ie=parseInt($e,10);!le.parseArrays&&$e===""?he={0:de}:!isNaN(Ie)&&_e!==$e&&String(Ie)===$e&&Ie>=0&&le.parseArrays&&Ie<=le.arrayLimit?(he=[],he[Ie]=de):$e!=="__proto__"&&(he[$e]=de)}de=he}return de},parseKeys=function(ie,le,ue,de){if(ie){var pe=ue.allowDots?ie.replace(/\.([^.[]+)/g,"[$1]"):ie,he=/(\[[^[\]]*])/,_e=/(\[[^[\]]*])/g,$e=ue.depth>0&&he.exec(pe),Ie=$e?pe.slice(0,$e.index):pe,Ve=[];if(Ie){if(!ue.plainObjects&&has$1.call(Object.prototype,Ie)&&!ue.allowPrototypes)return;Ve.push(Ie)}for(var Fe=0;ue.depth>0&&($e=_e.exec(pe))!==null&&Fe<ue.depth;){if(Fe+=1,!ue.plainObjects&&has$1.call(Object.prototype,$e[1].slice(1,-1))&&!ue.allowPrototypes)return;Ve.push($e[1])}return $e&&Ve.push("["+pe.slice($e.index)+"]"),parseObject(Ve,le,ue,de)}},normalizeParseOptions=function(ie){if(!ie)return defaults$1;if(ie.decoder!==null&&ie.decoder!==void 0&&typeof ie.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof ie.charset<"u"&&ie.charset!=="utf-8"&&ie.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var le=typeof ie.charset>"u"?defaults$1.charset:ie.charset;return{allowDots:typeof ie.allowDots>"u"?defaults$1.allowDots:!!ie.allowDots,allowPrototypes:typeof ie.allowPrototypes=="boolean"?ie.allowPrototypes:defaults$1.allowPrototypes,allowSparse:typeof ie.allowSparse=="boolean"?ie.allowSparse:defaults$1.allowSparse,arrayLimit:typeof ie.arrayLimit=="number"?ie.arrayLimit:defaults$1.arrayLimit,charset:le,charsetSentinel:typeof ie.charsetSentinel=="boolean"?ie.charsetSentinel:defaults$1.charsetSentinel,comma:typeof ie.comma=="boolean"?ie.comma:defaults$1.comma,decoder:typeof ie.decoder=="function"?ie.decoder:defaults$1.decoder,delimiter:typeof ie.delimiter=="string"||utils.isRegExp(ie.delimiter)?ie.delimiter:defaults$1.delimiter,depth:typeof ie.depth=="number"||ie.depth===!1?+ie.depth:defaults$1.depth,ignoreQueryPrefix:ie.ignoreQueryPrefix===!0,interpretNumericEntities:typeof ie.interpretNumericEntities=="boolean"?ie.interpretNumericEntities:defaults$1.interpretNumericEntities,parameterLimit:typeof ie.parameterLimit=="number"?ie.parameterLimit:defaults$1.parameterLimit,parseArrays:ie.parseArrays!==!1,plainObjects:typeof ie.plainObjects=="boolean"?ie.plainObjects:defaults$1.plainObjects,strictNullHandling:typeof ie.strictNullHandling=="boolean"?ie.strictNullHandling:defaults$1.strictNullHandling}},parse$4=function(oe,ie){var le=normalizeParseOptions(ie);if(oe===""||oe===null||typeof oe>"u")return le.plainObjects?Object.create(null):{};for(var ue=typeof oe=="string"?parseValues(oe,le):oe,de=le.plainObjects?Object.create(null):{},pe=Object.keys(ue),he=0;he<pe.length;++he){var _e=pe[he],$e=parseKeys(_e,ue[_e],le,typeof oe=="string");de=utils.merge(de,$e,le)}return le.allowSparse===!0?de:utils.compact(de)},stringify$1=stringify_1,parse$3=parse$4,formats=formats$3,lib={formats,parse:parse$3,stringify:stringify$1},nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */(function(oe,ie){(function(le,ue){oe.exports=ue()})(commonjsGlobal,function(){var le={};le.version="0.2.0";var ue=le.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};le.configure=function(Et){var At,Lt;for(At in Et)Lt=Et[At],Lt!==void 0&&Et.hasOwnProperty(At)&&(ue[At]=Lt);return this},le.status=null,le.set=function(Et){var At=le.isStarted();Et=de(Et,ue.minimum,1),le.status=Et===1?null:Et;var Lt=le.render(!At),hn=Lt.querySelector(ue.barSelector),vn=ue.speed,_n=ue.easing;return Lt.offsetWidth,_e(function(bn){ue.positionUsing===""&&(ue.positionUsing=le.getPositioningCSS()),$e(hn,he(Et,vn,_n)),Et===1?($e(Lt,{transition:"none",opacity:1}),Lt.offsetWidth,setTimeout(function(){$e(Lt,{transition:"all "+vn+"ms linear",opacity:0}),setTimeout(function(){le.remove(),bn()},vn)},vn)):setTimeout(bn,vn)}),this},le.isStarted=function(){return typeof le.status=="number"},le.start=function(){le.status||le.set(0);var Et=function(){setTimeout(function(){le.status&&(le.trickle(),Et())},ue.trickleSpeed)};return ue.trickle&&Et(),this},le.done=function(Et){return!Et&&!le.status?this:le.inc(.3+.5*Math.random()).set(1)},le.inc=function(Et){var At=le.status;return At?(typeof Et!="number"&&(Et=(1-At)*de(Math.random()*At,.1,.95)),At=de(At+Et,0,.994),le.set(At)):le.start()},le.trickle=function(){return le.inc(Math.random()*ue.trickleRate)},function(){var Et=0,At=0;le.promise=function(Lt){return!Lt||Lt.state()==="resolved"?this:(At===0&&le.start(),Et++,At++,Lt.always(function(){At--,At===0?(Et=0,le.done()):le.set((Et-At)/Et)}),this)}}(),le.render=function(Et){if(le.isRendered())return document.getElementById("nprogress");Ve(document.documentElement,"nprogress-busy");var At=document.createElement("div");At.id="nprogress",At.innerHTML=ue.template;var Lt=At.querySelector(ue.barSelector),hn=Et?"-100":pe(le.status||0),vn=document.querySelector(ue.parent),_n;return $e(Lt,{transition:"all 0 linear",transform:"translate3d("+hn+"%,0,0)"}),ue.showSpinner||(_n=At.querySelector(ue.spinnerSelector),_n&&qe(_n)),vn!=document.body&&Ve(vn,"nprogress-custom-parent"),vn.appendChild(At),At},le.remove=function(){Fe(document.documentElement,"nprogress-busy"),Fe(document.querySelector(ue.parent),"nprogress-custom-parent");var Et=document.getElementById("nprogress");Et&&qe(Et)},le.isRendered=function(){return!!document.getElementById("nprogress")},le.getPositioningCSS=function(){var Et=document.body.style,At="WebkitTransform"in Et?"Webkit":"MozTransform"in Et?"Moz":"msTransform"in Et?"ms":"OTransform"in Et?"O":"";return At+"Perspective"in Et?"translate3d":At+"Transform"in Et?"translate":"margin"};function de(Et,At,Lt){return Et<At?At:Et>Lt?Lt:Et}function pe(Et){return(-1+Et)*100}function he(Et,At,Lt){var hn;return ue.positionUsing==="translate3d"?hn={transform:"translate3d("+pe(Et)+"%,0,0)"}:ue.positionUsing==="translate"?hn={transform:"translate("+pe(Et)+"%,0)"}:hn={"margin-left":pe(Et)+"%"},hn.transition="all "+At+"ms "+Lt,hn}var _e=function(){var Et=[];function At(){var Lt=Et.shift();Lt&&Lt(At)}return function(Lt){Et.push(Lt),Et.length==1&&At()}}(),$e=function(){var Et=["Webkit","O","Moz","ms"],At={};function Lt(bn){return bn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(Sn,Cn){return Cn.toUpperCase()})}function hn(bn){var Sn=document.body.style;if(bn in Sn)return bn;for(var Cn=Et.length,En=bn.charAt(0).toUpperCase()+bn.slice(1),wn;Cn--;)if(wn=Et[Cn]+En,wn in Sn)return wn;return bn}function vn(bn){return bn=Lt(bn),At[bn]||(At[bn]=hn(bn))}function _n(bn,Sn,Cn){Sn=vn(Sn),bn.style[Sn]=Cn}return function(bn,Sn){var Cn=arguments,En,wn;if(Cn.length==2)for(En in Sn)wn=Sn[En],wn!==void 0&&Sn.hasOwnProperty(En)&&_n(bn,En,wn);else _n(bn,Cn[1],Cn[2])}}();function Ie(Et,At){var Lt=typeof Et=="string"?Et:Ue(Et);return Lt.indexOf(" "+At+" ")>=0}function Ve(Et,At){var Lt=Ue(Et),hn=Lt+At;Ie(Lt,At)||(Et.className=hn.substring(1))}function Fe(Et,At){var Lt=Ue(Et),hn;Ie(Et,At)&&(hn=Lt.replace(" "+At+" "," "),Et.className=hn.substring(1,hn.length-1))}function Ue(Et){return(" "+(Et.className||"")+" ").replace(/\s+/gi," ")}function qe(Et){Et&&Et.parentNode&&Et.parentNode.removeChild(Et)}return le})})(nprogress$1);var nprogressExports=nprogress$1.exports;const NProgress=getDefaultExportFromCjs(nprogressExports),nprogress="";NProgress.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});const defaultConfig$1={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:lib.stringify}},eo=class{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(ie){return new Promise(le=>{eo.requests.push(ue=>{ie.headers.Authorization=formatToken(ue),le(ie)})})}httpInterceptorsRequest(){eo.axiosInstance.interceptors.request.use(async ie=>(NProgress.start(),typeof ie.beforeRequestCallback=="function"?(ie.beforeRequestCallback(ie),ie):eo.initConfig.beforeRequestCallback?(eo.initConfig.beforeRequestCallback(ie),ie):["/refreshToken","/login"].some(ue=>ie.url.indexOf(ue)>-1)?ie:new Promise(ue=>{const de=getToken();if(de){const pe=new Date().getTime();parseInt(de.expires)-pe<=0?(eo.isRefreshing||(eo.isRefreshing=!0,useUserStoreHook().handRefreshToken({refreshToken:de.refreshToken}).then(_e=>{const $e=_e.data.accessToken;ie.headers.Authorization=formatToken($e),eo.requests.forEach(Ie=>Ie($e)),eo.requests=[]}).finally(()=>{eo.isRefreshing=!1})),ue(eo.retryOriginalRequest(ie))):(ie.headers.Authorization=formatToken(de.accessToken),ue(ie))}else ue(ie)})),ie=>Promise.reject(ie))}httpInterceptorsResponse(){eo.axiosInstance.interceptors.response.use(le=>{const ue=le.config;return NProgress.done(),typeof ue.beforeResponseCallback=="function"?(ue.beforeResponseCallback(le),le.data):(eo.initConfig.beforeResponseCallback&&eo.initConfig.beforeResponseCallback(le),le.data)},le=>{const ue=le;return ue.isCancelRequest=axios$1.isCancel(ue),NProgress.done(),Promise.reject(ue)})}request(ie,le,ue,de){const pe={method:ie,url:le,...ue,...de};return new Promise((he,_e)=>{eo.axiosInstance.request(pe).then($e=>{he($e)}).catch($e=>{_e($e)})})}post(ie,le,ue){return this.request("post",ie,le,ue)}get(ie,le,ue){return this.request("get",ie,le,ue)}};let PureHttp=eo;ao(PureHttp,"requests",[]),ao(PureHttp,"isRefreshing",!1),ao(PureHttp,"initConfig",{}),ao(PureHttp,"axiosInstance",axios$1.create(defaultConfig$1));const http=new PureHttp,getLogin=oe=>http.request("post","/login",{data:oe}),refreshTokenApi=oe=>http.request("post","/refreshToken",{data:oe}),useMultiTagsStore=defineStore({id:"pure-multiTags",state:()=>{var oe,ie;return{multiTags:(oe=nr().getItem(`${responsiveStorageNameSpace()}configure`))!=null&&oe.multiTagsCache?nr().getItem(`${responsiveStorageNameSpace()}tags`):[...routerArrays],multiTagsCache:(ie=nr().getItem(`${responsiveStorageNameSpace()}configure`))==null?void 0:ie.multiTagsCache}},getters:{getMultiTagsCache(oe){return oe.multiTagsCache}},actions:{multiTagsCacheChange(oe){this.multiTagsCache=oe,oe?nr().setItem(`${responsiveStorageNameSpace()}tags`,this.multiTags):nr().removeItem(`${responsiveStorageNameSpace()}tags`)},tagsCache(oe){this.getMultiTagsCache&&nr().setItem(`${responsiveStorageNameSpace()}tags`,oe)},handleTags(oe,ie,le){var ue,de,pe,he,_e;switch(oe){case"equal":this.multiTags=ie,this.tagsCache(this.multiTags);break;case"push":{const $e=ie;if((ue=$e==null?void 0:$e.meta)!=null&&ue.hiddenTag||gt($e==null?void 0:$e.name)||((de=$e==null?void 0:$e.meta)==null?void 0:de.title.length)===0||Le((pe=$e==null?void 0:$e.meta)==null?void 0:pe.showLink)&&!((he=$e==null?void 0:$e.meta)!=null&&he.showLink))return;const Ie=$e.path,Ve=this.multiTags.some(Et=>Et.path===Ie),Fe=this.multiTags.some(Et=>Xt(Et==null?void 0:Et.query,$e==null?void 0:$e.query)),Ue=this.multiTags.some(Et=>Xt(Et==null?void 0:Et.params,$e==null?void 0:$e.params));if(Ve&&Fe&&Ue)return;const qe=((_e=$e==null?void 0:$e.meta)==null?void 0:_e.dynamicLevel)??-1;if(qe>0&&this.multiTags.filter(Et=>(Et==null?void 0:Et.path)===Ie).length>=qe){const Et=this.multiTags.findIndex(At=>(At==null?void 0:At.path)===Ie);Et!==-1&&this.multiTags.splice(Et,1)}this.multiTags.push(ie),this.tagsCache(this.multiTags)}break;case"splice":if(le)this.multiTags.splice(le==null?void 0:le.startIndex,le==null?void 0:le.length);else{const $e=this.multiTags.findIndex(Ie=>Ie.path===ie);if($e===-1)return;this.multiTags.splice($e,1)}return this.tagsCache(this.multiTags),this.multiTags;case"slice":return this.multiTags.slice(-1)}}}});function useMultiTagsStoreHook(){return useMultiTagsStore(store)}const useUserStore=defineStore({id:"pure-user",state:()=>{var oe,ie;return{username:((oe=rr().getItem(sessionKey))==null?void 0:oe.username)??"",roles:((ie=rr().getItem(sessionKey))==null?void 0:ie.roles)??[],verifyCode:"",currentPage:0}},actions:{SET_USERNAME(oe){this.username=oe},SET_ROLES(oe){this.roles=oe},SET_VERIFYCODE(oe){this.verifyCode=oe},SET_CURRENTPAGE(oe){this.currentPage=oe},async loginByUsername(oe){return new Promise((ie,le)=>{getLogin(oe).then(ue=>{ue&&(setToken(ue.data),ie(ue))}).catch(ue=>{le(ue)})})},logOut(){this.username="",this.roles=[],removeToken(),useMultiTagsStoreHook().handleTags("equal",[...routerArrays]),resetRouter(),router.push("/login")},async handRefreshToken(oe){return new Promise((ie,le)=>{refreshTokenApi(oe).then(ue=>{ue&&(setToken(ue.data),ie(ue))}).catch(ue=>{le(ue)})})}}});function useUserStoreHook(){return useUserStore(store)}const sessionKey="user-info",TokenKey="authorized-token";function getToken(){return api.get(TokenKey)?JSON.parse(api.get(TokenKey)):rr().getItem(sessionKey)}function setToken(oe){var he,_e;let ie=0;const{accessToken:le,refreshToken:ue}=oe;ie=new Date(oe.expires).getTime();const de=JSON.stringify({accessToken:le,expires:ie});ie>0?api.set(TokenKey,de,{expires:(ie-Date.now())/864e5}):api.set(TokenKey,de);function pe($e,Ie){useUserStoreHook().SET_USERNAME($e),useUserStoreHook().SET_ROLES(Ie),rr().setItem(sessionKey,{refreshToken:ue,expires:ie,username:$e,roles:Ie})}if(oe.username&&oe.roles){const{username:$e,roles:Ie}=oe;pe($e,Ie)}else{const $e=((he=rr().getItem(sessionKey))==null?void 0:he.username)??"",Ie=((_e=rr().getItem(sessionKey))==null?void 0:_e.roles)??[];pe($e,Ie)}}function removeToken(){api.remove(TokenKey),sessionStorage.clear()}const formatToken=oe=>"Bearer "+oe;(function(){const oe=hr(location.href),ie=["username","roles","accessToken"],le=ie.length;if(Object.keys(oe).length!==le)return;let ue=[],de=0;for(;de<le;)Object.keys(oe).includes(ie[de])&&ue.length<=le?ue.push(ie[de]):ue=[],de++;if(ue.length===le){removeToken(),setToken(oe),delete oe.roles,delete oe.accessToken;const pe=`${location.origin}${location.pathname}${Vt(location.hash,"?")}?${JSON.stringify(oe).replace(/["{}]/g,"").replace(/:/g,"=").replace(/,/g,"&")}`;window.location.replace(pe)}else return})();/*!
* vue-router v4.2.2
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const isBrowser$1=typeof window<"u";function isESModule(oe){return oe.__esModule||oe[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(oe,ie){const le={};for(const ue in ie){const de=ie[ue];le[ue]=isArray$3(de)?de.map(oe):oe(de)}return le}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=oe=>oe.replace(TRAILING_SLASH_RE,"");function parseURL(oe,ie,le="/"){let ue,de={},pe="",he="";const _e=ie.indexOf("#");let $e=ie.indexOf("?");return _e<$e&&_e>=0&&($e=-1),$e>-1&&(ue=ie.slice(0,$e),pe=ie.slice($e+1,_e>-1?_e:ie.length),de=oe(pe)),_e>-1&&(ue=ue||ie.slice(0,_e),he=ie.slice(_e,ie.length)),ue=resolveRelativePath(ue??ie,le),{fullPath:ue+(pe&&"?")+pe+he,path:ue,query:de,hash:he}}function stringifyURL(oe,ie){const le=ie.query?oe(ie.query):"";return ie.path+(le&&"?")+le+(ie.hash||"")}function stripBase(oe,ie){return!ie||!oe.toLowerCase().startsWith(ie.toLowerCase())?oe:oe.slice(ie.length)||"/"}function isSameRouteLocation(oe,ie,le){const ue=ie.matched.length-1,de=le.matched.length-1;return ue>-1&&ue===de&&isSameRouteRecord(ie.matched[ue],le.matched[de])&&isSameRouteLocationParams(ie.params,le.params)&&oe(ie.query)===oe(le.query)&&ie.hash===le.hash}function isSameRouteRecord(oe,ie){return(oe.aliasOf||oe)===(ie.aliasOf||ie)}function isSameRouteLocationParams(oe,ie){if(Object.keys(oe).length!==Object.keys(ie).length)return!1;for(const le in oe)if(!isSameRouteLocationParamsValue(oe[le],ie[le]))return!1;return!0}function isSameRouteLocationParamsValue(oe,ie){return isArray$3(oe)?isEquivalentArray(oe,ie):isArray$3(ie)?isEquivalentArray(ie,oe):oe===ie}function isEquivalentArray(oe,ie){return isArray$3(ie)?oe.length===ie.length&&oe.every((le,ue)=>le===ie[ue]):oe.length===1&&oe[0]===ie}function resolveRelativePath(oe,ie){if(oe.startsWith("/"))return oe;if(!oe)return ie;const le=ie.split("/"),ue=oe.split("/"),de=ue[ue.length-1];(de===".."||de===".")&&ue.push("");let pe=le.length-1,he,_e;for(he=0;he<ue.length;he++)if(_e=ue[he],_e!==".")if(_e==="..")pe>1&&pe--;else break;return le.slice(0,pe).join("/")+"/"+ue.slice(he-(he===ue.length?1:0)).join("/")}var NavigationType;(function(oe){oe.pop="pop",oe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(oe){oe.back="back",oe.forward="forward",oe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(oe){if(!oe)if(isBrowser$1){const ie=document.querySelector("base");oe=ie&&ie.getAttribute("href")||"/",oe=oe.replace(/^\w+:\/\/[^\/]+/,"")}else oe="/";return oe[0]!=="/"&&oe[0]!=="#"&&(oe="/"+oe),removeTrailingSlash(oe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(oe,ie){return oe.replace(BEFORE_HASH_RE,"#")+ie}function getElementPosition(oe,ie){const le=document.documentElement.getBoundingClientRect(),ue=oe.getBoundingClientRect();return{behavior:ie.behavior,left:ue.left-le.left-(ie.left||0),top:ue.top-le.top-(ie.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(oe){let ie;if("el"in oe){const le=oe.el,ue=typeof le=="string"&&le.startsWith("#"),de=typeof le=="string"?ue?document.getElementById(le.slice(1)):document.querySelector(le):le;if(!de)return;ie=getElementPosition(de,oe)}else ie=oe;"scrollBehavior"in document.documentElement.style?window.scrollTo(ie):window.scrollTo(ie.left!=null?ie.left:window.pageXOffset,ie.top!=null?ie.top:window.pageYOffset)}function getScrollKey(oe,ie){return(history.state?history.state.position-ie:-1)+oe}const scrollPositions=new Map;function saveScrollPosition(oe,ie){scrollPositions.set(oe,ie)}function getSavedScrollPosition(oe){const ie=scrollPositions.get(oe);return scrollPositions.delete(oe),ie}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(oe,ie){const{pathname:le,search:ue,hash:de}=ie,pe=oe.indexOf("#");if(pe>-1){let _e=de.includes(oe.slice(pe))?oe.slice(pe).length:1,$e=de.slice(_e);return $e[0]!=="/"&&($e="/"+$e),stripBase($e,"")}return stripBase(le,oe)+ue+de}function useHistoryListeners(oe,ie,le,ue){let de=[],pe=[],he=null;const _e=({state:Ue})=>{const qe=createCurrentLocation(oe,location),Et=le.value,At=ie.value;let Lt=0;if(Ue){if(le.value=qe,ie.value=Ue,he&&he===Et){he=null;return}Lt=At?Ue.position-At.position:0}else ue(qe);de.forEach(hn=>{hn(le.value,Et,{delta:Lt,type:NavigationType.pop,direction:Lt?Lt>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function $e(){he=le.value}function Ie(Ue){de.push(Ue);const qe=()=>{const Et=de.indexOf(Ue);Et>-1&&de.splice(Et,1)};return pe.push(qe),qe}function Ve(){const{history:Ue}=window;Ue.state&&Ue.replaceState(assign({},Ue.state,{scroll:computeScrollPosition()}),"")}function Fe(){for(const Ue of pe)Ue();pe=[],window.removeEventListener("popstate",_e),window.removeEventListener("beforeunload",Ve)}return window.addEventListener("popstate",_e),window.addEventListener("beforeunload",Ve,{passive:!0}),{pauseListeners:$e,listen:Ie,destroy:Fe}}function buildState(oe,ie,le,ue=!1,de=!1){return{back:oe,current:ie,forward:le,replaced:ue,position:window.history.length,scroll:de?computeScrollPosition():null}}function useHistoryStateNavigation(oe){const{history:ie,location:le}=window,ue={value:createCurrentLocation(oe,le)},de={value:ie.state};de.value||pe(ue.value,{back:null,current:ue.value,forward:null,position:ie.length-1,replaced:!0,scroll:null},!0);function pe($e,Ie,Ve){const Fe=oe.indexOf("#"),Ue=Fe>-1?(le.host&&document.querySelector("base")?oe:oe.slice(Fe))+$e:createBaseLocation()+oe+$e;try{ie[Ve?"replaceState":"pushState"](Ie,"",Ue),de.value=Ie}catch(qe){console.error(qe),le[Ve?"replace":"assign"](Ue)}}function he($e,Ie){const Ve=assign({},ie.state,buildState(de.value.back,$e,de.value.forward,!0),Ie,{position:de.value.position});pe($e,Ve,!0),ue.value=$e}function _e($e,Ie){const Ve=assign({},de.value,ie.state,{forward:$e,scroll:computeScrollPosition()});pe(Ve.current,Ve,!0);const Fe=assign({},buildState(ue.value,$e,null),{position:Ve.position+1},Ie);pe($e,Fe,!1),ue.value=$e}return{location:ue,state:de,push:_e,replace:he}}function createWebHistory(oe){oe=normalizeBase(oe);const ie=useHistoryStateNavigation(oe),le=useHistoryListeners(oe,ie.state,ie.location,ie.replace);function ue(pe,he=!0){he||le.pauseListeners(),history.go(pe)}const de=assign({location:"",base:oe,go:ue,createHref:createHref.bind(null,oe)},ie,le);return Object.defineProperty(de,"location",{enumerable:!0,get:()=>ie.location.value}),Object.defineProperty(de,"state",{enumerable:!0,get:()=>ie.state.value}),de}function createWebHashHistory(oe){return oe=location.host?oe||location.pathname+location.search:"",oe.includes("#")||(oe+="#"),createWebHistory(oe)}function isRouteLocation(oe){return typeof oe=="string"||oe&&typeof oe=="object"}function isRouteName(oe){return typeof oe=="string"||typeof oe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(oe){oe[oe.aborted=4]="aborted",oe[oe.cancelled=8]="cancelled",oe[oe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(oe,ie){return assign(new Error,{type:oe,[NavigationFailureSymbol]:!0},ie)}function isNavigationFailure(oe,ie){return oe instanceof Error&&NavigationFailureSymbol in oe&&(ie==null||!!(oe.type&ie))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(oe,ie){const le=assign({},BASE_PATH_PARSER_OPTIONS,ie),ue=[];let de=le.start?"^":"";const pe=[];for(const Ie of oe){const Ve=Ie.length?[]:[90];le.strict&&!Ie.length&&(de+="/");for(let Fe=0;Fe<Ie.length;Fe++){const Ue=Ie[Fe];let qe=40+(le.sensitive?.25:0);if(Ue.type===0)Fe||(de+="/"),de+=Ue.value.replace(REGEX_CHARS_RE,"\\$&"),qe+=40;else if(Ue.type===1){const{value:Et,repeatable:At,optional:Lt,regexp:hn}=Ue;pe.push({name:Et,repeatable:At,optional:Lt});const vn=hn||BASE_PARAM_PATTERN;if(vn!==BASE_PARAM_PATTERN){qe+=10;try{new RegExp(`(${vn})`)}catch(bn){throw new Error(`Invalid custom RegExp for param "${Et}" (${vn}): `+bn.message)}}let _n=At?`((?:${vn})(?:/(?:${vn}))*)`:`(${vn})`;Fe||(_n=Lt&&Ie.length<2?`(?:/${_n})`:"/"+_n),Lt&&(_n+="?"),de+=_n,qe+=20,Lt&&(qe+=-8),At&&(qe+=-20),vn===".*"&&(qe+=-50)}Ve.push(qe)}ue.push(Ve)}if(le.strict&&le.end){const Ie=ue.length-1;ue[Ie][ue[Ie].length-1]+=.7000000000000001}le.strict||(de+="/?"),le.end?de+="$":le.strict&&(de+="(?:/|$)");const he=new RegExp(de,le.sensitive?"":"i");function _e(Ie){const Ve=Ie.match(he),Fe={};if(!Ve)return null;for(let Ue=1;Ue<Ve.length;Ue++){const qe=Ve[Ue]||"",Et=pe[Ue-1];Fe[Et.name]=qe&&Et.repeatable?qe.split("/"):qe}return Fe}function $e(Ie){let Ve="",Fe=!1;for(const Ue of oe){(!Fe||!Ve.endsWith("/"))&&(Ve+="/"),Fe=!1;for(const qe of Ue)if(qe.type===0)Ve+=qe.value;else if(qe.type===1){const{value:Et,repeatable:At,optional:Lt}=qe,hn=Et in Ie?Ie[Et]:"";if(isArray$3(hn)&&!At)throw new Error(`Provided param "${Et}" is an array but it is not repeatable (* or + modifiers)`);const vn=isArray$3(hn)?hn.join("/"):hn;if(!vn)if(Lt)Ue.length<2&&(Ve.endsWith("/")?Ve=Ve.slice(0,-1):Fe=!0);else throw new Error(`Missing required param "${Et}"`);Ve+=vn}}return Ve||"/"}return{re:he,score:ue,keys:pe,parse:_e,stringify:$e}}function compareScoreArray(oe,ie){let le=0;for(;le<oe.length&&le<ie.length;){const ue=ie[le]-oe[le];if(ue)return ue;le++}return oe.length<ie.length?oe.length===1&&oe[0]===40+40?-1:1:oe.length>ie.length?ie.length===1&&ie[0]===40+40?1:-1:0}function comparePathParserScore(oe,ie){let le=0;const ue=oe.score,de=ie.score;for(;le<ue.length&&le<de.length;){const pe=compareScoreArray(ue[le],de[le]);if(pe)return pe;le++}if(Math.abs(de.length-ue.length)===1){if(isLastScoreNegative(ue))return 1;if(isLastScoreNegative(de))return-1}return de.length-ue.length}function isLastScoreNegative(oe){const ie=oe[oe.length-1];return oe.length>0&&ie[ie.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(oe){if(!oe)return[[]];if(oe==="/")return[[ROOT_TOKEN]];if(!oe.startsWith("/"))throw new Error(`Invalid path "${oe}"`);function ie(qe){throw new Error(`ERR (${le})/"${Ie}": ${qe}`)}let le=0,ue=le;const de=[];let pe;function he(){pe&&de.push(pe),pe=[]}let _e=0,$e,Ie="",Ve="";function Fe(){Ie&&(le===0?pe.push({type:0,value:Ie}):le===1||le===2||le===3?(pe.length>1&&($e==="*"||$e==="+")&&ie(`A repeatable param (${Ie}) must be alone in its segment. eg: '/:ids+.`),pe.push({type:1,value:Ie,regexp:Ve,repeatable:$e==="*"||$e==="+",optional:$e==="*"||$e==="?"})):ie("Invalid state to consume buffer"),Ie="")}function Ue(){Ie+=$e}for(;_e<oe.length;){if($e=oe[_e++],$e==="\\"&&le!==2){ue=le,le=4;continue}switch(le){case 0:$e==="/"?(Ie&&Fe(),he()):$e===":"?(Fe(),le=1):Ue();break;case 4:Ue(),le=ue;break;case 1:$e==="("?le=2:VALID_PARAM_RE.test($e)?Ue():(Fe(),le=0,$e!=="*"&&$e!=="?"&&$e!=="+"&&_e--);break;case 2:$e===")"?Ve[Ve.length-1]=="\\"?Ve=Ve.slice(0,-1)+$e:le=3:Ve+=$e;break;case 3:Fe(),le=0,$e!=="*"&&$e!=="?"&&$e!=="+"&&_e--,Ve="";break;default:ie("Unknown state");break}}return le===2&&ie(`Unfinished custom RegExp for param "${Ie}"`),Fe(),he(),de}function createRouteRecordMatcher(oe,ie,le){const ue=tokensToParser(tokenizePath(oe.path),le),de=assign(ue,{record:oe,parent:ie,children:[],alias:[]});return ie&&!de.record.aliasOf==!ie.record.aliasOf&&ie.children.push(de),de}function createRouterMatcher(oe,ie){const le=[],ue=new Map;ie=mergeOptions({strict:!1,end:!0,sensitive:!1},ie);function de(Ve){return ue.get(Ve)}function pe(Ve,Fe,Ue){const qe=!Ue,Et=normalizeRouteRecord(Ve);Et.aliasOf=Ue&&Ue.record;const At=mergeOptions(ie,Ve),Lt=[Et];if("alias"in Ve){const _n=typeof Ve.alias=="string"?[Ve.alias]:Ve.alias;for(const bn of _n)Lt.push(assign({},Et,{components:Ue?Ue.record.components:Et.components,path:bn,aliasOf:Ue?Ue.record:Et}))}let hn,vn;for(const _n of Lt){const{path:bn}=_n;if(Fe&&bn[0]!=="/"){const Sn=Fe.record.path,Cn=Sn[Sn.length-1]==="/"?"":"/";_n.path=Fe.record.path+(bn&&Cn+bn)}if(hn=createRouteRecordMatcher(_n,Fe,At),Ue?Ue.alias.push(hn):(vn=vn||hn,vn!==hn&&vn.alias.push(hn),qe&&Ve.name&&!isAliasRecord(hn)&&he(Ve.name)),Et.children){const Sn=Et.children;for(let Cn=0;Cn<Sn.length;Cn++)pe(Sn[Cn],hn,Ue&&Ue.children[Cn])}Ue=Ue||hn,(hn.record.components&&Object.keys(hn.record.components).length||hn.record.name||hn.record.redirect)&&$e(hn)}return vn?()=>{he(vn)}:noop$1}function he(Ve){if(isRouteName(Ve)){const Fe=ue.get(Ve);Fe&&(ue.delete(Ve),le.splice(le.indexOf(Fe),1),Fe.children.forEach(he),Fe.alias.forEach(he))}else{const Fe=le.indexOf(Ve);Fe>-1&&(le.splice(Fe,1),Ve.record.name&&ue.delete(Ve.record.name),Ve.children.forEach(he),Ve.alias.forEach(he))}}function _e(){return le}function $e(Ve){let Fe=0;for(;Fe<le.length&&comparePathParserScore(Ve,le[Fe])>=0&&(Ve.record.path!==le[Fe].record.path||!isRecordChildOf(Ve,le[Fe]));)Fe++;le.splice(Fe,0,Ve),Ve.record.name&&!isAliasRecord(Ve)&&ue.set(Ve.record.name,Ve)}function Ie(Ve,Fe){let Ue,qe={},Et,At;if("name"in Ve&&Ve.name){if(Ue=ue.get(Ve.name),!Ue)throw createRouterError(1,{location:Ve});At=Ue.record.name,qe=assign(paramsFromLocation(Fe.params,Ue.keys.filter(vn=>!vn.optional).map(vn=>vn.name)),Ve.params&&paramsFromLocation(Ve.params,Ue.keys.map(vn=>vn.name))),Et=Ue.stringify(qe)}else if("path"in Ve)Et=Ve.path,Ue=le.find(vn=>vn.re.test(Et)),Ue&&(qe=Ue.parse(Et),At=Ue.record.name);else{if(Ue=Fe.name?ue.get(Fe.name):le.find(vn=>vn.re.test(Fe.path)),!Ue)throw createRouterError(1,{location:Ve,currentLocation:Fe});At=Ue.record.name,qe=assign({},Fe.params,Ve.params),Et=Ue.stringify(qe)}const Lt=[];let hn=Ue;for(;hn;)Lt.unshift(hn.record),hn=hn.parent;return{name:At,path:Et,params:qe,matched:Lt,meta:mergeMetaFields(Lt)}}return oe.forEach(Ve=>pe(Ve)),{addRoute:pe,resolve:Ie,removeRoute:he,getRoutes:_e,getRecordMatcher:de}}function paramsFromLocation(oe,ie){const le={};for(const ue of ie)ue in oe&&(le[ue]=oe[ue]);return le}function normalizeRouteRecord(oe){return{path:oe.path,redirect:oe.redirect,name:oe.name,meta:oe.meta||{},aliasOf:void 0,beforeEnter:oe.beforeEnter,props:normalizeRecordProps(oe),children:oe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in oe?oe.components||null:oe.component&&{default:oe.component}}}function normalizeRecordProps(oe){const ie={},le=oe.props||!1;if("component"in oe)ie.default=le;else for(const ue in oe.components)ie[ue]=typeof le=="boolean"?le:le[ue];return ie}function isAliasRecord(oe){for(;oe;){if(oe.record.aliasOf)return!0;oe=oe.parent}return!1}function mergeMetaFields(oe){return oe.reduce((ie,le)=>assign(ie,le.meta),{})}function mergeOptions(oe,ie){const le={};for(const ue in oe)le[ue]=ue in ie?ie[ue]:oe[ue];return le}function isRecordChildOf(oe,ie){return ie.children.some(le=>le===oe||isRecordChildOf(oe,le))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(oe){return encodeURI(""+oe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(oe){return commonEncode(oe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(oe){return commonEncode(oe).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(oe){return encodeQueryValue(oe).replace(EQUAL_RE,"%3D")}function encodePath(oe){return commonEncode(oe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(oe){return oe==null?"":encodePath(oe).replace(SLASH_RE,"%2F")}function decode$1(oe){try{return decodeURIComponent(""+oe)}catch{}return""+oe}function parseQuery(oe){const ie={};if(oe===""||oe==="?")return ie;const ue=(oe[0]==="?"?oe.slice(1):oe).split("&");for(let de=0;de<ue.length;++de){const pe=ue[de].replace(PLUS_RE," "),he=pe.indexOf("="),_e=decode$1(he<0?pe:pe.slice(0,he)),$e=he<0?null:decode$1(pe.slice(he+1));if(_e in ie){let Ie=ie[_e];isArray$3(Ie)||(Ie=ie[_e]=[Ie]),Ie.push($e)}else ie[_e]=$e}return ie}function stringifyQuery(oe){let ie="";for(let le in oe){const ue=oe[le];if(le=encodeQueryKey(le),ue==null){ue!==void 0&&(ie+=(ie.length?"&":"")+le);continue}(isArray$3(ue)?ue.map(pe=>pe&&encodeQueryValue(pe)):[ue&&encodeQueryValue(ue)]).forEach(pe=>{pe!==void 0&&(ie+=(ie.length?"&":"")+le,pe!=null&&(ie+="="+pe))})}return ie}function normalizeQuery(oe){const ie={};for(const le in oe){const ue=oe[le];ue!==void 0&&(ie[le]=isArray$3(ue)?ue.map(de=>de==null?null:""+de):ue==null?ue:""+ue)}return ie}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let oe=[];function ie(ue){return oe.push(ue),()=>{const de=oe.indexOf(ue);de>-1&&oe.splice(de,1)}}function le(){oe=[]}return{add:ie,list:()=>oe,reset:le}}function guardToPromiseFn(oe,ie,le,ue,de){const pe=ue&&(ue.enterCallbacks[de]=ue.enterCallbacks[de]||[]);return()=>new Promise((he,_e)=>{const $e=Fe=>{Fe===!1?_e(createRouterError(4,{from:le,to:ie})):Fe instanceof Error?_e(Fe):isRouteLocation(Fe)?_e(createRouterError(2,{from:ie,to:Fe})):(pe&&ue.enterCallbacks[de]===pe&&typeof Fe=="function"&&pe.push(Fe),he())},Ie=oe.call(ue&&ue.instances[de],ie,le,$e);let Ve=Promise.resolve(Ie);oe.length<3&&(Ve=Ve.then($e)),Ve.catch(Fe=>_e(Fe))})}function extractComponentsGuards(oe,ie,le,ue){const de=[];for(const pe of oe)for(const he in pe.components){let _e=pe.components[he];if(!(ie!=="beforeRouteEnter"&&!pe.instances[he]))if(isRouteComponent(_e)){const Ie=(_e.__vccOpts||_e)[ie];Ie&&de.push(guardToPromiseFn(Ie,le,ue,pe,he))}else{let $e=_e();de.push(()=>$e.then(Ie=>{if(!Ie)return Promise.reject(new Error(`Couldn't resolve component "${he}" at "${pe.path}"`));const Ve=isESModule(Ie)?Ie.default:Ie;pe.components[he]=Ve;const Ue=(Ve.__vccOpts||Ve)[ie];return Ue&&guardToPromiseFn(Ue,le,ue,pe,he)()}))}}return de}function isRouteComponent(oe){return typeof oe=="object"||"displayName"in oe||"props"in oe||"__vccOpts"in oe}function useLink(oe){const ie=inject(routerKey),le=inject(routeLocationKey),ue=computed(()=>ie.resolve(unref(oe.to))),de=computed(()=>{const{matched:$e}=ue.value,{length:Ie}=$e,Ve=$e[Ie-1],Fe=le.matched;if(!Ve||!Fe.length)return-1;const Ue=Fe.findIndex(isSameRouteRecord.bind(null,Ve));if(Ue>-1)return Ue;const qe=getOriginalPath($e[Ie-2]);return Ie>1&&getOriginalPath(Ve)===qe&&Fe[Fe.length-1].path!==qe?Fe.findIndex(isSameRouteRecord.bind(null,$e[Ie-2])):Ue}),pe=computed(()=>de.value>-1&&includesParams(le.params,ue.value.params)),he=computed(()=>de.value>-1&&de.value===le.matched.length-1&&isSameRouteLocationParams(le.params,ue.value.params));function _e($e={}){return guardEvent($e)?ie[unref(oe.replace)?"replace":"push"](unref(oe.to)).catch(noop$1):Promise.resolve()}return{route:ue,href:computed(()=>ue.value.href),isActive:pe,isExactActive:he,navigate:_e}}const RouterLinkImpl=defineComponent({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"}},useLink,setup(oe,{slots:ie}){const le=reactive(useLink(oe)),{options:ue}=inject(routerKey),de=computed(()=>({[getLinkClass(oe.activeClass,ue.linkActiveClass,"router-link-active")]:le.isActive,[getLinkClass(oe.exactActiveClass,ue.linkExactActiveClass,"router-link-exact-active")]:le.isExactActive}));return()=>{const pe=ie.default&&ie.default(le);return oe.custom?pe:h$3("a",{"aria-current":le.isExactActive?oe.ariaCurrentValue:null,href:le.href,onClick:le.navigate,class:de.value},pe)}}}),RouterLink=RouterLinkImpl;function guardEvent(oe){if(!(oe.metaKey||oe.altKey||oe.ctrlKey||oe.shiftKey)&&!oe.defaultPrevented&&!(oe.button!==void 0&&oe.button!==0)){if(oe.currentTarget&&oe.currentTarget.getAttribute){const ie=oe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(ie))return}return oe.preventDefault&&oe.preventDefault(),!0}}function includesParams(oe,ie){for(const le in ie){const ue=ie[le],de=oe[le];if(typeof ue=="string"){if(ue!==de)return!1}else if(!isArray$3(de)||de.length!==ue.length||ue.some((pe,he)=>pe!==de[he]))return!1}return!0}function getOriginalPath(oe){return oe?oe.aliasOf?oe.aliasOf.path:oe.path:""}const getLinkClass=(oe,ie,le)=>oe??ie??le,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(oe,{attrs:ie,slots:le}){const ue=inject(routerViewLocationKey),de=computed(()=>oe.route||ue.value),pe=inject(viewDepthKey,0),he=computed(()=>{let Ie=unref(pe);const{matched:Ve}=de.value;let Fe;for(;(Fe=Ve[Ie])&&!Fe.components;)Ie++;return Ie}),_e=computed(()=>de.value.matched[he.value]);provide(viewDepthKey,computed(()=>he.value+1)),provide(matchedRouteKey,_e),provide(routerViewLocationKey,de);const $e=ref();return watch(()=>[$e.value,_e.value,oe.name],([Ie,Ve,Fe],[Ue,qe,Et])=>{Ve&&(Ve.instances[Fe]=Ie,qe&&qe!==Ve&&Ie&&Ie===Ue&&(Ve.leaveGuards.size||(Ve.leaveGuards=qe.leaveGuards),Ve.updateGuards.size||(Ve.updateGuards=qe.updateGuards))),Ie&&Ve&&(!qe||!isSameRouteRecord(Ve,qe)||!Ue)&&(Ve.enterCallbacks[Fe]||[]).forEach(At=>At(Ie))},{flush:"post"}),()=>{const Ie=de.value,Ve=oe.name,Fe=_e.value,Ue=Fe&&Fe.components[Ve];if(!Ue)return normalizeSlot(le.default,{Component:Ue,route:Ie});const qe=Fe.props[Ve],Et=qe?qe===!0?Ie.params:typeof qe=="function"?qe(Ie):qe:null,Lt=h$3(Ue,assign({},Et,ie,{onVnodeUnmounted:hn=>{hn.component.isUnmounted&&(Fe.instances[Ve]=null)},ref:$e}));return normalizeSlot(le.default,{Component:Lt,route:Ie})||Lt}}});function normalizeSlot(oe,ie){if(!oe)return null;const le=oe(ie);return le.length===1?le[0]:le}const RouterView=RouterViewImpl;function createRouter(oe){const ie=createRouterMatcher(oe.routes,oe),le=oe.parseQuery||parseQuery,ue=oe.stringifyQuery||stringifyQuery,de=oe.history,pe=useCallbacks(),he=useCallbacks(),_e=useCallbacks(),$e=shallowRef(START_LOCATION_NORMALIZED);let Ie=START_LOCATION_NORMALIZED;isBrowser$1&&oe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Ve=applyToParams.bind(null,qn=>""+qn),Fe=applyToParams.bind(null,encodeParam),Ue=applyToParams.bind(null,decode$1);function qe(qn,Yn){let Xn,or;return isRouteName(qn)?(Xn=ie.getRecordMatcher(qn),or=Yn):or=qn,ie.addRoute(or,Xn)}function Et(qn){const Yn=ie.getRecordMatcher(qn);Yn&&ie.removeRoute(Yn)}function At(){return ie.getRoutes().map(qn=>qn.record)}function Lt(qn){return!!ie.getRecordMatcher(qn)}function hn(qn,Yn){if(Yn=assign({},Yn||$e.value),typeof qn=="string"){const ar=parseURL(le,qn,Yn.path),gr=ie.resolve({path:ar.path},Yn),Er=de.createHref(ar.fullPath);return assign(ar,gr,{params:Ue(gr.params),hash:decode$1(ar.hash),redirectedFrom:void 0,href:Er})}let Xn;if("path"in qn)Xn=assign({},qn,{path:parseURL(le,qn.path,Yn.path).path});else{const ar=assign({},qn.params);for(const gr in ar)ar[gr]==null&&delete ar[gr];Xn=assign({},qn,{params:Fe(ar)}),Yn.params=Fe(Yn.params)}const or=ie.resolve(Xn,Yn),_r=qn.hash||"";or.params=Ve(Ue(or.params));const Kn=stringifyURL(ue,assign({},qn,{hash:encodeHash(_r),path:or.path})),er=de.createHref(Kn);return assign({fullPath:Kn,hash:_r,query:ue===stringifyQuery?normalizeQuery(qn.query):qn.query||{}},or,{redirectedFrom:void 0,href:er})}function vn(qn){return typeof qn=="string"?parseURL(le,qn,$e.value.path):assign({},qn)}function _n(qn,Yn){if(Ie!==qn)return createRouterError(8,{from:Yn,to:qn})}function bn(qn){return En(qn)}function Sn(qn){return bn(assign(vn(qn),{replace:!0}))}function Cn(qn){const Yn=qn.matched[qn.matched.length-1];if(Yn&&Yn.redirect){const{redirect:Xn}=Yn;let or=typeof Xn=="function"?Xn(qn):Xn;return typeof or=="string"&&(or=or.includes("?")||or.includes("#")?or=vn(or):{path:or},or.params={}),assign({query:qn.query,hash:qn.hash,params:"path"in or?{}:qn.params},or)}}function En(qn,Yn){const Xn=Ie=hn(qn),or=$e.value,_r=qn.state,Kn=qn.force,er=qn.replace===!0,ar=Cn(Xn);if(ar)return En(assign(vn(ar),{state:typeof ar=="object"?assign({},_r,ar.state):_r,force:Kn,replace:er}),Yn||Xn);const gr=Xn;gr.redirectedFrom=Yn;let Er;return!Kn&&isSameRouteLocation(ue,or,Xn)&&(Er=createRouterError(16,{to:gr,from:or}),Zn(or,or,!0,!1)),(Er?Promise.resolve(Er):kn(gr,or)).catch(cr=>isNavigationFailure(cr)?isNavigationFailure(cr,2)?cr:jn(cr):Fn(cr,gr,or)).then(cr=>{if(cr){if(isNavigationFailure(cr,2))return En(assign({replace:er},vn(cr.to),{state:typeof cr.to=="object"?assign({},_r,cr.to.state):_r,force:Kn}),Yn||gr)}else cr=An(gr,or,!0,er,_r);return Pn(gr,or,cr),cr})}function wn(qn,Yn){const Xn=_n(qn,Yn);return Xn?Promise.reject(Xn):Promise.resolve()}function xn(qn){const Yn=lr.values().next().value;return Yn&&typeof Yn.runWithContext=="function"?Yn.runWithContext(qn):qn()}function kn(qn,Yn){let Xn;const[or,_r,Kn]=extractChangingRecords(qn,Yn);Xn=extractComponentsGuards(or.reverse(),"beforeRouteLeave",qn,Yn);for(const ar of or)ar.leaveGuards.forEach(gr=>{Xn.push(guardToPromiseFn(gr,qn,Yn))});const er=wn.bind(null,qn,Yn);return Xn.push(er),ir(Xn).then(()=>{Xn=[];for(const ar of pe.list())Xn.push(guardToPromiseFn(ar,qn,Yn));return Xn.push(er),ir(Xn)}).then(()=>{Xn=extractComponentsGuards(_r,"beforeRouteUpdate",qn,Yn);for(const ar of _r)ar.updateGuards.forEach(gr=>{Xn.push(guardToPromiseFn(gr,qn,Yn))});return Xn.push(er),ir(Xn)}).then(()=>{Xn=[];for(const ar of qn.matched)if(ar.beforeEnter&&!Yn.matched.includes(ar))if(isArray$3(ar.beforeEnter))for(const gr of ar.beforeEnter)Xn.push(guardToPromiseFn(gr,qn,Yn));else Xn.push(guardToPromiseFn(ar.beforeEnter,qn,Yn));return Xn.push(er),ir(Xn)}).then(()=>(qn.matched.forEach(ar=>ar.enterCallbacks={}),Xn=extractComponentsGuards(Kn,"beforeRouteEnter",qn,Yn),Xn.push(er),ir(Xn))).then(()=>{Xn=[];for(const ar of he.list())Xn.push(guardToPromiseFn(ar,qn,Yn));return Xn.push(er),ir(Xn)}).catch(ar=>isNavigationFailure(ar,8)?ar:Promise.reject(ar))}function Pn(qn,Yn,Xn){for(const or of _e.list())xn(()=>or(qn,Yn,Xn))}function An(qn,Yn,Xn,or,_r){const Kn=_n(qn,Yn);if(Kn)return Kn;const er=Yn===START_LOCATION_NORMALIZED,ar=isBrowser$1?history.state:{};Xn&&(or||er?de.replace(qn.fullPath,assign({scroll:er&&ar&&ar.scroll},_r)):de.push(qn.fullPath,_r)),$e.value=qn,Zn(qn,Yn,Xn,er),jn()}let In;function Nn(){In||(In=de.listen((qn,Yn,Xn)=>{if(!yr.listening)return;const or=hn(qn),_r=Cn(or);if(_r){En(assign(_r,{replace:!0}),or).catch(noop$1);return}Ie=or;const Kn=$e.value;isBrowser$1&&saveScrollPosition(getScrollKey(Kn.fullPath,Xn.delta),computeScrollPosition()),kn(or,Kn).catch(er=>isNavigationFailure(er,12)?er:isNavigationFailure(er,2)?(En(er.to,or).then(ar=>{isNavigationFailure(ar,20)&&!Xn.delta&&Xn.type===NavigationType.pop&&de.go(-1,!1)}).catch(noop$1),Promise.reject()):(Xn.delta&&de.go(-Xn.delta,!1),Fn(er,or,Kn))).then(er=>{er=er||An(or,Kn,!1),er&&(Xn.delta&&!isNavigationFailure(er,8)?de.go(-Xn.delta,!1):Xn.type===NavigationType.pop&&isNavigationFailure(er,20)&&de.go(-1,!1)),Pn(or,Kn,er)}).catch(noop$1)}))}let Un=useCallbacks(),Vn=useCallbacks(),Mn;function Fn(qn,Yn,Xn){jn(qn);const or=Vn.list();return or.length?or.forEach(_r=>_r(qn,Yn,Xn)):console.error(qn),Promise.reject(qn)}function Ln(){return Mn&&$e.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((qn,Yn)=>{Un.add([qn,Yn])})}function jn(qn){return Mn||(Mn=!qn,Nn(),Un.list().forEach(([Yn,Xn])=>qn?Xn(qn):Yn()),Un.reset()),qn}function Zn(qn,Yn,Xn,or){const{scrollBehavior:_r}=oe;if(!isBrowser$1||!_r)return Promise.resolve();const Kn=!Xn&&getSavedScrollPosition(getScrollKey(qn.fullPath,0))||(or||!Xn)&&history.state&&history.state.scroll||null;return nextTick().then(()=>_r(qn,Yn,Kn)).then(er=>er&&scrollToPosition(er)).catch(er=>Fn(er,qn,Yn))}const Gn=qn=>de.go(qn);let Jn;const lr=new Set,yr={currentRoute:$e,listening:!0,addRoute:qe,removeRoute:Et,hasRoute:Lt,getRoutes:At,resolve:hn,options:oe,push:bn,replace:Sn,go:Gn,back:()=>Gn(-1),forward:()=>Gn(1),beforeEach:pe.add,beforeResolve:he.add,afterEach:_e.add,onError:Vn.add,isReady:Ln,install(qn){const Yn=this;qn.component("RouterLink",RouterLink),qn.component("RouterView",RouterView),qn.config.globalProperties.$router=Yn,Object.defineProperty(qn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref($e)}),isBrowser$1&&!Jn&&$e.value===START_LOCATION_NORMALIZED&&(Jn=!0,bn(de.location).catch(_r=>{}));const Xn={};for(const _r in START_LOCATION_NORMALIZED)Xn[_r]=computed(()=>$e.value[_r]);qn.provide(routerKey,Yn),qn.provide(routeLocationKey,reactive(Xn)),qn.provide(routerViewLocationKey,$e);const or=qn.unmount;lr.add(qn),qn.unmount=function(){lr.delete(qn),lr.size<1&&(Ie=START_LOCATION_NORMALIZED,In&&In(),In=null,$e.value=START_LOCATION_NORMALIZED,Jn=!1,Mn=!1),or()}}};function ir(qn){return qn.reduce((Yn,Xn)=>Yn.then(()=>xn(Xn)),Promise.resolve())}return yr}function extractChangingRecords(oe,ie){const le=[],ue=[],de=[],pe=Math.max(ie.matched.length,oe.matched.length);for(let he=0;he<pe;he++){const _e=ie.matched[he];_e&&(oe.matched.find(Ie=>isSameRouteRecord(Ie,_e))?ue.push(_e):le.push(_e));const $e=oe.matched[he];$e&&(ie.matched.find(Ie=>isSameRouteRecord(Ie,$e))||de.push($e))}return[le,ue,de]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const extractPathList=oe=>{if(!Array.isArray(oe))return console.warn("tree must be an array"),[];if(!oe||oe.length===0)return[];const ie=[];for(const le of oe)le.children&&le.children.length>0&&extractPathList(le.children),ie.push(le.uniqueId);return ie},deleteChildren=(oe,ie=[])=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];for(const[le,ue]of oe.entries())ue.children&&ue.children.length===1&&delete ue.children,ue.id=le,ue.parentId=ie.length?ie[ie.length-1]:null,ue.pathList=[...ie,ue.id],ue.uniqueId=ue.pathList.length>1?ue.pathList.join("-"):ue.pathList[0],ue.children&&ue.children.length>0&&deleteChildren(ue.children,ue.pathList);return oe},buildHierarchyTree=(oe,ie=[])=>{if(!Array.isArray(oe))return console.warn("tree must be an array"),[];if(!oe||oe.length===0)return[];for(const[le,ue]of oe.entries())ue.id=le,ue.parentId=ie.length?ie[ie.length-1]:null,ue.pathList=[...ie,ue.id],ue.children&&ue.children.length>0&&buildHierarchyTree(ue.children,ue.pathList);return oe},getNodeByUniqueId=(oe,ie)=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];const le=oe.find(de=>de.uniqueId===ie);if(le)return le;const ue=oe.filter(de=>de.children).map(de=>de.children).flat(1);return getNodeByUniqueId(ue,ie)},appendFieldByUniqueId=(oe,ie,le)=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];for(const ue of oe){const de=ue.children&&ue.children.length>0;ue.uniqueId===ie&&Object.prototype.toString.call(le)==="[object Object]"&&Object.assign(ue,le),de&&appendFieldByUniqueId(ue.children,ie,le)}return oe},handleTree=(oe,ie,le,ue)=>{if(!Array.isArray(oe))return console.warn("data must be an array"),[];const de={id:ie||"id",parentId:le||"parentId",childrenList:ue||"children"},pe={},he={},_e=[];for(const Ie of oe){const Ve=Ie[de.parentId];pe[Ve]==null&&(pe[Ve]=[]),he[Ie[de.id]]=Ie,pe[Ve].push(Ie)}for(const Ie of oe){const Ve=Ie[de.parentId];he[Ve]==null&&_e.push(Ie)}for(const Ie of _e)$e(Ie);function $e(Ie){if(pe[Ie[de.id]]!==null&&(Ie[de.childrenList]=pe[Ie[de.id]]),Ie[de.childrenList])for(const Ve of Ie[de.childrenList])$e(Ve)}return _e},getAsyncRoutes=()=>http.request("get","/getAsyncRoutes"),IFrame=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),modulesRoutes=Object.assign({"/src/views/able/barcode.vue":()=>__vitePreload(()=>import("./barcode.js"),[]),"/src/views/able/cascader.vue":()=>__vitePreload(()=>import("./cascader.js"),["static/js/cascader.js","static/css/cascader.css"]),"/src/views/able/debounce.vue":()=>__vitePreload(()=>import("./debounce.js"),[]),"/src/views/able/directives.vue":()=>__vitePreload(()=>import("./directives.js"),[]),"/src/views/able/download.vue":()=>__vitePreload(()=>import("./download.js"),[]),"/src/views/able/execl.vue":()=>__vitePreload(()=>import("./execl.js"),["static/js/execl.js","static/js/xlsx.js"]),"/src/views/able/icon-select.vue":()=>__vitePreload(()=>import("./icon-select.js"),["static/js/icon-select.js","static/css/icon-select.css"]),"/src/views/able/infinite-scroll.vue":()=>__vitePreload(()=>import("./infinite-scroll.js"),[]),"/src/views/able/line-tree.vue":()=>__vitePreload(()=>import("./line-tree.js"),["static/js/line-tree.js","static/css/line-tree.css"]),"/src/views/able/menu-tree.vue":()=>__vitePreload(()=>import("./menu-tree.js"),["static/js/menu-tree.js","static/js/hooks.js"]),"/src/views/able/pdf.vue":()=>__vitePreload(()=>import("./pdf.js"),["static/js/pdf.js","static/js/vue.runtime.esm-bundler.js"]),"/src/views/able/pinyin.vue":()=>__vitePreload(()=>import("./pinyin.js"),["static/js/pinyin.js","static/js/index61.js","static/css/pinyin.css"]),"/src/views/able/print.vue":()=>__vitePreload(()=>import("./print.js"),["static/js/print.js","static/js/print2.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/css/print.css"]),"/src/views/able/qrcode.vue":()=>__vitePreload(()=>import("./qrcode.js"),["static/js/qrcode.js","static/js/index60.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css"]),"/src/views/able/sensitive.vue":()=>__vitePreload(()=>import("./sensitive.js"),[]),"/src/views/able/swiper.vue":()=>__vitePreload(()=>import("./swiper.js"),["static/js/swiper.js","static/css/swiper.css"]),"/src/views/able/timeline.vue":()=>__vitePreload(()=>import("./timeline.js"),["static/js/timeline.js","static/js/index59.js","static/css/index12.css","static/js/hooks.js","static/js/iphone.js","static/css/timeline.css"]),"/src/views/able/video-frame/index.vue":()=>__vitePreload(()=>import("./index2.js"),["static/js/index2.js","static/js/mitt.js","static/css/index2.css"]),"/src/views/able/virtual-list/horizontal.vue":()=>__vitePreload(()=>import("./horizontal.js"),["static/js/horizontal.js","static/js/vue-virtual-scroller.esm.js","static/css/horizontal.css"]),"/src/views/able/virtual-list/index.vue":()=>__vitePreload(()=>import("./index4.js"),["static/js/index4.js","static/js/vertical.js","static/js/vue-virtual-scroller.esm.js","static/css/vertical.css","static/js/horizontal.js","static/css/horizontal.css","static/css/index4.css"]),"/src/views/able/virtual-list/vertical.vue":()=>__vitePreload(()=>import("./vertical.js"),["static/js/vertical.js","static/js/vue-virtual-scroller.esm.js","static/css/vertical.css"]),"/src/views/able/watermark.vue":()=>__vitePreload(()=>import("./watermark.js"),[]),"/src/views/able/wavesurfer/index.vue":()=>__vitePreload(()=>import("./index3.js"),["static/js/index3.js","static/js/vue-tippy.esm-browser.js","static/css/index3.css"]),"/src/views/about/columns.tsx":()=>__vitePreload(()=>import("./columns.js"),[]),"/src/views/about/index.vue":()=>__vitePreload(()=>import("./index5.js"),["static/js/index5.js","static/js/columns.js","static/css/index5.css"]),"/src/views/components/button/index.vue":()=>__vitePreload(()=>import("./index14.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>__vitePreload(()=>import("./basic.js"),["static/js/basic.js","static/js/index.esm.js","static/css/basic.css"]),"/src/views/components/contextmenu/index.vue":()=>__vitePreload(()=>import("./index19.js"),["static/js/index19.js","static/js/basic.js","static/js/index.esm.js","static/css/basic.css","static/js/menuGroup.js","static/css/menuGroup.css","static/js/menuDynamic.js","static/css/menuDynamic.css","static/css/index18.css"]),"/src/views/components/contextmenu/menuDynamic.vue":()=>__vitePreload(()=>import("./menuDynamic.js"),["static/js/menuDynamic.js","static/js/index.esm.js","static/css/menuDynamic.css"]),"/src/views/components/contextmenu/menuGroup.vue":()=>__vitePreload(()=>import("./menuGroup.js"),["static/js/menuGroup.js","static/js/index.esm.js","static/css/menuGroup.css"]),"/src/views/components/count-to/index.vue":()=>__vitePreload(()=>import("./index16.js"),["static/js/index16.js","static/js/propTypes.js","static/css/index15.css"]),"/src/views/components/cropping/index.vue":()=>__vitePreload(()=>import("./index15.js"),["static/js/index15.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),"/src/views/components/danmaku/index.vue":()=>__vitePreload(()=>import("./index22.js"),["static/js/index22.js","static/css/index19.css"]),"/src/views/components/dialog/form.vue":()=>__vitePreload(()=>import("./form.js"),["static/js/form.js","static/js/form.vue_vue_type_script_setup_true_lang.js"]),"/src/views/components/dialog/formPrimitive.vue":()=>__vitePreload(()=>import("./formPrimitive.js"),["static/js/formPrimitive.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang.js"]),"/src/views/components/dialog/index.vue":()=>__vitePreload(()=>import("./index6.js"),["static/js/index6.js","static/js/form.vue_vue_type_script_setup_true_lang.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang.js"]),"/src/views/components/draggable/index.vue":()=>__vitePreload(()=>import("./index12.js"),["static/js/index12.js","static/js/sortable.esm.js","static/js/app.js","static/js/hooks.js","static/css/index10.css"]),"/src/views/components/json-editor/index.vue":()=>__vitePreload(()=>import("./index21.js"),["static/js/index21.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css"]),"/src/views/components/map/index.vue":()=>__vitePreload(()=>import("./index11.js"),["static/js/index11.js","static/css/index9.css"]),"/src/views/components/message/index.vue":()=>__vitePreload(()=>import("./index7.js"),["static/js/index7.js","static/js/hooks.js","static/js/check.js"]),"/src/views/components/seamless-scroll/index.vue":()=>__vitePreload(()=>import("./index18.js"),["static/js/index18.js","static/css/index17.css"]),"/src/views/components/segmented/index.vue":()=>__vitePreload(()=>import("./index8.js"),["static/js/index8.js","static/js/home-filled.js","static/js/hooks.js","static/css/index6.css"]),"/src/views/components/selector/index.vue":()=>__vitePreload(()=>import("./index17.js"),["static/js/index17.js","static/css/index16.css"]),"/src/views/components/split-pane/index.vue":()=>__vitePreload(()=>import("./index13.js"),["static/js/index13.js","static/css/index11.css"]),"/src/views/components/typeit/index.vue":()=>__vitePreload(()=>import("./index20.js"),["static/js/index20.js","static/js/index62.js"]),"/src/views/components/video/index.vue":()=>__vitePreload(()=>import("./index10.js"),["static/js/index10.js","static/js/hooks.js","static/css/index8.css"]),"/src/views/components/waterfall/index.vue":()=>__vitePreload(()=>import("./index9.js"),["static/js/index9.js","static/js/back_top.js","static/css/index7.css"]),"/src/views/editor/components/base.vue":()=>__vitePreload(()=>import("./base.js"),["static/js/base.js","static/js/base.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css"]),"/src/views/editor/components/multi.vue":()=>__vitePreload(()=>import("./multi.js"),["static/js/multi.js","static/js/multi.vue_vue_type_script_setup_true_lang.js","static/js/index63.js","static/js/index.esm2.js","static/css/index21.css"]),"/src/views/editor/components/picUpload.vue":()=>__vitePreload(()=>import("./picUpload.js"),["static/js/picUpload.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css"]),"/src/views/editor/index.vue":()=>__vitePreload(()=>import("./index23.js"),["static/js/index23.js","static/js/base.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css","static/js/multi.vue_vue_type_script_setup_true_lang.js","static/js/index63.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/css/index20.css"]),"/src/views/empty/index.vue":()=>__vitePreload(()=>import("./index36.js"),["static/js/index36.js","static/css/index27.css"]),"/src/views/error/403.vue":()=>__vitePreload(()=>import("./403.js"),[]),"/src/views/error/404.vue":()=>__vitePreload(()=>import("./404.js"),[]),"/src/views/error/500.vue":()=>__vitePreload(()=>import("./500.js"),[]),"/src/views/flow-chart/index.vue":()=>__vitePreload(()=>import("./index24.js"),["static/js/index24.js","static/js/hooks.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css","static/js/set-up.js","static/css/index22.css"]),"/src/views/guide/index.vue":()=>__vitePreload(()=>import("./index25.js"),["static/js/index25.js","static/css/index23.css"]),"/src/views/list/card/components/Card.vue":()=>__vitePreload(()=>import("./Card.js"),["static/js/Card.js","static/js/more-2-fill.js","static/css/Card.css"]),"/src/views/list/card/components/DialogForm.vue":()=>__vitePreload(()=>import("./DialogForm.js"),["static/js/DialogForm.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang.js"]),"/src/views/list/card/index.vue":()=>__vitePreload(()=>import("./index28.js"),["static/js/index28.js","static/js/Card.js","static/js/more-2-fill.js","static/css/Card.css","static/js/list3.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/search.js","static/js/add-circle-line.js"]),"/src/views/login/components/phone.vue":()=>__vitePreload(()=>import("./phone.js"),["static/js/phone.js","static/js/phone.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/verifyCode.js","static/js/hooks.js","static/js/iphone.js"]),"/src/views/login/components/qrCode.vue":()=>__vitePreload(()=>import("./qrCode2.js"),["static/js/qrCode2.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/index60.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css"]),"/src/views/login/components/regist.vue":()=>__vitePreload(()=>import("./regist.js"),["static/js/regist.js","static/js/regist.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/verifyCode.js","static/js/hooks.js","static/js/lock-fill.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/login/components/update.vue":()=>__vitePreload(()=>import("./update.js"),["static/js/update.js","static/js/update.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/verifyCode.js","static/js/hooks.js","static/js/lock-fill.js","static/js/iphone.js"]),"/src/views/login/index.vue":()=>__vitePreload(()=>import("./index37.js"),["static/js/index37.js","static/js/motion.js","static/js/verifyCode.js","static/js/phone.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/iphone.js","static/js/index62.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/index60.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css","static/js/regist.vue_vue_type_script_setup_true_lang.js","static/js/lock-fill.js","static/js/user-3-fill.js","static/js/update.vue_vue_type_script_setup_true_lang.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/check.js","static/css/index28.css"]),"/src/views/menuoverflow/index.vue":()=>__vitePreload(()=>import("./index29.js"),[]),"/src/views/nested/menu1/menu1-1/index.vue":()=>__vitePreload(()=>import("./index30.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>__vitePreload(()=>import("./index31.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>__vitePreload(()=>import("./index32.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>__vitePreload(()=>import("./index33.js"),[]),"/src/views/nested/menu2/index.vue":()=>__vitePreload(()=>import("./index34.js"),[]),"/src/views/permission/button/index.vue":()=>__vitePreload(()=>import("./index38.js"),[]),"/src/views/permission/page/index.vue":()=>__vitePreload(()=>import("./index39.js"),[]),"/src/views/pure-table/base/base.vue":()=>__vitePreload(()=>import("./base2.js"),["static/js/base2.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js"]),"/src/views/pure-table/base/border.vue":()=>__vitePreload(()=>import("./border.js"),["static/js/border.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/column-template/columns.tsx":()=>__vitePreload(()=>import("./columns2.js"),["static/js/columns2.js","static/js/data.js"]),"/src/views/pure-table/base/column-template/index.vue":()=>__vitePreload(()=>import("./index40.js"),["static/js/index40.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/data.js"]),"/src/views/pure-table/base/customIndex.vue":()=>__vitePreload(()=>import("./customIndex.js"),["static/js/customIndex.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/expand.vue":()=>__vitePreload(()=>import("./expand.js"),["static/js/expand.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/filters.vue":()=>__vitePreload(()=>import("./filters.js"),["static/js/filters.js","static/js/filters.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/fixColumn.vue":()=>__vitePreload(()=>import("./fixColumn.js"),["static/js/fixColumn.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/fixHeader.vue":()=>__vitePreload(()=>import("./fixHeader.js"),["static/js/fixHeader.js","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/fluidHeight.vue":()=>__vitePreload(()=>import("./fluidHeight.js"),["static/js/fluidHeight.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/groupHeader.vue":()=>__vitePreload(()=>import("./groupHeader.js"),["static/js/groupHeader.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/header-renderer/columns.tsx":()=>__vitePreload(()=>import("./columns3.js"),["static/js/columns3.js","static/js/data.js"]),"/src/views/pure-table/base/header-renderer/index.vue":()=>__vitePreload(()=>import("./index41.js"),["static/js/index41.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/data.js"]),"/src/views/pure-table/base/imgPreview.vue":()=>__vitePreload(()=>import("./imgPreview.js"),["static/js/imgPreview.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/layout.vue":()=>__vitePreload(()=>import("./layout.js"),["static/js/layout.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/list.tsx":()=>__vitePreload(()=>import("./list.js"),["static/js/list.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/css/status.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/filters.vue_vue_type_script_setup_true_lang.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/tree.vue_vue_type_script_setup_true_lang.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js","static/js/merge.vue_vue_type_script_setup_true_lang.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/merge.vue":()=>__vitePreload(()=>import("./merge.js"),["static/js/merge.js","static/js/merge.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/multipleChoice.vue":()=>__vitePreload(()=>import("./multipleChoice.js"),["static/js/multipleChoice.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/nestProp.vue":()=>__vitePreload(()=>import("./nestProp.js"),["static/js/nestProp.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/radio.vue":()=>__vitePreload(()=>import("./radio.js"),["static/js/radio.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/sortable.vue":()=>__vitePreload(()=>import("./sortable.js"),["static/js/sortable.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/status.vue":()=>__vitePreload(()=>import("./status.js"),["static/js/status.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/js/data.js","static/css/status.css"]),"/src/views/pure-table/base/stripe.vue":()=>__vitePreload(()=>import("./stripe.js"),["static/js/stripe.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/totalRow.vue":()=>__vitePreload(()=>import("./totalRow.js"),["static/js/totalRow.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/tree.vue":()=>__vitePreload(()=>import("./tree.js"),["static/js/tree.js","static/js/tree.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/high.vue":()=>__vitePreload(()=>import("./high.js"),["static/js/high.js","static/js/list2.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/edit-pen.js","static/js/check.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js","static/css/high.css"]),"/src/views/pure-table/high/adaptive/columns.tsx":()=>__vitePreload(()=>import("./columns4.js"),["static/js/columns4.js","static/js/data2.js"]),"/src/views/pure-table/high/adaptive/index.vue":()=>__vitePreload(()=>import("./index42.js"),["static/js/index42.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js"]),"/src/views/pure-table/high/contextmenu/columns.tsx":()=>__vitePreload(()=>import("./columns5.js"),["static/js/columns5.js","static/js/data2.js"]),"/src/views/pure-table/high/contextmenu/index.vue":()=>__vitePreload(()=>import("./index43.js"),["static/js/index43.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/column/columns.tsx":()=>__vitePreload(()=>import("./columns6.js"),["static/js/columns6.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/column/index.vue":()=>__vitePreload(()=>import("./index44.js"),["static/js/index44.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/row/columns.tsx":()=>__vitePreload(()=>import("./columns7.js"),["static/js/columns7.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/row/index.vue":()=>__vitePreload(()=>import("./index45.js"),["static/js/index45.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/echarts/columns.tsx":()=>__vitePreload(()=>import("./columns8.js"),["static/js/columns8.js","static/js/data2.js"]),"/src/views/pure-table/high/echarts/index.vue":()=>__vitePreload(()=>import("./index46.js"),["static/js/index46.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/data2.js"]),"/src/views/pure-table/high/edit/columns.tsx":()=>__vitePreload(()=>import("./columns9.js"),["static/js/columns9.js","static/js/data2.js","static/js/edit-pen.js","static/js/check.js"]),"/src/views/pure-table/high/edit/index.vue":()=>__vitePreload(()=>import("./index47.js"),["static/js/index47.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/data2.js","static/js/edit-pen.js","static/js/check.js"]),"/src/views/pure-table/high/execl/columns.tsx":()=>__vitePreload(()=>import("./columns10.js"),["static/js/columns10.js","static/js/xlsx.js","static/js/data2.js"]),"/src/views/pure-table/high/execl/index.vue":()=>__vitePreload(()=>import("./index48.js"),["static/js/index48.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/data2.js"]),"/src/views/pure-table/high/list.tsx":()=>__vitePreload(()=>import("./list2.js"),["static/js/list2.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/edit-pen.js","static/js/check.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js"]),"/src/views/pure-table/high/page/columns.tsx":()=>__vitePreload(()=>import("./columns11.js"),["static/js/columns11.js","static/js/data2.js"]),"/src/views/pure-table/high/page/index.vue":()=>__vitePreload(()=>import("./index49.js"),["static/js/index49.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/data2.js"]),"/src/views/pure-table/high/prints/columns.tsx":()=>__vitePreload(()=>import("./columns12.js"),["static/js/columns12.js","static/js/print2.js","static/js/data2.js"]),"/src/views/pure-table/high/prints/index.vue":()=>__vitePreload(()=>import("./index50.js"),["static/js/index50.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/index.vue":()=>__vitePreload(()=>import("./index51.js"),["static/js/index51.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js"]),"/src/views/pure-table/high/table-select/multiple/columns.tsx":()=>__vitePreload(()=>import("./columns13.js"),["static/js/columns13.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/multiple/index.vue":()=>__vitePreload(()=>import("./index52.js"),["static/js/index52.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/radio/columns.tsx":()=>__vitePreload(()=>import("./columns14.js"),["static/js/columns14.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/radio/index.vue":()=>__vitePreload(()=>import("./index53.js"),["static/js/index53.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/data2.js"]),"/src/views/pure-table/high/watermark/columns.tsx":()=>__vitePreload(()=>import("./columns15.js"),["static/js/columns15.js","static/js/data2.js"]),"/src/views/pure-table/high/watermark/index.vue":()=>__vitePreload(()=>import("./index54.js"),["static/js/index54.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/data2.js"]),"/src/views/pure-table/index.vue":()=>__vitePreload(()=>import("./index35.js"),["static/js/index35.js","static/js/list.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/css/status.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/filters.vue_vue_type_script_setup_true_lang.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/tree.vue_vue_type_script_setup_true_lang.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js","static/js/merge.vue_vue_type_script_setup_true_lang.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js","static/css/index26.css"]),"/src/views/result/columns.tsx":()=>__vitePreload(()=>import("./columns16.js"),["static/js/columns16.js","static/js/arrow-right-s-line.js"]),"/src/views/result/fail.vue":()=>__vitePreload(()=>import("./fail.js"),["static/js/fail.js","static/js/columns16.js","static/js/arrow-right-s-line.js","static/css/fail.css"]),"/src/views/result/success.vue":()=>__vitePreload(()=>import("./success.js"),["static/js/success.js","static/css/success.css"]),"/src/views/system/dept/form.vue":()=>__vitePreload(()=>import("./form2.js"),["static/js/form2.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index63.js","static/js/hooks2.js"]),"/src/views/system/dept/index.vue":()=>__vitePreload(()=>import("./index55.js"),["static/js/index55.js","static/js/hook.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index63.js","static/js/hooks2.js","static/js/system.js","static/js/refresh.js","static/js/epTheme.js","static/js/sortable.esm.js","static/js/hooks.js","static/js/edit-pen.js","static/js/search.js","static/js/add-circle-line.js","static/css/index29.css"]),"/src/views/system/dept/utils/hook.tsx":()=>__vitePreload(()=>import("./hook.js"),["static/js/hook.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index63.js","static/js/hooks2.js","static/js/system.js"]),"/src/views/system/role/form.vue":()=>__vitePreload(()=>import("./form3.js"),["static/js/form3.js","static/js/form.vue_vue_type_script_setup_true_lang3.js"]),"/src/views/system/role/index.vue":()=>__vitePreload(()=>import("./index56.js"),["static/js/index56.js","static/js/hook2.js","static/js/form.vue_vue_type_script_setup_true_lang3.js","static/js/system.js","static/js/hooks2.js","static/js/refresh.js","static/js/epTheme.js","static/js/sortable.esm.js","static/js/hooks.js","static/js/edit-pen.js","static/js/search.js","static/js/menu.js","static/js/add-circle-line.js","static/css/index30.css"]),"/src/views/system/role/utils/hook.tsx":()=>__vitePreload(()=>import("./hook2.js"),["static/js/hook2.js","static/js/form.vue_vue_type_script_setup_true_lang3.js","static/js/system.js","static/js/hooks2.js"]),"/src/views/system/user/hook.tsx":()=>__vitePreload(()=>import("./hook3.js"),["static/js/hook3.js","static/js/system.js"]),"/src/views/system/user/index.vue":()=>__vitePreload(()=>import("./index57.js"),["static/js/index57.js","static/js/tree2.js","static/js/system.js","static/js/hooks.js","static/js/git-branch-line.js","static/js/search.js","static/js/more-2-fill.js","static/js/office-building.js","static/css/tree.css","static/js/hook3.js","static/js/refresh.js","static/js/epTheme.js","static/js/sortable.esm.js","static/js/admin-line.js","static/js/edit-pen.js","static/js/add-circle-line.js","static/css/index31.css"]),"/src/views/system/user/tree.vue":()=>__vitePreload(()=>import("./tree2.js"),["static/js/tree2.js","static/js/system.js","static/js/hooks.js","static/js/git-branch-line.js","static/js/search.js","static/js/more-2-fill.js","static/js/office-building.js","static/css/tree.css"]),"/src/views/tabs/index.vue":()=>__vitePreload(()=>import("./index58.js"),["static/js/index58.js","static/js/hooks3.js"]),"/src/views/tabs/params-detail.vue":()=>__vitePreload(()=>import("./params-detail.js"),["static/js/params-detail.js","static/js/hooks3.js"]),"/src/views/tabs/query-detail.vue":()=>__vitePreload(()=>import("./query-detail.js"),["static/js/query-detail.js","static/js/hooks3.js"]),"/src/views/welcome/components/Bar.vue":()=>__vitePreload(()=>import("./Bar.js"),["static/js/Bar.js","static/js/Bar.vue_vue_type_script_setup_true_lang.js","static/js/app.js"]),"/src/views/welcome/components/Github.vue":()=>__vitePreload(()=>import("./Github.js"),["static/js/Github.js","static/js/Github.vue_vue_type_script_setup_true_lang.js","static/js/columns17.js","static/js/index62.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/welcome/components/Line.vue":()=>__vitePreload(()=>import("./Line.js"),["static/js/Line.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/app.js"]),"/src/views/welcome/components/Pie.vue":()=>__vitePreload(()=>import("./Pie.js"),["static/js/Pie.js","static/js/Pie.vue_vue_type_script_setup_true_lang.js","static/js/app.js"]),"/src/views/welcome/components/columns.tsx":()=>__vitePreload(()=>import("./columns17.js"),["static/js/columns17.js","static/js/index62.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/welcome/index.vue":()=>__vitePreload(()=>import("./index27.js"),["static/js/index27.js","static/js/Bar.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/js/Pie.vue_vue_type_script_setup_true_lang.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/list3.js","static/js/index62.js","static/js/Github.vue_vue_type_script_setup_true_lang.js","static/js/columns17.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js","static/js/index59.js","static/css/index12.css","static/css/index25.css"])});function handRank(oe){const{name:ie,path:le,parentId:ue,meta:de}=oe;return N(ue)?!!(N(de==null?void 0:de.rank)||(de==null?void 0:de.rank)===0&&ie!=="Home"&&le!=="/"):!1}function ascending(oe){return oe.forEach((ie,le)=>{handRank(ie)&&(ie.meta.rank=le+2)}),oe.sort((ie,le)=>(ie==null?void 0:ie.meta.rank)-(le==null?void 0:le.meta.rank))}function filterTree(oe){const ie=en(oe).filter(le=>{var ue;return((ue=le.meta)==null?void 0:ue.showLink)!==!1});return ie.forEach(le=>le.children&&(le.children=filterTree(le.children))),ie}function filterChildrenTree(oe){const ie=en(oe).filter(le=>{var ue;return((ue=le==null?void 0:le.children)==null?void 0:ue.length)!==0});return ie.forEach(le=>le.children&&(le.children=filterTree(le.children))),ie}function isOneOfArray(oe,ie){return Array.isArray(oe)&&Array.isArray(ie)?vr(oe,ie).length>0:!0}function filterNoPermissionTree(oe){var ue;const ie=((ue=rr().getItem(sessionKey))==null?void 0:ue.roles)??[],le=en(oe).filter(de=>{var pe;return isOneOfArray((pe=de.meta)==null?void 0:pe.roles,ie)});return le.forEach(de=>de.children&&(de.children=filterNoPermissionTree(de.children))),filterChildrenTree(le)}function getParentPaths(oe,ie,le="path"){function ue(de,pe,he){for(let _e=0;_e<de.length;_e++){const $e=de[_e];if($e[le]===pe)return he;if(!(!$e.children||!$e.children.length)){if(he.push($e.path),ue($e.children,pe,he).length)return he;he.pop()}}return[]}return ue(ie,oe,[])}function findRouteByPath(oe,ie){let le=ie.find(ue=>ue.path==oe);if(le)return isProxy(le)?toRaw(le):le;for(let ue=0;ue<ie.length;ue++)if(ie[ue].children instanceof Array&&ie[ue].children.length>0&&(le=findRouteByPath(oe,ie[ue].children),le))return isProxy(le)?toRaw(le):le;return null}function addPathMatch(){router.hasRoute("pathMatch")||router.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function handleAsyncRoutes(oe){oe.length===0||formatFlatteningRoutes(addAsyncRoutes(oe)).map(ie=>{if(router.options.routes[0].children.findIndex(le=>le.path===ie.path)===-1){router.options.routes[0].children.push(ie),ascending(router.options.routes[0].children),router.hasRoute(ie==null?void 0:ie.name)||router.addRoute(ie);const le=router.getRoutes().find(ue=>ue.path==="/");router.addRoute(le)}}),usePermissionStoreHook().handleWholeMenus(oe),addPathMatch()}function initRouter(){var oe;if((oe=getConfig())!=null&&oe.CachingAsyncRoutes){const ie="async-routes",le=rr().getItem(ie);return le&&(le==null?void 0:le.length)>0?new Promise(ue=>{handleAsyncRoutes(le),ue(router)}):new Promise(ue=>{getAsyncRoutes().then(({data:de})=>{handleAsyncRoutes(en(de)),rr().setItem(ie,de),ue(router)})})}else return new Promise(ie=>{getAsyncRoutes().then(({data:le})=>{handleAsyncRoutes(en(le)),ie(router)})})}function formatFlatteningRoutes(oe){if(oe.length===0)return oe;let ie=buildHierarchyTree(oe);for(let le=0;le<ie.length;le++)ie[le].children&&(ie=ie.slice(0,le+1).concat(ie[le].children,ie.slice(le+1)));return ie}function formatTwoStageRoutes(oe){if(oe.length===0)return oe;const ie=[];return oe.forEach(le=>{var ue;le.path==="/"?ie.push({component:le.component,name:le.name,path:le.path,redirect:le.redirect,meta:le.meta,children:[]}):(ue=ie[0])==null||ue.children.push({...le})}),ie}function handleAliveRoute({name:oe},ie){switch(ie){case"add":usePermissionStoreHook().cacheOperate({mode:"add",name:oe});break;case"delete":usePermissionStoreHook().cacheOperate({mode:"delete",name:oe});break;case"refresh":usePermissionStoreHook().cacheOperate({mode:"refresh",name:oe});break;default:usePermissionStoreHook().cacheOperate({mode:"delete",name:oe}),useTimeoutFn(()=>{usePermissionStoreHook().cacheOperate({mode:"add",name:oe})},100)}}function addAsyncRoutes(oe){if(!oe||!oe.length)return;const ie=Object.keys(modulesRoutes);return oe.forEach(le=>{var ue;if(le.meta.backstage=!0,le!=null&&le.children&&le.children.length&&!le.redirect&&(le.redirect=le.children[0].path),le!=null&&le.children&&le.children.length&&!le.name&&(le.name=le.children[0].name+"Parent"),(ue=le.meta)!=null&&ue.frameSrc)le.component=IFrame;else{const de=le!=null&&le.component?ie.findIndex(pe=>pe.includes(le.component)):ie.findIndex(pe=>pe.includes(le.path));le.component=modulesRoutes[ie[de]]}le!=null&&le.children&&le.children.length&&addAsyncRoutes(le.children)}),oe}function getHistoryMode(oe){const ie=oe.split(","),le=ie[0],ue=ie[1];if(ie.length===1){if(le==="hash")return createWebHashHistory("");if(le==="h5")return createWebHistory("")}else if(ie.length===2){if(le==="hash")return createWebHashHistory(ue);if(le==="h5")return createWebHistory(ue)}}function getAuths(){return router.currentRoute.value.meta.auths}function hasAuth(oe){if(!oe)return!1;const ie=getAuths();return ie?!!(A(oe)?ie.includes(oe):Tr(oe,ie)):!1}function getTopMenu(oe=!1){var le;const ie=(le=usePermissionStoreHook().wholeMenus[0])==null?void 0:le.children[0];return oe&&useMultiTagsStoreHook().handleTags("push",ie),ie}const usePermissionStore=defineStore({id:"pure-permission",state:()=>({constantMenus,wholeMenus:[],cachePageList:[]}),actions:{handleWholeMenus(oe){this.wholeMenus=filterNoPermissionTree(filterTree(ascending(this.constantMenus.concat(oe))))},cacheOperate({mode:oe,name:ie}){const le=this.cachePageList.findIndex(ue=>ue===ie);switch(oe){case"refresh":this.cachePageList=this.cachePageList.filter(ue=>ue!==ie);break;case"add":this.cachePageList.push(ie);break;case"delete":le!==-1&&this.cachePageList.splice(le,1);break}vt(()=>{let ue=this.cachePageList.length;const de=Sr(useMultiTagsStoreHook().multiTags,"name");for(;ue>0;)de.findIndex(pe=>pe===this.cachePageList[ue-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[ue-1]),1),ue--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function usePermissionStoreHook(){return usePermissionStore(store)}const Layout=()=>__vitePreload(()=>import("./index26.js"),["static/js/index26.js","static/js/menu.js","static/js/set-up.js","static/js/home-filled.js","static/js/admin-line.js","static/js/git-branch-line.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/index61.js","static/js/hooks.js","static/js/search.js","static/js/check.js","static/js/refresh-right.js","static/js/arrow-right-s-line.js","static/js/back_top.js","static/css/index24.css"]),remainingRouter=[{path:"/login",name:"Login",component:()=>__vitePreload(()=>import("./index37.js"),["static/js/index37.js","static/js/motion.js","static/js/verifyCode.js","static/js/phone.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/iphone.js","static/js/index62.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/index60.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css","static/js/regist.vue_vue_type_script_setup_true_lang.js","static/js/lock-fill.js","static/js/user-3-fill.js","static/js/update.vue_vue_type_script_setup_true_lang.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/check.js","static/css/index28.css"]),meta:{title:$t("menus.hslogin"),showLink:!1,rank:101}},{path:"/redirect",component:Layout,meta:{title:$t("status.hsLoad"),showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>__vitePreload(()=>import("./redirect.js"),[])}]},{path:"/empty",name:"Empty",component:()=>__vitePreload(()=>import("./index36.js"),["static/js/index36.js","static/css/index27.css"]),meta:{title:$t("menus.hsempty"),showLink:!1,rank:103}}],modules$1=Object.assign({"./modules/able.ts":__vite_glob_0_0$1,"./modules/about.ts":__vite_glob_0_1$1,"./modules/components.ts":__vite_glob_0_2$1,"./modules/editor.ts":__vite_glob_0_3$1,"./modules/error.ts":__vite_glob_0_4$1,"./modules/flowchart.ts":__vite_glob_0_5$1,"./modules/formdesign.ts":__vite_glob_0_6,"./modules/guide.ts":__vite_glob_0_7,"./modules/home.ts":__vite_glob_0_8,"./modules/list.ts":__vite_glob_0_9,"./modules/menuoverflow.ts":__vite_glob_0_10,"./modules/nested.ts":__vite_glob_0_11,"./modules/ppt.ts":__vite_glob_0_12,"./modules/puredoc.ts":__vite_glob_0_13,"./modules/pureutils.ts":__vite_glob_0_14,"./modules/result.ts":__vite_glob_0_15,"./modules/table.ts":__vite_glob_0_16}),routes=[];Object.keys(modules$1).forEach(oe=>{routes.push(modules$1[oe].default)});const constantRoutes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))),constantMenus=ascending(routes.flat(1/0)).concat(...remainingRouter),remainingPaths=Object.keys(remainingRouter).map(oe=>remainingRouter[oe].path),router=createRouter({history:getHistoryMode("hash"),routes:constantRoutes.concat(...remainingRouter),strict:!0,scrollBehavior(oe,ie,le){return new Promise(ue=>{if(le)return le;if(ie.meta.saveSrollTop){const de=document.documentElement.scrollTop||document.body.scrollTop;ue({left:0,top:de})}})}});function resetRouter(){router.getRoutes().forEach(oe=>{const{name:ie,meta:le}=oe;ie&&router.hasRoute(ie)&&(le!=null&&le.backstage)&&(router.removeRoute(ie),router.options.routes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))))}),usePermissionStoreHook().clearAllCachePage()}const whiteList=["/login"],{VITE_HIDE_HOME}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};router.beforeEach((oe,ie,le)=>{var he,_e,$e;(he=oe.meta)!=null&&he.keepAlive&&(handleAliveRoute(oe,"add"),(ie.name===void 0||ie.name==="Redirect")&&handleAliveRoute(oe));const ue=rr().getItem(sessionKey);NProgress.start();const de=gt(oe==null?void 0:oe.name);de||oe.matched.some(Ie=>{if(!Ie.meta.title)return"";const Ve=getConfig().Title;Ve?document.title=`${transformI18n(Ie.meta.title)} | ${Ve}`:document.title=transformI18n(Ie.meta.title)});function pe(){whiteList.includes(oe.fullPath)?le(ie.fullPath):le()}ue?((_e=oe.meta)!=null&&_e.roles&&!isOneOfArray(($e=oe.meta)==null?void 0:$e.roles,ue==null?void 0:ue.roles)&&le({path:"/error/403"}),VITE_HIDE_HOME==="true"&&oe.fullPath==="/welcome"&&le({path:"/error/404"}),ie!=null&&ie.name?de?(Mt(oe==null?void 0:oe.name),NProgress.done()):pe():(usePermissionStoreHook().wholeMenus.length===0&&oe.path!=="/login"&&initRouter().then(Ie=>{var Ve,Fe;if(!useMultiTagsStoreHook().getMultiTagsCache){const{path:Ue}=oe,qe=findRouteByPath(Ue,Ie.options.routes[0].children);if(getTopMenu(!0),qe&&((Ve=qe.meta)!=null&&Ve.title))if(N(qe.parentId)&&((Fe=qe.meta)!=null&&Fe.backstage)){const{path:Et,name:At,meta:Lt}=qe.children[0];useMultiTagsStoreHook().handleTags("push",{path:Et,name:At,meta:Lt})}else{const{path:Et,name:At,meta:Lt}=qe;useMultiTagsStoreHook().handleTags("push",{path:Et,name:At,meta:Lt})}}N(oe.name)&&Ie.push(oe.fullPath)}),pe())):oe.path!=="/login"?whiteList.indexOf(oe.path)!==-1?le():le({path:"/login"}):le()});router.afterEach(()=>{NProgress.done()});function isObject$4(oe){return oe!==null&&typeof oe=="object"}function _defu(oe,ie,le=".",ue){if(!isObject$4(ie))return _defu(oe,{},le,ue);const de=Object.assign({},ie);for(const pe in oe){if(pe==="__proto__"||pe==="constructor")continue;const he=oe[pe];he!=null&&(ue&&ue(de,pe,he,le)||(Array.isArray(he)&&Array.isArray(de[pe])?de[pe]=[...he,...de[pe]]:isObject$4(he)&&isObject$4(de[pe])?de[pe]=_defu(he,de[pe],(le?`${le}.`:"")+pe.toString(),ue):de[pe]=he))}return de}function createDefu(oe){return(...ie)=>ie.reduce((le,ue)=>_defu(le,ue,"",oe),{})}const defu=createDefu(),defaultTimestep=1/60*1e3,getCurrentTime=typeof performance<"u"?()=>performance.now():()=>Date.now(),onNextFrame=typeof window<"u"?oe=>window.requestAnimationFrame(oe):oe=>setTimeout(()=>oe(getCurrentTime()),defaultTimestep);function createRenderStep(oe){let ie=[],le=[],ue=0,de=!1,pe=!1;const he=new WeakSet,_e={schedule:($e,Ie=!1,Ve=!1)=>{const Fe=Ve&&de,Ue=Fe?ie:le;return Ie&&he.add($e),Ue.indexOf($e)===-1&&(Ue.push($e),Fe&&de&&(ue=ie.length)),$e},cancel:$e=>{const Ie=le.indexOf($e);Ie!==-1&&le.splice(Ie,1),he.delete($e)},process:$e=>{if(de){pe=!0;return}if(de=!0,[ie,le]=[le,ie],le.length=0,ue=ie.length,ue)for(let Ie=0;Ie<ue;Ie++){const Ve=ie[Ie];Ve($e),he.has(Ve)&&(_e.schedule(Ve),oe())}de=!1,pe&&(pe=!1,_e.process($e))}};return _e}const maxElapsed=40;let useDefaultElapsed=!0,runNextFrame=!1,isProcessing=!1;const frame={delta:0,timestamp:0},stepsOrder=["read","update","preRender","render","postRender"],steps=stepsOrder.reduce((oe,ie)=>(oe[ie]=createRenderStep(()=>runNextFrame=!0),oe),{}),sync=stepsOrder.reduce((oe,ie)=>{const le=steps[ie];return oe[ie]=(ue,de=!1,pe=!1)=>(runNextFrame||startLoop(),le.schedule(ue,de,pe)),oe},{}),cancelSync=stepsOrder.reduce((oe,ie)=>(oe[ie]=steps[ie].cancel,oe),{});stepsOrder.reduce((oe,ie)=>(oe[ie]=()=>steps[ie].process(frame),oe),{});const processStep=oe=>steps[oe].process(frame),processFrame=oe=>{runNextFrame=!1,frame.delta=useDefaultElapsed?defaultTimestep:Math.max(Math.min(oe-frame.timestamp,maxElapsed),1),frame.timestamp=oe,isProcessing=!0,stepsOrder.forEach(processStep),isProcessing=!1,runNextFrame&&(useDefaultElapsed=!1,onNextFrame(processFrame))},startLoop=()=>{runNextFrame=!0,useDefaultElapsed=!0,isProcessing||onNextFrame(processFrame)},getFrameData=()=>frame;function __rest(oe,ie){var le={};for(var ue in oe)Object.prototype.hasOwnProperty.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ue=Object.getOwnPropertySymbols(oe);de<ue.length;de++)ie.indexOf(ue[de])<0&&Object.prototype.propertyIsEnumerable.call(oe,ue[de])&&(le[ue[de]]=oe[ue[de]]);return le}var warning=function(){},invariant=function(){};const clamp$2=(oe,ie,le)=>Math.min(Math.max(le,oe),ie),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:oe=800,bounce:ie=.25,velocity:le=0,mass:ue=1}){let de,pe;warning(oe<=maxDuration*1e3);let he=1-ie;he=clamp$2(minDamping,maxDamping,he),oe=clamp$2(minDuration,maxDuration,oe/1e3),he<1?(de=Ie=>{const Ve=Ie*he,Fe=Ve*oe,Ue=Ve-le,qe=calcAngularFreq(Ie,he),Et=Math.exp(-Fe);return safeMin-Ue/qe*Et},pe=Ie=>{const Fe=Ie*he*oe,Ue=Fe*le+le,qe=Math.pow(he,2)*Math.pow(Ie,2)*oe,Et=Math.exp(-Fe),At=calcAngularFreq(Math.pow(Ie,2),he);return(-de(Ie)+safeMin>0?-1:1)*((Ue-qe)*Et)/At}):(de=Ie=>{const Ve=Math.exp(-Ie*oe),Fe=(Ie-le)*oe+1;return-safeMin+Ve*Fe},pe=Ie=>{const Ve=Math.exp(-Ie*oe),Fe=(le-Ie)*(oe*oe);return Ve*Fe});const _e=5/oe,$e=approximateRoot(de,pe,_e);if(oe=oe*1e3,isNaN($e))return{stiffness:100,damping:10,duration:oe};{const Ie=Math.pow($e,2)*ue;return{stiffness:Ie,damping:he*2*Math.sqrt(ue*Ie),duration:oe}}}const rootIterations=12;function approximateRoot(oe,ie,le){let ue=le;for(let de=1;de<rootIterations;de++)ue=ue-oe(ue)/ie(ue);return ue}function calcAngularFreq(oe,ie){return oe*Math.sqrt(1-ie*ie)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(oe,ie){return ie.some(le=>oe[le]!==void 0)}function getSpringOptions(oe){let ie=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},oe);if(!isSpringType(oe,physicsKeys)&&isSpringType(oe,durationKeys)){const le=findSpring(oe);ie=Object.assign(Object.assign(Object.assign({},ie),le),{velocity:0,mass:1}),ie.isResolvedFromDuration=!0}return ie}function spring(oe){var{from:ie=0,to:le=1,restSpeed:ue=2,restDelta:de}=oe,pe=__rest(oe,["from","to","restSpeed","restDelta"]);const he={done:!1,value:ie};let{stiffness:_e,damping:$e,mass:Ie,velocity:Ve,duration:Fe,isResolvedFromDuration:Ue}=getSpringOptions(pe),qe=zero,Et=zero;function At(){const Lt=Ve?-(Ve/1e3):0,hn=le-ie,vn=$e/(2*Math.sqrt(_e*Ie)),_n=Math.sqrt(_e/Ie)/1e3;if(de===void 0&&(de=Math.min(Math.abs(le-ie)/100,.4)),vn<1){const bn=calcAngularFreq(_n,vn);qe=Sn=>{const Cn=Math.exp(-vn*_n*Sn);return le-Cn*((Lt+vn*_n*hn)/bn*Math.sin(bn*Sn)+hn*Math.cos(bn*Sn))},Et=Sn=>{const Cn=Math.exp(-vn*_n*Sn);return vn*_n*Cn*(Math.sin(bn*Sn)*(Lt+vn*_n*hn)/bn+hn*Math.cos(bn*Sn))-Cn*(Math.cos(bn*Sn)*(Lt+vn*_n*hn)-bn*hn*Math.sin(bn*Sn))}}else if(vn===1)qe=bn=>le-Math.exp(-_n*bn)*(hn+(Lt+_n*hn)*bn);else{const bn=_n*Math.sqrt(vn*vn-1);qe=Sn=>{const Cn=Math.exp(-vn*_n*Sn),En=Math.min(bn*Sn,300);return le-Cn*((Lt+vn*_n*hn)*Math.sinh(En)+bn*hn*Math.cosh(En))/bn}}}return At(),{next:Lt=>{const hn=qe(Lt);if(Ue)he.done=Lt>=Fe;else{const vn=Et(Lt)*1e3,_n=Math.abs(vn)<=ue,bn=Math.abs(le-hn)<=de;he.done=_n&&bn}return he.value=he.done?le:hn,he},flipTarget:()=>{Ve=-Ve,[ie,le]=[le,ie],At()}}}spring.needsInterpolation=(oe,ie)=>typeof oe=="string"||typeof ie=="string";const zero=oe=>0,progress=(oe,ie,le)=>{const ue=ie-oe;return ue===0?1:(le-oe)/ue},mix=(oe,ie,le)=>-le*oe+le*ie+oe,clamp$1=(oe,ie)=>le=>Math.max(Math.min(le,ie),oe),sanitize=oe=>oe%1?Number(oe.toFixed(5)):oe,floatRegex=/(-)?([\d]*\.?[\d])+/g,colorRegex=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,singleColorRegex=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString$1(oe){return typeof oe=="string"}const number$1={test:oe=>typeof oe=="number",parse:parseFloat,transform:oe=>oe},alpha=Object.assign(Object.assign({},number$1),{transform:clamp$1(0,1)}),scale$3=Object.assign(Object.assign({},number$1),{default:1}),createUnitType=oe=>({test:ie=>isString$1(ie)&&ie.endsWith(oe)&&ie.split(" ").length===1,parse:parseFloat,transform:ie=>`${ie}${oe}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),progressPercentage=Object.assign(Object.assign({},percent),{parse:oe=>percent.parse(oe)/100,transform:oe=>percent.transform(oe*100)}),isColorString=(oe,ie)=>le=>!!(isString$1(le)&&singleColorRegex.test(le)&&le.startsWith(oe)||ie&&Object.prototype.hasOwnProperty.call(le,ie)),splitColor=(oe,ie,le)=>ue=>{if(!isString$1(ue))return ue;const[de,pe,he,_e]=ue.match(floatRegex);return{[oe]:parseFloat(de),[ie]:parseFloat(pe),[le]:parseFloat(he),alpha:_e!==void 0?parseFloat(_e):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:oe,saturation:ie,lightness:le,alpha:ue=1})=>"hsla("+Math.round(oe)+", "+percent.transform(sanitize(ie))+", "+percent.transform(sanitize(le))+", "+sanitize(alpha.transform(ue))+")"},clampRgbUnit=clamp$1(0,255),rgbUnit=Object.assign(Object.assign({},number$1),{transform:oe=>Math.round(clampRgbUnit(oe))}),rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:oe,green:ie,blue:le,alpha:ue=1})=>"rgba("+rgbUnit.transform(oe)+", "+rgbUnit.transform(ie)+", "+rgbUnit.transform(le)+", "+sanitize(alpha.transform(ue))+")"};function parseHex(oe){let ie="",le="",ue="",de="";return oe.length>5?(ie=oe.substr(1,2),le=oe.substr(3,2),ue=oe.substr(5,2),de=oe.substr(7,2)):(ie=oe.substr(1,1),le=oe.substr(2,1),ue=oe.substr(3,1),de=oe.substr(4,1),ie+=ie,le+=le,ue+=ue,de+=de),{red:parseInt(ie,16),green:parseInt(le,16),blue:parseInt(ue,16),alpha:de?parseInt(de,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},color$1={test:oe=>rgba.test(oe)||hex.test(oe)||hsla.test(oe),parse:oe=>rgba.test(oe)?rgba.parse(oe):hsla.test(oe)?hsla.parse(oe):hex.parse(oe),transform:oe=>isString$1(oe)?oe:oe.hasOwnProperty("red")?rgba.transform(oe):hsla.transform(oe)},colorToken="${c}",numberToken="${n}";function test(oe){var ie,le,ue,de;return isNaN(oe)&&isString$1(oe)&&((le=(ie=oe.match(floatRegex))===null||ie===void 0?void 0:ie.length)!==null&&le!==void 0?le:0)+((de=(ue=oe.match(colorRegex))===null||ue===void 0?void 0:ue.length)!==null&&de!==void 0?de:0)>0}function analyse$1(oe){typeof oe=="number"&&(oe=`${oe}`);const ie=[];let le=0;const ue=oe.match(colorRegex);ue&&(le=ue.length,oe=oe.replace(colorRegex,colorToken),ie.push(...ue.map(color$1.parse)));const de=oe.match(floatRegex);return de&&(oe=oe.replace(floatRegex,numberToken),ie.push(...de.map(number$1.parse))),{values:ie,numColors:le,tokenised:oe}}function parse$2(oe){return analyse$1(oe).values}function createTransformer(oe){const{values:ie,numColors:le,tokenised:ue}=analyse$1(oe),de=ie.length;return pe=>{let he=ue;for(let _e=0;_e<de;_e++)he=he.replace(_e<le?colorToken:numberToken,_e<le?color$1.transform(pe[_e]):sanitize(pe[_e]));return he}}const convertNumbersToZero=oe=>typeof oe=="number"?0:oe;function getAnimatableNone$1(oe){const ie=parse$2(oe);return createTransformer(oe)(ie.map(convertNumbersToZero))}const complex={test,parse:parse$2,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(oe){let[ie,le]=oe.slice(0,-1).split("(");if(ie==="drop-shadow")return oe;const[ue]=le.match(floatRegex)||[];if(!ue)return oe;const de=le.replace(ue,"");let pe=maxDefaults.has(ie)?1:0;return ue!==le&&(pe*=100),ie+"("+pe+de+")"}const functionRegex=/([a-z-]*)\(.*?\)/g,filter$1=Object.assign(Object.assign({},complex),{getAnimatableNone:oe=>{const ie=oe.match(functionRegex);return ie?ie.map(applyDefaultFilter).join(" "):oe}});function hueToRgb(oe,ie,le){return le<0&&(le+=1),le>1&&(le-=1),le<1/6?oe+(ie-oe)*6*le:le<1/2?ie:le<2/3?oe+(ie-oe)*(2/3-le)*6:oe}function hslaToRgba({hue:oe,saturation:ie,lightness:le,alpha:ue}){oe/=360,ie/=100,le/=100;let de=0,pe=0,he=0;if(!ie)de=pe=he=le;else{const _e=le<.5?le*(1+ie):le+ie-le*ie,$e=2*le-_e;de=hueToRgb($e,_e,oe+1/3),pe=hueToRgb($e,_e,oe),he=hueToRgb($e,_e,oe-1/3)}return{red:Math.round(de*255),green:Math.round(pe*255),blue:Math.round(he*255),alpha:ue}}const mixLinearColor=(oe,ie,le)=>{const ue=oe*oe,de=ie*ie;return Math.sqrt(Math.max(0,le*(de-ue)+ue))},colorTypes=[hex,rgba,hsla],getColorType=oe=>colorTypes.find(ie=>ie.test(oe)),mixColor=(oe,ie)=>{let le=getColorType(oe),ue=getColorType(ie),de=le.parse(oe),pe=ue.parse(ie);le===hsla&&(de=hslaToRgba(de),le=rgba),ue===hsla&&(pe=hslaToRgba(pe),ue=rgba);const he=Object.assign({},de);return _e=>{for(const $e in he)$e!=="alpha"&&(he[$e]=mixLinearColor(de[$e],pe[$e],_e));return he.alpha=mix(de.alpha,pe.alpha,_e),le.transform(he)}},isNum=oe=>typeof oe=="number",combineFunctions=(oe,ie)=>le=>ie(oe(le)),pipe=(...oe)=>oe.reduce(combineFunctions);function getMixer(oe,ie){return isNum(oe)?le=>mix(oe,ie,le):color$1.test(oe)?mixColor(oe,ie):mixComplex(oe,ie)}const mixArray=(oe,ie)=>{const le=[...oe],ue=le.length,de=oe.map((pe,he)=>getMixer(pe,ie[he]));return pe=>{for(let he=0;he<ue;he++)le[he]=de[he](pe);return le}},mixObject=(oe,ie)=>{const le=Object.assign(Object.assign({},oe),ie),ue={};for(const de in le)oe[de]!==void 0&&ie[de]!==void 0&&(ue[de]=getMixer(oe[de],ie[de]));return de=>{for(const pe in ue)le[pe]=ue[pe](de);return le}};function analyse(oe){const ie=complex.parse(oe),le=ie.length;let ue=0,de=0,pe=0;for(let he=0;he<le;he++)ue||typeof ie[he]=="number"?ue++:ie[he].hue!==void 0?pe++:de++;return{parsed:ie,numNumbers:ue,numRGB:de,numHSL:pe}}const mixComplex=(oe,ie)=>{const le=complex.createTransformer(ie),ue=analyse(oe),de=analyse(ie);return ue.numHSL===de.numHSL&&ue.numRGB===de.numRGB&&ue.numNumbers>=de.numNumbers?pipe(mixArray(ue.parsed,de.parsed),le):he=>`${he>0?ie:oe}`},mixNumber=(oe,ie)=>le=>mix(oe,ie,le);function detectMixerFactory(oe){if(typeof oe=="number")return mixNumber;if(typeof oe=="string")return color$1.test(oe)?mixColor:mixComplex;if(Array.isArray(oe))return mixArray;if(typeof oe=="object")return mixObject}function createMixers(oe,ie,le){const ue=[],de=le||detectMixerFactory(oe[0]),pe=oe.length-1;for(let he=0;he<pe;he++){let _e=de(oe[he],oe[he+1]);if(ie){const $e=Array.isArray(ie)?ie[he]:ie;_e=pipe($e,_e)}ue.push(_e)}return ue}function fastInterpolate([oe,ie],[le]){return ue=>le(progress(oe,ie,ue))}function slowInterpolate(oe,ie){const le=oe.length,ue=le-1;return de=>{let pe=0,he=!1;if(de<=oe[0]?he=!0:de>=oe[ue]&&(pe=ue-1,he=!0),!he){let $e=1;for(;$e<le&&!(oe[$e]>de||$e===ue);$e++);pe=$e-1}const _e=progress(oe[pe],oe[pe+1],de);return ie[pe](_e)}}function interpolate(oe,ie,{clamp:le=!0,ease:ue,mixer:de}={}){const pe=oe.length;invariant(pe===ie.length),invariant(!ue||!Array.isArray(ue)||ue.length===pe-1),oe[0]>oe[pe-1]&&(oe=[].concat(oe),ie=[].concat(ie),oe.reverse(),ie.reverse());const he=createMixers(ie,ue,de),_e=pe===2?fastInterpolate(oe,he):slowInterpolate(oe,he);return le?$e=>_e(clamp$2(oe[0],oe[pe-1],$e)):_e}const reverseEasing=oe=>ie=>1-oe(1-ie),mirrorEasing=oe=>ie=>ie<=.5?oe(2*ie)/2:(2-oe(2*(1-ie)))/2,createExpoIn=oe=>ie=>Math.pow(ie,oe),createBackIn=oe=>ie=>ie*ie*((oe+1)*ie-oe),createAnticipate=oe=>{const ie=createBackIn(oe);return le=>(le*=2)<1?.5*ie(le):.5*(2-Math.pow(2,-10*(le-1)))},DEFAULT_OVERSHOOT_STRENGTH=1.525,BOUNCE_FIRST_THRESHOLD=4/11,BOUNCE_SECOND_THRESHOLD=8/11,BOUNCE_THIRD_THRESHOLD=9/10,linear=oe=>oe,easeIn=createExpoIn(2),easeOut=reverseEasing(easeIn),easeInOut=mirrorEasing(easeIn),circIn=oe=>1-Math.sin(Math.acos(oe)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circOut),backIn=createBackIn(DEFAULT_OVERSHOOT_STRENGTH),backOut=reverseEasing(backIn),backInOut=mirrorEasing(backIn),anticipate=createAnticipate(DEFAULT_OVERSHOOT_STRENGTH),ca=4356/361,cb=35442/1805,cc=16061/1805,bounceOut=oe=>{if(oe===1||oe===0)return oe;const ie=oe*oe;return oe<BOUNCE_FIRST_THRESHOLD?7.5625*ie:oe<BOUNCE_SECOND_THRESHOLD?9.075*ie-9.9*oe+3.4:oe<BOUNCE_THIRD_THRESHOLD?ca*ie-cb*oe+cc:10.8*oe*oe-20.52*oe+10.72},bounceIn=reverseEasing(bounceOut),bounceInOut=oe=>oe<.5?.5*(1-bounceOut(1-oe*2)):.5*bounceOut(oe*2-1)+.5;function defaultEasing(oe,ie){return oe.map(()=>ie||easeInOut).splice(0,oe.length-1)}function defaultOffset(oe){const ie=oe.length;return oe.map((le,ue)=>ue!==0?ue/(ie-1):0)}function convertOffsetToTimes(oe,ie){return oe.map(le=>le*ie)}function keyframes$1({from:oe=0,to:ie=1,ease:le,offset:ue,duration:de=300}){const pe={done:!1,value:oe},he=Array.isArray(ie)?ie:[oe,ie],_e=convertOffsetToTimes(ue&&ue.length===he.length?ue:defaultOffset(he),de);function $e(){return interpolate(_e,he,{ease:Array.isArray(le)?le:defaultEasing(he,le)})}let Ie=$e();return{next:Ve=>(pe.value=Ie(Ve),pe.done=Ve>=de,pe),flipTarget:()=>{he.reverse(),Ie=$e()}}}function decay({velocity:oe=0,from:ie=0,power:le=.8,timeConstant:ue=350,restDelta:de=.5,modifyTarget:pe}){const he={done:!1,value:ie};let _e=le*oe;const $e=ie+_e,Ie=pe===void 0?$e:pe($e);return Ie!==$e&&(_e=Ie-ie),{next:Ve=>{const Fe=-_e*Math.exp(-Ve/ue);return he.done=!(Fe>de||Fe<-de),he.value=he.done?Ie:Ie+Fe,he},flipTarget:()=>{}}}const types={keyframes:keyframes$1,spring,decay};function detectAnimationFromOptions(oe){if(Array.isArray(oe.to))return keyframes$1;if(types[oe.type])return types[oe.type];const ie=new Set(Object.keys(oe));return ie.has("ease")||ie.has("duration")&&!ie.has("dampingRatio")?keyframes$1:ie.has("dampingRatio")||ie.has("stiffness")||ie.has("mass")||ie.has("damping")||ie.has("restSpeed")||ie.has("restDelta")?spring:keyframes$1}function loopElapsed(oe,ie,le=0){return oe-ie-le}function reverseElapsed(oe,ie,le=0,ue=!0){return ue?loopElapsed(ie+-oe,ie,le):ie-(oe-ie)+le}function hasRepeatDelayElapsed(oe,ie,le,ue){return ue?oe>=ie+le:oe<=-le}const framesync=oe=>{const ie=({delta:le})=>oe(le);return{start:()=>sync.update(ie,!0),stop:()=>cancelSync.update(ie)}};function animate(oe){var ie,le,{from:ue,autoplay:de=!0,driver:pe=framesync,elapsed:he=0,repeat:_e=0,repeatType:$e="loop",repeatDelay:Ie=0,onPlay:Ve,onStop:Fe,onComplete:Ue,onRepeat:qe,onUpdate:Et}=oe,At=__rest(oe,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:Lt}=At,hn,vn=0,_n=At.duration,bn,Sn=!1,Cn=!0,En;const wn=detectAnimationFromOptions(At);!((le=(ie=wn).needsInterpolation)===null||le===void 0)&&le.call(ie,ue,Lt)&&(En=interpolate([0,100],[ue,Lt],{clamp:!1}),ue=0,Lt=100);const xn=wn(Object.assign(Object.assign({},At),{from:ue,to:Lt}));function kn(){vn++,$e==="reverse"?(Cn=vn%2===0,he=reverseElapsed(he,_n,Ie,Cn)):(he=loopElapsed(he,_n,Ie),$e==="mirror"&&xn.flipTarget()),Sn=!1,qe&&qe()}function Pn(){hn.stop(),Ue&&Ue()}function An(Nn){if(Cn||(Nn=-Nn),he+=Nn,!Sn){const Un=xn.next(Math.max(0,he));bn=Un.value,En&&(bn=En(bn)),Sn=Cn?Un.done:he<=0}Et==null||Et(bn),Sn&&(vn===0&&(_n??(_n=he)),vn<_e?hasRepeatDelayElapsed(he,_n,Ie,Cn)&&kn():Pn())}function In(){Ve==null||Ve(),hn=pe(An),hn.start()}return de&&In(),{stop:()=>{Fe==null||Fe(),hn.stop()}}}function velocityPerSecond(oe,ie){return ie?oe*(1e3/ie):0}function inertia({from:oe=0,velocity:ie=0,min:le,max:ue,power:de=.8,timeConstant:pe=750,bounceStiffness:he=500,bounceDamping:_e=10,restDelta:$e=1,modifyTarget:Ie,driver:Ve,onUpdate:Fe,onComplete:Ue,onStop:qe}){let Et;function At(_n){return le!==void 0&&_n<le||ue!==void 0&&_n>ue}function Lt(_n){return le===void 0?ue:ue===void 0||Math.abs(le-_n)<Math.abs(ue-_n)?le:ue}function hn(_n){Et==null||Et.stop(),Et=animate(Object.assign(Object.assign({},_n),{driver:Ve,onUpdate:bn=>{var Sn;Fe==null||Fe(bn),(Sn=_n.onUpdate)===null||Sn===void 0||Sn.call(_n,bn)},onComplete:Ue,onStop:qe}))}function vn(_n){hn(Object.assign({type:"spring",stiffness:he,damping:_e,restDelta:$e},_n))}if(At(oe))vn({from:oe,velocity:ie,to:Lt(oe)});else{let _n=de*ie+oe;typeof Ie<"u"&&(_n=Ie(_n));const bn=Lt(_n),Sn=bn===le?-1:1;let Cn,En;const wn=xn=>{Cn=En,En=xn,ie=velocityPerSecond(xn-Cn,getFrameData().delta),(Sn===1&&xn>bn||Sn===-1&&xn<bn)&&vn({from:xn,to:bn,velocity:ie})};hn({type:"decay",from:oe,velocity:ie,timeConstant:pe,power:de,restDelta:$e,modifyTarget:Ie,onUpdate:At(_n)?wn:void 0})}return{stop:()=>Et==null?void 0:Et.stop()}}const a=(oe,ie)=>1-3*ie+3*oe,b=(oe,ie)=>3*ie-6*oe,c$1=oe=>3*oe,calcBezier=(oe,ie,le)=>((a(ie,le)*oe+b(ie,le))*oe+c$1(ie))*oe,getSlope=(oe,ie,le)=>3*a(ie,le)*oe*oe+2*b(ie,le)*oe+c$1(ie),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide(oe,ie,le,ue,de){let pe,he,_e=0;do he=ie+(le-ie)/2,pe=calcBezier(he,ue,de)-oe,pe>0?le=he:ie=he;while(Math.abs(pe)>subdivisionPrecision&&++_e<subdivisionMaxIterations);return he}const newtonIterations=8,newtonMinSlope=.001;function newtonRaphsonIterate(oe,ie,le,ue){for(let de=0;de<newtonIterations;++de){const pe=getSlope(ie,le,ue);if(pe===0)return ie;const he=calcBezier(ie,le,ue)-oe;ie-=he/pe}return ie}const kSplineTableSize=11,kSampleStepSize=1/(kSplineTableSize-1);function cubicBezier(oe,ie,le,ue){if(oe===ie&&le===ue)return linear;const de=new Float32Array(kSplineTableSize);for(let he=0;he<kSplineTableSize;++he)de[he]=calcBezier(he*kSampleStepSize,oe,le);function pe(he){let _e=0,$e=1;const Ie=kSplineTableSize-1;for(;$e!==Ie&&de[$e]<=he;++$e)_e+=kSampleStepSize;--$e;const Ve=(he-de[$e])/(de[$e+1]-de[$e]),Fe=_e+Ve*kSampleStepSize,Ue=getSlope(Fe,oe,le);return Ue>=newtonMinSlope?newtonRaphsonIterate(he,Fe,oe,le):Ue===0?Fe:binarySubdivide(he,_e,_e+kSampleStepSize,oe,le)}return he=>he===0||he===1?he:calcBezier(pe(he),ie,ue)}const motionState={};class SubscriptionManager{constructor(){this.subscriptions=new Set}add(ie){return this.subscriptions.add(ie),()=>this.subscriptions.delete(ie)}notify(ie,le,ue){if(this.subscriptions.size)for(const de of this.subscriptions)de(ie,le,ue)}clear(){this.subscriptions.clear()}}function isFloat(oe){return!isNaN(parseFloat(oe))}class MotionValue{constructor(ie){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new SubscriptionManager,this.canTrackVelocity=!1,this.updateAndNotify=le=>{this.prev=this.current,this.current=le;const{delta:ue,timestamp:de}=getFrameData();this.lastUpdated!==de&&(this.timeDelta=ue,this.lastUpdated=de),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:le})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),le!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=ie,this.canTrackVelocity=isFloat(this.current)}onChange(ie){return this.updateSubscribers.add(ie)}clearListeners(){this.updateSubscribers.clear()}set(ie){this.updateAndNotify(ie)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(ie){return this.stop(),new Promise(le=>{const{stop:ue}=ie(le);this.stopAnimation=ue}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function getMotionValue(oe){return new MotionValue(oe)}const{isArray:isArray$2}=Array;function useMotionValues(){const oe=ref({}),ie=ue=>{const de=pe=>{oe.value[pe]&&(oe.value[pe].stop(),oe.value[pe].destroy(),delete oe.value[pe])};ue?isArray$2(ue)?ue.forEach(de):de(ue):Object.keys(oe.value).forEach(de)},le=(ue,de,pe)=>{if(oe.value[ue])return oe.value[ue];const he=getMotionValue(de);return he.onChange(_e=>pe[ue]=_e),oe.value[ue]=he,he};return tryOnUnmounted(ie),{motionValues:oe,get:le,stop:ie}}function isKeyframesTarget(oe){return Array.isArray(oe)}function underDampedSpring(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function criticallyDampedSpring(oe){return{type:"spring",stiffness:550,damping:oe===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function overDampedSpring(oe){return{type:"spring",stiffness:550,damping:oe===0?100:30,restDelta:.01,restSpeed:10}}function linearTween(){return{type:"keyframes",ease:"linear",duration:300}}function keyframes(oe){return{type:"keyframes",duration:800,values:oe}}const defaultTransitions={default:overDampedSpring,x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,backgroundColor:linearTween,color:linearTween,opacity:linearTween};function getDefaultTransition(oe,ie){let le;return isKeyframesTarget(ie)?le=keyframes:le=defaultTransitions[oe]||defaultTransitions.default,{to:ie,...le(ie)}}const int={...number$1,transform:Math.round},valueTypes={color:color$1,backgroundColor:color$1,outlineColor:color$1,fill:color$1,stroke:color$1,borderColor:color$1,borderTopColor:color$1,borderRightColor:color$1,borderBottomColor:color$1,borderLeftColor:color$1,borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale:scale$3,scaleX:scale$3,scaleY:scale$3,scaleZ:scale$3,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,filter:filter$1,WebkitFilter:filter$1,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},getValueType=oe=>valueTypes[oe];function getValueAsType(oe,ie){return ie&&typeof oe=="number"&&ie.transform?ie.transform(oe):oe}function getAnimatableNone(oe,ie){let le=getValueType(oe);return le!==filter$1&&(le=complex),le.getAnimatableNone?le.getAnimatableNone(ie):void 0}const easingLookup={linear,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate,bounceIn,bounceInOut,bounceOut};function easingDefinitionToFunction(oe){if(Array.isArray(oe)){const[ie,le,ue,de]=oe;return cubicBezier(ie,le,ue,de)}else if(typeof oe=="string")return easingLookup[oe];return oe}function isEasingArray(oe){return Array.isArray(oe)&&typeof oe[0]!="number"}function isAnimatable(oe,ie){return oe==="zIndex"?!1:!!(typeof ie=="number"||Array.isArray(ie)||typeof ie=="string"&&complex.test(ie)&&!ie.startsWith("url("))}function hydrateKeyframes(oe){return Array.isArray(oe.to)&&oe.to[0]===null&&(oe.to=[...oe.to],oe.to[0]=oe.from),oe}function convertTransitionToAnimationOptions({ease:oe,times:ie,delay:le,...ue}){const de={...ue};return ie&&(de.offset=ie),oe&&(de.ease=isEasingArray(oe)?oe.map(easingDefinitionToFunction):easingDefinitionToFunction(oe)),le&&(de.elapsed=-le),de}function getPopmotionAnimationOptions(oe,ie,le){return Array.isArray(ie.to)&&(oe.duration||(oe.duration=800)),hydrateKeyframes(ie),isTransitionDefined(oe)||(oe={...oe,...getDefaultTransition(le,ie.to)}),{...ie,...convertTransitionToAnimationOptions(oe)}}function isTransitionDefined({delay:oe,repeat:ie,repeatType:le,repeatDelay:ue,from:de,...pe}){return!!Object.keys(pe).length}function getValueTransition(oe,ie){return oe[ie]||oe.default||oe}function getAnimation(oe,ie,le,ue,de){const pe=getValueTransition(ue,oe);let he=pe.from===null||pe.from===void 0?ie.get():pe.from;const _e=isAnimatable(oe,le);he==="none"&&_e&&typeof le=="string"&&(he=getAnimatableNone(oe,le));const $e=isAnimatable(oe,he);function Ie(Fe){const Ue={from:he,to:le,velocity:ue.velocity?ue.velocity:ie.getVelocity(),onUpdate:qe=>ie.set(qe)};return pe.type==="inertia"||pe.type==="decay"?inertia({...Ue,...pe}):animate({...getPopmotionAnimationOptions(pe,Ue,oe),onUpdate:qe=>{Ue.onUpdate(qe),pe.onUpdate&&pe.onUpdate(qe)},onComplete:()=>{ue.onComplete&&ue.onComplete(),de&&de(),Fe&&Fe()}})}function Ve(Fe){return ie.set(le),ue.onComplete&&ue.onComplete(),de&&de(),Fe&&Fe(),{stop:()=>{}}}return!$e||!_e||pe.type===!1?Ve:Ie}function useMotionTransitions(){const{motionValues:oe,stop:ie,get:le}=useMotionValues();return{motionValues:oe,stop:ie,push:(de,pe,he,_e={},$e)=>{const Ie=he[de],Ve=le(de,Ie,he);if(_e&&_e.immediate){Ve.set(pe);return}const Fe=getAnimation(de,Ve,pe,_e,$e);Ve.start(Fe)}}}function useMotionControls(oe,ie={},{motionValues:le,push:ue,stop:de}=useMotionTransitions()){const pe=unref(ie),he=ref(!1);watch(le,Fe=>{he.value=Object.values(Fe).filter(Ue=>Ue.isAnimating()).length>0},{immediate:!0,deep:!0});const _e=Fe=>{if(!pe||!pe[Fe])throw new Error(`The variant ${Fe} does not exist.`);return pe[Fe]},$e=Fe=>(typeof Fe=="string"&&(Fe=_e(Fe)),Promise.all(Object.entries(Fe).map(([Ue,qe])=>{if(Ue!=="transition")return new Promise(Et=>ue(Ue,qe,oe,Fe.transition||getDefaultTransition(Ue,Fe[Ue]),Et))}).filter(Boolean)));return{isAnimating:he,apply:$e,set:Fe=>{const Ue=isObject$7(Fe)?Fe:_e(Fe);Object.entries(Ue).forEach(([qe,Et])=>{qe!=="transition"&&ue(qe,Et,oe,{immediate:!0})})},leave:async Fe=>{let Ue;if(pe&&(pe.leave&&(Ue=pe.leave),!pe.leave&&pe.initial&&(Ue=pe.initial)),!Ue){Fe();return}await $e(Ue),Fe()},stop:de}}const isBrowser=typeof window<"u",supportsPointerEvents=()=>isBrowser&&window.onpointerdown===null,supportsTouchEvents=()=>isBrowser&&window.ontouchstart===null,supportsMouseEvents=()=>isBrowser&&window.onmousedown===null;function registerEventListeners({target:oe,state:ie,variants:le,apply:ue}){const de=unref(le),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=computed(()=>{let Ve=[];return de&&(de.hovered&&(Ve=[...Ve,...Object.keys(de.hovered)]),de.tapped&&(Ve=[...Ve,...Object.keys(de.tapped)]),de.focused&&(Ve=[...Ve,...Object.keys(de.focused)])),Ve}),Ie=computed(()=>{const Ve={};Object.assign(Ve,ie.value),pe.value&&de.hovered&&Object.assign(Ve,de.hovered),he.value&&de.tapped&&Object.assign(Ve,de.tapped),_e.value&&de.focused&&Object.assign(Ve,de.focused);for(const Fe in Ve)$e.value.includes(Fe)||delete Ve[Fe];return Ve});de.hovered&&(useEventListener(oe,"mouseenter",()=>pe.value=!0),useEventListener(oe,"mouseleave",()=>{pe.value=!1,he.value=!1}),useEventListener(oe,"mouseout",()=>{pe.value=!1,he.value=!1})),de.tapped&&(supportsMouseEvents()&&(useEventListener(oe,"mousedown",()=>he.value=!0),useEventListener(oe,"mouseup",()=>he.value=!1)),supportsPointerEvents()&&(useEventListener(oe,"pointerdown",()=>he.value=!0),useEventListener(oe,"pointerup",()=>he.value=!1)),supportsTouchEvents()&&(useEventListener(oe,"touchstart",()=>he.value=!0),useEventListener(oe,"touchend",()=>he.value=!1))),de.focused&&(useEventListener(oe,"focus",()=>_e.value=!0),useEventListener(oe,"blur",()=>_e.value=!1)),watch(Ie,ue)}function registerLifeCycleHooks({set:oe,target:ie,variants:le,variant:ue}){const de=unref(le);watch(()=>ie,()=>{de&&(de.initial&&oe("initial"),de.enter&&(ue.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:oe,apply:ie}){watch(oe,le=>{le&&ie(le)},{immediate:!0})}function registerVisibilityHooks({target:oe,variants:ie,variant:le}){const ue=unref(ie);ue&&(ue.visible||ue.visibleOnce)&&useIntersectionObserver(oe,([{isIntersecting:de}])=>{ue.visible?de?le.value="visible":le.value="initial":ue.visibleOnce&&(de&&le.value!=="visibleOnce"?le.value="visibleOnce":le.value||(le.value="initial"))})}function useMotionFeatures(oe,ie={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){ie.lifeCycleHooks&&registerLifeCycleHooks(oe),ie.syncVariants&&registerVariantsSync(oe),ie.visibilityHooks&&registerVisibilityHooks(oe),ie.eventListeners&&registerEventListeners(oe)}function reactiveStyle(oe={}){const ie=reactive({...oe}),le=ref({});return watch(ie,()=>{const ue={};for(const[de,pe]of Object.entries(ie)){const he=getValueType(de),_e=getValueAsType(pe,he);ue[de]=_e}le.value=ue},{immediate:!0,deep:!0}),{state:ie,style:le}}function usePermissiveTarget(oe,ie){watch(()=>unrefElement(oe),le=>{le&&ie(le)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform(oe={},ie=!0){const le=reactive({...oe}),ue=ref("");return watch(le,de=>{let pe="",he=!1;if(ie&&(de.x||de.y||de.z)){const _e=[de.x||0,de.y||0,de.z||0].map(px.transform).join(",");pe+=`translate3d(${_e}) `,he=!0}for(const[_e,$e]of Object.entries(de)){if(ie&&(_e==="x"||_e==="y"||_e==="z"))continue;const Ie=getValueType(_e),Ve=getValueAsType($e,Ie);pe+=`${translateAlias[_e]||_e}(${Ve}) `}ie&&!he&&(pe+="translateZ(0px) "),ue.value=pe.trim()},{immediate:!0,deep:!0}),{state:le,transform:ue}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach(oe=>{transformAxes.forEach(ie=>{const le=oe+ie;transformProps.push(le)})});const transformPropSet=new Set(transformProps);function isTransformProp(oe){return transformPropSet.has(oe)}const transformOriginProps=new Set(["originX","originY","originZ"]);function isTransformOriginProp(oe){return transformOriginProps.has(oe)}function splitValues(oe){const ie={},le={};return Object.entries(oe).forEach(([ue,de])=>{isTransformProp(ue)||isTransformOriginProp(ue)?ie[ue]=de:le[ue]=de}),{transform:ie,style:le}}function variantToStyle(oe){const{transform:ie,style:le}=splitValues(oe),{transform:ue}=reactiveTransform(ie),{style:de}=reactiveStyle(le);return ue.value&&(de.value.transform=ue.value),de.value}function useElementStyle(oe,ie){let le,ue;const{state:de,style:pe}=reactiveStyle();return usePermissiveTarget(oe,he=>{ue=he;for(const _e of Object.keys(valueTypes))he.style[_e]===null||he.style[_e]===""||isTransformProp(_e)||isTransformOriginProp(_e)||(de[_e]=he.style[_e]);le&&Object.entries(le).forEach(([_e,$e])=>he.style[_e]=$e),ie&&ie(de)}),watch(pe,he=>{if(!ue){le=he;return}for(const _e in he)ue.style[_e]=he[_e]},{immediate:!0}),{style:de}}function parseTransform(oe){const ie=oe.trim().split(/\) |\)/);if(ie.length===1)return{};const le=ue=>ue.endsWith("px")||ue.endsWith("deg")?parseFloat(ue):isNaN(Number(ue))?Number(ue):ue;return ie.reduce((ue,de)=>{if(!de)return ue;const[pe,he]=de.split("("),$e=he.split(",").map(Ve=>le(Ve.endsWith(")")?Ve.replace(")",""):Ve.trim())),Ie=$e.length===1?$e[0]:$e;return{...ue,[pe]:Ie}},{})}function stateFromTransform(oe,ie){Object.entries(parseTransform(ie)).forEach(([le,ue])=>{const de=["x","y","z"];if(le==="translate3d"){if(ue===0){de.forEach(pe=>oe[pe]=0);return}ue.forEach((pe,he)=>oe[de[he]]=pe);return}if(ue=parseFloat(ue),le==="translateX"){oe.x=ue;return}if(le==="translateY"){oe.y=ue;return}if(le==="translateZ"){oe.z=ue;return}oe[le]=ue})}function useElementTransform(oe,ie){let le,ue;const{state:de,transform:pe}=reactiveTransform();return usePermissiveTarget(oe,he=>{ue=he,he.style.transform&&stateFromTransform(de,he.style.transform),le&&(he.style.transform=le),ie&&ie(de)}),watch(pe,he=>{if(!ue){le=he;return}ue.style.transform=he},{immediate:!0}),{transform:de}}function useMotionProperties(oe,ie){const le=reactive({}),ue=he=>Object.entries(he).forEach(([_e,$e])=>le[_e]=$e),{style:de}=useElementStyle(oe,ue),{transform:pe}=useElementTransform(oe,ue);return watch(le,he=>{Object.entries(he).forEach(([_e,$e])=>{const Ie=isTransformProp(_e)?pe:de;Ie[_e]&&Ie[_e]===$e||(Ie[_e]=$e)})},{immediate:!0,deep:!0}),usePermissiveTarget(oe,()=>ie&&ue(ie)),{motionProperties:le,style:de,transform:pe}}function useMotionVariants(oe={}){const ie=unref(oe),le=ref();return{state:computed(()=>{if(le.value)return ie[le.value]}),variant:le}}function useMotion(oe,ie={},le){const{motionProperties:ue}=useMotionProperties(oe),{variant:de,state:pe}=useMotionVariants(ie),he=useMotionControls(ue,ie),_e={target:oe,variant:de,variants:ie,state:pe,motionProperties:ue,...he};return useMotionFeatures(_e,le),_e}const directivePropsKeys=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function resolveVariants(oe,ie){const le=oe.props?oe.props:oe.data&&oe.data.attrs?oe.data.attrs:{};le&&(le.variants&&isObject$7(le.variants)&&(ie.value={...ie.value,...le.variants}),directivePropsKeys.forEach(ue=>{if(ue==="delay"){if(le&&le[ue]&&typeof le[ue]=="number"){const de=le[ue];ie&&ie.value&&(ie.value.enter&&(ie.value.enter.transition||(ie.value.enter.transition={}),ie.value.enter.transition={delay:de,...ie.value.enter.transition}),ie.value.visible&&(ie.value.visible.transition||(ie.value.visible.transition={}),ie.value.visible.transition={delay:de,...ie.value.visible.transition}),ie.value.visibleOnce&&(ie.value.visibleOnce.transition||(ie.value.visibleOnce.transition={}),ie.value.visibleOnce.transition={delay:de,...ie.value.visibleOnce.transition}))}return}ue==="visible-once"&&(ue="visibleOnce"),le&&le[ue]&&isObject$7(le[ue])&&(ie.value[ue]=le[ue])}))}function directive(oe){return{created:(le,ue,de)=>{const pe=ue.value&&typeof ue.value=="string"?ue.value:de.key;pe&&motionState[pe]&&motionState[pe].stop();const he=ref(oe||{});typeof ue.value=="object"&&(he.value=ue.value),resolveVariants(de,he);const _e=useMotion(le,he);le.motionInstance=_e,pe&&(motionState[pe]=_e)},getSSRProps(le,ue){let{initial:de}=le.value||ue&&(ue==null?void 0:ue.props)||{};de=unref(de);const pe=defu((oe==null?void 0:oe.initial)||{},de||{});return!pe||Object.keys(pe).length===0?void 0:{style:variantToStyle(pe)}}}}const fade={initial:{opacity:0},enter:{opacity:1}},fadeVisible={initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce={initial:{opacity:0},visibleOnce:{opacity:1}},pop$1={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollLeft={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleLeft={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceLeft={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollRight={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleRight={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollTop={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleTop={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceTop={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollBottom={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceBottom={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},slideLeft={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideVisibleLeft={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceLeft={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideRight={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideVisibleRight={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceRight={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideTop={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleTop={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceTop={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideBottom={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceBottom={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},presets={__proto__:null,fade,fadeVisible,fadeVisibleOnce,pop:pop$1,popVisible,popVisibleOnce,rollBottom,rollLeft,rollRight,rollTop,rollVisibleBottom,rollVisibleLeft,rollVisibleOnceBottom,rollVisibleOnceLeft,rollVisibleOnceRight,rollVisibleOnceTop,rollVisibleRight,rollVisibleTop,slideBottom,slideLeft,slideRight,slideTop,slideVisibleBottom,slideVisibleLeft,slideVisibleOnceBottom,slideVisibleOnceLeft,slideVisibleOnceRight,slideVisibleOnceTop,slideVisibleRight,slideVisibleTop},component=defineComponent({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(oe){var _e;const ie=useSlots(),le=reactive({});if(!oe.is&&!ie.default)return()=>h$3("div",{});const ue=computed(()=>{let $e;return oe.preset&&($e=presets[oe.preset]),$e}),de=computed(()=>({initial:oe.initial,enter:oe.enter,leave:oe.leave,visible:oe.visible,visibleOnce:oe.visibleOnce,hovered:oe.hovered,tapped:oe.tapped,focused:oe.focused})),pe=computed(()=>{const $e={...de.value,...ue.value||{},...oe.variants||{}};return oe.delay&&($e.enter.transition={...$e.enter.transition},$e.enter.transition.delay=parseInt(oe.delay)),$e}),he=computed(()=>{if(!oe.is)return;let $e=oe.is;return typeof he.value=="string"&&!isHTMLTag($e)&&($e=resolveComponent($e)),$e});if(((_e=process==null?void 0:process.env)==null?void 0:_e.NODE_ENV)==="development"||process!=null&&process.dev){const $e=Ie=>{var Ve;(Ve=Ie.variants)!=null&&Ve.initial&&Ie.set("initial"),setTimeout(()=>{var Fe,Ue,qe;(Fe=Ie.variants)!=null&&Fe.enter&&Ie.apply("enter"),(Ue=Ie.variants)!=null&&Ue.visible&&Ie.apply("visible"),(qe=Ie.variants)!=null&&qe.visibleOnce&&Ie.apply("visibleOnce")},10)};onUpdated(()=>Object.entries(le).forEach(([Ie,Ve])=>$e(Ve)))}return{slots:ie,component:he,motionConfig:pe,instances:le}},render({slots:oe,motionConfig:ie,instances:le,component:ue}){var _e;const de=variantToStyle(ie.initial||{}),pe=($e,Ie)=>($e.props||($e.props={}),$e.props.style=de,$e.props.onVnodeMounted=({el:Ve})=>{const Fe=useMotion(Ve,ie);le[Ie]=Fe},$e);if(ue){const $e=h$3(ue,void 0,oe);return pe($e,0),$e}return(((_e=oe.default)==null?void 0:_e.call(oe))||[]).map(($e,Ie)=>pe($e,Ie))}});function slugify(oe){const ie="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",le="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",ue=new RegExp(ie.split("").join("|"),"g");return oe.toString().replace(/[A-Z]/g,de=>`-${de}`).toLowerCase().replace(/\s+/g,"-").replace(ue,de=>le.charAt(ie.indexOf(de))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const MotionPlugin={install(oe,ie){if(oe.directive("motion",directive()),oe.component("Motion",component),!ie||ie&&!ie.excludePresets)for(const le in presets){const ue=presets[le];oe.directive(`motion-${slugify(le)}`,directive(ue))}if(ie&&ie.directives)for(const le in ie.directives){const ue=ie.directives[le];!ue.initial&&__DEV__&&console.warn(`Your directive v-motion-${le} is missing initial variant!`),oe.directive(`motion-${le}`,directive(ue))}}};/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var extendStatics=function(oe,ie){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ue){le.__proto__=ue}||function(le,ue){for(var de in ue)Object.prototype.hasOwnProperty.call(ue,de)&&(le[de]=ue[de])},extendStatics(oe,ie)};function __extends(oe,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");extendStatics(oe,ie);function le(){this.constructor=oe}oe.prototype=ie===null?Object.create(ie):(le.prototype=ie.prototype,new le)}var Browser=function(){function oe(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return oe}(),Env=function(){function oe(){this.browser=new Browser,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return oe}(),env=new Env;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(env.wxa=!0,env.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?env.worker=!0:typeof navigator>"u"?(env.node=!0,env.svgSupported=!0):detect(navigator.userAgent,env);function detect(oe,ie){var le=ie.browser,ue=oe.match(/Firefox\/([\d.]+)/),de=oe.match(/MSIE\s([\d.]+)/)||oe.match(/Trident\/.+?rv:(([\d.]+))/),pe=oe.match(/Edge?\/([\d.]+)/),he=/micromessenger/i.test(oe);ue&&(le.firefox=!0,le.version=ue[1]),de&&(le.ie=!0,le.version=de[1]),pe&&(le.edge=!0,le.version=pe[1],le.newEdge=+pe[1].split(".")[0]>18),he&&(le.weChat=!0),ie.svgSupported=typeof SVGRect<"u",ie.touchEventsSupported="ontouchstart"in window&&!le.ie&&!le.edge,ie.pointerEventsSupported="onpointerdown"in window&&(le.edge||le.ie&&+le.version>=11),ie.domSupported=typeof document<"u";var _e=document.documentElement.style;ie.transform3dSupported=(le.ie&&"transition"in _e||le.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in _e)&&!("OTransition"in _e),ie.transformSupported=ie.transform3dSupported||le.ie&&+le.version>=9}const env$1=env;var DEFAULT_FONT_SIZE=12,DEFAULT_FONT_FAMILY="sans-serif",DEFAULT_FONT=DEFAULT_FONT_SIZE+"px "+DEFAULT_FONT_FAMILY,OFFSET=20,SCALE=100,defaultWidthMapStr="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function getTextWidthMap(oe){var ie={};if(typeof JSON>"u")return ie;for(var le=0;le<oe.length;le++){var ue=String.fromCharCode(le+32),de=(oe.charCodeAt(le)-OFFSET)/SCALE;ie[ue]=de}return ie}var DEFAULT_TEXT_WIDTH_MAP=getTextWidthMap(defaultWidthMapStr),platformApi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var oe,ie;return function(le,ue){if(!oe){var de=platformApi.createCanvas();oe=de&&de.getContext("2d")}if(oe)return ie!==ue&&(ie=oe.font=ue||DEFAULT_FONT),oe.measureText(le);le=le||"",ue=ue||DEFAULT_FONT;var pe=/(\d+)px/.exec(ue),he=pe&&+pe[1]||DEFAULT_FONT_SIZE,_e=0;if(ue.indexOf("mono")>=0)_e=he*le.length;else for(var $e=0;$e<le.length;$e++){var Ie=DEFAULT_TEXT_WIDTH_MAP[le[$e]];_e+=Ie==null?he:Ie*he}return{width:_e}}}(),loadImage:function(oe,ie,le){var ue=new Image;return ue.onload=ie,ue.onerror=le,ue.src=oe,ue}};function setPlatformAPI(oe){for(var ie in platformApi)oe[ie]&&(platformApi[ie]=oe[ie])}var BUILTIN_OBJECT=reduce(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(oe,ie){return oe["[object "+ie+"]"]=!0,oe},{}),TYPED_ARRAY=reduce(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(oe,ie){return oe["[object "+ie+"Array]"]=!0,oe},{}),objToString=Object.prototype.toString,arrayProto=Array.prototype,nativeForEach=arrayProto.forEach,nativeFilter=arrayProto.filter,nativeSlice=arrayProto.slice,nativeMap=arrayProto.map,ctorFunction=function(){}.constructor,protoFunction=ctorFunction?ctorFunction.prototype:null,protoKey="__proto__",idStart=2311;function guid(){return idStart++}function logError(){for(var oe=[],ie=0;ie<arguments.length;ie++)oe[ie]=arguments[ie];typeof console<"u"&&console.error.apply(console,oe)}function clone$3(oe){if(oe==null||typeof oe!="object")return oe;var ie=oe,le=objToString.call(oe);if(le==="[object Array]"){if(!isPrimitive(oe)){ie=[];for(var ue=0,de=oe.length;ue<de;ue++)ie[ue]=clone$3(oe[ue])}}else if(TYPED_ARRAY[le]){if(!isPrimitive(oe)){var pe=oe.constructor;if(pe.from)ie=pe.from(oe);else{ie=new pe(oe.length);for(var ue=0,de=oe.length;ue<de;ue++)ie[ue]=oe[ue]}}}else if(!BUILTIN_OBJECT[le]&&!isPrimitive(oe)&&!isDom(oe)){ie={};for(var he in oe)oe.hasOwnProperty(he)&&he!==protoKey&&(ie[he]=clone$3(oe[he]))}return ie}function merge(oe,ie,le){if(!isObject$3(ie)||!isObject$3(oe))return le?clone$3(ie):oe;for(var ue in ie)if(ie.hasOwnProperty(ue)&&ue!==protoKey){var de=oe[ue],pe=ie[ue];isObject$3(pe)&&isObject$3(de)&&!isArray$1(pe)&&!isArray$1(de)&&!isDom(pe)&&!isDom(de)&&!isBuiltInObject(pe)&&!isBuiltInObject(de)&&!isPrimitive(pe)&&!isPrimitive(de)?merge(de,pe,le):(le||!(ue in oe))&&(oe[ue]=clone$3(ie[ue]))}return oe}function mergeAll(oe,ie){for(var le=oe[0],ue=1,de=oe.length;ue<de;ue++)le=merge(le,oe[ue],ie);return le}function extend(oe,ie){if(Object.assign)Object.assign(oe,ie);else for(var le in ie)ie.hasOwnProperty(le)&&le!==protoKey&&(oe[le]=ie[le]);return oe}function defaults(oe,ie,le){for(var ue=keys(ie),de=0;de<ue.length;de++){var pe=ue[de];(le?ie[pe]!=null:oe[pe]==null)&&(oe[pe]=ie[pe])}return oe}var createCanvas=platformApi.createCanvas;function indexOf(oe,ie){if(oe){if(oe.indexOf)return oe.indexOf(ie);for(var le=0,ue=oe.length;le<ue;le++)if(oe[le]===ie)return le}return-1}function inherits(oe,ie){var le=oe.prototype;function ue(){}ue.prototype=ie.prototype,oe.prototype=new ue;for(var de in le)le.hasOwnProperty(de)&&(oe.prototype[de]=le[de]);oe.prototype.constructor=oe,oe.superClass=ie}function mixin(oe,ie,le){if(oe="prototype"in oe?oe.prototype:oe,ie="prototype"in ie?ie.prototype:ie,Object.getOwnPropertyNames)for(var ue=Object.getOwnPropertyNames(ie),de=0;de<ue.length;de++){var pe=ue[de];pe!=="constructor"&&(le?ie[pe]!=null:oe[pe]==null)&&(oe[pe]=ie[pe])}else defaults(oe,ie,le)}function isArrayLike(oe){return!oe||typeof oe=="string"?!1:typeof oe.length=="number"}function each$c(oe,ie,le){if(oe&&ie)if(oe.forEach&&oe.forEach===nativeForEach)oe.forEach(ie,le);else if(oe.length===+oe.length)for(var ue=0,de=oe.length;ue<de;ue++)ie.call(le,oe[ue],ue,oe);else for(var pe in oe)oe.hasOwnProperty(pe)&&ie.call(le,oe[pe],pe,oe)}function map$2(oe,ie,le){if(!oe)return[];if(!ie)return slice(oe);if(oe.map&&oe.map===nativeMap)return oe.map(ie,le);for(var ue=[],de=0,pe=oe.length;de<pe;de++)ue.push(ie.call(le,oe[de],de,oe));return ue}function reduce(oe,ie,le,ue){if(oe&&ie){for(var de=0,pe=oe.length;de<pe;de++)le=ie.call(ue,le,oe[de],de,oe);return le}}function filter(oe,ie,le){if(!oe)return[];if(!ie)return slice(oe);if(oe.filter&&oe.filter===nativeFilter)return oe.filter(ie,le);for(var ue=[],de=0,pe=oe.length;de<pe;de++)ie.call(le,oe[de],de,oe)&&ue.push(oe[de]);return ue}function find(oe,ie,le){if(oe&&ie){for(var ue=0,de=oe.length;ue<de;ue++)if(ie.call(le,oe[ue],ue,oe))return oe[ue]}}function keys(oe){if(!oe)return[];if(Object.keys)return Object.keys(oe);var ie=[];for(var le in oe)oe.hasOwnProperty(le)&&ie.push(le);return ie}function bindPolyfill(oe,ie){for(var le=[],ue=2;ue<arguments.length;ue++)le[ue-2]=arguments[ue];return function(){return oe.apply(ie,le.concat(nativeSlice.call(arguments)))}}var bind$1=protoFunction&&isFunction(protoFunction.bind)?protoFunction.call.bind(protoFunction.bind):bindPolyfill;function curry$1(oe){for(var ie=[],le=1;le<arguments.length;le++)ie[le-1]=arguments[le];return function(){return oe.apply(this,ie.concat(nativeSlice.call(arguments)))}}function isArray$1(oe){return Array.isArray?Array.isArray(oe):objToString.call(oe)==="[object Array]"}function isFunction(oe){return typeof oe=="function"}function isString(oe){return typeof oe=="string"}function isStringSafe(oe){return objToString.call(oe)==="[object String]"}function isNumber(oe){return typeof oe=="number"}function isObject$3(oe){var ie=typeof oe;return ie==="function"||!!oe&&ie==="object"}function isBuiltInObject(oe){return!!BUILTIN_OBJECT[objToString.call(oe)]}function isTypedArray(oe){return!!TYPED_ARRAY[objToString.call(oe)]}function isDom(oe){return typeof oe=="object"&&typeof oe.nodeType=="number"&&typeof oe.ownerDocument=="object"}function isGradientObject(oe){return oe.colorStops!=null}function isImagePatternObject(oe){return oe.image!=null}function isRegExp(oe){return objToString.call(oe)==="[object RegExp]"}function eqNaN(oe){return oe!==oe}function retrieve(){for(var oe=[],ie=0;ie<arguments.length;ie++)oe[ie]=arguments[ie];for(var le=0,ue=oe.length;le<ue;le++)if(oe[le]!=null)return oe[le]}function retrieve2(oe,ie){return oe??ie}function retrieve3(oe,ie,le){return oe??ie??le}function slice(oe){for(var ie=[],le=1;le<arguments.length;le++)ie[le-1]=arguments[le];return nativeSlice.apply(oe,ie)}function normalizeCssArray$1(oe){if(typeof oe=="number")return[oe,oe,oe,oe];var ie=oe.length;return ie===2?[oe[0],oe[1],oe[0],oe[1]]:ie===3?[oe[0],oe[1],oe[2],oe[1]]:oe}function assert(oe,ie){if(!oe)throw new Error(ie)}function trim$1(oe){return oe==null?null:typeof oe.trim=="function"?oe.trim():oe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var primitiveKey="__ec_primitive__";function setAsPrimitive(oe){oe[primitiveKey]=!0}function isPrimitive(oe){return oe[primitiveKey]}var MapPolyfill=function(){function oe(){this.data={}}return oe.prototype.delete=function(ie){var le=this.has(ie);return le&&delete this.data[ie],le},oe.prototype.has=function(ie){return this.data.hasOwnProperty(ie)},oe.prototype.get=function(ie){return this.data[ie]},oe.prototype.set=function(ie,le){return this.data[ie]=le,this},oe.prototype.keys=function(){return keys(this.data)},oe.prototype.forEach=function(ie){var le=this.data;for(var ue in le)le.hasOwnProperty(ue)&&ie(le[ue],ue)},oe}(),isNativeMapSupported=typeof Map=="function";function maybeNativeMap(){return isNativeMapSupported?new Map:new MapPolyfill}var HashMap=function(){function oe(ie){var le=isArray$1(ie);this.data=maybeNativeMap();var ue=this;ie instanceof oe?ie.each(de):ie&&each$c(ie,de);function de(pe,he){le?ue.set(pe,he):ue.set(he,pe)}}return oe.prototype.hasKey=function(ie){return this.data.has(ie)},oe.prototype.get=function(ie){return this.data.get(ie)},oe.prototype.set=function(ie,le){return this.data.set(ie,le),le},oe.prototype.each=function(ie,le){this.data.forEach(function(ue,de){ie.call(le,ue,de)})},oe.prototype.keys=function(){var ie=this.data.keys();return isNativeMapSupported?Array.from(ie):ie},oe.prototype.removeKey=function(ie){this.data.delete(ie)},oe}();function createHashMap(oe){return new HashMap(oe)}function concatArray(oe,ie){for(var le=new oe.constructor(oe.length+ie.length),ue=0;ue<oe.length;ue++)le[ue]=oe[ue];for(var de=oe.length,ue=0;ue<ie.length;ue++)le[ue+de]=ie[ue];return le}function createObject(oe,ie){var le;if(Object.create)le=Object.create(oe);else{var ue=function(){};ue.prototype=oe,le=new ue}return ie&&extend(le,ie),le}function disableUserSelect(oe){var ie=oe.style;ie.webkitUserSelect="none",ie.userSelect="none",ie.webkitTapHighlightColor="rgba(0,0,0,0)",ie["-webkit-touch-callout"]="none"}function hasOwn(oe,ie){return oe.hasOwnProperty(ie)}function noop(){}var RADIAN_TO_DEGREE=180/Math.PI;const util$1=Object.freeze(Object.defineProperty({__proto__:null,HashMap,RADIAN_TO_DEGREE,assert,bind:bind$1,clone:clone$3,concatArray,createCanvas,createHashMap,createObject,curry:curry$1,defaults,disableUserSelect,each:each$c,eqNaN,extend,filter,find,guid,hasOwn,indexOf,inherits,isArray:isArray$1,isArrayLike,isBuiltInObject,isDom,isFunction,isGradientObject,isImagePatternObject,isNumber,isObject:isObject$3,isPrimitive,isRegExp,isString,isStringSafe,isTypedArray,keys,logError,map:map$2,merge,mergeAll,mixin,noop,normalizeCssArray:normalizeCssArray$1,reduce,retrieve,retrieve2,retrieve3,setAsPrimitive,slice,trim:trim$1},Symbol.toStringTag,{value:"Module"}));function create$1(oe,ie){return oe==null&&(oe=0),ie==null&&(ie=0),[oe,ie]}function copy$2(oe,ie){return oe[0]=ie[0],oe[1]=ie[1],oe}function clone$2(oe){return[oe[0],oe[1]]}function set$1(oe,ie,le){return oe[0]=ie,oe[1]=le,oe}function add(oe,ie,le){return oe[0]=ie[0]+le[0],oe[1]=ie[1]+le[1],oe}function scaleAndAdd(oe,ie,le,ue){return oe[0]=ie[0]+le[0]*ue,oe[1]=ie[1]+le[1]*ue,oe}function sub(oe,ie,le){return oe[0]=ie[0]-le[0],oe[1]=ie[1]-le[1],oe}function len(oe){return Math.sqrt(lenSquare(oe))}var length=len;function lenSquare(oe){return oe[0]*oe[0]+oe[1]*oe[1]}var lengthSquare=lenSquare;function mul$1(oe,ie,le){return oe[0]=ie[0]*le[0],oe[1]=ie[1]*le[1],oe}function div(oe,ie,le){return oe[0]=ie[0]/le[0],oe[1]=ie[1]/le[1],oe}function dot(oe,ie){return oe[0]*ie[0]+oe[1]*ie[1]}function scale$2(oe,ie,le){return oe[0]=ie[0]*le,oe[1]=ie[1]*le,oe}function normalize$1(oe,ie){var le=len(ie);return le===0?(oe[0]=0,oe[1]=0):(oe[0]=ie[0]/le,oe[1]=ie[1]/le),oe}function distance(oe,ie){return Math.sqrt((oe[0]-ie[0])*(oe[0]-ie[0])+(oe[1]-ie[1])*(oe[1]-ie[1]))}var dist$1=distance;function distanceSquare(oe,ie){return(oe[0]-ie[0])*(oe[0]-ie[0])+(oe[1]-ie[1])*(oe[1]-ie[1])}var distSquare=distanceSquare;function negate(oe,ie){return oe[0]=-ie[0],oe[1]=-ie[1],oe}function lerp$1(oe,ie,le,ue){return oe[0]=ie[0]+ue*(le[0]-ie[0]),oe[1]=ie[1]+ue*(le[1]-ie[1]),oe}function applyTransform$1(oe,ie,le){var ue=ie[0],de=ie[1];return oe[0]=le[0]*ue+le[2]*de+le[4],oe[1]=le[1]*ue+le[3]*de+le[5],oe}function min$1(oe,ie,le){return oe[0]=Math.min(ie[0],le[0]),oe[1]=Math.min(ie[1],le[1]),oe}function max$1(oe,ie,le){return oe[0]=Math.max(ie[0],le[0]),oe[1]=Math.max(ie[1],le[1]),oe}const vector=Object.freeze(Object.defineProperty({__proto__:null,add,applyTransform:applyTransform$1,clone:clone$2,copy:copy$2,create:create$1,dist:dist$1,distSquare,distance,distanceSquare,div,dot,len,lenSquare,length,lengthSquare,lerp:lerp$1,max:max$1,min:min$1,mul:mul$1,negate,normalize:normalize$1,scale:scale$2,scaleAndAdd,set:set$1,sub},Symbol.toStringTag,{value:"Module"}));var Param=function(){function oe(ie,le){this.target=ie,this.topTarget=le&&le.topTarget}return oe}(),Draggable=function(){function oe(ie){this.handler=ie,ie.on("mousedown",this._dragStart,this),ie.on("mousemove",this._drag,this),ie.on("mouseup",this._dragEnd,this)}return oe.prototype._dragStart=function(ie){for(var le=ie.target;le&&!le.draggable;)le=le.parent||le.__hostTarget;le&&(this._draggingTarget=le,le.dragging=!0,this._x=ie.offsetX,this._y=ie.offsetY,this.handler.dispatchToElement(new Param(le,ie),"dragstart",ie.event))},oe.prototype._drag=function(ie){var le=this._draggingTarget;if(le){var ue=ie.offsetX,de=ie.offsetY,pe=ue-this._x,he=de-this._y;this._x=ue,this._y=de,le.drift(pe,he,ie),this.handler.dispatchToElement(new Param(le,ie),"drag",ie.event);var _e=this.handler.findHover(ue,de,le).target,$e=this._dropTarget;this._dropTarget=_e,le!==_e&&($e&&_e!==$e&&this.handler.dispatchToElement(new Param($e,ie),"dragleave",ie.event),_e&&_e!==$e&&this.handler.dispatchToElement(new Param(_e,ie),"dragenter",ie.event))}},oe.prototype._dragEnd=function(ie){var le=this._draggingTarget;le&&(le.dragging=!1),this.handler.dispatchToElement(new Param(le,ie),"dragend",ie.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,ie),"drop",ie.event),this._draggingTarget=null,this._dropTarget=null},oe}();const Draggable$1=Draggable;var Eventful=function(){function oe(ie){ie&&(this._$eventProcessor=ie)}return oe.prototype.on=function(ie,le,ue,de){this._$handlers||(this._$handlers={});var pe=this._$handlers;if(typeof le=="function"&&(de=ue,ue=le,le=null),!ue||!ie)return this;var he=this._$eventProcessor;le!=null&&he&&he.normalizeQuery&&(le=he.normalizeQuery(le)),pe[ie]||(pe[ie]=[]);for(var _e=0;_e<pe[ie].length;_e++)if(pe[ie][_e].h===ue)return this;var $e={h:ue,query:le,ctx:de||this,callAtLast:ue.zrEventfulCallAtLast},Ie=pe[ie].length-1,Ve=pe[ie][Ie];return Ve&&Ve.callAtLast?pe[ie].splice(Ie,0,$e):pe[ie].push($e),this},oe.prototype.isSilent=function(ie){var le=this._$handlers;return!le||!le[ie]||!le[ie].length},oe.prototype.off=function(ie,le){var ue=this._$handlers;if(!ue)return this;if(!ie)return this._$handlers={},this;if(le){if(ue[ie]){for(var de=[],pe=0,he=ue[ie].length;pe<he;pe++)ue[ie][pe].h!==le&&de.push(ue[ie][pe]);ue[ie]=de}ue[ie]&&ue[ie].length===0&&delete ue[ie]}else delete ue[ie];return this},oe.prototype.trigger=function(ie){for(var le=[],ue=1;ue<arguments.length;ue++)le[ue-1]=arguments[ue];if(!this._$handlers)return this;var de=this._$handlers[ie],pe=this._$eventProcessor;if(de)for(var he=le.length,_e=de.length,$e=0;$e<_e;$e++){var Ie=de[$e];if(!(pe&&pe.filter&&Ie.query!=null&&!pe.filter(ie,Ie.query)))switch(he){case 0:Ie.h.call(Ie.ctx);break;case 1:Ie.h.call(Ie.ctx,le[0]);break;case 2:Ie.h.call(Ie.ctx,le[0],le[1]);break;default:Ie.h.apply(Ie.ctx,le);break}}return pe&&pe.afterTrigger&&pe.afterTrigger(ie),this},oe.prototype.triggerWithContext=function(ie){for(var le=[],ue=1;ue<arguments.length;ue++)le[ue-1]=arguments[ue];if(!this._$handlers)return this;var de=this._$handlers[ie],pe=this._$eventProcessor;if(de)for(var he=le.length,_e=le[he-1],$e=de.length,Ie=0;Ie<$e;Ie++){var Ve=de[Ie];if(!(pe&&pe.filter&&Ve.query!=null&&!pe.filter(ie,Ve.query)))switch(he){case 0:Ve.h.call(_e);break;case 1:Ve.h.call(_e,le[0]);break;case 2:Ve.h.call(_e,le[0],le[1]);break;default:Ve.h.apply(_e,le.slice(1,he-1));break}}return pe&&pe.afterTrigger&&pe.afterTrigger(ie),this},oe}();const Eventful$1=Eventful;var LN2=Math.log(2);function determinant(oe,ie,le,ue,de,pe){var he=ue+"-"+de,_e=oe.length;if(pe.hasOwnProperty(he))return pe[he];if(ie===1){var $e=Math.round(Math.log((1<<_e)-1&~de)/LN2);return oe[le][$e]}for(var Ie=ue|1<<le,Ve=le+1;ue&1<<Ve;)Ve++;for(var Fe=0,Ue=0,qe=0;Ue<_e;Ue++){var Et=1<<Ue;Et&de||(Fe+=(qe%2?-1:1)*oe[le][Ue]*determinant(oe,ie-1,Ve,Ie,de|Et,pe),qe++)}return pe[he]=Fe,Fe}function buildTransformer(oe,ie){var le=[[oe[0],oe[1],1,0,0,0,-ie[0]*oe[0],-ie[0]*oe[1]],[0,0,0,oe[0],oe[1],1,-ie[1]*oe[0],-ie[1]*oe[1]],[oe[2],oe[3],1,0,0,0,-ie[2]*oe[2],-ie[2]*oe[3]],[0,0,0,oe[2],oe[3],1,-ie[3]*oe[2],-ie[3]*oe[3]],[oe[4],oe[5],1,0,0,0,-ie[4]*oe[4],-ie[4]*oe[5]],[0,0,0,oe[4],oe[5],1,-ie[5]*oe[4],-ie[5]*oe[5]],[oe[6],oe[7],1,0,0,0,-ie[6]*oe[6],-ie[6]*oe[7]],[0,0,0,oe[6],oe[7],1,-ie[7]*oe[6],-ie[7]*oe[7]]],ue={},de=determinant(le,8,0,0,0,ue);if(de!==0){for(var pe=[],he=0;he<8;he++)for(var _e=0;_e<8;_e++)pe[_e]==null&&(pe[_e]=0),pe[_e]+=((he+_e)%2?-1:1)*determinant(le,7,he===0?1:0,1<<he,1<<_e,ue)/de*ie[he];return function($e,Ie,Ve){var Fe=Ie*pe[6]+Ve*pe[7]+1;$e[0]=(Ie*pe[0]+Ve*pe[1]+pe[2])/Fe,$e[1]=(Ie*pe[3]+Ve*pe[4]+pe[5])/Fe}}}var EVENT_SAVED_PROP="___zrEVENTSAVED",_calcOut$1=[];function transformLocalCoord(oe,ie,le,ue,de){return transformCoordWithViewport(_calcOut$1,ie,ue,de,!0)&&transformCoordWithViewport(oe,le,_calcOut$1[0],_calcOut$1[1])}function transformCoordWithViewport(oe,ie,le,ue,de){if(ie.getBoundingClientRect&&env$1.domSupported&&!isCanvasEl(ie)){var pe=ie[EVENT_SAVED_PROP]||(ie[EVENT_SAVED_PROP]={}),he=prepareCoordMarkers(ie,pe),_e=preparePointerTransformer(he,pe,de);if(_e)return _e(oe,le,ue),!0}return!1}function prepareCoordMarkers(oe,ie){var le=ie.markers;if(le)return le;le=ie.markers=[];for(var ue=["left","right"],de=["top","bottom"],pe=0;pe<4;pe++){var he=document.createElement("div"),_e=he.style,$e=pe%2,Ie=(pe>>1)%2;_e.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",ue[$e]+":0",de[Ie]+":0",ue[1-$e]+":auto",de[1-Ie]+":auto",""].join("!important;"),oe.appendChild(he),le.push(he)}return le}function preparePointerTransformer(oe,ie,le){for(var ue=le?"invTrans":"trans",de=ie[ue],pe=ie.srcCoords,he=[],_e=[],$e=!0,Ie=0;Ie<4;Ie++){var Ve=oe[Ie].getBoundingClientRect(),Fe=2*Ie,Ue=Ve.left,qe=Ve.top;he.push(Ue,qe),$e=$e&&pe&&Ue===pe[Fe]&&qe===pe[Fe+1],_e.push(oe[Ie].offsetLeft,oe[Ie].offsetTop)}return $e&&de?de:(ie.srcCoords=he,ie[ue]=le?buildTransformer(_e,he):buildTransformer(he,_e))}function isCanvasEl(oe){return oe.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function encodeHTML(oe){return oe==null?"":(oe+"").replace(replaceReg,function(ie,le){return replaceMap[le]})}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env$1.browser.firefox&&+env$1.browser.version.split(".")[0]<39;function clientToLocal(oe,ie,le,ue){return le=le||{},ue?calculateZrXY(oe,ie,le):firefoxNotSupportOffsetXY&&ie.layerX!=null&&ie.layerX!==ie.offsetX?(le.zrX=ie.layerX,le.zrY=ie.layerY):ie.offsetX!=null?(le.zrX=ie.offsetX,le.zrY=ie.offsetY):calculateZrXY(oe,ie,le),le}function calculateZrXY(oe,ie,le){if(env$1.domSupported&&oe.getBoundingClientRect){var ue=ie.clientX,de=ie.clientY;if(isCanvasEl(oe)){var pe=oe.getBoundingClientRect();le.zrX=ue-pe.left,le.zrY=de-pe.top;return}else if(transformCoordWithViewport(_calcOut,oe,ue,de)){le.zrX=_calcOut[0],le.zrY=_calcOut[1];return}}le.zrX=le.zrY=0}function getNativeEvent(oe){return oe||window.event}function normalizeEvent(oe,ie,le){if(ie=getNativeEvent(ie),ie.zrX!=null)return ie;var ue=ie.type,de=ue&&ue.indexOf("touch")>=0;if(de){var he=ue!=="touchend"?ie.targetTouches[0]:ie.changedTouches[0];he&&clientToLocal(oe,he,ie,le)}else{clientToLocal(oe,ie,ie,le);var pe=getWheelDeltaMayPolyfill(ie);ie.zrDelta=pe?pe/120:-(ie.detail||0)/3}var _e=ie.button;return ie.which==null&&_e!==void 0&&MOUSE_EVENT_REG.test(ie.type)&&(ie.which=_e&1?1:_e&2?3:_e&4?2:0),ie}function getWheelDeltaMayPolyfill(oe){var ie=oe.wheelDelta;if(ie)return ie;var le=oe.deltaX,ue=oe.deltaY;if(le==null||ue==null)return ie;var de=Math.abs(ue!==0?ue:le),pe=ue>0?-1:ue<0?1:le>0?-1:1;return 3*de*pe}function addEventListener(oe,ie,le,ue){oe.addEventListener(ie,le,ue)}function removeEventListener(oe,ie,le,ue){oe.removeEventListener(ie,le,ue)}var stop=function(oe){oe.preventDefault(),oe.stopPropagation(),oe.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(oe){return oe.which===2||oe.which===3}var GestureMgr=function(){function oe(){this._track=[]}return oe.prototype.recognize=function(ie,le,ue){return this._doTrack(ie,le,ue),this._recognize(ie)},oe.prototype.clear=function(){return this._track.length=0,this},oe.prototype._doTrack=function(ie,le,ue){var de=ie.touches;if(de){for(var pe={points:[],touches:[],target:le,event:ie},he=0,_e=de.length;he<_e;he++){var $e=de[he],Ie=clientToLocal(ue,$e,{});pe.points.push([Ie.zrX,Ie.zrY]),pe.touches.push($e)}this._track.push(pe)}},oe.prototype._recognize=function(ie){for(var le in recognizers)if(recognizers.hasOwnProperty(le)){var ue=recognizers[le](this._track,ie);if(ue)return ue}},oe}();function dist(oe){var ie=oe[1][0]-oe[0][0],le=oe[1][1]-oe[0][1];return Math.sqrt(ie*ie+le*le)}function center(oe){return[(oe[0][0]+oe[1][0])/2,(oe[0][1]+oe[1][1])/2]}var recognizers={pinch:function(oe,ie){var le=oe.length;if(le){var ue=(oe[le-1]||{}).points,de=(oe[le-2]||{}).points||ue;if(de&&de.length>1&&ue&&ue.length>1){var pe=dist(ue)/dist(de);!isFinite(pe)&&(pe=1),ie.pinchScale=pe;var he=center(ue);return ie.pinchX=he[0],ie.pinchY=he[1],{type:"pinch",target:oe[0].target,event:ie}}}}};function create(){return[1,0,0,1,0,0]}function identity(oe){return oe[0]=1,oe[1]=0,oe[2]=0,oe[3]=1,oe[4]=0,oe[5]=0,oe}function copy$1(oe,ie){return oe[0]=ie[0],oe[1]=ie[1],oe[2]=ie[2],oe[3]=ie[3],oe[4]=ie[4],oe[5]=ie[5],oe}function mul(oe,ie,le){var ue=ie[0]*le[0]+ie[2]*le[1],de=ie[1]*le[0]+ie[3]*le[1],pe=ie[0]*le[2]+ie[2]*le[3],he=ie[1]*le[2]+ie[3]*le[3],_e=ie[0]*le[4]+ie[2]*le[5]+ie[4],$e=ie[1]*le[4]+ie[3]*le[5]+ie[5];return oe[0]=ue,oe[1]=de,oe[2]=pe,oe[3]=he,oe[4]=_e,oe[5]=$e,oe}function translate(oe,ie,le){return oe[0]=ie[0],oe[1]=ie[1],oe[2]=ie[2],oe[3]=ie[3],oe[4]=ie[4]+le[0],oe[5]=ie[5]+le[1],oe}function rotate(oe,ie,le){var ue=ie[0],de=ie[2],pe=ie[4],he=ie[1],_e=ie[3],$e=ie[5],Ie=Math.sin(le),Ve=Math.cos(le);return oe[0]=ue*Ve+he*Ie,oe[1]=-ue*Ie+he*Ve,oe[2]=de*Ve+_e*Ie,oe[3]=-de*Ie+Ve*_e,oe[4]=Ve*pe+Ie*$e,oe[5]=Ve*$e-Ie*pe,oe}function scale$1(oe,ie,le){var ue=le[0],de=le[1];return oe[0]=ie[0]*ue,oe[1]=ie[1]*de,oe[2]=ie[2]*ue,oe[3]=ie[3]*de,oe[4]=ie[4]*ue,oe[5]=ie[5]*de,oe}function invert(oe,ie){var le=ie[0],ue=ie[2],de=ie[4],pe=ie[1],he=ie[3],_e=ie[5],$e=le*he-pe*ue;return $e?($e=1/$e,oe[0]=he*$e,oe[1]=-pe*$e,oe[2]=-ue*$e,oe[3]=le*$e,oe[4]=(ue*_e-he*de)*$e,oe[5]=(pe*de-le*_e)*$e,oe):null}function clone$1(oe){var ie=create();return copy$1(ie,oe),ie}const matrix=Object.freeze(Object.defineProperty({__proto__:null,clone:clone$1,copy:copy$1,create,identity,invert,mul,rotate,scale:scale$1,translate},Symbol.toStringTag,{value:"Module"}));var Point=function(){function oe(ie,le){this.x=ie||0,this.y=le||0}return oe.prototype.copy=function(ie){return this.x=ie.x,this.y=ie.y,this},oe.prototype.clone=function(){return new oe(this.x,this.y)},oe.prototype.set=function(ie,le){return this.x=ie,this.y=le,this},oe.prototype.equal=function(ie){return ie.x===this.x&&ie.y===this.y},oe.prototype.add=function(ie){return this.x+=ie.x,this.y+=ie.y,this},oe.prototype.scale=function(ie){this.x*=ie,this.y*=ie},oe.prototype.scaleAndAdd=function(ie,le){this.x+=ie.x*le,this.y+=ie.y*le},oe.prototype.sub=function(ie){return this.x-=ie.x,this.y-=ie.y,this},oe.prototype.dot=function(ie){return this.x*ie.x+this.y*ie.y},oe.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},oe.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},oe.prototype.normalize=function(){var ie=this.len();return this.x/=ie,this.y/=ie,this},oe.prototype.distance=function(ie){var le=this.x-ie.x,ue=this.y-ie.y;return Math.sqrt(le*le+ue*ue)},oe.prototype.distanceSquare=function(ie){var le=this.x-ie.x,ue=this.y-ie.y;return le*le+ue*ue},oe.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},oe.prototype.transform=function(ie){if(ie){var le=this.x,ue=this.y;return this.x=ie[0]*le+ie[2]*ue+ie[4],this.y=ie[1]*le+ie[3]*ue+ie[5],this}},oe.prototype.toArray=function(ie){return ie[0]=this.x,ie[1]=this.y,ie},oe.prototype.fromArray=function(ie){this.x=ie[0],this.y=ie[1]},oe.set=function(ie,le,ue){ie.x=le,ie.y=ue},oe.copy=function(ie,le){ie.x=le.x,ie.y=le.y},oe.len=function(ie){return Math.sqrt(ie.x*ie.x+ie.y*ie.y)},oe.lenSquare=function(ie){return ie.x*ie.x+ie.y*ie.y},oe.dot=function(ie,le){return ie.x*le.x+ie.y*le.y},oe.add=function(ie,le,ue){ie.x=le.x+ue.x,ie.y=le.y+ue.y},oe.sub=function(ie,le,ue){ie.x=le.x-ue.x,ie.y=le.y-ue.y},oe.scale=function(ie,le,ue){ie.x=le.x*ue,ie.y=le.y*ue},oe.scaleAndAdd=function(ie,le,ue,de){ie.x=le.x+ue.x*de,ie.y=le.y+ue.y*de},oe.lerp=function(ie,le,ue,de){var pe=1-de;ie.x=pe*le.x+de*ue.x,ie.y=pe*le.y+de*ue.y},oe}();const Point$1=Point;var mathMin$8=Math.min,mathMax$8=Math.max,lt=new Point$1,rb=new Point$1,lb=new Point$1,rt=new Point$1,minTv$1=new Point$1,maxTv$1=new Point$1,BoundingRect=function(){function oe(ie,le,ue,de){ue<0&&(ie=ie+ue,ue=-ue),de<0&&(le=le+de,de=-de),this.x=ie,this.y=le,this.width=ue,this.height=de}return oe.prototype.union=function(ie){var le=mathMin$8(ie.x,this.x),ue=mathMin$8(ie.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$8(ie.x+ie.width,this.x+this.width)-le:this.width=ie.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$8(ie.y+ie.height,this.y+this.height)-ue:this.height=ie.height,this.x=le,this.y=ue},oe.prototype.applyTransform=function(ie){oe.applyTransform(this,this,ie)},oe.prototype.calculateTransform=function(ie){var le=this,ue=ie.width/le.width,de=ie.height/le.height,pe=create();return translate(pe,pe,[-le.x,-le.y]),scale$1(pe,pe,[ue,de]),translate(pe,pe,[ie.x,ie.y]),pe},oe.prototype.intersect=function(ie,le){if(!ie)return!1;ie instanceof oe||(ie=oe.create(ie));var ue=this,de=ue.x,pe=ue.x+ue.width,he=ue.y,_e=ue.y+ue.height,$e=ie.x,Ie=ie.x+ie.width,Ve=ie.y,Fe=ie.y+ie.height,Ue=!(pe<$e||Ie<de||_e<Ve||Fe<he);if(le){var qe=1/0,Et=0,At=Math.abs(pe-$e),Lt=Math.abs(Ie-de),hn=Math.abs(_e-Ve),vn=Math.abs(Fe-he),_n=Math.min(At,Lt),bn=Math.min(hn,vn);pe<$e||Ie<de?_n>Et&&(Et=_n,At<Lt?Point$1.set(maxTv$1,-At,0):Point$1.set(maxTv$1,Lt,0)):_n<qe&&(qe=_n,At<Lt?Point$1.set(minTv$1,At,0):Point$1.set(minTv$1,-Lt,0)),_e<Ve||Fe<he?bn>Et&&(Et=bn,hn<vn?Point$1.set(maxTv$1,0,-hn):Point$1.set(maxTv$1,0,vn)):_n<qe&&(qe=_n,hn<vn?Point$1.set(minTv$1,0,hn):Point$1.set(minTv$1,0,-vn))}return le&&Point$1.copy(le,Ue?minTv$1:maxTv$1),Ue},oe.prototype.contain=function(ie,le){var ue=this;return ie>=ue.x&&ie<=ue.x+ue.width&&le>=ue.y&&le<=ue.y+ue.height},oe.prototype.clone=function(){return new oe(this.x,this.y,this.width,this.height)},oe.prototype.copy=function(ie){oe.copy(this,ie)},oe.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},oe.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},oe.prototype.isZero=function(){return this.width===0||this.height===0},oe.create=function(ie){return new oe(ie.x,ie.y,ie.width,ie.height)},oe.copy=function(ie,le){ie.x=le.x,ie.y=le.y,ie.width=le.width,ie.height=le.height},oe.applyTransform=function(ie,le,ue){if(!ue){ie!==le&&oe.copy(ie,le);return}if(ue[1]<1e-5&&ue[1]>-1e-5&&ue[2]<1e-5&&ue[2]>-1e-5){var de=ue[0],pe=ue[3],he=ue[4],_e=ue[5];ie.x=le.x*de+he,ie.y=le.y*pe+_e,ie.width=le.width*de,ie.height=le.height*pe,ie.width<0&&(ie.x+=ie.width,ie.width=-ie.width),ie.height<0&&(ie.y+=ie.height,ie.height=-ie.height);return}lt.x=lb.x=le.x,lt.y=rt.y=le.y,rb.x=rt.x=le.x+le.width,rb.y=lb.y=le.y+le.height,lt.transform(ue),rt.transform(ue),rb.transform(ue),lb.transform(ue),ie.x=mathMin$8(lt.x,rb.x,lb.x,rt.x),ie.y=mathMin$8(lt.y,rb.y,lb.y,rt.y);var $e=mathMax$8(lt.x,rb.x,lb.x,rt.x),Ie=mathMax$8(lt.y,rb.y,lb.y,rt.y);ie.width=$e-ie.x,ie.height=Ie-ie.y},oe}();const BoundingRect$1=BoundingRect;var SILENT="silent";function makeEventPacket(oe,ie,le){return{type:oe,event:le,target:ie.target,topTarget:ie.topTarget,cancelBubble:!1,offsetX:le.zrX,offsetY:le.zrY,gestureEvent:le.gestureEvent,pinchX:le.pinchX,pinchY:le.pinchY,pinchScale:le.pinchScale,wheelDelta:le.zrDelta,zrByTouch:le.zrByTouch,which:le.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.handler=null,le}return ie.prototype.dispose=function(){},ie.prototype.setCursor=function(){},ie}(Eventful$1),HoveredResult=function(){function oe(ie,le){this.x=ie,this.y=le}return oe}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect$1(0,0,0,0),Handler=function(oe){__extends(ie,oe);function ie(le,ue,de,pe,he){var _e=oe.call(this)||this;return _e._hovered=new HoveredResult(0,0),_e.storage=le,_e.painter=ue,_e.painterRoot=pe,_e._pointerSize=he,de=de||new EmptyProxy,_e.proxy=null,_e.setHandlerProxy(de),_e._draggingMgr=new Draggable$1(_e),_e}return ie.prototype.setHandlerProxy=function(le){this.proxy&&this.proxy.dispose(),le&&(each$c(handlerNames,function(ue){le.on&&le.on(ue,this[ue],this)},this),le.handler=this),this.proxy=le},ie.prototype.mousemove=function(le){var ue=le.zrX,de=le.zrY,pe=isOutsideBoundary(this,ue,de),he=this._hovered,_e=he.target;_e&&!_e.__zr&&(he=this.findHover(he.x,he.y),_e=he.target);var $e=this._hovered=pe?new HoveredResult(ue,de):this.findHover(ue,de),Ie=$e.target,Ve=this.proxy;Ve.setCursor&&Ve.setCursor(Ie?Ie.cursor:"default"),_e&&Ie!==_e&&this.dispatchToElement(he,"mouseout",le),this.dispatchToElement($e,"mousemove",le),Ie&&Ie!==_e&&this.dispatchToElement($e,"mouseover",le)},ie.prototype.mouseout=function(le){var ue=le.zrEventControl;ue!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",le),ue!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:le})},ie.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},ie.prototype.dispatch=function(le,ue){var de=this[le];de&&de.call(this,ue)},ie.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},ie.prototype.setCursorStyle=function(le){var ue=this.proxy;ue.setCursor&&ue.setCursor(le)},ie.prototype.dispatchToElement=function(le,ue,de){le=le||{};var pe=le.target;if(!(pe&&pe.silent)){for(var he="on"+ue,_e=makeEventPacket(ue,le,de);pe&&(pe[he]&&(_e.cancelBubble=!!pe[he].call(pe,_e)),pe.trigger(ue,_e),pe=pe.__hostTarget?pe.__hostTarget:pe.parent,!_e.cancelBubble););_e.cancelBubble||(this.trigger(ue,_e),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function($e){typeof $e[he]=="function"&&$e[he].call($e,_e),$e.trigger&&$e.trigger(ue,_e)}))}},ie.prototype.findHover=function(le,ue,de){var pe=this.storage.getDisplayList(),he=new HoveredResult(le,ue);if(setHoverTarget(pe,he,le,ue,de),this._pointerSize&&!he.target){for(var _e=[],$e=this._pointerSize,Ie=$e/2,Ve=new BoundingRect$1(le-Ie,ue-Ie,$e,$e),Fe=pe.length-1;Fe>=0;Fe--){var Ue=pe[Fe];Ue!==de&&!Ue.ignore&&!Ue.ignoreCoarsePointer&&(!Ue.parent||!Ue.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(Ue.getBoundingRect()),Ue.transform&&tmpRect$1.applyTransform(Ue.transform),tmpRect$1.intersect(Ve)&&_e.push(Ue))}if(_e.length)for(var qe=4,Et=Math.PI/12,At=Math.PI*2,Lt=0;Lt<Ie;Lt+=qe)for(var hn=0;hn<At;hn+=Et){var vn=le+Lt*Math.cos(hn),_n=ue+Lt*Math.sin(hn);if(setHoverTarget(_e,he,vn,_n,de),he.target)return he}}return he},ie.prototype.processGesture=function(le,ue){this._gestureMgr||(this._gestureMgr=new GestureMgr);var de=this._gestureMgr;ue==="start"&&de.clear();var pe=de.recognize(le,this.findHover(le.zrX,le.zrY,null).target,this.proxy.dom);if(ue==="end"&&de.clear(),pe){var he=pe.type;le.gestureEvent=he;var _e=new HoveredResult;_e.target=pe.target,this.dispatchToElement(_e,he,pe.event)}},ie}(Eventful$1);each$c(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(oe){Handler.prototype[oe]=function(ie){var le=ie.zrX,ue=ie.zrY,de=isOutsideBoundary(this,le,ue),pe,he;if((oe!=="mouseup"||!de)&&(pe=this.findHover(le,ue),he=pe.target),oe==="mousedown")this._downEl=he,this._downPoint=[ie.zrX,ie.zrY],this._upEl=he;else if(oe==="mouseup")this._upEl=he;else if(oe==="click"){if(this._downEl!==this._upEl||!this._downPoint||dist$1(this._downPoint,[ie.zrX,ie.zrY])>4)return;this._downPoint=null}this.dispatchToElement(pe,oe,ie)}});function isHover(oe,ie,le){if(oe[oe.rectHover?"rectContain":"contain"](ie,le)){for(var ue=oe,de=void 0,pe=!1;ue;){if(ue.ignoreClip&&(pe=!0),!pe){var he=ue.getClipPath();if(he&&!he.contain(ie,le))return!1;ue.silent&&(de=!0)}var _e=ue.__hostTarget;ue=_e||ue.parent}return de?SILENT:!0}return!1}function setHoverTarget(oe,ie,le,ue,de){for(var pe=oe.length-1;pe>=0;pe--){var he=oe[pe],_e=void 0;if(he!==de&&!he.ignore&&(_e=isHover(he,le,ue))&&(!ie.topTarget&&(ie.topTarget=he),_e!==SILENT)){ie.target=he;break}}}function isOutsideBoundary(oe,ie,le){var ue=oe.painter;return ie<0||ie>ue.getWidth()||le<0||le>ue.getHeight()}const Handler$1=Handler;var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(oe){for(var ie=0;oe>=DEFAULT_MIN_MERGE;)ie|=oe&1,oe>>=1;return oe+ie}function makeAscendingRun(oe,ie,le,ue){var de=ie+1;if(de===le)return 1;if(ue(oe[de++],oe[ie])<0){for(;de<le&&ue(oe[de],oe[de-1])<0;)de++;reverseRun(oe,ie,de)}else for(;de<le&&ue(oe[de],oe[de-1])>=0;)de++;return de-ie}function reverseRun(oe,ie,le){for(le--;ie<le;){var ue=oe[ie];oe[ie++]=oe[le],oe[le--]=ue}}function binaryInsertionSort(oe,ie,le,ue,de){for(ue===ie&&ue++;ue<le;ue++){for(var pe=oe[ue],he=ie,_e=ue,$e;he<_e;)$e=he+_e>>>1,de(pe,oe[$e])<0?_e=$e:he=$e+1;var Ie=ue-he;switch(Ie){case 3:oe[he+3]=oe[he+2];case 2:oe[he+2]=oe[he+1];case 1:oe[he+1]=oe[he];break;default:for(;Ie>0;)oe[he+Ie]=oe[he+Ie-1],Ie--}oe[he]=pe}}function gallopLeft(oe,ie,le,ue,de,pe){var he=0,_e=0,$e=1;if(pe(oe,ie[le+de])>0){for(_e=ue-de;$e<_e&&pe(oe,ie[le+de+$e])>0;)he=$e,$e=($e<<1)+1,$e<=0&&($e=_e);$e>_e&&($e=_e),he+=de,$e+=de}else{for(_e=de+1;$e<_e&&pe(oe,ie[le+de-$e])<=0;)he=$e,$e=($e<<1)+1,$e<=0&&($e=_e);$e>_e&&($e=_e);var Ie=he;he=de-$e,$e=de-Ie}for(he++;he<$e;){var Ve=he+($e-he>>>1);pe(oe,ie[le+Ve])>0?he=Ve+1:$e=Ve}return $e}function gallopRight(oe,ie,le,ue,de,pe){var he=0,_e=0,$e=1;if(pe(oe,ie[le+de])<0){for(_e=de+1;$e<_e&&pe(oe,ie[le+de-$e])<0;)he=$e,$e=($e<<1)+1,$e<=0&&($e=_e);$e>_e&&($e=_e);var Ie=he;he=de-$e,$e=de-Ie}else{for(_e=ue-de;$e<_e&&pe(oe,ie[le+de+$e])>=0;)he=$e,$e=($e<<1)+1,$e<=0&&($e=_e);$e>_e&&($e=_e),he+=de,$e+=de}for(he++;he<$e;){var Ve=he+($e-he>>>1);pe(oe,ie[le+Ve])<0?$e=Ve:he=Ve+1}return $e}function TimSort(oe,ie){var le=DEFAULT_MIN_GALLOPING,ue,de,pe=0;oe.length;var he=[];ue=[],de=[];function _e(qe,Et){ue[pe]=qe,de[pe]=Et,pe+=1}function $e(){for(;pe>1;){var qe=pe-2;if(qe>=1&&de[qe-1]<=de[qe]+de[qe+1]||qe>=2&&de[qe-2]<=de[qe]+de[qe-1])de[qe-1]<de[qe+1]&&qe--;else if(de[qe]>de[qe+1])break;Ve(qe)}}function Ie(){for(;pe>1;){var qe=pe-2;qe>0&&de[qe-1]<de[qe+1]&&qe--,Ve(qe)}}function Ve(qe){var Et=ue[qe],At=de[qe],Lt=ue[qe+1],hn=de[qe+1];de[qe]=At+hn,qe===pe-3&&(ue[qe+1]=ue[qe+2],de[qe+1]=de[qe+2]),pe--;var vn=gallopRight(oe[Lt],oe,Et,At,0,ie);Et+=vn,At-=vn,At!==0&&(hn=gallopLeft(oe[Et+At-1],oe,Lt,hn,hn-1,ie),hn!==0&&(At<=hn?Fe(Et,At,Lt,hn):Ue(Et,At,Lt,hn)))}function Fe(qe,Et,At,Lt){var hn=0;for(hn=0;hn<Et;hn++)he[hn]=oe[qe+hn];var vn=0,_n=At,bn=qe;if(oe[bn++]=oe[_n++],--Lt===0){for(hn=0;hn<Et;hn++)oe[bn+hn]=he[vn+hn];return}if(Et===1){for(hn=0;hn<Lt;hn++)oe[bn+hn]=oe[_n+hn];oe[bn+Lt]=he[vn];return}for(var Sn=le,Cn,En,wn;;){Cn=0,En=0,wn=!1;do if(ie(oe[_n],he[vn])<0){if(oe[bn++]=oe[_n++],En++,Cn=0,--Lt===0){wn=!0;break}}else if(oe[bn++]=he[vn++],Cn++,En=0,--Et===1){wn=!0;break}while((Cn|En)<Sn);if(wn)break;do{if(Cn=gallopRight(oe[_n],he,vn,Et,0,ie),Cn!==0){for(hn=0;hn<Cn;hn++)oe[bn+hn]=he[vn+hn];if(bn+=Cn,vn+=Cn,Et-=Cn,Et<=1){wn=!0;break}}if(oe[bn++]=oe[_n++],--Lt===0){wn=!0;break}if(En=gallopLeft(he[vn],oe,_n,Lt,0,ie),En!==0){for(hn=0;hn<En;hn++)oe[bn+hn]=oe[_n+hn];if(bn+=En,_n+=En,Lt-=En,Lt===0){wn=!0;break}}if(oe[bn++]=he[vn++],--Et===1){wn=!0;break}Sn--}while(Cn>=DEFAULT_MIN_GALLOPING||En>=DEFAULT_MIN_GALLOPING);if(wn)break;Sn<0&&(Sn=0),Sn+=2}if(le=Sn,le<1&&(le=1),Et===1){for(hn=0;hn<Lt;hn++)oe[bn+hn]=oe[_n+hn];oe[bn+Lt]=he[vn]}else{if(Et===0)throw new Error;for(hn=0;hn<Et;hn++)oe[bn+hn]=he[vn+hn]}}function Ue(qe,Et,At,Lt){var hn=0;for(hn=0;hn<Lt;hn++)he[hn]=oe[At+hn];var vn=qe+Et-1,_n=Lt-1,bn=At+Lt-1,Sn=0,Cn=0;if(oe[bn--]=oe[vn--],--Et===0){for(Sn=bn-(Lt-1),hn=0;hn<Lt;hn++)oe[Sn+hn]=he[hn];return}if(Lt===1){for(bn-=Et,vn-=Et,Cn=bn+1,Sn=vn+1,hn=Et-1;hn>=0;hn--)oe[Cn+hn]=oe[Sn+hn];oe[bn]=he[_n];return}for(var En=le;;){var wn=0,xn=0,kn=!1;do if(ie(he[_n],oe[vn])<0){if(oe[bn--]=oe[vn--],wn++,xn=0,--Et===0){kn=!0;break}}else if(oe[bn--]=he[_n--],xn++,wn=0,--Lt===1){kn=!0;break}while((wn|xn)<En);if(kn)break;do{if(wn=Et-gallopRight(he[_n],oe,qe,Et,Et-1,ie),wn!==0){for(bn-=wn,vn-=wn,Et-=wn,Cn=bn+1,Sn=vn+1,hn=wn-1;hn>=0;hn--)oe[Cn+hn]=oe[Sn+hn];if(Et===0){kn=!0;break}}if(oe[bn--]=he[_n--],--Lt===1){kn=!0;break}if(xn=Lt-gallopLeft(oe[vn],he,0,Lt,Lt-1,ie),xn!==0){for(bn-=xn,_n-=xn,Lt-=xn,Cn=bn+1,Sn=_n+1,hn=0;hn<xn;hn++)oe[Cn+hn]=he[Sn+hn];if(Lt<=1){kn=!0;break}}if(oe[bn--]=oe[vn--],--Et===0){kn=!0;break}En--}while(wn>=DEFAULT_MIN_GALLOPING||xn>=DEFAULT_MIN_GALLOPING);if(kn)break;En<0&&(En=0),En+=2}if(le=En,le<1&&(le=1),Lt===1){for(bn-=Et,vn-=Et,Cn=bn+1,Sn=vn+1,hn=Et-1;hn>=0;hn--)oe[Cn+hn]=oe[Sn+hn];oe[bn]=he[_n]}else{if(Lt===0)throw new Error;for(Sn=bn-(Lt-1),hn=0;hn<Lt;hn++)oe[Sn+hn]=he[hn]}}return{mergeRuns:$e,forceMergeRuns:Ie,pushRun:_e}}function sort(oe,ie,le,ue){le||(le=0),ue||(ue=oe.length);var de=ue-le;if(!(de<2)){var pe=0;if(de<DEFAULT_MIN_MERGE){pe=makeAscendingRun(oe,le,ue,ie),binaryInsertionSort(oe,le,ue,le+pe,ie);return}var he=TimSort(oe,ie),_e=minRunLength(de);do{if(pe=makeAscendingRun(oe,le,ue,ie),pe<_e){var $e=de;$e>_e&&($e=_e),binaryInsertionSort(oe,le,le+$e,le+pe,ie),pe=$e}he.pushRun(le,pe),he.mergeRuns(),de-=pe,le+=pe}while(de!==0);he.forceMergeRuns()}}var REDRAW_BIT=1,STYLE_CHANGED_BIT=2,SHAPE_CHANGED_BIT=4,invalidZErrorLogged=!1;function logInvalidZError(){invalidZErrorLogged||(invalidZErrorLogged=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function shapeCompareFunc(oe,ie){return oe.zlevel===ie.zlevel?oe.z===ie.z?oe.z2-ie.z2:oe.z-ie.z:oe.zlevel-ie.zlevel}var Storage=function(){function oe(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return oe.prototype.traverse=function(ie,le){for(var ue=0;ue<this._roots.length;ue++)this._roots[ue].traverse(ie,le)},oe.prototype.getDisplayList=function(ie,le){le=le||!1;var ue=this._displayList;return(ie||!ue.length)&&this.updateDisplayList(le),ue},oe.prototype.updateDisplayList=function(ie){this._displayListLen=0;for(var le=this._roots,ue=this._displayList,de=0,pe=le.length;de<pe;de++)this._updateAndAddDisplayable(le[de],null,ie);ue.length=this._displayListLen,sort(ue,shapeCompareFunc)},oe.prototype._updateAndAddDisplayable=function(ie,le,ue){if(!(ie.ignore&&!ue)){ie.beforeUpdate(),ie.update(),ie.afterUpdate();var de=ie.getClipPath();if(ie.ignoreClip)le=null;else if(de){le?le=le.slice():le=[];for(var pe=de,he=ie;pe;)pe.parent=he,pe.updateTransform(),le.push(pe),he=pe,pe=pe.getClipPath()}if(ie.childrenRef){for(var _e=ie.childrenRef(),$e=0;$e<_e.length;$e++){var Ie=_e[$e];ie.__dirty&&(Ie.__dirty|=REDRAW_BIT),this._updateAndAddDisplayable(Ie,le,ue)}ie.__dirty=0}else{var Ve=ie;le&&le.length?Ve.__clipPaths=le:Ve.__clipPaths&&Ve.__clipPaths.length>0&&(Ve.__clipPaths=[]),isNaN(Ve.z)&&(logInvalidZError(),Ve.z=0),isNaN(Ve.z2)&&(logInvalidZError(),Ve.z2=0),isNaN(Ve.zlevel)&&(logInvalidZError(),Ve.zlevel=0),this._displayList[this._displayListLen++]=Ve}var Fe=ie.getDecalElement&&ie.getDecalElement();Fe&&this._updateAndAddDisplayable(Fe,le,ue);var Ue=ie.getTextGuideLine();Ue&&this._updateAndAddDisplayable(Ue,le,ue);var qe=ie.getTextContent();qe&&this._updateAndAddDisplayable(qe,le,ue)}},oe.prototype.addRoot=function(ie){ie.__zr&&ie.__zr.storage===this||this._roots.push(ie)},oe.prototype.delRoot=function(ie){if(ie instanceof Array){for(var le=0,ue=ie.length;le<ue;le++)this.delRoot(ie[le]);return}var de=indexOf(this._roots,ie);de>=0&&this._roots.splice(de,1)},oe.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},oe.prototype.getRoots=function(){return this._roots},oe.prototype.dispose=function(){this._displayList=null,this._roots=null},oe}();const Storage$1=Storage;var requestAnimationFrame$1;requestAnimationFrame$1=env$1.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(oe){return setTimeout(oe,16)};const requestAnimationFrame$2=requestAnimationFrame$1;var easingFuncs={linear:function(oe){return oe},quadraticIn:function(oe){return oe*oe},quadraticOut:function(oe){return oe*(2-oe)},quadraticInOut:function(oe){return(oe*=2)<1?.5*oe*oe:-.5*(--oe*(oe-2)-1)},cubicIn:function(oe){return oe*oe*oe},cubicOut:function(oe){return--oe*oe*oe+1},cubicInOut:function(oe){return(oe*=2)<1?.5*oe*oe*oe:.5*((oe-=2)*oe*oe+2)},quarticIn:function(oe){return oe*oe*oe*oe},quarticOut:function(oe){return 1- --oe*oe*oe*oe},quarticInOut:function(oe){return(oe*=2)<1?.5*oe*oe*oe*oe:-.5*((oe-=2)*oe*oe*oe-2)},quinticIn:function(oe){return oe*oe*oe*oe*oe},quinticOut:function(oe){return--oe*oe*oe*oe*oe+1},quinticInOut:function(oe){return(oe*=2)<1?.5*oe*oe*oe*oe*oe:.5*((oe-=2)*oe*oe*oe*oe+2)},sinusoidalIn:function(oe){return 1-Math.cos(oe*Math.PI/2)},sinusoidalOut:function(oe){return Math.sin(oe*Math.PI/2)},sinusoidalInOut:function(oe){return .5*(1-Math.cos(Math.PI*oe))},exponentialIn:function(oe){return oe===0?0:Math.pow(1024,oe-1)},exponentialOut:function(oe){return oe===1?1:1-Math.pow(2,-10*oe)},exponentialInOut:function(oe){return oe===0?0:oe===1?1:(oe*=2)<1?.5*Math.pow(1024,oe-1):.5*(-Math.pow(2,-10*(oe-1))+2)},circularIn:function(oe){return 1-Math.sqrt(1-oe*oe)},circularOut:function(oe){return Math.sqrt(1- --oe*oe)},circularInOut:function(oe){return(oe*=2)<1?-.5*(Math.sqrt(1-oe*oe)-1):.5*(Math.sqrt(1-(oe-=2)*oe)+1)},elasticIn:function(oe){var ie,le=.1,ue=.4;return oe===0?0:oe===1?1:(!le||le<1?(le=1,ie=ue/4):ie=ue*Math.asin(1/le)/(2*Math.PI),-(le*Math.pow(2,10*(oe-=1))*Math.sin((oe-ie)*(2*Math.PI)/ue)))},elasticOut:function(oe){var ie,le=.1,ue=.4;return oe===0?0:oe===1?1:(!le||le<1?(le=1,ie=ue/4):ie=ue*Math.asin(1/le)/(2*Math.PI),le*Math.pow(2,-10*oe)*Math.sin((oe-ie)*(2*Math.PI)/ue)+1)},elasticInOut:function(oe){var ie,le=.1,ue=.4;return oe===0?0:oe===1?1:(!le||le<1?(le=1,ie=ue/4):ie=ue*Math.asin(1/le)/(2*Math.PI),(oe*=2)<1?-.5*(le*Math.pow(2,10*(oe-=1))*Math.sin((oe-ie)*(2*Math.PI)/ue)):le*Math.pow(2,-10*(oe-=1))*Math.sin((oe-ie)*(2*Math.PI)/ue)*.5+1)},backIn:function(oe){var ie=1.70158;return oe*oe*((ie+1)*oe-ie)},backOut:function(oe){var ie=1.70158;return--oe*oe*((ie+1)*oe+ie)+1},backInOut:function(oe){var ie=2.5949095;return(oe*=2)<1?.5*(oe*oe*((ie+1)*oe-ie)):.5*((oe-=2)*oe*((ie+1)*oe+ie)+2)},bounceIn:function(oe){return 1-easingFuncs.bounceOut(1-oe)},bounceOut:function(oe){return oe<1/2.75?7.5625*oe*oe:oe<2/2.75?7.5625*(oe-=1.5/2.75)*oe+.75:oe<2.5/2.75?7.5625*(oe-=2.25/2.75)*oe+.9375:7.5625*(oe-=2.625/2.75)*oe+.984375},bounceInOut:function(oe){return oe<.5?easingFuncs.bounceIn(oe*2)*.5:easingFuncs.bounceOut(oe*2-1)*.5+.5}};const easingFuncs$1=easingFuncs;var mathPow$2=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$3=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$1(),_v1=create$1(),_v2=create$1();function isAroundZero(oe){return oe>-EPSILON$3&&oe<EPSILON$3}function isNotAroundZero$1(oe){return oe>EPSILON$3||oe<-EPSILON$3}function cubicAt(oe,ie,le,ue,de){var pe=1-de;return pe*pe*(pe*oe+3*de*ie)+de*de*(de*ue+3*pe*le)}function cubicDerivativeAt(oe,ie,le,ue,de){var pe=1-de;return 3*(((ie-oe)*pe+2*(le-ie)*de)*pe+(ue-le)*de*de)}function cubicRootAt(oe,ie,le,ue,de,pe){var he=ue+3*(ie-le)-oe,_e=3*(le-ie*2+oe),$e=3*(ie-oe),Ie=oe-de,Ve=_e*_e-3*he*$e,Fe=_e*$e-9*he*Ie,Ue=$e*$e-3*_e*Ie,qe=0;if(isAroundZero(Ve)&&isAroundZero(Fe))if(isAroundZero(_e))pe[0]=0;else{var Et=-$e/_e;Et>=0&&Et<=1&&(pe[qe++]=Et)}else{var At=Fe*Fe-4*Ve*Ue;if(isAroundZero(At)){var Lt=Fe/Ve,Et=-_e/he+Lt,hn=-Lt/2;Et>=0&&Et<=1&&(pe[qe++]=Et),hn>=0&&hn<=1&&(pe[qe++]=hn)}else if(At>0){var vn=mathSqrt$3(At),_n=Ve*_e+1.5*he*(-Fe+vn),bn=Ve*_e+1.5*he*(-Fe-vn);_n<0?_n=-mathPow$2(-_n,ONE_THIRD):_n=mathPow$2(_n,ONE_THIRD),bn<0?bn=-mathPow$2(-bn,ONE_THIRD):bn=mathPow$2(bn,ONE_THIRD);var Et=(-_e-(_n+bn))/(3*he);Et>=0&&Et<=1&&(pe[qe++]=Et)}else{var Sn=(2*Ve*_e-3*he*Fe)/(2*mathSqrt$3(Ve*Ve*Ve)),Cn=Math.acos(Sn)/3,En=mathSqrt$3(Ve),wn=Math.cos(Cn),Et=(-_e-2*En*wn)/(3*he),hn=(-_e+En*(wn+THREE_SQRT*Math.sin(Cn)))/(3*he),xn=(-_e+En*(wn-THREE_SQRT*Math.sin(Cn)))/(3*he);Et>=0&&Et<=1&&(pe[qe++]=Et),hn>=0&&hn<=1&&(pe[qe++]=hn),xn>=0&&xn<=1&&(pe[qe++]=xn)}}return qe}function cubicExtrema(oe,ie,le,ue,de){var pe=6*le-12*ie+6*oe,he=9*ie+3*ue-3*oe-9*le,_e=3*ie-3*oe,$e=0;if(isAroundZero(he)){if(isNotAroundZero$1(pe)){var Ie=-_e/pe;Ie>=0&&Ie<=1&&(de[$e++]=Ie)}}else{var Ve=pe*pe-4*he*_e;if(isAroundZero(Ve))de[0]=-pe/(2*he);else if(Ve>0){var Fe=mathSqrt$3(Ve),Ie=(-pe+Fe)/(2*he),Ue=(-pe-Fe)/(2*he);Ie>=0&&Ie<=1&&(de[$e++]=Ie),Ue>=0&&Ue<=1&&(de[$e++]=Ue)}}return $e}function cubicSubdivide(oe,ie,le,ue,de,pe){var he=(ie-oe)*de+oe,_e=(le-ie)*de+ie,$e=(ue-le)*de+le,Ie=(_e-he)*de+he,Ve=($e-_e)*de+_e,Fe=(Ve-Ie)*de+Ie;pe[0]=oe,pe[1]=he,pe[2]=Ie,pe[3]=Fe,pe[4]=Fe,pe[5]=Ve,pe[6]=$e,pe[7]=ue}function cubicProjectPoint(oe,ie,le,ue,de,pe,he,_e,$e,Ie,Ve){var Fe,Ue=.005,qe=1/0,Et,At,Lt,hn;_v0[0]=$e,_v0[1]=Ie;for(var vn=0;vn<1;vn+=.05)_v1[0]=cubicAt(oe,le,de,he,vn),_v1[1]=cubicAt(ie,ue,pe,_e,vn),Lt=distSquare(_v0,_v1),Lt<qe&&(Fe=vn,qe=Lt);qe=1/0;for(var _n=0;_n<32&&!(Ue<EPSILON_NUMERIC);_n++)Et=Fe-Ue,At=Fe+Ue,_v1[0]=cubicAt(oe,le,de,he,Et),_v1[1]=cubicAt(ie,ue,pe,_e,Et),Lt=distSquare(_v1,_v0),Et>=0&&Lt<qe?(Fe=Et,qe=Lt):(_v2[0]=cubicAt(oe,le,de,he,At),_v2[1]=cubicAt(ie,ue,pe,_e,At),hn=distSquare(_v2,_v0),At<=1&&hn<qe?(Fe=At,qe=hn):Ue*=.5);return Ve&&(Ve[0]=cubicAt(oe,le,de,he,Fe),Ve[1]=cubicAt(ie,ue,pe,_e,Fe)),mathSqrt$3(qe)}function cubicLength(oe,ie,le,ue,de,pe,he,_e,$e){for(var Ie=oe,Ve=ie,Fe=0,Ue=1/$e,qe=1;qe<=$e;qe++){var Et=qe*Ue,At=cubicAt(oe,le,de,he,Et),Lt=cubicAt(ie,ue,pe,_e,Et),hn=At-Ie,vn=Lt-Ve;Fe+=Math.sqrt(hn*hn+vn*vn),Ie=At,Ve=Lt}return Fe}function quadraticAt(oe,ie,le,ue){var de=1-ue;return de*(de*oe+2*ue*ie)+ue*ue*le}function quadraticDerivativeAt(oe,ie,le,ue){return 2*((1-ue)*(ie-oe)+ue*(le-ie))}function quadraticRootAt(oe,ie,le,ue,de){var pe=oe-2*ie+le,he=2*(ie-oe),_e=oe-ue,$e=0;if(isAroundZero(pe)){if(isNotAroundZero$1(he)){var Ie=-_e/he;Ie>=0&&Ie<=1&&(de[$e++]=Ie)}}else{var Ve=he*he-4*pe*_e;if(isAroundZero(Ve)){var Ie=-he/(2*pe);Ie>=0&&Ie<=1&&(de[$e++]=Ie)}else if(Ve>0){var Fe=mathSqrt$3(Ve),Ie=(-he+Fe)/(2*pe),Ue=(-he-Fe)/(2*pe);Ie>=0&&Ie<=1&&(de[$e++]=Ie),Ue>=0&&Ue<=1&&(de[$e++]=Ue)}}return $e}function quadraticExtremum(oe,ie,le){var ue=oe+le-2*ie;return ue===0?.5:(oe-ie)/ue}function quadraticSubdivide(oe,ie,le,ue,de){var pe=(ie-oe)*ue+oe,he=(le-ie)*ue+ie,_e=(he-pe)*ue+pe;de[0]=oe,de[1]=pe,de[2]=_e,de[3]=_e,de[4]=he,de[5]=le}function quadraticProjectPoint(oe,ie,le,ue,de,pe,he,_e,$e){var Ie,Ve=.005,Fe=1/0;_v0[0]=he,_v0[1]=_e;for(var Ue=0;Ue<1;Ue+=.05){_v1[0]=quadraticAt(oe,le,de,Ue),_v1[1]=quadraticAt(ie,ue,pe,Ue);var qe=distSquare(_v0,_v1);qe<Fe&&(Ie=Ue,Fe=qe)}Fe=1/0;for(var Et=0;Et<32&&!(Ve<EPSILON_NUMERIC);Et++){var At=Ie-Ve,Lt=Ie+Ve;_v1[0]=quadraticAt(oe,le,de,At),_v1[1]=quadraticAt(ie,ue,pe,At);var qe=distSquare(_v1,_v0);if(At>=0&&qe<Fe)Ie=At,Fe=qe;else{_v2[0]=quadraticAt(oe,le,de,Lt),_v2[1]=quadraticAt(ie,ue,pe,Lt);var hn=distSquare(_v2,_v0);Lt<=1&&hn<Fe?(Ie=Lt,Fe=hn):Ve*=.5}}return $e&&($e[0]=quadraticAt(oe,le,de,Ie),$e[1]=quadraticAt(ie,ue,pe,Ie)),mathSqrt$3(Fe)}function quadraticLength(oe,ie,le,ue,de,pe,he){for(var _e=oe,$e=ie,Ie=0,Ve=1/he,Fe=1;Fe<=he;Fe++){var Ue=Fe*Ve,qe=quadraticAt(oe,le,de,Ue),Et=quadraticAt(ie,ue,pe,Ue),At=qe-_e,Lt=Et-$e;Ie+=Math.sqrt(At*At+Lt*Lt),_e=qe,$e=Et}return Ie}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(oe){var ie=oe&&regexp.exec(oe);if(ie){var le=ie[1].split(","),ue=+trim$1(le[0]),de=+trim$1(le[1]),pe=+trim$1(le[2]),he=+trim$1(le[3]);if(isNaN(ue+de+pe+he))return;var _e=[];return function($e){return $e<=0?0:$e>=1?1:cubicRootAt(0,ue,pe,1,$e,_e)&&cubicAt(0,de,he,1,_e[0])}}}var Clip=function(){function oe(ie){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=ie.life||1e3,this._delay=ie.delay||0,this.loop=ie.loop||!1,this.onframe=ie.onframe||noop,this.ondestroy=ie.ondestroy||noop,this.onrestart=ie.onrestart||noop,ie.easing&&this.setEasing(ie.easing)}return oe.prototype.step=function(ie,le){if(this._inited||(this._startTime=ie+this._delay,this._inited=!0),this._paused){this._pausedTime+=le;return}var ue=this._life,de=ie-this._startTime-this._pausedTime,pe=de/ue;pe<0&&(pe=0),pe=Math.min(pe,1);var he=this.easingFunc,_e=he?he(pe):pe;if(this.onframe(_e),pe===1)if(this.loop){var $e=de%ue;this._startTime=ie-$e,this._pausedTime=0,this.onrestart()}else return!0;return!1},oe.prototype.pause=function(){this._paused=!0},oe.prototype.resume=function(){this._paused=!1},oe.prototype.setEasing=function(ie){this.easing=ie,this.easingFunc=isFunction(ie)?ie:easingFuncs$1[ie]||createCubicEasingFunc(ie)},oe}();const Clip$1=Clip;var Entry=function(){function oe(ie){this.value=ie}return oe}(),LinkedList=function(){function oe(){this._len=0}return oe.prototype.insert=function(ie){var le=new Entry(ie);return this.insertEntry(le),le},oe.prototype.insertEntry=function(ie){this.head?(this.tail.next=ie,ie.prev=this.tail,ie.next=null,this.tail=ie):this.head=this.tail=ie,this._len++},oe.prototype.remove=function(ie){var le=ie.prev,ue=ie.next;le?le.next=ue:this.head=ue,ue?ue.prev=le:this.tail=le,ie.next=ie.prev=null,this._len--},oe.prototype.len=function(){return this._len},oe.prototype.clear=function(){this.head=this.tail=null,this._len=0},oe}(),LRU=function(){function oe(ie){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=ie}return oe.prototype.put=function(ie,le){var ue=this._list,de=this._map,pe=null;if(de[ie]==null){var he=ue.len(),_e=this._lastRemovedEntry;if(he>=this._maxSize&&he>0){var $e=ue.head;ue.remove($e),delete de[$e.key],pe=$e.value,this._lastRemovedEntry=$e}_e?_e.value=le:_e=new Entry(le),_e.key=ie,ue.insertEntry(_e),de[ie]=_e}return pe},oe.prototype.get=function(ie){var le=this._map[ie],ue=this._list;if(le!=null)return le!==ue.tail&&(ue.remove(le),ue.insertEntry(le)),le.value},oe.prototype.clear=function(){this._list.clear(),this._map={}},oe.prototype.len=function(){return this._list.len()},oe}();const LRU$1=LRU;var kCSSColorTable={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function clampCssByte(oe){return oe=Math.round(oe),oe<0?0:oe>255?255:oe}function clampCssAngle(oe){return oe=Math.round(oe),oe<0?0:oe>360?360:oe}function clampCssFloat(oe){return oe<0?0:oe>1?1:oe}function parseCssInt(oe){var ie=oe;return ie.length&&ie.charAt(ie.length-1)==="%"?clampCssByte(parseFloat(ie)/100*255):clampCssByte(parseInt(ie,10))}function parseCssFloat(oe){var ie=oe;return ie.length&&ie.charAt(ie.length-1)==="%"?clampCssFloat(parseFloat(ie)/100):clampCssFloat(parseFloat(ie))}function cssHueToRgb(oe,ie,le){return le<0?le+=1:le>1&&(le-=1),le*6<1?oe+(ie-oe)*le*6:le*2<1?ie:le*3<2?oe+(ie-oe)*(2/3-le)*6:oe}function lerpNumber(oe,ie,le){return oe+(ie-oe)*le}function setRgba(oe,ie,le,ue,de){return oe[0]=ie,oe[1]=le,oe[2]=ue,oe[3]=de,oe}function copyRgba(oe,ie){return oe[0]=ie[0],oe[1]=ie[1],oe[2]=ie[2],oe[3]=ie[3],oe}var colorCache=new LRU$1(20),lastRemovedArr=null;function putToCache(oe,ie){lastRemovedArr&&copyRgba(lastRemovedArr,ie),lastRemovedArr=colorCache.put(oe,lastRemovedArr||ie.slice())}function parse$1(oe,ie){if(oe){ie=ie||[];var le=colorCache.get(oe);if(le)return copyRgba(ie,le);oe=oe+"";var ue=oe.replace(/ /g,"").toLowerCase();if(ue in kCSSColorTable)return copyRgba(ie,kCSSColorTable[ue]),putToCache(oe,ie),ie;var de=ue.length;if(ue.charAt(0)==="#"){if(de===4||de===5){var pe=parseInt(ue.slice(1,4),16);if(!(pe>=0&&pe<=4095)){setRgba(ie,0,0,0,1);return}return setRgba(ie,(pe&3840)>>4|(pe&3840)>>8,pe&240|(pe&240)>>4,pe&15|(pe&15)<<4,de===5?parseInt(ue.slice(4),16)/15:1),putToCache(oe,ie),ie}else if(de===7||de===9){var pe=parseInt(ue.slice(1,7),16);if(!(pe>=0&&pe<=16777215)){setRgba(ie,0,0,0,1);return}return setRgba(ie,(pe&16711680)>>16,(pe&65280)>>8,pe&255,de===9?parseInt(ue.slice(7),16)/255:1),putToCache(oe,ie),ie}return}var he=ue.indexOf("("),_e=ue.indexOf(")");if(he!==-1&&_e+1===de){var $e=ue.substr(0,he),Ie=ue.substr(he+1,_e-(he+1)).split(","),Ve=1;switch($e){case"rgba":if(Ie.length!==4)return Ie.length===3?setRgba(ie,+Ie[0],+Ie[1],+Ie[2],1):setRgba(ie,0,0,0,1);Ve=parseCssFloat(Ie.pop());case"rgb":if(Ie.length>=3)return setRgba(ie,parseCssInt(Ie[0]),parseCssInt(Ie[1]),parseCssInt(Ie[2]),Ie.length===3?Ve:parseCssFloat(Ie[3])),putToCache(oe,ie),ie;setRgba(ie,0,0,0,1);return;case"hsla":if(Ie.length!==4){setRgba(ie,0,0,0,1);return}return Ie[3]=parseCssFloat(Ie[3]),hsla2rgba(Ie,ie),putToCache(oe,ie),ie;case"hsl":if(Ie.length!==3){setRgba(ie,0,0,0,1);return}return hsla2rgba(Ie,ie),putToCache(oe,ie),ie;default:return}}setRgba(ie,0,0,0,1)}}function hsla2rgba(oe,ie){var le=(parseFloat(oe[0])%360+360)%360/360,ue=parseCssFloat(oe[1]),de=parseCssFloat(oe[2]),pe=de<=.5?de*(ue+1):de+ue-de*ue,he=de*2-pe;return ie=ie||[],setRgba(ie,clampCssByte(cssHueToRgb(he,pe,le+1/3)*255),clampCssByte(cssHueToRgb(he,pe,le)*255),clampCssByte(cssHueToRgb(he,pe,le-1/3)*255),1),oe.length===4&&(ie[3]=oe[3]),ie}function rgba2hsla(oe){if(oe){var ie=oe[0]/255,le=oe[1]/255,ue=oe[2]/255,de=Math.min(ie,le,ue),pe=Math.max(ie,le,ue),he=pe-de,_e=(pe+de)/2,$e,Ie;if(he===0)$e=0,Ie=0;else{_e<.5?Ie=he/(pe+de):Ie=he/(2-pe-de);var Ve=((pe-ie)/6+he/2)/he,Fe=((pe-le)/6+he/2)/he,Ue=((pe-ue)/6+he/2)/he;ie===pe?$e=Ue-Fe:le===pe?$e=1/3+Ve-Ue:ue===pe&&($e=2/3+Fe-Ve),$e<0&&($e+=1),$e>1&&($e-=1)}var qe=[$e*360,Ie,_e];return oe[3]!=null&&qe.push(oe[3]),qe}}function lift(oe,ie){var le=parse$1(oe);if(le){for(var ue=0;ue<3;ue++)ie<0?le[ue]=le[ue]*(1-ie)|0:le[ue]=(255-le[ue])*ie+le[ue]|0,le[ue]>255?le[ue]=255:le[ue]<0&&(le[ue]=0);return stringify(le,le.length===4?"rgba":"rgb")}}function toHex(oe){var ie=parse$1(oe);if(ie)return((1<<24)+(ie[0]<<16)+(ie[1]<<8)+ +ie[2]).toString(16).slice(1)}function fastLerp(oe,ie,le){if(!(!(ie&&ie.length)||!(oe>=0&&oe<=1))){le=le||[];var ue=oe*(ie.length-1),de=Math.floor(ue),pe=Math.ceil(ue),he=ie[de],_e=ie[pe],$e=ue-de;return le[0]=clampCssByte(lerpNumber(he[0],_e[0],$e)),le[1]=clampCssByte(lerpNumber(he[1],_e[1],$e)),le[2]=clampCssByte(lerpNumber(he[2],_e[2],$e)),le[3]=clampCssFloat(lerpNumber(he[3],_e[3],$e)),le}}var fastMapToColor=fastLerp;function lerp(oe,ie,le){if(!(!(ie&&ie.length)||!(oe>=0&&oe<=1))){var ue=oe*(ie.length-1),de=Math.floor(ue),pe=Math.ceil(ue),he=parse$1(ie[de]),_e=parse$1(ie[pe]),$e=ue-de,Ie=stringify([clampCssByte(lerpNumber(he[0],_e[0],$e)),clampCssByte(lerpNumber(he[1],_e[1],$e)),clampCssByte(lerpNumber(he[2],_e[2],$e)),clampCssFloat(lerpNumber(he[3],_e[3],$e))],"rgba");return le?{color:Ie,leftIndex:de,rightIndex:pe,value:ue}:Ie}}var mapToColor=lerp;function modifyHSL(oe,ie,le,ue){var de=parse$1(oe);if(oe)return de=rgba2hsla(de),ie!=null&&(de[0]=clampCssAngle(ie)),le!=null&&(de[1]=parseCssFloat(le)),ue!=null&&(de[2]=parseCssFloat(ue)),stringify(hsla2rgba(de),"rgba")}function modifyAlpha(oe,ie){var le=parse$1(oe);if(le&&ie!=null)return le[3]=clampCssFloat(ie),stringify(le,"rgba")}function stringify(oe,ie){if(!(!oe||!oe.length)){var le=oe[0]+","+oe[1]+","+oe[2];return(ie==="rgba"||ie==="hsva"||ie==="hsla")&&(le+=","+oe[3]),ie+"("+le+")"}}function lum(oe,ie){var le=parse$1(oe);return le?(.299*le[0]+.587*le[1]+.114*le[2])*le[3]/255+(1-le[3])*ie:0}function random(){return stringify([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}const color=Object.freeze(Object.defineProperty({__proto__:null,fastLerp,fastMapToColor,lerp,lift,lum,mapToColor,modifyAlpha,modifyHSL,parse:parse$1,random,stringify,toHex},Symbol.toStringTag,{value:"Module"}));function isLinearGradient(oe){return oe.type==="linear"}function isRadialGradient(oe){return oe.type==="radial"}(function(){return env$1.hasGlobalWindow&&isFunction(window.btoa)?function(oe){return window.btoa(unescape(encodeURIComponent(oe)))}:typeof Buffer<"u"?function(oe){return Buffer.from(oe).toString("base64")}:function(oe){return null}})();var arraySlice=Array.prototype.slice;function interpolateNumber$1(oe,ie,le){return(ie-oe)*le+oe}function interpolate1DArray(oe,ie,le,ue){for(var de=ie.length,pe=0;pe<de;pe++)oe[pe]=interpolateNumber$1(ie[pe],le[pe],ue);return oe}function interpolate2DArray(oe,ie,le,ue){for(var de=ie.length,pe=de&&ie[0].length,he=0;he<de;he++){oe[he]||(oe[he]=[]);for(var _e=0;_e<pe;_e++)oe[he][_e]=interpolateNumber$1(ie[he][_e],le[he][_e],ue)}return oe}function add1DArray(oe,ie,le,ue){for(var de=ie.length,pe=0;pe<de;pe++)oe[pe]=ie[pe]+le[pe]*ue;return oe}function add2DArray(oe,ie,le,ue){for(var de=ie.length,pe=de&&ie[0].length,he=0;he<de;he++){oe[he]||(oe[he]=[]);for(var _e=0;_e<pe;_e++)oe[he][_e]=ie[he][_e]+le[he][_e]*ue}return oe}function fillColorStops(oe,ie){for(var le=oe.length,ue=ie.length,de=le>ue?ie:oe,pe=Math.min(le,ue),he=de[pe-1]||{color:[0,0,0,0],offset:0},_e=pe;_e<Math.max(le,ue);_e++)de.push({offset:he.offset,color:he.color.slice()})}function fillArray(oe,ie,le){var ue=oe,de=ie;if(!(!ue.push||!de.push)){var pe=ue.length,he=de.length;if(pe!==he){var _e=pe>he;if(_e)ue.length=he;else for(var $e=pe;$e<he;$e++)ue.push(le===1?de[$e]:arraySlice.call(de[$e]))}for(var Ie=ue[0]&&ue[0].length,$e=0;$e<ue.length;$e++)if(le===1)isNaN(ue[$e])&&(ue[$e]=de[$e]);else for(var Ve=0;Ve<Ie;Ve++)isNaN(ue[$e][Ve])&&(ue[$e][Ve]=de[$e][Ve])}}function cloneValue(oe){if(isArrayLike(oe)){var ie=oe.length;if(isArrayLike(oe[0])){for(var le=[],ue=0;ue<ie;ue++)le.push(arraySlice.call(oe[ue]));return le}return arraySlice.call(oe)}return oe}function rgba2String(oe){return oe[0]=Math.floor(oe[0])||0,oe[1]=Math.floor(oe[1])||0,oe[2]=Math.floor(oe[2])||0,oe[3]=oe[3]==null?1:oe[3],"rgba("+oe.join(",")+")"}function guessArrayDim(oe){return isArrayLike(oe&&oe[0])?2:1}var VALUE_TYPE_NUMBER=0,VALUE_TYPE_1D_ARRAY=1,VALUE_TYPE_2D_ARRAY=2,VALUE_TYPE_COLOR=3,VALUE_TYPE_LINEAR_GRADIENT=4,VALUE_TYPE_RADIAL_GRADIENT=5,VALUE_TYPE_UNKOWN=6;function isGradientValueType(oe){return oe===VALUE_TYPE_LINEAR_GRADIENT||oe===VALUE_TYPE_RADIAL_GRADIENT}function isArrayValueType(oe){return oe===VALUE_TYPE_1D_ARRAY||oe===VALUE_TYPE_2D_ARRAY}var tmpRgba=[0,0,0,0],Track=function(){function oe(ie){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=ie}return oe.prototype.isFinished=function(){return this._finished},oe.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},oe.prototype.needsAnimate=function(){return this.keyframes.length>=1},oe.prototype.getAdditiveTrack=function(){return this._additiveTrack},oe.prototype.addKeyframe=function(ie,le,ue){this._needsSort=!0;var de=this.keyframes,pe=de.length,he=!1,_e=VALUE_TYPE_UNKOWN,$e=le;if(isArrayLike(le)){var Ie=guessArrayDim(le);_e=Ie,(Ie===1&&!isNumber(le[0])||Ie===2&&!isNumber(le[0][0]))&&(he=!0)}else if(isNumber(le)&&!eqNaN(le))_e=VALUE_TYPE_NUMBER;else if(isString(le))if(!isNaN(+le))_e=VALUE_TYPE_NUMBER;else{var Ve=parse$1(le);Ve&&($e=Ve,_e=VALUE_TYPE_COLOR)}else if(isGradientObject(le)){var Fe=extend({},$e);Fe.colorStops=map$2(le.colorStops,function(qe){return{offset:qe.offset,color:parse$1(qe.color)}}),isLinearGradient(le)?_e=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(le)&&(_e=VALUE_TYPE_RADIAL_GRADIENT),$e=Fe}pe===0?this.valType=_e:(_e!==this.valType||_e===VALUE_TYPE_UNKOWN)&&(he=!0),this.discrete=this.discrete||he;var Ue={time:ie,value:$e,rawValue:le,percent:0};return ue&&(Ue.easing=ue,Ue.easingFunc=isFunction(ue)?ue:easingFuncs$1[ue]||createCubicEasingFunc(ue)),de.push(Ue),Ue},oe.prototype.prepare=function(ie,le){var ue=this.keyframes;this._needsSort&&ue.sort(function(At,Lt){return At.time-Lt.time});for(var de=this.valType,pe=ue.length,he=ue[pe-1],_e=this.discrete,$e=isArrayValueType(de),Ie=isGradientValueType(de),Ve=0;Ve<pe;Ve++){var Fe=ue[Ve],Ue=Fe.value,qe=he.value;Fe.percent=Fe.time/ie,_e||($e&&Ve!==pe-1?fillArray(Ue,qe,de):Ie&&fillColorStops(Ue.colorStops,qe.colorStops))}if(!_e&&de!==VALUE_TYPE_RADIAL_GRADIENT&&le&&this.needsAnimate()&&le.needsAnimate()&&de===le.valType&&!le._finished){this._additiveTrack=le;for(var Et=ue[0].value,Ve=0;Ve<pe;Ve++)de===VALUE_TYPE_NUMBER?ue[Ve].additiveValue=ue[Ve].value-Et:de===VALUE_TYPE_COLOR?ue[Ve].additiveValue=add1DArray([],ue[Ve].value,Et,-1):isArrayValueType(de)&&(ue[Ve].additiveValue=de===VALUE_TYPE_1D_ARRAY?add1DArray([],ue[Ve].value,Et,-1):add2DArray([],ue[Ve].value,Et,-1))}},oe.prototype.step=function(ie,le){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var ue=this._additiveTrack!=null,de=ue?"additiveValue":"value",pe=this.valType,he=this.keyframes,_e=he.length,$e=this.propName,Ie=pe===VALUE_TYPE_COLOR,Ve,Fe=this._lastFr,Ue=Math.min,qe,Et;if(_e===1)qe=Et=he[0];else{if(le<0)Ve=0;else if(le<this._lastFrP){var At=Ue(Fe+1,_e-1);for(Ve=At;Ve>=0&&!(he[Ve].percent<=le);Ve--);Ve=Ue(Ve,_e-2)}else{for(Ve=Fe;Ve<_e&&!(he[Ve].percent>le);Ve++);Ve=Ue(Ve-1,_e-2)}Et=he[Ve+1],qe=he[Ve]}if(qe&&Et){this._lastFr=Ve,this._lastFrP=le;var Lt=Et.percent-qe.percent,hn=Lt===0?1:Ue((le-qe.percent)/Lt,1);Et.easingFunc&&(hn=Et.easingFunc(hn));var vn=ue?this._additiveValue:Ie?tmpRgba:ie[$e];if((isArrayValueType(pe)||Ie)&&!vn&&(vn=this._additiveValue=[]),this.discrete)ie[$e]=hn<1?qe.rawValue:Et.rawValue;else if(isArrayValueType(pe))pe===VALUE_TYPE_1D_ARRAY?interpolate1DArray(vn,qe[de],Et[de],hn):interpolate2DArray(vn,qe[de],Et[de],hn);else if(isGradientValueType(pe)){var _n=qe[de],bn=Et[de],Sn=pe===VALUE_TYPE_LINEAR_GRADIENT;ie[$e]={type:Sn?"linear":"radial",x:interpolateNumber$1(_n.x,bn.x,hn),y:interpolateNumber$1(_n.y,bn.y,hn),colorStops:map$2(_n.colorStops,function(En,wn){var xn=bn.colorStops[wn];return{offset:interpolateNumber$1(En.offset,xn.offset,hn),color:rgba2String(interpolate1DArray([],En.color,xn.color,hn))}}),global:bn.global},Sn?(ie[$e].x2=interpolateNumber$1(_n.x2,bn.x2,hn),ie[$e].y2=interpolateNumber$1(_n.y2,bn.y2,hn)):ie[$e].r=interpolateNumber$1(_n.r,bn.r,hn)}else if(Ie)interpolate1DArray(vn,qe[de],Et[de],hn),ue||(ie[$e]=rgba2String(vn));else{var Cn=interpolateNumber$1(qe[de],Et[de],hn);ue?this._additiveValue=Cn:ie[$e]=Cn}ue&&this._addToTarget(ie)}}},oe.prototype._addToTarget=function(ie){var le=this.valType,ue=this.propName,de=this._additiveValue;le===VALUE_TYPE_NUMBER?ie[ue]=ie[ue]+de:le===VALUE_TYPE_COLOR?(parse$1(ie[ue],tmpRgba),add1DArray(tmpRgba,tmpRgba,de,1),ie[ue]=rgba2String(tmpRgba)):le===VALUE_TYPE_1D_ARRAY?add1DArray(ie[ue],ie[ue],de,1):le===VALUE_TYPE_2D_ARRAY&&add2DArray(ie[ue],ie[ue],de,1)},oe}(),Animator=function(){function oe(ie,le,ue,de){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=ie,this._loop=le,le&&de){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=de,this._allowDiscrete=ue}return oe.prototype.getMaxTime=function(){return this._maxTime},oe.prototype.getDelay=function(){return this._delay},oe.prototype.getLoop=function(){return this._loop},oe.prototype.getTarget=function(){return this._target},oe.prototype.changeTarget=function(ie){this._target=ie},oe.prototype.when=function(ie,le,ue){return this.whenWithKeys(ie,le,keys(le),ue)},oe.prototype.whenWithKeys=function(ie,le,ue,de){for(var pe=this._tracks,he=0;he<ue.length;he++){var _e=ue[he],$e=pe[_e];if(!$e){$e=pe[_e]=new Track(_e);var Ie=void 0,Ve=this._getAdditiveTrack(_e);if(Ve){var Fe=Ve.keyframes,Ue=Fe[Fe.length-1];Ie=Ue&&Ue.value,Ve.valType===VALUE_TYPE_COLOR&&Ie&&(Ie=rgba2String(Ie))}else Ie=this._target[_e];if(Ie==null)continue;ie>0&&$e.addKeyframe(0,cloneValue(Ie),de),this._trackKeys.push(_e)}$e.addKeyframe(ie,cloneValue(le[_e]),de)}return this._maxTime=Math.max(this._maxTime,ie),this},oe.prototype.pause=function(){this._clip.pause(),this._paused=!0},oe.prototype.resume=function(){this._clip.resume(),this._paused=!1},oe.prototype.isPaused=function(){return!!this._paused},oe.prototype.duration=function(ie){return this._maxTime=ie,this._force=!0,this},oe.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var ie=this._doneCbs;if(ie)for(var le=ie.length,ue=0;ue<le;ue++)ie[ue].call(this)},oe.prototype._abortedCallback=function(){this._setTracksFinished();var ie=this.animation,le=this._abortedCbs;if(ie&&ie.removeClip(this._clip),this._clip=null,le)for(var ue=0;ue<le.length;ue++)le[ue].call(this)},oe.prototype._setTracksFinished=function(){for(var ie=this._tracks,le=this._trackKeys,ue=0;ue<le.length;ue++)ie[le[ue]].setFinished()},oe.prototype._getAdditiveTrack=function(ie){var le,ue=this._additiveAnimators;if(ue)for(var de=0;de<ue.length;de++){var pe=ue[de].getTrack(ie);pe&&(le=pe)}return le},oe.prototype.start=function(ie){if(!(this._started>0)){this._started=1;for(var le=this,ue=[],de=this._maxTime||0,pe=0;pe<this._trackKeys.length;pe++){var he=this._trackKeys[pe],_e=this._tracks[he],$e=this._getAdditiveTrack(he),Ie=_e.keyframes,Ve=Ie.length;if(_e.prepare(de,$e),_e.needsAnimate())if(!this._allowDiscrete&&_e.discrete){var Fe=Ie[Ve-1];Fe&&(le._target[_e.propName]=Fe.rawValue),_e.setFinished()}else ue.push(_e)}if(ue.length||this._force){var Ue=new Clip$1({life:de,loop:this._loop,delay:this._delay||0,onframe:function(qe){le._started=2;var Et=le._additiveAnimators;if(Et){for(var At=!1,Lt=0;Lt<Et.length;Lt++)if(Et[Lt]._clip){At=!0;break}At||(le._additiveAnimators=null)}for(var Lt=0;Lt<ue.length;Lt++)ue[Lt].step(le._target,qe);var hn=le._onframeCbs;if(hn)for(var Lt=0;Lt<hn.length;Lt++)hn[Lt](le._target,qe)},ondestroy:function(){le._doneCallback()}});this._clip=Ue,this.animation&&this.animation.addClip(Ue),ie&&Ue.setEasing(ie)}else this._doneCallback();return this}},oe.prototype.stop=function(ie){if(this._clip){var le=this._clip;ie&&le.onframe(1),this._abortedCallback()}},oe.prototype.delay=function(ie){return this._delay=ie,this},oe.prototype.during=function(ie){return ie&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(ie)),this},oe.prototype.done=function(ie){return ie&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(ie)),this},oe.prototype.aborted=function(ie){return ie&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(ie)),this},oe.prototype.getClip=function(){return this._clip},oe.prototype.getTrack=function(ie){return this._tracks[ie]},oe.prototype.getTracks=function(){var ie=this;return map$2(this._trackKeys,function(le){return ie._tracks[le]})},oe.prototype.stopTracks=function(ie,le){if(!ie.length||!this._clip)return!0;for(var ue=this._tracks,de=this._trackKeys,pe=0;pe<ie.length;pe++){var he=ue[ie[pe]];he&&!he.isFinished()&&(le?he.step(this._target,1):this._started===1&&he.step(this._target,0),he.setFinished())}for(var _e=!0,pe=0;pe<de.length;pe++)if(!ue[de[pe]].isFinished()){_e=!1;break}return _e&&this._abortedCallback(),_e},oe.prototype.saveTo=function(ie,le,ue){if(ie){le=le||this._trackKeys;for(var de=0;de<le.length;de++){var pe=le[de],he=this._tracks[pe];if(!(!he||he.isFinished())){var _e=he.keyframes,$e=_e[ue?0:_e.length-1];$e&&(ie[pe]=cloneValue($e.rawValue))}}}},oe.prototype.__changeFinalValue=function(ie,le){le=le||keys(ie);for(var ue=0;ue<le.length;ue++){var de=le[ue],pe=this._tracks[de];if(pe){var he=pe.keyframes;if(he.length>1){var _e=he.pop();pe.addKeyframe(_e.time,ie[de]),pe.prepare(this._maxTime,pe.getAdditiveTrack())}}}},oe}();const Animator$1=Animator;function getTime(){return new Date().getTime()}var Animation=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this)||this;return ue._running=!1,ue._time=0,ue._pausedTime=0,ue._pauseStart=0,ue._paused=!1,le=le||{},ue.stage=le.stage||{},ue}return ie.prototype.addClip=function(le){le.animation&&this.removeClip(le),this._head?(this._tail.next=le,le.prev=this._tail,le.next=null,this._tail=le):this._head=this._tail=le,le.animation=this},ie.prototype.addAnimator=function(le){le.animation=this;var ue=le.getClip();ue&&this.addClip(ue)},ie.prototype.removeClip=function(le){if(le.animation){var ue=le.prev,de=le.next;ue?ue.next=de:this._head=de,de?de.prev=ue:this._tail=ue,le.next=le.prev=le.animation=null}},ie.prototype.removeAnimator=function(le){var ue=le.getClip();ue&&this.removeClip(ue),le.animation=null},ie.prototype.update=function(le){for(var ue=getTime()-this._pausedTime,de=ue-this._time,pe=this._head;pe;){var he=pe.next,_e=pe.step(ue,de);_e&&(pe.ondestroy(),this.removeClip(pe)),pe=he}this._time=ue,le||(this.trigger("frame",de),this.stage.update&&this.stage.update())},ie.prototype._startLoop=function(){var le=this;this._running=!0;function ue(){le._running&&(requestAnimationFrame$2(ue),!le._paused&&le.update())}requestAnimationFrame$2(ue)},ie.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},ie.prototype.stop=function(){this._running=!1},ie.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},ie.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},ie.prototype.clear=function(){for(var le=this._head;le;){var ue=le.next;le.prev=le.next=le.animation=null,le=ue}this._head=this._tail=null},ie.prototype.isFinished=function(){return this._head==null},ie.prototype.animate=function(le,ue){ue=ue||{},this.start();var de=new Animator$1(le,ue.loop);return this.addAnimator(de),de},ie}(Eventful$1);const Animation$1=Animation;var TOUCH_CLICK_DELAY=300,globalEventSupported=env$1.domSupported,localNativeListenerNames=function(){var oe=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ie=["touchstart","touchend","touchmove"],le={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},ue=map$2(oe,function(de){var pe=de.replace("mouse","pointer");return le.hasOwnProperty(pe)?pe:de});return{mouse:oe,touch:ie,pointer:ue}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(oe){var ie=oe.pointerType;return ie==="pen"||ie==="touch"}function setTouchTimer(oe){oe.touching=!0,oe.touchTimer!=null&&(clearTimeout(oe.touchTimer),oe.touchTimer=null),oe.touchTimer=setTimeout(function(){oe.touching=!1,oe.touchTimer=null},700)}function markTouch(oe){oe&&(oe.zrByTouch=!0)}function normalizeGlobalEvent(oe,ie){return normalizeEvent(oe.dom,new FakeGlobalEvent(oe,ie),!0)}function isLocalEl(oe,ie){for(var le=ie,ue=!1;le&&le.nodeType!==9&&!(ue=le.domBelongToZr||le!==ie&&le===oe.painterRoot);)le=le.parentNode;return ue}var FakeGlobalEvent=function(){function oe(ie,le){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=le.type,this.target=this.currentTarget=ie.dom,this.pointerType=le.pointerType,this.clientX=le.clientX,this.clientY=le.clientY}return oe}(),localDOMHandlers={mousedown:function(oe){oe=normalizeEvent(this.dom,oe),this.__mayPointerCapture=[oe.zrX,oe.zrY],this.trigger("mousedown",oe)},mousemove:function(oe){oe=normalizeEvent(this.dom,oe);var ie=this.__mayPointerCapture;ie&&(oe.zrX!==ie[0]||oe.zrY!==ie[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",oe)},mouseup:function(oe){oe=normalizeEvent(this.dom,oe),this.__togglePointerCapture(!1),this.trigger("mouseup",oe)},mouseout:function(oe){oe=normalizeEvent(this.dom,oe);var ie=oe.toElement||oe.relatedTarget;isLocalEl(this,ie)||(this.__pointerCapturing&&(oe.zrEventControl="no_globalout"),this.trigger("mouseout",oe))},wheel:function(oe){wheelEventSupported=!0,oe=normalizeEvent(this.dom,oe),this.trigger("mousewheel",oe)},mousewheel:function(oe){wheelEventSupported||(oe=normalizeEvent(this.dom,oe),this.trigger("mousewheel",oe))},touchstart:function(oe){oe=normalizeEvent(this.dom,oe),markTouch(oe),this.__lastTouchMoment=new Date,this.handler.processGesture(oe,"start"),localDOMHandlers.mousemove.call(this,oe),localDOMHandlers.mousedown.call(this,oe)},touchmove:function(oe){oe=normalizeEvent(this.dom,oe),markTouch(oe),this.handler.processGesture(oe,"change"),localDOMHandlers.mousemove.call(this,oe)},touchend:function(oe){oe=normalizeEvent(this.dom,oe),markTouch(oe),this.handler.processGesture(oe,"end"),localDOMHandlers.mouseup.call(this,oe),+new Date-+this.__lastTouchMoment<TOUCH_CLICK_DELAY&&localDOMHandlers.click.call(this,oe)},pointerdown:function(oe){localDOMHandlers.mousedown.call(this,oe)},pointermove:function(oe){isPointerFromTouch(oe)||localDOMHandlers.mousemove.call(this,oe)},pointerup:function(oe){localDOMHandlers.mouseup.call(this,oe)},pointerout:function(oe){isPointerFromTouch(oe)||localDOMHandlers.mouseout.call(this,oe)}};each$c(["click","dblclick","contextmenu"],function(oe){localDOMHandlers[oe]=function(ie){ie=normalizeEvent(this.dom,ie),this.trigger(oe,ie)}});var globalDOMHandlers={pointermove:function(oe){isPointerFromTouch(oe)||globalDOMHandlers.mousemove.call(this,oe)},pointerup:function(oe){globalDOMHandlers.mouseup.call(this,oe)},mousemove:function(oe){this.trigger("mousemove",oe)},mouseup:function(oe){var ie=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",oe),ie&&(oe.zrEventControl="only_globalout",this.trigger("mouseout",oe))}};function mountLocalDOMEventListeners(oe,ie){var le=ie.domHandlers;env$1.pointerEventsSupported?each$c(localNativeListenerNames.pointer,function(ue){mountSingleDOMEventListener(ie,ue,function(de){le[ue].call(oe,de)})}):(env$1.touchEventsSupported&&each$c(localNativeListenerNames.touch,function(ue){mountSingleDOMEventListener(ie,ue,function(de){le[ue].call(oe,de),setTouchTimer(ie)})}),each$c(localNativeListenerNames.mouse,function(ue){mountSingleDOMEventListener(ie,ue,function(de){de=getNativeEvent(de),ie.touching||le[ue].call(oe,de)})}))}function mountGlobalDOMEventListeners(oe,ie){env$1.pointerEventsSupported?each$c(globalNativeListenerNames.pointer,le):env$1.touchEventsSupported||each$c(globalNativeListenerNames.mouse,le);function le(ue){function de(pe){pe=getNativeEvent(pe),isLocalEl(oe,pe.target)||(pe=normalizeGlobalEvent(oe,pe),ie.domHandlers[ue].call(oe,pe))}mountSingleDOMEventListener(ie,ue,de,{capture:!0})}}function mountSingleDOMEventListener(oe,ie,le,ue){oe.mounted[ie]=le,oe.listenerOpts[ie]=ue,addEventListener(oe.domTarget,ie,le,ue)}function unmountDOMEventListeners(oe){var ie=oe.mounted;for(var le in ie)ie.hasOwnProperty(le)&&removeEventListener(oe.domTarget,le,ie[le],oe.listenerOpts[le]);oe.mounted={}}var DOMHandlerScope=function(){function oe(ie,le){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=ie,this.domHandlers=le}return oe}(),HandlerDomProxy=function(oe){__extends(ie,oe);function ie(le,ue){var de=oe.call(this)||this;return de.__pointerCapturing=!1,de.dom=le,de.painterRoot=ue,de._localHandlerScope=new DOMHandlerScope(le,localDOMHandlers),globalEventSupported&&(de._globalHandlerScope=new DOMHandlerScope(document,globalDOMHandlers)),mountLocalDOMEventListeners(de,de._localHandlerScope),de}return ie.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),globalEventSupported&&unmountDOMEventListeners(this._globalHandlerScope)},ie.prototype.setCursor=function(le){this.dom.style&&(this.dom.style.cursor=le||"default")},ie.prototype.__togglePointerCapture=function(le){if(this.__mayPointerCapture=null,globalEventSupported&&+this.__pointerCapturing^+le){this.__pointerCapturing=le;var ue=this._globalHandlerScope;le?mountGlobalDOMEventListeners(this,ue):unmountDOMEventListeners(ue)}},ie}(Eventful$1);const HandlerProxy=HandlerDomProxy;var dpr=1;env$1.hasGlobalWindow&&(dpr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var devicePixelRatio=dpr,DARK_MODE_THRESHOLD=.4,DARK_LABEL_COLOR="#333",LIGHT_LABEL_COLOR="#ccc",LIGHTER_LABEL_COLOR="#eee",mIdentity=identity,EPSILON$2=5e-5;function isNotAroundZero(oe){return oe>EPSILON$2||oe<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create(),abs=Math.abs,Transformable=function(){function oe(){}return oe.prototype.getLocalTransform=function(ie){return oe.getLocalTransform(this,ie)},oe.prototype.setPosition=function(ie){this.x=ie[0],this.y=ie[1]},oe.prototype.setScale=function(ie){this.scaleX=ie[0],this.scaleY=ie[1]},oe.prototype.setSkew=function(ie){this.skewX=ie[0],this.skewY=ie[1]},oe.prototype.setOrigin=function(ie){this.originX=ie[0],this.originY=ie[1]},oe.prototype.needLocalTransform=function(){return isNotAroundZero(this.rotation)||isNotAroundZero(this.x)||isNotAroundZero(this.y)||isNotAroundZero(this.scaleX-1)||isNotAroundZero(this.scaleY-1)||isNotAroundZero(this.skewX)||isNotAroundZero(this.skewY)},oe.prototype.updateTransform=function(){var ie=this.parent&&this.parent.transform,le=this.needLocalTransform(),ue=this.transform;if(!(le||ie)){ue&&mIdentity(ue);return}ue=ue||create(),le?this.getLocalTransform(ue):mIdentity(ue),ie&&(le?mul(ue,ie,ue):copy$1(ue,ie)),this.transform=ue,this._resolveGlobalScaleRatio(ue)},oe.prototype._resolveGlobalScaleRatio=function(ie){var le=this.globalScaleRatio;if(le!=null&&le!==1){this.getGlobalScale(scaleTmp);var ue=scaleTmp[0]<0?-1:1,de=scaleTmp[1]<0?-1:1,pe=((scaleTmp[0]-ue)*le+ue)/scaleTmp[0]||0,he=((scaleTmp[1]-de)*le+de)/scaleTmp[1]||0;ie[0]*=pe,ie[1]*=pe,ie[2]*=he,ie[3]*=he}this.invTransform=this.invTransform||create(),invert(this.invTransform,ie)},oe.prototype.getComputedTransform=function(){for(var ie=this,le=[];ie;)le.push(ie),ie=ie.parent;for(;ie=le.pop();)ie.updateTransform();return this.transform},oe.prototype.setLocalTransform=function(ie){if(ie){var le=ie[0]*ie[0]+ie[1]*ie[1],ue=ie[2]*ie[2]+ie[3]*ie[3],de=Math.atan2(ie[1],ie[0]),pe=Math.PI/2+de-Math.atan2(ie[3],ie[2]);ue=Math.sqrt(ue)*Math.cos(pe),le=Math.sqrt(le),this.skewX=pe,this.skewY=0,this.rotation=-de,this.x=+ie[4],this.y=+ie[5],this.scaleX=le,this.scaleY=ue,this.originX=0,this.originY=0}},oe.prototype.decomposeTransform=function(){if(this.transform){var ie=this.parent,le=this.transform;ie&&ie.transform&&(mul(tmpTransform,ie.invTransform,le),le=tmpTransform);var ue=this.originX,de=this.originY;(ue||de)&&(originTransform[4]=ue,originTransform[5]=de,mul(tmpTransform,le,originTransform),tmpTransform[4]-=ue,tmpTransform[5]-=de,le=tmpTransform),this.setLocalTransform(le)}},oe.prototype.getGlobalScale=function(ie){var le=this.transform;return ie=ie||[],le?(ie[0]=Math.sqrt(le[0]*le[0]+le[1]*le[1]),ie[1]=Math.sqrt(le[2]*le[2]+le[3]*le[3]),le[0]<0&&(ie[0]=-ie[0]),le[3]<0&&(ie[1]=-ie[1]),ie):(ie[0]=1,ie[1]=1,ie)},oe.prototype.transformCoordToLocal=function(ie,le){var ue=[ie,le],de=this.invTransform;return de&&applyTransform$1(ue,ue,de),ue},oe.prototype.transformCoordToGlobal=function(ie,le){var ue=[ie,le],de=this.transform;return de&&applyTransform$1(ue,ue,de),ue},oe.prototype.getLineScale=function(){var ie=this.transform;return ie&&abs(ie[0]-1)>1e-10&&abs(ie[3]-1)>1e-10?Math.sqrt(abs(ie[0]*ie[3]-ie[2]*ie[1])):1},oe.prototype.copyTransform=function(ie){copyTransform(this,ie)},oe.getLocalTransform=function(ie,le){le=le||[];var ue=ie.originX||0,de=ie.originY||0,pe=ie.scaleX,he=ie.scaleY,_e=ie.anchorX,$e=ie.anchorY,Ie=ie.rotation||0,Ve=ie.x,Fe=ie.y,Ue=ie.skewX?Math.tan(ie.skewX):0,qe=ie.skewY?Math.tan(-ie.skewY):0;if(ue||de||_e||$e){var Et=ue+_e,At=de+$e;le[4]=-Et*pe-Ue*At*he,le[5]=-At*he-qe*Et*pe}else le[4]=le[5]=0;return le[0]=pe,le[3]=he,le[1]=qe*pe,le[2]=Ue*he,Ie&&rotate(le,le,Ie),le[4]+=ue+Ve,le[5]+=de+Fe,le},oe.initDefaultProps=function(){var ie=oe.prototype;ie.scaleX=ie.scaleY=ie.globalScaleRatio=1,ie.x=ie.y=ie.originX=ie.originY=ie.skewX=ie.skewY=ie.rotation=ie.anchorX=ie.anchorY=0}(),oe}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(oe,ie){for(var le=0;le<TRANSFORMABLE_PROPS.length;le++){var ue=TRANSFORMABLE_PROPS[le];oe[ue]=ie[ue]}}const Transformable$1=Transformable;var textWidthCache={};function getWidth(oe,ie){ie=ie||DEFAULT_FONT;var le=textWidthCache[ie];le||(le=textWidthCache[ie]=new LRU$1(500));var ue=le.get(oe);return ue==null&&(ue=platformApi.measureText(oe,ie).width,le.put(oe,ue)),ue}function innerGetBoundingRect(oe,ie,le,ue){var de=getWidth(oe,ie),pe=getLineHeight(ie),he=adjustTextX(0,de,le),_e=adjustTextY(0,pe,ue),$e=new BoundingRect$1(he,_e,de,pe);return $e}function getBoundingRect(oe,ie,le,ue){var de=((oe||"")+"").split(`
`),pe=de.length;if(pe===1)return innerGetBoundingRect(de[0],ie,le,ue);for(var he=new BoundingRect$1(0,0,0,0),_e=0;_e<de.length;_e++){var $e=innerGetBoundingRect(de[_e],ie,le,ue);_e===0?he.copy($e):he.union($e)}return he}function adjustTextX(oe,ie,le){return le==="right"?oe-=ie:le==="center"&&(oe-=ie/2),oe}function adjustTextY(oe,ie,le){return le==="middle"?oe-=ie/2:le==="bottom"&&(oe-=ie),oe}function getLineHeight(oe){return getWidth("国",oe)}function parsePercent$1(oe,ie){return typeof oe=="string"?oe.lastIndexOf("%")>=0?parseFloat(oe)/100*ie:parseFloat(oe):oe}function calculateTextPosition(oe,ie,le){var ue=ie.position||"inside",de=ie.distance!=null?ie.distance:5,pe=le.height,he=le.width,_e=pe/2,$e=le.x,Ie=le.y,Ve="left",Fe="top";if(ue instanceof Array)$e+=parsePercent$1(ue[0],le.width),Ie+=parsePercent$1(ue[1],le.height),Ve=null,Fe=null;else switch(ue){case"left":$e-=de,Ie+=_e,Ve="right",Fe="middle";break;case"right":$e+=de+he,Ie+=_e,Fe="middle";break;case"top":$e+=he/2,Ie-=de,Ve="center",Fe="bottom";break;case"bottom":$e+=he/2,Ie+=pe+de,Ve="center";break;case"inside":$e+=he/2,Ie+=_e,Ve="center",Fe="middle";break;case"insideLeft":$e+=de,Ie+=_e,Fe="middle";break;case"insideRight":$e+=he-de,Ie+=_e,Ve="right",Fe="middle";break;case"insideTop":$e+=he/2,Ie+=de,Ve="center";break;case"insideBottom":$e+=he/2,Ie+=pe-de,Ve="center",Fe="bottom";break;case"insideTopLeft":$e+=de,Ie+=de;break;case"insideTopRight":$e+=he-de,Ie+=de,Ve="right";break;case"insideBottomLeft":$e+=de,Ie+=pe-de,Fe="bottom";break;case"insideBottomRight":$e+=he-de,Ie+=pe-de,Ve="right",Fe="bottom";break}return oe=oe||{},oe.x=$e,oe.y=Ie,oe.align=Ve,oe.verticalAlign=Fe,oe}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(oe,ie){return oe[ie]=!0,oe},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect$1(0,0,0,0),Element$1=function(){function oe(ie){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init(ie)}return oe.prototype._init=function(ie){this.attr(ie)},oe.prototype.drift=function(ie,le,ue){switch(this.draggable){case"horizontal":le=0;break;case"vertical":ie=0;break}var de=this.transform;de||(de=this.transform=[1,0,0,1,0,0]),de[4]+=ie,de[5]+=le,this.decomposeTransform(),this.markRedraw()},oe.prototype.beforeUpdate=function(){},oe.prototype.afterUpdate=function(){},oe.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},oe.prototype.updateInnerText=function(ie){var le=this._textContent;if(le&&(!le.ignore||ie)){this.textConfig||(this.textConfig={});var ue=this.textConfig,de=ue.local,pe=le.innerTransformable,he=void 0,_e=void 0,$e=!1;pe.parent=de?this:null;var Ie=!1;if(pe.copyTransform(le),ue.position!=null){var Ve=tmpBoundingRect;ue.layoutRect?Ve.copy(ue.layoutRect):Ve.copy(this.getBoundingRect()),de||Ve.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,ue,Ve):calculateTextPosition(tmpTextPosCalcRes,ue,Ve),pe.x=tmpTextPosCalcRes.x,pe.y=tmpTextPosCalcRes.y,he=tmpTextPosCalcRes.align,_e=tmpTextPosCalcRes.verticalAlign;var Fe=ue.origin;if(Fe&&ue.rotation!=null){var Ue=void 0,qe=void 0;Fe==="center"?(Ue=Ve.width*.5,qe=Ve.height*.5):(Ue=parsePercent$1(Fe[0],Ve.width),qe=parsePercent$1(Fe[1],Ve.height)),Ie=!0,pe.originX=-pe.x+Ue+(de?0:Ve.x),pe.originY=-pe.y+qe+(de?0:Ve.y)}}ue.rotation!=null&&(pe.rotation=ue.rotation);var Et=ue.offset;Et&&(pe.x+=Et[0],pe.y+=Et[1],Ie||(pe.originX=-Et[0],pe.originY=-Et[1]));var At=ue.inside==null?typeof ue.position=="string"&&ue.position.indexOf("inside")>=0:ue.inside,Lt=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),hn=void 0,vn=void 0,_n=void 0;At&&this.canBeInsideText()?(hn=ue.insideFill,vn=ue.insideStroke,(hn==null||hn==="auto")&&(hn=this.getInsideTextFill()),(vn==null||vn==="auto")&&(vn=this.getInsideTextStroke(hn),_n=!0)):(hn=ue.outsideFill,vn=ue.outsideStroke,(hn==null||hn==="auto")&&(hn=this.getOutsideFill()),(vn==null||vn==="auto")&&(vn=this.getOutsideStroke(hn),_n=!0)),hn=hn||"#000",(hn!==Lt.fill||vn!==Lt.stroke||_n!==Lt.autoStroke||he!==Lt.align||_e!==Lt.verticalAlign)&&($e=!0,Lt.fill=hn,Lt.stroke=vn,Lt.autoStroke=_n,Lt.align=he,Lt.verticalAlign=_e,le.setDefaultTextStyle(Lt)),le.__dirty|=REDRAW_BIT,$e&&le.dirtyStyle(!0)}},oe.prototype.canBeInsideText=function(){return!0},oe.prototype.getInsideTextFill=function(){return"#fff"},oe.prototype.getInsideTextStroke=function(ie){return"#000"},oe.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},oe.prototype.getOutsideStroke=function(ie){var le=this.__zr&&this.__zr.getBackgroundColor(),ue=typeof le=="string"&&parse$1(le);ue||(ue=[255,255,255,1]);for(var de=ue[3],pe=this.__zr.isDarkMode(),he=0;he<3;he++)ue[he]=ue[he]*de+(pe?0:255)*(1-de);return ue[3]=1,stringify(ue,"rgba")},oe.prototype.traverse=function(ie,le){},oe.prototype.attrKV=function(ie,le){ie==="textConfig"?this.setTextConfig(le):ie==="textContent"?this.setTextContent(le):ie==="clipPath"?this.setClipPath(le):ie==="extra"?(this.extra=this.extra||{},extend(this.extra,le)):this[ie]=le},oe.prototype.hide=function(){this.ignore=!0,this.markRedraw()},oe.prototype.show=function(){this.ignore=!1,this.markRedraw()},oe.prototype.attr=function(ie,le){if(typeof ie=="string")this.attrKV(ie,le);else if(isObject$3(ie))for(var ue=ie,de=keys(ue),pe=0;pe<de.length;pe++){var he=de[pe];this.attrKV(he,ie[he])}return this.markRedraw(),this},oe.prototype.saveCurrentToNormalState=function(ie){this._innerSaveToNormal(ie);for(var le=this._normalState,ue=0;ue<this.animators.length;ue++){var de=this.animators[ue],pe=de.__fromStateTransition;if(!(de.getLoop()||pe&&pe!==PRESERVED_NORMAL_STATE)){var he=de.targetName,_e=he?le[he]:le;de.saveTo(_e)}}},oe.prototype._innerSaveToNormal=function(ie){var le=this._normalState;le||(le=this._normalState={}),ie.textConfig&&!le.textConfig&&(le.textConfig=this.textConfig),this._savePrimaryToNormal(ie,le,PRIMARY_STATES_KEYS$1)},oe.prototype._savePrimaryToNormal=function(ie,le,ue){for(var de=0;de<ue.length;de++){var pe=ue[de];ie[pe]!=null&&!(pe in le)&&(le[pe]=this[pe])}},oe.prototype.hasState=function(){return this.currentStates.length>0},oe.prototype.getState=function(ie){return this.states[ie]},oe.prototype.ensureState=function(ie){var le=this.states;return le[ie]||(le[ie]={}),le[ie]},oe.prototype.clearStates=function(ie){this.useState(PRESERVED_NORMAL_STATE,!1,ie)},oe.prototype.useState=function(ie,le,ue,de){var pe=ie===PRESERVED_NORMAL_STATE,he=this.hasState();if(!(!he&&pe)){var _e=this.currentStates,$e=this.stateTransition;if(!(indexOf(_e,ie)>=0&&(le||_e.length===1))){var Ie;if(this.stateProxy&&!pe&&(Ie=this.stateProxy(ie)),Ie||(Ie=this.states&&this.states[ie]),!Ie&&!pe){logError("State "+ie+" not exists.");return}pe||this.saveCurrentToNormalState(Ie);var Ve=!!(Ie&&Ie.hoverLayer||de);Ve&&this._toggleHoverLayerFlag(!0),this._applyStateObj(ie,Ie,this._normalState,le,!ue&&!this.__inHover&&$e&&$e.duration>0,$e);var Fe=this._textContent,Ue=this._textGuide;return Fe&&Fe.useState(ie,le,ue,Ve),Ue&&Ue.useState(ie,le,ue,Ve),pe?(this.currentStates=[],this._normalState={}):le?this.currentStates.push(ie):this.currentStates=[ie],this._updateAnimationTargets(),this.markRedraw(),!Ve&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),Ie}}},oe.prototype.useStates=function(ie,le,ue){if(!ie.length)this.clearStates();else{var de=[],pe=this.currentStates,he=ie.length,_e=he===pe.length;if(_e){for(var $e=0;$e<he;$e++)if(ie[$e]!==pe[$e]){_e=!1;break}}if(_e)return;for(var $e=0;$e<he;$e++){var Ie=ie[$e],Ve=void 0;this.stateProxy&&(Ve=this.stateProxy(Ie,ie)),Ve||(Ve=this.states[Ie]),Ve&&de.push(Ve)}var Fe=de[he-1],Ue=!!(Fe&&Fe.hoverLayer||ue);Ue&&this._toggleHoverLayerFlag(!0);var qe=this._mergeStates(de),Et=this.stateTransition;this.saveCurrentToNormalState(qe),this._applyStateObj(ie.join(","),qe,this._normalState,!1,!le&&!this.__inHover&&Et&&Et.duration>0,Et);var At=this._textContent,Lt=this._textGuide;At&&At.useStates(ie,le,Ue),Lt&&Lt.useStates(ie,le,Ue),this._updateAnimationTargets(),this.currentStates=ie.slice(),this.markRedraw(),!Ue&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},oe.prototype._updateAnimationTargets=function(){for(var ie=0;ie<this.animators.length;ie++){var le=this.animators[ie];le.targetName&&le.changeTarget(this[le.targetName])}},oe.prototype.removeState=function(ie){var le=indexOf(this.currentStates,ie);if(le>=0){var ue=this.currentStates.slice();ue.splice(le,1),this.useStates(ue)}},oe.prototype.replaceState=function(ie,le,ue){var de=this.currentStates.slice(),pe=indexOf(de,ie),he=indexOf(de,le)>=0;pe>=0?he?de.splice(pe,1):de[pe]=le:ue&&!he&&de.push(le),this.useStates(de)},oe.prototype.toggleState=function(ie,le){le?this.useState(ie,!0):this.removeState(ie)},oe.prototype._mergeStates=function(ie){for(var le={},ue,de=0;de<ie.length;de++){var pe=ie[de];extend(le,pe),pe.textConfig&&(ue=ue||{},extend(ue,pe.textConfig))}return ue&&(le.textConfig=ue),le},oe.prototype._applyStateObj=function(ie,le,ue,de,pe,he){var _e=!(le&&de);le&&le.textConfig?(this.textConfig=extend({},de?this.textConfig:ue.textConfig),extend(this.textConfig,le.textConfig)):_e&&ue.textConfig&&(this.textConfig=ue.textConfig);for(var $e={},Ie=!1,Ve=0;Ve<PRIMARY_STATES_KEYS$1.length;Ve++){var Fe=PRIMARY_STATES_KEYS$1[Ve],Ue=pe&&DEFAULT_ANIMATABLE_MAP[Fe];le&&le[Fe]!=null?Ue?(Ie=!0,$e[Fe]=le[Fe]):this[Fe]=le[Fe]:_e&&ue[Fe]!=null&&(Ue?(Ie=!0,$e[Fe]=ue[Fe]):this[Fe]=ue[Fe])}if(!pe)for(var Ve=0;Ve<this.animators.length;Ve++){var qe=this.animators[Ve],Et=qe.targetName;qe.getLoop()||qe.__changeFinalValue(Et?(le||ue)[Et]:le||ue)}Ie&&this._transitionState(ie,$e,he)},oe.prototype._attachComponent=function(ie){if(!(ie.__zr&&!ie.__hostTarget)&&ie!==this){var le=this.__zr;le&&ie.addSelfToZr(le),ie.__zr=le,ie.__hostTarget=this}},oe.prototype._detachComponent=function(ie){ie.__zr&&ie.removeSelfFromZr(ie.__zr),ie.__zr=null,ie.__hostTarget=null},oe.prototype.getClipPath=function(){return this._clipPath},oe.prototype.setClipPath=function(ie){this._clipPath&&this._clipPath!==ie&&this.removeClipPath(),this._attachComponent(ie),this._clipPath=ie,this.markRedraw()},oe.prototype.removeClipPath=function(){var ie=this._clipPath;ie&&(this._detachComponent(ie),this._clipPath=null,this.markRedraw())},oe.prototype.getTextContent=function(){return this._textContent},oe.prototype.setTextContent=function(ie){var le=this._textContent;le!==ie&&(le&&le!==ie&&this.removeTextContent(),ie.innerTransformable=new Transformable$1,this._attachComponent(ie),this._textContent=ie,this.markRedraw())},oe.prototype.setTextConfig=function(ie){this.textConfig||(this.textConfig={}),extend(this.textConfig,ie),this.markRedraw()},oe.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},oe.prototype.removeTextContent=function(){var ie=this._textContent;ie&&(ie.innerTransformable=null,this._detachComponent(ie),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},oe.prototype.getTextGuideLine=function(){return this._textGuide},oe.prototype.setTextGuideLine=function(ie){this._textGuide&&this._textGuide!==ie&&this.removeTextGuideLine(),this._attachComponent(ie),this._textGuide=ie,this.markRedraw()},oe.prototype.removeTextGuideLine=function(){var ie=this._textGuide;ie&&(this._detachComponent(ie),this._textGuide=null,this.markRedraw())},oe.prototype.markRedraw=function(){this.__dirty|=REDRAW_BIT;var ie=this.__zr;ie&&(this.__inHover?ie.refreshHover():ie.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},oe.prototype.dirty=function(){this.markRedraw()},oe.prototype._toggleHoverLayerFlag=function(ie){this.__inHover=ie;var le=this._textContent,ue=this._textGuide;le&&(le.__inHover=ie),ue&&(ue.__inHover=ie)},oe.prototype.addSelfToZr=function(ie){if(this.__zr!==ie){this.__zr=ie;var le=this.animators;if(le)for(var ue=0;ue<le.length;ue++)ie.animation.addAnimator(le[ue]);this._clipPath&&this._clipPath.addSelfToZr(ie),this._textContent&&this._textContent.addSelfToZr(ie),this._textGuide&&this._textGuide.addSelfToZr(ie)}},oe.prototype.removeSelfFromZr=function(ie){if(this.__zr){this.__zr=null;var le=this.animators;if(le)for(var ue=0;ue<le.length;ue++)ie.animation.removeAnimator(le[ue]);this._clipPath&&this._clipPath.removeSelfFromZr(ie),this._textContent&&this._textContent.removeSelfFromZr(ie),this._textGuide&&this._textGuide.removeSelfFromZr(ie)}},oe.prototype.animate=function(ie,le,ue){var de=ie?this[ie]:this,pe=new Animator$1(de,le,ue);return ie&&(pe.targetName=ie),this.addAnimator(pe,ie),pe},oe.prototype.addAnimator=function(ie,le){var ue=this.__zr,de=this;ie.during(function(){de.updateDuringAnimation(le)}).done(function(){var pe=de.animators,he=indexOf(pe,ie);he>=0&&pe.splice(he,1)}),this.animators.push(ie),ue&&ue.animation.addAnimator(ie),ue&&ue.wakeUp()},oe.prototype.updateDuringAnimation=function(ie){this.markRedraw()},oe.prototype.stopAnimation=function(ie,le){for(var ue=this.animators,de=ue.length,pe=[],he=0;he<de;he++){var _e=ue[he];!ie||ie===_e.scope?_e.stop(le):pe.push(_e)}return this.animators=pe,this},oe.prototype.animateTo=function(ie,le,ue){animateTo(this,ie,le,ue)},oe.prototype.animateFrom=function(ie,le,ue){animateTo(this,ie,le,ue,!0)},oe.prototype._transitionState=function(ie,le,ue,de){for(var pe=animateTo(this,le,ue,de),he=0;he<pe.length;he++)pe[he].__fromStateTransition=ie},oe.prototype.getBoundingRect=function(){return null},oe.prototype.getPaintRect=function(){return null},oe.initDefaultProps=function(){var ie=oe.prototype;ie.type="element",ie.name="",ie.ignore=ie.silent=ie.isGroup=ie.draggable=ie.dragging=ie.ignoreClip=ie.__inHover=!1,ie.__dirty=REDRAW_BIT;function le(ue,de,pe,he){Object.defineProperty(ie,ue,{get:function(){if(!this[de]){var $e=this[de]=[];_e(this,$e)}return this[de]},set:function($e){this[pe]=$e[0],this[he]=$e[1],this[de]=$e,_e(this,$e)}});function _e($e,Ie){Object.defineProperty(Ie,0,{get:function(){return $e[pe]},set:function(Ve){$e[pe]=Ve}}),Object.defineProperty(Ie,1,{get:function(){return $e[he]},set:function(Ve){$e[he]=Ve}})}}Object.defineProperty&&(le("position","_legacyPos","x","y"),le("scale","_legacyScale","scaleX","scaleY"),le("origin","_legacyOrigin","originX","originY"))}(),oe}();mixin(Element$1,Eventful$1);mixin(Element$1,Transformable$1);function animateTo(oe,ie,le,ue,de){le=le||{};var pe=[];animateToShallow(oe,"",oe,ie,le,ue,pe,de);var he=pe.length,_e=!1,$e=le.done,Ie=le.aborted,Ve=function(){_e=!0,he--,he<=0&&(_e?$e&&$e():Ie&&Ie())},Fe=function(){he--,he<=0&&(_e?$e&&$e():Ie&&Ie())};he||$e&&$e(),pe.length>0&&le.during&&pe[0].during(function(Et,At){le.during(At)});for(var Ue=0;Ue<pe.length;Ue++){var qe=pe[Ue];Ve&&qe.done(Ve),Fe&&qe.aborted(Fe),le.force&&qe.duration(le.duration),qe.start(le.easing)}return pe}function copyArrShallow(oe,ie,le){for(var ue=0;ue<le;ue++)oe[ue]=ie[ue]}function is2DArray(oe){return isArrayLike(oe[0])}function copyValue(oe,ie,le){if(isArrayLike(ie[le]))if(isArrayLike(oe[le])||(oe[le]=[]),isTypedArray(ie[le])){var ue=ie[le].length;oe[le].length!==ue&&(oe[le]=new ie[le].constructor(ue),copyArrShallow(oe[le],ie[le],ue))}else{var de=ie[le],pe=oe[le],he=de.length;if(is2DArray(de))for(var _e=de[0].length,$e=0;$e<he;$e++)pe[$e]?copyArrShallow(pe[$e],de[$e],_e):pe[$e]=Array.prototype.slice.call(de[$e]);else copyArrShallow(pe,de,he);pe.length=de.length}else oe[le]=ie[le]}function isValueSame(oe,ie){return oe===ie||isArrayLike(oe)&&isArrayLike(ie)&&is1DArraySame(oe,ie)}function is1DArraySame(oe,ie){var le=oe.length;if(le!==ie.length)return!1;for(var ue=0;ue<le;ue++)if(oe[ue]!==ie[ue])return!1;return!0}function animateToShallow(oe,ie,le,ue,de,pe,he,_e){for(var $e=keys(ue),Ie=de.duration,Ve=de.delay,Fe=de.additive,Ue=de.setToFinal,qe=!isObject$3(pe),Et=oe.animators,At=[],Lt=0;Lt<$e.length;Lt++){var hn=$e[Lt],vn=ue[hn];if(vn!=null&&le[hn]!=null&&(qe||pe[hn]))if(isObject$3(vn)&&!isArrayLike(vn)&&!isGradientObject(vn)){if(ie){_e||(le[hn]=vn,oe.updateDuringAnimation(ie));continue}animateToShallow(oe,hn,le[hn],vn,de,pe&&pe[hn],he,_e)}else At.push(hn);else _e||(le[hn]=vn,oe.updateDuringAnimation(ie),At.push(hn))}var _n=At.length;if(!Fe&&_n)for(var bn=0;bn<Et.length;bn++){var Sn=Et[bn];if(Sn.targetName===ie){var Cn=Sn.stopTracks(At);if(Cn){var En=indexOf(Et,Sn);Et.splice(En,1)}}}if(de.force||(At=filter(At,function(Pn){return!isValueSame(ue[Pn],le[Pn])}),_n=At.length),_n>0||de.force&&!he.length){var wn=void 0,xn=void 0,kn=void 0;if(_e){xn={},Ue&&(wn={});for(var bn=0;bn<_n;bn++){var hn=At[bn];xn[hn]=le[hn],Ue?wn[hn]=ue[hn]:le[hn]=ue[hn]}}else if(Ue){kn={};for(var bn=0;bn<_n;bn++){var hn=At[bn];kn[hn]=cloneValue(le[hn]),copyValue(le,ue,hn)}}var Sn=new Animator$1(le,!1,!1,Fe?filter(Et,function(An){return An.targetName===ie}):null);Sn.targetName=ie,de.scope&&(Sn.scope=de.scope),Ue&&wn&&Sn.whenWithKeys(0,wn,At),kn&&Sn.whenWithKeys(0,kn,At),Sn.whenWithKeys(Ie??500,_e?xn:ue,At).delay(Ve||0),oe.addAnimator(Sn,ie),he.push(Sn)}}const Element$2=Element$1;var Group$2=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this)||this;return ue.isGroup=!0,ue._children=[],ue.attr(le),ue}return ie.prototype.childrenRef=function(){return this._children},ie.prototype.children=function(){return this._children.slice()},ie.prototype.childAt=function(le){return this._children[le]},ie.prototype.childOfName=function(le){for(var ue=this._children,de=0;de<ue.length;de++)if(ue[de].name===le)return ue[de]},ie.prototype.childCount=function(){return this._children.length},ie.prototype.add=function(le){return le&&le!==this&&le.parent!==this&&(this._children.push(le),this._doAdd(le)),this},ie.prototype.addBefore=function(le,ue){if(le&&le!==this&&le.parent!==this&&ue&&ue.parent===this){var de=this._children,pe=de.indexOf(ue);pe>=0&&(de.splice(pe,0,le),this._doAdd(le))}return this},ie.prototype.replace=function(le,ue){var de=indexOf(this._children,le);return de>=0&&this.replaceAt(ue,de),this},ie.prototype.replaceAt=function(le,ue){var de=this._children,pe=de[ue];if(le&&le!==this&&le.parent!==this&&le!==pe){de[ue]=le,pe.parent=null;var he=this.__zr;he&&pe.removeSelfFromZr(he),this._doAdd(le)}return this},ie.prototype._doAdd=function(le){le.parent&&le.parent.remove(le),le.parent=this;var ue=this.__zr;ue&&ue!==le.__zr&&le.addSelfToZr(ue),ue&&ue.refresh()},ie.prototype.remove=function(le){var ue=this.__zr,de=this._children,pe=indexOf(de,le);return pe<0?this:(de.splice(pe,1),le.parent=null,ue&&le.removeSelfFromZr(ue),ue&&ue.refresh(),this)},ie.prototype.removeAll=function(){for(var le=this._children,ue=this.__zr,de=0;de<le.length;de++){var pe=le[de];ue&&pe.removeSelfFromZr(ue),pe.parent=null}return le.length=0,this},ie.prototype.eachChild=function(le,ue){for(var de=this._children,pe=0;pe<de.length;pe++){var he=de[pe];le.call(ue,he,pe)}return this},ie.prototype.traverse=function(le,ue){for(var de=0;de<this._children.length;de++){var pe=this._children[de],he=le.call(ue,pe);pe.isGroup&&!he&&pe.traverse(le,ue)}return this},ie.prototype.addSelfToZr=function(le){oe.prototype.addSelfToZr.call(this,le);for(var ue=0;ue<this._children.length;ue++){var de=this._children[ue];de.addSelfToZr(le)}},ie.prototype.removeSelfFromZr=function(le){oe.prototype.removeSelfFromZr.call(this,le);for(var ue=0;ue<this._children.length;ue++){var de=this._children[ue];de.removeSelfFromZr(le)}},ie.prototype.getBoundingRect=function(le){for(var ue=new BoundingRect$1(0,0,0,0),de=le||this._children,pe=[],he=null,_e=0;_e<de.length;_e++){var $e=de[_e];if(!($e.ignore||$e.invisible)){var Ie=$e.getBoundingRect(),Ve=$e.getLocalTransform(pe);Ve?(BoundingRect$1.applyTransform(ue,Ie,Ve),he=he||ue.clone(),he.union(ue)):(he=he||Ie.clone(),he.union(Ie))}}return he||ue},ie}(Element$2);Group$2.prototype.type="group";const Group$3=Group$2;/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var painterCtors={},instances$1={};function delInstance(oe){delete instances$1[oe]}function isDarkMode(oe){if(!oe)return!1;if(typeof oe=="string")return lum(oe,1)<DARK_MODE_THRESHOLD;if(oe.colorStops){for(var ie=oe.colorStops,le=0,ue=ie.length,de=0;de<ue;de++)le+=lum(ie[de].color,1);return le/=ue,le<DARK_MODE_THRESHOLD}return!1}var ZRender=function(){function oe(ie,le,ue){var de=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,ue=ue||{},this.dom=le,this.id=ie;var pe=new Storage$1,he=ue.renderer||"canvas";painterCtors[he]||(he=keys(painterCtors)[0]),ue.useDirtyRect=ue.useDirtyRect==null?!1:ue.useDirtyRect;var _e=new painterCtors[he](le,pe,ue,ie),$e=ue.ssr||_e.ssrOnly;this.storage=pe,this.painter=_e;var Ie=!env$1.node&&!env$1.worker&&!$e?new HandlerProxy(_e.getViewportRoot(),_e.root):null,Ve=ue.useCoarsePointer,Fe=Ve==null||Ve==="auto"?env$1.touchEventsSupported:!!Ve,Ue=44,qe;Fe&&(qe=retrieve2(ue.pointerSize,Ue)),this.handler=new Handler$1(pe,_e,Ie,_e.root,qe),this.animation=new Animation$1({stage:{update:$e?null:function(){return de._flush(!0)}}}),$e||this.animation.start()}return oe.prototype.add=function(ie){ie&&(this.storage.addRoot(ie),ie.addSelfToZr(this),this.refresh())},oe.prototype.remove=function(ie){ie&&(this.storage.delRoot(ie),ie.removeSelfFromZr(this),this.refresh())},oe.prototype.configLayer=function(ie,le){this.painter.configLayer&&this.painter.configLayer(ie,le),this.refresh()},oe.prototype.setBackgroundColor=function(ie){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(ie),this.refresh(),this._backgroundColor=ie,this._darkMode=isDarkMode(ie)},oe.prototype.getBackgroundColor=function(){return this._backgroundColor},oe.prototype.setDarkMode=function(ie){this._darkMode=ie},oe.prototype.isDarkMode=function(){return this._darkMode},oe.prototype.refreshImmediately=function(ie){ie||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},oe.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},oe.prototype.flush=function(){this._flush(!1)},oe.prototype._flush=function(ie){var le,ue=getTime();this._needsRefresh&&(le=!0,this.refreshImmediately(ie)),this._needsRefreshHover&&(le=!0,this.refreshHoverImmediately());var de=getTime();le?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:de-ue})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},oe.prototype.setSleepAfterStill=function(ie){this._sleepAfterStill=ie},oe.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},oe.prototype.refreshHover=function(){this._needsRefreshHover=!0},oe.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},oe.prototype.resize=function(ie){ie=ie||{},this.painter.resize(ie.width,ie.height),this.handler.resize()},oe.prototype.clearAnimation=function(){this.animation.clear()},oe.prototype.getWidth=function(){return this.painter.getWidth()},oe.prototype.getHeight=function(){return this.painter.getHeight()},oe.prototype.setCursorStyle=function(ie){this.handler.setCursorStyle(ie)},oe.prototype.findHover=function(ie,le){return this.handler.findHover(ie,le)},oe.prototype.on=function(ie,le,ue){return this.handler.on(ie,le,ue),this},oe.prototype.off=function(ie,le){this.handler.off(ie,le)},oe.prototype.trigger=function(ie,le){this.handler.trigger(ie,le)},oe.prototype.clear=function(){for(var ie=this.storage.getRoots(),le=0;le<ie.length;le++)ie[le]instanceof Group$3&&ie[le].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},oe.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,delInstance(this.id)},oe}();function init$1(oe,ie){var le=new ZRender(guid(),oe,ie);return instances$1[le.id]=le,le}function dispose$1(oe){oe.dispose()}function disposeAll(){for(var oe in instances$1)instances$1.hasOwnProperty(oe)&&instances$1[oe].dispose();instances$1={}}function getInstance(oe){return instances$1[oe]}function registerPainter(oe,ie){painterCtors[oe]=ie}var version$1="5.4.3";const zrender=Object.freeze(Object.defineProperty({__proto__:null,dispose:dispose$1,disposeAll,getInstance,init:init$1,registerPainter,version:version$1},Symbol.toStringTag,{value:"Module"}));var RADIAN_EPSILON=1e-4,ROUND_SUPPORTED_PRECISION_MAX=20;function _trim(oe){return oe.replace(/^\s+|\s+$/g,"")}function linearMap$2(oe,ie,le,ue){var de=ie[0],pe=ie[1],he=le[0],_e=le[1],$e=pe-de,Ie=_e-he;if($e===0)return Ie===0?he:(he+_e)/2;if(ue)if($e>0){if(oe<=de)return he;if(oe>=pe)return _e}else{if(oe>=de)return he;if(oe<=pe)return _e}else{if(oe===de)return he;if(oe===pe)return _e}return(oe-de)/$e*Ie+he}function parsePercent(oe,ie){switch(oe){case"center":case"middle":oe="50%";break;case"left":case"top":oe="0%";break;case"right":case"bottom":oe="100%";break}return isString(oe)?_trim(oe).match(/%$/)?parseFloat(oe)/100*ie:parseFloat(oe):oe==null?NaN:+oe}function round$1(oe,ie,le){return ie==null&&(ie=10),ie=Math.min(Math.max(0,ie),ROUND_SUPPORTED_PRECISION_MAX),oe=(+oe).toFixed(ie),le?oe:+oe}function asc$2(oe){return oe.sort(function(ie,le){return ie-le}),oe}function getPrecision(oe){if(oe=+oe,isNaN(oe))return 0;if(oe>1e-14){for(var ie=1,le=0;le<15;le++,ie*=10)if(Math.round(oe*ie)/ie===oe)return le}return getPrecisionSafe(oe)}function getPrecisionSafe(oe){var ie=oe.toString().toLowerCase(),le=ie.indexOf("e"),ue=le>0?+ie.slice(le+1):0,de=le>0?le:ie.length,pe=ie.indexOf("."),he=pe<0?0:de-1-pe;return Math.max(0,he-ue)}function getPixelPrecision(oe,ie){var le=Math.log,ue=Math.LN10,de=Math.floor(le(oe[1]-oe[0])/ue),pe=Math.round(le(Math.abs(ie[1]-ie[0]))/ue),he=Math.min(Math.max(-de+pe,0),20);return isFinite(he)?he:20}function getPercentWithPrecision(oe,ie,le){if(!oe[ie])return 0;var ue=getPercentSeats(oe,le);return ue[ie]||0}function getPercentSeats(oe,ie){var le=reduce(oe,function(qe,Et){return qe+(isNaN(Et)?0:Et)},0);if(le===0)return[];for(var ue=Math.pow(10,ie),de=map$2(oe,function(qe){return(isNaN(qe)?0:qe)/le*ue*100}),pe=ue*100,he=map$2(de,function(qe){return Math.floor(qe)}),_e=reduce(he,function(qe,Et){return qe+Et},0),$e=map$2(de,function(qe,Et){return qe-he[Et]});_e<pe;){for(var Ie=Number.NEGATIVE_INFINITY,Ve=null,Fe=0,Ue=$e.length;Fe<Ue;++Fe)$e[Fe]>Ie&&(Ie=$e[Fe],Ve=Fe);++he[Ve],$e[Ve]=0,++_e}return map$2(he,function(qe){return qe/ue})}function addSafe(oe,ie){var le=Math.max(getPrecision(oe),getPrecision(ie)),ue=oe+ie;return le>ROUND_SUPPORTED_PRECISION_MAX?ue:round$1(ue,le)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian(oe){var ie=Math.PI*2;return(oe%ie+ie)%ie}function isRadianAroundZero(oe){return oe>-RADIAN_EPSILON&&oe<RADIAN_EPSILON}var TIME_REG=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function parseDate(oe){if(oe instanceof Date)return oe;if(isString(oe)){var ie=TIME_REG.exec(oe);if(!ie)return new Date(NaN);if(ie[8]){var le=+ie[4]||0;return ie[8].toUpperCase()!=="Z"&&(le-=+ie[8].slice(0,3)),new Date(Date.UTC(+ie[1],+(ie[2]||1)-1,+ie[3]||1,le,+(ie[5]||0),+ie[6]||0,ie[7]?+ie[7].substring(0,3):0))}else return new Date(+ie[1],+(ie[2]||1)-1,+ie[3]||1,+ie[4]||0,+(ie[5]||0),+ie[6]||0,ie[7]?+ie[7].substring(0,3):0)}else if(oe==null)return new Date(NaN);return new Date(Math.round(oe))}function quantity(oe){return Math.pow(10,quantityExponent(oe))}function quantityExponent(oe){if(oe===0)return 0;var ie=Math.floor(Math.log(oe)/Math.LN10);return oe/Math.pow(10,ie)>=10&&ie++,ie}function nice(oe,ie){var le=quantityExponent(oe),ue=Math.pow(10,le),de=oe/ue,pe;return ie?de<1.5?pe=1:de<2.5?pe=2:de<4?pe=3:de<7?pe=5:pe=10:de<1?pe=1:de<2?pe=2:de<3?pe=3:de<5?pe=5:pe=10,oe=pe*ue,le>=-20?+oe.toFixed(le<0?-le:0):oe}function quantile(oe,ie){var le=(oe.length-1)*ie+1,ue=Math.floor(le),de=+oe[ue-1],pe=le-ue;return pe?de+pe*(oe[ue]-de):de}function reformIntervals(oe){oe.sort(function($e,Ie){return _e($e,Ie,0)?-1:1});for(var ie=-1/0,le=1,ue=0;ue<oe.length;){for(var de=oe[ue].interval,pe=oe[ue].close,he=0;he<2;he++)de[he]<=ie&&(de[he]=ie,pe[he]=he?1:1-le),ie=de[he],le=pe[he];de[0]===de[1]&&pe[0]*pe[1]!==1?oe.splice(ue,1):ue++}return oe;function _e($e,Ie,Ve){return $e.interval[Ve]<Ie.interval[Ve]||$e.interval[Ve]===Ie.interval[Ve]&&($e.close[Ve]-Ie.close[Ve]===(Ve?-1:1)||!Ve&&_e($e,Ie,1))}}function numericToNumber(oe){var ie=parseFloat(oe);return ie==oe&&(ie!==0||!isString(oe)||oe.indexOf("x")<=0)?ie:NaN}function isNumeric(oe){return!isNaN(numericToNumber(oe))}function getRandomIdBase(){return Math.round(Math.random()*9)}function getGreatestCommonDividor(oe,ie){return ie===0?oe:getGreatestCommonDividor(ie,oe%ie)}function getLeastCommonMultiple(oe,ie){return oe==null?ie:ie==null?oe:oe*ie/getGreatestCommonDividor(oe,ie)}var ECHARTS_PREFIX="[ECharts] ",storedLogs={},hasConsole=typeof console<"u"&&console.warn&&console.log;function outputLog(oe,ie,le){if(hasConsole){if(le){if(storedLogs[ie])return;storedLogs[ie]=!0}console[oe](ECHARTS_PREFIX+ie)}}function warn(oe,ie){outputLog("warn",oe,ie)}function throwError(oe){throw new Error(oe)}function interpolateNumber(oe,ie,le){return(ie-oe)*le+oe}var DUMMY_COMPONENT_NAME_PREFIX="series\0",INTERNAL_COMPONENT_ID_PREFIX="\0_ec_\0";function normalizeToArray(oe){return oe instanceof Array?oe:oe==null?[]:[oe]}function defaultEmphasis(oe,ie,le){if(oe){oe[ie]=oe[ie]||{},oe.emphasis=oe.emphasis||{},oe.emphasis[ie]=oe.emphasis[ie]||{};for(var ue=0,de=le.length;ue<de;ue++){var pe=le[ue];!oe.emphasis[ie].hasOwnProperty(pe)&&oe[ie].hasOwnProperty(pe)&&(oe.emphasis[ie][pe]=oe[ie][pe])}}}var TEXT_STYLE_OPTIONS=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function getDataItemValue(oe){return isObject$3(oe)&&!isArray$1(oe)&&!(oe instanceof Date)?oe.value:oe}function isDataItemOption(oe){return isObject$3(oe)&&!(oe instanceof Array)}function mappingToExists(oe,ie,le){var ue=le==="normalMerge",de=le==="replaceMerge",pe=le==="replaceAll";oe=oe||[],ie=(ie||[]).slice();var he=createHashMap();each$c(ie,function($e,Ie){if(!isObject$3($e)){ie[Ie]=null;return}});var _e=prepareResult(oe,he,le);return(ue||de)&&mappingById(_e,oe,he,ie),ue&&mappingByName(_e,ie),ue||de?mappingByIndex(_e,ie,de):pe&&mappingInReplaceAllMode(_e,ie),makeIdAndName(_e),_e}function prepareResult(oe,ie,le){var ue=[];if(le==="replaceAll")return ue;for(var de=0;de<oe.length;de++){var pe=oe[de];pe&&pe.id!=null&&ie.set(pe.id,de),ue.push({existing:le==="replaceMerge"||isComponentIdInternal(pe)?null:pe,newOption:null,keyInfo:null,brandNew:null})}return ue}function mappingById(oe,ie,le,ue){each$c(ue,function(de,pe){if(!(!de||de.id==null)){var he=makeComparableKey(de.id),_e=le.get(he);if(_e!=null){var $e=oe[_e];assert(!$e.newOption,'Duplicated option on id "'+he+'".'),$e.newOption=de,$e.existing=ie[_e],ue[pe]=null}}})}function mappingByName(oe,ie){each$c(ie,function(le,ue){if(!(!le||le.name==null))for(var de=0;de<oe.length;de++){var pe=oe[de].existing;if(!oe[de].newOption&&pe&&(pe.id==null||le.id==null)&&!isComponentIdInternal(le)&&!isComponentIdInternal(pe)&&keyExistAndEqual("name",pe,le)){oe[de].newOption=le,ie[ue]=null;return}}})}function mappingByIndex(oe,ie,le){each$c(ie,function(ue){if(ue){for(var de,pe=0;(de=oe[pe])&&(de.newOption||isComponentIdInternal(de.existing)||de.existing&&ue.id!=null&&!keyExistAndEqual("id",ue,de.existing));)pe++;de?(de.newOption=ue,de.brandNew=le):oe.push({newOption:ue,brandNew:le,existing:null,keyInfo:null}),pe++}})}function mappingInReplaceAllMode(oe,ie){each$c(ie,function(le){oe.push({newOption:le,brandNew:!0,existing:null,keyInfo:null})})}function makeIdAndName(oe){var ie=createHashMap();each$c(oe,function(le){var ue=le.existing;ue&&ie.set(ue.id,le)}),each$c(oe,function(le){var ue=le.newOption;assert(!ue||ue.id==null||!ie.get(ue.id)||ie.get(ue.id)===le,"id duplicates: "+(ue&&ue.id)),ue&&ue.id!=null&&ie.set(ue.id,le),!le.keyInfo&&(le.keyInfo={})}),each$c(oe,function(le,ue){var de=le.existing,pe=le.newOption,he=le.keyInfo;if(isObject$3(pe)){if(he.name=pe.name!=null?makeComparableKey(pe.name):de?de.name:DUMMY_COMPONENT_NAME_PREFIX+ue,de)he.id=makeComparableKey(de.id);else if(pe.id!=null)he.id=makeComparableKey(pe.id);else{var _e=0;do he.id="\0"+he.name+"\0"+_e++;while(ie.get(he.id))}ie.set(he.id,le)}})}function keyExistAndEqual(oe,ie,le){var ue=convertOptionIdName(ie[oe],null),de=convertOptionIdName(le[oe],null);return ue!=null&&de!=null&&ue===de}function makeComparableKey(oe){return convertOptionIdName(oe,"")}function convertOptionIdName(oe,ie){return oe==null?ie:isString(oe)?oe:isNumber(oe)||isStringSafe(oe)?oe+"":ie}function isNameSpecified(oe){var ie=oe.name;return!!(ie&&ie.indexOf(DUMMY_COMPONENT_NAME_PREFIX))}function isComponentIdInternal(oe){return oe&&oe.id!=null&&makeComparableKey(oe.id).indexOf(INTERNAL_COMPONENT_ID_PREFIX)===0}function makeInternalComponentId(oe){return INTERNAL_COMPONENT_ID_PREFIX+oe}function setComponentTypeToKeyInfo(oe,ie,le){each$c(oe,function(ue){var de=ue.newOption;isObject$3(de)&&(ue.keyInfo.mainType=ie,ue.keyInfo.subType=determineSubType(ie,de,ue.existing,le))})}function determineSubType(oe,ie,le,ue){var de=ie.type?ie.type:le?le.subType:ue.determineSubType(oe,ie);return de}function compressBatches(oe,ie){var le={},ue={};return de(oe||[],le),de(ie||[],ue,le),[pe(le),pe(ue)];function de(he,_e,$e){for(var Ie=0,Ve=he.length;Ie<Ve;Ie++){var Fe=convertOptionIdName(he[Ie].seriesId,null);if(Fe==null)return;for(var Ue=normalizeToArray(he[Ie].dataIndex),qe=$e&&$e[Fe],Et=0,At=Ue.length;Et<At;Et++){var Lt=Ue[Et];qe&&qe[Lt]?qe[Lt]=null:(_e[Fe]||(_e[Fe]={}))[Lt]=1}}}function pe(he,_e){var $e=[];for(var Ie in he)if(he.hasOwnProperty(Ie)&&he[Ie]!=null)if(_e)$e.push(+Ie);else{var Ve=pe(he[Ie],!0);Ve.length&&$e.push({seriesId:Ie,dataIndex:Ve})}return $e}}function queryDataIndex(oe,ie){if(ie.dataIndexInside!=null)return ie.dataIndexInside;if(ie.dataIndex!=null)return isArray$1(ie.dataIndex)?map$2(ie.dataIndex,function(le){return oe.indexOfRawIndex(le)}):oe.indexOfRawIndex(ie.dataIndex);if(ie.name!=null)return isArray$1(ie.name)?map$2(ie.name,function(le){return oe.indexOfName(le)}):oe.indexOfName(ie.name)}function makeInner(){var oe="__ec_inner_"+innerUniqueIndex++;return function(ie){return ie[oe]||(ie[oe]={})}}var innerUniqueIndex=getRandomIdBase();function parseFinder$1(oe,ie,le){var ue=preParseFinder(ie,le),de=ue.mainTypeSpecified,pe=ue.queryOptionMap,he=ue.others,_e=he,$e=le?le.defaultMainType:null;return!de&&$e&&pe.set($e,{}),pe.each(function(Ie,Ve){var Fe=queryReferringComponents(oe,Ve,Ie,{useDefault:$e===Ve,enableAll:le&&le.enableAll!=null?le.enableAll:!0,enableNone:le&&le.enableNone!=null?le.enableNone:!0});_e[Ve+"Models"]=Fe.models,_e[Ve+"Model"]=Fe.models[0]}),_e}function preParseFinder(oe,ie){var le;if(isString(oe)){var ue={};ue[oe+"Index"]=0,le=ue}else le=oe;var de=createHashMap(),pe={},he=!1;return each$c(le,function(_e,$e){if($e==="dataIndex"||$e==="dataIndexInside"){pe[$e]=_e;return}var Ie=$e.match(/^(\w+)(Index|Id|Name)$/)||[],Ve=Ie[1],Fe=(Ie[2]||"").toLowerCase();if(!(!Ve||!Fe||ie&&ie.includeMainTypes&&indexOf(ie.includeMainTypes,Ve)<0)){he=he||!!Ve;var Ue=de.get(Ve)||de.set(Ve,{});Ue[Fe]=_e}}),{mainTypeSpecified:he,queryOptionMap:de,others:pe}}var SINGLE_REFERRING={useDefault:!0,enableAll:!1,enableNone:!1},MULTIPLE_REFERRING={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents(oe,ie,le,ue){ue=ue||SINGLE_REFERRING;var de=le.index,pe=le.id,he=le.name,_e={models:null,specified:de!=null||pe!=null||he!=null};if(!_e.specified){var $e=void 0;return _e.models=ue.useDefault&&($e=oe.getComponent(ie))?[$e]:[],_e}return de==="none"||de===!1?(assert(ue.enableNone,'`"none"` or `false` is not a valid value on index option.'),_e.models=[],_e):(de==="all"&&(assert(ue.enableAll,'`"all"` is not a valid value on index option.'),de=pe=he=null),_e.models=oe.queryComponents({mainType:ie,index:de,id:pe,name:he}),_e)}function setAttribute(oe,ie,le){oe.setAttribute?oe.setAttribute(ie,le):oe[ie]=le}function getAttribute(oe,ie){return oe.getAttribute?oe.getAttribute(ie):oe[ie]}function getTooltipRenderMode(oe){return oe==="auto"?env$1.domSupported?"html":"richText":oe||"html"}function interpolateRawValues(oe,ie,le,ue,de){var pe=ie==null||ie==="auto";if(ue==null)return ue;if(isNumber(ue)){var he=interpolateNumber(le||0,ue,de);return round$1(he,pe?Math.max(getPrecision(le||0),getPrecision(ue)):ie)}else{if(isString(ue))return de<1?le:ue;for(var _e=[],$e=le,Ie=ue,Ve=Math.max($e?$e.length:0,Ie.length),Fe=0;Fe<Ve;++Fe){var Ue=oe.getDimensionInfo(Fe);if(Ue&&Ue.type==="ordinal")_e[Fe]=(de<1&&$e?$e:Ie)[Fe];else{var qe=$e&&$e[Fe]?$e[Fe]:0,Et=Ie[Fe],he=interpolateNumber(qe,Et,de);_e[Fe]=round$1(he,pe?Math.max(getPrecision(qe),getPrecision(Et)):ie)}}return _e}}var TYPE_DELIMITER=".",IS_CONTAINER="___EC__COMPONENT__CONTAINER___",IS_EXTENDED_CLASS="___EC__EXTENDED_CLASS___";function parseClassType(oe){var ie={main:"",sub:""};if(oe){var le=oe.split(TYPE_DELIMITER);ie.main=le[0]||"",ie.sub=le[1]||""}return ie}function checkClassType(oe){assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(oe),'componentType "'+oe+'" illegal')}function isExtendedClass(oe){return!!(oe&&oe[IS_EXTENDED_CLASS])}function enableClassExtend(oe,ie){oe.$constructor=oe,oe.extend=function(le){var ue=this,de;return isESClass(ue)?de=function(pe){__extends(he,pe);function he(){return pe.apply(this,arguments)||this}return he}(ue):(de=function(){(le.$constructor||ue).apply(this,arguments)},inherits(de,this)),extend(de.prototype,le),de[IS_EXTENDED_CLASS]=!0,de.extend=this.extend,de.superCall=superCall,de.superApply=superApply,de.superClass=ue,de}}function isESClass(oe){return isFunction(oe)&&/^class\s/.test(Function.prototype.toString.call(oe))}function mountExtend(oe,ie){oe.extend=ie.extend}var classBase=Math.round(Math.random()*10);function enableClassCheck(oe){var ie=["__\0is_clz",classBase++].join("_");oe.prototype[ie]=!0,oe.isInstance=function(le){return!!(le&&le[ie])}}function superCall(oe,ie){for(var le=[],ue=2;ue<arguments.length;ue++)le[ue-2]=arguments[ue];return this.superClass.prototype[ie].apply(oe,le)}function superApply(oe,ie,le){return this.superClass.prototype[ie].apply(oe,le)}function enableClassManagement(oe){var ie={};oe.registerClass=function(ue){var de=ue.type||ue.prototype.type;if(de){checkClassType(de),ue.prototype.type=de;var pe=parseClassType(de);if(!pe.sub)ie[pe.main]=ue;else if(pe.sub!==IS_CONTAINER){var he=le(pe);he[pe.sub]=ue}}return ue},oe.getClass=function(ue,de,pe){var he=ie[ue];if(he&&he[IS_CONTAINER]&&(he=de?he[de]:null),pe&&!he)throw new Error(de?"Component "+ue+"."+(de||"")+" is used but not imported.":ue+".type should be specified.");return he},oe.getClassesByMainType=function(ue){var de=parseClassType(ue),pe=[],he=ie[de.main];return he&&he[IS_CONTAINER]?each$c(he,function(_e,$e){$e!==IS_CONTAINER&&pe.push(_e)}):pe.push(he),pe},oe.hasClass=function(ue){var de=parseClassType(ue);return!!ie[de.main]},oe.getAllClassMainTypes=function(){var ue=[];return each$c(ie,function(de,pe){ue.push(pe)}),ue},oe.hasSubTypes=function(ue){var de=parseClassType(ue),pe=ie[de.main];return pe&&pe[IS_CONTAINER]};function le(ue){var de=ie[ue.main];return(!de||!de[IS_CONTAINER])&&(de=ie[ue.main]={},de[IS_CONTAINER]=!0),de}}function makeStyleMapper(oe,ie){for(var le=0;le<oe.length;le++)oe[le][1]||(oe[le][1]=oe[le][0]);return ie=ie||!1,function(ue,de,pe){for(var he={},_e=0;_e<oe.length;_e++){var $e=oe[_e][1];if(!(de&&indexOf(de,$e)>=0||pe&&indexOf(pe,$e)<0)){var Ie=ue.getShallow($e,ie);Ie!=null&&(he[oe[_e][0]]=Ie)}}return he}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function oe(){}return oe.prototype.getAreaStyle=function(ie,le){return getAreaStyle(this,ie,le)},oe}(),globalImageCache=new LRU$1(50);function findExistImage(oe){if(typeof oe=="string"){var ie=globalImageCache.get(oe);return ie&&ie.image}else return oe}function createOrUpdateImage(oe,ie,le,ue,de){if(oe)if(typeof oe=="string"){if(ie&&ie.__zrImageSrc===oe||!le)return ie;var pe=globalImageCache.get(oe),he={hostEl:le,cb:ue,cbPayload:de};return pe?(ie=pe.image,!isImageReady(ie)&&pe.pending.push(he)):(ie=platformApi.loadImage(oe,imageOnLoad,imageOnLoad),ie.__zrImageSrc=oe,globalImageCache.put(oe,ie.__cachedImgObj={image:ie,pending:[he]})),ie}else return oe;else return ie}function imageOnLoad(){var oe=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var ie=0;ie<oe.pending.length;ie++){var le=oe.pending[ie],ue=le.cb;ue&&ue(this,le.cbPayload),le.hostEl.dirty()}oe.pending.length=0}function isImageReady(oe){return oe&&oe.width&&oe.height}var STYLE_REG=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function truncateText(oe,ie,le,ue,de){if(!ie)return"";var pe=(oe+"").split(`
`);de=prepareTruncateOptions(ie,le,ue,de);for(var he=0,_e=pe.length;he<_e;he++)pe[he]=truncateSingleLine(pe[he],de);return pe.join(`
`)}function prepareTruncateOptions(oe,ie,le,ue){ue=ue||{};var de=extend({},ue);de.font=ie,le=retrieve2(le,"..."),de.maxIterations=retrieve2(ue.maxIterations,2);var pe=de.minChar=retrieve2(ue.minChar,0);de.cnCharWidth=getWidth("国",ie);var he=de.ascCharWidth=getWidth("a",ie);de.placeholder=retrieve2(ue.placeholder,"");for(var _e=oe=Math.max(0,oe-1),$e=0;$e<pe&&_e>=he;$e++)_e-=he;var Ie=getWidth(le,ie);return Ie>_e&&(le="",Ie=0),_e=oe-Ie,de.ellipsis=le,de.ellipsisWidth=Ie,de.contentWidth=_e,de.containerWidth=oe,de}function truncateSingleLine(oe,ie){var le=ie.containerWidth,ue=ie.font,de=ie.contentWidth;if(!le)return"";var pe=getWidth(oe,ue);if(pe<=le)return oe;for(var he=0;;he++){if(pe<=de||he>=ie.maxIterations){oe+=ie.ellipsis;break}var _e=he===0?estimateLength(oe,de,ie.ascCharWidth,ie.cnCharWidth):pe>0?Math.floor(oe.length*de/pe):0;oe=oe.substr(0,_e),pe=getWidth(oe,ue)}return oe===""&&(oe=ie.placeholder),oe}function estimateLength(oe,ie,le,ue){for(var de=0,pe=0,he=oe.length;pe<he&&de<ie;pe++){var _e=oe.charCodeAt(pe);de+=0<=_e&&_e<=127?le:ue}return pe}function parsePlainText(oe,ie){oe!=null&&(oe+="");var le=ie.overflow,ue=ie.padding,de=ie.font,pe=le==="truncate",he=getLineHeight(de),_e=retrieve2(ie.lineHeight,he),$e=!!ie.backgroundColor,Ie=ie.lineOverflow==="truncate",Ve=ie.width,Fe;Ve!=null&&(le==="break"||le==="breakAll")?Fe=oe?wrapText(oe,ie.font,Ve,le==="breakAll",0).lines:[]:Fe=oe?oe.split(`
`):[];var Ue=Fe.length*_e,qe=retrieve2(ie.height,Ue);if(Ue>qe&&Ie){var Et=Math.floor(qe/_e);Fe=Fe.slice(0,Et)}if(oe&&pe&&Ve!=null)for(var At=prepareTruncateOptions(Ve,de,ie.ellipsis,{minChar:ie.truncateMinChar,placeholder:ie.placeholder}),Lt=0;Lt<Fe.length;Lt++)Fe[Lt]=truncateSingleLine(Fe[Lt],At);for(var hn=qe,vn=0,Lt=0;Lt<Fe.length;Lt++)vn=Math.max(getWidth(Fe[Lt],de),vn);Ve==null&&(Ve=vn);var _n=vn;return ue&&(hn+=ue[0]+ue[2],_n+=ue[1]+ue[3],Ve+=ue[1]+ue[3]),$e&&(_n=Ve),{lines:Fe,height:qe,outerWidth:_n,outerHeight:hn,lineHeight:_e,calculatedLineHeight:he,contentWidth:vn,contentHeight:Ue,width:Ve}}var RichTextToken=function(){function oe(){}return oe}(),RichTextLine=function(){function oe(ie){this.tokens=[],ie&&(this.tokens=ie)}return oe}(),RichTextContentBlock=function(){function oe(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return oe}();function parseRichText(oe,ie){var le=new RichTextContentBlock;if(oe!=null&&(oe+=""),!oe)return le;for(var ue=ie.width,de=ie.height,pe=ie.overflow,he=(pe==="break"||pe==="breakAll")&&ue!=null?{width:ue,accumWidth:0,breakAll:pe==="breakAll"}:null,_e=STYLE_REG.lastIndex=0,$e;($e=STYLE_REG.exec(oe))!=null;){var Ie=$e.index;Ie>_e&&pushTokens(le,oe.substring(_e,Ie),ie,he),pushTokens(le,$e[2],ie,he,$e[1]),_e=STYLE_REG.lastIndex}_e<oe.length&&pushTokens(le,oe.substring(_e,oe.length),ie,he);var Ve=[],Fe=0,Ue=0,qe=ie.padding,Et=pe==="truncate",At=ie.lineOverflow==="truncate";function Lt(Fn,Ln,jn){Fn.width=Ln,Fn.lineHeight=jn,Fe+=jn,Ue=Math.max(Ue,Ln)}e:for(var hn=0;hn<le.lines.length;hn++){for(var vn=le.lines[hn],_n=0,bn=0,Sn=0;Sn<vn.tokens.length;Sn++){var Cn=vn.tokens[Sn],En=Cn.styleName&&ie.rich[Cn.styleName]||{},wn=Cn.textPadding=En.padding,xn=wn?wn[1]+wn[3]:0,kn=Cn.font=En.font||ie.font;Cn.contentHeight=getLineHeight(kn);var Pn=retrieve2(En.height,Cn.contentHeight);if(Cn.innerHeight=Pn,wn&&(Pn+=wn[0]+wn[2]),Cn.height=Pn,Cn.lineHeight=retrieve3(En.lineHeight,ie.lineHeight,Pn),Cn.align=En&&En.align||ie.align,Cn.verticalAlign=En&&En.verticalAlign||"middle",At&&de!=null&&Fe+Cn.lineHeight>de){Sn>0?(vn.tokens=vn.tokens.slice(0,Sn),Lt(vn,bn,_n),le.lines=le.lines.slice(0,hn+1)):le.lines=le.lines.slice(0,hn);break e}var An=En.width,In=An==null||An==="auto";if(typeof An=="string"&&An.charAt(An.length-1)==="%")Cn.percentWidth=An,Ve.push(Cn),Cn.contentWidth=getWidth(Cn.text,kn);else{if(In){var Nn=En.backgroundColor,Un=Nn&&Nn.image;Un&&(Un=findExistImage(Un),isImageReady(Un)&&(Cn.width=Math.max(Cn.width,Un.width*Pn/Un.height)))}var Vn=Et&&ue!=null?ue-bn:null;Vn!=null&&Vn<Cn.width?!In||Vn<xn?(Cn.text="",Cn.width=Cn.contentWidth=0):(Cn.text=truncateText(Cn.text,Vn-xn,kn,ie.ellipsis,{minChar:ie.truncateMinChar}),Cn.width=Cn.contentWidth=getWidth(Cn.text,kn)):Cn.contentWidth=getWidth(Cn.text,kn)}Cn.width+=xn,bn+=Cn.width,En&&(_n=Math.max(_n,Cn.lineHeight))}Lt(vn,bn,_n)}le.outerWidth=le.width=retrieve2(ue,Ue),le.outerHeight=le.height=retrieve2(de,Fe),le.contentHeight=Fe,le.contentWidth=Ue,qe&&(le.outerWidth+=qe[1]+qe[3],le.outerHeight+=qe[0]+qe[2]);for(var hn=0;hn<Ve.length;hn++){var Cn=Ve[hn],Mn=Cn.percentWidth;Cn.width=parseInt(Mn,10)/100*le.width}return le}function pushTokens(oe,ie,le,ue,de){var pe=ie==="",he=de&&le.rich[de]||{},_e=oe.lines,$e=he.font||le.font,Ie=!1,Ve,Fe;if(ue){var Ue=he.padding,qe=Ue?Ue[1]+Ue[3]:0;if(he.width!=null&&he.width!=="auto"){var Et=parsePercent$1(he.width,ue.width)+qe;_e.length>0&&Et+ue.accumWidth>ue.width&&(Ve=ie.split(`
`),Ie=!0),ue.accumWidth=Et}else{var At=wrapText(ie,$e,ue.width,ue.breakAll,ue.accumWidth);ue.accumWidth=At.accumWidth+qe,Fe=At.linesWidths,Ve=At.lines}}else Ve=ie.split(`
`);for(var Lt=0;Lt<Ve.length;Lt++){var hn=Ve[Lt],vn=new RichTextToken;if(vn.styleName=de,vn.text=hn,vn.isLineHolder=!hn&&!pe,typeof he.width=="number"?vn.width=he.width:vn.width=Fe?Fe[Lt]:getWidth(hn,$e),!Lt&&!Ie){var _n=(_e[_e.length-1]||(_e[0]=new RichTextLine)).tokens,bn=_n.length;bn===1&&_n[0].isLineHolder?_n[0]=vn:(hn||!bn||pe)&&_n.push(vn)}else _e.push(new RichTextLine([vn]))}}function isAlphabeticLetter(oe){var ie=oe.charCodeAt(0);return ie>=32&&ie<=591||ie>=880&&ie<=4351||ie>=4608&&ie<=5119||ie>=7680&&ie<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(oe,ie){return oe[ie]=!0,oe},{});function isWordBreakChar(oe){return isAlphabeticLetter(oe)?!!breakCharMap[oe]:!0}function wrapText(oe,ie,le,ue,de){for(var pe=[],he=[],_e="",$e="",Ie=0,Ve=0,Fe=0;Fe<oe.length;Fe++){var Ue=oe.charAt(Fe);if(Ue===`
`){$e&&(_e+=$e,Ve+=Ie),pe.push(_e),he.push(Ve),_e="",$e="",Ie=0,Ve=0;continue}var qe=getWidth(Ue,ie),Et=ue?!1:!isWordBreakChar(Ue);if(pe.length?Ve+qe>le:de+Ve+qe>le){Ve?(_e||$e)&&(Et?(_e||(_e=$e,$e="",Ie=0,Ve=Ie),pe.push(_e),he.push(Ve-Ie),$e+=Ue,Ie+=qe,_e="",Ve=Ie):($e&&(_e+=$e,$e="",Ie=0),pe.push(_e),he.push(Ve),_e=Ue,Ve=qe)):Et?(pe.push($e),he.push(Ie),$e=Ue,Ie=qe):(pe.push(Ue),he.push(qe));continue}Ve+=qe,Et?($e+=Ue,Ie+=qe):($e&&(_e+=$e,$e="",Ie=0),_e+=Ue)}return!pe.length&&!_e&&(_e=oe,$e="",Ie=0),$e&&(_e+=$e),_e&&(pe.push(_e),he.push(Ve)),pe.length===1&&(Ve+=de),{accumWidth:Ve,lines:pe,linesWidths:he}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype._init=function(le){for(var ue=keys(le),de=0;de<ue.length;de++){var pe=ue[de];pe==="style"?this.useStyle(le[pe]):oe.prototype.attrKV.call(this,pe,le[pe])}this.style||this.useStyle({})},ie.prototype.beforeBrush=function(){},ie.prototype.afterBrush=function(){},ie.prototype.innerBeforeBrush=function(){},ie.prototype.innerAfterBrush=function(){},ie.prototype.shouldBePainted=function(le,ue,de,pe){var he=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&isDisplayableCulled(this,le,ue)||he&&!he[0]&&!he[3])return!1;if(de&&this.__clipPaths){for(var _e=0;_e<this.__clipPaths.length;++_e)if(this.__clipPaths[_e].isZeroArea())return!1}if(pe&&this.parent)for(var $e=this.parent;$e;){if($e.ignore)return!1;$e=$e.parent}return!0},ie.prototype.contain=function(le,ue){return this.rectContain(le,ue)},ie.prototype.traverse=function(le,ue){le.call(ue,this)},ie.prototype.rectContain=function(le,ue){var de=this.transformCoordToLocal(le,ue),pe=this.getBoundingRect();return pe.contain(de[0],de[1])},ie.prototype.getPaintRect=function(){var le=this._paintRect;if(!this._paintRect||this.__dirty){var ue=this.transform,de=this.getBoundingRect(),pe=this.style,he=pe.shadowBlur||0,_e=pe.shadowOffsetX||0,$e=pe.shadowOffsetY||0;le=this._paintRect||(this._paintRect=new BoundingRect$1(0,0,0,0)),ue?BoundingRect$1.applyTransform(le,de,ue):le.copy(de),(he||_e||$e)&&(le.width+=he*2+Math.abs(_e),le.height+=he*2+Math.abs($e),le.x=Math.min(le.x,le.x+_e-he),le.y=Math.min(le.y,le.y+$e-he));var Ie=this.dirtyRectTolerance;le.isZero()||(le.x=Math.floor(le.x-Ie),le.y=Math.floor(le.y-Ie),le.width=Math.ceil(le.width+1+Ie*2),le.height=Math.ceil(le.height+1+Ie*2))}return le},ie.prototype.setPrevPaintRect=function(le){le?(this._prevPaintRect=this._prevPaintRect||new BoundingRect$1(0,0,0,0),this._prevPaintRect.copy(le)):this._prevPaintRect=null},ie.prototype.getPrevPaintRect=function(){return this._prevPaintRect},ie.prototype.animateStyle=function(le){return this.animate("style",le)},ie.prototype.updateDuringAnimation=function(le){le==="style"?this.dirtyStyle():this.markRedraw()},ie.prototype.attrKV=function(le,ue){le!=="style"?oe.prototype.attrKV.call(this,le,ue):this.style?this.setStyle(ue):this.useStyle(ue)},ie.prototype.setStyle=function(le,ue){return typeof le=="string"?this.style[le]=ue:extend(this.style,le),this.dirtyStyle(),this},ie.prototype.dirtyStyle=function(le){le||this.markRedraw(),this.__dirty|=STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},ie.prototype.dirty=function(){this.dirtyStyle()},ie.prototype.styleChanged=function(){return!!(this.__dirty&STYLE_CHANGED_BIT)},ie.prototype.styleUpdated=function(){this.__dirty&=~STYLE_CHANGED_BIT},ie.prototype.createStyle=function(le){return createObject(DEFAULT_COMMON_STYLE,le)},ie.prototype.useStyle=function(le){le[STYLE_MAGIC_KEY]||(le=this.createStyle(le)),this.__inHover?this.__hoverStyle=le:this.style=le,this.dirtyStyle()},ie.prototype.isStyleObject=function(le){return le[STYLE_MAGIC_KEY]},ie.prototype._innerSaveToNormal=function(le){oe.prototype._innerSaveToNormal.call(this,le);var ue=this._normalState;le.style&&!ue.style&&(ue.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(le,ue,PRIMARY_STATES_KEYS)},ie.prototype._applyStateObj=function(le,ue,de,pe,he,_e){oe.prototype._applyStateObj.call(this,le,ue,de,pe,he,_e);var $e=!(ue&&pe),Ie;if(ue&&ue.style?he?pe?Ie=ue.style:(Ie=this._mergeStyle(this.createStyle(),de.style),this._mergeStyle(Ie,ue.style)):(Ie=this._mergeStyle(this.createStyle(),pe?this.style:de.style),this._mergeStyle(Ie,ue.style)):$e&&(Ie=de.style),Ie)if(he){var Ve=this.style;if(this.style=this.createStyle($e?{}:Ve),$e)for(var Fe=keys(Ve),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];qe in Ie&&(Ie[qe]=Ie[qe],this.style[qe]=Ve[qe])}for(var Et=keys(Ie),Ue=0;Ue<Et.length;Ue++){var qe=Et[Ue];this.style[qe]=this.style[qe]}this._transitionState(le,{style:Ie},_e,this.getAnimationStyleProps())}else this.useStyle(Ie);for(var At=this.__inHover?PRIMARY_STATES_KEYS_IN_HOVER_LAYER:PRIMARY_STATES_KEYS,Ue=0;Ue<At.length;Ue++){var qe=At[Ue];ue&&ue[qe]!=null?this[qe]=ue[qe]:$e&&de[qe]!=null&&(this[qe]=de[qe])}},ie.prototype._mergeStates=function(le){for(var ue=oe.prototype._mergeStates.call(this,le),de,pe=0;pe<le.length;pe++){var he=le[pe];he.style&&(de=de||{},this._mergeStyle(de,he.style))}return de&&(ue.style=de),ue},ie.prototype._mergeStyle=function(le,ue){return extend(le,ue),le},ie.prototype.getAnimationStyleProps=function(){return DEFAULT_COMMON_ANIMATION_PROPS},ie.initDefaultProps=function(){var le=ie.prototype;le.type="displayable",le.invisible=!1,le.z=0,le.z2=0,le.zlevel=0,le.culling=!1,le.cursor="pointer",le.rectHover=!1,le.incremental=!1,le._rect=null,le.dirtyRectTolerance=0,le.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT}(),ie}(Element$2),tmpRect=new BoundingRect$1(0,0,0,0),viewRect=new BoundingRect$1(0,0,0,0);function isDisplayableCulled(oe,ie,le){return tmpRect.copy(oe.getBoundingRect()),oe.transform&&tmpRect.applyTransform(oe.transform),viewRect.width=ie,viewRect.height=le,!tmpRect.intersect(viewRect)}const Displayable$1=Displayable;var mathMin$7=Math.min,mathMax$7=Math.max,mathSin$3=Math.sin,mathCos$3=Math.cos,PI2$6=Math.PI*2,start=create$1(),end=create$1(),extremity=create$1();function fromLine(oe,ie,le,ue,de,pe){de[0]=mathMin$7(oe,le),de[1]=mathMin$7(ie,ue),pe[0]=mathMax$7(oe,le),pe[1]=mathMax$7(ie,ue)}var xDim=[],yDim=[];function fromCubic(oe,ie,le,ue,de,pe,he,_e,$e,Ie){var Ve=cubicExtrema,Fe=cubicAt,Ue=Ve(oe,le,de,he,xDim);$e[0]=1/0,$e[1]=1/0,Ie[0]=-1/0,Ie[1]=-1/0;for(var qe=0;qe<Ue;qe++){var Et=Fe(oe,le,de,he,xDim[qe]);$e[0]=mathMin$7(Et,$e[0]),Ie[0]=mathMax$7(Et,Ie[0])}Ue=Ve(ie,ue,pe,_e,yDim);for(var qe=0;qe<Ue;qe++){var At=Fe(ie,ue,pe,_e,yDim[qe]);$e[1]=mathMin$7(At,$e[1]),Ie[1]=mathMax$7(At,Ie[1])}$e[0]=mathMin$7(oe,$e[0]),Ie[0]=mathMax$7(oe,Ie[0]),$e[0]=mathMin$7(he,$e[0]),Ie[0]=mathMax$7(he,Ie[0]),$e[1]=mathMin$7(ie,$e[1]),Ie[1]=mathMax$7(ie,Ie[1]),$e[1]=mathMin$7(_e,$e[1]),Ie[1]=mathMax$7(_e,Ie[1])}function fromQuadratic(oe,ie,le,ue,de,pe,he,_e){var $e=quadraticExtremum,Ie=quadraticAt,Ve=mathMax$7(mathMin$7($e(oe,le,de),1),0),Fe=mathMax$7(mathMin$7($e(ie,ue,pe),1),0),Ue=Ie(oe,le,de,Ve),qe=Ie(ie,ue,pe,Fe);he[0]=mathMin$7(oe,de,Ue),he[1]=mathMin$7(ie,pe,qe),_e[0]=mathMax$7(oe,de,Ue),_e[1]=mathMax$7(ie,pe,qe)}function fromArc(oe,ie,le,ue,de,pe,he,_e,$e){var Ie=min$1,Ve=max$1,Fe=Math.abs(de-pe);if(Fe%PI2$6<1e-4&&Fe>1e-4){_e[0]=oe-le,_e[1]=ie-ue,$e[0]=oe+le,$e[1]=ie+ue;return}if(start[0]=mathCos$3(de)*le+oe,start[1]=mathSin$3(de)*ue+ie,end[0]=mathCos$3(pe)*le+oe,end[1]=mathSin$3(pe)*ue+ie,Ie(_e,start,end),Ve($e,start,end),de=de%PI2$6,de<0&&(de=de+PI2$6),pe=pe%PI2$6,pe<0&&(pe=pe+PI2$6),de>pe&&!he?pe+=PI2$6:de<pe&&he&&(de+=PI2$6),he){var Ue=pe;pe=de,de=Ue}for(var qe=0;qe<pe;qe+=Math.PI/2)qe>de&&(extremity[0]=mathCos$3(qe)*le+oe,extremity[1]=mathSin$3(qe)*ue+ie,Ie(_e,extremity,_e),Ve($e,extremity,$e))}var CMD$2={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$6=Math.min,mathMax$6=Math.max,mathCos$2=Math.cos,mathSin$2=Math.sin,mathAbs$1=Math.abs,PI$4=Math.PI,PI2$5=PI$4*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(oe){var ie=Math.round(oe/PI$4*1e8)/1e8;return ie%2*PI$4}function normalizeArcAngles(oe,ie){var le=modPI2(oe[0]);le<0&&(le+=PI2$5);var ue=le-oe[0],de=oe[1];de+=ue,!ie&&de-le>=PI2$5?de=le+PI2$5:ie&&le-de>=PI2$5?de=le-PI2$5:!ie&&le>de?de=le+(PI2$5-modPI2(le-de)):ie&&le<de&&(de=le-(PI2$5-modPI2(de-le))),oe[0]=le,oe[1]=de}var PathProxy=function(){function oe(ie){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,ie&&(this._saveData=!1),this._saveData&&(this.data=[])}return oe.prototype.increaseVersion=function(){this._version++},oe.prototype.getVersion=function(){return this._version},oe.prototype.setScale=function(ie,le,ue){ue=ue||0,ue>0&&(this._ux=mathAbs$1(ue/devicePixelRatio/ie)||0,this._uy=mathAbs$1(ue/devicePixelRatio/le)||0)},oe.prototype.setDPR=function(ie){this.dpr=ie},oe.prototype.setContext=function(ie){this._ctx=ie},oe.prototype.getContext=function(){return this._ctx},oe.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},oe.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},oe.prototype.moveTo=function(ie,le){return this._drawPendingPt(),this.addData(CMD$2.M,ie,le),this._ctx&&this._ctx.moveTo(ie,le),this._x0=ie,this._y0=le,this._xi=ie,this._yi=le,this},oe.prototype.lineTo=function(ie,le){var ue=mathAbs$1(ie-this._xi),de=mathAbs$1(le-this._yi),pe=ue>this._ux||de>this._uy;if(this.addData(CMD$2.L,ie,le),this._ctx&&pe&&this._ctx.lineTo(ie,le),pe)this._xi=ie,this._yi=le,this._pendingPtDist=0;else{var he=ue*ue+de*de;he>this._pendingPtDist&&(this._pendingPtX=ie,this._pendingPtY=le,this._pendingPtDist=he)}return this},oe.prototype.bezierCurveTo=function(ie,le,ue,de,pe,he){return this._drawPendingPt(),this.addData(CMD$2.C,ie,le,ue,de,pe,he),this._ctx&&this._ctx.bezierCurveTo(ie,le,ue,de,pe,he),this._xi=pe,this._yi=he,this},oe.prototype.quadraticCurveTo=function(ie,le,ue,de){return this._drawPendingPt(),this.addData(CMD$2.Q,ie,le,ue,de),this._ctx&&this._ctx.quadraticCurveTo(ie,le,ue,de),this._xi=ue,this._yi=de,this},oe.prototype.arc=function(ie,le,ue,de,pe,he){this._drawPendingPt(),tmpAngles[0]=de,tmpAngles[1]=pe,normalizeArcAngles(tmpAngles,he),de=tmpAngles[0],pe=tmpAngles[1];var _e=pe-de;return this.addData(CMD$2.A,ie,le,ue,ue,de,_e,0,he?0:1),this._ctx&&this._ctx.arc(ie,le,ue,de,pe,he),this._xi=mathCos$2(pe)*ue+ie,this._yi=mathSin$2(pe)*ue+le,this},oe.prototype.arcTo=function(ie,le,ue,de,pe){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(ie,le,ue,de,pe),this},oe.prototype.rect=function(ie,le,ue,de){return this._drawPendingPt(),this._ctx&&this._ctx.rect(ie,le,ue,de),this.addData(CMD$2.R,ie,le,ue,de),this},oe.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$2.Z);var ie=this._ctx,le=this._x0,ue=this._y0;return ie&&ie.closePath(),this._xi=le,this._yi=ue,this},oe.prototype.fill=function(ie){ie&&ie.fill(),this.toStatic()},oe.prototype.stroke=function(ie){ie&&ie.stroke(),this.toStatic()},oe.prototype.len=function(){return this._len},oe.prototype.setData=function(ie){var le=ie.length;!(this.data&&this.data.length===le)&&hasTypedArray&&(this.data=new Float32Array(le));for(var ue=0;ue<le;ue++)this.data[ue]=ie[ue];this._len=le},oe.prototype.appendPath=function(ie){ie instanceof Array||(ie=[ie]);for(var le=ie.length,ue=0,de=this._len,pe=0;pe<le;pe++)ue+=ie[pe].len();hasTypedArray&&this.data instanceof Float32Array&&(this.data=new Float32Array(de+ue));for(var pe=0;pe<le;pe++)for(var he=ie[pe].data,_e=0;_e<he.length;_e++)this.data[de++]=he[_e];this._len=de},oe.prototype.addData=function(ie,le,ue,de,pe,he,_e,$e,Ie){if(this._saveData){var Ve=this.data;this._len+arguments.length>Ve.length&&(this._expandData(),Ve=this.data);for(var Fe=0;Fe<arguments.length;Fe++)Ve[this._len++]=arguments[Fe]}},oe.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},oe.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var ie=[],le=0;le<this._len;le++)ie[le]=this.data[le];this.data=ie}},oe.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var ie=this.data;ie instanceof Array&&(ie.length=this._len,hasTypedArray&&this._len>11&&(this.data=new Float32Array(ie)))}},oe.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var ie=this.data,le=0,ue=0,de=0,pe=0,he;for(he=0;he<this._len;){var _e=ie[he++],$e=he===1;switch($e&&(le=ie[he],ue=ie[he+1],de=le,pe=ue),_e){case CMD$2.M:le=de=ie[he++],ue=pe=ie[he++],min2[0]=de,min2[1]=pe,max2[0]=de,max2[1]=pe;break;case CMD$2.L:fromLine(le,ue,ie[he],ie[he+1],min2,max2),le=ie[he++],ue=ie[he++];break;case CMD$2.C:fromCubic(le,ue,ie[he++],ie[he++],ie[he++],ie[he++],ie[he],ie[he+1],min2,max2),le=ie[he++],ue=ie[he++];break;case CMD$2.Q:fromQuadratic(le,ue,ie[he++],ie[he++],ie[he],ie[he+1],min2,max2),le=ie[he++],ue=ie[he++];break;case CMD$2.A:var Ie=ie[he++],Ve=ie[he++],Fe=ie[he++],Ue=ie[he++],qe=ie[he++],Et=ie[he++]+qe;he+=1;var At=!ie[he++];$e&&(de=mathCos$2(qe)*Fe+Ie,pe=mathSin$2(qe)*Ue+Ve),fromArc(Ie,Ve,Fe,Ue,qe,Et,At,min2,max2),le=mathCos$2(Et)*Fe+Ie,ue=mathSin$2(Et)*Ue+Ve;break;case CMD$2.R:de=le=ie[he++],pe=ue=ie[he++];var Lt=ie[he++],hn=ie[he++];fromLine(de,pe,de+Lt,pe+hn,min2,max2);break;case CMD$2.Z:le=de,ue=pe;break}min$1(min,min,min2),max$1(max,max,max2)}return he===0&&(min[0]=min[1]=max[0]=max[1]=0),new BoundingRect$1(min[0],min[1],max[0]-min[0],max[1]-min[1])},oe.prototype._calculateLength=function(){var ie=this.data,le=this._len,ue=this._ux,de=this._uy,pe=0,he=0,_e=0,$e=0;this._pathSegLen||(this._pathSegLen=[]);for(var Ie=this._pathSegLen,Ve=0,Fe=0,Ue=0;Ue<le;){var qe=ie[Ue++],Et=Ue===1;Et&&(pe=ie[Ue],he=ie[Ue+1],_e=pe,$e=he);var At=-1;switch(qe){case CMD$2.M:pe=_e=ie[Ue++],he=$e=ie[Ue++];break;case CMD$2.L:{var Lt=ie[Ue++],hn=ie[Ue++],vn=Lt-pe,_n=hn-he;(mathAbs$1(vn)>ue||mathAbs$1(_n)>de||Ue===le-1)&&(At=Math.sqrt(vn*vn+_n*_n),pe=Lt,he=hn);break}case CMD$2.C:{var bn=ie[Ue++],Sn=ie[Ue++],Lt=ie[Ue++],hn=ie[Ue++],Cn=ie[Ue++],En=ie[Ue++];At=cubicLength(pe,he,bn,Sn,Lt,hn,Cn,En,10),pe=Cn,he=En;break}case CMD$2.Q:{var bn=ie[Ue++],Sn=ie[Ue++],Lt=ie[Ue++],hn=ie[Ue++];At=quadraticLength(pe,he,bn,Sn,Lt,hn,10),pe=Lt,he=hn;break}case CMD$2.A:var wn=ie[Ue++],xn=ie[Ue++],kn=ie[Ue++],Pn=ie[Ue++],An=ie[Ue++],In=ie[Ue++],Nn=In+An;Ue+=1,ie[Ue++],Et&&(_e=mathCos$2(An)*kn+wn,$e=mathSin$2(An)*Pn+xn),At=mathMax$6(kn,Pn)*mathMin$6(PI2$5,Math.abs(In)),pe=mathCos$2(Nn)*kn+wn,he=mathSin$2(Nn)*Pn+xn;break;case CMD$2.R:{_e=pe=ie[Ue++],$e=he=ie[Ue++];var Un=ie[Ue++],Vn=ie[Ue++];At=Un*2+Vn*2;break}case CMD$2.Z:{var vn=_e-pe,_n=$e-he;At=Math.sqrt(vn*vn+_n*_n),pe=_e,he=$e;break}}At>=0&&(Ie[Fe++]=At,Ve+=At)}return this._pathLen=Ve,Ve},oe.prototype.rebuildPath=function(ie,le){var ue=this.data,de=this._ux,pe=this._uy,he=this._len,_e,$e,Ie,Ve,Fe,Ue,qe=le<1,Et,At,Lt=0,hn=0,vn,_n=0,bn,Sn;if(!(qe&&(this._pathSegLen||this._calculateLength(),Et=this._pathSegLen,At=this._pathLen,vn=le*At,!vn)))e:for(var Cn=0;Cn<he;){var En=ue[Cn++],wn=Cn===1;switch(wn&&(Ie=ue[Cn],Ve=ue[Cn+1],_e=Ie,$e=Ve),En!==CMD$2.L&&_n>0&&(ie.lineTo(bn,Sn),_n=0),En){case CMD$2.M:_e=Ie=ue[Cn++],$e=Ve=ue[Cn++],ie.moveTo(Ie,Ve);break;case CMD$2.L:{Fe=ue[Cn++],Ue=ue[Cn++];var xn=mathAbs$1(Fe-Ie),kn=mathAbs$1(Ue-Ve);if(xn>de||kn>pe){if(qe){var Pn=Et[hn++];if(Lt+Pn>vn){var An=(vn-Lt)/Pn;ie.lineTo(Ie*(1-An)+Fe*An,Ve*(1-An)+Ue*An);break e}Lt+=Pn}ie.lineTo(Fe,Ue),Ie=Fe,Ve=Ue,_n=0}else{var In=xn*xn+kn*kn;In>_n&&(bn=Fe,Sn=Ue,_n=In)}break}case CMD$2.C:{var Nn=ue[Cn++],Un=ue[Cn++],Vn=ue[Cn++],Mn=ue[Cn++],Fn=ue[Cn++],Ln=ue[Cn++];if(qe){var Pn=Et[hn++];if(Lt+Pn>vn){var An=(vn-Lt)/Pn;cubicSubdivide(Ie,Nn,Vn,Fn,An,tmpOutX),cubicSubdivide(Ve,Un,Mn,Ln,An,tmpOutY),ie.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Lt+=Pn}ie.bezierCurveTo(Nn,Un,Vn,Mn,Fn,Ln),Ie=Fn,Ve=Ln;break}case CMD$2.Q:{var Nn=ue[Cn++],Un=ue[Cn++],Vn=ue[Cn++],Mn=ue[Cn++];if(qe){var Pn=Et[hn++];if(Lt+Pn>vn){var An=(vn-Lt)/Pn;quadraticSubdivide(Ie,Nn,Vn,An,tmpOutX),quadraticSubdivide(Ve,Un,Mn,An,tmpOutY),ie.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Lt+=Pn}ie.quadraticCurveTo(Nn,Un,Vn,Mn),Ie=Vn,Ve=Mn;break}case CMD$2.A:var jn=ue[Cn++],Zn=ue[Cn++],Gn=ue[Cn++],Jn=ue[Cn++],lr=ue[Cn++],yr=ue[Cn++],ir=ue[Cn++],qn=!ue[Cn++],Yn=Gn>Jn?Gn:Jn,Xn=mathAbs$1(Gn-Jn)>.001,or=lr+yr,_r=!1;if(qe){var Pn=Et[hn++];Lt+Pn>vn&&(or=lr+yr*(vn-Lt)/Pn,_r=!0),Lt+=Pn}if(Xn&&ie.ellipse?ie.ellipse(jn,Zn,Gn,Jn,ir,lr,or,qn):ie.arc(jn,Zn,Yn,lr,or,qn),_r)break e;wn&&(_e=mathCos$2(lr)*Gn+jn,$e=mathSin$2(lr)*Jn+Zn),Ie=mathCos$2(or)*Gn+jn,Ve=mathSin$2(or)*Jn+Zn;break;case CMD$2.R:_e=Ie=ue[Cn],$e=Ve=ue[Cn+1],Fe=ue[Cn++],Ue=ue[Cn++];var Kn=ue[Cn++],er=ue[Cn++];if(qe){var Pn=Et[hn++];if(Lt+Pn>vn){var ar=vn-Lt;ie.moveTo(Fe,Ue),ie.lineTo(Fe+mathMin$6(ar,Kn),Ue),ar-=Kn,ar>0&&ie.lineTo(Fe+Kn,Ue+mathMin$6(ar,er)),ar-=er,ar>0&&ie.lineTo(Fe+mathMax$6(Kn-ar,0),Ue+er),ar-=Kn,ar>0&&ie.lineTo(Fe,Ue+mathMax$6(er-ar,0));break e}Lt+=Pn}ie.rect(Fe,Ue,Kn,er);break;case CMD$2.Z:if(qe){var Pn=Et[hn++];if(Lt+Pn>vn){var An=(vn-Lt)/Pn;ie.lineTo(Ie*(1-An)+_e*An,Ve*(1-An)+$e*An);break e}Lt+=Pn}ie.closePath(),Ie=_e,Ve=$e}}},oe.prototype.clone=function(){var ie=new oe,le=this.data;return ie.data=le.slice?le.slice():Array.prototype.slice.call(le),ie._len=this._len,ie},oe.CMD=CMD$2,oe.initDefaultProps=function(){var ie=oe.prototype;ie._saveData=!0,ie._ux=0,ie._uy=0,ie._pendingPtDist=0,ie._version=0}(),oe}();const PathProxy$1=PathProxy;function containStroke$4(oe,ie,le,ue,de,pe,he){if(de===0)return!1;var _e=de,$e=0,Ie=oe;if(he>ie+_e&&he>ue+_e||he<ie-_e&&he<ue-_e||pe>oe+_e&&pe>le+_e||pe<oe-_e&&pe<le-_e)return!1;if(oe!==le)$e=(ie-ue)/(oe-le),Ie=(oe*ue-le*ie)/(oe-le);else return Math.abs(pe-oe)<=_e/2;var Ve=$e*pe-he+Ie,Fe=Ve*Ve/($e*$e+1);return Fe<=_e/2*_e/2}function containStroke$3(oe,ie,le,ue,de,pe,he,_e,$e,Ie,Ve){if($e===0)return!1;var Fe=$e;if(Ve>ie+Fe&&Ve>ue+Fe&&Ve>pe+Fe&&Ve>_e+Fe||Ve<ie-Fe&&Ve<ue-Fe&&Ve<pe-Fe&&Ve<_e-Fe||Ie>oe+Fe&&Ie>le+Fe&&Ie>de+Fe&&Ie>he+Fe||Ie<oe-Fe&&Ie<le-Fe&&Ie<de-Fe&&Ie<he-Fe)return!1;var Ue=cubicProjectPoint(oe,ie,le,ue,de,pe,he,_e,Ie,Ve,null);return Ue<=Fe/2}function containStroke$2(oe,ie,le,ue,de,pe,he,_e,$e){if(he===0)return!1;var Ie=he;if($e>ie+Ie&&$e>ue+Ie&&$e>pe+Ie||$e<ie-Ie&&$e<ue-Ie&&$e<pe-Ie||_e>oe+Ie&&_e>le+Ie&&_e>de+Ie||_e<oe-Ie&&_e<le-Ie&&_e<de-Ie)return!1;var Ve=quadraticProjectPoint(oe,ie,le,ue,de,pe,_e,$e,null);return Ve<=Ie/2}var PI2$4=Math.PI*2;function normalizeRadian(oe){return oe%=PI2$4,oe<0&&(oe+=PI2$4),oe}var PI2$3=Math.PI*2;function containStroke$1(oe,ie,le,ue,de,pe,he,_e,$e){if(he===0)return!1;var Ie=he;_e-=oe,$e-=ie;var Ve=Math.sqrt(_e*_e+$e*$e);if(Ve-Ie>le||Ve+Ie<le)return!1;if(Math.abs(ue-de)%PI2$3<1e-4)return!0;if(pe){var Fe=ue;ue=normalizeRadian(de),de=normalizeRadian(Fe)}else ue=normalizeRadian(ue),de=normalizeRadian(de);ue>de&&(de+=PI2$3);var Ue=Math.atan2($e,_e);return Ue<0&&(Ue+=PI2$3),Ue>=ue&&Ue<=de||Ue+PI2$3>=ue&&Ue+PI2$3<=de}function windingLine(oe,ie,le,ue,de,pe){if(pe>ie&&pe>ue||pe<ie&&pe<ue||ue===ie)return 0;var he=(pe-ie)/(ue-ie),_e=ue<ie?1:-1;(he===1||he===0)&&(_e=ue<ie?.5:-.5);var $e=he*(le-oe)+oe;return $e===de?1/0:$e>de?_e:0}var CMD$1=PathProxy$1.CMD,PI2$2=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(oe,ie){return Math.abs(oe-ie)<EPSILON$1}var roots=[-1,-1,-1],extrema=[-1,-1];function swapExtrema(){var oe=extrema[0];extrema[0]=extrema[1],extrema[1]=oe}function windingCubic(oe,ie,le,ue,de,pe,he,_e,$e,Ie){if(Ie>ie&&Ie>ue&&Ie>pe&&Ie>_e||Ie<ie&&Ie<ue&&Ie<pe&&Ie<_e)return 0;var Ve=cubicRootAt(ie,ue,pe,_e,Ie,roots);if(Ve===0)return 0;for(var Fe=0,Ue=-1,qe=void 0,Et=void 0,At=0;At<Ve;At++){var Lt=roots[At],hn=Lt===0||Lt===1?.5:1,vn=cubicAt(oe,le,de,he,Lt);vn<$e||(Ue<0&&(Ue=cubicExtrema(ie,ue,pe,_e,extrema),extrema[1]<extrema[0]&&Ue>1&&swapExtrema(),qe=cubicAt(ie,ue,pe,_e,extrema[0]),Ue>1&&(Et=cubicAt(ie,ue,pe,_e,extrema[1]))),Ue===2?Lt<extrema[0]?Fe+=qe<ie?hn:-hn:Lt<extrema[1]?Fe+=Et<qe?hn:-hn:Fe+=_e<Et?hn:-hn:Lt<extrema[0]?Fe+=qe<ie?hn:-hn:Fe+=_e<qe?hn:-hn)}return Fe}function windingQuadratic(oe,ie,le,ue,de,pe,he,_e){if(_e>ie&&_e>ue&&_e>pe||_e<ie&&_e<ue&&_e<pe)return 0;var $e=quadraticRootAt(ie,ue,pe,_e,roots);if($e===0)return 0;var Ie=quadraticExtremum(ie,ue,pe);if(Ie>=0&&Ie<=1){for(var Ve=0,Fe=quadraticAt(ie,ue,pe,Ie),Ue=0;Ue<$e;Ue++){var qe=roots[Ue]===0||roots[Ue]===1?.5:1,Et=quadraticAt(oe,le,de,roots[Ue]);Et<he||(roots[Ue]<Ie?Ve+=Fe<ie?qe:-qe:Ve+=pe<Fe?qe:-qe)}return Ve}else{var qe=roots[0]===0||roots[0]===1?.5:1,Et=quadraticAt(oe,le,de,roots[0]);return Et<he?0:pe<ie?qe:-qe}}function windingArc(oe,ie,le,ue,de,pe,he,_e){if(_e-=ie,_e>le||_e<-le)return 0;var $e=Math.sqrt(le*le-_e*_e);roots[0]=-$e,roots[1]=$e;var Ie=Math.abs(ue-de);if(Ie<1e-4)return 0;if(Ie>=PI2$2-1e-4){ue=0,de=PI2$2;var Ve=pe?1:-1;return he>=roots[0]+oe&&he<=roots[1]+oe?Ve:0}if(ue>de){var Fe=ue;ue=de,de=Fe}ue<0&&(ue+=PI2$2,de+=PI2$2);for(var Ue=0,qe=0;qe<2;qe++){var Et=roots[qe];if(Et+oe>he){var At=Math.atan2(_e,Et),Ve=pe?1:-1;At<0&&(At=PI2$2+At),(At>=ue&&At<=de||At+PI2$2>=ue&&At+PI2$2<=de)&&(At>Math.PI/2&&At<Math.PI*1.5&&(Ve=-Ve),Ue+=Ve)}}return Ue}function containPath(oe,ie,le,ue,de){for(var pe=oe.data,he=oe.len(),_e=0,$e=0,Ie=0,Ve=0,Fe=0,Ue,qe,Et=0;Et<he;){var At=pe[Et++],Lt=Et===1;switch(At===CMD$1.M&&Et>1&&(le||(_e+=windingLine($e,Ie,Ve,Fe,ue,de))),Lt&&($e=pe[Et],Ie=pe[Et+1],Ve=$e,Fe=Ie),At){case CMD$1.M:Ve=pe[Et++],Fe=pe[Et++],$e=Ve,Ie=Fe;break;case CMD$1.L:if(le){if(containStroke$4($e,Ie,pe[Et],pe[Et+1],ie,ue,de))return!0}else _e+=windingLine($e,Ie,pe[Et],pe[Et+1],ue,de)||0;$e=pe[Et++],Ie=pe[Et++];break;case CMD$1.C:if(le){if(containStroke$3($e,Ie,pe[Et++],pe[Et++],pe[Et++],pe[Et++],pe[Et],pe[Et+1],ie,ue,de))return!0}else _e+=windingCubic($e,Ie,pe[Et++],pe[Et++],pe[Et++],pe[Et++],pe[Et],pe[Et+1],ue,de)||0;$e=pe[Et++],Ie=pe[Et++];break;case CMD$1.Q:if(le){if(containStroke$2($e,Ie,pe[Et++],pe[Et++],pe[Et],pe[Et+1],ie,ue,de))return!0}else _e+=windingQuadratic($e,Ie,pe[Et++],pe[Et++],pe[Et],pe[Et+1],ue,de)||0;$e=pe[Et++],Ie=pe[Et++];break;case CMD$1.A:var hn=pe[Et++],vn=pe[Et++],_n=pe[Et++],bn=pe[Et++],Sn=pe[Et++],Cn=pe[Et++];Et+=1;var En=!!(1-pe[Et++]);Ue=Math.cos(Sn)*_n+hn,qe=Math.sin(Sn)*bn+vn,Lt?(Ve=Ue,Fe=qe):_e+=windingLine($e,Ie,Ue,qe,ue,de);var wn=(ue-hn)*bn/_n+hn;if(le){if(containStroke$1(hn,vn,bn,Sn,Sn+Cn,En,ie,wn,de))return!0}else _e+=windingArc(hn,vn,bn,Sn,Sn+Cn,En,wn,de);$e=Math.cos(Sn+Cn)*_n+hn,Ie=Math.sin(Sn+Cn)*bn+vn;break;case CMD$1.R:Ve=$e=pe[Et++],Fe=Ie=pe[Et++];var xn=pe[Et++],kn=pe[Et++];if(Ue=Ve+xn,qe=Fe+kn,le){if(containStroke$4(Ve,Fe,Ue,Fe,ie,ue,de)||containStroke$4(Ue,Fe,Ue,qe,ie,ue,de)||containStroke$4(Ue,qe,Ve,qe,ie,ue,de)||containStroke$4(Ve,qe,Ve,Fe,ie,ue,de))return!0}else _e+=windingLine(Ue,Fe,Ue,qe,ue,de),_e+=windingLine(Ve,qe,Ve,Fe,ue,de);break;case CMD$1.Z:if(le){if(containStroke$4($e,Ie,Ve,Fe,ie,ue,de))return!0}else _e+=windingLine($e,Ie,Ve,Fe,ue,de);$e=Ve,Ie=Fe;break}}return!le&&!isAroundEqual$1(Ie,Fe)&&(_e+=windingLine($e,Ie,Ve,Fe,ue,de)||0),_e!==0}function contain$2(oe,ie,le){return containPath(oe,0,!1,ie,le)}function containStroke(oe,ie,le,ue){return containPath(oe,ie,!0,le,ue)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.update=function(){var le=this;oe.prototype.update.call(this);var ue=this.style;if(ue.decal){var de=this._decalEl=this._decalEl||new ie;de.buildPath===ie.prototype.buildPath&&(de.buildPath=function($e){le.buildPath($e,le.shape)}),de.silent=!0;var pe=de.style;for(var he in ue)pe[he]!==ue[he]&&(pe[he]=ue[he]);pe.fill=ue.fill?ue.decal:null,pe.decal=null,pe.shadowColor=null,ue.strokeFirst&&(pe.stroke=null);for(var _e=0;_e<pathCopyParams.length;++_e)de[pathCopyParams[_e]]=this[pathCopyParams[_e]];de.__dirty|=REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},ie.prototype.getDecalElement=function(){return this._decalEl},ie.prototype._init=function(le){var ue=keys(le);this.shape=this.getDefaultShape();var de=this.getDefaultStyle();de&&this.useStyle(de);for(var pe=0;pe<ue.length;pe++){var he=ue[pe],_e=le[he];he==="style"?this.style?extend(this.style,_e):this.useStyle(_e):he==="shape"?extend(this.shape,_e):oe.prototype.attrKV.call(this,he,_e)}this.style||this.useStyle({})},ie.prototype.getDefaultStyle=function(){return null},ie.prototype.getDefaultShape=function(){return{}},ie.prototype.canBeInsideText=function(){return this.hasFill()},ie.prototype.getInsideTextFill=function(){var le=this.style.fill;if(le!=="none"){if(isString(le)){var ue=lum(le,0);return ue>.5?DARK_LABEL_COLOR:ue>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(le)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},ie.prototype.getInsideTextStroke=function(le){var ue=this.style.fill;if(isString(ue)){var de=this.__zr,pe=!!(de&&de.isDarkMode()),he=lum(le,0)<DARK_MODE_THRESHOLD;if(pe===he)return ue}},ie.prototype.buildPath=function(le,ue,de){},ie.prototype.pathUpdated=function(){this.__dirty&=~SHAPE_CHANGED_BIT},ie.prototype.getUpdatedPathProxy=function(le){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,le),this.path},ie.prototype.createPathProxy=function(){this.path=new PathProxy$1(!1)},ie.prototype.hasStroke=function(){var le=this.style,ue=le.stroke;return!(ue==null||ue==="none"||!(le.lineWidth>0))},ie.prototype.hasFill=function(){var le=this.style,ue=le.fill;return ue!=null&&ue!=="none"},ie.prototype.getBoundingRect=function(){var le=this._rect,ue=this.style,de=!le;if(de){var pe=!1;this.path||(pe=!0,this.createPathProxy());var he=this.path;(pe||this.__dirty&SHAPE_CHANGED_BIT)&&(he.beginPath(),this.buildPath(he,this.shape,!1),this.pathUpdated()),le=he.getBoundingRect()}if(this._rect=le,this.hasStroke()&&this.path&&this.path.len()>0){var _e=this._rectStroke||(this._rectStroke=le.clone());if(this.__dirty||de){_e.copy(le);var $e=ue.strokeNoScale?this.getLineScale():1,Ie=ue.lineWidth;if(!this.hasFill()){var Ve=this.strokeContainThreshold;Ie=Math.max(Ie,Ve??4)}$e>1e-10&&(_e.width+=Ie/$e,_e.height+=Ie/$e,_e.x-=Ie/$e/2,_e.y-=Ie/$e/2)}return _e}return le},ie.prototype.contain=function(le,ue){var de=this.transformCoordToLocal(le,ue),pe=this.getBoundingRect(),he=this.style;if(le=de[0],ue=de[1],pe.contain(le,ue)){var _e=this.path;if(this.hasStroke()){var $e=he.lineWidth,Ie=he.strokeNoScale?this.getLineScale():1;if(Ie>1e-10&&(this.hasFill()||($e=Math.max($e,this.strokeContainThreshold)),containStroke(_e,$e/Ie,le,ue)))return!0}if(this.hasFill())return contain$2(_e,le,ue)}return!1},ie.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},ie.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},ie.prototype.animateShape=function(le){return this.animate("shape",le)},ie.prototype.updateDuringAnimation=function(le){le==="style"?this.dirtyStyle():le==="shape"?this.dirtyShape():this.markRedraw()},ie.prototype.attrKV=function(le,ue){le==="shape"?this.setShape(ue):oe.prototype.attrKV.call(this,le,ue)},ie.prototype.setShape=function(le,ue){var de=this.shape;return de||(de=this.shape={}),typeof le=="string"?de[le]=ue:extend(de,le),this.dirtyShape(),this},ie.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},ie.prototype.createStyle=function(le){return createObject(DEFAULT_PATH_STYLE,le)},ie.prototype._innerSaveToNormal=function(le){oe.prototype._innerSaveToNormal.call(this,le);var ue=this._normalState;le.shape&&!ue.shape&&(ue.shape=extend({},this.shape))},ie.prototype._applyStateObj=function(le,ue,de,pe,he,_e){oe.prototype._applyStateObj.call(this,le,ue,de,pe,he,_e);var $e=!(ue&&pe),Ie;if(ue&&ue.shape?he?pe?Ie=ue.shape:(Ie=extend({},de.shape),extend(Ie,ue.shape)):(Ie=extend({},pe?this.shape:de.shape),extend(Ie,ue.shape)):$e&&(Ie=de.shape),Ie)if(he){this.shape=extend({},this.shape);for(var Ve={},Fe=keys(Ie),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];typeof Ie[qe]=="object"?this.shape[qe]=Ie[qe]:Ve[qe]=Ie[qe]}this._transitionState(le,{shape:Ve},_e)}else this.shape=Ie,this.dirtyShape()},ie.prototype._mergeStates=function(le){for(var ue=oe.prototype._mergeStates.call(this,le),de,pe=0;pe<le.length;pe++){var he=le[pe];he.shape&&(de=de||{},this._mergeStyle(de,he.shape))}return de&&(ue.shape=de),ue},ie.prototype.getAnimationStyleProps=function(){return DEFAULT_PATH_ANIMATION_PROPS},ie.prototype.isZeroArea=function(){return!1},ie.extend=function(le){var ue=function(pe){__extends(he,pe);function he(_e){var $e=pe.call(this,_e)||this;return le.init&&le.init.call($e,_e),$e}return he.prototype.getDefaultStyle=function(){return clone$3(le.style)},he.prototype.getDefaultShape=function(){return clone$3(le.shape)},he}(ie);for(var de in le)typeof le[de]=="function"&&(ue.prototype[de]=le[de]);return ue},ie.initDefaultProps=function(){var le=ie.prototype;le.type="path",le.strokeContainThreshold=5,le.segmentIgnoreThreshold=0,le.subPixelOptimize=!1,le.autoBatch=!1,le.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT|SHAPE_CHANGED_BIT}(),ie}(Displayable$1);const Path$1=Path;var DEFAULT_TSPAN_STYLE=defaults({strokeFirst:!0,font:DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},DEFAULT_PATH_STYLE),TSpan=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.hasStroke=function(){var le=this.style,ue=le.stroke;return ue!=null&&ue!=="none"&&le.lineWidth>0},ie.prototype.hasFill=function(){var le=this.style,ue=le.fill;return ue!=null&&ue!=="none"},ie.prototype.createStyle=function(le){return createObject(DEFAULT_TSPAN_STYLE,le)},ie.prototype.setBoundingRect=function(le){this._rect=le},ie.prototype.getBoundingRect=function(){var le=this.style;if(!this._rect){var ue=le.text;ue!=null?ue+="":ue="";var de=getBoundingRect(ue,le.font,le.textAlign,le.textBaseline);if(de.x+=le.x||0,de.y+=le.y||0,this.hasStroke()){var pe=le.lineWidth;de.x-=pe/2,de.y-=pe/2,de.width+=pe,de.height+=pe}this._rect=de}return this._rect},ie.initDefaultProps=function(){var le=ie.prototype;le.dirtyRectTolerance=10}(),ie}(Displayable$1);TSpan.prototype.type="tspan";const TSpan$1=TSpan;var DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike(oe){return!!(oe&&typeof oe!="string"&&oe.width&&oe.height)}var ZRImage=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.createStyle=function(le){return createObject(DEFAULT_IMAGE_STYLE,le)},ie.prototype._getSize=function(le){var ue=this.style,de=ue[le];if(de!=null)return de;var pe=isImageLike(ue.image)?ue.image:this.__image;if(!pe)return 0;var he=le==="width"?"height":"width",_e=ue[he];return _e==null?pe[le]:pe[le]/pe[he]*_e},ie.prototype.getWidth=function(){return this._getSize("width")},ie.prototype.getHeight=function(){return this._getSize("height")},ie.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},ie.prototype.getBoundingRect=function(){var le=this.style;return this._rect||(this._rect=new BoundingRect$1(le.x||0,le.y||0,this.getWidth(),this.getHeight())),this._rect},ie}(Displayable$1);ZRImage.prototype.type="image";const ZRImage$1=ZRImage;function buildPath$2(oe,ie){var le=ie.x,ue=ie.y,de=ie.width,pe=ie.height,he=ie.r,_e,$e,Ie,Ve;de<0&&(le=le+de,de=-de),pe<0&&(ue=ue+pe,pe=-pe),typeof he=="number"?_e=$e=Ie=Ve=he:he instanceof Array?he.length===1?_e=$e=Ie=Ve=he[0]:he.length===2?(_e=Ie=he[0],$e=Ve=he[1]):he.length===3?(_e=he[0],$e=Ve=he[1],Ie=he[2]):(_e=he[0],$e=he[1],Ie=he[2],Ve=he[3]):_e=$e=Ie=Ve=0;var Fe;_e+$e>de&&(Fe=_e+$e,_e*=de/Fe,$e*=de/Fe),Ie+Ve>de&&(Fe=Ie+Ve,Ie*=de/Fe,Ve*=de/Fe),$e+Ie>pe&&(Fe=$e+Ie,$e*=pe/Fe,Ie*=pe/Fe),_e+Ve>pe&&(Fe=_e+Ve,_e*=pe/Fe,Ve*=pe/Fe),oe.moveTo(le+_e,ue),oe.lineTo(le+de-$e,ue),$e!==0&&oe.arc(le+de-$e,ue+$e,$e,-Math.PI/2,0),oe.lineTo(le+de,ue+pe-Ie),Ie!==0&&oe.arc(le+de-Ie,ue+pe-Ie,Ie,0,Math.PI/2),oe.lineTo(le+Ve,ue+pe),Ve!==0&&oe.arc(le+Ve,ue+pe-Ve,Ve,Math.PI/2,Math.PI),oe.lineTo(le,ue+_e),_e!==0&&oe.arc(le+_e,ue+_e,_e,Math.PI,Math.PI*1.5)}var round=Math.round;function subPixelOptimizeLine$1(oe,ie,le){if(ie){var ue=ie.x1,de=ie.x2,pe=ie.y1,he=ie.y2;oe.x1=ue,oe.x2=de,oe.y1=pe,oe.y2=he;var _e=le&&le.lineWidth;return _e&&(round(ue*2)===round(de*2)&&(oe.x1=oe.x2=subPixelOptimize$1(ue,_e,!0)),round(pe*2)===round(he*2)&&(oe.y1=oe.y2=subPixelOptimize$1(pe,_e,!0))),oe}}function subPixelOptimizeRect$1(oe,ie,le){if(ie){var ue=ie.x,de=ie.y,pe=ie.width,he=ie.height;oe.x=ue,oe.y=de,oe.width=pe,oe.height=he;var _e=le&&le.lineWidth;return _e&&(oe.x=subPixelOptimize$1(ue,_e,!0),oe.y=subPixelOptimize$1(de,_e,!0),oe.width=Math.max(subPixelOptimize$1(ue+pe,_e,!1)-oe.x,pe===0?0:1),oe.height=Math.max(subPixelOptimize$1(de+he,_e,!1)-oe.y,he===0?0:1)),oe}}function subPixelOptimize$1(oe,ie,le){if(!ie)return oe;var ue=round(oe*2);return(ue+round(ie))%2===0?ue/2:(ue+(le?1:-1))/2}var RectShape=function(){function oe(){this.x=0,this.y=0,this.width=0,this.height=0}return oe}(),subPixelOptimizeOutputShape$1={},Rect$1=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultShape=function(){return new RectShape},ie.prototype.buildPath=function(le,ue){var de,pe,he,_e;if(this.subPixelOptimize){var $e=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,ue,this.style);de=$e.x,pe=$e.y,he=$e.width,_e=$e.height,$e.r=ue.r,ue=$e}else de=ue.x,pe=ue.y,he=ue.width,_e=ue.height;ue.r?buildPath$2(le,ue):le.rect(de,pe,he,_e)},ie.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},ie}(Path$1);Rect$1.prototype.type="rect";const Rect$2=Rect$1;var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this)||this;return ue.type="text",ue._children=[],ue._defaultStyle=DEFAULT_RICH_TEXT_COLOR,ue.attr(le),ue}return ie.prototype.childrenRef=function(){return this._children},ie.prototype.update=function(){oe.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var le=0;le<this._children.length;le++){var ue=this._children[le];ue.zlevel=this.zlevel,ue.z=this.z,ue.z2=this.z2,ue.culling=this.culling,ue.cursor=this.cursor,ue.invisible=this.invisible}},ie.prototype.updateTransform=function(){var le=this.innerTransformable;le?(le.updateTransform(),le.transform&&(this.transform=le.transform)):oe.prototype.updateTransform.call(this)},ie.prototype.getLocalTransform=function(le){var ue=this.innerTransformable;return ue?ue.getLocalTransform(le):oe.prototype.getLocalTransform.call(this,le)},ie.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),oe.prototype.getComputedTransform.call(this)},ie.prototype._updateSubTexts=function(){this._childCursor=0,normalizeTextStyle(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},ie.prototype.addSelfToZr=function(le){oe.prototype.addSelfToZr.call(this,le);for(var ue=0;ue<this._children.length;ue++)this._children[ue].__zr=le},ie.prototype.removeSelfFromZr=function(le){oe.prototype.removeSelfFromZr.call(this,le);for(var ue=0;ue<this._children.length;ue++)this._children[ue].__zr=null},ie.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var le=new BoundingRect$1(0,0,0,0),ue=this._children,de=[],pe=null,he=0;he<ue.length;he++){var _e=ue[he],$e=_e.getBoundingRect(),Ie=_e.getLocalTransform(de);Ie?(le.copy($e),le.applyTransform(Ie),pe=pe||le.clone(),pe.union(le)):(pe=pe||$e.clone(),pe.union($e))}this._rect=pe||le}return this._rect},ie.prototype.setDefaultTextStyle=function(le){this._defaultStyle=le||DEFAULT_RICH_TEXT_COLOR},ie.prototype.setTextContent=function(le){},ie.prototype._mergeStyle=function(le,ue){if(!ue)return le;var de=ue.rich,pe=le.rich||de&&{};return extend(le,ue),de&&pe?(this._mergeRich(pe,de),le.rich=pe):pe&&(le.rich=pe),le},ie.prototype._mergeRich=function(le,ue){for(var de=keys(ue),pe=0;pe<de.length;pe++){var he=de[pe];le[he]=le[he]||{},extend(le[he],ue[he])}},ie.prototype.getAnimationStyleProps=function(){return DEFAULT_TEXT_ANIMATION_PROPS},ie.prototype._getOrCreateChild=function(le){var ue=this._children[this._childCursor];return(!ue||!(ue instanceof le))&&(ue=new le),this._children[this._childCursor++]=ue,ue.__zr=this.__zr,ue.parent=this,ue},ie.prototype._updatePlainTexts=function(){var le=this.style,ue=le.font||DEFAULT_FONT,de=le.padding,pe=getStyleText(le),he=parsePlainText(pe,le),_e=needDrawBackground(le),$e=!!le.backgroundColor,Ie=he.outerHeight,Ve=he.outerWidth,Fe=he.contentWidth,Ue=he.lines,qe=he.lineHeight,Et=this._defaultStyle,At=le.x||0,Lt=le.y||0,hn=le.align||Et.align||"left",vn=le.verticalAlign||Et.verticalAlign||"top",_n=At,bn=adjustTextY(Lt,he.contentHeight,vn);if(_e||de){var Sn=adjustTextX(At,Ve,hn),Cn=adjustTextY(Lt,Ie,vn);_e&&this._renderBackground(le,le,Sn,Cn,Ve,Ie)}bn+=qe/2,de&&(_n=getTextXForPadding(At,hn,de),vn==="top"?bn+=de[0]:vn==="bottom"&&(bn-=de[2]));for(var En=0,wn=!1,xn=getFill("fill"in le?le.fill:(wn=!0,Et.fill)),kn=getStroke("stroke"in le?le.stroke:!$e&&(!Et.autoStroke||wn)?(En=DEFAULT_STROKE_LINE_WIDTH,Et.stroke):null),Pn=le.textShadowBlur>0,An=le.width!=null&&(le.overflow==="truncate"||le.overflow==="break"||le.overflow==="breakAll"),In=he.calculatedLineHeight,Nn=0;Nn<Ue.length;Nn++){var Un=this._getOrCreateChild(TSpan$1),Vn=Un.createStyle();Un.useStyle(Vn),Vn.text=Ue[Nn],Vn.x=_n,Vn.y=bn,hn&&(Vn.textAlign=hn),Vn.textBaseline="middle",Vn.opacity=le.opacity,Vn.strokeFirst=!0,Pn&&(Vn.shadowBlur=le.textShadowBlur||0,Vn.shadowColor=le.textShadowColor||"transparent",Vn.shadowOffsetX=le.textShadowOffsetX||0,Vn.shadowOffsetY=le.textShadowOffsetY||0),Vn.stroke=kn,Vn.fill=xn,kn&&(Vn.lineWidth=le.lineWidth||En,Vn.lineDash=le.lineDash,Vn.lineDashOffset=le.lineDashOffset||0),Vn.font=ue,setSeparateFont(Vn,le),bn+=qe,An&&Un.setBoundingRect(new BoundingRect$1(adjustTextX(Vn.x,le.width,Vn.textAlign),adjustTextY(Vn.y,In,Vn.textBaseline),Fe,In))}},ie.prototype._updateRichTexts=function(){var le=this.style,ue=getStyleText(le),de=parseRichText(ue,le),pe=de.width,he=de.outerWidth,_e=de.outerHeight,$e=le.padding,Ie=le.x||0,Ve=le.y||0,Fe=this._defaultStyle,Ue=le.align||Fe.align,qe=le.verticalAlign||Fe.verticalAlign,Et=adjustTextX(Ie,he,Ue),At=adjustTextY(Ve,_e,qe),Lt=Et,hn=At;$e&&(Lt+=$e[3],hn+=$e[0]);var vn=Lt+pe;needDrawBackground(le)&&this._renderBackground(le,le,Et,At,he,_e);for(var _n=!!le.backgroundColor,bn=0;bn<de.lines.length;bn++){for(var Sn=de.lines[bn],Cn=Sn.tokens,En=Cn.length,wn=Sn.lineHeight,xn=Sn.width,kn=0,Pn=Lt,An=vn,In=En-1,Nn=void 0;kn<En&&(Nn=Cn[kn],!Nn.align||Nn.align==="left");)this._placeToken(Nn,le,wn,hn,Pn,"left",_n),xn-=Nn.width,Pn+=Nn.width,kn++;for(;In>=0&&(Nn=Cn[In],Nn.align==="right");)this._placeToken(Nn,le,wn,hn,An,"right",_n),xn-=Nn.width,An-=Nn.width,In--;for(Pn+=(pe-(Pn-Lt)-(vn-An)-xn)/2;kn<=In;)Nn=Cn[kn],this._placeToken(Nn,le,wn,hn,Pn+Nn.width/2,"center",_n),Pn+=Nn.width,kn++;hn+=wn}},ie.prototype._placeToken=function(le,ue,de,pe,he,_e,$e){var Ie=ue.rich[le.styleName]||{};Ie.text=le.text;var Ve=le.verticalAlign,Fe=pe+de/2;Ve==="top"?Fe=pe+le.height/2:Ve==="bottom"&&(Fe=pe+de-le.height/2);var Ue=!le.isLineHolder&&needDrawBackground(Ie);Ue&&this._renderBackground(Ie,ue,_e==="right"?he-le.width:_e==="center"?he-le.width/2:he,Fe-le.height/2,le.width,le.height);var qe=!!Ie.backgroundColor,Et=le.textPadding;Et&&(he=getTextXForPadding(he,_e,Et),Fe-=le.height/2-Et[0]-le.innerHeight/2);var At=this._getOrCreateChild(TSpan$1),Lt=At.createStyle();At.useStyle(Lt);var hn=this._defaultStyle,vn=!1,_n=0,bn=getFill("fill"in Ie?Ie.fill:"fill"in ue?ue.fill:(vn=!0,hn.fill)),Sn=getStroke("stroke"in Ie?Ie.stroke:"stroke"in ue?ue.stroke:!qe&&!$e&&(!hn.autoStroke||vn)?(_n=DEFAULT_STROKE_LINE_WIDTH,hn.stroke):null),Cn=Ie.textShadowBlur>0||ue.textShadowBlur>0;Lt.text=le.text,Lt.x=he,Lt.y=Fe,Cn&&(Lt.shadowBlur=Ie.textShadowBlur||ue.textShadowBlur||0,Lt.shadowColor=Ie.textShadowColor||ue.textShadowColor||"transparent",Lt.shadowOffsetX=Ie.textShadowOffsetX||ue.textShadowOffsetX||0,Lt.shadowOffsetY=Ie.textShadowOffsetY||ue.textShadowOffsetY||0),Lt.textAlign=_e,Lt.textBaseline="middle",Lt.font=le.font||DEFAULT_FONT,Lt.opacity=retrieve3(Ie.opacity,ue.opacity,1),setSeparateFont(Lt,Ie),Sn&&(Lt.lineWidth=retrieve3(Ie.lineWidth,ue.lineWidth,_n),Lt.lineDash=retrieve2(Ie.lineDash,ue.lineDash),Lt.lineDashOffset=ue.lineDashOffset||0,Lt.stroke=Sn),bn&&(Lt.fill=bn);var En=le.contentWidth,wn=le.contentHeight;At.setBoundingRect(new BoundingRect$1(adjustTextX(Lt.x,En,Lt.textAlign),adjustTextY(Lt.y,wn,Lt.textBaseline),En,wn))},ie.prototype._renderBackground=function(le,ue,de,pe,he,_e){var $e=le.backgroundColor,Ie=le.borderWidth,Ve=le.borderColor,Fe=$e&&$e.image,Ue=$e&&!Fe,qe=le.borderRadius,Et=this,At,Lt;if(Ue||le.lineHeight||Ie&&Ve){At=this._getOrCreateChild(Rect$2),At.useStyle(At.createStyle()),At.style.fill=null;var hn=At.shape;hn.x=de,hn.y=pe,hn.width=he,hn.height=_e,hn.r=qe,At.dirtyShape()}if(Ue){var vn=At.style;vn.fill=$e||null,vn.fillOpacity=retrieve2(le.fillOpacity,1)}else if(Fe){Lt=this._getOrCreateChild(ZRImage$1),Lt.onload=function(){Et.dirtyStyle()};var _n=Lt.style;_n.image=$e.image,_n.x=de,_n.y=pe,_n.width=he,_n.height=_e}if(Ie&&Ve){var vn=At.style;vn.lineWidth=Ie,vn.stroke=Ve,vn.strokeOpacity=retrieve2(le.strokeOpacity,1),vn.lineDash=le.borderDash,vn.lineDashOffset=le.borderDashOffset||0,At.strokeContainThreshold=0,At.hasFill()&&At.hasStroke()&&(vn.strokeFirst=!0,vn.lineWidth*=2)}var bn=(At||Lt).style;bn.shadowBlur=le.shadowBlur||0,bn.shadowColor=le.shadowColor||"transparent",bn.shadowOffsetX=le.shadowOffsetX||0,bn.shadowOffsetY=le.shadowOffsetY||0,bn.opacity=retrieve3(le.opacity,ue.opacity,1)},ie.makeFont=function(le){var ue="";return hasSeparateFont(le)&&(ue=[le.fontStyle,le.fontWeight,parseFontSize(le.fontSize),le.fontFamily||"sans-serif"].join(" ")),ue&&trim$1(ue)||le.textFont||le.font},ie}(Displayable$1),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(oe){return typeof oe=="string"&&(oe.indexOf("px")!==-1||oe.indexOf("rem")!==-1||oe.indexOf("em")!==-1)?oe:isNaN(+oe)?DEFAULT_FONT_SIZE+"px":oe+"px"}function setSeparateFont(oe,ie){for(var le=0;le<FONT_PARTS.length;le++){var ue=FONT_PARTS[le],de=ie[ue];de!=null&&(oe[ue]=de)}}function hasSeparateFont(oe){return oe.fontSize!=null||oe.fontFamily||oe.fontWeight}function normalizeTextStyle(oe){return normalizeStyle(oe),each$c(oe.rich,normalizeStyle),oe}function normalizeStyle(oe){if(oe){oe.font=ZRText.makeFont(oe);var ie=oe.align;ie==="middle"&&(ie="center"),oe.align=ie==null||VALID_TEXT_ALIGN[ie]?ie:"left";var le=oe.verticalAlign;le==="center"&&(le="middle"),oe.verticalAlign=le==null||VALID_TEXT_VERTICAL_ALIGN[le]?le:"top";var ue=oe.padding;ue&&(oe.padding=normalizeCssArray$1(oe.padding))}}function getStroke(oe,ie){return oe==null||ie<=0||oe==="transparent"||oe==="none"?null:oe.image||oe.colorStops?"#000":oe}function getFill(oe){return oe==null||oe==="none"?null:oe.image||oe.colorStops?"#000":oe}function getTextXForPadding(oe,ie,le){return ie==="right"?oe-le[1]:ie==="center"?oe+le[3]/2-le[1]/2:oe+le[3]}function getStyleText(oe){var ie=oe.text;return ie!=null&&(ie+=""),ie}function needDrawBackground(oe){return!!(oe.backgroundColor||oe.lineHeight||oe.borderWidth&&oe.borderColor)}const ZRText$1=ZRText;var getECData=makeInner(),setCommonECData=function(oe,ie,le,ue){if(ue){var de=getECData(ue);de.dataIndex=le,de.dataType=ie,de.seriesIndex=oe,ue.type==="group"&&ue.traverse(function(pe){var he=getECData(pe);he.seriesIndex=oe,he.dataIndex=le,he.dataType=ie})}},_highlightNextDigit=1,_highlightKeyMap={},getSavedStates=makeInner(),getComponentStates=makeInner(),HOVER_STATE_NORMAL=0,HOVER_STATE_BLUR=1,HOVER_STATE_EMPHASIS=2,SPECIAL_STATES=["emphasis","blur","select"],DISPLAY_STATES=["normal","emphasis","blur","select"],Z2_EMPHASIS_LIFT=10,Z2_SELECT_LIFT=9,HIGHLIGHT_ACTION_TYPE="highlight",DOWNPLAY_ACTION_TYPE="downplay",SELECT_ACTION_TYPE="select",UNSELECT_ACTION_TYPE="unselect",TOGGLE_SELECT_ACTION_TYPE="toggleSelect";function hasFillOrStroke(oe){return oe!=null&&oe!=="none"}var liftedColorCache=new LRU$1(100);function liftColor(oe){if(isString(oe)){var ie=liftedColorCache.get(oe);return ie||(ie=lift(oe,-.1),liftedColorCache.put(oe,ie)),ie}else if(isGradientObject(oe)){var le=extend({},oe);return le.colorStops=map$2(oe.colorStops,function(ue){return{offset:ue.offset,color:lift(ue.color,-.1)}}),le}return oe}function doChangeHoverState(oe,ie,le){oe.onHoverStateChange&&(oe.hoverState||0)!==le&&oe.onHoverStateChange(ie),oe.hoverState=le}function singleEnterEmphasis(oe){doChangeHoverState(oe,"emphasis",HOVER_STATE_EMPHASIS)}function singleLeaveEmphasis(oe){oe.hoverState===HOVER_STATE_EMPHASIS&&doChangeHoverState(oe,"normal",HOVER_STATE_NORMAL)}function singleEnterBlur(oe){doChangeHoverState(oe,"blur",HOVER_STATE_BLUR)}function singleLeaveBlur(oe){oe.hoverState===HOVER_STATE_BLUR&&doChangeHoverState(oe,"normal",HOVER_STATE_NORMAL)}function singleEnterSelect(oe){oe.selected=!0}function singleLeaveSelect(oe){oe.selected=!1}function updateElementState(oe,ie,le){ie(oe,le)}function traverseUpdateState(oe,ie,le){updateElementState(oe,ie,le),oe.isGroup&&oe.traverse(function(ue){updateElementState(ue,ie,le)})}function setStatesFlag(oe,ie){switch(ie){case"emphasis":oe.hoverState=HOVER_STATE_EMPHASIS;break;case"normal":oe.hoverState=HOVER_STATE_NORMAL;break;case"blur":oe.hoverState=HOVER_STATE_BLUR;break;case"select":oe.selected=!0}}function getFromStateStyle(oe,ie,le,ue){for(var de=oe.style,pe={},he=0;he<ie.length;he++){var _e=ie[he],$e=de[_e];pe[_e]=$e??(ue&&ue[_e])}for(var he=0;he<oe.animators.length;he++){var Ie=oe.animators[he];Ie.__fromStateTransition&&Ie.__fromStateTransition.indexOf(le)<0&&Ie.targetName==="style"&&Ie.saveTo(pe,ie)}return pe}function createEmphasisDefaultState(oe,ie,le,ue){var de=le&&indexOf(le,"select")>=0,pe=!1;if(oe instanceof Path$1){var he=getSavedStates(oe),_e=de&&he.selectFill||he.normalFill,$e=de&&he.selectStroke||he.normalStroke;if(hasFillOrStroke(_e)||hasFillOrStroke($e)){ue=ue||{};var Ie=ue.style||{};Ie.fill==="inherit"?(pe=!0,ue=extend({},ue),Ie=extend({},Ie),Ie.fill=_e):!hasFillOrStroke(Ie.fill)&&hasFillOrStroke(_e)?(pe=!0,ue=extend({},ue),Ie=extend({},Ie),Ie.fill=liftColor(_e)):!hasFillOrStroke(Ie.stroke)&&hasFillOrStroke($e)&&(pe||(ue=extend({},ue),Ie=extend({},Ie)),Ie.stroke=liftColor($e)),ue.style=Ie}}if(ue&&ue.z2==null){pe||(ue=extend({},ue));var Ve=oe.z2EmphasisLift;ue.z2=oe.z2+(Ve??Z2_EMPHASIS_LIFT)}return ue}function createSelectDefaultState(oe,ie,le){if(le&&le.z2==null){le=extend({},le);var ue=oe.z2SelectLift;le.z2=oe.z2+(ue??Z2_SELECT_LIFT)}return le}function createBlurDefaultState(oe,ie,le){var ue=indexOf(oe.currentStates,ie)>=0,de=oe.style.opacity,pe=ue?null:getFromStateStyle(oe,["opacity"],ie,{opacity:1});le=le||{};var he=le.style||{};return he.opacity==null&&(le=extend({},le),he=extend({opacity:ue?de:pe.opacity*.1},he),le.style=he),le}function elementStateProxy(oe,ie){var le=this.states[oe];if(this.style){if(oe==="emphasis")return createEmphasisDefaultState(this,oe,ie,le);if(oe==="blur")return createBlurDefaultState(this,oe,le);if(oe==="select")return createSelectDefaultState(this,oe,le)}return le}function setDefaultStateProxy(oe){oe.stateProxy=elementStateProxy;var ie=oe.getTextContent(),le=oe.getTextGuideLine();ie&&(ie.stateProxy=elementStateProxy),le&&(le.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(oe,ie){!shouldSilent(oe,ie)&&!oe.__highByOuter&&traverseUpdateState(oe,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(oe,ie){!shouldSilent(oe,ie)&&!oe.__highByOuter&&traverseUpdateState(oe,singleLeaveEmphasis)}function enterEmphasis(oe,ie){oe.__highByOuter|=1<<(ie||0),traverseUpdateState(oe,singleEnterEmphasis)}function leaveEmphasis(oe,ie){!(oe.__highByOuter&=~(1<<(ie||0)))&&traverseUpdateState(oe,singleLeaveEmphasis)}function enterBlur(oe){traverseUpdateState(oe,singleEnterBlur)}function leaveBlur(oe){traverseUpdateState(oe,singleLeaveBlur)}function enterSelect(oe){traverseUpdateState(oe,singleEnterSelect)}function leaveSelect(oe){traverseUpdateState(oe,singleLeaveSelect)}function shouldSilent(oe,ie){return oe.__highDownSilentOnTouch&&ie.zrByTouch}function allLeaveBlur(oe){var ie=oe.getModel(),le=[],ue=[];ie.eachComponent(function(de,pe){var he=getComponentStates(pe),_e=de==="series",$e=_e?oe.getViewOfSeriesModel(pe):oe.getViewOfComponentModel(pe);!_e&&ue.push($e),he.isBlured&&($e.group.traverse(function(Ie){singleLeaveBlur(Ie)}),_e&&le.push(pe)),he.isBlured=!1}),each$c(ue,function(de){de&&de.toggleBlurSeries&&de.toggleBlurSeries(le,!1,ie)})}function blurSeries(oe,ie,le,ue){var de=ue.getModel();le=le||"coordinateSystem";function pe(Ie,Ve){for(var Fe=0;Fe<Ve.length;Fe++){var Ue=Ie.getItemGraphicEl(Ve[Fe]);Ue&&leaveBlur(Ue)}}if(oe!=null&&!(!ie||ie==="none")){var he=de.getSeriesByIndex(oe),_e=he.coordinateSystem;_e&&_e.master&&(_e=_e.master);var $e=[];de.eachSeries(function(Ie){var Ve=he===Ie,Fe=Ie.coordinateSystem;Fe&&Fe.master&&(Fe=Fe.master);var Ue=Fe&&_e?Fe===_e:Ve;if(!(le==="series"&&!Ve||le==="coordinateSystem"&&!Ue||ie==="series"&&Ve)){var qe=ue.getViewOfSeriesModel(Ie);if(qe.group.traverse(function(Lt){singleEnterBlur(Lt)}),isArrayLike(ie))pe(Ie.getData(),ie);else if(isObject$3(ie))for(var Et=keys(ie),At=0;At<Et.length;At++)pe(Ie.getData(Et[At]),ie[Et[At]]);$e.push(Ie),getComponentStates(Ie).isBlured=!0}}),de.eachComponent(function(Ie,Ve){if(Ie!=="series"){var Fe=ue.getViewOfComponentModel(Ve);Fe&&Fe.toggleBlurSeries&&Fe.toggleBlurSeries($e,!0,de)}})}}function blurComponent(oe,ie,le){if(!(oe==null||ie==null)){var ue=le.getModel().getComponent(oe,ie);if(ue){getComponentStates(ue).isBlured=!0;var de=le.getViewOfComponentModel(ue);!de||!de.focusBlurEnabled||de.group.traverse(function(pe){singleEnterBlur(pe)})}}}function blurSeriesFromHighlightPayload(oe,ie,le){var ue=oe.seriesIndex,de=oe.getData(ie.dataType);if(de){var pe=queryDataIndex(de,ie);pe=(isArray$1(pe)?pe[0]:pe)||0;var he=de.getItemGraphicEl(pe);if(!he)for(var _e=de.count(),$e=0;!he&&$e<_e;)he=de.getItemGraphicEl($e++);if(he){var Ie=getECData(he);blurSeries(ue,Ie.focus,Ie.blurScope,le)}else{var Ve=oe.get(["emphasis","focus"]),Fe=oe.get(["emphasis","blurScope"]);Ve!=null&&blurSeries(ue,Ve,Fe,le)}}}function findComponentHighDownDispatchers(oe,ie,le,ue){var de={focusSelf:!1,dispatchers:null};if(oe==null||oe==="series"||ie==null||le==null)return de;var pe=ue.getModel().getComponent(oe,ie);if(!pe)return de;var he=ue.getViewOfComponentModel(pe);if(!he||!he.findHighDownDispatchers)return de;for(var _e=he.findHighDownDispatchers(le),$e,Ie=0;Ie<_e.length;Ie++)if(getECData(_e[Ie]).focus==="self"){$e=!0;break}return{focusSelf:$e,dispatchers:_e}}function handleGlobalMouseOverForHighDown(oe,ie,le){var ue=getECData(oe),de=findComponentHighDownDispatchers(ue.componentMainType,ue.componentIndex,ue.componentHighDownName,le),pe=de.dispatchers,he=de.focusSelf;pe?(he&&blurComponent(ue.componentMainType,ue.componentIndex,le),each$c(pe,function(_e){return enterEmphasisWhenMouseOver(_e,ie)})):(blurSeries(ue.seriesIndex,ue.focus,ue.blurScope,le),ue.focus==="self"&&blurComponent(ue.componentMainType,ue.componentIndex,le),enterEmphasisWhenMouseOver(oe,ie))}function handleGlobalMouseOutForHighDown(oe,ie,le){allLeaveBlur(le);var ue=getECData(oe),de=findComponentHighDownDispatchers(ue.componentMainType,ue.componentIndex,ue.componentHighDownName,le).dispatchers;de?each$c(de,function(pe){return leaveEmphasisWhenMouseOut(pe,ie)}):leaveEmphasisWhenMouseOut(oe,ie)}function toggleSelectionFromPayload(oe,ie,le){if(isSelectChangePayload(ie)){var ue=ie.dataType,de=oe.getData(ue),pe=queryDataIndex(de,ie);isArray$1(pe)||(pe=[pe]),oe[ie.type===TOGGLE_SELECT_ACTION_TYPE?"toggleSelect":ie.type===SELECT_ACTION_TYPE?"select":"unselect"](pe,ue)}}function updateSeriesElementSelection(oe){var ie=oe.getAllData();each$c(ie,function(le){var ue=le.data,de=le.type;ue.eachItemGraphicEl(function(pe,he){oe.isSelected(he,de)?enterSelect(pe):leaveSelect(pe)})})}function getAllSelectedIndices(oe){var ie=[];return oe.eachSeries(function(le){var ue=le.getAllData();each$c(ue,function(de){de.data;var pe=de.type,he=le.getSelectedDataIndices();if(he.length>0){var _e={dataIndex:he,seriesIndex:le.seriesIndex};pe!=null&&(_e.dataType=pe),ie.push(_e)}})}),ie}function enableHoverEmphasis(oe,ie,le){setAsHighDownDispatcher(oe,!0),traverseUpdateState(oe,setDefaultStateProxy),enableHoverFocus(oe,ie,le)}function disableHoverEmphasis(oe){setAsHighDownDispatcher(oe,!1)}function toggleHoverEmphasis(oe,ie,le,ue){ue?disableHoverEmphasis(oe):enableHoverEmphasis(oe,ie,le)}function enableHoverFocus(oe,ie,le){var ue=getECData(oe);ie!=null?(ue.focus=ie,ue.blurScope=le):ue.focus&&(ue.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(oe,ie,le,ue){le=le||"itemStyle";for(var de=0;de<OTHER_STATES.length;de++){var pe=OTHER_STATES[de],he=ie.getModel([pe,le]),_e=oe.ensureState(pe);_e.style=ue?ue(he):he[defaultStyleGetterMap[le]]()}}function setAsHighDownDispatcher(oe,ie){var le=ie===!1,ue=oe;oe.highDownSilentOnTouch&&(ue.__highDownSilentOnTouch=oe.highDownSilentOnTouch),(!le||ue.__highDownDispatcher)&&(ue.__highByOuter=ue.__highByOuter||0,ue.__highDownDispatcher=!le)}function isHighDownDispatcher(oe){return!!(oe&&oe.__highDownDispatcher)}function getHighlightDigit(oe){var ie=_highlightKeyMap[oe];return ie==null&&_highlightNextDigit<=32&&(ie=_highlightKeyMap[oe]=_highlightNextDigit++),ie}function isSelectChangePayload(oe){var ie=oe.type;return ie===SELECT_ACTION_TYPE||ie===UNSELECT_ACTION_TYPE||ie===TOGGLE_SELECT_ACTION_TYPE}function isHighDownPayload(oe){var ie=oe.type;return ie===HIGHLIGHT_ACTION_TYPE||ie===DOWNPLAY_ACTION_TYPE}function savePathStates(oe){var ie=getSavedStates(oe);ie.normalFill=oe.style.fill,ie.normalStroke=oe.style.stroke;var le=oe.states.select||{};ie.selectFill=le.style&&le.style.fill||null,ie.selectStroke=le.style&&le.style.stroke||null}var CMD=PathProxy$1.CMD,points=[[],[],[]],mathSqrt$2=Math.sqrt,mathAtan2=Math.atan2;function transformPath(oe,ie){if(ie){var le=oe.data,ue=oe.len(),de,pe,he,_e,$e,Ie,Ve=CMD.M,Fe=CMD.C,Ue=CMD.L,qe=CMD.R,Et=CMD.A,At=CMD.Q;for(he=0,_e=0;he<ue;){switch(de=le[he++],_e=he,pe=0,de){case Ve:pe=1;break;case Ue:pe=1;break;case Fe:pe=3;break;case At:pe=2;break;case Et:var Lt=ie[4],hn=ie[5],vn=mathSqrt$2(ie[0]*ie[0]+ie[1]*ie[1]),_n=mathSqrt$2(ie[2]*ie[2]+ie[3]*ie[3]),bn=mathAtan2(-ie[1]/_n,ie[0]/vn);le[he]*=vn,le[he++]+=Lt,le[he]*=_n,le[he++]+=hn,le[he++]*=vn,le[he++]*=_n,le[he++]+=bn,le[he++]+=bn,he+=2,_e=he;break;case qe:Ie[0]=le[he++],Ie[1]=le[he++],applyTransform$1(Ie,Ie,ie),le[_e++]=Ie[0],le[_e++]=Ie[1],Ie[0]+=le[he++],Ie[1]+=le[he++],applyTransform$1(Ie,Ie,ie),le[_e++]=Ie[0],le[_e++]=Ie[1]}for($e=0;$e<pe;$e++){var Sn=points[$e];Sn[0]=le[he++],Sn[1]=le[he++],applyTransform$1(Sn,Sn,ie),le[_e++]=Sn[0],le[_e++]=Sn[1]}}oe.increaseVersion()}}var mathSqrt$1=Math.sqrt,mathSin$1=Math.sin,mathCos$1=Math.cos,PI$3=Math.PI;function vMag(oe){return Math.sqrt(oe[0]*oe[0]+oe[1]*oe[1])}function vRatio(oe,ie){return(oe[0]*ie[0]+oe[1]*ie[1])/(vMag(oe)*vMag(ie))}function vAngle(oe,ie){return(oe[0]*ie[1]<oe[1]*ie[0]?-1:1)*Math.acos(vRatio(oe,ie))}function processArc(oe,ie,le,ue,de,pe,he,_e,$e,Ie,Ve){var Fe=$e*(PI$3/180),Ue=mathCos$1(Fe)*(oe-le)/2+mathSin$1(Fe)*(ie-ue)/2,qe=-1*mathSin$1(Fe)*(oe-le)/2+mathCos$1(Fe)*(ie-ue)/2,Et=Ue*Ue/(he*he)+qe*qe/(_e*_e);Et>1&&(he*=mathSqrt$1(Et),_e*=mathSqrt$1(Et));var At=(de===pe?-1:1)*mathSqrt$1((he*he*(_e*_e)-he*he*(qe*qe)-_e*_e*(Ue*Ue))/(he*he*(qe*qe)+_e*_e*(Ue*Ue)))||0,Lt=At*he*qe/_e,hn=At*-_e*Ue/he,vn=(oe+le)/2+mathCos$1(Fe)*Lt-mathSin$1(Fe)*hn,_n=(ie+ue)/2+mathSin$1(Fe)*Lt+mathCos$1(Fe)*hn,bn=vAngle([1,0],[(Ue-Lt)/he,(qe-hn)/_e]),Sn=[(Ue-Lt)/he,(qe-hn)/_e],Cn=[(-1*Ue-Lt)/he,(-1*qe-hn)/_e],En=vAngle(Sn,Cn);if(vRatio(Sn,Cn)<=-1&&(En=PI$3),vRatio(Sn,Cn)>=1&&(En=0),En<0){var wn=Math.round(En/PI$3*1e6)/1e6;En=PI$3*2+wn%2*PI$3}Ve.addData(Ie,vn,_n,he,_e,bn,En,Fe,pe)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(oe){var ie=new PathProxy$1;if(!oe)return ie;var le=0,ue=0,de=le,pe=ue,he,_e=PathProxy$1.CMD,$e=oe.match(commandReg);if(!$e)return ie;for(var Ie=0;Ie<$e.length;Ie++){for(var Ve=$e[Ie],Fe=Ve.charAt(0),Ue=void 0,qe=Ve.match(numberReg)||[],Et=qe.length,At=0;At<Et;At++)qe[At]=parseFloat(qe[At]);for(var Lt=0;Lt<Et;){var hn=void 0,vn=void 0,_n=void 0,bn=void 0,Sn=void 0,Cn=void 0,En=void 0,wn=le,xn=ue,kn=void 0,Pn=void 0;switch(Fe){case"l":le+=qe[Lt++],ue+=qe[Lt++],Ue=_e.L,ie.addData(Ue,le,ue);break;case"L":le=qe[Lt++],ue=qe[Lt++],Ue=_e.L,ie.addData(Ue,le,ue);break;case"m":le+=qe[Lt++],ue+=qe[Lt++],Ue=_e.M,ie.addData(Ue,le,ue),de=le,pe=ue,Fe="l";break;case"M":le=qe[Lt++],ue=qe[Lt++],Ue=_e.M,ie.addData(Ue,le,ue),de=le,pe=ue,Fe="L";break;case"h":le+=qe[Lt++],Ue=_e.L,ie.addData(Ue,le,ue);break;case"H":le=qe[Lt++],Ue=_e.L,ie.addData(Ue,le,ue);break;case"v":ue+=qe[Lt++],Ue=_e.L,ie.addData(Ue,le,ue);break;case"V":ue=qe[Lt++],Ue=_e.L,ie.addData(Ue,le,ue);break;case"C":Ue=_e.C,ie.addData(Ue,qe[Lt++],qe[Lt++],qe[Lt++],qe[Lt++],qe[Lt++],qe[Lt++]),le=qe[Lt-2],ue=qe[Lt-1];break;case"c":Ue=_e.C,ie.addData(Ue,qe[Lt++]+le,qe[Lt++]+ue,qe[Lt++]+le,qe[Lt++]+ue,qe[Lt++]+le,qe[Lt++]+ue),le+=qe[Lt-2],ue+=qe[Lt-1];break;case"S":hn=le,vn=ue,kn=ie.len(),Pn=ie.data,he===_e.C&&(hn+=le-Pn[kn-4],vn+=ue-Pn[kn-3]),Ue=_e.C,wn=qe[Lt++],xn=qe[Lt++],le=qe[Lt++],ue=qe[Lt++],ie.addData(Ue,hn,vn,wn,xn,le,ue);break;case"s":hn=le,vn=ue,kn=ie.len(),Pn=ie.data,he===_e.C&&(hn+=le-Pn[kn-4],vn+=ue-Pn[kn-3]),Ue=_e.C,wn=le+qe[Lt++],xn=ue+qe[Lt++],le+=qe[Lt++],ue+=qe[Lt++],ie.addData(Ue,hn,vn,wn,xn,le,ue);break;case"Q":wn=qe[Lt++],xn=qe[Lt++],le=qe[Lt++],ue=qe[Lt++],Ue=_e.Q,ie.addData(Ue,wn,xn,le,ue);break;case"q":wn=qe[Lt++]+le,xn=qe[Lt++]+ue,le+=qe[Lt++],ue+=qe[Lt++],Ue=_e.Q,ie.addData(Ue,wn,xn,le,ue);break;case"T":hn=le,vn=ue,kn=ie.len(),Pn=ie.data,he===_e.Q&&(hn+=le-Pn[kn-4],vn+=ue-Pn[kn-3]),le=qe[Lt++],ue=qe[Lt++],Ue=_e.Q,ie.addData(Ue,hn,vn,le,ue);break;case"t":hn=le,vn=ue,kn=ie.len(),Pn=ie.data,he===_e.Q&&(hn+=le-Pn[kn-4],vn+=ue-Pn[kn-3]),le+=qe[Lt++],ue+=qe[Lt++],Ue=_e.Q,ie.addData(Ue,hn,vn,le,ue);break;case"A":_n=qe[Lt++],bn=qe[Lt++],Sn=qe[Lt++],Cn=qe[Lt++],En=qe[Lt++],wn=le,xn=ue,le=qe[Lt++],ue=qe[Lt++],Ue=_e.A,processArc(wn,xn,le,ue,Cn,En,_n,bn,Sn,Ue,ie);break;case"a":_n=qe[Lt++],bn=qe[Lt++],Sn=qe[Lt++],Cn=qe[Lt++],En=qe[Lt++],wn=le,xn=ue,le+=qe[Lt++],ue+=qe[Lt++],Ue=_e.A,processArc(wn,xn,le,ue,Cn,En,_n,bn,Sn,Ue,ie);break}}(Fe==="z"||Fe==="Z")&&(Ue=_e.Z,ie.addData(Ue),le=de,ue=pe),he=Ue}return ie.toStatic(),ie}var SVGPath=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.applyTransform=function(le){},ie}(Path$1);function isPathProxy(oe){return oe.setData!=null}function createPathOptions(oe,ie){var le=createPathProxyFromString(oe),ue=extend({},ie);return ue.buildPath=function(de){if(isPathProxy(de)){de.setData(le.data);var pe=de.getContext();pe&&de.rebuildPath(pe,1)}else{var pe=de;le.rebuildPath(pe,1)}},ue.applyTransform=function(de){transformPath(le,de),this.dirtyShape()},ue}function createFromString(oe,ie){return new SVGPath(createPathOptions(oe,ie))}function extendFromString(oe,ie){var le=createPathOptions(oe,ie),ue=function(de){__extends(pe,de);function pe(he){var _e=de.call(this,he)||this;return _e.applyTransform=le.applyTransform,_e.buildPath=le.buildPath,_e}return pe}(SVGPath);return ue}function mergePath$1(oe,ie){for(var le=[],ue=oe.length,de=0;de<ue;de++){var pe=oe[de];le.push(pe.getUpdatedPathProxy(!0))}var he=new Path$1(ie);return he.createPathProxy(),he.buildPath=function(_e){if(isPathProxy(_e)){_e.appendPath(le);var $e=_e.getContext();$e&&_e.rebuildPath($e,1)}},he}var CircleShape=function(){function oe(){this.cx=0,this.cy=0,this.r=0}return oe}(),Circle=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultShape=function(){return new CircleShape},ie.prototype.buildPath=function(le,ue){le.moveTo(ue.cx+ue.r,ue.cy),le.arc(ue.cx,ue.cy,ue.r,0,Math.PI*2)},ie}(Path$1);Circle.prototype.type="circle";const Circle$1=Circle;var EllipseShape=function(){function oe(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return oe}(),Ellipse=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultShape=function(){return new EllipseShape},ie.prototype.buildPath=function(le,ue){var de=.5522848,pe=ue.cx,he=ue.cy,_e=ue.rx,$e=ue.ry,Ie=_e*de,Ve=$e*de;le.moveTo(pe-_e,he),le.bezierCurveTo(pe-_e,he-Ve,pe-Ie,he-$e,pe,he-$e),le.bezierCurveTo(pe+Ie,he-$e,pe+_e,he-Ve,pe+_e,he),le.bezierCurveTo(pe+_e,he+Ve,pe+Ie,he+$e,pe,he+$e),le.bezierCurveTo(pe-Ie,he+$e,pe-_e,he+Ve,pe-_e,he),le.closePath()},ie}(Path$1);Ellipse.prototype.type="ellipse";const Ellipse$1=Ellipse;var PI$2=Math.PI,PI2$1=PI$2*2,mathSin=Math.sin,mathCos=Math.cos,mathACos=Math.acos,mathATan2=Math.atan2,mathAbs=Math.abs,mathSqrt=Math.sqrt,mathMax$5=Math.max,mathMin$5=Math.min,e=1e-4;function intersect(oe,ie,le,ue,de,pe,he,_e){var $e=le-oe,Ie=ue-ie,Ve=he-de,Fe=_e-pe,Ue=Fe*$e-Ve*Ie;if(!(Ue*Ue<e))return Ue=(Ve*(ie-pe)-Fe*(oe-de))/Ue,[oe+Ue*$e,ie+Ue*Ie]}function computeCornerTangents(oe,ie,le,ue,de,pe,he){var _e=oe-le,$e=ie-ue,Ie=(he?pe:-pe)/mathSqrt(_e*_e+$e*$e),Ve=Ie*$e,Fe=-Ie*_e,Ue=oe+Ve,qe=ie+Fe,Et=le+Ve,At=ue+Fe,Lt=(Ue+Et)/2,hn=(qe+At)/2,vn=Et-Ue,_n=At-qe,bn=vn*vn+_n*_n,Sn=de-pe,Cn=Ue*At-Et*qe,En=(_n<0?-1:1)*mathSqrt(mathMax$5(0,Sn*Sn*bn-Cn*Cn)),wn=(Cn*_n-vn*En)/bn,xn=(-Cn*vn-_n*En)/bn,kn=(Cn*_n+vn*En)/bn,Pn=(-Cn*vn+_n*En)/bn,An=wn-Lt,In=xn-hn,Nn=kn-Lt,Un=Pn-hn;return An*An+In*In>Nn*Nn+Un*Un&&(wn=kn,xn=Pn),{cx:wn,cy:xn,x0:-Ve,y0:-Fe,x1:wn*(de/Sn-1),y1:xn*(de/Sn-1)}}function normalizeCornerRadius(oe){var ie;if(isArray$1(oe)){var le=oe.length;if(!le)return oe;le===1?ie=[oe[0],oe[0],0,0]:le===2?ie=[oe[0],oe[0],oe[1],oe[1]]:le===3?ie=oe.concat(oe[2]):ie=oe}else ie=[oe,oe,oe,oe];return ie}function buildPath$1(oe,ie){var le,ue=mathMax$5(ie.r,0),de=mathMax$5(ie.r0||0,0),pe=ue>0,he=de>0;if(!(!pe&&!he)){if(pe||(ue=de,de=0),de>ue){var _e=ue;ue=de,de=_e}var $e=ie.startAngle,Ie=ie.endAngle;if(!(isNaN($e)||isNaN(Ie))){var Ve=ie.cx,Fe=ie.cy,Ue=!!ie.clockwise,qe=mathAbs(Ie-$e),Et=qe>PI2$1&&qe%PI2$1;if(Et>e&&(qe=Et),!(ue>e))oe.moveTo(Ve,Fe);else if(qe>PI2$1-e)oe.moveTo(Ve+ue*mathCos($e),Fe+ue*mathSin($e)),oe.arc(Ve,Fe,ue,$e,Ie,!Ue),de>e&&(oe.moveTo(Ve+de*mathCos(Ie),Fe+de*mathSin(Ie)),oe.arc(Ve,Fe,de,Ie,$e,Ue));else{var At=void 0,Lt=void 0,hn=void 0,vn=void 0,_n=void 0,bn=void 0,Sn=void 0,Cn=void 0,En=void 0,wn=void 0,xn=void 0,kn=void 0,Pn=void 0,An=void 0,In=void 0,Nn=void 0,Un=ue*mathCos($e),Vn=ue*mathSin($e),Mn=de*mathCos(Ie),Fn=de*mathSin(Ie),Ln=qe>e;if(Ln){var jn=ie.cornerRadius;jn&&(le=normalizeCornerRadius(jn),At=le[0],Lt=le[1],hn=le[2],vn=le[3]);var Zn=mathAbs(ue-de)/2;if(_n=mathMin$5(Zn,hn),bn=mathMin$5(Zn,vn),Sn=mathMin$5(Zn,At),Cn=mathMin$5(Zn,Lt),xn=En=mathMax$5(_n,bn),kn=wn=mathMax$5(Sn,Cn),(En>e||wn>e)&&(Pn=ue*mathCos(Ie),An=ue*mathSin(Ie),In=de*mathCos($e),Nn=de*mathSin($e),qe<PI$2)){var Gn=intersect(Un,Vn,In,Nn,Pn,An,Mn,Fn);if(Gn){var Jn=Un-Gn[0],lr=Vn-Gn[1],yr=Pn-Gn[0],ir=An-Gn[1],qn=1/mathSin(mathACos((Jn*yr+lr*ir)/(mathSqrt(Jn*Jn+lr*lr)*mathSqrt(yr*yr+ir*ir)))/2),Yn=mathSqrt(Gn[0]*Gn[0]+Gn[1]*Gn[1]);xn=mathMin$5(En,(ue-Yn)/(qn+1)),kn=mathMin$5(wn,(de-Yn)/(qn-1))}}}if(!Ln)oe.moveTo(Ve+Un,Fe+Vn);else if(xn>e){var Xn=mathMin$5(hn,xn),or=mathMin$5(vn,xn),_r=computeCornerTangents(In,Nn,Un,Vn,ue,Xn,Ue),Kn=computeCornerTangents(Pn,An,Mn,Fn,ue,or,Ue);oe.moveTo(Ve+_r.cx+_r.x0,Fe+_r.cy+_r.y0),xn<En&&Xn===or?oe.arc(Ve+_r.cx,Fe+_r.cy,xn,mathATan2(_r.y0,_r.x0),mathATan2(Kn.y0,Kn.x0),!Ue):(Xn>0&&oe.arc(Ve+_r.cx,Fe+_r.cy,Xn,mathATan2(_r.y0,_r.x0),mathATan2(_r.y1,_r.x1),!Ue),oe.arc(Ve,Fe,ue,mathATan2(_r.cy+_r.y1,_r.cx+_r.x1),mathATan2(Kn.cy+Kn.y1,Kn.cx+Kn.x1),!Ue),or>0&&oe.arc(Ve+Kn.cx,Fe+Kn.cy,or,mathATan2(Kn.y1,Kn.x1),mathATan2(Kn.y0,Kn.x0),!Ue))}else oe.moveTo(Ve+Un,Fe+Vn),oe.arc(Ve,Fe,ue,$e,Ie,!Ue);if(!(de>e)||!Ln)oe.lineTo(Ve+Mn,Fe+Fn);else if(kn>e){var Xn=mathMin$5(At,kn),or=mathMin$5(Lt,kn),_r=computeCornerTangents(Mn,Fn,Pn,An,de,-or,Ue),Kn=computeCornerTangents(Un,Vn,In,Nn,de,-Xn,Ue);oe.lineTo(Ve+_r.cx+_r.x0,Fe+_r.cy+_r.y0),kn<wn&&Xn===or?oe.arc(Ve+_r.cx,Fe+_r.cy,kn,mathATan2(_r.y0,_r.x0),mathATan2(Kn.y0,Kn.x0),!Ue):(or>0&&oe.arc(Ve+_r.cx,Fe+_r.cy,or,mathATan2(_r.y0,_r.x0),mathATan2(_r.y1,_r.x1),!Ue),oe.arc(Ve,Fe,de,mathATan2(_r.cy+_r.y1,_r.cx+_r.x1),mathATan2(Kn.cy+Kn.y1,Kn.cx+Kn.x1),Ue),Xn>0&&oe.arc(Ve+Kn.cx,Fe+Kn.cy,Xn,mathATan2(Kn.y1,Kn.x1),mathATan2(Kn.y0,Kn.x0),!Ue))}else oe.lineTo(Ve+Mn,Fe+Fn),oe.arc(Ve,Fe,de,Ie,$e,Ue)}oe.closePath()}}}var SectorShape=function(){function oe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return oe}(),Sector=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultShape=function(){return new SectorShape},ie.prototype.buildPath=function(le,ue){buildPath$1(le,ue)},ie.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},ie}(Path$1);Sector.prototype.type="sector";const Sector$1=Sector;var RingShape=function(){function oe(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return oe}(),Ring=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultShape=function(){return new RingShape},ie.prototype.buildPath=function(le,ue){var de=ue.cx,pe=ue.cy,he=Math.PI*2;le.moveTo(de+ue.r,pe),le.arc(de,pe,ue.r,0,he,!1),le.moveTo(de+ue.r0,pe),le.arc(de,pe,ue.r0,0,he,!0)},ie}(Path$1);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(oe,ie,le,ue){var de=[],pe=[],he=[],_e=[],$e,Ie,Ve,Fe;if(ue){Ve=[1/0,1/0],Fe=[-1/0,-1/0];for(var Ue=0,qe=oe.length;Ue<qe;Ue++)min$1(Ve,Ve,oe[Ue]),max$1(Fe,Fe,oe[Ue]);min$1(Ve,Ve,ue[0]),max$1(Fe,Fe,ue[1])}for(var Ue=0,qe=oe.length;Ue<qe;Ue++){var Et=oe[Ue];if(le)$e=oe[Ue?Ue-1:qe-1],Ie=oe[(Ue+1)%qe];else if(Ue===0||Ue===qe-1){de.push(clone$2(oe[Ue]));continue}else $e=oe[Ue-1],Ie=oe[Ue+1];sub(pe,Ie,$e),scale$2(pe,pe,ie);var At=distance(Et,$e),Lt=distance(Et,Ie),hn=At+Lt;hn!==0&&(At/=hn,Lt/=hn),scale$2(he,pe,-At),scale$2(_e,pe,Lt);var vn=add([],Et,he),_n=add([],Et,_e);ue&&(max$1(vn,vn,Ve),min$1(vn,vn,Fe),max$1(_n,_n,Ve),min$1(_n,_n,Fe)),de.push(vn),de.push(_n)}return le&&de.push(de.shift()),de}function buildPath(oe,ie,le){var ue=ie.smooth,de=ie.points;if(de&&de.length>=2){if(ue){var pe=smoothBezier(de,ue,le,ie.smoothConstraint);oe.moveTo(de[0][0],de[0][1]);for(var he=de.length,_e=0;_e<(le?he:he-1);_e++){var $e=pe[_e*2],Ie=pe[_e*2+1],Ve=de[(_e+1)%he];oe.bezierCurveTo($e[0],$e[1],Ie[0],Ie[1],Ve[0],Ve[1])}}else{oe.moveTo(de[0][0],de[0][1]);for(var _e=1,Fe=de.length;_e<Fe;_e++)oe.lineTo(de[_e][0],de[_e][1])}le&&oe.closePath()}}var PolygonShape=function(){function oe(){this.points=null,this.smooth=0,this.smoothConstraint=null}return oe}(),Polygon=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultShape=function(){return new PolygonShape},ie.prototype.buildPath=function(le,ue){buildPath(le,ue,!0)},ie}(Path$1);Polygon.prototype.type="polygon";const Polygon$1=Polygon;var PolylineShape=function(){function oe(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return oe}(),Polyline=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},ie.prototype.getDefaultShape=function(){return new PolylineShape},ie.prototype.buildPath=function(le,ue){buildPath(le,ue,!1)},ie}(Path$1);Polyline.prototype.type="polyline";const Polyline$1=Polyline;var subPixelOptimizeOutputShape={},LineShape=function(){function oe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return oe}(),Line=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},ie.prototype.getDefaultShape=function(){return new LineShape},ie.prototype.buildPath=function(le,ue){var de,pe,he,_e;if(this.subPixelOptimize){var $e=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,ue,this.style);de=$e.x1,pe=$e.y1,he=$e.x2,_e=$e.y2}else de=ue.x1,pe=ue.y1,he=ue.x2,_e=ue.y2;var Ie=ue.percent;Ie!==0&&(le.moveTo(de,pe),Ie<1&&(he=de*(1-Ie)+he*Ie,_e=pe*(1-Ie)+_e*Ie),le.lineTo(he,_e))},ie.prototype.pointAt=function(le){var ue=this.shape;return[ue.x1*(1-le)+ue.x2*le,ue.y1*(1-le)+ue.y2*le]},ie}(Path$1);Line.prototype.type="line";const Line$1=Line;var out=[],BezierCurveShape=function(){function oe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return oe}();function someVectorAt(oe,ie,le){var ue=oe.cpx2,de=oe.cpy2;return ue!=null||de!=null?[(le?cubicDerivativeAt:cubicAt)(oe.x1,oe.cpx1,oe.cpx2,oe.x2,ie),(le?cubicDerivativeAt:cubicAt)(oe.y1,oe.cpy1,oe.cpy2,oe.y2,ie)]:[(le?quadraticDerivativeAt:quadraticAt)(oe.x1,oe.cpx1,oe.x2,ie),(le?quadraticDerivativeAt:quadraticAt)(oe.y1,oe.cpy1,oe.y2,ie)]}var BezierCurve=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},ie.prototype.getDefaultShape=function(){return new BezierCurveShape},ie.prototype.buildPath=function(le,ue){var de=ue.x1,pe=ue.y1,he=ue.x2,_e=ue.y2,$e=ue.cpx1,Ie=ue.cpy1,Ve=ue.cpx2,Fe=ue.cpy2,Ue=ue.percent;Ue!==0&&(le.moveTo(de,pe),Ve==null||Fe==null?(Ue<1&&(quadraticSubdivide(de,$e,he,Ue,out),$e=out[1],he=out[2],quadraticSubdivide(pe,Ie,_e,Ue,out),Ie=out[1],_e=out[2]),le.quadraticCurveTo($e,Ie,he,_e)):(Ue<1&&(cubicSubdivide(de,$e,Ve,he,Ue,out),$e=out[1],Ve=out[2],he=out[3],cubicSubdivide(pe,Ie,Fe,_e,Ue,out),Ie=out[1],Fe=out[2],_e=out[3]),le.bezierCurveTo($e,Ie,Ve,Fe,he,_e)))},ie.prototype.pointAt=function(le){return someVectorAt(this.shape,le,!1)},ie.prototype.tangentAt=function(le){var ue=someVectorAt(this.shape,le,!0);return normalize$1(ue,ue)},ie}(Path$1);BezierCurve.prototype.type="bezier-curve";const BezierCurve$1=BezierCurve;var ArcShape=function(){function oe(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return oe}(),Arc=function(oe){__extends(ie,oe);function ie(le){return oe.call(this,le)||this}return ie.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},ie.prototype.getDefaultShape=function(){return new ArcShape},ie.prototype.buildPath=function(le,ue){var de=ue.cx,pe=ue.cy,he=Math.max(ue.r,0),_e=ue.startAngle,$e=ue.endAngle,Ie=ue.clockwise,Ve=Math.cos(_e),Fe=Math.sin(_e);le.moveTo(Ve*he+de,Fe*he+pe),le.arc(de,pe,he,_e,$e,!Ie)},ie}(Path$1);Arc.prototype.type="arc";const Arc$1=Arc;var CompoundPath=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="compound",le}return ie.prototype._updatePathDirty=function(){for(var le=this.shape.paths,ue=this.shapeChanged(),de=0;de<le.length;de++)ue=ue||le[de].shapeChanged();ue&&this.dirtyShape()},ie.prototype.beforeBrush=function(){this._updatePathDirty();for(var le=this.shape.paths||[],ue=this.getGlobalScale(),de=0;de<le.length;de++)le[de].path||le[de].createPathProxy(),le[de].path.setScale(ue[0],ue[1],le[de].segmentIgnoreThreshold)},ie.prototype.buildPath=function(le,ue){for(var de=ue.paths||[],pe=0;pe<de.length;pe++)de[pe].buildPath(le,de[pe].shape,!0)},ie.prototype.afterBrush=function(){for(var le=this.shape.paths||[],ue=0;ue<le.length;ue++)le[ue].pathUpdated()},ie.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Path$1.prototype.getBoundingRect.call(this)},ie}(Path$1);const CompoundPath$1=CompoundPath;var Gradient=function(){function oe(ie){this.colorStops=ie||[]}return oe.prototype.addColorStop=function(ie,le){this.colorStops.push({offset:ie,color:le})},oe}();const Gradient$1=Gradient;var LinearGradient=function(oe){__extends(ie,oe);function ie(le,ue,de,pe,he,_e){var $e=oe.call(this,he)||this;return $e.x=le??0,$e.y=ue??0,$e.x2=de??1,$e.y2=pe??0,$e.type="linear",$e.global=_e||!1,$e}return ie}(Gradient$1);const LinearGradient$1=LinearGradient;var RadialGradient=function(oe){__extends(ie,oe);function ie(le,ue,de,pe,he){var _e=oe.call(this,pe)||this;return _e.x=le??.5,_e.y=ue??.5,_e.r=de??.5,_e.type="radial",_e.global=he||!1,_e}return ie}(Gradient$1);const RadialGradient$1=RadialGradient;var extent=[0,0],extent2=[0,0],minTv=new Point$1,maxTv=new Point$1,OrientedBoundingRect=function(){function oe(ie,le){this._corners=[],this._axes=[],this._origin=[0,0];for(var ue=0;ue<4;ue++)this._corners[ue]=new Point$1;for(var ue=0;ue<2;ue++)this._axes[ue]=new Point$1;ie&&this.fromBoundingRect(ie,le)}return oe.prototype.fromBoundingRect=function(ie,le){var ue=this._corners,de=this._axes,pe=ie.x,he=ie.y,_e=pe+ie.width,$e=he+ie.height;if(ue[0].set(pe,he),ue[1].set(_e,he),ue[2].set(_e,$e),ue[3].set(pe,$e),le)for(var Ie=0;Ie<4;Ie++)ue[Ie].transform(le);Point$1.sub(de[0],ue[1],ue[0]),Point$1.sub(de[1],ue[3],ue[0]),de[0].normalize(),de[1].normalize();for(var Ie=0;Ie<2;Ie++)this._origin[Ie]=de[Ie].dot(ue[0])},oe.prototype.intersect=function(ie,le){var ue=!0,de=!le;return minTv.set(1/0,1/0),maxTv.set(0,0),!this._intersectCheckOneSide(this,ie,minTv,maxTv,de,1)&&(ue=!1,de)||!this._intersectCheckOneSide(ie,this,minTv,maxTv,de,-1)&&(ue=!1,de)||de||Point$1.copy(le,ue?minTv:maxTv),ue},oe.prototype._intersectCheckOneSide=function(ie,le,ue,de,pe,he){for(var _e=!0,$e=0;$e<2;$e++){var Ie=this._axes[$e];if(this._getProjMinMaxOnAxis($e,ie._corners,extent),this._getProjMinMaxOnAxis($e,le._corners,extent2),extent[1]<extent2[0]||extent[0]>extent2[1]){if(_e=!1,pe)return _e;var Ve=Math.abs(extent2[0]-extent[1]),Fe=Math.abs(extent[0]-extent2[1]);Math.min(Ve,Fe)>de.len()&&(Ve<Fe?Point$1.scale(de,Ie,-Ve*he):Point$1.scale(de,Ie,Fe*he))}else if(ue){var Ve=Math.abs(extent2[0]-extent[1]),Fe=Math.abs(extent[0]-extent2[1]);Math.min(Ve,Fe)<ue.len()&&(Ve<Fe?Point$1.scale(ue,Ie,Ve*he):Point$1.scale(ue,Ie,-Fe*he))}}return _e},oe.prototype._getProjMinMaxOnAxis=function(ie,le,ue){for(var de=this._axes[ie],pe=this._origin,he=le[0].dot(de)+pe[ie],_e=he,$e=he,Ie=1;Ie<le.length;Ie++){var Ve=le[Ie].dot(de)+pe[ie];_e=Math.min(Ve,_e),$e=Math.max(Ve,$e)}ue[0]=_e,ue[1]=$e},oe}();const OrientedBoundingRect$1=OrientedBoundingRect;var m$2=[],IncrementalDisplayable=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.notClear=!0,le.incremental=!0,le._displayables=[],le._temporaryDisplayables=[],le._cursor=0,le}return ie.prototype.traverse=function(le,ue){le.call(ue,this)},ie.prototype.useStyle=function(){this.style={}},ie.prototype.getCursor=function(){return this._cursor},ie.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},ie.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},ie.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},ie.prototype.addDisplayable=function(le,ue){ue?this._temporaryDisplayables.push(le):this._displayables.push(le),this.markRedraw()},ie.prototype.addDisplayables=function(le,ue){ue=ue||!1;for(var de=0;de<le.length;de++)this.addDisplayable(le[de],ue)},ie.prototype.getDisplayables=function(){return this._displayables},ie.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},ie.prototype.eachPendingDisplayable=function(le){for(var ue=this._cursor;ue<this._displayables.length;ue++)le&&le(this._displayables[ue]);for(var ue=0;ue<this._temporaryDisplayables.length;ue++)le&&le(this._temporaryDisplayables[ue])},ie.prototype.update=function(){this.updateTransform();for(var le=this._cursor;le<this._displayables.length;le++){var ue=this._displayables[le];ue.parent=this,ue.update(),ue.parent=null}for(var le=0;le<this._temporaryDisplayables.length;le++){var ue=this._temporaryDisplayables[le];ue.parent=this,ue.update(),ue.parent=null}},ie.prototype.getBoundingRect=function(){if(!this._rect){for(var le=new BoundingRect$1(1/0,1/0,-1/0,-1/0),ue=0;ue<this._displayables.length;ue++){var de=this._displayables[ue],pe=de.getBoundingRect().clone();de.needLocalTransform()&&pe.applyTransform(de.getLocalTransform(m$2)),le.union(pe)}this._rect=le}return this._rect},ie.prototype.contain=function(le,ue){var de=this.transformCoordToLocal(le,ue),pe=this.getBoundingRect();if(pe.contain(de[0],de[1]))for(var he=0;he<this._displayables.length;he++){var _e=this._displayables[he];if(_e.contain(le,ue))return!0}return!1},ie}(Displayable$1);const IncrementalDisplayable$1=IncrementalDisplayable;var transitionStore=makeInner();function getAnimationConfig(oe,ie,le,ue,de){var pe;if(ie&&ie.ecModel){var he=ie.ecModel.getUpdatePayload();pe=he&&he.animation}var _e=ie&&ie.isAnimationEnabled(),$e=oe==="update";if(_e){var Ie=void 0,Ve=void 0,Fe=void 0;ue?(Ie=retrieve2(ue.duration,200),Ve=retrieve2(ue.easing,"cubicOut"),Fe=0):(Ie=ie.getShallow($e?"animationDurationUpdate":"animationDuration"),Ve=ie.getShallow($e?"animationEasingUpdate":"animationEasing"),Fe=ie.getShallow($e?"animationDelayUpdate":"animationDelay")),pe&&(pe.duration!=null&&(Ie=pe.duration),pe.easing!=null&&(Ve=pe.easing),pe.delay!=null&&(Fe=pe.delay)),isFunction(Fe)&&(Fe=Fe(le,de)),isFunction(Ie)&&(Ie=Ie(le));var Ue={duration:Ie||0,delay:Fe,easing:Ve};return Ue}else return null}function animateOrSetProps(oe,ie,le,ue,de,pe,he){var _e=!1,$e;isFunction(de)?(he=pe,pe=de,de=null):isObject$3(de)&&(pe=de.cb,he=de.during,_e=de.isFrom,$e=de.removeOpt,de=de.dataIndex);var Ie=oe==="leave";Ie||ie.stopAnimation("leave");var Ve=getAnimationConfig(oe,ue,de,Ie?$e||{}:null,ue&&ue.getAnimationDelayParams?ue.getAnimationDelayParams(ie,de):null);if(Ve&&Ve.duration>0){var Fe=Ve.duration,Ue=Ve.delay,qe=Ve.easing,Et={duration:Fe,delay:Ue||0,easing:qe,done:pe,force:!!pe||!!he,setToFinal:!Ie,scope:oe,during:he};_e?ie.animateFrom(le,Et):ie.animateTo(le,Et)}else ie.stopAnimation(),!_e&&ie.attr(le),he&&he(1),pe&&pe()}function updateProps$1(oe,ie,le,ue,de,pe){animateOrSetProps("update",oe,ie,le,ue,de,pe)}function initProps(oe,ie,le,ue,de,pe){animateOrSetProps("enter",oe,ie,le,ue,de,pe)}function isElementRemoved(oe){if(!oe.__zr)return!0;for(var ie=0;ie<oe.animators.length;ie++){var le=oe.animators[ie];if(le.scope==="leave")return!0}return!1}function removeElement(oe,ie,le,ue,de,pe){isElementRemoved(oe)||animateOrSetProps("leave",oe,ie,le,ue,de,pe)}function fadeOutDisplayable(oe,ie,le,ue){oe.removeTextContent(),oe.removeTextGuideLine(),removeElement(oe,{style:{opacity:0}},ie,le,ue)}function removeElementWithFadeOut(oe,ie,le){function ue(){oe.parent&&oe.parent.remove(oe)}oe.isGroup?oe.traverse(function(de){de.isGroup||fadeOutDisplayable(de,ie,le,ue)}):fadeOutDisplayable(oe,ie,le,ue)}function saveOldStyle(oe){transitionStore(oe).oldStyle=oe.style}var mathMax$4=Math.max,mathMin$4=Math.min,_customShapeMap={};function extendShape(oe){return Path$1.extend(oe)}var extendPathFromString=extendFromString;function extendPath(oe,ie){return extendPathFromString(oe,ie)}function registerShape(oe,ie){_customShapeMap[oe]=ie}function getShapeClass(oe){if(_customShapeMap.hasOwnProperty(oe))return _customShapeMap[oe]}function makePath(oe,ie,le,ue){var de=createFromString(oe,ie);return le&&(ue==="center"&&(le=centerGraphic(le,de.getBoundingRect())),resizePath(de,le)),de}function makeImage(oe,ie,le){var ue=new ZRImage$1({style:{image:oe,x:ie.x,y:ie.y,width:ie.width,height:ie.height},onload:function(de){if(le==="center"){var pe={width:de.width,height:de.height};ue.setStyle(centerGraphic(ie,pe))}}});return ue}function centerGraphic(oe,ie){var le=ie.width/ie.height,ue=oe.height*le,de;ue<=oe.width?de=oe.height:(ue=oe.width,de=ue/le);var pe=oe.x+oe.width/2,he=oe.y+oe.height/2;return{x:pe-ue/2,y:he-de/2,width:ue,height:de}}var mergePath=mergePath$1;function resizePath(oe,ie){if(oe.applyTransform){var le=oe.getBoundingRect(),ue=le.calculateTransform(ie);oe.applyTransform(ue)}}function subPixelOptimizeLine(oe,ie){return subPixelOptimizeLine$1(oe,oe,{lineWidth:ie}),oe}function subPixelOptimizeRect(oe){return subPixelOptimizeRect$1(oe.shape,oe.shape,oe.style),oe}var subPixelOptimize=subPixelOptimize$1;function getTransform$1(oe,ie){for(var le=identity([]);oe&&oe!==ie;)mul(le,oe.getLocalTransform(),le),oe=oe.parent;return le}function applyTransform(oe,ie,le){return ie&&!isArrayLike(ie)&&(ie=Transformable$1.getLocalTransform(ie)),le&&(ie=invert([],ie)),applyTransform$1([],oe,ie)}function transformDirection(oe,ie,le){var ue=ie[4]===0||ie[5]===0||ie[0]===0?1:Math.abs(2*ie[4]/ie[0]),de=ie[4]===0||ie[5]===0||ie[2]===0?1:Math.abs(2*ie[4]/ie[2]),pe=[oe==="left"?-ue:oe==="right"?ue:0,oe==="top"?-de:oe==="bottom"?de:0];return pe=applyTransform(pe,ie,le),Math.abs(pe[0])>Math.abs(pe[1])?pe[0]>0?"right":"left":pe[1]>0?"bottom":"top"}function isNotGroup(oe){return!oe.isGroup}function isPath(oe){return oe.shape!=null}function groupTransition(oe,ie,le){if(!oe||!ie)return;function ue(he){var _e={};return he.traverse(function($e){isNotGroup($e)&&$e.anid&&(_e[$e.anid]=$e)}),_e}function de(he){var _e={x:he.x,y:he.y,rotation:he.rotation};return isPath(he)&&(_e.shape=extend({},he.shape)),_e}var pe=ue(oe);ie.traverse(function(he){if(isNotGroup(he)&&he.anid){var _e=pe[he.anid];if(_e){var $e=de(he);he.attr(de(_e)),updateProps$1(he,$e,le,getECData(he).dataIndex)}}})}function clipPointsByRect(oe,ie){return map$2(oe,function(le){var ue=le[0];ue=mathMax$4(ue,ie.x),ue=mathMin$4(ue,ie.x+ie.width);var de=le[1];return de=mathMax$4(de,ie.y),de=mathMin$4(de,ie.y+ie.height),[ue,de]})}function clipRectByRect(oe,ie){var le=mathMax$4(oe.x,ie.x),ue=mathMin$4(oe.x+oe.width,ie.x+ie.width),de=mathMax$4(oe.y,ie.y),pe=mathMin$4(oe.y+oe.height,ie.y+ie.height);if(ue>=le&&pe>=de)return{x:le,y:de,width:ue-le,height:pe-de}}function createIcon(oe,ie,le){var ue=extend({rectHover:!0},ie),de=ue.style={strokeNoScale:!0};if(le=le||{x:-1,y:-1,width:2,height:2},oe)return oe.indexOf("image://")===0?(de.image=oe.slice(8),defaults(de,le),new ZRImage$1(ue)):makePath(oe.replace("path://",""),ue,le,"center")}function linePolygonIntersect(oe,ie,le,ue,de){for(var pe=0,he=de[de.length-1];pe<de.length;pe++){var _e=de[pe];if(lineLineIntersect(oe,ie,le,ue,_e[0],_e[1],he[0],he[1]))return!0;he=_e}}function lineLineIntersect(oe,ie,le,ue,de,pe,he,_e){var $e=le-oe,Ie=ue-ie,Ve=he-de,Fe=_e-pe,Ue=crossProduct2d(Ve,Fe,$e,Ie);if(nearZero(Ue))return!1;var qe=oe-de,Et=ie-pe,At=crossProduct2d(qe,Et,$e,Ie)/Ue;if(At<0||At>1)return!1;var Lt=crossProduct2d(qe,Et,Ve,Fe)/Ue;return!(Lt<0||Lt>1)}function crossProduct2d(oe,ie,le,ue){return oe*ue-le*ie}function nearZero(oe){return oe<=1e-6&&oe>=-1e-6}function setTooltipConfig(oe){var ie=oe.itemTooltipOption,le=oe.componentModel,ue=oe.itemName,de=isString(ie)?{formatter:ie}:ie,pe=le.mainType,he=le.componentIndex,_e={componentType:pe,name:ue,$vars:["name"]};_e[pe+"Index"]=he;var $e=oe.formatterParamsExtra;$e&&each$c(keys($e),function(Ve){hasOwn(_e,Ve)||(_e[Ve]=$e[Ve],_e.$vars.push(Ve))});var Ie=getECData(oe.el);Ie.componentMainType=pe,Ie.componentIndex=he,Ie.tooltipConfig={name:ue,option:defaults({content:ue,formatterParams:_e},de)}}function traverseElement(oe,ie){var le;oe.isGroup&&(le=ie(oe)),le||oe.traverse(ie)}function traverseElements(oe,ie){if(oe)if(isArray$1(oe))for(var le=0;le<oe.length;le++)traverseElement(oe[le],ie);else traverseElement(oe,ie)}registerShape("circle",Circle$1);registerShape("ellipse",Ellipse$1);registerShape("sector",Sector$1);registerShape("ring",Ring$1);registerShape("polygon",Polygon$1);registerShape("polyline",Polyline$1);registerShape("rect",Rect$2);registerShape("line",Line$1);registerShape("bezierCurve",BezierCurve$1);registerShape("arc",Arc$1);const graphic$1=Object.freeze(Object.defineProperty({__proto__:null,Arc:Arc$1,BezierCurve:BezierCurve$1,BoundingRect:BoundingRect$1,Circle:Circle$1,CompoundPath:CompoundPath$1,Ellipse:Ellipse$1,Group:Group$3,Image:ZRImage$1,IncrementalDisplayable:IncrementalDisplayable$1,Line:Line$1,LinearGradient:LinearGradient$1,OrientedBoundingRect:OrientedBoundingRect$1,Path:Path$1,Point:Point$1,Polygon:Polygon$1,Polyline:Polyline$1,RadialGradient:RadialGradient$1,Rect:Rect$2,Ring:Ring$1,Sector:Sector$1,Text:ZRText$1,applyTransform,clipPointsByRect,clipRectByRect,createIcon,extendPath,extendShape,getShapeClass,getTransform:getTransform$1,groupTransition,initProps,isElementRemoved,lineLineIntersect,linePolygonIntersect,makeImage,makePath,mergePath,registerShape,removeElement,removeElementWithFadeOut,resizePath,setTooltipConfig,subPixelOptimize,subPixelOptimizeLine,subPixelOptimizeRect,transformDirection,traverseElements,updateProps:updateProps$1},Symbol.toStringTag,{value:"Module"}));var EMPTY_OBJ={};function setLabelText(oe,ie){for(var le=0;le<SPECIAL_STATES.length;le++){var ue=SPECIAL_STATES[le],de=ie[ue],pe=oe.ensureState(ue);pe.style=pe.style||{},pe.style.text=de}var he=oe.currentStates.slice();oe.clearStates(!0),oe.setStyle({text:ie.normal}),oe.useStates(he,!0)}function getLabelText(oe,ie,le){var ue=oe.labelFetcher,de=oe.labelDataIndex,pe=oe.labelDimIndex,he=ie.normal,_e;ue&&(_e=ue.getFormattedLabel(de,"normal",null,pe,he&&he.get("formatter"),le!=null?{interpolatedValue:le}:null)),_e==null&&(_e=isFunction(oe.defaultText)?oe.defaultText(de,oe,le):oe.defaultText);for(var $e={normal:_e},Ie=0;Ie<SPECIAL_STATES.length;Ie++){var Ve=SPECIAL_STATES[Ie],Fe=ie[Ve];$e[Ve]=retrieve2(ue?ue.getFormattedLabel(de,Ve,null,pe,Fe&&Fe.get("formatter")):null,_e)}return $e}function setLabelStyle(oe,ie,le,ue){le=le||EMPTY_OBJ;for(var de=oe instanceof ZRText$1,pe=!1,he=0;he<DISPLAY_STATES.length;he++){var _e=ie[DISPLAY_STATES[he]];if(_e&&_e.getShallow("show")){pe=!0;break}}var $e=de?oe:oe.getTextContent();if(pe){de||($e||($e=new ZRText$1,oe.setTextContent($e)),oe.stateProxy&&($e.stateProxy=oe.stateProxy));var Ie=getLabelText(le,ie),Ve=ie.normal,Fe=!!Ve.getShallow("show"),Ue=createTextStyle$1(Ve,ue&&ue.normal,le,!1,!de);Ue.text=Ie.normal,de||oe.setTextConfig(createTextConfig(Ve,le,!1));for(var he=0;he<SPECIAL_STATES.length;he++){var qe=SPECIAL_STATES[he],_e=ie[qe];if(_e){var Et=$e.ensureState(qe),At=!!retrieve2(_e.getShallow("show"),Fe);if(At!==Fe&&(Et.ignore=!At),Et.style=createTextStyle$1(_e,ue&&ue[qe],le,!0,!de),Et.style.text=Ie[qe],!de){var Lt=oe.ensureState(qe);Lt.textConfig=createTextConfig(_e,le,!0)}}}$e.silent=!!Ve.getShallow("silent"),$e.style.x!=null&&(Ue.x=$e.style.x),$e.style.y!=null&&(Ue.y=$e.style.y),$e.ignore=!Fe,$e.useStyle(Ue),$e.dirty(),le.enableTextSetter&&(labelInner($e).setLabelText=function(hn){var vn=getLabelText(le,ie,hn);setLabelText($e,vn)})}else $e&&($e.ignore=!0);oe.dirty()}function getLabelStatesModels(oe,ie){ie=ie||"label";for(var le={normal:oe.getModel(ie)},ue=0;ue<SPECIAL_STATES.length;ue++){var de=SPECIAL_STATES[ue];le[de]=oe.getModel([de,ie])}return le}function createTextStyle$1(oe,ie,le,ue,de){var pe={};return setTextStyleCommon(pe,oe,le,ue,de),ie&&extend(pe,ie),pe}function createTextConfig(oe,ie,le){ie=ie||{};var ue={},de,pe=oe.getShallow("rotate"),he=retrieve2(oe.getShallow("distance"),le?null:5),_e=oe.getShallow("offset");return de=oe.getShallow("position")||(le?null:"inside"),de==="outside"&&(de=ie.defaultOutsidePosition||"top"),de!=null&&(ue.position=de),_e!=null&&(ue.offset=_e),pe!=null&&(pe*=Math.PI/180,ue.rotation=pe),he!=null&&(ue.distance=he),ue.outsideFill=oe.get("color")==="inherit"?ie.inheritColor||null:"auto",ue}function setTextStyleCommon(oe,ie,le,ue,de){le=le||EMPTY_OBJ;var pe=ie.ecModel,he=pe&&pe.option.textStyle,_e=getRichItemNames(ie),$e;if(_e){$e={};for(var Ie in _e)if(_e.hasOwnProperty(Ie)){var Ve=ie.getModel(["rich",Ie]);setTokenTextStyle($e[Ie]={},Ve,he,le,ue,de,!1,!0)}}$e&&(oe.rich=$e);var Fe=ie.get("overflow");Fe&&(oe.overflow=Fe);var Ue=ie.get("minMargin");Ue!=null&&(oe.margin=Ue),setTokenTextStyle(oe,ie,he,le,ue,de,!0,!1)}function getRichItemNames(oe){for(var ie;oe&&oe!==oe.ecModel;){var le=(oe.option||EMPTY_OBJ).rich;if(le){ie=ie||{};for(var ue=keys(le),de=0;de<ue.length;de++){var pe=ue[de];ie[pe]=1}}oe=oe.parentModel}return ie}var TEXT_PROPS_WITH_GLOBAL=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],TEXT_PROPS_SELF=["align","lineHeight","width","height","tag","verticalAlign"],TEXT_PROPS_BOX=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function setTokenTextStyle(oe,ie,le,ue,de,pe,he,_e){le=!de&&le||EMPTY_OBJ;var $e=ue&&ue.inheritColor,Ie=ie.getShallow("color"),Ve=ie.getShallow("textBorderColor"),Fe=retrieve2(ie.getShallow("opacity"),le.opacity);(Ie==="inherit"||Ie==="auto")&&($e?Ie=$e:Ie=null),(Ve==="inherit"||Ve==="auto")&&($e?Ve=$e:Ve=null),pe||(Ie=Ie||le.color,Ve=Ve||le.textBorderColor),Ie!=null&&(oe.fill=Ie),Ve!=null&&(oe.stroke=Ve);var Ue=retrieve2(ie.getShallow("textBorderWidth"),le.textBorderWidth);Ue!=null&&(oe.lineWidth=Ue);var qe=retrieve2(ie.getShallow("textBorderType"),le.textBorderType);qe!=null&&(oe.lineDash=qe);var Et=retrieve2(ie.getShallow("textBorderDashOffset"),le.textBorderDashOffset);Et!=null&&(oe.lineDashOffset=Et),!de&&Fe==null&&!_e&&(Fe=ue&&ue.defaultOpacity),Fe!=null&&(oe.opacity=Fe),!de&&!pe&&oe.fill==null&&ue.inheritColor&&(oe.fill=ue.inheritColor);for(var At=0;At<TEXT_PROPS_WITH_GLOBAL.length;At++){var Lt=TEXT_PROPS_WITH_GLOBAL[At],hn=retrieve2(ie.getShallow(Lt),le[Lt]);hn!=null&&(oe[Lt]=hn)}for(var At=0;At<TEXT_PROPS_SELF.length;At++){var Lt=TEXT_PROPS_SELF[At],hn=ie.getShallow(Lt);hn!=null&&(oe[Lt]=hn)}if(oe.verticalAlign==null){var vn=ie.getShallow("baseline");vn!=null&&(oe.verticalAlign=vn)}if(!he||!ue.disableBox){for(var At=0;At<TEXT_PROPS_BOX.length;At++){var Lt=TEXT_PROPS_BOX[At],hn=ie.getShallow(Lt);hn!=null&&(oe[Lt]=hn)}var _n=ie.getShallow("borderType");_n!=null&&(oe.borderDash=_n),(oe.backgroundColor==="auto"||oe.backgroundColor==="inherit")&&$e&&(oe.backgroundColor=$e),(oe.borderColor==="auto"||oe.borderColor==="inherit")&&$e&&(oe.borderColor=$e)}}function getFont(oe,ie){var le=ie&&ie.getModel("textStyle");return trim$1([oe.fontStyle||le&&le.getShallow("fontStyle")||"",oe.fontWeight||le&&le.getShallow("fontWeight")||"",(oe.fontSize||le&&le.getShallow("fontSize")||12)+"px",oe.fontFamily||le&&le.getShallow("fontFamily")||"sans-serif"].join(" "))}var labelInner=makeInner();function setLabelValueAnimation(oe,ie,le,ue){if(oe){var de=labelInner(oe);de.prevValue=de.value,de.value=le;var pe=ie.normal;de.valueAnimation=pe.get("valueAnimation"),de.valueAnimation&&(de.precision=pe.get("precision"),de.defaultInterpolatedText=ue,de.statesModels=ie)}}var PATH_COLOR=["textStyle","color"],textStyleParams=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],tmpText=new ZRText$1,TextStyleMixin=function(){function oe(){}return oe.prototype.getTextColor=function(ie){var le=this.ecModel;return this.getShallow("color")||(!ie&&le?le.get(PATH_COLOR):null)},oe.prototype.getFont=function(){return getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},oe.prototype.getTextRect=function(ie){for(var le={text:ie,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},ue=0;ue<textStyleParams.length;ue++)le[textStyleParams[ue]]=this.getShallow(textStyleParams[ue]);return tmpText.useStyle(le),tmpText.update(),tmpText.getBoundingRect()},oe}();const TextStyleMixin$1=TextStyleMixin;var LINE_STYLE_KEY_MAP=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],getLineStyle=makeStyleMapper(LINE_STYLE_KEY_MAP),LineStyleMixin=function(){function oe(){}return oe.prototype.getLineStyle=function(ie){return getLineStyle(this,ie)},oe}(),ITEM_STYLE_KEY_MAP=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],getItemStyle=makeStyleMapper(ITEM_STYLE_KEY_MAP),ItemStyleMixin=function(){function oe(){}return oe.prototype.getItemStyle=function(ie,le){return getItemStyle(this,ie,le)},oe}(),Model=function(){function oe(ie,le,ue){this.parentModel=le,this.ecModel=ue,this.option=ie}return oe.prototype.init=function(ie,le,ue){},oe.prototype.mergeOption=function(ie,le){merge(this.option,ie,!0)},oe.prototype.get=function(ie,le){return ie==null?this.option:this._doGet(this.parsePath(ie),!le&&this.parentModel)},oe.prototype.getShallow=function(ie,le){var ue=this.option,de=ue==null?ue:ue[ie];if(de==null&&!le){var pe=this.parentModel;pe&&(de=pe.getShallow(ie))}return de},oe.prototype.getModel=function(ie,le){var ue=ie!=null,de=ue?this.parsePath(ie):null,pe=ue?this._doGet(de):this.option;return le=le||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(de)),new oe(pe,le,this.ecModel)},oe.prototype.isEmpty=function(){return this.option==null},oe.prototype.restoreData=function(){},oe.prototype.clone=function(){var ie=this.constructor;return new ie(clone$3(this.option))},oe.prototype.parsePath=function(ie){return typeof ie=="string"?ie.split("."):ie},oe.prototype.resolveParentPath=function(ie){return ie},oe.prototype.isAnimationEnabled=function(){if(!env$1.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},oe.prototype._doGet=function(ie,le){var ue=this.option;if(!ie)return ue;for(var de=0;de<ie.length&&!(ie[de]&&(ue=ue&&typeof ue=="object"?ue[ie[de]]:null,ue==null));de++);return ue==null&&le&&(ue=le._doGet(this.resolveParentPath(ie),le.parentModel)),ue},oe}();enableClassExtend(Model);enableClassCheck(Model);mixin(Model,LineStyleMixin);mixin(Model,ItemStyleMixin);mixin(Model,AreaStyleMixin);mixin(Model,TextStyleMixin$1);const Model$1=Model;var base=Math.round(Math.random()*10);function getUID(oe){return[oe||"",base++].join("_")}function enableSubTypeDefaulter(oe){var ie={};oe.registerSubTypeDefaulter=function(le,ue){var de=parseClassType(le);ie[de.main]=ue},oe.determineSubType=function(le,ue){var de=ue.type;if(!de){var pe=parseClassType(le).main;oe.hasSubTypes(le)&&ie[pe]&&(de=ie[pe](ue))}return de}}function enableTopologicalTravel(oe,ie){oe.topologicalTravel=function(pe,he,_e,$e){if(!pe.length)return;var Ie=le(he),Ve=Ie.graph,Fe=Ie.noEntryList,Ue={};for(each$c(pe,function(vn){Ue[vn]=!0});Fe.length;){var qe=Fe.pop(),Et=Ve[qe],At=!!Ue[qe];At&&(_e.call($e,qe,Et.originalDeps.slice()),delete Ue[qe]),each$c(Et.successor,At?hn:Lt)}each$c(Ue,function(){var vn="";throw new Error(vn)});function Lt(vn){Ve[vn].entryCount--,Ve[vn].entryCount===0&&Fe.push(vn)}function hn(vn){Ue[vn]=!0,Lt(vn)}};function le(pe){var he={},_e=[];return each$c(pe,function($e){var Ie=ue(he,$e),Ve=Ie.originalDeps=ie($e),Fe=de(Ve,pe);Ie.entryCount=Fe.length,Ie.entryCount===0&&_e.push($e),each$c(Fe,function(Ue){indexOf(Ie.predecessor,Ue)<0&&Ie.predecessor.push(Ue);var qe=ue(he,Ue);indexOf(qe.successor,Ue)<0&&qe.successor.push($e)})}),{graph:he,noEntryList:_e}}function ue(pe,he){return pe[he]||(pe[he]={predecessor:[],successor:[]}),pe[he]}function de(pe,he){var _e=[];return each$c(pe,function($e){indexOf(he,$e)>=0&&_e.push($e)}),_e}}function inheritDefaultOption(oe,ie){return merge(merge({},oe,!0),ie,!0)}const langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}};var LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env$1.domSupported?function(){var oe=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return oe.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(oe,ie){oe=oe.toUpperCase(),localeModels[oe]=new Model$1(ie),localeStorage[oe]=ie}function createLocaleObject(oe){if(isString(oe)){var ie=localeStorage[oe.toUpperCase()]||{};return oe===LOCALE_ZH||oe===LOCALE_EN?clone$3(ie):merge(clone$3(ie),clone$3(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$3(oe),clone$3(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(oe){return localeModels[oe]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(oe,ie){return oe+="","0000".substr(0,ie-oe.length)+oe}function getPrimaryTimeUnit(oe){switch(oe){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return oe}}function isPrimaryTimeUnit(oe){return oe===getPrimaryTimeUnit(oe)}function getDefaultFormatPrecisionOfInterval(oe){switch(oe){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format$1(oe,ie,le,ue){var de=parseDate(oe),pe=de[fullYearGetterName(le)](),he=de[monthGetterName(le)]()+1,_e=Math.floor((he-1)/3)+1,$e=de[dateGetterName(le)](),Ie=de["get"+(le?"UTC":"")+"Day"](),Ve=de[hoursGetterName(le)](),Fe=(Ve-1)%12+1,Ue=de[minutesGetterName(le)](),qe=de[secondsGetterName(le)](),Et=de[millisecondsGetterName(le)](),At=ue instanceof Model$1?ue:getLocaleModel(ue||SYSTEM_LANG)||getDefaultLocaleModel(),Lt=At.getModel("time"),hn=Lt.get("month"),vn=Lt.get("monthAbbr"),_n=Lt.get("dayOfWeek"),bn=Lt.get("dayOfWeekAbbr");return(ie||"").replace(/{yyyy}/g,pe+"").replace(/{yy}/g,pe%100+"").replace(/{Q}/g,_e+"").replace(/{MMMM}/g,hn[he-1]).replace(/{MMM}/g,vn[he-1]).replace(/{MM}/g,pad(he,2)).replace(/{M}/g,he+"").replace(/{dd}/g,pad($e,2)).replace(/{d}/g,$e+"").replace(/{eeee}/g,_n[Ie]).replace(/{ee}/g,bn[Ie]).replace(/{e}/g,Ie+"").replace(/{HH}/g,pad(Ve,2)).replace(/{H}/g,Ve+"").replace(/{hh}/g,pad(Fe+"",2)).replace(/{h}/g,Fe+"").replace(/{mm}/g,pad(Ue,2)).replace(/{m}/g,Ue+"").replace(/{ss}/g,pad(qe,2)).replace(/{s}/g,qe+"").replace(/{SSS}/g,pad(Et,3)).replace(/{S}/g,Et+"")}function leveledFormat(oe,ie,le,ue,de){var pe=null;if(isString(le))pe=le;else if(isFunction(le))pe=le(oe.value,ie,{level:oe.level});else{var he=extend({},defaultLeveledFormatter);if(oe.level>0)for(var _e=0;_e<primaryTimeUnits.length;++_e)he[primaryTimeUnits[_e]]="{primary|"+he[primaryTimeUnits[_e]]+"}";var $e=le?le.inherit===!1?le:defaults(le,he):he,Ie=getUnitFromValue(oe.value,de);if($e[Ie])pe=$e[Ie];else if($e.inherit){for(var Ve=timeUnits.indexOf(Ie),_e=Ve-1;_e>=0;--_e)if($e[Ie]){pe=$e[Ie];break}pe=pe||he.none}if(isArray$1(pe)){var Fe=oe.level==null?0:oe.level>=0?oe.level:pe.length+oe.level;Fe=Math.min(Fe,pe.length-1),pe=pe[Fe]}}return format$1(new Date(oe.value),pe,de,ue)}function getUnitFromValue(oe,ie){var le=parseDate(oe),ue=le[monthGetterName(ie)]()+1,de=le[dateGetterName(ie)](),pe=le[hoursGetterName(ie)](),he=le[minutesGetterName(ie)](),_e=le[secondsGetterName(ie)](),$e=le[millisecondsGetterName(ie)](),Ie=$e===0,Ve=Ie&&_e===0,Fe=Ve&&he===0,Ue=Fe&&pe===0,qe=Ue&&de===1,Et=qe&&ue===1;return Et?"year":qe?"month":Ue?"day":Fe?"hour":Ve?"minute":Ie?"second":"millisecond"}function getUnitValue(oe,ie,le){var ue=isNumber(oe)?parseDate(oe):oe;switch(ie=ie||getUnitFromValue(oe,le),ie){case"year":return ue[fullYearGetterName(le)]();case"half-year":return ue[monthGetterName(le)]()>=6?1:0;case"quarter":return Math.floor((ue[monthGetterName(le)]()+1)/4);case"month":return ue[monthGetterName(le)]();case"day":return ue[dateGetterName(le)]();case"half-day":return ue[hoursGetterName(le)]()/24;case"hour":return ue[hoursGetterName(le)]();case"minute":return ue[minutesGetterName(le)]();case"second":return ue[secondsGetterName(le)]();case"millisecond":return ue[millisecondsGetterName(le)]()}}function fullYearGetterName(oe){return oe?"getUTCFullYear":"getFullYear"}function monthGetterName(oe){return oe?"getUTCMonth":"getMonth"}function dateGetterName(oe){return oe?"getUTCDate":"getDate"}function hoursGetterName(oe){return oe?"getUTCHours":"getHours"}function minutesGetterName(oe){return oe?"getUTCMinutes":"getMinutes"}function secondsGetterName(oe){return oe?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(oe){return oe?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(oe){return oe?"setUTCFullYear":"setFullYear"}function monthSetterName(oe){return oe?"setUTCMonth":"setMonth"}function dateSetterName(oe){return oe?"setUTCDate":"setDate"}function hoursSetterName(oe){return oe?"setUTCHours":"setHours"}function minutesSetterName(oe){return oe?"setUTCMinutes":"setMinutes"}function secondsSetterName(oe){return oe?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(oe){return oe?"setUTCMilliseconds":"setMilliseconds"}function getTextRect(oe,ie,le,ue,de,pe,he,_e){var $e=new ZRText$1({style:{text:oe,font:ie,align:le,verticalAlign:ue,padding:de,rich:pe,overflow:he?"truncate":null,lineHeight:_e}});return $e.getBoundingRect()}function addCommas(oe){if(!isNumeric(oe))return isString(oe)?oe:"-";var ie=(oe+"").split(".");return ie[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(ie.length>1?"."+ie[1]:"")}function toCamelCase(oe,ie){return oe=(oe||"").toLowerCase().replace(/-(.)/g,function(le,ue){return ue.toUpperCase()}),ie&&oe&&(oe=oe.charAt(0).toUpperCase()+oe.slice(1)),oe}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(oe,ie,le){var ue="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function de(Ve){return Ve&&trim$1(Ve)?Ve:"-"}function pe(Ve){return!!(Ve!=null&&!isNaN(Ve)&&isFinite(Ve))}var he=ie==="time",_e=oe instanceof Date;if(he||_e){var $e=he?parseDate(oe):oe;if(isNaN(+$e)){if(_e)return"-"}else return format$1($e,ue,le)}if(ie==="ordinal")return isStringSafe(oe)?de(oe):isNumber(oe)&&pe(oe)?oe+"":"-";var Ie=numericToNumber(oe);return pe(Ie)?addCommas(Ie):isStringSafe(oe)?de(oe):typeof oe=="boolean"?oe+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(oe,ie){return"{"+oe+(ie??"")+"}"};function formatTpl(oe,ie,le){isArray$1(ie)||(ie=[ie]);var ue=ie.length;if(!ue)return"";for(var de=ie[0].$vars||[],pe=0;pe<de.length;pe++){var he=TPL_VAR_ALIAS[pe];oe=oe.replace(wrapVar(he),wrapVar(he,0))}for(var _e=0;_e<ue;_e++)for(var $e=0;$e<de.length;$e++){var Ie=ie[_e][de[$e]];oe=oe.replace(wrapVar(TPL_VAR_ALIAS[$e],_e),le?encodeHTML(Ie):Ie)}return oe}function getTooltipMarker(oe,ie){var le=isString(oe)?{color:oe,extraCssText:ie}:oe||{},ue=le.color,de=le.type;ie=le.extraCssText;var pe=le.renderMode||"html";if(!ue)return"";if(pe==="html")return de==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+encodeHTML(ue)+";"+(ie||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(ue)+";"+(ie||"")+'"></span>';var he=le.markerId||"markerX";return{renderMode:pe,content:"{"+he+"|} ",style:de==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:ue}:{width:10,height:10,borderRadius:5,backgroundColor:ue}}}function formatTime(oe,ie,le){(oe==="week"||oe==="month"||oe==="quarter"||oe==="half-year"||oe==="year")&&(oe=`MM-dd
yyyy`);var ue=parseDate(ie),de=le?"getUTC":"get",pe=ue[de+"FullYear"](),he=ue[de+"Month"]()+1,_e=ue[de+"Date"](),$e=ue[de+"Hours"](),Ie=ue[de+"Minutes"](),Ve=ue[de+"Seconds"](),Fe=ue[de+"Milliseconds"]();return oe=oe.replace("MM",pad(he,2)).replace("M",he).replace("yyyy",pe).replace("yy",pad(pe%100+"",2)).replace("dd",pad(_e,2)).replace("d",_e).replace("hh",pad($e,2)).replace("h",$e).replace("mm",pad(Ie,2)).replace("m",Ie).replace("ss",pad(Ve,2)).replace("s",Ve).replace("SSS",pad(Fe,3)),oe}function capitalFirst(oe){return oe&&oe.charAt(0).toUpperCase()+oe.substr(1)}function convertToColorString(oe,ie){return ie=ie||"transparent",isString(oe)?oe:isObject$3(oe)&&oe.colorStops&&(oe.colorStops[0]||{}).color||ie}function windowOpen(oe,ie){if(ie==="_blank"||ie==="blank"){var le=window.open();le.opener=null,le.location.href=oe}else window.open(oe,ie)}var each$b=each$c,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(oe,ie,le,ue,de){var pe=0,he=0;ue==null&&(ue=1/0),de==null&&(de=1/0);var _e=0;ie.eachChild(function($e,Ie){var Ve=$e.getBoundingRect(),Fe=ie.childAt(Ie+1),Ue=Fe&&Fe.getBoundingRect(),qe,Et;if(oe==="horizontal"){var At=Ve.width+(Ue?-Ue.x+Ve.x:0);qe=pe+At,qe>ue||$e.newline?(pe=0,qe=At,he+=_e+le,_e=Ve.height):_e=Math.max(_e,Ve.height)}else{var Lt=Ve.height+(Ue?-Ue.y+Ve.y:0);Et=he+Lt,Et>de||$e.newline?(pe+=_e+le,he=0,Et=Lt,_e=Ve.width):_e=Math.max(_e,Ve.width)}$e.newline||($e.x=pe,$e.y=he,$e.markRedraw(),oe==="horizontal"?pe=qe+le:he=Et+le)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getLayoutRect(oe,ie,le){le=normalizeCssArray(le||0);var ue=ie.width,de=ie.height,pe=parsePercent(oe.left,ue),he=parsePercent(oe.top,de),_e=parsePercent(oe.right,ue),$e=parsePercent(oe.bottom,de),Ie=parsePercent(oe.width,ue),Ve=parsePercent(oe.height,de),Fe=le[2]+le[0],Ue=le[1]+le[3],qe=oe.aspect;switch(isNaN(Ie)&&(Ie=ue-_e-Ue-pe),isNaN(Ve)&&(Ve=de-$e-Fe-he),qe!=null&&(isNaN(Ie)&&isNaN(Ve)&&(qe>ue/de?Ie=ue*.8:Ve=de*.8),isNaN(Ie)&&(Ie=qe*Ve),isNaN(Ve)&&(Ve=Ie/qe)),isNaN(pe)&&(pe=ue-_e-Ie-Ue),isNaN(he)&&(he=de-$e-Ve-Fe),oe.left||oe.right){case"center":pe=ue/2-Ie/2-le[3];break;case"right":pe=ue-Ie-Ue;break}switch(oe.top||oe.bottom){case"middle":case"center":he=de/2-Ve/2-le[0];break;case"bottom":he=de-Ve-Fe;break}pe=pe||0,he=he||0,isNaN(Ie)&&(Ie=ue-Ue-pe-(_e||0)),isNaN(Ve)&&(Ve=de-Fe-he-($e||0));var Et=new BoundingRect$1(pe+le[3],he+le[0],Ie,Ve);return Et.margin=le,Et}function positionElement(oe,ie,le,ue,de,pe){var he=!de||!de.hv||de.hv[0],_e=!de||!de.hv||de.hv[1],$e=de&&de.boundingMode||"all";if(pe=pe||oe,pe.x=oe.x,pe.y=oe.y,!he&&!_e)return!1;var Ie;if($e==="raw")Ie=oe.type==="group"?new BoundingRect$1(0,0,+ie.width||0,+ie.height||0):oe.getBoundingRect();else if(Ie=oe.getBoundingRect(),oe.needLocalTransform()){var Ve=oe.getLocalTransform();Ie=Ie.clone(),Ie.applyTransform(Ve)}var Fe=getLayoutRect(defaults({width:Ie.width,height:Ie.height},ie),le,ue),Ue=he?Fe.x-Ie.x:0,qe=_e?Fe.y-Ie.y:0;return $e==="raw"?(pe.x=Ue,pe.y=qe):(pe.x+=Ue,pe.y+=qe),pe===oe&&oe.markRedraw(),!0}function fetchLayoutMode(oe){var ie=oe.layoutMode||oe.constructor.layoutMode;return isObject$3(ie)?ie:ie?{type:ie}:null}function mergeLayoutParam(oe,ie,le){var ue=le&&le.ignoreSize;!isArray$1(ue)&&(ue=[ue,ue]);var de=he(HV_NAMES[0],0),pe=he(HV_NAMES[1],1);Ie(HV_NAMES[0],oe,de),Ie(HV_NAMES[1],oe,pe);function he(Ve,Fe){var Ue={},qe=0,Et={},At=0,Lt=2;if(each$b(Ve,function(_n){Et[_n]=oe[_n]}),each$b(Ve,function(_n){_e(ie,_n)&&(Ue[_n]=Et[_n]=ie[_n]),$e(Ue,_n)&&qe++,$e(Et,_n)&&At++}),ue[Fe])return $e(ie,Ve[1])?Et[Ve[2]]=null:$e(ie,Ve[2])&&(Et[Ve[1]]=null),Et;if(At===Lt||!qe)return Et;if(qe>=Lt)return Ue;for(var hn=0;hn<Ve.length;hn++){var vn=Ve[hn];if(!_e(Ue,vn)&&_e(oe,vn)){Ue[vn]=oe[vn];break}}return Ue}function _e(Ve,Fe){return Ve.hasOwnProperty(Fe)}function $e(Ve,Fe){return Ve[Fe]!=null&&Ve[Fe]!=="auto"}function Ie(Ve,Fe,Ue){each$b(Ve,function(qe){Fe[qe]=Ue[qe]})}}function getLayoutParams(oe){return copyLayoutParams({},oe)}function copyLayoutParams(oe,ie){return ie&&oe&&each$b(LOCATION_PARAMS,function(le){ie.hasOwnProperty(le)&&(oe[le]=ie[le])}),oe}var inner$c=makeInner(),ComponentModel=function(oe){__extends(ie,oe);function ie(le,ue,de){var pe=oe.call(this,le,ue,de)||this;return pe.uid=getUID("ec_cpt_model"),pe}return ie.prototype.init=function(le,ue,de){this.mergeDefaultAndTheme(le,de)},ie.prototype.mergeDefaultAndTheme=function(le,ue){var de=fetchLayoutMode(this),pe=de?getLayoutParams(le):{},he=ue.getTheme();merge(le,he.get(this.mainType)),merge(le,this.getDefaultOption()),de&&mergeLayoutParam(le,pe,de)},ie.prototype.mergeOption=function(le,ue){merge(this.option,le,!0);var de=fetchLayoutMode(this);de&&mergeLayoutParam(this.option,le,de)},ie.prototype.optionUpdated=function(le,ue){},ie.prototype.getDefaultOption=function(){var le=this.constructor;if(!isExtendedClass(le))return le.defaultOption;var ue=inner$c(this);if(!ue.defaultOption){for(var de=[],pe=le;pe;){var he=pe.prototype.defaultOption;he&&de.push(he),pe=pe.superClass}for(var _e={},$e=de.length-1;$e>=0;$e--)_e=merge(_e,de[$e],!0);ue.defaultOption=_e}return ue.defaultOption},ie.prototype.getReferringComponents=function(le,ue){var de=le+"Index",pe=le+"Id";return queryReferringComponents(this.ecModel,le,{index:this.get(de,!0),id:this.get(pe,!0)},ue)},ie.prototype.getBoxLayoutParams=function(){var le=this;return{left:le.get("left"),top:le.get("top"),right:le.get("right"),bottom:le.get("bottom"),width:le.get("width"),height:le.get("height")}},ie.prototype.getZLevelKey=function(){return""},ie.prototype.setZLevel=function(le){this.option.zlevel=le},ie.protoInitialize=function(){var le=ie.prototype;le.type="component",le.id="",le.name="",le.mainType="",le.subType="",le.componentIndex=0}(),ie}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(oe){var ie=[];return each$c(ComponentModel.getClassesByMainType(oe),function(le){ie=ie.concat(le.dependencies||le.prototype.dependencies||[])}),ie=map$2(ie,function(le){return parseClassType(le).main}),oe!=="dataset"&&indexOf(ie,"dataset")<=0&&ie.unshift("dataset"),ie}const ComponentModel$1=ComponentModel;var platform="";typeof navigator<"u"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(oe){innerGlobalModel(oe).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(oe,ie,le){var ue={},de=querySeriesUpstreamDatasetModel(ie);if(!de||!oe)return ue;var pe=[],he=[],_e=ie.ecModel,$e=innerGlobalModel(_e).datasetMap,Ie=de.uid+"_"+le.seriesLayoutBy,Ve,Fe;oe=oe.slice(),each$c(oe,function(At,Lt){var hn=isObject$3(At)?At:oe[Lt]={name:At};hn.type==="ordinal"&&Ve==null&&(Ve=Lt,Fe=Et(hn)),ue[hn.name]=[]});var Ue=$e.get(Ie)||$e.set(Ie,{categoryWayDim:Fe,valueWayDim:0});each$c(oe,function(At,Lt){var hn=At.name,vn=Et(At);if(Ve==null){var _n=Ue.valueWayDim;qe(ue[hn],_n,vn),qe(he,_n,vn),Ue.valueWayDim+=vn}else if(Ve===Lt)qe(ue[hn],0,vn),qe(pe,0,vn);else{var _n=Ue.categoryWayDim;qe(ue[hn],_n,vn),qe(he,_n,vn),Ue.categoryWayDim+=vn}});function qe(At,Lt,hn){for(var vn=0;vn<hn;vn++)At.push(Lt+vn)}function Et(At){var Lt=At.dimsDef;return Lt?Lt.length:1}return pe.length&&(ue.itemName=pe),he.length&&(ue.seriesName=he),ue}function makeSeriesEncodeForNameBased(oe,ie,le){var ue={},de=querySeriesUpstreamDatasetModel(oe);if(!de)return ue;var pe=ie.sourceFormat,he=ie.dimensionsDefine,_e;(pe===SOURCE_FORMAT_OBJECT_ROWS||pe===SOURCE_FORMAT_KEYED_COLUMNS)&&each$c(he,function(Ve,Fe){(isObject$3(Ve)?Ve.name:Ve)==="name"&&(_e=Fe)});var $e=function(){for(var Ve={},Fe={},Ue=[],qe=0,Et=Math.min(5,le);qe<Et;qe++){var At=doGuessOrdinal(ie.data,pe,ie.seriesLayoutBy,he,ie.startIndex,qe);Ue.push(At);var Lt=At===BE_ORDINAL.Not;if(Lt&&Ve.v==null&&qe!==_e&&(Ve.v=qe),(Ve.n==null||Ve.n===Ve.v||!Lt&&Ue[Ve.n]===BE_ORDINAL.Not)&&(Ve.n=qe),hn(Ve)&&Ue[Ve.n]!==BE_ORDINAL.Not)return Ve;Lt||(At===BE_ORDINAL.Might&&Fe.v==null&&qe!==_e&&(Fe.v=qe),(Fe.n==null||Fe.n===Fe.v)&&(Fe.n=qe))}function hn(vn){return vn.v!=null&&vn.n!=null}return hn(Ve)?Ve:hn(Fe)?Fe:null}();if($e){ue.value=[$e.v];var Ie=_e??$e.n;ue.itemName=[Ie],ue.seriesName=[Ie]}return ue}function querySeriesUpstreamDatasetModel(oe){var ie=oe.get("data",!0);if(!ie)return queryReferringComponents(oe.ecModel,"dataset",{index:oe.get("datasetIndex",!0),id:oe.get("datasetId",!0)},SINGLE_REFERRING).models[0]}function queryDatasetUpstreamDatasetModels(oe){return!oe.get("transform",!0)&&!oe.get("fromTransformResult",!0)?[]:queryReferringComponents(oe.ecModel,"dataset",{index:oe.get("fromDatasetIndex",!0),id:oe.get("fromDatasetId",!0)},SINGLE_REFERRING).models}function guessOrdinal(oe,ie){return doGuessOrdinal(oe.data,oe.sourceFormat,oe.seriesLayoutBy,oe.dimensionsDefine,oe.startIndex,ie)}function doGuessOrdinal(oe,ie,le,ue,de,pe){var he,_e=5;if(isTypedArray(oe))return BE_ORDINAL.Not;var $e,Ie;if(ue){var Ve=ue[pe];isObject$3(Ve)?($e=Ve.name,Ie=Ve.type):isString(Ve)&&($e=Ve)}if(Ie!=null)return Ie==="ordinal"?BE_ORDINAL.Must:BE_ORDINAL.Not;if(ie===SOURCE_FORMAT_ARRAY_ROWS){var Fe=oe;if(le===SERIES_LAYOUT_BY_ROW){for(var Ue=Fe[pe],qe=0;qe<(Ue||[]).length&&qe<_e;qe++)if((he=bn(Ue[de+qe]))!=null)return he}else for(var qe=0;qe<Fe.length&&qe<_e;qe++){var Et=Fe[de+qe];if(Et&&(he=bn(Et[pe]))!=null)return he}}else if(ie===SOURCE_FORMAT_OBJECT_ROWS){var At=oe;if(!$e)return BE_ORDINAL.Not;for(var qe=0;qe<At.length&&qe<_e;qe++){var Lt=At[qe];if(Lt&&(he=bn(Lt[$e]))!=null)return he}}else if(ie===SOURCE_FORMAT_KEYED_COLUMNS){var hn=oe;if(!$e)return BE_ORDINAL.Not;var Ue=hn[$e];if(!Ue||isTypedArray(Ue))return BE_ORDINAL.Not;for(var qe=0;qe<Ue.length&&qe<_e;qe++)if((he=bn(Ue[qe]))!=null)return he}else if(ie===SOURCE_FORMAT_ORIGINAL)for(var vn=oe,qe=0;qe<vn.length&&qe<_e;qe++){var Lt=vn[qe],_n=getDataItemValue(Lt);if(!isArray$1(_n))return BE_ORDINAL.Not;if((he=bn(_n[pe]))!=null)return he}function bn(Sn){var Cn=isString(Sn);if(Sn!=null&&isFinite(Sn)&&Sn!=="")return Cn?BE_ORDINAL.Might:BE_ORDINAL.Not;if(Cn&&Sn!=="-")return BE_ORDINAL.Must}return BE_ORDINAL.Not}var internalOptionCreatorMap=createHashMap();function registerInternalOptionCreator(oe,ie){assert(internalOptionCreatorMap.get(oe)==null&&ie),internalOptionCreatorMap.set(oe,ie)}function concatInternalOptions(oe,ie,le){var ue=internalOptionCreatorMap.get(ie);if(!ue)return le;var de=ue(oe);return de?le.concat(de):le}var innerColor=makeInner();makeInner();var PaletteMixin=function(){function oe(){}return oe.prototype.getColorFromPalette=function(ie,le,ue){var de=normalizeToArray(this.get("color",!0)),pe=this.get("colorLayer",!0);return getFromPalette(this,innerColor,de,pe,ie,le,ue)},oe.prototype.clearColorPalette=function(){clearPalette(this,innerColor)},oe}();function getNearestPalette(oe,ie){for(var le=oe.length,ue=0;ue<le;ue++)if(oe[ue].length>ie)return oe[ue];return oe[le-1]}function getFromPalette(oe,ie,le,ue,de,pe,he){pe=pe||oe;var _e=ie(pe),$e=_e.paletteIdx||0,Ie=_e.paletteNameMap=_e.paletteNameMap||{};if(Ie.hasOwnProperty(de))return Ie[de];var Ve=he==null||!ue?le:getNearestPalette(ue,he);if(Ve=Ve||le,!(!Ve||!Ve.length)){var Fe=Ve[$e];return de&&(Ie[de]=Fe),_e.paletteIdx=($e+1)%Ve.length,Fe}}function clearPalette(oe,ie){ie(oe).paletteIdx=0,ie(oe).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.init=function(le,ue,de,pe,he,_e){pe=pe||{},this.option=null,this._theme=new Model$1(pe),this._locale=new Model$1(he),this._optionManager=_e},ie.prototype.setOption=function(le,ue,de){var pe=normalizeSetOptionInput(ue);this._optionManager.setOption(le,de,pe),this._resetOption(null,pe)},ie.prototype.resetOption=function(le,ue){return this._resetOption(le,normalizeSetOptionInput(ue))},ie.prototype._resetOption=function(le,ue){var de=!1,pe=this._optionManager;if(!le||le==="recreate"){var he=pe.mountOption(le==="recreate");!this.option||le==="recreate"?initBase(this,he):(this.restoreData(),this._mergeOption(he,ue)),de=!0}if((le==="timeline"||le==="media")&&this.restoreData(),!le||le==="recreate"||le==="timeline"){var _e=pe.getTimelineOption(this);_e&&(de=!0,this._mergeOption(_e,ue))}if(!le||le==="recreate"||le==="media"){var $e=pe.getMediaOption(this);$e.length&&each$c($e,function(Ie){de=!0,this._mergeOption(Ie,ue)},this)}return de},ie.prototype.mergeOption=function(le){this._mergeOption(le,null)},ie.prototype._mergeOption=function(le,ue){var de=this.option,pe=this._componentsMap,he=this._componentsCount,_e=[],$e=createHashMap(),Ie=ue&&ue.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$c(le,function(Fe,Ue){Fe!=null&&(ComponentModel$1.hasClass(Ue)?Ue&&(_e.push(Ue),$e.set(Ue,!0)):de[Ue]=de[Ue]==null?clone$3(Fe):merge(de[Ue],Fe,!0))}),Ie&&Ie.each(function(Fe,Ue){ComponentModel$1.hasClass(Ue)&&!$e.get(Ue)&&(_e.push(Ue),$e.set(Ue,!0))}),ComponentModel$1.topologicalTravel(_e,ComponentModel$1.getAllClassMainTypes(),Ve,this);function Ve(Fe){var Ue=concatInternalOptions(this,Fe,normalizeToArray(le[Fe])),qe=pe.get(Fe),Et=qe?Ie&&Ie.get(Fe)?"replaceMerge":"normalMerge":"replaceAll",At=mappingToExists(qe,Ue,Et);setComponentTypeToKeyInfo(At,Fe,ComponentModel$1),de[Fe]=null,pe.set(Fe,null),he.set(Fe,0);var Lt=[],hn=[],vn=0,_n;each$c(At,function(bn,Sn){var Cn=bn.existing,En=bn.newOption;if(!En)Cn&&(Cn.mergeOption({},this),Cn.optionUpdated({},!1));else{var wn=Fe==="series",xn=ComponentModel$1.getClass(Fe,bn.keyInfo.subType,!wn);if(!xn)return;if(Fe==="tooltip"){if(_n)return;_n=!0}if(Cn&&Cn.constructor===xn)Cn.name=bn.keyInfo.name,Cn.mergeOption(En,this),Cn.optionUpdated(En,!1);else{var kn=extend({componentIndex:Sn},bn.keyInfo);Cn=new xn(En,this,this,kn),extend(Cn,kn),bn.brandNew&&(Cn.__requireNewView=!0),Cn.init(En,this,this),Cn.optionUpdated(null,!0)}}Cn?(Lt.push(Cn.option),hn.push(Cn),vn++):(Lt.push(void 0),hn.push(void 0))},this),de[Fe]=Lt,pe.set(Fe,hn),he.set(Fe,vn),Fe==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},ie.prototype.getOption=function(){var le=clone$3(this.option);return each$c(le,function(ue,de){if(ComponentModel$1.hasClass(de)){for(var pe=normalizeToArray(ue),he=pe.length,_e=!1,$e=he-1;$e>=0;$e--)pe[$e]&&!isComponentIdInternal(pe[$e])?_e=!0:(pe[$e]=null,!_e&&he--);pe.length=he,le[de]=pe}}),delete le[OPTION_INNER_KEY],le},ie.prototype.getTheme=function(){return this._theme},ie.prototype.getLocaleModel=function(){return this._locale},ie.prototype.setUpdatePayload=function(le){this._payload=le},ie.prototype.getUpdatePayload=function(){return this._payload},ie.prototype.getComponent=function(le,ue){var de=this._componentsMap.get(le);if(de){var pe=de[ue||0];if(pe)return pe;if(ue==null){for(var he=0;he<de.length;he++)if(de[he])return de[he]}}},ie.prototype.queryComponents=function(le){var ue=le.mainType;if(!ue)return[];var de=le.index,pe=le.id,he=le.name,_e=this._componentsMap.get(ue);if(!_e||!_e.length)return[];var $e;return de!=null?($e=[],each$c(normalizeToArray(de),function(Ie){_e[Ie]&&$e.push(_e[Ie])})):pe!=null?$e=queryByIdOrName("id",pe,_e):he!=null?$e=queryByIdOrName("name",he,_e):$e=filter(_e,function(Ie){return!!Ie}),filterBySubType($e,le)},ie.prototype.findComponents=function(le){var ue=le.query,de=le.mainType,pe=_e(ue),he=pe?this.queryComponents(pe):filter(this._componentsMap.get(de),function(Ie){return!!Ie});return $e(filterBySubType(he,le));function _e(Ie){var Ve=de+"Index",Fe=de+"Id",Ue=de+"Name";return Ie&&(Ie[Ve]!=null||Ie[Fe]!=null||Ie[Ue]!=null)?{mainType:de,index:Ie[Ve],id:Ie[Fe],name:Ie[Ue]}:null}function $e(Ie){return le.filter?filter(Ie,le.filter):Ie}},ie.prototype.eachComponent=function(le,ue,de){var pe=this._componentsMap;if(isFunction(le)){var he=ue,_e=le;pe.each(function(Fe,Ue){for(var qe=0;Fe&&qe<Fe.length;qe++){var Et=Fe[qe];Et&&_e.call(he,Ue,Et,Et.componentIndex)}})}else for(var $e=isString(le)?pe.get(le):isObject$3(le)?this.findComponents(le):null,Ie=0;$e&&Ie<$e.length;Ie++){var Ve=$e[Ie];Ve&&ue.call(de,Ve,Ve.componentIndex)}},ie.prototype.getSeriesByName=function(le){var ue=convertOptionIdName(le,null);return filter(this._componentsMap.get("series"),function(de){return!!de&&ue!=null&&de.name===ue})},ie.prototype.getSeriesByIndex=function(le){return this._componentsMap.get("series")[le]},ie.prototype.getSeriesByType=function(le){return filter(this._componentsMap.get("series"),function(ue){return!!ue&&ue.subType===le})},ie.prototype.getSeries=function(){return filter(this._componentsMap.get("series"),function(le){return!!le})},ie.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},ie.prototype.eachSeries=function(le,ue){assertSeriesInitialized(this),each$c(this._seriesIndices,function(de){var pe=this._componentsMap.get("series")[de];le.call(ue,pe,de)},this)},ie.prototype.eachRawSeries=function(le,ue){each$c(this._componentsMap.get("series"),function(de){de&&le.call(ue,de,de.componentIndex)})},ie.prototype.eachSeriesByType=function(le,ue,de){assertSeriesInitialized(this),each$c(this._seriesIndices,function(pe){var he=this._componentsMap.get("series")[pe];he.subType===le&&ue.call(de,he,pe)},this)},ie.prototype.eachRawSeriesByType=function(le,ue,de){return each$c(this.getSeriesByType(le),ue,de)},ie.prototype.isSeriesFiltered=function(le){return assertSeriesInitialized(this),this._seriesIndicesMap.get(le.componentIndex)==null},ie.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},ie.prototype.filterSeries=function(le,ue){assertSeriesInitialized(this);var de=[];each$c(this._seriesIndices,function(pe){var he=this._componentsMap.get("series")[pe];le.call(ue,he,pe)&&de.push(pe)},this),this._seriesIndices=de,this._seriesIndicesMap=createHashMap(de)},ie.prototype.restoreData=function(le){reCreateSeriesIndices(this);var ue=this._componentsMap,de=[];ue.each(function(pe,he){ComponentModel$1.hasClass(he)&&de.push(he)}),ComponentModel$1.topologicalTravel(de,ComponentModel$1.getAllClassMainTypes(),function(pe){each$c(ue.get(pe),function(he){he&&(pe!=="series"||!isNotTargetSeries(he,le))&&he.restoreData()})})},ie.internalField=function(){reCreateSeriesIndices=function(le){var ue=le._seriesIndices=[];each$c(le._componentsMap.get("series"),function(de){de&&ue.push(de.componentIndex)}),le._seriesIndicesMap=createHashMap(ue)},assertSeriesInitialized=function(le){},initBase=function(le,ue){le.option={},le.option[OPTION_INNER_KEY]=OPTION_INNER_VALUE,le._componentsMap=createHashMap({series:[]}),le._componentsCount=createHashMap();var de=ue.aria;isObject$3(de)&&de.enabled==null&&(de.enabled=!0),mergeTheme(ue,le._theme.option),merge(ue,globalDefault,!1),le._mergeOption(ue,null)}}(),ie}(Model$1);function isNotTargetSeries(oe,ie){if(ie){var le=ie.seriesIndex,ue=ie.seriesId,de=ie.seriesName;return le!=null&&oe.componentIndex!==le||ue!=null&&oe.id!==ue||de!=null&&oe.name!==de}}function mergeTheme(oe,ie){var le=oe.color&&!oe.colorLayer;each$c(ie,function(ue,de){de==="colorLayer"&&le||ComponentModel$1.hasClass(de)||(typeof ue=="object"?oe[de]=oe[de]?merge(oe[de],ue,!1):clone$3(ue):oe[de]==null&&(oe[de]=ue))})}function queryByIdOrName(oe,ie,le){if(isArray$1(ie)){var ue=createHashMap();return each$c(ie,function(pe){if(pe!=null){var he=convertOptionIdName(pe,null);he!=null&&ue.set(pe,!0)}}),filter(le,function(pe){return pe&&ue.get(pe[oe])})}else{var de=convertOptionIdName(ie,null);return filter(le,function(pe){return pe&&de!=null&&pe[oe]===de})}}function filterBySubType(oe,ie){return ie.hasOwnProperty("subType")?filter(oe,function(le){return le&&le.subType===ie.subType}):oe}function normalizeSetOptionInput(oe){var ie=createHashMap();return oe&&each$c(normalizeToArray(oe.replaceMerge),function(le){ie.set(le,!0)}),{replaceMergeMainTypeMap:ie}}mixin(GlobalModel,PaletteMixin);const GlobalModel$1=GlobalModel;var availableMethods=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],ExtensionAPI=function(){function oe(ie){each$c(availableMethods,function(le){this[le]=bind$1(ie[le],ie)},this)}return oe}();const ExtensionAPI$1=ExtensionAPI;var coordinateSystemCreators={},CoordinateSystemManager=function(){function oe(){this._coordinateSystems=[]}return oe.prototype.create=function(ie,le){var ue=[];each$c(coordinateSystemCreators,function(de,pe){var he=de.create(ie,le);ue=ue.concat(he||[])}),this._coordinateSystems=ue},oe.prototype.update=function(ie,le){each$c(this._coordinateSystems,function(ue){ue.update&&ue.update(ie,le)})},oe.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},oe.register=function(ie,le){coordinateSystemCreators[ie]=le},oe.get=function(ie){return coordinateSystemCreators[ie]},oe}();const CoordinateSystem=CoordinateSystemManager;var QUERY_REG=/^(min|max)?(.+)$/,OptionManager=function(){function oe(ie){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=ie}return oe.prototype.setOption=function(ie,le,ue){ie&&(each$c(normalizeToArray(ie.series),function(he){he&&he.data&&isTypedArray(he.data)&&setAsPrimitive(he.data)}),each$c(normalizeToArray(ie.dataset),function(he){he&&he.source&&isTypedArray(he.source)&&setAsPrimitive(he.source)})),ie=clone$3(ie);var de=this._optionBackup,pe=parseRawOption(ie,le,!de);this._newBaseOption=pe.baseOption,de?(pe.timelineOptions.length&&(de.timelineOptions=pe.timelineOptions),pe.mediaList.length&&(de.mediaList=pe.mediaList),pe.mediaDefault&&(de.mediaDefault=pe.mediaDefault)):this._optionBackup=pe},oe.prototype.mountOption=function(ie){var le=this._optionBackup;return this._timelineOptions=le.timelineOptions,this._mediaList=le.mediaList,this._mediaDefault=le.mediaDefault,this._currentMediaIndices=[],clone$3(ie?le.baseOption:this._newBaseOption)},oe.prototype.getTimelineOption=function(ie){var le,ue=this._timelineOptions;if(ue.length){var de=ie.getComponent("timeline");de&&(le=clone$3(ue[de.getCurrentIndex()]))}return le},oe.prototype.getMediaOption=function(ie){var le=this._api.getWidth(),ue=this._api.getHeight(),de=this._mediaList,pe=this._mediaDefault,he=[],_e=[];if(!de.length&&!pe)return _e;for(var $e=0,Ie=de.length;$e<Ie;$e++)applyMediaQuery(de[$e].query,le,ue)&&he.push($e);return!he.length&&pe&&(he=[-1]),he.length&&!indicesEquals(he,this._currentMediaIndices)&&(_e=map$2(he,function(Ve){return clone$3(Ve===-1?pe.option:de[Ve].option)})),this._currentMediaIndices=he,_e},oe}();function parseRawOption(oe,ie,le){var ue=[],de,pe,he=oe.baseOption,_e=oe.timeline,$e=oe.options,Ie=oe.media,Ve=!!oe.media,Fe=!!($e||_e||he&&he.timeline);he?(pe=he,pe.timeline||(pe.timeline=_e)):((Fe||Ve)&&(oe.options=oe.media=null),pe=oe),Ve&&isArray$1(Ie)&&each$c(Ie,function(qe){qe&&qe.option&&(qe.query?ue.push(qe):de||(de=qe))}),Ue(pe),each$c($e,function(qe){return Ue(qe)}),each$c(ue,function(qe){return Ue(qe.option)});function Ue(qe){each$c(ie,function(Et){Et(qe,le)})}return{baseOption:pe,timelineOptions:$e||[],mediaDefault:de,mediaList:ue}}function applyMediaQuery(oe,ie,le){var ue={width:ie,height:le,aspectratio:ie/le},de=!0;return each$c(oe,function(pe,he){var _e=he.match(QUERY_REG);if(!(!_e||!_e[1]||!_e[2])){var $e=_e[1],Ie=_e[2].toLowerCase();compare(ue[Ie],pe,$e)||(de=!1)}}),de}function compare(oe,ie,le){return le==="min"?oe>=ie:le==="max"?oe<=ie:oe===ie}function indicesEquals(oe,ie){return oe.join(",")===ie.join(",")}const OptionManager$1=OptionManager;var each$a=each$c,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(oe){var ie=oe&&oe.itemStyle;if(ie)for(var le=0,ue=POSSIBLE_STYLES.length;le<ue;le++){var de=POSSIBLE_STYLES[le],pe=ie.normal,he=ie.emphasis;pe&&pe[de]&&(oe[de]=oe[de]||{},oe[de].normal?merge(oe[de].normal,pe[de]):oe[de].normal=pe[de],pe[de]=null),he&&he[de]&&(oe[de]=oe[de]||{},oe[de].emphasis?merge(oe[de].emphasis,he[de]):oe[de].emphasis=he[de],he[de]=null)}}function convertNormalEmphasis(oe,ie,le){if(oe&&oe[ie]&&(oe[ie].normal||oe[ie].emphasis)){var ue=oe[ie].normal,de=oe[ie].emphasis;ue&&(le?(oe[ie].normal=oe[ie].emphasis=null,defaults(oe[ie],ue)):oe[ie]=ue),de&&(oe.emphasis=oe.emphasis||{},oe.emphasis[ie]=de,de.focus&&(oe.emphasis.focus=de.focus),de.blurScope&&(oe.emphasis.blurScope=de.blurScope))}}function removeEC3NormalStatus(oe){convertNormalEmphasis(oe,"itemStyle"),convertNormalEmphasis(oe,"lineStyle"),convertNormalEmphasis(oe,"areaStyle"),convertNormalEmphasis(oe,"label"),convertNormalEmphasis(oe,"labelLine"),convertNormalEmphasis(oe,"upperLabel"),convertNormalEmphasis(oe,"edgeLabel")}function compatTextStyle(oe,ie){var le=isObject$2(oe)&&oe[ie],ue=isObject$2(le)&&le.textStyle;if(ue)for(var de=0,pe=TEXT_STYLE_OPTIONS.length;de<pe;de++){var he=TEXT_STYLE_OPTIONS[de];ue.hasOwnProperty(he)&&(le[he]=ue[he])}}function compatEC3CommonStyles(oe){oe&&(removeEC3NormalStatus(oe),compatTextStyle(oe,"label"),oe.emphasis&&compatTextStyle(oe.emphasis,"label"))}function processSeries(oe){if(isObject$2(oe)){compatEC2ItemStyle(oe),removeEC3NormalStatus(oe),compatTextStyle(oe,"label"),compatTextStyle(oe,"upperLabel"),compatTextStyle(oe,"edgeLabel"),oe.emphasis&&(compatTextStyle(oe.emphasis,"label"),compatTextStyle(oe.emphasis,"upperLabel"),compatTextStyle(oe.emphasis,"edgeLabel"));var ie=oe.markPoint;ie&&(compatEC2ItemStyle(ie),compatEC3CommonStyles(ie));var le=oe.markLine;le&&(compatEC2ItemStyle(le),compatEC3CommonStyles(le));var ue=oe.markArea;ue&&compatEC3CommonStyles(ue);var de=oe.data;if(oe.type==="graph"){de=de||oe.nodes;var pe=oe.links||oe.edges;if(pe&&!isTypedArray(pe))for(var he=0;he<pe.length;he++)compatEC3CommonStyles(pe[he]);each$c(oe.categories,function(Ie){removeEC3NormalStatus(Ie)})}if(de&&!isTypedArray(de))for(var he=0;he<de.length;he++)compatEC3CommonStyles(de[he]);if(ie=oe.markPoint,ie&&ie.data)for(var _e=ie.data,he=0;he<_e.length;he++)compatEC3CommonStyles(_e[he]);if(le=oe.markLine,le&&le.data)for(var $e=le.data,he=0;he<$e.length;he++)isArray$1($e[he])?(compatEC3CommonStyles($e[he][0]),compatEC3CommonStyles($e[he][1])):compatEC3CommonStyles($e[he]);oe.type==="gauge"?(compatTextStyle(oe,"axisLabel"),compatTextStyle(oe,"title"),compatTextStyle(oe,"detail")):oe.type==="treemap"?(convertNormalEmphasis(oe.breadcrumb,"itemStyle"),each$c(oe.levels,function(Ie){removeEC3NormalStatus(Ie)})):oe.type==="tree"&&removeEC3NormalStatus(oe.leaves)}}function toArr(oe){return isArray$1(oe)?oe:oe?[oe]:[]}function toObj(oe){return(isArray$1(oe)?oe[0]:oe)||{}}function globalCompatStyle(oe,ie){each$a(toArr(oe.series),function(ue){isObject$2(ue)&&processSeries(ue)});var le=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];ie&&le.push("valueAxis","categoryAxis","logAxis","timeAxis"),each$a(le,function(ue){each$a(toArr(oe[ue]),function(de){de&&(compatTextStyle(de,"axisLabel"),compatTextStyle(de.axisPointer,"label"))})}),each$a(toArr(oe.parallel),function(ue){var de=ue&&ue.parallelAxisDefault;compatTextStyle(de,"axisLabel"),compatTextStyle(de&&de.axisPointer,"label")}),each$a(toArr(oe.calendar),function(ue){convertNormalEmphasis(ue,"itemStyle"),compatTextStyle(ue,"dayLabel"),compatTextStyle(ue,"monthLabel"),compatTextStyle(ue,"yearLabel")}),each$a(toArr(oe.radar),function(ue){compatTextStyle(ue,"name"),ue.name&&ue.axisName==null&&(ue.axisName=ue.name,delete ue.name),ue.nameGap!=null&&ue.axisNameGap==null&&(ue.axisNameGap=ue.nameGap,delete ue.nameGap)}),each$a(toArr(oe.geo),function(ue){isObject$2(ue)&&(compatEC3CommonStyles(ue),each$a(toArr(ue.regions),function(de){compatEC3CommonStyles(de)}))}),each$a(toArr(oe.timeline),function(ue){compatEC3CommonStyles(ue),convertNormalEmphasis(ue,"label"),convertNormalEmphasis(ue,"itemStyle"),convertNormalEmphasis(ue,"controlStyle",!0);var de=ue.data;isArray$1(de)&&each$c(de,function(pe){isObject$3(pe)&&(convertNormalEmphasis(pe,"label"),convertNormalEmphasis(pe,"itemStyle"))})}),each$a(toArr(oe.toolbox),function(ue){convertNormalEmphasis(ue,"iconStyle"),each$a(ue.feature,function(de){convertNormalEmphasis(de,"iconStyle")})}),compatTextStyle(toObj(oe.axisPointer),"label"),compatTextStyle(toObj(oe.tooltip).axisPointer,"label")}function get(oe,ie){for(var le=ie.split(","),ue=oe,de=0;de<le.length&&(ue=ue&&ue[le[de]],ue!=null);de++);return ue}function set(oe,ie,le,ue){for(var de=ie.split(","),pe=oe,he,_e=0;_e<de.length-1;_e++)he=de[_e],pe[he]==null&&(pe[he]={}),pe=pe[he];(ue||pe[de[_e]]==null)&&(pe[de[_e]]=le)}function compatLayoutProperties(oe){oe&&each$c(LAYOUT_PROPERTIES,function(ie){ie[0]in oe&&!(ie[1]in oe)&&(oe[ie[1]]=oe[ie[0]])})}var LAYOUT_PROPERTIES=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],COMPATITABLE_COMPONENTS=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],BAR_ITEM_STYLE_MAP=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function compatBarItemStyle(oe){var ie=oe&&oe.itemStyle;if(ie)for(var le=0;le<BAR_ITEM_STYLE_MAP.length;le++){var ue=BAR_ITEM_STYLE_MAP[le][1],de=BAR_ITEM_STYLE_MAP[le][0];ie[ue]!=null&&(ie[de]=ie[ue])}}function compatPieLabel(oe){oe&&oe.alignTo==="edge"&&oe.margin!=null&&oe.edgeDistance==null&&(oe.edgeDistance=oe.margin)}function compatSunburstState(oe){oe&&oe.downplay&&!oe.blur&&(oe.blur=oe.downplay)}function compatGraphFocus(oe){oe&&oe.focusNodeAdjacency!=null&&(oe.emphasis=oe.emphasis||{},oe.emphasis.focus==null&&(oe.emphasis.focus="adjacency"))}function traverseTree(oe,ie){if(oe)for(var le=0;le<oe.length;le++)ie(oe[le]),oe[le]&&traverseTree(oe[le].children,ie)}function globalBackwardCompat(oe,ie){globalCompatStyle(oe,ie),oe.series=normalizeToArray(oe.series),each$c(oe.series,function(le){if(isObject$3(le)){var ue=le.type;if(ue==="line")le.clipOverflow!=null&&(le.clip=le.clipOverflow);else if(ue==="pie"||ue==="gauge"){le.clockWise!=null&&(le.clockwise=le.clockWise),compatPieLabel(le.label);var de=le.data;if(de&&!isTypedArray(de))for(var pe=0;pe<de.length;pe++)compatPieLabel(de[pe]);le.hoverOffset!=null&&(le.emphasis=le.emphasis||{},(le.emphasis.scaleSize=null)&&(le.emphasis.scaleSize=le.hoverOffset))}else if(ue==="gauge"){var he=get(le,"pointer.color");he!=null&&set(le,"itemStyle.color",he)}else if(ue==="bar"){compatBarItemStyle(le),compatBarItemStyle(le.backgroundStyle),compatBarItemStyle(le.emphasis);var de=le.data;if(de&&!isTypedArray(de))for(var pe=0;pe<de.length;pe++)typeof de[pe]=="object"&&(compatBarItemStyle(de[pe]),compatBarItemStyle(de[pe]&&de[pe].emphasis))}else if(ue==="sunburst"){var _e=le.highlightPolicy;_e&&(le.emphasis=le.emphasis||{},le.emphasis.focus||(le.emphasis.focus=_e)),compatSunburstState(le),traverseTree(le.data,compatSunburstState)}else ue==="graph"||ue==="sankey"?compatGraphFocus(le):ue==="map"&&(le.mapType&&!le.map&&(le.map=le.mapType),le.mapLocation&&defaults(le,le.mapLocation));le.hoverAnimation!=null&&(le.emphasis=le.emphasis||{},le.emphasis&&le.emphasis.scale==null&&(le.emphasis.scale=le.hoverAnimation)),compatLayoutProperties(le)}}),oe.dataRange&&(oe.visualMap=oe.dataRange),each$c(COMPATITABLE_COMPONENTS,function(le){var ue=oe[le];ue&&(isArray$1(ue)||(ue=[ue]),each$c(ue,function(de){compatLayoutProperties(de)}))})}function dataStack$1(oe){var ie=createHashMap();oe.eachSeries(function(le){var ue=le.get("stack");if(ue){var de=ie.get(ue)||ie.set(ue,[]),pe=le.getData(),he={stackResultDimension:pe.getCalculationInfo("stackResultDimension"),stackedOverDimension:pe.getCalculationInfo("stackedOverDimension"),stackedDimension:pe.getCalculationInfo("stackedDimension"),stackedByDimension:pe.getCalculationInfo("stackedByDimension"),isStackedByIndex:pe.getCalculationInfo("isStackedByIndex"),data:pe,seriesModel:le};if(!he.stackedDimension||!(he.isStackedByIndex||he.stackedByDimension))return;de.length&&pe.setCalculationInfo("stackedOnSeries",de[de.length-1].seriesModel),de.push(he)}}),ie.each(calculateStack)}function calculateStack(oe){each$c(oe,function(ie,le){var ue=[],de=[NaN,NaN],pe=[ie.stackResultDimension,ie.stackedOverDimension],he=ie.data,_e=ie.isStackedByIndex,$e=ie.seriesModel.get("stackStrategy")||"samesign";he.modify(pe,function(Ie,Ve,Fe){var Ue=he.get(ie.stackedDimension,Fe);if(isNaN(Ue))return de;var qe,Et;_e?Et=he.getRawIndex(Fe):qe=he.get(ie.stackedByDimension,Fe);for(var At=NaN,Lt=le-1;Lt>=0;Lt--){var hn=oe[Lt];if(_e||(Et=hn.data.rawIndexOf(hn.stackedByDimension,qe)),Et>=0){var vn=hn.data.getByRawIndex(hn.stackResultDimension,Et);if($e==="all"||$e==="positive"&&vn>0||$e==="negative"&&vn<0||$e==="samesign"&&Ue>=0&&vn>0||$e==="samesign"&&Ue<=0&&vn<0){Ue=addSafe(Ue,vn),At=vn;break}}}return ue[0]=Ue,ue[1]=At,ue})})}var SourceImpl=function(){function oe(ie){this.data=ie.data||(ie.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=ie.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=ie.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=ie.startIndex||0,this.dimensionsDetectedCount=ie.dimensionsDetectedCount,this.metaRawOption=ie.metaRawOption;var le=this.dimensionsDefine=ie.dimensionsDefine;if(le)for(var ue=0;ue<le.length;ue++){var de=le[ue];de.type==null&&guessOrdinal(this,ue)===BE_ORDINAL.Must&&(de.type="ordinal")}}return oe}();function isSourceInstance(oe){return oe instanceof SourceImpl}function createSource(oe,ie,le){le=le||detectSourceFormat(oe);var ue=ie.seriesLayoutBy,de=determineSourceDimensions(oe,le,ue,ie.sourceHeader,ie.dimensions),pe=new SourceImpl({data:oe,sourceFormat:le,seriesLayoutBy:ue,dimensionsDefine:de.dimensionsDefine,startIndex:de.startIndex,dimensionsDetectedCount:de.dimensionsDetectedCount,metaRawOption:clone$3(ie)});return pe}function createSourceFromSeriesDataOption(oe){return new SourceImpl({data:oe,sourceFormat:isTypedArray(oe)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL})}function cloneSourceShallow(oe){return new SourceImpl({data:oe.data,sourceFormat:oe.sourceFormat,seriesLayoutBy:oe.seriesLayoutBy,dimensionsDefine:clone$3(oe.dimensionsDefine),startIndex:oe.startIndex,dimensionsDetectedCount:oe.dimensionsDetectedCount})}function detectSourceFormat(oe){var ie=SOURCE_FORMAT_UNKNOWN;if(isTypedArray(oe))ie=SOURCE_FORMAT_TYPED_ARRAY;else if(isArray$1(oe)){oe.length===0&&(ie=SOURCE_FORMAT_ARRAY_ROWS);for(var le=0,ue=oe.length;le<ue;le++){var de=oe[le];if(de!=null){if(isArray$1(de)){ie=SOURCE_FORMAT_ARRAY_ROWS;break}else if(isObject$3(de)){ie=SOURCE_FORMAT_OBJECT_ROWS;break}}}}else if(isObject$3(oe)){for(var pe in oe)if(hasOwn(oe,pe)&&isArrayLike(oe[pe])){ie=SOURCE_FORMAT_KEYED_COLUMNS;break}}return ie}function determineSourceDimensions(oe,ie,le,ue,de){var pe,he;if(!oe)return{dimensionsDefine:normalizeDimensionsOption(de),startIndex:he,dimensionsDetectedCount:pe};if(ie===SOURCE_FORMAT_ARRAY_ROWS){var _e=oe;ue==="auto"||ue==null?arrayRowsTravelFirst(function(Ie){Ie!=null&&Ie!=="-"&&(isString(Ie)?he==null&&(he=1):he=0)},le,_e,10):he=isNumber(ue)?ue:ue?1:0,!de&&he===1&&(de=[],arrayRowsTravelFirst(function(Ie,Ve){de[Ve]=Ie!=null?Ie+"":""},le,_e,1/0)),pe=de?de.length:le===SERIES_LAYOUT_BY_ROW?_e.length:_e[0]?_e[0].length:null}else if(ie===SOURCE_FORMAT_OBJECT_ROWS)de||(de=objectRowsCollectDimensions(oe));else if(ie===SOURCE_FORMAT_KEYED_COLUMNS)de||(de=[],each$c(oe,function(Ie,Ve){de.push(Ve)}));else if(ie===SOURCE_FORMAT_ORIGINAL){var $e=getDataItemValue(oe[0]);pe=isArray$1($e)&&$e.length||1}return{startIndex:he,dimensionsDefine:normalizeDimensionsOption(de),dimensionsDetectedCount:pe}}function objectRowsCollectDimensions(oe){for(var ie=0,le;ie<oe.length&&!(le=oe[ie++]););if(le)return keys(le)}function normalizeDimensionsOption(oe){if(oe){var ie=createHashMap();return map$2(oe,function(le,ue){le=isObject$3(le)?le:{name:le};var de={name:le.name,displayName:le.displayName,type:le.type};if(de.name==null)return de;de.name+="",de.displayName==null&&(de.displayName=de.name);var pe=ie.get(de.name);return pe?de.name+="-"+pe.count++:ie.set(de.name,{count:1}),de})}}function arrayRowsTravelFirst(oe,ie,le,ue){if(ie===SERIES_LAYOUT_BY_ROW)for(var de=0;de<le.length&&de<ue;de++)oe(le[de]?le[de][0]:null,de);else for(var pe=le[0]||[],de=0;de<pe.length&&de<ue;de++)oe(pe[de],de)}function shouldRetrieveDataByName(oe){var ie=oe.sourceFormat;return ie===SOURCE_FORMAT_OBJECT_ROWS||ie===SOURCE_FORMAT_KEYED_COLUMNS}var _a,_b,_c,providerMethods,mountMethods,DefaultDataProvider=function(){function oe(ie,le){var ue=isSourceInstance(ie)?ie:createSourceFromSeriesDataOption(ie);this._source=ue;var de=this._data=ue.data;ue.sourceFormat===SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=le,this._data=de),mountMethods(this,de,ue)}return oe.prototype.getSource=function(){return this._source},oe.prototype.count=function(){return 0},oe.prototype.getItem=function(ie,le){},oe.prototype.appendData=function(ie){},oe.prototype.clean=function(){},oe.protoInitialize=function(){var ie=oe.prototype;ie.pure=!1,ie.persistent=!0}(),oe.internalField=function(){var ie;mountMethods=function(he,_e,$e){var Ie=$e.sourceFormat,Ve=$e.seriesLayoutBy,Fe=$e.startIndex,Ue=$e.dimensionsDefine,qe=providerMethods[getMethodMapKey(Ie,Ve)];if(extend(he,qe),Ie===SOURCE_FORMAT_TYPED_ARRAY)he.getItem=le,he.count=de,he.fillStorage=ue;else{var Et=getRawSourceItemGetter(Ie,Ve);he.getItem=bind$1(Et,null,_e,Fe,Ue);var At=getRawSourceDataCounter(Ie,Ve);he.count=bind$1(At,null,_e,Fe,Ue)}};var le=function(he,_e){he=he-this._offset,_e=_e||[];for(var $e=this._data,Ie=this._dimSize,Ve=Ie*he,Fe=0;Fe<Ie;Fe++)_e[Fe]=$e[Ve+Fe];return _e},ue=function(he,_e,$e,Ie){for(var Ve=this._data,Fe=this._dimSize,Ue=0;Ue<Fe;Ue++){for(var qe=Ie[Ue],Et=qe[0]==null?1/0:qe[0],At=qe[1]==null?-1/0:qe[1],Lt=_e-he,hn=$e[Ue],vn=0;vn<Lt;vn++){var _n=Ve[vn*Fe+Ue];hn[he+vn]=_n,_n<Et&&(Et=_n),_n>At&&(At=_n)}qe[0]=Et,qe[1]=At}},de=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(ie={},ie[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:pe},ie[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},ie[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:pe},ie[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(he){var _e=this._data;each$c(he,function($e,Ie){for(var Ve=_e[Ie]||(_e[Ie]=[]),Fe=0;Fe<($e||[]).length;Fe++)Ve.push($e[Fe])})}},ie[SOURCE_FORMAT_ORIGINAL]={appendData:pe},ie[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(he){this._data=he},clean:function(){this._offset+=this.count(),this._data=null}},ie);function pe(he){for(var _e=0;_e<he.length;_e++)this._data.push(he[_e])}}(),oe}(),getItemSimply=function(oe,ie,le,ue){return oe[ue]},rawSourceItemGetterMap=(_a={},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(oe,ie,le,ue){return oe[ue+ie]},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(oe,ie,le,ue,de){ue+=ie;for(var pe=de||[],he=oe,_e=0;_e<he.length;_e++){var $e=he[_e];pe[_e]=$e?$e[ue]:null}return pe},_a[SOURCE_FORMAT_OBJECT_ROWS]=getItemSimply,_a[SOURCE_FORMAT_KEYED_COLUMNS]=function(oe,ie,le,ue,de){for(var pe=de||[],he=0;he<le.length;he++){var _e=le[he].name,$e=oe[_e];pe[he]=$e?$e[ue]:null}return pe},_a[SOURCE_FORMAT_ORIGINAL]=getItemSimply,_a);function getRawSourceItemGetter(oe,ie){var le=rawSourceItemGetterMap[getMethodMapKey(oe,ie)];return le}var countSimply=function(oe,ie,le){return oe.length},rawSourceDataCounterMap=(_b={},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(oe,ie,le){return Math.max(0,oe.length-ie)},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(oe,ie,le){var ue=oe[0];return ue?Math.max(0,ue.length-ie):0},_b[SOURCE_FORMAT_OBJECT_ROWS]=countSimply,_b[SOURCE_FORMAT_KEYED_COLUMNS]=function(oe,ie,le){var ue=le[0].name,de=oe[ue];return de?de.length:0},_b[SOURCE_FORMAT_ORIGINAL]=countSimply,_b);function getRawSourceDataCounter(oe,ie){var le=rawSourceDataCounterMap[getMethodMapKey(oe,ie)];return le}var getRawValueSimply=function(oe,ie,le){return oe[ie]},rawSourceValueGetterMap=(_c={},_c[SOURCE_FORMAT_ARRAY_ROWS]=getRawValueSimply,_c[SOURCE_FORMAT_OBJECT_ROWS]=function(oe,ie,le){return oe[le]},_c[SOURCE_FORMAT_KEYED_COLUMNS]=getRawValueSimply,_c[SOURCE_FORMAT_ORIGINAL]=function(oe,ie,le){var ue=getDataItemValue(oe);return ue instanceof Array?ue[ie]:ue},_c[SOURCE_FORMAT_TYPED_ARRAY]=getRawValueSimply,_c);function getRawSourceValueGetter(oe){var ie=rawSourceValueGetterMap[oe];return ie}function getMethodMapKey(oe,ie){return oe===SOURCE_FORMAT_ARRAY_ROWS?oe+"_"+ie:oe}function retrieveRawValue(oe,ie,le){if(oe){var ue=oe.getRawDataItem(ie);if(ue!=null){var de=oe.getStore(),pe=de.getSource().sourceFormat;if(le!=null){var he=oe.getDimensionIndex(le),_e=de.getDimensionProperty(he);return getRawSourceValueGetter(pe)(ue,he,_e)}else{var $e=ue;return pe===SOURCE_FORMAT_ORIGINAL&&($e=getDataItemValue(ue)),$e}}}}var DIMENSION_LABEL_REG=/\{@(.+?)\}/g,DataFormatMixin=function(){function oe(){}return oe.prototype.getDataParams=function(ie,le){var ue=this.getData(le),de=this.getRawValue(ie,le),pe=ue.getRawIndex(ie),he=ue.getName(ie),_e=ue.getRawDataItem(ie),$e=ue.getItemVisual(ie,"style"),Ie=$e&&$e[ue.getItemVisual(ie,"drawType")||"fill"],Ve=$e&&$e.stroke,Fe=this.mainType,Ue=Fe==="series",qe=ue.userOutput&&ue.userOutput.get();return{componentType:Fe,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:Ue?this.subType:null,seriesIndex:this.seriesIndex,seriesId:Ue?this.id:null,seriesName:Ue?this.name:null,name:he,dataIndex:pe,data:_e,dataType:le,value:de,color:Ie,borderColor:Ve,dimensionNames:qe?qe.fullDimensions:null,encode:qe?qe.encode:null,$vars:["seriesName","name","value"]}},oe.prototype.getFormattedLabel=function(ie,le,ue,de,pe,he){le=le||"normal";var _e=this.getData(ue),$e=this.getDataParams(ie,ue);if(he&&($e.value=he.interpolatedValue),de!=null&&isArray$1($e.value)&&($e.value=$e.value[de]),!pe){var Ie=_e.getItemModel(ie);pe=Ie.get(le==="normal"?["label","formatter"]:[le,"label","formatter"])}if(isFunction(pe))return $e.status=le,$e.dimensionIndex=de,pe($e);if(isString(pe)){var Ve=formatTpl(pe,$e);return Ve.replace(DIMENSION_LABEL_REG,function(Fe,Ue){var qe=Ue.length,Et=Ue;Et.charAt(0)==="["&&Et.charAt(qe-1)==="]"&&(Et=+Et.slice(1,qe-1));var At=retrieveRawValue(_e,ie,Et);if(he&&isArray$1(he.interpolatedValue)){var Lt=_e.getDimensionIndex(Et);Lt>=0&&(At=he.interpolatedValue[Lt])}return At!=null?At+"":""})}},oe.prototype.getRawValue=function(ie,le){return retrieveRawValue(this.getData(le),ie)},oe.prototype.formatTooltip=function(ie,le,ue){},oe}();function normalizeTooltipFormatResult(oe){var ie,le;return isObject$3(oe)?oe.type&&(le=oe):ie=oe,{text:ie,frag:le}}function createTask(oe){return new Task(oe)}var Task=function(){function oe(ie){ie=ie||{},this._reset=ie.reset,this._plan=ie.plan,this._count=ie.count,this._onDirty=ie.onDirty,this._dirty=!0}return oe.prototype.perform=function(ie){var le=this._upstream,ue=ie&&ie.skip;if(this._dirty&&le){var de=this.context;de.data=de.outputData=le.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var pe;this._plan&&!ue&&(pe=this._plan(this.context));var he=Ve(this._modBy),_e=this._modDataCount||0,$e=Ve(ie&&ie.modBy),Ie=ie&&ie.modDataCount||0;(he!==$e||_e!==Ie)&&(pe="reset");function Ve(vn){return!(vn>=1)&&(vn=1),vn}var Fe;(this._dirty||pe==="reset")&&(this._dirty=!1,Fe=this._doReset(ue)),this._modBy=$e,this._modDataCount=Ie;var Ue=ie&&ie.step;if(le?this._dueEnd=le._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var qe=this._dueIndex,Et=Math.min(Ue!=null?this._dueIndex+Ue:1/0,this._dueEnd);if(!ue&&(Fe||qe<Et)){var At=this._progress;if(isArray$1(At))for(var Lt=0;Lt<At.length;Lt++)this._doProgress(At[Lt],qe,Et,$e,Ie);else this._doProgress(At,qe,Et,$e,Ie)}this._dueIndex=Et;var hn=this._settedOutputEnd!=null?this._settedOutputEnd:Et;this._outputDueEnd=hn}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},oe.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},oe.prototype._doProgress=function(ie,le,ue,de,pe){iterator.reset(le,ue,de,pe),this._callingProgress=ie,this._callingProgress({start:le,end:ue,count:ue-le,next:iterator.next},this.context)},oe.prototype._doReset=function(ie){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var le,ue;!ie&&this._reset&&(le=this._reset(this.context),le&&le.progress&&(ue=le.forceFirstProgress,le=le.progress),isArray$1(le)&&!le.length&&(le=null)),this._progress=le,this._modBy=this._modDataCount=null;var de=this._downstream;return de&&de.dirty(),ue},oe.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},oe.prototype.pipe=function(ie){(this._downstream!==ie||this._dirty)&&(this._downstream=ie,ie._upstream=this,ie.dirty())},oe.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},oe.prototype.getUpstream=function(){return this._upstream},oe.prototype.getDownstream=function(){return this._downstream},oe.prototype.setOutputEnd=function(ie){this._outputDueEnd=this._settedOutputEnd=ie},oe}(),iterator=function(){var oe,ie,le,ue,de,pe={reset:function($e,Ie,Ve,Fe){ie=$e,oe=Ie,le=Ve,ue=Fe,de=Math.ceil(ue/le),pe.next=le>1&&ue>0?_e:he}};return pe;function he(){return ie<oe?ie++:null}function _e(){var $e=ie%de*le+Math.ceil(ie/de),Ie=ie>=oe?null:$e<ue?$e:ie;return ie++,Ie}}();function parseDataValue(oe,ie){var le=ie&&ie.type;return le==="ordinal"?oe:(le==="time"&&!isNumber(oe)&&oe!=null&&oe!=="-"&&(oe=+parseDate(oe)),oe==null||oe===""?NaN:+oe)}createHashMap({number:function(oe){return parseFloat(oe)},time:function(oe){return+parseDate(oe)},trim:function(oe){return isString(oe)?trim$1(oe):oe}});var SortOrderComparator=function(){function oe(ie,le){var ue=ie==="desc";this._resultLT=ue?1:-1,le==null&&(le=ue?"min":"max"),this._incomparable=le==="min"?-1/0:1/0}return oe.prototype.evaluate=function(ie,le){var ue=isNumber(ie)?ie:numericToNumber(ie),de=isNumber(le)?le:numericToNumber(le),pe=isNaN(ue),he=isNaN(de);if(pe&&(ue=this._incomparable),he&&(de=this._incomparable),pe&&he){var _e=isString(ie),$e=isString(le);_e&&(ue=$e?ie:0),$e&&(de=_e?le:0)}return ue<de?this._resultLT:ue>de?-this._resultLT:0},oe}(),ExternalSource=function(){function oe(){}return oe.prototype.getRawData=function(){throw new Error("not supported")},oe.prototype.getRawDataItem=function(ie){throw new Error("not supported")},oe.prototype.cloneRawData=function(){},oe.prototype.getDimensionInfo=function(ie){},oe.prototype.cloneAllDimensionInfo=function(){},oe.prototype.count=function(){},oe.prototype.retrieveValue=function(ie,le){},oe.prototype.retrieveValueFromItem=function(ie,le){},oe.prototype.convertValue=function(ie,le){return parseDataValue(ie,le)},oe}();function createExternalSource(oe,ie){var le=new ExternalSource,ue=oe.data,de=le.sourceFormat=oe.sourceFormat,pe=oe.startIndex,he="";oe.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(he);var _e=[],$e={},Ie=oe.dimensionsDefine;if(Ie)each$c(Ie,function(At,Lt){var hn=At.name,vn={index:Lt,name:hn,displayName:At.displayName};if(_e.push(vn),hn!=null){var _n="";hasOwn($e,hn)&&throwError(_n),$e[hn]=vn}});else for(var Ve=0;Ve<oe.dimensionsDetectedCount;Ve++)_e.push({index:Ve});var Fe=getRawSourceItemGetter(de,SERIES_LAYOUT_BY_COLUMN);ie.__isBuiltIn&&(le.getRawDataItem=function(At){return Fe(ue,pe,_e,At)},le.getRawData=bind$1(getRawData,null,oe)),le.cloneRawData=bind$1(cloneRawData,null,oe);var Ue=getRawSourceDataCounter(de,SERIES_LAYOUT_BY_COLUMN);le.count=bind$1(Ue,null,ue,pe,_e);var qe=getRawSourceValueGetter(de);le.retrieveValue=function(At,Lt){var hn=Fe(ue,pe,_e,At);return Et(hn,Lt)};var Et=le.retrieveValueFromItem=function(At,Lt){if(At!=null){var hn=_e[Lt];if(hn)return qe(At,Lt,hn.name)}};return le.getDimensionInfo=bind$1(getDimensionInfo,null,_e,$e),le.cloneAllDimensionInfo=bind$1(cloneAllDimensionInfo,null,_e),le}function getRawData(oe){var ie=oe.sourceFormat;if(!isSupportedSourceFormat(ie)){var le="";throwError(le)}return oe.data}function cloneRawData(oe){var ie=oe.sourceFormat,le=oe.data;if(!isSupportedSourceFormat(ie)){var ue="";throwError(ue)}if(ie===SOURCE_FORMAT_ARRAY_ROWS){for(var de=[],pe=0,he=le.length;pe<he;pe++)de.push(le[pe].slice());return de}else if(ie===SOURCE_FORMAT_OBJECT_ROWS){for(var de=[],pe=0,he=le.length;pe<he;pe++)de.push(extend({},le[pe]));return de}}function getDimensionInfo(oe,ie,le){if(le!=null){if(isNumber(le)||!isNaN(le)&&!hasOwn(ie,le))return oe[le];if(hasOwn(ie,le))return ie[le]}}function cloneAllDimensionInfo(oe){return clone$3(oe)}var externalTransformMap=createHashMap();function registerExternalTransform(oe){oe=clone$3(oe);var ie=oe.type,le="";ie||throwError(le);var ue=ie.split(":");ue.length!==2&&throwError(le);var de=!1;ue[0]==="echarts"&&(ie=ue[1],de=!0),oe.__isBuiltIn=de,externalTransformMap.set(ie,oe)}function applyDataTransform(oe,ie,le){var ue=normalizeToArray(oe),de=ue.length,pe="";de||throwError(pe);for(var he=0,_e=de;he<_e;he++){var $e=ue[he];ie=applySingleDataTransform($e,ie),he!==_e-1&&(ie.length=Math.max(ie.length,1))}return ie}function applySingleDataTransform(oe,ie,le,ue){var de="";ie.length||throwError(de),isObject$3(oe)||throwError(de);var pe=oe.type,he=externalTransformMap.get(pe);he||throwError(de);var _e=map$2(ie,function(Ie){return createExternalSource(Ie,he)}),$e=normalizeToArray(he.transform({upstream:_e[0],upstreamList:_e,config:clone$3(oe.config)}));return map$2($e,function(Ie,Ve){var Fe="";isObject$3(Ie)||throwError(Fe),Ie.data||throwError(Fe);var Ue=detectSourceFormat(Ie.data);isSupportedSourceFormat(Ue)||throwError(Fe);var qe,Et=ie[0];if(Et&&Ve===0&&!Ie.dimensions){var At=Et.startIndex;At&&(Ie.data=Et.data.slice(0,At).concat(Ie.data)),qe={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:At,dimensions:Et.metaRawOption.dimensions}}else qe={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:0,dimensions:Ie.dimensions};return createSource(Ie.data,qe,null)})}function isSupportedSourceFormat(oe){return oe===SOURCE_FORMAT_ARRAY_ROWS||oe===SOURCE_FORMAT_OBJECT_ROWS}var UNDEFINED="undefined",CtorUint32Array=typeof Uint32Array===UNDEFINED?Array:Uint32Array,CtorUint16Array=typeof Uint16Array===UNDEFINED?Array:Uint16Array,CtorInt32Array$1=typeof Int32Array===UNDEFINED?Array:Int32Array,CtorFloat64Array=typeof Float64Array===UNDEFINED?Array:Float64Array,dataCtors={float:CtorFloat64Array,int:CtorInt32Array$1,ordinal:Array,number:Array,time:CtorFloat64Array},defaultDimValueGetters;function getIndicesCtor(oe){return oe>65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(oe){var ie=oe.constructor;return ie===Array?oe.slice():new ie(oe)}function prepareStore(oe,ie,le,ue,de){var pe=dataCtors[le||"float"];if(de){var he=oe[ie],_e=he&&he.length;if(_e!==ue){for(var $e=new pe(ue),Ie=0;Ie<_e;Ie++)$e[Ie]=he[Ie];oe[ie]=$e}}else oe[ie]=new pe(ue)}var DataStore=function(){function oe(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=createHashMap()}return oe.prototype.initData=function(ie,le,ue){this._provider=ie,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var de=ie.getSource(),pe=this.defaultDimValueGetter=defaultDimValueGetters[de.sourceFormat];this._dimValueGetter=ue||pe,this._rawExtent=[],shouldRetrieveDataByName(de),this._dimensions=map$2(le,function(he){return{type:he.type,property:he.property}}),this._initDataFromProvider(0,ie.count())},oe.prototype.getProvider=function(){return this._provider},oe.prototype.getSource=function(){return this._provider.getSource()},oe.prototype.ensureCalculationDimension=function(ie,le){var ue=this._calcDimNameToIdx,de=this._dimensions,pe=ue.get(ie);if(pe!=null){if(de[pe].type===le)return pe}else pe=de.length;return de[pe]={type:le},ue.set(ie,pe),this._chunks[pe]=new dataCtors[le||"float"](this._rawCount),this._rawExtent[pe]=getInitialExtent(),pe},oe.prototype.collectOrdinalMeta=function(ie,le){var ue=this._chunks[ie],de=this._dimensions[ie],pe=this._rawExtent,he=de.ordinalOffset||0,_e=ue.length;he===0&&(pe[ie]=getInitialExtent());for(var $e=pe[ie],Ie=he;Ie<_e;Ie++){var Ve=ue[Ie]=le.parseAndCollect(ue[Ie]);isNaN(Ve)||($e[0]=Math.min(Ve,$e[0]),$e[1]=Math.max(Ve,$e[1]))}de.ordinalMeta=le,de.ordinalOffset=_e,de.type="ordinal"},oe.prototype.getOrdinalMeta=function(ie){var le=this._dimensions[ie],ue=le.ordinalMeta;return ue},oe.prototype.getDimensionProperty=function(ie){var le=this._dimensions[ie];return le&&le.property},oe.prototype.appendData=function(ie){var le=this._provider,ue=this.count();le.appendData(ie);var de=le.count();return le.persistent||(de+=ue),ue<de&&this._initDataFromProvider(ue,de,!0),[ue,de]},oe.prototype.appendValues=function(ie,le){for(var ue=this._chunks,de=this._dimensions,pe=de.length,he=this._rawExtent,_e=this.count(),$e=_e+Math.max(ie.length,le||0),Ie=0;Ie<pe;Ie++){var Ve=de[Ie];prepareStore(ue,Ie,Ve.type,$e,!0)}for(var Fe=[],Ue=_e;Ue<$e;Ue++)for(var qe=Ue-_e,Et=0;Et<pe;Et++){var Ve=de[Et],At=defaultDimValueGetters.arrayRows.call(this,ie[qe]||Fe,Ve.property,qe,Et);ue[Et][Ue]=At;var Lt=he[Et];At<Lt[0]&&(Lt[0]=At),At>Lt[1]&&(Lt[1]=At)}return this._rawCount=this._count=$e,{start:_e,end:$e}},oe.prototype._initDataFromProvider=function(ie,le,ue){for(var de=this._provider,pe=this._chunks,he=this._dimensions,_e=he.length,$e=this._rawExtent,Ie=map$2(he,function(vn){return vn.property}),Ve=0;Ve<_e;Ve++){var Fe=he[Ve];$e[Ve]||($e[Ve]=getInitialExtent()),prepareStore(pe,Ve,Fe.type,le,ue)}if(de.fillStorage)de.fillStorage(ie,le,pe,$e);else for(var Ue=[],qe=ie;qe<le;qe++){Ue=de.getItem(qe,Ue);for(var Et=0;Et<_e;Et++){var At=pe[Et],Lt=this._dimValueGetter(Ue,Ie[Et],qe,Et);At[qe]=Lt;var hn=$e[Et];Lt<hn[0]&&(hn[0]=Lt),Lt>hn[1]&&(hn[1]=Lt)}}!de.persistent&&de.clean&&de.clean(),this._rawCount=this._count=le,this._extent=[]},oe.prototype.count=function(){return this._count},oe.prototype.get=function(ie,le){if(!(le>=0&&le<this._count))return NaN;var ue=this._chunks[ie];return ue?ue[this.getRawIndex(le)]:NaN},oe.prototype.getValues=function(ie,le){var ue=[],de=[];if(le==null){le=ie,ie=[];for(var pe=0;pe<this._dimensions.length;pe++)de.push(pe)}else de=ie;for(var pe=0,he=de.length;pe<he;pe++)ue.push(this.get(de[pe],le));return ue},oe.prototype.getByRawIndex=function(ie,le){if(!(le>=0&&le<this._rawCount))return NaN;var ue=this._chunks[ie];return ue?ue[le]:NaN},oe.prototype.getSum=function(ie){var le=this._chunks[ie],ue=0;if(le)for(var de=0,pe=this.count();de<pe;de++){var he=this.get(ie,de);isNaN(he)||(ue+=he)}return ue},oe.prototype.getMedian=function(ie){var le=[];this.each([ie],function(pe){isNaN(pe)||le.push(pe)});var ue=le.sort(function(pe,he){return pe-he}),de=this.count();return de===0?0:de%2===1?ue[(de-1)/2]:(ue[de/2]+ue[de/2-1])/2},oe.prototype.indexOfRawIndex=function(ie){if(ie>=this._rawCount||ie<0)return-1;if(!this._indices)return ie;var le=this._indices,ue=le[ie];if(ue!=null&&ue<this._count&&ue===ie)return ie;for(var de=0,pe=this._count-1;de<=pe;){var he=(de+pe)/2|0;if(le[he]<ie)de=he+1;else if(le[he]>ie)pe=he-1;else return he}return-1},oe.prototype.indicesOfNearest=function(ie,le,ue){var de=this._chunks,pe=de[ie],he=[];if(!pe)return he;ue==null&&(ue=1/0);for(var _e=1/0,$e=-1,Ie=0,Ve=0,Fe=this.count();Ve<Fe;Ve++){var Ue=this.getRawIndex(Ve),qe=le-pe[Ue],Et=Math.abs(qe);Et<=ue&&((Et<_e||Et===_e&&qe>=0&&$e<0)&&(_e=Et,$e=qe,Ie=0),qe===$e&&(he[Ie++]=Ve))}return he.length=Ie,he},oe.prototype.getIndices=function(){var ie,le=this._indices;if(le){var ue=le.constructor,de=this._count;if(ue===Array){ie=new ue(de);for(var pe=0;pe<de;pe++)ie[pe]=le[pe]}else ie=new ue(le.buffer,0,de)}else{var ue=getIndicesCtor(this._rawCount);ie=new ue(this.count());for(var pe=0;pe<ie.length;pe++)ie[pe]=pe}return ie},oe.prototype.filter=function(ie,le){if(!this._count)return this;for(var ue=this.clone(),de=ue.count(),pe=getIndicesCtor(ue._rawCount),he=new pe(de),_e=[],$e=ie.length,Ie=0,Ve=ie[0],Fe=ue._chunks,Ue=0;Ue<de;Ue++){var qe=void 0,Et=ue.getRawIndex(Ue);if($e===0)qe=le(Ue);else if($e===1){var At=Fe[Ve][Et];qe=le(At,Ue)}else{for(var Lt=0;Lt<$e;Lt++)_e[Lt]=Fe[ie[Lt]][Et];_e[Lt]=Ue,qe=le.apply(null,_e)}qe&&(he[Ie++]=Et)}return Ie<de&&(ue._indices=he),ue._count=Ie,ue._extent=[],ue._updateGetRawIdx(),ue},oe.prototype.selectRange=function(ie){var le=this.clone(),ue=le._count;if(!ue)return this;var de=keys(ie),pe=de.length;if(!pe)return this;var he=le.count(),_e=getIndicesCtor(le._rawCount),$e=new _e(he),Ie=0,Ve=de[0],Fe=ie[Ve][0],Ue=ie[Ve][1],qe=le._chunks,Et=!1;if(!le._indices){var At=0;if(pe===1){for(var Lt=qe[de[0]],hn=0;hn<ue;hn++){var vn=Lt[hn];(vn>=Fe&&vn<=Ue||isNaN(vn))&&($e[Ie++]=At),At++}Et=!0}else if(pe===2){for(var Lt=qe[de[0]],_n=qe[de[1]],bn=ie[de[1]][0],Sn=ie[de[1]][1],hn=0;hn<ue;hn++){var vn=Lt[hn],Cn=_n[hn];(vn>=Fe&&vn<=Ue||isNaN(vn))&&(Cn>=bn&&Cn<=Sn||isNaN(Cn))&&($e[Ie++]=At),At++}Et=!0}}if(!Et)if(pe===1)for(var hn=0;hn<he;hn++){var En=le.getRawIndex(hn),vn=qe[de[0]][En];(vn>=Fe&&vn<=Ue||isNaN(vn))&&($e[Ie++]=En)}else for(var hn=0;hn<he;hn++){for(var wn=!0,En=le.getRawIndex(hn),xn=0;xn<pe;xn++){var kn=de[xn],vn=qe[kn][En];(vn<ie[kn][0]||vn>ie[kn][1])&&(wn=!1)}wn&&($e[Ie++]=le.getRawIndex(hn))}return Ie<he&&(le._indices=$e),le._count=Ie,le._extent=[],le._updateGetRawIdx(),le},oe.prototype.map=function(ie,le){var ue=this.clone(ie);return this._updateDims(ue,ie,le),ue},oe.prototype.modify=function(ie,le){this._updateDims(this,ie,le)},oe.prototype._updateDims=function(ie,le,ue){for(var de=ie._chunks,pe=[],he=le.length,_e=ie.count(),$e=[],Ie=ie._rawExtent,Ve=0;Ve<le.length;Ve++)Ie[le[Ve]]=getInitialExtent();for(var Fe=0;Fe<_e;Fe++){for(var Ue=ie.getRawIndex(Fe),qe=0;qe<he;qe++)$e[qe]=de[le[qe]][Ue];$e[he]=Fe;var Et=ue&&ue.apply(null,$e);if(Et!=null){typeof Et!="object"&&(pe[0]=Et,Et=pe);for(var Ve=0;Ve<Et.length;Ve++){var At=le[Ve],Lt=Et[Ve],hn=Ie[At],vn=de[At];vn&&(vn[Ue]=Lt),Lt<hn[0]&&(hn[0]=Lt),Lt>hn[1]&&(hn[1]=Lt)}}}},oe.prototype.lttbDownSample=function(ie,le){var ue=this.clone([ie],!0),de=ue._chunks,pe=de[ie],he=this.count(),_e=0,$e=Math.floor(1/le),Ie=this.getRawIndex(0),Ve,Fe,Ue,qe=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(he/$e)+2)*2,he));qe[_e++]=Ie;for(var Et=1;Et<he-1;Et+=$e){for(var At=Math.min(Et+$e,he-1),Lt=Math.min(Et+$e*2,he),hn=(Lt+At)/2,vn=0,_n=At;_n<Lt;_n++){var bn=this.getRawIndex(_n),Sn=pe[bn];isNaN(Sn)||(vn+=Sn)}vn/=Lt-At;var Cn=Et,En=Math.min(Et+$e,he),wn=Et-1,xn=pe[Ie];Ve=-1,Ue=Cn;for(var kn=-1,Pn=0,_n=Cn;_n<En;_n++){var bn=this.getRawIndex(_n),Sn=pe[bn];if(isNaN(Sn)){Pn++,kn<0&&(kn=bn);continue}Fe=Math.abs((wn-hn)*(Sn-xn)-(wn-_n)*(vn-xn)),Fe>Ve&&(Ve=Fe,Ue=bn)}Pn>0&&Pn<En-Cn&&(qe[_e++]=Math.min(kn,Ue),Ue=Math.max(kn,Ue)),qe[_e++]=Ue,Ie=Ue}return qe[_e++]=this.getRawIndex(he-1),ue._count=_e,ue._indices=qe,ue.getRawIndex=this._getRawIdx,ue},oe.prototype.downSample=function(ie,le,ue,de){for(var pe=this.clone([ie],!0),he=pe._chunks,_e=[],$e=Math.floor(1/le),Ie=he[ie],Ve=this.count(),Fe=pe._rawExtent[ie]=getInitialExtent(),Ue=new(getIndicesCtor(this._rawCount))(Math.ceil(Ve/$e)),qe=0,Et=0;Et<Ve;Et+=$e){$e>Ve-Et&&($e=Ve-Et,_e.length=$e);for(var At=0;At<$e;At++){var Lt=this.getRawIndex(Et+At);_e[At]=Ie[Lt]}var hn=ue(_e),vn=this.getRawIndex(Math.min(Et+de(_e,hn)||0,Ve-1));Ie[vn]=hn,hn<Fe[0]&&(Fe[0]=hn),hn>Fe[1]&&(Fe[1]=hn),Ue[qe++]=vn}return pe._count=qe,pe._indices=Ue,pe._updateGetRawIdx(),pe},oe.prototype.each=function(ie,le){if(this._count)for(var ue=ie.length,de=this._chunks,pe=0,he=this.count();pe<he;pe++){var _e=this.getRawIndex(pe);switch(ue){case 0:le(pe);break;case 1:le(de[ie[0]][_e],pe);break;case 2:le(de[ie[0]][_e],de[ie[1]][_e],pe);break;default:for(var $e=0,Ie=[];$e<ue;$e++)Ie[$e]=de[ie[$e]][_e];Ie[$e]=pe,le.apply(null,Ie)}}},oe.prototype.getDataExtent=function(ie){var le=this._chunks[ie],ue=getInitialExtent();if(!le)return ue;var de=this.count(),pe=!this._indices,he;if(pe)return this._rawExtent[ie].slice();if(he=this._extent[ie],he)return he.slice();he=ue;for(var _e=he[0],$e=he[1],Ie=0;Ie<de;Ie++){var Ve=this.getRawIndex(Ie),Fe=le[Ve];Fe<_e&&(_e=Fe),Fe>$e&&($e=Fe)}return he=[_e,$e],this._extent[ie]=he,he},oe.prototype.getRawDataItem=function(ie){var le=this.getRawIndex(ie);if(this._provider.persistent)return this._provider.getItem(le);for(var ue=[],de=this._chunks,pe=0;pe<de.length;pe++)ue.push(de[pe][le]);return ue},oe.prototype.clone=function(ie,le){var ue=new oe,de=this._chunks,pe=ie&&reduce(ie,function(_e,$e){return _e[$e]=!0,_e},{});if(pe)for(var he=0;he<de.length;he++)ue._chunks[he]=pe[he]?cloneChunk(de[he]):de[he];else ue._chunks=de;return this._copyCommonProps(ue),le||(ue._indices=this._cloneIndices()),ue._updateGetRawIdx(),ue},oe.prototype._copyCommonProps=function(ie){ie._count=this._count,ie._rawCount=this._rawCount,ie._provider=this._provider,ie._dimensions=this._dimensions,ie._extent=clone$3(this._extent),ie._rawExtent=clone$3(this._rawExtent)},oe.prototype._cloneIndices=function(){if(this._indices){var ie=this._indices.constructor,le=void 0;if(ie===Array){var ue=this._indices.length;le=new ie(ue);for(var de=0;de<ue;de++)le[de]=this._indices[de]}else le=new ie(this._indices);return le}return null},oe.prototype._getRawIdxIdentity=function(ie){return ie},oe.prototype._getRawIdx=function(ie){return ie<this._count&&ie>=0?this._indices[ie]:-1},oe.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},oe.internalField=function(){function ie(le,ue,de,pe){return parseDataValue(le[pe],this._dimensions[pe])}defaultDimValueGetters={arrayRows:ie,objectRows:function(le,ue,de,pe){return parseDataValue(le[ue],this._dimensions[pe])},keyedColumns:ie,original:function(le,ue,de,pe){var he=le&&(le.value==null?le:le.value);return parseDataValue(he instanceof Array?he[pe]:he,this._dimensions[pe])},typedArray:function(le,ue,de,pe){return le[pe]}}}(),oe}();const DataStore$1=DataStore;var SourceManager=function(){function oe(ie){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=ie}return oe.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},oe.prototype._setLocalSource=function(ie,le){this._sourceList=ie,this._upstreamSignList=le,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},oe.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},oe.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},oe.prototype._createSource=function(){this._setLocalSource([],[]);var ie=this._sourceHost,le=this._getUpstreamSourceManagers(),ue=!!le.length,de,pe;if(isSeries(ie)){var he=ie,_e=void 0,$e=void 0,Ie=void 0;if(ue){var Ve=le[0];Ve.prepareSource(),Ie=Ve.getSource(),_e=Ie.data,$e=Ie.sourceFormat,pe=[Ve._getVersionSign()]}else _e=he.get("data",!0),$e=isTypedArray(_e)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,pe=[];var Fe=this._getSourceMetaRawOption()||{},Ue=Ie&&Ie.metaRawOption||{},qe=retrieve2(Fe.seriesLayoutBy,Ue.seriesLayoutBy)||null,Et=retrieve2(Fe.sourceHeader,Ue.sourceHeader),At=retrieve2(Fe.dimensions,Ue.dimensions),Lt=qe!==Ue.seriesLayoutBy||!!Et!=!!Ue.sourceHeader||At;de=Lt?[createSource(_e,{seriesLayoutBy:qe,sourceHeader:Et,dimensions:At},$e)]:[]}else{var hn=ie;if(ue){var vn=this._applyTransform(le);de=vn.sourceList,pe=vn.upstreamSignList}else{var _n=hn.get("source",!0);de=[createSource(_n,this._getSourceMetaRawOption(),null)],pe=[]}}this._setLocalSource(de,pe)},oe.prototype._applyTransform=function(ie){var le=this._sourceHost,ue=le.get("transform",!0),de=le.get("fromTransformResult",!0);if(de!=null){var pe="";ie.length!==1&&doThrow(pe)}var he,_e=[],$e=[];return each$c(ie,function(Ie){Ie.prepareSource();var Ve=Ie.getSource(de||0),Fe="";de!=null&&!Ve&&doThrow(Fe),_e.push(Ve),$e.push(Ie._getVersionSign())}),ue?he=applyDataTransform(ue,_e,{datasetIndex:le.componentIndex}):de!=null&&(he=[cloneSourceShallow(_e[0])]),{sourceList:he,upstreamSignList:$e}},oe.prototype._isDirty=function(){if(this._dirty)return!0;for(var ie=this._getUpstreamSourceManagers(),le=0;le<ie.length;le++){var ue=ie[le];if(ue._isDirty()||this._upstreamSignList[le]!==ue._getVersionSign())return!0}},oe.prototype.getSource=function(ie){ie=ie||0;var le=this._sourceList[ie];if(!le){var ue=this._getUpstreamSourceManagers();return ue[0]&&ue[0].getSource(ie)}return le},oe.prototype.getSharedDataStore=function(ie){var le=ie.makeStoreSchema();return this._innerGetDataStore(le.dimensions,ie.source,le.hash)},oe.prototype._innerGetDataStore=function(ie,le,ue){var de=0,pe=this._storeList,he=pe[de];he||(he=pe[de]={});var _e=he[ue];if(!_e){var $e=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&$e?_e=$e._innerGetDataStore(ie,le,ue):(_e=new DataStore$1,_e.initData(new DefaultDataProvider(le,ie.length),ie)),he[ue]=_e}return _e},oe.prototype._getUpstreamSourceManagers=function(){var ie=this._sourceHost;if(isSeries(ie)){var le=querySeriesUpstreamDatasetModel(ie);return le?[le.getSourceManager()]:[]}else return map$2(queryDatasetUpstreamDatasetModels(ie),function(ue){return ue.getSourceManager()})},oe.prototype._getSourceMetaRawOption=function(){var ie=this._sourceHost,le,ue,de;if(isSeries(ie))le=ie.get("seriesLayoutBy",!0),ue=ie.get("sourceHeader",!0),de=ie.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var pe=ie;le=pe.get("seriesLayoutBy",!0),ue=pe.get("sourceHeader",!0),de=pe.get("dimensions",!0)}return{seriesLayoutBy:le,sourceHeader:ue,dimensions:de}},oe}();function isSeries(oe){return oe.mainType==="series"}function doThrow(oe){throw new Error(oe)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle(oe,ie){var le=oe.color||"#6e7079",ue=oe.fontSize||12,de=oe.fontWeight||"400",pe=oe.color||"#464646",he=oe.fontSize||14,_e=oe.fontWeight||"900";return ie==="html"?{nameStyle:"font-size:"+encodeHTML(ue+"")+"px;color:"+encodeHTML(le)+";font-weight:"+encodeHTML(de+""),valueStyle:"font-size:"+encodeHTML(he+"")+"px;color:"+encodeHTML(pe)+";font-weight:"+encodeHTML(_e+"")}:{nameStyle:{fontSize:ue,fill:le,fontWeight:de},valueStyle:{fontSize:he,fill:pe,fontWeight:_e}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",`
`,`
`,`
`];function createTooltipMarkup(oe,ie){return ie.type=oe,ie}function isSectionFragment(oe){return oe.type==="section"}function getBuilder(oe){return isSectionFragment(oe)?buildSection:buildNameValue}function getBlockGapLevel(oe){if(isSectionFragment(oe)){var ie=0,le=oe.blocks.length,ue=le>1||le>0&&!oe.noHeader;return each$c(oe.blocks,function(de){var pe=getBlockGapLevel(de);pe>=ie&&(ie=pe+ +(ue&&(!pe||isSectionFragment(de)&&!de.noHeader)))}),ie}return 0}function buildSection(oe,ie,le,ue){var de=ie.noHeader,pe=getGap(getBlockGapLevel(ie)),he=[],_e=ie.blocks||[];assert(!_e||isArray$1(_e)),_e=_e||[];var $e=oe.orderMode;if(ie.sortBlocks&&$e){_e=_e.slice();var Ie={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(Ie,$e)){var Ve=new SortOrderComparator(Ie[$e],null);_e.sort(function(Et,At){return Ve.evaluate(Et.sortParam,At.sortParam)})}else $e==="seriesDesc"&&_e.reverse()}each$c(_e,function(Et,At){var Lt=ie.valueFormatter,hn=getBuilder(Et)(Lt?extend(extend({},oe),{valueFormatter:Lt}):oe,Et,At>0?pe.html:0,ue);hn!=null&&he.push(hn)});var Fe=oe.renderMode==="richText"?he.join(pe.richText):wrapBlockHTML(he.join(""),de?le:pe.html);if(de)return Fe;var Ue=makeValueReadable(ie.header,"ordinal",oe.useUTC),qe=getTooltipTextStyle(ue,oe.renderMode).nameStyle;return oe.renderMode==="richText"?wrapInlineNameRichText(oe,Ue,qe)+pe.richText+Fe:wrapBlockHTML('<div style="'+qe+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+encodeHTML(Ue)+"</div>"+Fe,le)}function buildNameValue(oe,ie,le,ue){var de=oe.renderMode,pe=ie.noName,he=ie.noValue,_e=!ie.markerType,$e=ie.name,Ie=oe.useUTC,Ve=ie.valueFormatter||oe.valueFormatter||function(bn){return bn=isArray$1(bn)?bn:[bn],map$2(bn,function(Sn,Cn){return makeValueReadable(Sn,isArray$1(qe)?qe[Cn]:qe,Ie)})};if(!(pe&&he)){var Fe=_e?"":oe.markupStyleCreator.makeTooltipMarker(ie.markerType,ie.markerColor||"#333",de),Ue=pe?"":makeValueReadable($e,"ordinal",Ie),qe=ie.valueType,Et=he?[]:Ve(ie.value),At=!_e||!pe,Lt=!_e&&pe,hn=getTooltipTextStyle(ue,de),vn=hn.nameStyle,_n=hn.valueStyle;return de==="richText"?(_e?"":Fe)+(pe?"":wrapInlineNameRichText(oe,Ue,vn))+(he?"":wrapInlineValueRichText(oe,Et,At,Lt,_n)):wrapBlockHTML((_e?"":Fe)+(pe?"":wrapInlineNameHTML(Ue,!_e,vn))+(he?"":wrapInlineValueHTML(Et,At,Lt,_n)),le)}}function buildTooltipMarkup(oe,ie,le,ue,de,pe){if(oe){var he=getBuilder(oe),_e={useUTC:de,renderMode:le,orderMode:ue,markupStyleCreator:ie,valueFormatter:oe.valueFormatter};return he(_e,oe,0,pe)}}function getGap(oe){return{html:HTML_GAPS[oe],richText:RICH_TEXT_GAPS[oe]}}function wrapBlockHTML(oe,ie){var le='<div style="clear:both"></div>',ue="margin: "+ie+"px 0 0";return'<div style="'+ue+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+oe+le+"</div>"}function wrapInlineNameHTML(oe,ie,le){var ue=ie?"margin-left:2px":"";return'<span style="'+le+";"+ue+'">'+encodeHTML(oe)+"</span>"}function wrapInlineValueHTML(oe,ie,le,ue){var de=le?"10px":"20px",pe=ie?"float:right;margin-left:"+de:"";return oe=isArray$1(oe)?oe:[oe],'<span style="'+pe+";"+ue+'">'+map$2(oe,function(he){return encodeHTML(he)}).join("&nbsp;&nbsp;")+"</span>"}function wrapInlineNameRichText(oe,ie,le){return oe.markupStyleCreator.wrapRichTextStyle(ie,le)}function wrapInlineValueRichText(oe,ie,le,ue,de){var pe=[de],he=ue?10:20;return le&&pe.push({padding:[0,0,0,he],align:"right"}),oe.markupStyleCreator.wrapRichTextStyle(isArray$1(ie)?ie.join(" "):ie,pe)}function retrieveVisualColorForTooltipMarker(oe,ie){var le=oe.getData().getItemVisual(ie,"style"),ue=le[oe.visualDrawType];return convertToColorString(ue)}function getPaddingFromTooltipModel(oe,ie){var le=oe.get("padding");return le??(ie==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function oe(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return oe.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},oe.prototype.makeTooltipMarker=function(ie,le,ue){var de=ue==="richText"?this._generateStyleName():null,pe=getTooltipMarker({color:le,type:ie,renderMode:ue,markerId:de});return isString(pe)?pe:(this.richTextStyles[de]=pe.style,pe.content)},oe.prototype.wrapRichTextStyle=function(ie,le){var ue={};isArray$1(le)?each$c(le,function(pe){return extend(ue,pe)}):extend(ue,le);var de=this._generateStyleName();return this.richTextStyles[de]=ue,"{"+de+"|"+ie+"}"},oe}();function defaultSeriesFormatTooltip(oe){var ie=oe.series,le=oe.dataIndex,ue=oe.multipleSeries,de=ie.getData(),pe=de.mapDimensionsAll("defaultedTooltip"),he=pe.length,_e=ie.getRawValue(le),$e=isArray$1(_e),Ie=retrieveVisualColorForTooltipMarker(ie,le),Ve,Fe,Ue,qe;if(he>1||$e&&!he){var Et=formatTooltipArrayValue(_e,ie,le,pe,Ie);Ve=Et.inlineValues,Fe=Et.inlineValueTypes,Ue=Et.blocks,qe=Et.inlineValues[0]}else if(he){var At=de.getDimensionInfo(pe[0]);qe=Ve=retrieveRawValue(de,le,pe[0]),Fe=At.type}else qe=Ve=$e?_e[0]:_e;var Lt=isNameSpecified(ie),hn=Lt&&ie.name||"",vn=de.getName(le),_n=ue?hn:vn;return createTooltipMarkup("section",{header:hn,noHeader:ue||!Lt,sortParam:qe,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:Ie,name:_n,noName:!trim$1(_n),value:Ve,valueType:Fe})].concat(Ue||[])})}function formatTooltipArrayValue(oe,ie,le,ue,de){var pe=ie.getData(),he=reduce(oe,function(Fe,Ue,qe){var Et=pe.getDimensionInfo(qe);return Fe=Fe||Et&&Et.tooltip!==!1&&Et.displayName!=null},!1),_e=[],$e=[],Ie=[];ue.length?each$c(ue,function(Fe){Ve(retrieveRawValue(pe,le,Fe),Fe)}):each$c(oe,Ve);function Ve(Fe,Ue){var qe=pe.getDimensionInfo(Ue);!qe||qe.otherDims.tooltip===!1||(he?Ie.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:de,name:qe.displayName,value:Fe,valueType:qe.type})):(_e.push(Fe),$e.push(qe.type)))}return{inlineValues:_e,inlineValueTypes:$e,blocks:Ie}}var inner$b=makeInner();function getSelectionKey(oe,ie){return oe.getName(ie)||oe.getId(ie)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le._selectedDataIndicesMap={},le}return ie.prototype.init=function(le,ue,de){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(le,de);var pe=inner$b(this).sourceManager=new SourceManager(this);pe.prepareSource();var he=this.getInitialData(le,de);wrapData(he,this),this.dataTask.context.data=he,inner$b(this).dataBeforeProcessed=he,autoSeriesName(this),this._initSelectedMapFromData(he)},ie.prototype.mergeDefaultAndTheme=function(le,ue){var de=fetchLayoutMode(this),pe=de?getLayoutParams(le):{},he=this.subType;ComponentModel$1.hasClass(he)&&(he+="Series"),merge(le,ue.getTheme().get(this.subType)),merge(le,this.getDefaultOption()),defaultEmphasis(le,"label",["show"]),this.fillDataTextStyle(le.data),de&&mergeLayoutParam(le,pe,de)},ie.prototype.mergeOption=function(le,ue){le=merge(this.option,le,!0),this.fillDataTextStyle(le.data);var de=fetchLayoutMode(this);de&&mergeLayoutParam(this.option,le,de);var pe=inner$b(this).sourceManager;pe.dirty(),pe.prepareSource();var he=this.getInitialData(le,ue);wrapData(he,this),this.dataTask.dirty(),this.dataTask.context.data=he,inner$b(this).dataBeforeProcessed=he,autoSeriesName(this),this._initSelectedMapFromData(he)},ie.prototype.fillDataTextStyle=function(le){if(le&&!isTypedArray(le))for(var ue=["show"],de=0;de<le.length;de++)le[de]&&le[de].label&&defaultEmphasis(le[de],"label",ue)},ie.prototype.getInitialData=function(le,ue){},ie.prototype.appendData=function(le){var ue=this.getRawData();ue.appendData(le.data)},ie.prototype.getData=function(le){var ue=getCurrentTask(this);if(ue){var de=ue.context.data;return le==null?de:de.getLinkedData(le)}else return inner$b(this).data},ie.prototype.getAllData=function(){var le=this.getData();return le&&le.getLinkedDataAll?le.getLinkedDataAll():[{data:le}]},ie.prototype.setData=function(le){var ue=getCurrentTask(this);if(ue){var de=ue.context;de.outputData=le,ue!==this.dataTask&&(de.data=le)}inner$b(this).data=le},ie.prototype.getEncode=function(){var le=this.get("encode",!0);if(le)return createHashMap(le)},ie.prototype.getSourceManager=function(){return inner$b(this).sourceManager},ie.prototype.getSource=function(){return this.getSourceManager().getSource()},ie.prototype.getRawData=function(){return inner$b(this).dataBeforeProcessed},ie.prototype.getColorBy=function(){var le=this.get("colorBy");return le||"series"},ie.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},ie.prototype.getBaseAxis=function(){var le=this.coordinateSystem;return le&&le.getBaseAxis&&le.getBaseAxis()},ie.prototype.formatTooltip=function(le,ue,de){return defaultSeriesFormatTooltip({series:this,dataIndex:le,multipleSeries:ue})},ie.prototype.isAnimationEnabled=function(){var le=this.ecModel;if(env$1.node&&!(le&&le.ssr))return!1;var ue=this.getShallow("animation");return ue&&this.getData().count()>this.getShallow("animationThreshold")&&(ue=!1),!!ue},ie.prototype.restoreData=function(){this.dataTask.dirty()},ie.prototype.getColorFromPalette=function(le,ue,de){var pe=this.ecModel,he=PaletteMixin.prototype.getColorFromPalette.call(this,le,ue,de);return he||(he=pe.getColorFromPalette(le,ue,de)),he},ie.prototype.coordDimToDataDim=function(le){return this.getRawData().mapDimensionsAll(le)},ie.prototype.getProgressive=function(){return this.get("progressive")},ie.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},ie.prototype.select=function(le,ue){this._innerSelect(this.getData(ue),le)},ie.prototype.unselect=function(le,ue){var de=this.option.selectedMap;if(de){var pe=this.option.selectedMode,he=this.getData(ue);if(pe==="series"||de==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var _e=0;_e<le.length;_e++){var $e=le[_e],Ie=getSelectionKey(he,$e);de[Ie]=!1,this._selectedDataIndicesMap[Ie]=-1}}},ie.prototype.toggleSelect=function(le,ue){for(var de=[],pe=0;pe<le.length;pe++)de[0]=le[pe],this.isSelected(le[pe],ue)?this.unselect(de,ue):this.select(de,ue)},ie.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var le=this._selectedDataIndicesMap,ue=keys(le),de=[],pe=0;pe<ue.length;pe++){var he=le[ue[pe]];he>=0&&de.push(he)}return de},ie.prototype.isSelected=function(le,ue){var de=this.option.selectedMap;if(!de)return!1;var pe=this.getData(ue);return(de==="all"||de[getSelectionKey(pe,le)])&&!pe.getItemModel(le).get(["select","disabled"])},ie.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var le=this.option.universalTransition;return le?le===!0?!0:le&&le.enabled:!1},ie.prototype._innerSelect=function(le,ue){var de,pe,he=this.option,_e=he.selectedMode,$e=ue.length;if(!(!_e||!$e)){if(_e==="series")he.selectedMap="all";else if(_e==="multiple"){isObject$3(he.selectedMap)||(he.selectedMap={});for(var Ie=he.selectedMap,Ve=0;Ve<$e;Ve++){var Fe=ue[Ve],Ue=getSelectionKey(le,Fe);Ie[Ue]=!0,this._selectedDataIndicesMap[Ue]=le.getRawIndex(Fe)}}else if(_e==="single"||_e===!0){var qe=ue[$e-1],Ue=getSelectionKey(le,qe);he.selectedMap=(de={},de[Ue]=!0,de),this._selectedDataIndicesMap=(pe={},pe[Ue]=le.getRawIndex(qe),pe)}}},ie.prototype._initSelectedMapFromData=function(le){if(!this.option.selectedMap){var ue=[];le.hasItemOption&&le.each(function(de){var pe=le.getRawDataItem(de);pe&&pe.selected&&ue.push(de)}),ue.length>0&&this._innerSelect(le,ue)}},ie.registerClass=function(le){return ComponentModel$1.registerClass(le)},ie.protoInitialize=function(){var le=ie.prototype;le.type="series.__base__",le.seriesIndex=0,le.ignoreStyleOnData=!1,le.hasSymbolVisual=!1,le.defaultSymbol="circle",le.visualStyleAccessPath="itemStyle",le.visualDrawType="fill"}(),ie}(ComponentModel$1);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel$1);function autoSeriesName(oe){var ie=oe.name;isNameSpecified(oe)||(oe.name=getSeriesAutoName(oe)||ie)}function getSeriesAutoName(oe){var ie=oe.getRawData(),le=ie.mapDimensionsAll("seriesName"),ue=[];return each$c(le,function(de){var pe=ie.getDimensionInfo(de);pe.displayName&&ue.push(pe.displayName)}),ue.join(" ")}function dataTaskCount(oe){return oe.model.getRawData().count()}function dataTaskReset(oe){var ie=oe.model;return ie.setData(ie.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(oe,ie){ie.outputData&&oe.end>ie.outputData.count()&&ie.model.getRawData().cloneShallow(ie.outputData)}function wrapData(oe,ie){each$c(concatArray(oe.CHANGABLE_METHODS,oe.DOWNSAMPLE_METHODS),function(le){oe.wrapMethod(le,curry$1(onDataChange,ie))})}function onDataChange(oe,ie){var le=getCurrentTask(oe);return le&&le.setOutputEnd((ie||this).count()),ie}function getCurrentTask(oe){var ie=(oe.ecModel||{}).scheduler,le=ie&&ie.getPipeline(oe.uid);if(le){var ue=le.currentTask;if(ue){var de=ue.agentStubMap;de&&(ue=de.get(oe.uid))}return ue}}const SeriesModel$1=SeriesModel;var ComponentView=function(){function oe(){this.group=new Group$3,this.uid=getUID("viewComponent")}return oe.prototype.init=function(ie,le){},oe.prototype.render=function(ie,le,ue,de){},oe.prototype.dispose=function(ie,le){},oe.prototype.updateView=function(ie,le,ue,de){},oe.prototype.updateLayout=function(ie,le,ue,de){},oe.prototype.updateVisual=function(ie,le,ue,de){},oe.prototype.toggleBlurSeries=function(ie,le,ue){},oe.prototype.eachRendered=function(ie){var le=this.group;le&&le.traverse(ie)},oe}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);const ComponentView$1=ComponentView;function createRenderPlanner(){var oe=makeInner();return function(ie){var le=oe(ie),ue=ie.pipelineContext,de=!!le.large,pe=!!le.progressiveRender,he=le.large=!!(ue&&ue.large),_e=le.progressiveRender=!!(ue&&ue.progressiveRender);return(de!==he||pe!==_e)&&"reset"}}var inner$a=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function oe(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return oe.prototype.init=function(ie,le){},oe.prototype.render=function(ie,le,ue,de){},oe.prototype.highlight=function(ie,le,ue,de){var pe=ie.getData(de&&de.dataType);pe&&toggleHighlight(pe,de,"emphasis")},oe.prototype.downplay=function(ie,le,ue,de){var pe=ie.getData(de&&de.dataType);pe&&toggleHighlight(pe,de,"normal")},oe.prototype.remove=function(ie,le){this.group.removeAll()},oe.prototype.dispose=function(ie,le){},oe.prototype.updateView=function(ie,le,ue,de){this.render(ie,le,ue,de)},oe.prototype.updateLayout=function(ie,le,ue,de){this.render(ie,le,ue,de)},oe.prototype.updateVisual=function(ie,le,ue,de){this.render(ie,le,ue,de)},oe.prototype.eachRendered=function(ie){traverseElements(this.group,ie)},oe.markUpdateMethod=function(ie,le){inner$a(ie).updateMethod=le},oe.protoInitialize=function(){var ie=oe.prototype;ie.type="chart"}(),oe}();function elSetState(oe,ie,le){oe&&isHighDownDispatcher(oe)&&(ie==="emphasis"?enterEmphasis:leaveEmphasis)(oe,le)}function toggleHighlight(oe,ie,le){var ue=queryDataIndex(oe,ie),de=ie&&ie.highlightKey!=null?getHighlightDigit(ie.highlightKey):null;ue!=null?each$c(normalizeToArray(ue),function(pe){elSetState(oe.getItemGraphicEl(pe),le,de)}):oe.eachItemGraphicEl(function(pe){elSetState(pe,le,de)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(oe){return renderPlanner(oe.model)}function renderTaskReset(oe){var ie=oe.model,le=oe.ecModel,ue=oe.api,de=oe.payload,pe=ie.pipelineContext.progressiveRender,he=oe.view,_e=de&&inner$a(de).updateMethod,$e=pe?"incrementalPrepareRender":_e&&he[_e]?_e:"render";return $e!=="render"&&he[$e](ie,le,ue,de),progressMethodMap[$e]}var progressMethodMap={incrementalPrepareRender:{progress:function(oe,ie){ie.view.incrementalRender(oe,ie.model,ie.ecModel,ie.api,ie.payload)}},render:{forceFirstProgress:!0,progress:function(oe,ie){ie.view.render(ie.model,ie.ecModel,ie.api,ie.payload)}}};const ChartView$1=ChartView;var ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle(oe,ie,le){var ue,de=0,pe=0,he=null,_e,$e,Ie,Ve;ie=ie||0;function Fe(){pe=new Date().getTime(),he=null,oe.apply($e,Ie||[])}var Ue=function(){for(var qe=[],Et=0;Et<arguments.length;Et++)qe[Et]=arguments[Et];ue=new Date().getTime(),$e=this,Ie=qe;var At=Ve||ie,Lt=Ve||le;Ve=null,_e=ue-(Lt?de:pe)-At,clearTimeout(he),Lt?he=setTimeout(Fe,At):_e>=0?Fe():he=setTimeout(Fe,-_e),de=ue};return Ue.clear=function(){he&&(clearTimeout(he),he=null)},Ue.debounceNextCall=function(qe){Ve=qe},Ue}function createOrUpdate(oe,ie,le,ue){var de=oe[ie];if(de){var pe=de[ORIGIN_METHOD]||de,he=de[THROTTLE_TYPE],_e=de[RATE];if(_e!==le||he!==ue){if(le==null||!ue)return oe[ie]=pe;de=oe[ie]=throttle(pe,le,ue==="debounce"),de[ORIGIN_METHOD]=pe,de[THROTTLE_TYPE]=ue,de[RATE]=le}return de}}function clear$1(oe,ie){var le=oe[ie];le&&le[ORIGIN_METHOD]&&(le.clear&&le.clear(),oe[ie]=le[ORIGIN_METHOD])}var inner$9=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(oe,ie){var le=oe.visualStyleMapper||defaultStyleMappers[ie];return le||(console.warn("Unknown style type '"+ie+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(oe,ie){var le=oe.visualDrawType||defaultColorKey[ie];return le||(console.warn("Unknown style type '"+ie+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(oe,ie){var le=oe.getData(),ue=oe.visualStyleAccessPath||"itemStyle",de=oe.getModel(ue),pe=getStyleMapper(oe,ue),he=pe(de),_e=de.getShallow("decal");_e&&(le.setVisual("decal",_e),_e.dirty=!0);var $e=getDefaultColorKey(oe,ue),Ie=he[$e],Ve=isFunction(Ie)?Ie:null,Fe=he.fill==="auto"||he.stroke==="auto";if(!he[$e]||Ve||Fe){var Ue=oe.getColorFromPalette(oe.name,null,ie.getSeriesCount());he[$e]||(he[$e]=Ue,le.setVisual("colorFromPalette",!0)),he.fill=he.fill==="auto"||isFunction(he.fill)?Ue:he.fill,he.stroke=he.stroke==="auto"||isFunction(he.stroke)?Ue:he.stroke}if(le.setVisual("style",he),le.setVisual("drawType",$e),!ie.isSeriesFiltered(oe)&&Ve)return le.setVisual("colorFromPalette",!1),{dataEach:function(qe,Et){var At=oe.getDataParams(Et),Lt=extend({},he);Lt[$e]=Ve(At),qe.setItemVisual(Et,"style",Lt)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(oe,ie){if(!(oe.ignoreStyleOnData||ie.isSeriesFiltered(oe))){var le=oe.getData(),ue=oe.visualStyleAccessPath||"itemStyle",de=getStyleMapper(oe,ue),pe=le.getVisual("drawType");return{dataEach:le.hasItemOption?function(he,_e){var $e=he.getRawDataItem(_e);if($e&&$e[ue]){sharedModel.option=$e[ue];var Ie=de(sharedModel),Ve=he.ensureUniqueItemVisual(_e,"style");extend(Ve,Ie),sharedModel.option.decal&&(he.setItemVisual(_e,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),pe in Ie&&he.setItemVisual(_e,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(oe){var ie=createHashMap();oe.eachSeries(function(le){var ue=le.getColorBy();if(!le.isColorBySeries()){var de=le.type+"-"+ue,pe=ie.get(de);pe||(pe={},ie.set(de,pe)),inner$9(le).scope=pe}}),oe.eachSeries(function(le){if(!(le.isColorBySeries()||oe.isSeriesFiltered(le))){var ue=le.getRawData(),de={},pe=le.getData(),he=inner$9(le).scope,_e=le.visualStyleAccessPath||"itemStyle",$e=getDefaultColorKey(le,_e);pe.each(function(Ie){var Ve=pe.getRawIndex(Ie);de[Ve]=Ie}),ue.each(function(Ie){var Ve=de[Ie],Fe=pe.getItemVisual(Ve,"colorFromPalette");if(Fe){var Ue=pe.ensureUniqueItemVisual(Ve,"style"),qe=ue.getName(Ie)||Ie+"",Et=ue.count();Ue[$e]=le.getColorFromPalette(qe,he,Et)}})}})}},PI$1=Math.PI;function defaultLoading(oe,ie){ie=ie||{},defaults(ie,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var le=new Group$3,ue=new Rect$2({style:{fill:ie.maskColor},zlevel:ie.zlevel,z:1e4});le.add(ue);var de=new ZRText$1({style:{text:ie.text,fill:ie.textColor,fontSize:ie.fontSize,fontWeight:ie.fontWeight,fontStyle:ie.fontStyle,fontFamily:ie.fontFamily},zlevel:ie.zlevel,z:10001}),pe=new Rect$2({style:{fill:"none"},textContent:de,textConfig:{position:"right",distance:10},zlevel:ie.zlevel,z:10001});le.add(pe);var he;return ie.showSpinner&&(he=new Arc$1({shape:{startAngle:-PI$1/2,endAngle:-PI$1/2+.1,r:ie.spinnerRadius},style:{stroke:ie.color,lineCap:"round",lineWidth:ie.lineWidth},zlevel:ie.zlevel,z:10001}),he.animateShape(!0).when(1e3,{endAngle:PI$1*3/2}).start("circularInOut"),he.animateShape(!0).when(1e3,{startAngle:PI$1*3/2}).delay(300).start("circularInOut"),le.add(he)),le.resize=function(){var _e=de.getBoundingRect().width,$e=ie.showSpinner?ie.spinnerRadius:0,Ie=(oe.getWidth()-$e*2-(ie.showSpinner&&_e?10:0)-_e)/2-(ie.showSpinner&&_e?0:5+_e/2)+(ie.showSpinner?0:_e/2)+(_e?0:$e),Ve=oe.getHeight()/2;ie.showSpinner&&he.setShape({cx:Ie,cy:Ve}),pe.setShape({x:Ie-$e,y:Ve-$e,width:$e*2,height:$e*2}),ue.setShape({x:0,y:0,width:oe.getWidth(),height:oe.getHeight()})},le.resize(),le}var Scheduler=function(){function oe(ie,le,ue,de){this._stageTaskMap=createHashMap(),this.ecInstance=ie,this.api=le,ue=this._dataProcessorHandlers=ue.slice(),de=this._visualHandlers=de.slice(),this._allHandlers=ue.concat(de)}return oe.prototype.restoreData=function(ie,le){ie.restoreData(le),this._stageTaskMap.each(function(ue){var de=ue.overallTask;de&&de.dirty()})},oe.prototype.getPerformArgs=function(ie,le){if(ie.__pipeline){var ue=this._pipelineMap.get(ie.__pipeline.id),de=ue.context,pe=!le&&ue.progressiveEnabled&&(!de||de.progressiveRender)&&ie.__idxInPipeline>ue.blockIndex,he=pe?ue.step:null,_e=de&&de.modDataCount,$e=_e!=null?Math.ceil(_e/he):null;return{step:he,modBy:$e,modDataCount:_e}}},oe.prototype.getPipeline=function(ie){return this._pipelineMap.get(ie)},oe.prototype.updateStreamModes=function(ie,le){var ue=this._pipelineMap.get(ie.uid),de=ie.getData(),pe=de.count(),he=ue.progressiveEnabled&&le.incrementalPrepareRender&&pe>=ue.threshold,_e=ie.get("large")&&pe>=ie.get("largeThreshold"),$e=ie.get("progressiveChunkMode")==="mod"?pe:null;ie.pipelineContext=ue.context={progressiveRender:he,modDataCount:$e,large:_e}},oe.prototype.restorePipelines=function(ie){var le=this,ue=le._pipelineMap=createHashMap();ie.eachSeries(function(de){var pe=de.getProgressive(),he=de.uid;ue.set(he,{id:he,head:null,tail:null,threshold:de.getProgressiveThreshold(),progressiveEnabled:pe&&!(de.preventIncremental&&de.preventIncremental()),blockIndex:-1,step:Math.round(pe||700),count:0}),le._pipe(de,de.dataTask)})},oe.prototype.prepareStageTasks=function(){var ie=this._stageTaskMap,le=this.api.getModel(),ue=this.api;each$c(this._allHandlers,function(de){var pe=ie.get(de.uid)||ie.set(de.uid,{}),he="";assert(!(de.reset&&de.overallReset),he),de.reset&&this._createSeriesStageTask(de,pe,le,ue),de.overallReset&&this._createOverallStageTask(de,pe,le,ue)},this)},oe.prototype.prepareView=function(ie,le,ue,de){var pe=ie.renderTask,he=pe.context;he.model=le,he.ecModel=ue,he.api=de,pe.__block=!ie.incrementalPrepareRender,this._pipe(le,pe)},oe.prototype.performDataProcessorTasks=function(ie,le){this._performStageTasks(this._dataProcessorHandlers,ie,le,{block:!0})},oe.prototype.performVisualTasks=function(ie,le,ue){this._performStageTasks(this._visualHandlers,ie,le,ue)},oe.prototype._performStageTasks=function(ie,le,ue,de){de=de||{};var pe=!1,he=this;each$c(ie,function($e,Ie){if(!(de.visualType&&de.visualType!==$e.visualType)){var Ve=he._stageTaskMap.get($e.uid),Fe=Ve.seriesTaskMap,Ue=Ve.overallTask;if(Ue){var qe,Et=Ue.agentStubMap;Et.each(function(Lt){_e(de,Lt)&&(Lt.dirty(),qe=!0)}),qe&&Ue.dirty(),he.updatePayload(Ue,ue);var At=he.getPerformArgs(Ue,de.block);Et.each(function(Lt){Lt.perform(At)}),Ue.perform(At)&&(pe=!0)}else Fe&&Fe.each(function(Lt,hn){_e(de,Lt)&&Lt.dirty();var vn=he.getPerformArgs(Lt,de.block);vn.skip=!$e.performRawSeries&&le.isSeriesFiltered(Lt.context.model),he.updatePayload(Lt,ue),Lt.perform(vn)&&(pe=!0)})}});function _e($e,Ie){return $e.setDirty&&(!$e.dirtyMap||$e.dirtyMap.get(Ie.__pipeline.id))}this.unfinished=pe||this.unfinished},oe.prototype.performSeriesTasks=function(ie){var le;ie.eachSeries(function(ue){le=ue.dataTask.perform()||le}),this.unfinished=le||this.unfinished},oe.prototype.plan=function(){this._pipelineMap.each(function(ie){var le=ie.tail;do{if(le.__block){ie.blockIndex=le.__idxInPipeline;break}le=le.getUpstream()}while(le)})},oe.prototype.updatePayload=function(ie,le){le!=="remain"&&(ie.context.payload=le)},oe.prototype._createSeriesStageTask=function(ie,le,ue,de){var pe=this,he=le.seriesTaskMap,_e=le.seriesTaskMap=createHashMap(),$e=ie.seriesType,Ie=ie.getTargetSeries;ie.createOnAllSeries?ue.eachRawSeries(Ve):$e?ue.eachRawSeriesByType($e,Ve):Ie&&Ie(ue,de).each(Ve);function Ve(Fe){var Ue=Fe.uid,qe=_e.set(Ue,he&&he.get(Ue)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));qe.context={model:Fe,ecModel:ue,api:de,useClearVisual:ie.isVisual&&!ie.isLayout,plan:ie.plan,reset:ie.reset,scheduler:pe},pe._pipe(Fe,qe)}},oe.prototype._createOverallStageTask=function(ie,le,ue,de){var pe=this,he=le.overallTask=le.overallTask||createTask({reset:overallTaskReset});he.context={ecModel:ue,api:de,overallReset:ie.overallReset,scheduler:pe};var _e=he.agentStubMap,$e=he.agentStubMap=createHashMap(),Ie=ie.seriesType,Ve=ie.getTargetSeries,Fe=!0,Ue=!1,qe="";assert(!ie.createOnAllSeries,qe),Ie?ue.eachRawSeriesByType(Ie,Et):Ve?Ve(ue,de).each(Et):(Fe=!1,each$c(ue.getSeries(),Et));function Et(At){var Lt=At.uid,hn=$e.set(Lt,_e&&_e.get(Lt)||(Ue=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));hn.context={model:At,overallProgress:Fe},hn.agent=he,hn.__block=Fe,pe._pipe(At,hn)}Ue&&he.dirty()},oe.prototype._pipe=function(ie,le){var ue=ie.uid,de=this._pipelineMap.get(ue);!de.head&&(de.head=le),de.tail&&de.tail.pipe(le),de.tail=le,le.__idxInPipeline=de.count++,le.__pipeline=de},oe.wrapStageHandler=function(ie,le){return isFunction(ie)&&(ie={overallReset:ie,seriesType:detectSeriseType(ie)}),ie.uid=getUID("stageHandler"),le&&(ie.visualType=le),ie},oe}();function overallTaskReset(oe){oe.overallReset(oe.ecModel,oe.api,oe.payload)}function stubReset(oe){return oe.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(oe){return oe.plan?oe.plan(oe.model,oe.ecModel,oe.api,oe.payload):null}function seriesTaskReset(oe){oe.useClearVisual&&oe.data.clearAllVisual();var ie=oe.resetDefines=normalizeToArray(oe.reset(oe.model,oe.ecModel,oe.api,oe.payload));return ie.length>1?map$2(ie,function(le,ue){return makeSeriesTaskProgress(ue)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(oe){return function(ie,le){var ue=le.data,de=le.resetDefines[oe];if(de&&de.dataEach)for(var pe=ie.start;pe<ie.end;pe++)de.dataEach(ue,pe);else de&&de.progress&&de.progress(ie,ue)}}function seriesTaskCount(oe){return oe.data.count()}function detectSeriseType(oe){seriesType=null;try{oe(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel$1);mockMethods(apiMock,ExtensionAPI$1);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(oe){seriesType=oe};ecModelMock.eachComponent=function(oe){oe.mainType==="series"&&oe.subType&&(seriesType=oe.subType)};function mockMethods(oe,ie){for(var le in ie.prototype)oe[le]=noop}const Scheduler$1=Scheduler;var colorAll=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const lightTheme={color:colorAll,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],colorAll]};var contrastColor="#B9B8CE",backgroundColor="#100C2A",axisCommon=function(){return{axisLine:{lineStyle:{color:contrastColor}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},colorPalette=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],theme={darkMode:!0,color:colorPalette,backgroundColor,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:contrastColor}},textStyle:{color:contrastColor},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:contrastColor}},dataZoom:{borderColor:"#71708A",textStyle:{color:contrastColor},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:contrastColor}},timeline:{lineStyle:{color:contrastColor},label:{color:contrastColor},controlStyle:{color:contrastColor,borderColor:contrastColor}},calendar:{itemStyle:{color:backgroundColor},dayLabel:{color:contrastColor},monthLabel:{color:contrastColor},yearLabel:{color:contrastColor}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:colorPalette},gauge:{title:{color:contrastColor},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:contrastColor},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};theme.categoryAxis.splitLine.show=!1;const darkTheme=theme;var ECEventProcessor=function(){function oe(){}return oe.prototype.normalizeQuery=function(ie){var le={},ue={},de={};if(isString(ie)){var pe=parseClassType(ie);le.mainType=pe.main||null,le.subType=pe.sub||null}else{var he=["Index","Name","Id"],_e={name:1,dataIndex:1,dataType:1};each$c(ie,function($e,Ie){for(var Ve=!1,Fe=0;Fe<he.length;Fe++){var Ue=he[Fe],qe=Ie.lastIndexOf(Ue);if(qe>0&&qe===Ie.length-Ue.length){var Et=Ie.slice(0,qe);Et!=="data"&&(le.mainType=Et,le[Ue.toLowerCase()]=$e,Ve=!0)}}_e.hasOwnProperty(Ie)&&(ue[Ie]=$e,Ve=!0),Ve||(de[Ie]=$e)})}return{cptQuery:le,dataQuery:ue,otherQuery:de}},oe.prototype.filter=function(ie,le){var ue=this.eventInfo;if(!ue)return!0;var de=ue.targetEl,pe=ue.packedEvent,he=ue.model,_e=ue.view;if(!he||!_e)return!0;var $e=le.cptQuery,Ie=le.dataQuery;return Ve($e,he,"mainType")&&Ve($e,he,"subType")&&Ve($e,he,"index","componentIndex")&&Ve($e,he,"name")&&Ve($e,he,"id")&&Ve(Ie,pe,"name")&&Ve(Ie,pe,"dataIndex")&&Ve(Ie,pe,"dataType")&&(!_e.filterForExposedEvent||_e.filterForExposedEvent(ie,le.otherQuery,de,pe));function Ve(Fe,Ue,qe,Et){return Fe[qe]==null||Ue[Et||qe]===Fe[qe]}},oe.prototype.afterTrigger=function(){this.eventInfo=null},oe}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(oe,ie){var le=oe.getData();if(oe.legendIcon&&le.setVisual("legendIcon",oe.legendIcon),!oe.hasSymbolVisual)return;for(var ue={},de={},pe=!1,he=0;he<SYMBOL_PROPS_WITH_CB.length;he++){var _e=SYMBOL_PROPS_WITH_CB[he],$e=oe.get(_e);isFunction($e)?(pe=!0,de[_e]=$e):ue[_e]=$e}if(ue.symbol=ue.symbol||oe.defaultSymbol,le.setVisual(extend({legendIcon:oe.legendIcon||ue.symbol,symbolKeepAspect:oe.get("symbolKeepAspect")},ue)),ie.isSeriesFiltered(oe))return;var Ie=keys(de);function Ve(Fe,Ue){for(var qe=oe.getRawValue(Ue),Et=oe.getDataParams(Ue),At=0;At<Ie.length;At++){var Lt=Ie[At];Fe.setItemVisual(Ue,Lt,de[Lt](qe,Et))}}return{dataEach:pe?Ve:null}}},dataSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(oe,ie){if(!oe.hasSymbolVisual||ie.isSeriesFiltered(oe))return;var le=oe.getData();function ue(de,pe){for(var he=de.getItemModel(pe),_e=0;_e<SYMBOL_PROPS.length;_e++){var $e=SYMBOL_PROPS[_e],Ie=he.getShallow($e,!0);Ie!=null&&de.setItemVisual(pe,$e,Ie)}}return{dataEach:le.hasItemOption?ue:null}}};function getItemVisualFromData(oe,ie,le){switch(le){case"color":var ue=oe.getItemVisual(ie,"style");return ue[oe.getVisual("drawType")];case"opacity":return oe.getItemVisual(ie,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return oe.getItemVisual(ie,le)}}function getVisualFromData(oe,ie){switch(ie){case"color":var le=oe.getVisual("style");return le[oe.getVisual("drawType")];case"opacity":return oe.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return oe.getVisual(ie)}}function setItemVisualFromData(oe,ie,le,ue){switch(le){case"color":var de=oe.ensureUniqueItemVisual(ie,"style");de[oe.getVisual("drawType")]=ue,oe.setItemVisual(ie,"colorFromPalette",!1);break;case"opacity":oe.ensureUniqueItemVisual(ie,"style").opacity=ue;break;case"symbol":case"symbolSize":case"liftZ":oe.setItemVisual(ie,le,ue);break}}function createLegacyDataSelectAction(oe,ie){function le(ue,de){var pe=[];return ue.eachComponent({mainType:"series",subType:oe,query:de},function(he){pe.push(he.seriesIndex)}),pe}each$c([[oe+"ToggleSelect","toggleSelect"],[oe+"Select","select"],[oe+"UnSelect","unselect"]],function(ue){ie(ue[0],function(de,pe,he){de=extend({},de),he.dispatchAction(extend(de,{type:ue[1],seriesIndex:le(pe,de)}))})})}function handleSeriesLegacySelectEvents(oe,ie,le,ue,de){var pe=oe+ie;le.isSilent(pe)||ue.eachComponent({mainType:"series",subType:"pie"},function(he){for(var _e=he.seriesIndex,$e=he.option.selectedMap,Ie=de.selected,Ve=0;Ve<Ie.length;Ve++)if(Ie[Ve].seriesIndex===_e){var Fe=he.getData(),Ue=queryDataIndex(Fe,de.fromActionPayload);le.trigger(pe,{type:pe,seriesId:he.id,name:isArray$1(Ue)?Fe.getName(Ue[0]):Fe.getName(Ue),selected:isString($e)?$e:extend({},$e)})}})}function handleLegacySelectEvents(oe,ie,le){oe.on("selectchanged",function(ue){var de=le.getModel();ue.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",ie,de,ue),handleSeriesLegacySelectEvents("pie","selectchanged",ie,de,ue)):ue.fromAction==="select"?(handleSeriesLegacySelectEvents("map","selected",ie,de,ue),handleSeriesLegacySelectEvents("pie","selected",ie,de,ue)):ue.fromAction==="unselect"&&(handleSeriesLegacySelectEvents("map","unselected",ie,de,ue),handleSeriesLegacySelectEvents("pie","unselected",ie,de,ue))})}function findEventDispatcher(oe,ie,le){for(var ue;oe&&!(ie(oe)&&(ue=oe,le));)oe=oe.__hostTarget||oe.parent;return ue}var wmUniqueIndex=Math.round(Math.random()*9),supportDefineProperty=typeof Object.defineProperty=="function",WeakMap$1=function(){function oe(){this._id="__ec_inner_"+wmUniqueIndex++}return oe.prototype.get=function(ie){return this._guard(ie)[this._id]},oe.prototype.set=function(ie,le){var ue=this._guard(ie);return supportDefineProperty?Object.defineProperty(ue,this._id,{value:le,enumerable:!1,configurable:!0}):ue[this._id]=le,this},oe.prototype.delete=function(ie){return this.has(ie)?(delete this._guard(ie)[this._id],!0):!1},oe.prototype.has=function(ie){return!!this._guard(ie)[this._id]},oe.prototype._guard=function(ie){if(ie!==Object(ie))throw TypeError("Value of WeakMap is not a non-null object.");return ie},oe}();const WeakMap$2=WeakMap$1;var Triangle=Path$1.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(oe,ie){var le=ie.cx,ue=ie.cy,de=ie.width/2,pe=ie.height/2;oe.moveTo(le,ue-pe),oe.lineTo(le+de,ue+pe),oe.lineTo(le-de,ue+pe),oe.closePath()}}),Diamond=Path$1.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(oe,ie){var le=ie.cx,ue=ie.cy,de=ie.width/2,pe=ie.height/2;oe.moveTo(le,ue-pe),oe.lineTo(le+de,ue),oe.lineTo(le,ue+pe),oe.lineTo(le-de,ue),oe.closePath()}}),Pin=Path$1.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(oe,ie){var le=ie.x,ue=ie.y,de=ie.width/5*3,pe=Math.max(de,ie.height),he=de/2,_e=he*he/(pe-he),$e=ue-pe+he+_e,Ie=Math.asin(_e/he),Ve=Math.cos(Ie)*he,Fe=Math.sin(Ie),Ue=Math.cos(Ie),qe=he*.6,Et=he*.7;oe.moveTo(le-Ve,$e+_e),oe.arc(le,$e,he,Math.PI-Ie,Math.PI*2+Ie),oe.bezierCurveTo(le+Ve-Fe*qe,$e+_e+Ue*qe,le,ue-Et,le,ue),oe.bezierCurveTo(le,ue-Et,le-Ve+Fe*qe,$e+_e+Ue*qe,le-Ve,$e+_e),oe.closePath()}}),Arrow=Path$1.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(oe,ie){var le=ie.height,ue=ie.width,de=ie.x,pe=ie.y,he=ue/3*2;oe.moveTo(de,pe),oe.lineTo(de+he,pe+le),oe.lineTo(de,pe+le/4*3),oe.lineTo(de-he,pe+le),oe.lineTo(de,pe),oe.closePath()}}),symbolCtors={line:Line$1,rect:Rect$2,roundRect:Rect$2,square:Rect$2,circle:Circle$1,diamond:Diamond,pin:Pin,arrow:Arrow,triangle:Triangle},symbolShapeMakers={line:function(oe,ie,le,ue,de){de.x1=oe,de.y1=ie+ue/2,de.x2=oe+le,de.y2=ie+ue/2},rect:function(oe,ie,le,ue,de){de.x=oe,de.y=ie,de.width=le,de.height=ue},roundRect:function(oe,ie,le,ue,de){de.x=oe,de.y=ie,de.width=le,de.height=ue,de.r=Math.min(le,ue)/4},square:function(oe,ie,le,ue,de){var pe=Math.min(le,ue);de.x=oe,de.y=ie,de.width=pe,de.height=pe},circle:function(oe,ie,le,ue,de){de.cx=oe+le/2,de.cy=ie+ue/2,de.r=Math.min(le,ue)/2},diamond:function(oe,ie,le,ue,de){de.cx=oe+le/2,de.cy=ie+ue/2,de.width=le,de.height=ue},pin:function(oe,ie,le,ue,de){de.x=oe+le/2,de.y=ie+ue/2,de.width=le,de.height=ue},arrow:function(oe,ie,le,ue,de){de.x=oe+le/2,de.y=ie+ue/2,de.width=le,de.height=ue},triangle:function(oe,ie,le,ue,de){de.cx=oe+le/2,de.cy=ie+ue/2,de.width=le,de.height=ue}},symbolBuildProxies={};each$c(symbolCtors,function(oe,ie){symbolBuildProxies[ie]=new oe});var SymbolClz$1=Path$1.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(oe,ie,le){var ue=calculateTextPosition(oe,ie,le),de=this.shape;return de&&de.symbolType==="pin"&&ie.position==="inside"&&(ue.y=le.y+le.height*.4),ue},buildPath:function(oe,ie,le){var ue=ie.symbolType;if(ue!=="none"){var de=symbolBuildProxies[ue];de||(ue="rect",de=symbolBuildProxies[ue]),symbolShapeMakers[ue](ie.x,ie.y,ie.width,ie.height,de.shape),de.buildPath(oe,de.shape,le)}}});function symbolPathSetColor(oe,ie){if(this.type!=="image"){var le=this.style;this.__isEmptyBrush?(le.stroke=oe,le.fill=ie||"#fff",le.lineWidth=2):this.shape.symbolType==="line"?le.stroke=oe:le.fill=oe,this.markRedraw()}}function createSymbol(oe,ie,le,ue,de,pe,he){var _e=oe.indexOf("empty")===0;_e&&(oe=oe.substr(5,1).toLowerCase()+oe.substr(6));var $e;return oe.indexOf("image://")===0?$e=makeImage(oe.slice(8),new BoundingRect$1(ie,le,ue,de),he?"center":"cover"):oe.indexOf("path://")===0?$e=makePath(oe.slice(7),{},new BoundingRect$1(ie,le,ue,de),he?"center":"cover"):$e=new SymbolClz$1({shape:{symbolType:oe,x:ie,y:le,width:ue,height:de}}),$e.__isEmptyBrush=_e,$e.setColor=symbolPathSetColor,pe&&$e.setColor(pe),$e}function normalizeSymbolSize(oe){return isArray$1(oe)||(oe=[+oe,+oe]),[oe[0]||0,oe[1]||0]}function normalizeSymbolOffset(oe,ie){if(oe!=null)return isArray$1(oe)||(oe=[oe,oe]),[parsePercent(oe[0],ie[0])||0,parsePercent(retrieve2(oe[1],oe[0]),ie[1])||0]}function isSafeNum(oe){return isFinite(oe)}function createLinearGradient(oe,ie,le){var ue=ie.x==null?0:ie.x,de=ie.x2==null?1:ie.x2,pe=ie.y==null?0:ie.y,he=ie.y2==null?0:ie.y2;ie.global||(ue=ue*le.width+le.x,de=de*le.width+le.x,pe=pe*le.height+le.y,he=he*le.height+le.y),ue=isSafeNum(ue)?ue:0,de=isSafeNum(de)?de:1,pe=isSafeNum(pe)?pe:0,he=isSafeNum(he)?he:0;var _e=oe.createLinearGradient(ue,pe,de,he);return _e}function createRadialGradient(oe,ie,le){var ue=le.width,de=le.height,pe=Math.min(ue,de),he=ie.x==null?.5:ie.x,_e=ie.y==null?.5:ie.y,$e=ie.r==null?.5:ie.r;ie.global||(he=he*ue+le.x,_e=_e*de+le.y,$e=$e*pe),he=isSafeNum(he)?he:.5,_e=isSafeNum(_e)?_e:.5,$e=$e>=0&&isSafeNum($e)?$e:.5;var Ie=oe.createRadialGradient(he,_e,0,he,_e,$e);return Ie}function getCanvasGradient(oe,ie,le){for(var ue=ie.type==="radial"?createRadialGradient(oe,ie,le):createLinearGradient(oe,ie,le),de=ie.colorStops,pe=0;pe<de.length;pe++)ue.addColorStop(de[pe].offset,de[pe].color);return ue}function isClipPathChanged(oe,ie){if(oe===ie||!oe&&!ie)return!1;if(!oe||!ie||oe.length!==ie.length)return!0;for(var le=0;le<oe.length;le++)if(oe[le]!==ie[le])return!0;return!1}function parseInt10(oe){return parseInt(oe,10)}function getSize$1(oe,ie,le){var ue=["width","height"][ie],de=["clientWidth","clientHeight"][ie],pe=["paddingLeft","paddingTop"][ie],he=["paddingRight","paddingBottom"][ie];if(le[ue]!=null&&le[ue]!=="auto")return parseFloat(le[ue]);var _e=document.defaultView.getComputedStyle(oe);return(oe[de]||parseInt10(_e[ue])||parseInt10(oe.style[ue]))-(parseInt10(_e[pe])||0)-(parseInt10(_e[he])||0)|0}function normalizeLineDash(oe,ie){return!oe||oe==="solid"||!(ie>0)?null:oe==="dashed"?[4*ie,2*ie]:oe==="dotted"?[ie]:isNumber(oe)?[oe]:isArray$1(oe)?oe:null}function getLineDash(oe){var ie=oe.style,le=ie.lineDash&&ie.lineWidth>0&&normalizeLineDash(ie.lineDash,ie.lineWidth),ue=ie.lineDashOffset;if(le){var de=ie.strokeNoScale&&oe.getLineScale?oe.getLineScale():1;de&&de!==1&&(le=map$2(le,function(pe){return pe/de}),ue/=de)}return[le,ue]}var pathProxyForDraw=new PathProxy$1(!0);function styleHasStroke(oe){var ie=oe.stroke;return!(ie==null||ie==="none"||!(oe.lineWidth>0))}function isValidStrokeFillStyle(oe){return typeof oe=="string"&&oe!=="none"}function styleHasFill(oe){var ie=oe.fill;return ie!=null&&ie!=="none"}function doFillPath(oe,ie){if(ie.fillOpacity!=null&&ie.fillOpacity!==1){var le=oe.globalAlpha;oe.globalAlpha=ie.fillOpacity*ie.opacity,oe.fill(),oe.globalAlpha=le}else oe.fill()}function doStrokePath(oe,ie){if(ie.strokeOpacity!=null&&ie.strokeOpacity!==1){var le=oe.globalAlpha;oe.globalAlpha=ie.strokeOpacity*ie.opacity,oe.stroke(),oe.globalAlpha=le}else oe.stroke()}function createCanvasPattern(oe,ie,le){var ue=createOrUpdateImage(ie.image,ie.__image,le);if(isImageReady(ue)){var de=oe.createPattern(ue,ie.repeat||"repeat");if(typeof DOMMatrix=="function"&&de&&de.setTransform){var pe=new DOMMatrix;pe.translateSelf(ie.x||0,ie.y||0),pe.rotateSelf(0,0,(ie.rotation||0)*RADIAN_TO_DEGREE),pe.scaleSelf(ie.scaleX||1,ie.scaleY||1),de.setTransform(pe)}return de}}function brushPath(oe,ie,le,ue){var de,pe=styleHasStroke(le),he=styleHasFill(le),_e=le.strokePercent,$e=_e<1,Ie=!ie.path;(!ie.silent||$e)&&Ie&&ie.createPathProxy();var Ve=ie.path||pathProxyForDraw,Fe=ie.__dirty;if(!ue){var Ue=le.fill,qe=le.stroke,Et=he&&!!Ue.colorStops,At=pe&&!!qe.colorStops,Lt=he&&!!Ue.image,hn=pe&&!!qe.image,vn=void 0,_n=void 0,bn=void 0,Sn=void 0,Cn=void 0;(Et||At)&&(Cn=ie.getBoundingRect()),Et&&(vn=Fe?getCanvasGradient(oe,Ue,Cn):ie.__canvasFillGradient,ie.__canvasFillGradient=vn),At&&(_n=Fe?getCanvasGradient(oe,qe,Cn):ie.__canvasStrokeGradient,ie.__canvasStrokeGradient=_n),Lt&&(bn=Fe||!ie.__canvasFillPattern?createCanvasPattern(oe,Ue,ie):ie.__canvasFillPattern,ie.__canvasFillPattern=bn),hn&&(Sn=Fe||!ie.__canvasStrokePattern?createCanvasPattern(oe,qe,ie):ie.__canvasStrokePattern,ie.__canvasStrokePattern=bn),Et?oe.fillStyle=vn:Lt&&(bn?oe.fillStyle=bn:he=!1),At?oe.strokeStyle=_n:hn&&(Sn?oe.strokeStyle=Sn:pe=!1)}var En=ie.getGlobalScale();Ve.setScale(En[0],En[1],ie.segmentIgnoreThreshold);var wn,xn;oe.setLineDash&&le.lineDash&&(de=getLineDash(ie),wn=de[0],xn=de[1]);var kn=!0;(Ie||Fe&SHAPE_CHANGED_BIT)&&(Ve.setDPR(oe.dpr),$e?Ve.setContext(null):(Ve.setContext(oe),kn=!1),Ve.reset(),ie.buildPath(Ve,ie.shape,ue),Ve.toStatic(),ie.pathUpdated()),kn&&Ve.rebuildPath(oe,$e?_e:1),wn&&(oe.setLineDash(wn),oe.lineDashOffset=xn),ue||(le.strokeFirst?(pe&&doStrokePath(oe,le),he&&doFillPath(oe,le)):(he&&doFillPath(oe,le),pe&&doStrokePath(oe,le))),wn&&oe.setLineDash([])}function brushImage(oe,ie,le){var ue=ie.__image=createOrUpdateImage(le.image,ie.__image,ie,ie.onload);if(!(!ue||!isImageReady(ue))){var de=le.x||0,pe=le.y||0,he=ie.getWidth(),_e=ie.getHeight(),$e=ue.width/ue.height;if(he==null&&_e!=null?he=_e*$e:_e==null&&he!=null?_e=he/$e:he==null&&_e==null&&(he=ue.width,_e=ue.height),le.sWidth&&le.sHeight){var Ie=le.sx||0,Ve=le.sy||0;oe.drawImage(ue,Ie,Ve,le.sWidth,le.sHeight,de,pe,he,_e)}else if(le.sx&&le.sy){var Ie=le.sx,Ve=le.sy,Fe=he-Ie,Ue=_e-Ve;oe.drawImage(ue,Ie,Ve,Fe,Ue,de,pe,he,_e)}else oe.drawImage(ue,de,pe,he,_e)}}function brushText(oe,ie,le){var ue,de=le.text;if(de!=null&&(de+=""),de){oe.font=le.font||DEFAULT_FONT,oe.textAlign=le.textAlign,oe.textBaseline=le.textBaseline;var pe=void 0,he=void 0;oe.setLineDash&&le.lineDash&&(ue=getLineDash(ie),pe=ue[0],he=ue[1]),pe&&(oe.setLineDash(pe),oe.lineDashOffset=he),le.strokeFirst?(styleHasStroke(le)&&oe.strokeText(de,le.x,le.y),styleHasFill(le)&&oe.fillText(de,le.x,le.y)):(styleHasFill(le)&&oe.fillText(de,le.x,le.y),styleHasStroke(le)&&oe.strokeText(de,le.x,le.y)),pe&&oe.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(oe,ie,le,ue,de){var pe=!1;if(!ue&&(le=le||{},ie===le))return!1;if(ue||ie.opacity!==le.opacity){flushPathDrawn(oe,de),pe=!0;var he=Math.max(Math.min(ie.opacity,1),0);oe.globalAlpha=isNaN(he)?DEFAULT_COMMON_STYLE.opacity:he}(ue||ie.blend!==le.blend)&&(pe||(flushPathDrawn(oe,de),pe=!0),oe.globalCompositeOperation=ie.blend||DEFAULT_COMMON_STYLE.blend);for(var _e=0;_e<SHADOW_NUMBER_PROPS.length;_e++){var $e=SHADOW_NUMBER_PROPS[_e];(ue||ie[$e]!==le[$e])&&(pe||(flushPathDrawn(oe,de),pe=!0),oe[$e]=oe.dpr*(ie[$e]||0))}return(ue||ie.shadowColor!==le.shadowColor)&&(pe||(flushPathDrawn(oe,de),pe=!0),oe.shadowColor=ie.shadowColor||DEFAULT_COMMON_STYLE.shadowColor),pe}function bindPathAndTextCommonStyle(oe,ie,le,ue,de){var pe=getStyle(ie,de.inHover),he=ue?null:le&&getStyle(le,de.inHover)||{};if(pe===he)return!1;var _e=bindCommonProps(oe,pe,he,ue,de);if((ue||pe.fill!==he.fill)&&(_e||(flushPathDrawn(oe,de),_e=!0),isValidStrokeFillStyle(pe.fill)&&(oe.fillStyle=pe.fill)),(ue||pe.stroke!==he.stroke)&&(_e||(flushPathDrawn(oe,de),_e=!0),isValidStrokeFillStyle(pe.stroke)&&(oe.strokeStyle=pe.stroke)),(ue||pe.opacity!==he.opacity)&&(_e||(flushPathDrawn(oe,de),_e=!0),oe.globalAlpha=pe.opacity==null?1:pe.opacity),ie.hasStroke()){var $e=pe.lineWidth,Ie=$e/(pe.strokeNoScale&&ie.getLineScale?ie.getLineScale():1);oe.lineWidth!==Ie&&(_e||(flushPathDrawn(oe,de),_e=!0),oe.lineWidth=Ie)}for(var Ve=0;Ve<STROKE_PROPS.length;Ve++){var Fe=STROKE_PROPS[Ve],Ue=Fe[0];(ue||pe[Ue]!==he[Ue])&&(_e||(flushPathDrawn(oe,de),_e=!0),oe[Ue]=pe[Ue]||Fe[1])}return _e}function bindImageStyle(oe,ie,le,ue,de){return bindCommonProps(oe,getStyle(ie,de.inHover),le&&getStyle(le,de.inHover),ue,de)}function setContextTransform(oe,ie){var le=ie.transform,ue=oe.dpr||1;le?oe.setTransform(ue*le[0],ue*le[1],ue*le[2],ue*le[3],ue*le[4],ue*le[5]):oe.setTransform(ue,0,0,ue,0,0)}function updateClipStatus(oe,ie,le){for(var ue=!1,de=0;de<oe.length;de++){var pe=oe[de];ue=ue||pe.isZeroArea(),setContextTransform(ie,pe),ie.beginPath(),pe.buildPath(ie,pe.shape),ie.clip()}le.allClipped=ue}function isTransformChanged(oe,ie){return oe&&ie?oe[0]!==ie[0]||oe[1]!==ie[1]||oe[2]!==ie[2]||oe[3]!==ie[3]||oe[4]!==ie[4]||oe[5]!==ie[5]:!(!oe&&!ie)}var DRAW_TYPE_PATH=1,DRAW_TYPE_IMAGE=2,DRAW_TYPE_TEXT=3,DRAW_TYPE_INCREMENTAL=4;function canPathBatch(oe){var ie=styleHasFill(oe),le=styleHasStroke(oe);return!(oe.lineDash||!(+ie^+le)||ie&&typeof oe.fill!="string"||le&&typeof oe.stroke!="string"||oe.strokePercent<1||oe.strokeOpacity<1||oe.fillOpacity<1)}function flushPathDrawn(oe,ie){ie.batchFill&&oe.fill(),ie.batchStroke&&oe.stroke(),ie.batchFill="",ie.batchStroke=""}function getStyle(oe,ie){return ie&&oe.__hoverStyle||oe.style}function brushSingle(oe,ie){brush(oe,ie,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function brush(oe,ie,le,ue){var de=ie.transform;if(!ie.shouldBePainted(le.viewWidth,le.viewHeight,!1,!1)){ie.__dirty&=~REDRAW_BIT,ie.__isRendered=!1;return}var pe=ie.__clipPaths,he=le.prevElClipPaths,_e=!1,$e=!1;if((!he||isClipPathChanged(pe,he))&&(he&&he.length&&(flushPathDrawn(oe,le),oe.restore(),$e=_e=!0,le.prevElClipPaths=null,le.allClipped=!1,le.prevEl=null),pe&&pe.length&&(flushPathDrawn(oe,le),oe.save(),updateClipStatus(pe,oe,le),_e=!0),le.prevElClipPaths=pe),le.allClipped){ie.__isRendered=!1;return}ie.beforeBrush&&ie.beforeBrush(),ie.innerBeforeBrush();var Ie=le.prevEl;Ie||($e=_e=!0);var Ve=ie instanceof Path$1&&ie.autoBatch&&canPathBatch(ie.style);_e||isTransformChanged(de,Ie.transform)?(flushPathDrawn(oe,le),setContextTransform(oe,ie)):Ve||flushPathDrawn(oe,le);var Fe=getStyle(ie,le.inHover);ie instanceof Path$1?(le.lastDrawType!==DRAW_TYPE_PATH&&($e=!0,le.lastDrawType=DRAW_TYPE_PATH),bindPathAndTextCommonStyle(oe,ie,Ie,$e,le),(!Ve||!le.batchFill&&!le.batchStroke)&&oe.beginPath(),brushPath(oe,ie,Fe,Ve),Ve&&(le.batchFill=Fe.fill||"",le.batchStroke=Fe.stroke||"")):ie instanceof TSpan$1?(le.lastDrawType!==DRAW_TYPE_TEXT&&($e=!0,le.lastDrawType=DRAW_TYPE_TEXT),bindPathAndTextCommonStyle(oe,ie,Ie,$e,le),brushText(oe,ie,Fe)):ie instanceof ZRImage$1?(le.lastDrawType!==DRAW_TYPE_IMAGE&&($e=!0,le.lastDrawType=DRAW_TYPE_IMAGE),bindImageStyle(oe,ie,Ie,$e,le),brushImage(oe,ie,Fe)):ie.getTemporalDisplayables&&(le.lastDrawType!==DRAW_TYPE_INCREMENTAL&&($e=!0,le.lastDrawType=DRAW_TYPE_INCREMENTAL),brushIncremental(oe,ie,le)),Ve&&ue&&flushPathDrawn(oe,le),ie.innerAfterBrush(),ie.afterBrush&&ie.afterBrush(),le.prevEl=ie,ie.__dirty=0,ie.__isRendered=!0}function brushIncremental(oe,ie,le){var ue=ie.getDisplayables(),de=ie.getTemporalDisplayables();oe.save();var pe={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:le.viewWidth,viewHeight:le.viewHeight,inHover:le.inHover},he,_e;for(he=ie.getCursor(),_e=ue.length;he<_e;he++){var $e=ue[he];$e.beforeBrush&&$e.beforeBrush(),$e.innerBeforeBrush(),brush(oe,$e,pe,he===_e-1),$e.innerAfterBrush(),$e.afterBrush&&$e.afterBrush(),pe.prevEl=$e}for(var Ie=0,Ve=de.length;Ie<Ve;Ie++){var $e=de[Ie];$e.beforeBrush&&$e.beforeBrush(),$e.innerBeforeBrush(),brush(oe,$e,pe,Ie===Ve-1),$e.innerAfterBrush(),$e.afterBrush&&$e.afterBrush(),pe.prevEl=$e}ie.clearTemporalDisplayables(),ie.notClear=!0,oe.restore()}var decalMap=new WeakMap$2,decalCache=new LRU$1(100),decalKeys=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function createOrUpdatePatternFromDecal(oe,ie){if(oe==="none")return null;var le=ie.getDevicePixelRatio(),ue=ie.getZr(),de=ue.painter.type==="svg";oe.dirty&&decalMap.delete(oe);var pe=decalMap.get(oe);if(pe)return pe;var he=defaults(oe,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});he.backgroundColor==="none"&&(he.backgroundColor=null);var _e={repeat:"repeat"};return $e(_e),_e.rotation=he.rotation,_e.scaleX=_e.scaleY=de?1:1/le,decalMap.set(oe,_e),oe.dirty=!1,_e;function $e(Ie){for(var Ve=[le],Fe=!0,Ue=0;Ue<decalKeys.length;++Ue){var qe=he[decalKeys[Ue]];if(qe!=null&&!isArray$1(qe)&&!isString(qe)&&!isNumber(qe)&&typeof qe!="boolean"){Fe=!1;break}Ve.push(qe)}var Et;if(Fe){Et=Ve.join(",")+(de?"-svg":"");var At=decalCache.get(Et);At&&(de?Ie.svgElement=At:Ie.image=At)}var Lt=normalizeDashArrayX(he.dashArrayX),hn=normalizeDashArrayY(he.dashArrayY),vn=normalizeSymbolArray(he.symbol),_n=getLineBlockLengthX(Lt),bn=getLineBlockLengthY(hn),Sn=!de&&platformApi.createCanvas(),Cn=de&&{tag:"g",attrs:{},key:"dcl",children:[]},En=xn(),wn;Sn&&(Sn.width=En.width*le,Sn.height=En.height*le,wn=Sn.getContext("2d")),kn(),Fe&&decalCache.put(Et,Sn||Cn),Ie.image=Sn,Ie.svgElement=Cn,Ie.svgWidth=En.width,Ie.svgHeight=En.height;function xn(){for(var Pn=1,An=0,In=_n.length;An<In;++An)Pn=getLeastCommonMultiple(Pn,_n[An]);for(var Nn=1,An=0,In=vn.length;An<In;++An)Nn=getLeastCommonMultiple(Nn,vn[An].length);Pn*=Nn;var Un=bn*_n.length*vn.length;return{width:Math.max(1,Math.min(Pn,he.maxTileWidth)),height:Math.max(1,Math.min(Un,he.maxTileHeight))}}function kn(){wn&&(wn.clearRect(0,0,Sn.width,Sn.height),he.backgroundColor&&(wn.fillStyle=he.backgroundColor,wn.fillRect(0,0,Sn.width,Sn.height)));for(var Pn=0,An=0;An<hn.length;++An)Pn+=hn[An];if(Pn<=0)return;for(var In=-bn,Nn=0,Un=0,Vn=0;In<En.height;){if(Nn%2===0){for(var Mn=Un/2%vn.length,Fn=0,Ln=0,jn=0;Fn<En.width*2;){for(var Zn=0,An=0;An<Lt[Vn].length;++An)Zn+=Lt[Vn][An];if(Zn<=0)break;if(Ln%2===0){var Gn=(1-he.symbolSize)*.5,Jn=Fn+Lt[Vn][Ln]*Gn,lr=In+hn[Nn]*Gn,yr=Lt[Vn][Ln]*he.symbolSize,ir=hn[Nn]*he.symbolSize,qn=jn/2%vn[Mn].length;Yn(Jn,lr,yr,ir,vn[Mn][qn])}Fn+=Lt[Vn][Ln],++jn,++Ln,Ln===Lt[Vn].length&&(Ln=0)}++Vn,Vn===Lt.length&&(Vn=0)}In+=hn[Nn],++Un,++Nn,Nn===hn.length&&(Nn=0)}function Yn(Xn,or,_r,Kn,er){var ar=de?1:le,gr=createSymbol(er,Xn*ar,or*ar,_r*ar,Kn*ar,he.color,he.symbolKeepAspect);if(de){var Er=ue.painter.renderOneToVNode(gr);Er&&Cn.children.push(Er)}else brushSingle(wn,gr)}}}}function normalizeSymbolArray(oe){if(!oe||oe.length===0)return[["rect"]];if(isString(oe))return[[oe]];for(var ie=!0,le=0;le<oe.length;++le)if(!isString(oe[le])){ie=!1;break}if(ie)return normalizeSymbolArray([oe]);for(var ue=[],le=0;le<oe.length;++le)isString(oe[le])?ue.push([oe[le]]):ue.push(oe[le]);return ue}function normalizeDashArrayX(oe){if(!oe||oe.length===0)return[[0,0]];if(isNumber(oe)){var ie=Math.ceil(oe);return[[ie,ie]]}for(var le=!0,ue=0;ue<oe.length;++ue)if(!isNumber(oe[ue])){le=!1;break}if(le)return normalizeDashArrayX([oe]);for(var de=[],ue=0;ue<oe.length;++ue)if(isNumber(oe[ue])){var ie=Math.ceil(oe[ue]);de.push([ie,ie])}else{var ie=map$2(oe[ue],function(_e){return Math.ceil(_e)});ie.length%2===1?de.push(ie.concat(ie)):de.push(ie)}return de}function normalizeDashArrayY(oe){if(!oe||typeof oe=="object"&&oe.length===0)return[0,0];if(isNumber(oe)){var ie=Math.ceil(oe);return[ie,ie]}var le=map$2(oe,function(ue){return Math.ceil(ue)});return oe.length%2?le.concat(le):le}function getLineBlockLengthX(oe){return map$2(oe,function(ie){return getLineBlockLengthY(ie)})}function getLineBlockLengthY(oe){for(var ie=0,le=0;le<oe.length;++le)ie+=oe[le];return oe.length%2===1?ie*2:ie}function decalVisual(oe,ie){oe.eachRawSeries(function(le){if(!oe.isSeriesFiltered(le)){var ue=le.getData();ue.hasItemVisual()&&ue.each(function(he){var _e=ue.getItemVisual(he,"decal");if(_e){var $e=ue.ensureUniqueItemVisual(he,"style");$e.decal=createOrUpdatePatternFromDecal(_e,ie)}});var de=ue.getVisual("decal");if(de){var pe=ue.getVisual("style");pe.decal=createOrUpdatePatternFromDecal(de,ie)}}})}var lifecycle=new Eventful$1;const lifecycle$1=lifecycle;var implsStore={};function registerImpl(oe,ie){implsStore[oe]=ie}function getImpl(oe){return implsStore[oe]}var version="5.4.2",dependencies={zrender:"5.4.3"},TEST_FRAME_REMAIN_TIME=1,PRIORITY_PROCESSOR_SERIES_FILTER=800,PRIORITY_PROCESSOR_DATASTACK=900,PRIORITY_PROCESSOR_FILTER=1e3,PRIORITY_PROCESSOR_DEFAULT=2e3,PRIORITY_PROCESSOR_STATISTIC=5e3,PRIORITY_VISUAL_LAYOUT=1e3,PRIORITY_VISUAL_PROGRESSIVE_LAYOUT=1100,PRIORITY_VISUAL_GLOBAL=2e3,PRIORITY_VISUAL_CHART=3e3,PRIORITY_VISUAL_COMPONENT=4e3,PRIORITY_VISUAL_CHART_DATA_CUSTOM=4500,PRIORITY_VISUAL_POST_CHART_LAYOUT=4600,PRIORITY_VISUAL_BRUSH=5e3,PRIORITY_VISUAL_ARIA=6e3,PRIORITY_VISUAL_DECAL=7e3,PRIORITY={PROCESSOR:{FILTER:PRIORITY_PROCESSOR_FILTER,SERIES_FILTER:PRIORITY_PROCESSOR_SERIES_FILTER,STATISTIC:PRIORITY_PROCESSOR_STATISTIC},VISUAL:{LAYOUT:PRIORITY_VISUAL_LAYOUT,PROGRESSIVE_LAYOUT:PRIORITY_VISUAL_PROGRESSIVE_LAYOUT,GLOBAL:PRIORITY_VISUAL_GLOBAL,CHART:PRIORITY_VISUAL_CHART,POST_CHART_LAYOUT:PRIORITY_VISUAL_POST_CHART_LAYOUT,COMPONENT:PRIORITY_VISUAL_COMPONENT,BRUSH:PRIORITY_VISUAL_BRUSH,CHART_ITEM:PRIORITY_VISUAL_CHART_DATA_CUSTOM,ARIA:PRIORITY_VISUAL_ARIA,DECAL:PRIORITY_VISUAL_DECAL}},IN_MAIN_PROCESS_KEY="__flagInMainProcess",PENDING_UPDATE="__pendingUpdate",STATUS_NEEDS_UPDATE_KEY="__needsUpdateStatus",ACTION_REG=/^[a-zA-Z0-9_]+$/,CONNECT_STATUS_KEY="__connectUpdateStatus",CONNECT_STATUS_PENDING=0,CONNECT_STATUS_UPDATING=1,CONNECT_STATUS_UPDATED=2;function createRegisterEventWithLowercaseECharts(oe){return function(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];if(this.isDisposed()){this.id;return}return toLowercaseNameAndCallEventful(this,oe,ie)}}function createRegisterEventWithLowercaseMessageCenter(oe){return function(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];return toLowercaseNameAndCallEventful(this,oe,ie)}}function toLowercaseNameAndCallEventful(oe,ie,le){return le[0]=le[0]&&le[0].toLowerCase(),Eventful$1.prototype[ie].apply(oe,le)}var MessageCenter=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie}(Eventful$1),messageCenterProto=MessageCenter.prototype;messageCenterProto.on=createRegisterEventWithLowercaseMessageCenter("on");messageCenterProto.off=createRegisterEventWithLowercaseMessageCenter("off");var prepare$1,prepareView,updateDirectly,updateMethods,doConvertPixel,updateStreamModes,doDispatchAction,flushPendingActions,triggerUpdatedEvent,bindRenderedEvent,bindMouseEvent,render$2,renderComponents,renderSeries,createExtensionAPI,enableConnect,markStatusToUpdate,applyChangedStates,ECharts=function(oe){__extends(ie,oe);function ie(le,ue,de){var pe=oe.call(this,new ECEventProcessor)||this;pe._chartsViews=[],pe._chartsMap={},pe._componentsViews=[],pe._componentsMap={},pe._pendingActions=[],de=de||{},isString(ue)&&(ue=themeStorage[ue]),pe._dom=le;var he="canvas",_e="auto",$e=!1,Ie=pe._zr=init$1(le,{renderer:de.renderer||he,devicePixelRatio:de.devicePixelRatio,width:de.width,height:de.height,ssr:de.ssr,useDirtyRect:retrieve2(de.useDirtyRect,$e),useCoarsePointer:retrieve2(de.useCoarsePointer,_e),pointerSize:de.pointerSize});pe._ssr=de.ssr,pe._throttledZrFlush=throttle(bind$1(Ie.flush,Ie),17),ue=clone$3(ue),ue&&globalBackwardCompat(ue,!0),pe._theme=ue,pe._locale=createLocaleObject(de.locale||SYSTEM_LANG),pe._coordSysMgr=new CoordinateSystem;var Ve=pe._api=createExtensionAPI(pe);function Fe(Ue,qe){return Ue.__prio-qe.__prio}return sort(visualFuncs,Fe),sort(dataProcessorFuncs,Fe),pe._scheduler=new Scheduler$1(pe,Ve,dataProcessorFuncs,visualFuncs),pe._messageCenter=new MessageCenter,pe._initEvents(),pe.resize=bind$1(pe.resize,pe),Ie.animation.on("frame",pe._onframe,pe),bindRenderedEvent(Ie,pe),bindMouseEvent(Ie,pe),setAsPrimitive(pe),pe}return ie.prototype._onframe=function(){if(!this._disposed){applyChangedStates(this);var le=this._scheduler;if(this[PENDING_UPDATE]){var ue=this[PENDING_UPDATE].silent;this[IN_MAIN_PROCESS_KEY]=!0;try{prepare$1(this),updateMethods.update.call(this,null,this[PENDING_UPDATE].updateParams)}catch($e){throw this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,$e}this._zr.flush(),this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,flushPendingActions.call(this,ue),triggerUpdatedEvent.call(this,ue)}else if(le.unfinished){var de=TEST_FRAME_REMAIN_TIME,pe=this._model,he=this._api;le.unfinished=!1;do{var _e=+new Date;le.performSeriesTasks(pe),le.performDataProcessorTasks(pe),updateStreamModes(this,pe),le.performVisualTasks(pe),renderSeries(this,this._model,he,"remain",{}),de-=+new Date-_e}while(de>0&&le.unfinished);le.unfinished||this._zr.flush()}}},ie.prototype.getDom=function(){return this._dom},ie.prototype.getId=function(){return this.id},ie.prototype.getZr=function(){return this._zr},ie.prototype.isSSR=function(){return this._ssr},ie.prototype.setOption=function(le,ue,de){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var pe,he,_e;if(isObject$3(ue)&&(de=ue.lazyUpdate,pe=ue.silent,he=ue.replaceMerge,_e=ue.transition,ue=ue.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||ue){var $e=new OptionManager$1(this._api),Ie=this._theme,Ve=this._model=new GlobalModel$1;Ve.scheduler=this._scheduler,Ve.ssr=this._ssr,Ve.init(null,null,null,Ie,this._locale,$e)}this._model.setOption(le,{replaceMerge:he},optionPreprocessorFuncs);var Fe={seriesTransition:_e,optionChanged:!0};if(de)this[PENDING_UPDATE]={silent:pe,updateParams:Fe},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare$1(this),updateMethods.update.call(this,null,Fe)}catch(Ue){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,Ue}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,pe),triggerUpdatedEvent.call(this,pe)}}},ie.prototype.setTheme=function(){},ie.prototype.getModel=function(){return this._model},ie.prototype.getOption=function(){return this._model&&this._model.getOption()},ie.prototype.getWidth=function(){return this._zr.getWidth()},ie.prototype.getHeight=function(){return this._zr.getHeight()},ie.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env$1.hasGlobalWindow&&window.devicePixelRatio||1},ie.prototype.getRenderedCanvas=function(le){return this.renderToCanvas(le)},ie.prototype.renderToCanvas=function(le){le=le||{};var ue=this._zr.painter;return ue.getRenderedCanvas({backgroundColor:le.backgroundColor||this._model.get("backgroundColor"),pixelRatio:le.pixelRatio||this.getDevicePixelRatio()})},ie.prototype.renderToSVGString=function(le){le=le||{};var ue=this._zr.painter;return ue.renderToString({useViewBox:le.useViewBox})},ie.prototype.getSvgDataURL=function(){if(env$1.svgSupported){var le=this._zr,ue=le.storage.getDisplayList();return each$c(ue,function(de){de.stopAnimation(null,!0)}),le.painter.toDataURL()}},ie.prototype.getDataURL=function(le){if(this._disposed){this.id;return}le=le||{};var ue=le.excludeComponents,de=this._model,pe=[],he=this;each$c(ue,function($e){de.eachComponent({mainType:$e},function(Ie){var Ve=he._componentsMap[Ie.__viewId];Ve.group.ignore||(pe.push(Ve),Ve.group.ignore=!0)})});var _e=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(le).toDataURL("image/"+(le&&le.type||"png"));return each$c(pe,function($e){$e.group.ignore=!1}),_e},ie.prototype.getConnectedDataURL=function(le){if(this._disposed){this.id;return}var ue=le.type==="svg",de=this.group,pe=Math.min,he=Math.max,_e=1/0;if(connectedGroups[de]){var $e=_e,Ie=_e,Ve=-_e,Fe=-_e,Ue=[],qe=le&&le.pixelRatio||this.getDevicePixelRatio();each$c(instances,function(_n,bn){if(_n.group===de){var Sn=ue?_n.getZr().painter.getSvgDom().innerHTML:_n.renderToCanvas(clone$3(le)),Cn=_n.getDom().getBoundingClientRect();$e=pe(Cn.left,$e),Ie=pe(Cn.top,Ie),Ve=he(Cn.right,Ve),Fe=he(Cn.bottom,Fe),Ue.push({dom:Sn,left:Cn.left,top:Cn.top})}}),$e*=qe,Ie*=qe,Ve*=qe,Fe*=qe;var Et=Ve-$e,At=Fe-Ie,Lt=platformApi.createCanvas(),hn=init$1(Lt,{renderer:ue?"svg":"canvas"});if(hn.resize({width:Et,height:At}),ue){var vn="";return each$c(Ue,function(_n){var bn=_n.left-$e,Sn=_n.top-Ie;vn+='<g transform="translate('+bn+","+Sn+')">'+_n.dom+"</g>"}),hn.painter.getSvgRoot().innerHTML=vn,le.connectedBackgroundColor&&hn.painter.setBackgroundColor(le.connectedBackgroundColor),hn.refreshImmediately(),hn.painter.toDataURL()}else return le.connectedBackgroundColor&&hn.add(new Rect$2({shape:{x:0,y:0,width:Et,height:At},style:{fill:le.connectedBackgroundColor}})),each$c(Ue,function(_n){var bn=new ZRImage$1({style:{x:_n.left*qe-$e,y:_n.top*qe-Ie,image:_n.dom}});hn.add(bn)}),hn.refreshImmediately(),Lt.toDataURL("image/"+(le&&le.type||"png"))}else return this.getDataURL(le)},ie.prototype.convertToPixel=function(le,ue){return doConvertPixel(this,"convertToPixel",le,ue)},ie.prototype.convertFromPixel=function(le,ue){return doConvertPixel(this,"convertFromPixel",le,ue)},ie.prototype.containPixel=function(le,ue){if(this._disposed){this.id;return}var de=this._model,pe,he=parseFinder$1(de,le);return each$c(he,function(_e,$e){$e.indexOf("Models")>=0&&each$c(_e,function(Ie){var Ve=Ie.coordinateSystem;if(Ve&&Ve.containPoint)pe=pe||!!Ve.containPoint(ue);else if($e==="seriesModels"){var Fe=this._chartsMap[Ie.__viewId];Fe&&Fe.containPoint&&(pe=pe||Fe.containPoint(ue,Ie))}},this)},this),!!pe},ie.prototype.getVisual=function(le,ue){var de=this._model,pe=parseFinder$1(de,le,{defaultMainType:"series"}),he=pe.seriesModel,_e=he.getData(),$e=pe.hasOwnProperty("dataIndexInside")?pe.dataIndexInside:pe.hasOwnProperty("dataIndex")?_e.indexOfRawIndex(pe.dataIndex):null;return $e!=null?getItemVisualFromData(_e,$e,ue):getVisualFromData(_e,ue)},ie.prototype.getViewOfComponentModel=function(le){return this._componentsMap[le.__viewId]},ie.prototype.getViewOfSeriesModel=function(le){return this._chartsMap[le.__viewId]},ie.prototype._initEvents=function(){var le=this;each$c(MOUSE_EVENT_NAMES,function(ue){var de=function(pe){var he=le.getModel(),_e=pe.target,$e,Ie=ue==="globalout";if(Ie?$e={}:_e&&findEventDispatcher(_e,function(Et){var At=getECData(Et);if(At&&At.dataIndex!=null){var Lt=At.dataModel||he.getSeriesByIndex(At.seriesIndex);return $e=Lt&&Lt.getDataParams(At.dataIndex,At.dataType)||{},!0}else if(At.eventData)return $e=extend({},At.eventData),!0},!0),$e){var Ve=$e.componentType,Fe=$e.componentIndex;(Ve==="markLine"||Ve==="markPoint"||Ve==="markArea")&&(Ve="series",Fe=$e.seriesIndex);var Ue=Ve&&Fe!=null&&he.getComponent(Ve,Fe),qe=Ue&&le[Ue.mainType==="series"?"_chartsMap":"_componentsMap"][Ue.__viewId];$e.event=pe,$e.type=ue,le._$eventProcessor.eventInfo={targetEl:_e,packedEvent:$e,model:Ue,view:qe},le.trigger(ue,$e)}};de.zrEventfulCallAtLast=!0,le._zr.on(ue,de,le)}),each$c(eventActionMap,function(ue,de){le._messageCenter.on(de,function(pe){this.trigger(de,pe)},le)}),each$c(["selectchanged"],function(ue){le._messageCenter.on(ue,function(de){this.trigger(ue,de)},le)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},ie.prototype.isDisposed=function(){return this._disposed},ie.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},ie.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var le=this.getDom();le&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var ue=this,de=ue._api,pe=ue._model;each$c(ue._componentsViews,function(he){he.dispose(pe,de)}),each$c(ue._chartsViews,function(he){he.dispose(pe,de)}),ue._zr.dispose(),ue._dom=ue._model=ue._chartsMap=ue._componentsMap=ue._chartsViews=ue._componentsViews=ue._scheduler=ue._api=ue._zr=ue._throttledZrFlush=ue._theme=ue._coordSysMgr=ue._messageCenter=null,delete instances[ue.id]},ie.prototype.resize=function(le){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(le);var ue=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!ue){var de=ue.resetOption("media"),pe=le&&le.silent;this[PENDING_UPDATE]&&(pe==null&&(pe=this[PENDING_UPDATE].silent),de=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{de&&prepare$1(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},le&&le.animation)})}catch(he){throw this[IN_MAIN_PROCESS_KEY]=!1,he}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,pe),triggerUpdatedEvent.call(this,pe)}}},ie.prototype.showLoading=function(le,ue){if(this._disposed){this.id;return}if(isObject$3(le)&&(ue=le,le=""),le=le||"default",this.hideLoading(),!!loadingEffects[le]){var de=loadingEffects[le](this._api,ue),pe=this._zr;this._loadingFX=de,pe.add(de)}},ie.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},ie.prototype.makeActionFromEvent=function(le){var ue=extend({},le);return ue.type=eventActionMap[le.type],ue},ie.prototype.dispatchAction=function(le,ue){if(this._disposed){this.id;return}if(isObject$3(ue)||(ue={silent:!!ue}),!!actions[le.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(le);return}var de=ue.silent;doDispatchAction.call(this,le,de);var pe=ue.flush;pe?this._zr.flush():pe!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,de),triggerUpdatedEvent.call(this,de)}},ie.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},ie.prototype.appendData=function(le){if(this._disposed){this.id;return}var ue=le.seriesIndex,de=this.getModel(),pe=de.getSeriesByIndex(ue);pe.appendData(le),this._scheduler.unfinished=!0,this.getZr().wakeUp()},ie.internalField=function(){prepare$1=function(Fe){var Ue=Fe._scheduler;Ue.restorePipelines(Fe._model),Ue.prepareStageTasks(),prepareView(Fe,!0),prepareView(Fe,!1),Ue.plan()},prepareView=function(Fe,Ue){for(var qe=Fe._model,Et=Fe._scheduler,At=Ue?Fe._componentsViews:Fe._chartsViews,Lt=Ue?Fe._componentsMap:Fe._chartsMap,hn=Fe._zr,vn=Fe._api,_n=0;_n<At.length;_n++)At[_n].__alive=!1;Ue?qe.eachComponent(function(Cn,En){Cn!=="series"&&bn(En)}):qe.eachSeries(bn);function bn(Cn){var En=Cn.__requireNewView;Cn.__requireNewView=!1;var wn="_ec_"+Cn.id+"_"+Cn.type,xn=!En&&Lt[wn];if(!xn){var kn=parseClassType(Cn.type),Pn=Ue?ComponentView$1.getClass(kn.main,kn.sub):ChartView$1.getClass(kn.sub);xn=new Pn,xn.init(qe,vn),Lt[wn]=xn,At.push(xn),hn.add(xn.group)}Cn.__viewId=xn.__id=wn,xn.__alive=!0,xn.__model=Cn,xn.group.__ecComponentInfo={mainType:Cn.mainType,index:Cn.componentIndex},!Ue&&Et.prepareView(xn,Cn,qe,vn)}for(var _n=0;_n<At.length;){var Sn=At[_n];Sn.__alive?_n++:(!Ue&&Sn.renderTask.dispose(),hn.remove(Sn.group),Sn.dispose(qe,vn),At.splice(_n,1),Lt[Sn.__id]===Sn&&delete Lt[Sn.__id],Sn.__id=Sn.group.__ecComponentInfo=null)}},updateDirectly=function(Fe,Ue,qe,Et,At){var Lt=Fe._model;if(Lt.setUpdatePayload(qe),!Et){each$c([].concat(Fe._componentsViews).concat(Fe._chartsViews),Sn);return}var hn={};hn[Et+"Id"]=qe[Et+"Id"],hn[Et+"Index"]=qe[Et+"Index"],hn[Et+"Name"]=qe[Et+"Name"];var vn={mainType:Et,query:hn};At&&(vn.subType=At);var _n=qe.excludeSeriesId,bn;_n!=null&&(bn=createHashMap(),each$c(normalizeToArray(_n),function(Cn){var En=convertOptionIdName(Cn,null);En!=null&&bn.set(En,!0)})),Lt&&Lt.eachComponent(vn,function(Cn){var En=bn&&bn.get(Cn.id)!=null;if(!En)if(isHighDownPayload(qe))if(Cn instanceof SeriesModel$1)qe.type===HIGHLIGHT_ACTION_TYPE&&!qe.notBlur&&!Cn.get(["emphasis","disabled"])&&blurSeriesFromHighlightPayload(Cn,qe,Fe._api);else{var wn=findComponentHighDownDispatchers(Cn.mainType,Cn.componentIndex,qe.name,Fe._api),xn=wn.focusSelf,kn=wn.dispatchers;qe.type===HIGHLIGHT_ACTION_TYPE&&xn&&!qe.notBlur&&blurComponent(Cn.mainType,Cn.componentIndex,Fe._api),kn&&each$c(kn,function(Pn){qe.type===HIGHLIGHT_ACTION_TYPE?enterEmphasis(Pn):leaveEmphasis(Pn)})}else isSelectChangePayload(qe)&&Cn instanceof SeriesModel$1&&(toggleSelectionFromPayload(Cn,qe,Fe._api),updateSeriesElementSelection(Cn),markStatusToUpdate(Fe))},Fe),Lt&&Lt.eachComponent(vn,function(Cn){var En=bn&&bn.get(Cn.id)!=null;En||Sn(Fe[Et==="series"?"_chartsMap":"_componentsMap"][Cn.__viewId])},Fe);function Sn(Cn){Cn&&Cn.__alive&&Cn[Ue]&&Cn[Ue](Cn.__model,Lt,Fe._api,qe)}},updateMethods={prepareAndUpdate:function(Fe){prepare$1(this),updateMethods.update.call(this,Fe,{optionChanged:Fe.newOption!=null})},update:function(Fe,Ue){var qe=this._model,Et=this._api,At=this._zr,Lt=this._coordSysMgr,hn=this._scheduler;if(qe){qe.setUpdatePayload(Fe),hn.restoreData(qe,Fe),hn.performSeriesTasks(qe),Lt.create(qe,Et),hn.performDataProcessorTasks(qe,Fe),updateStreamModes(this,qe),Lt.update(qe,Et),le(qe),hn.performVisualTasks(qe,Fe),render$2(this,qe,Et,Fe,Ue);var vn=qe.get("backgroundColor")||"transparent",_n=qe.get("darkMode");At.setBackgroundColor(vn),_n!=null&&_n!=="auto"&&At.setDarkMode(_n),lifecycle$1.trigger("afterupdate",qe,Et)}},updateTransform:function(Fe){var Ue=this,qe=this._model,Et=this._api;if(qe){qe.setUpdatePayload(Fe);var At=[];qe.eachComponent(function(hn,vn){if(hn!=="series"){var _n=Ue.getViewOfComponentModel(vn);if(_n&&_n.__alive)if(_n.updateTransform){var bn=_n.updateTransform(vn,qe,Et,Fe);bn&&bn.update&&At.push(_n)}else At.push(_n)}});var Lt=createHashMap();qe.eachSeries(function(hn){var vn=Ue._chartsMap[hn.__viewId];if(vn.updateTransform){var _n=vn.updateTransform(hn,qe,Et,Fe);_n&&_n.update&&Lt.set(hn.uid,1)}else Lt.set(hn.uid,1)}),le(qe),this._scheduler.performVisualTasks(qe,Fe,{setDirty:!0,dirtyMap:Lt}),renderSeries(this,qe,Et,Fe,{},Lt),lifecycle$1.trigger("afterupdate",qe,Et)}},updateView:function(Fe){var Ue=this._model;Ue&&(Ue.setUpdatePayload(Fe),ChartView$1.markUpdateMethod(Fe,"updateView"),le(Ue),this._scheduler.performVisualTasks(Ue,Fe,{setDirty:!0}),render$2(this,Ue,this._api,Fe,{}),lifecycle$1.trigger("afterupdate",Ue,this._api))},updateVisual:function(Fe){var Ue=this,qe=this._model;qe&&(qe.setUpdatePayload(Fe),qe.eachSeries(function(Et){Et.getData().clearAllVisual()}),ChartView$1.markUpdateMethod(Fe,"updateVisual"),le(qe),this._scheduler.performVisualTasks(qe,Fe,{visualType:"visual",setDirty:!0}),qe.eachComponent(function(Et,At){if(Et!=="series"){var Lt=Ue.getViewOfComponentModel(At);Lt&&Lt.__alive&&Lt.updateVisual(At,qe,Ue._api,Fe)}}),qe.eachSeries(function(Et){var At=Ue._chartsMap[Et.__viewId];At.updateVisual(Et,qe,Ue._api,Fe)}),lifecycle$1.trigger("afterupdate",qe,this._api))},updateLayout:function(Fe){updateMethods.update.call(this,Fe)}},doConvertPixel=function(Fe,Ue,qe,Et){if(Fe._disposed){Fe.id;return}for(var At=Fe._model,Lt=Fe._coordSysMgr.getCoordinateSystems(),hn,vn=parseFinder$1(At,qe),_n=0;_n<Lt.length;_n++){var bn=Lt[_n];if(bn[Ue]&&(hn=bn[Ue](At,vn,Et))!=null)return hn}},updateStreamModes=function(Fe,Ue){var qe=Fe._chartsMap,Et=Fe._scheduler;Ue.eachSeries(function(At){Et.updateStreamModes(At,qe[At.__viewId])})},doDispatchAction=function(Fe,Ue){var qe=this,Et=this.getModel(),At=Fe.type,Lt=Fe.escapeConnect,hn=actions[At],vn=hn.actionInfo,_n=(vn.update||"update").split(":"),bn=_n.pop(),Sn=_n[0]!=null&&parseClassType(_n[0]);this[IN_MAIN_PROCESS_KEY]=!0;var Cn=[Fe],En=!1;Fe.batch&&(En=!0,Cn=map$2(Fe.batch,function(Nn){return Nn=defaults(extend({},Nn),Fe),Nn.batch=null,Nn}));var wn=[],xn,kn=isSelectChangePayload(Fe),Pn=isHighDownPayload(Fe);if(Pn&&allLeaveBlur(this._api),each$c(Cn,function(Nn){if(xn=hn.action(Nn,qe._model,qe._api),xn=xn||extend({},Nn),xn.type=vn.event||xn.type,wn.push(xn),Pn){var Un=preParseFinder(Fe),Vn=Un.queryOptionMap,Mn=Un.mainTypeSpecified,Fn=Mn?Vn.keys()[0]:"series";updateDirectly(qe,bn,Nn,Fn),markStatusToUpdate(qe)}else kn?(updateDirectly(qe,bn,Nn,"series"),markStatusToUpdate(qe)):Sn&&updateDirectly(qe,bn,Nn,Sn.main,Sn.sub)}),bn!=="none"&&!Pn&&!kn&&!Sn)try{this[PENDING_UPDATE]?(prepare$1(this),updateMethods.update.call(this,Fe),this[PENDING_UPDATE]=null):updateMethods[bn].call(this,Fe)}catch(Nn){throw this[IN_MAIN_PROCESS_KEY]=!1,Nn}if(En?xn={type:vn.event||At,escapeConnect:Lt,batch:wn}:xn=wn[0],this[IN_MAIN_PROCESS_KEY]=!1,!Ue){var An=this._messageCenter;if(An.trigger(xn.type,xn),kn){var In={type:"selectchanged",escapeConnect:Lt,selected:getAllSelectedIndices(Et),isFromClick:Fe.isFromClick||!1,fromAction:Fe.type,fromActionPayload:Fe};An.trigger(In.type,In)}}},flushPendingActions=function(Fe){for(var Ue=this._pendingActions;Ue.length;){var qe=Ue.shift();doDispatchAction.call(this,qe,Fe)}},triggerUpdatedEvent=function(Fe){!Fe&&this.trigger("updated")},bindRenderedEvent=function(Fe,Ue){Fe.on("rendered",function(qe){Ue.trigger("rendered",qe),Fe.animation.isFinished()&&!Ue[PENDING_UPDATE]&&!Ue._scheduler.unfinished&&!Ue._pendingActions.length&&Ue.trigger("finished")})},bindMouseEvent=function(Fe,Ue){Fe.on("mouseover",function(qe){var Et=qe.target,At=findEventDispatcher(Et,isHighDownDispatcher);At&&(handleGlobalMouseOverForHighDown(At,qe,Ue._api),markStatusToUpdate(Ue))}).on("mouseout",function(qe){var Et=qe.target,At=findEventDispatcher(Et,isHighDownDispatcher);At&&(handleGlobalMouseOutForHighDown(At,qe,Ue._api),markStatusToUpdate(Ue))}).on("click",function(qe){var Et=qe.target,At=findEventDispatcher(Et,function(vn){return getECData(vn).dataIndex!=null},!0);if(At){var Lt=At.selected?"unselect":"select",hn=getECData(At);Ue._api.dispatchAction({type:Lt,dataType:hn.dataType,dataIndexInside:hn.dataIndex,seriesIndex:hn.seriesIndex,isFromClick:!0})}})};function le(Fe){Fe.clearColorPalette(),Fe.eachSeries(function(Ue){Ue.clearColorPalette()})}function ue(Fe){var Ue=[],qe=[],Et=!1;if(Fe.eachComponent(function(vn,_n){var bn=_n.get("zlevel")||0,Sn=_n.get("z")||0,Cn=_n.getZLevelKey();Et=Et||!!Cn,(vn==="series"?qe:Ue).push({zlevel:bn,z:Sn,idx:_n.componentIndex,type:vn,key:Cn})}),Et){var At=Ue.concat(qe),Lt,hn;sort(At,function(vn,_n){return vn.zlevel===_n.zlevel?vn.z-_n.z:vn.zlevel-_n.zlevel}),each$c(At,function(vn){var _n=Fe.getComponent(vn.type,vn.idx),bn=vn.zlevel,Sn=vn.key;Lt!=null&&(bn=Math.max(Lt,bn)),Sn?(bn===Lt&&Sn!==hn&&bn++,hn=Sn):hn&&(bn===Lt&&bn++,hn=""),Lt=bn,_n.setZLevel(bn)})}}render$2=function(Fe,Ue,qe,Et,At){ue(Ue),renderComponents(Fe,Ue,qe,Et,At),each$c(Fe._chartsViews,function(Lt){Lt.__alive=!1}),renderSeries(Fe,Ue,qe,Et,At),each$c(Fe._chartsViews,function(Lt){Lt.__alive||Lt.remove(Ue,qe)})},renderComponents=function(Fe,Ue,qe,Et,At,Lt){each$c(Lt||Fe._componentsViews,function(hn){var vn=hn.__model;Ie(vn,hn),hn.render(vn,Ue,qe,Et),_e(vn,hn),Ve(vn,hn)})},renderSeries=function(Fe,Ue,qe,Et,At,Lt){var hn=Fe._scheduler;At=extend(At||{},{updatedSeries:Ue.getSeries()}),lifecycle$1.trigger("series:beforeupdate",Ue,qe,At);var vn=!1;Ue.eachSeries(function(_n){var bn=Fe._chartsMap[_n.__viewId];bn.__alive=!0;var Sn=bn.renderTask;hn.updatePayload(Sn,Et),Ie(_n,bn),Lt&&Lt.get(_n.uid)&&Sn.dirty(),Sn.perform(hn.getPerformArgs(Sn))&&(vn=!0),bn.group.silent=!!_n.get("silent"),he(_n,bn),updateSeriesElementSelection(_n)}),hn.unfinished=vn||hn.unfinished,lifecycle$1.trigger("series:layoutlabels",Ue,qe,At),lifecycle$1.trigger("series:transition",Ue,qe,At),Ue.eachSeries(function(_n){var bn=Fe._chartsMap[_n.__viewId];_e(_n,bn),Ve(_n,bn)}),pe(Fe,Ue),lifecycle$1.trigger("series:afterupdate",Ue,qe,At)},markStatusToUpdate=function(Fe){Fe[STATUS_NEEDS_UPDATE_KEY]=!0,Fe.getZr().wakeUp()},applyChangedStates=function(Fe){Fe[STATUS_NEEDS_UPDATE_KEY]&&(Fe.getZr().storage.traverse(function(Ue){isElementRemoved(Ue)||de(Ue)}),Fe[STATUS_NEEDS_UPDATE_KEY]=!1)};function de(Fe){for(var Ue=[],qe=Fe.currentStates,Et=0;Et<qe.length;Et++){var At=qe[Et];At==="emphasis"||At==="blur"||At==="select"||Ue.push(At)}Fe.selected&&Fe.states.select&&Ue.push("select"),Fe.hoverState===HOVER_STATE_EMPHASIS&&Fe.states.emphasis?Ue.push("emphasis"):Fe.hoverState===HOVER_STATE_BLUR&&Fe.states.blur&&Ue.push("blur"),Fe.useStates(Ue)}function pe(Fe,Ue){var qe=Fe._zr,Et=qe.storage,At=0;Et.traverse(function(Lt){Lt.isGroup||At++}),At>Ue.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&Ue.eachSeries(function(Lt){if(!Lt.preventUsingHoverLayer){var hn=Fe._chartsMap[Lt.__viewId];hn.__alive&&hn.eachRendered(function(vn){vn.states.emphasis&&(vn.states.emphasis.hoverLayer=!0)})}})}function he(Fe,Ue){var qe=Fe.get("blendMode")||null;Ue.eachRendered(function(Et){Et.isGroup||(Et.style.blend=qe)})}function _e(Fe,Ue){if(!Fe.preventAutoZ){var qe=Fe.get("z")||0,Et=Fe.get("zlevel")||0;Ue.eachRendered(function(At){return $e(At,qe,Et,-1/0),!0})}}function $e(Fe,Ue,qe,Et){var At=Fe.getTextContent(),Lt=Fe.getTextGuideLine(),hn=Fe.isGroup;if(hn)for(var vn=Fe.childrenRef(),_n=0;_n<vn.length;_n++)Et=Math.max($e(vn[_n],Ue,qe,Et),Et);else Fe.z=Ue,Fe.zlevel=qe,Et=Math.max(Fe.z2,Et);if(At&&(At.z=Ue,At.zlevel=qe,isFinite(Et)&&(At.z2=Et+2)),Lt){var bn=Fe.textGuideLineConfig;Lt.z=Ue,Lt.zlevel=qe,isFinite(Et)&&(Lt.z2=Et+(bn&&bn.showAbove?1:-1))}return Et}function Ie(Fe,Ue){Ue.eachRendered(function(qe){if(!isElementRemoved(qe)){var Et=qe.getTextContent(),At=qe.getTextGuideLine();qe.stateTransition&&(qe.stateTransition=null),Et&&Et.stateTransition&&(Et.stateTransition=null),At&&At.stateTransition&&(At.stateTransition=null),qe.hasState()?(qe.prevStates=qe.currentStates,qe.clearStates()):qe.prevStates&&(qe.prevStates=null)}})}function Ve(Fe,Ue){var qe=Fe.getModel("stateAnimation"),Et=Fe.isAnimationEnabled(),At=qe.get("duration"),Lt=At>0?{duration:At,delay:qe.get("delay"),easing:qe.get("easing")}:null;Ue.eachRendered(function(hn){if(hn.states&&hn.states.emphasis){if(isElementRemoved(hn))return;if(hn instanceof Path$1&&savePathStates(hn),hn.__dirty){var vn=hn.prevStates;vn&&hn.useStates(vn)}if(Et){hn.stateTransition=Lt;var _n=hn.getTextContent(),bn=hn.getTextGuideLine();_n&&(_n.stateTransition=Lt),bn&&(bn.stateTransition=Lt)}hn.__dirty&&de(hn)}})}createExtensionAPI=function(Fe){return new(function(Ue){__extends(qe,Ue);function qe(){return Ue!==null&&Ue.apply(this,arguments)||this}return qe.prototype.getCoordinateSystems=function(){return Fe._coordSysMgr.getCoordinateSystems()},qe.prototype.getComponentByElement=function(Et){for(;Et;){var At=Et.__ecComponentInfo;if(At!=null)return Fe._model.getComponent(At.mainType,At.index);Et=Et.parent}},qe.prototype.enterEmphasis=function(Et,At){enterEmphasis(Et,At),markStatusToUpdate(Fe)},qe.prototype.leaveEmphasis=function(Et,At){leaveEmphasis(Et,At),markStatusToUpdate(Fe)},qe.prototype.enterBlur=function(Et){enterBlur(Et),markStatusToUpdate(Fe)},qe.prototype.leaveBlur=function(Et){leaveBlur(Et),markStatusToUpdate(Fe)},qe.prototype.enterSelect=function(Et){enterSelect(Et),markStatusToUpdate(Fe)},qe.prototype.leaveSelect=function(Et){leaveSelect(Et),markStatusToUpdate(Fe)},qe.prototype.getModel=function(){return Fe.getModel()},qe.prototype.getViewOfComponentModel=function(Et){return Fe.getViewOfComponentModel(Et)},qe.prototype.getViewOfSeriesModel=function(Et){return Fe.getViewOfSeriesModel(Et)},qe}(ExtensionAPI$1))(Fe)},enableConnect=function(Fe){function Ue(qe,Et){for(var At=0;At<qe.length;At++){var Lt=qe[At];Lt[CONNECT_STATUS_KEY]=Et}}each$c(eventActionMap,function(qe,Et){Fe._messageCenter.on(Et,function(At){if(connectedGroups[Fe.group]&&Fe[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(At&&At.escapeConnect)return;var Lt=Fe.makeActionFromEvent(At),hn=[];each$c(instances,function(vn){vn!==Fe&&vn.group===Fe.group&&hn.push(vn)}),Ue(hn,CONNECT_STATUS_PENDING),each$c(hn,function(vn){vn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&vn.dispatchAction(Lt)}),Ue(hn,CONNECT_STATUS_UPDATED)}})})}}(),ie}(Eventful$1),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(oe,ie,le){var ue=this;function de(){for(var pe=[],he=0;he<arguments.length;he++)pe[he]=arguments[he];ie&&ie.apply&&ie.apply(this,pe),ue.off(oe,de)}this.on.call(this,oe,de,le)};var MOUSE_EVENT_NAMES=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function disposedWarning(oe){}var actions={},eventActionMap={},dataProcessorFuncs=[],optionPreprocessorFuncs=[],visualFuncs=[],themeStorage={},loadingEffects={},instances={},connectedGroups={},idBase=+new Date-0,groupIdBase=+new Date-0,DOM_ATTRIBUTE_KEY="_echarts_instance_";function init(oe,ie,le){var ue=!(le&&le.ssr);if(ue){var de=getInstanceByDom(oe);if(de)return de}var pe=new ECharts(oe,ie,le);return pe.id="ec_"+idBase++,instances[pe.id]=pe,ue&&setAttribute(oe,DOM_ATTRIBUTE_KEY,pe.id),enableConnect(pe),lifecycle$1.trigger("afterinit",pe),pe}function connect(oe){if(isArray$1(oe)){var ie=oe;oe=null,each$c(ie,function(le){le.group!=null&&(oe=le.group)}),oe=oe||"g_"+groupIdBase++,each$c(ie,function(le){le.group=oe})}return connectedGroups[oe]=!0,oe}function disConnect(oe){connectedGroups[oe]=!1}var disconnect=disConnect;function dispose(oe){isString(oe)?oe=instances[oe]:oe instanceof ECharts||(oe=getInstanceByDom(oe)),oe instanceof ECharts&&!oe.isDisposed()&&oe.dispose()}function getInstanceByDom(oe){return instances[getAttribute(oe,DOM_ATTRIBUTE_KEY)]}function getInstanceById(oe){return instances[oe]}function registerTheme(oe,ie){themeStorage[oe]=ie}function registerPreprocessor(oe){indexOf(optionPreprocessorFuncs,oe)<0&&optionPreprocessorFuncs.push(oe)}function registerProcessor(oe,ie){normalizeRegister(dataProcessorFuncs,oe,ie,PRIORITY_PROCESSOR_DEFAULT)}function registerPostInit(oe){registerUpdateLifecycle("afterinit",oe)}function registerPostUpdate(oe){registerUpdateLifecycle("afterupdate",oe)}function registerUpdateLifecycle(oe,ie){lifecycle$1.on(oe,ie)}function registerAction(oe,ie,le){isFunction(ie)&&(le=ie,ie="");var ue=isObject$3(oe)?oe.type:[oe,oe={event:ie}][0];oe.event=(oe.event||ue).toLowerCase(),ie=oe.event,!eventActionMap[ie]&&(assert(ACTION_REG.test(ue)&&ACTION_REG.test(ie)),actions[ue]||(actions[ue]={action:le,actionInfo:oe}),eventActionMap[ie]=ue)}function registerCoordinateSystem(oe,ie){CoordinateSystem.register(oe,ie)}function getCoordinateSystemDimensions(oe){var ie=CoordinateSystem.get(oe);if(ie)return ie.getDimensionsInfo?ie.getDimensionsInfo():ie.dimensions.slice()}function registerLayout(oe,ie){normalizeRegister(visualFuncs,oe,ie,PRIORITY_VISUAL_LAYOUT,"layout")}function registerVisual(oe,ie){normalizeRegister(visualFuncs,oe,ie,PRIORITY_VISUAL_CHART,"visual")}var registeredTasks=[];function normalizeRegister(oe,ie,le,ue,de){if((isFunction(ie)||isObject$3(ie))&&(le=ie,ie=ue),!(indexOf(registeredTasks,le)>=0)){registeredTasks.push(le);var pe=Scheduler$1.wrapStageHandler(le,de);pe.__prio=ie,pe.__raw=le,oe.push(pe)}}function registerLoading(oe,ie){loadingEffects[oe]=ie}function setCanvasCreator(oe){setPlatformAPI({createCanvas:oe})}function registerMap(oe,ie,le){var ue=getImpl("registerMap");ue&&ue(oe,ie,le)}function getMap(oe){var ie=getImpl("getMap");return ie&&ie(oe)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack$1);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",darkTheme);var dataTool={};function dataIndexMapValueLength(oe){return oe==null?0:oe.length||1}function defaultKeyGetter(oe){return oe}var DataDiffer=function(){function oe(ie,le,ue,de,pe,he){this._old=ie,this._new=le,this._oldKeyGetter=ue||defaultKeyGetter,this._newKeyGetter=de||defaultKeyGetter,this.context=pe,this._diffModeMultiple=he==="multiple"}return oe.prototype.add=function(ie){return this._add=ie,this},oe.prototype.update=function(ie){return this._update=ie,this},oe.prototype.updateManyToOne=function(ie){return this._updateManyToOne=ie,this},oe.prototype.updateOneToMany=function(ie){return this._updateOneToMany=ie,this},oe.prototype.updateManyToMany=function(ie){return this._updateManyToMany=ie,this},oe.prototype.remove=function(ie){return this._remove=ie,this},oe.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},oe.prototype._executeOneToOne=function(){var ie=this._old,le=this._new,ue={},de=new Array(ie.length),pe=new Array(le.length);this._initIndexMap(ie,null,de,"_oldKeyGetter"),this._initIndexMap(le,ue,pe,"_newKeyGetter");for(var he=0;he<ie.length;he++){var _e=de[he],$e=ue[_e],Ie=dataIndexMapValueLength($e);if(Ie>1){var Ve=$e.shift();$e.length===1&&(ue[_e]=$e[0]),this._update&&this._update(Ve,he)}else Ie===1?(ue[_e]=null,this._update&&this._update($e,he)):this._remove&&this._remove(he)}this._performRestAdd(pe,ue)},oe.prototype._executeMultiple=function(){var ie=this._old,le=this._new,ue={},de={},pe=[],he=[];this._initIndexMap(ie,ue,pe,"_oldKeyGetter"),this._initIndexMap(le,de,he,"_newKeyGetter");for(var _e=0;_e<pe.length;_e++){var $e=pe[_e],Ie=ue[$e],Ve=de[$e],Fe=dataIndexMapValueLength(Ie),Ue=dataIndexMapValueLength(Ve);if(Fe>1&&Ue===1)this._updateManyToOne&&this._updateManyToOne(Ve,Ie),de[$e]=null;else if(Fe===1&&Ue>1)this._updateOneToMany&&this._updateOneToMany(Ve,Ie),de[$e]=null;else if(Fe===1&&Ue===1)this._update&&this._update(Ve,Ie),de[$e]=null;else if(Fe>1&&Ue>1)this._updateManyToMany&&this._updateManyToMany(Ve,Ie),de[$e]=null;else if(Fe>1)for(var qe=0;qe<Fe;qe++)this._remove&&this._remove(Ie[qe]);else this._remove&&this._remove(Ie)}this._performRestAdd(he,de)},oe.prototype._performRestAdd=function(ie,le){for(var ue=0;ue<ie.length;ue++){var de=ie[ue],pe=le[de],he=dataIndexMapValueLength(pe);if(he>1)for(var _e=0;_e<he;_e++)this._add&&this._add(pe[_e]);else he===1&&this._add&&this._add(pe);le[de]=null}},oe.prototype._initIndexMap=function(ie,le,ue,de){for(var pe=this._diffModeMultiple,he=0;he<ie.length;he++){var _e="_ec_"+this[de](ie[he],he);if(pe||(ue[he]=_e),!!le){var $e=le[_e],Ie=dataIndexMapValueLength($e);Ie===0?(le[_e]=he,pe&&ue.push(_e)):Ie===1?le[_e]=[$e,he]:$e.push(he)}}},oe}();const DataDiffer$1=DataDiffer;var DimensionUserOuput=function(){function oe(ie,le){this._encode=ie,this._schema=le}return oe.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},oe.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},oe}();function summarizeDimensions(oe,ie){var le={},ue=le.encode={},de=createHashMap(),pe=[],he=[],_e={};each$c(oe.dimensions,function(Ue){var qe=oe.getDimensionInfo(Ue),Et=qe.coordDim;if(Et){var At=qe.coordDimIndex;getOrCreateEncodeArr(ue,Et)[At]=Ue,qe.isExtraCoord||(de.set(Et,1),mayLabelDimType(qe.type)&&(pe[0]=Ue),getOrCreateEncodeArr(_e,Et)[At]=oe.getDimensionIndex(qe.name)),qe.defaultTooltip&&he.push(Ue)}VISUAL_DIMENSIONS.each(function(Lt,hn){var vn=getOrCreateEncodeArr(ue,hn),_n=qe.otherDims[hn];_n!=null&&_n!==!1&&(vn[_n]=qe.name)})});var $e=[],Ie={};de.each(function(Ue,qe){var Et=ue[qe];Ie[qe]=Et[0],$e=$e.concat(Et)}),le.dataDimsOnCoord=$e,le.dataDimIndicesOnCoord=map$2($e,function(Ue){return oe.getDimensionInfo(Ue).storeDimIndex}),le.encodeFirstDimNotExtra=Ie;var Ve=ue.label;Ve&&Ve.length&&(pe=Ve.slice());var Fe=ue.tooltip;return Fe&&Fe.length?he=Fe.slice():he.length||(he=pe.slice()),ue.defaultedLabel=pe,ue.defaultedTooltip=he,le.userOutput=new DimensionUserOuput(_e,ie),le}function getOrCreateEncodeArr(oe,ie){return oe.hasOwnProperty(ie)||(oe[ie]=[]),oe[ie]}function getDimensionTypeByAxis(oe){return oe==="category"?"ordinal":oe==="time"?"time":"float"}function mayLabelDimType(oe){return!(oe==="ordinal"||oe==="time")}var SeriesDimensionDefine=function(){function oe(ie){this.otherDims={},ie!=null&&extend(this,ie)}return oe}();const SeriesDimensionDefine$1=SeriesDimensionDefine;var inner$8=makeInner(),dimTypeShort={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},SeriesDataSchema=function(){function oe(ie){this.dimensions=ie.dimensions,this._dimOmitted=ie.dimensionOmitted,this.source=ie.source,this._fullDimCount=ie.fullDimensionCount,this._updateDimOmitted(ie.dimensionOmitted)}return oe.prototype.isDimensionOmitted=function(){return this._dimOmitted},oe.prototype._updateDimOmitted=function(ie){this._dimOmitted=ie,ie&&(this._dimNameMap||(this._dimNameMap=ensureSourceDimNameMap(this.source)))},oe.prototype.getSourceDimensionIndex=function(ie){return retrieve2(this._dimNameMap.get(ie),-1)},oe.prototype.getSourceDimension=function(ie){var le=this.source.dimensionsDefine;if(le)return le[ie]},oe.prototype.makeStoreSchema=function(){for(var ie=this._fullDimCount,le=shouldRetrieveDataByName(this.source),ue=!shouldOmitUnusedDimensions(ie),de="",pe=[],he=0,_e=0;he<ie;he++){var $e=void 0,Ie=void 0,Ve=void 0,Fe=this.dimensions[_e];if(Fe&&Fe.storeDimIndex===he)$e=le?Fe.name:null,Ie=Fe.type,Ve=Fe.ordinalMeta,_e++;else{var Ue=this.getSourceDimension(he);Ue&&($e=le?Ue.name:null,Ie=Ue.type)}pe.push({property:$e,type:Ie,ordinalMeta:Ve}),le&&$e!=null&&(!Fe||!Fe.isCalculationCoord)&&(de+=ue?$e.replace(/\`/g,"`1").replace(/\$/g,"`2"):$e),de+="$",de+=dimTypeShort[Ie]||"f",Ve&&(de+=Ve.uid),de+="$"}var qe=this.source,Et=[qe.seriesLayoutBy,qe.startIndex,de].join("$$");return{dimensions:pe,hash:Et}},oe.prototype.makeOutputDimensionNames=function(){for(var ie=[],le=0,ue=0;le<this._fullDimCount;le++){var de=void 0,pe=this.dimensions[ue];if(pe&&pe.storeDimIndex===le)pe.isCalculationCoord||(de=pe.name),ue++;else{var he=this.getSourceDimension(le);he&&(de=he.name)}ie.push(de)}return ie},oe.prototype.appendCalculationDimension=function(ie){this.dimensions.push(ie),ie.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},oe}();function isSeriesDataSchema(oe){return oe instanceof SeriesDataSchema}function createDimNameMap(oe){for(var ie=createHashMap(),le=0;le<(oe||[]).length;le++){var ue=oe[le],de=isObject$3(ue)?ue.name:ue;de!=null&&ie.get(de)==null&&ie.set(de,le)}return ie}function ensureSourceDimNameMap(oe){var ie=inner$8(oe);return ie.dimNameMap||(ie.dimNameMap=createDimNameMap(oe.dimensionsDefine))}function shouldOmitUnusedDimensions(oe){return oe>30}var isObject$1=isObject$3,map$1=map$2,CtorInt32Array=typeof Int32Array>"u"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function oe(ie,le){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var ue,de=!1;isSeriesDataSchema(ie)?(ue=ie.dimensions,this._dimOmitted=ie.isDimensionOmitted(),this._schema=ie):(de=!0,ue=ie),ue=ue||["x","y"];for(var pe={},he=[],_e={},$e=!1,Ie={},Ve=0;Ve<ue.length;Ve++){var Fe=ue[Ve],Ue=isString(Fe)?new SeriesDimensionDefine$1({name:Fe}):Fe instanceof SeriesDimensionDefine$1?Fe:new SeriesDimensionDefine$1(Fe),qe=Ue.name;Ue.type=Ue.type||"float",Ue.coordDim||(Ue.coordDim=qe,Ue.coordDimIndex=0);var Et=Ue.otherDims=Ue.otherDims||{};he.push(qe),pe[qe]=Ue,Ie[qe]!=null&&($e=!0),Ue.createInvertedIndices&&(_e[qe]=[]),Et.itemName===0&&(this._nameDimIdx=Ve),Et.itemId===0&&(this._idDimIdx=Ve),de&&(Ue.storeDimIndex=Ve)}if(this.dimensions=he,this._dimInfos=pe,this._initGetDimensionInfo($e),this.hostModel=le,this._invertedIndicesMap=_e,this._dimOmitted){var At=this._dimIdxToName=createHashMap();each$c(he,function(Lt){At.set(pe[Lt].storeDimIndex,Lt)})}}return oe.prototype.getDimension=function(ie){var le=this._recognizeDimIndex(ie);if(le==null)return ie;if(le=ie,!this._dimOmitted)return this.dimensions[le];var ue=this._dimIdxToName.get(le);if(ue!=null)return ue;var de=this._schema.getSourceDimension(le);if(de)return de.name},oe.prototype.getDimensionIndex=function(ie){var le=this._recognizeDimIndex(ie);if(le!=null)return le;if(ie==null)return-1;var ue=this._getDimInfo(ie);return ue?ue.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(ie):-1},oe.prototype._recognizeDimIndex=function(ie){if(isNumber(ie)||ie!=null&&!isNaN(ie)&&!this._getDimInfo(ie)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(ie)<0))return+ie},oe.prototype._getStoreDimIndex=function(ie){var le=this.getDimensionIndex(ie);return le},oe.prototype.getDimensionInfo=function(ie){return this._getDimInfo(this.getDimension(ie))},oe.prototype._initGetDimensionInfo=function(ie){var le=this._dimInfos;this._getDimInfo=ie?function(ue){return le.hasOwnProperty(ue)?le[ue]:void 0}:function(ue){return le[ue]}},oe.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},oe.prototype.mapDimension=function(ie,le){var ue=this._dimSummary;if(le==null)return ue.encodeFirstDimNotExtra[ie];var de=ue.encode[ie];return de?de[le]:null},oe.prototype.mapDimensionsAll=function(ie){var le=this._dimSummary,ue=le.encode[ie];return(ue||[]).slice()},oe.prototype.getStore=function(){return this._store},oe.prototype.initData=function(ie,le,ue){var de=this,pe;if(ie instanceof DataStore$1&&(pe=ie),!pe){var he=this.dimensions,_e=isSourceInstance(ie)||isArrayLike(ie)?new DefaultDataProvider(ie,he.length):ie;pe=new DataStore$1;var $e=map$1(he,function(Ie){return{type:de._dimInfos[Ie].type,property:Ie}});pe.initData(_e,$e,ue)}this._store=pe,this._nameList=(le||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,pe.count()),this._dimSummary=summarizeDimensions(this,this._schema),this.userOutput=this._dimSummary.userOutput},oe.prototype.appendData=function(ie){var le=this._store.appendData(ie);this._doInit(le[0],le[1])},oe.prototype.appendValues=function(ie,le){var ue=this._store.appendValues(ie,le.length),de=ue.start,pe=ue.end,he=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),le)for(var _e=de;_e<pe;_e++){var $e=_e-de;this._nameList[_e]=le[$e],he&&makeIdFromName(this,_e)}},oe.prototype._updateOrdinalMeta=function(){for(var ie=this._store,le=this.dimensions,ue=0;ue<le.length;ue++){var de=this._dimInfos[le[ue]];de.ordinalMeta&&ie.collectOrdinalMeta(de.storeDimIndex,de.ordinalMeta)}},oe.prototype._shouldMakeIdFromName=function(){var ie=this._store.getProvider();return this._idDimIdx==null&&ie.getSource().sourceFormat!==SOURCE_FORMAT_TYPED_ARRAY&&!ie.fillStorage},oe.prototype._doInit=function(ie,le){if(!(ie>=le)){var ue=this._store,de=ue.getProvider();this._updateOrdinalMeta();var pe=this._nameList,he=this._idList,_e=de.getSource().sourceFormat,$e=_e===SOURCE_FORMAT_ORIGINAL;if($e&&!de.pure)for(var Ie=[],Ve=ie;Ve<le;Ve++){var Fe=de.getItem(Ve,Ie);if(!this.hasItemOption&&isDataItemOption(Fe)&&(this.hasItemOption=!0),Fe){var Ue=Fe.name;pe[Ve]==null&&Ue!=null&&(pe[Ve]=convertOptionIdName(Ue,null));var qe=Fe.id;he[Ve]==null&&qe!=null&&(he[Ve]=convertOptionIdName(qe,null))}}if(this._shouldMakeIdFromName())for(var Ve=ie;Ve<le;Ve++)makeIdFromName(this,Ve);prepareInvertedIndex(this)}},oe.prototype.getApproximateExtent=function(ie){return this._approximateExtent[ie]||this._store.getDataExtent(this._getStoreDimIndex(ie))},oe.prototype.setApproximateExtent=function(ie,le){le=this.getDimension(le),this._approximateExtent[le]=ie.slice()},oe.prototype.getCalculationInfo=function(ie){return this._calculationInfo[ie]},oe.prototype.setCalculationInfo=function(ie,le){isObject$1(ie)?extend(this._calculationInfo,ie):this._calculationInfo[ie]=le},oe.prototype.getName=function(ie){var le=this.getRawIndex(ie),ue=this._nameList[le];return ue==null&&this._nameDimIdx!=null&&(ue=getIdNameFromStore(this,this._nameDimIdx,le)),ue==null&&(ue=""),ue},oe.prototype._getCategory=function(ie,le){var ue=this._store.get(ie,le),de=this._store.getOrdinalMeta(ie);return de?de.categories[ue]:ue},oe.prototype.getId=function(ie){return getId(this,this.getRawIndex(ie))},oe.prototype.count=function(){return this._store.count()},oe.prototype.get=function(ie,le){var ue=this._store,de=this._dimInfos[ie];if(de)return ue.get(de.storeDimIndex,le)},oe.prototype.getByRawIndex=function(ie,le){var ue=this._store,de=this._dimInfos[ie];if(de)return ue.getByRawIndex(de.storeDimIndex,le)},oe.prototype.getIndices=function(){return this._store.getIndices()},oe.prototype.getDataExtent=function(ie){return this._store.getDataExtent(this._getStoreDimIndex(ie))},oe.prototype.getSum=function(ie){return this._store.getSum(this._getStoreDimIndex(ie))},oe.prototype.getMedian=function(ie){return this._store.getMedian(this._getStoreDimIndex(ie))},oe.prototype.getValues=function(ie,le){var ue=this,de=this._store;return isArray$1(ie)?de.getValues(map$1(ie,function(pe){return ue._getStoreDimIndex(pe)}),le):de.getValues(ie)},oe.prototype.hasValue=function(ie){for(var le=this._dimSummary.dataDimIndicesOnCoord,ue=0,de=le.length;ue<de;ue++)if(isNaN(this._store.get(le[ue],ie)))return!1;return!0},oe.prototype.indexOfName=function(ie){for(var le=0,ue=this._store.count();le<ue;le++)if(this.getName(le)===ie)return le;return-1},oe.prototype.getRawIndex=function(ie){return this._store.getRawIndex(ie)},oe.prototype.indexOfRawIndex=function(ie){return this._store.indexOfRawIndex(ie)},oe.prototype.rawIndexOf=function(ie,le){var ue=ie&&this._invertedIndicesMap[ie],de=ue[le];return de==null||isNaN(de)?INDEX_NOT_FOUND:de},oe.prototype.indicesOfNearest=function(ie,le,ue){return this._store.indicesOfNearest(this._getStoreDimIndex(ie),le,ue)},oe.prototype.each=function(ie,le,ue){isFunction(ie)&&(ue=le,le=ie,ie=[]);var de=ue||this,pe=map$1(normalizeDimensions(ie),this._getStoreDimIndex,this);this._store.each(pe,de?bind$1(le,de):le)},oe.prototype.filterSelf=function(ie,le,ue){isFunction(ie)&&(ue=le,le=ie,ie=[]);var de=ue||this,pe=map$1(normalizeDimensions(ie),this._getStoreDimIndex,this);return this._store=this._store.filter(pe,de?bind$1(le,de):le),this},oe.prototype.selectRange=function(ie){var le=this,ue={},de=keys(ie);return each$c(de,function(pe){var he=le._getStoreDimIndex(pe);ue[he]=ie[pe]}),this._store=this._store.selectRange(ue),this},oe.prototype.mapArray=function(ie,le,ue){isFunction(ie)&&(ue=le,le=ie,ie=[]),ue=ue||this;var de=[];return this.each(ie,function(){de.push(le&&le.apply(this,arguments))},ue),de},oe.prototype.map=function(ie,le,ue,de){var pe=ue||de||this,he=map$1(normalizeDimensions(ie),this._getStoreDimIndex,this),_e=cloneListForMapAndSample(this);return _e._store=this._store.map(he,pe?bind$1(le,pe):le),_e},oe.prototype.modify=function(ie,le,ue,de){var pe=ue||de||this,he=map$1(normalizeDimensions(ie),this._getStoreDimIndex,this);this._store.modify(he,pe?bind$1(le,pe):le)},oe.prototype.downSample=function(ie,le,ue,de){var pe=cloneListForMapAndSample(this);return pe._store=this._store.downSample(this._getStoreDimIndex(ie),le,ue,de),pe},oe.prototype.lttbDownSample=function(ie,le){var ue=cloneListForMapAndSample(this);return ue._store=this._store.lttbDownSample(this._getStoreDimIndex(ie),le),ue},oe.prototype.getRawDataItem=function(ie){return this._store.getRawDataItem(ie)},oe.prototype.getItemModel=function(ie){var le=this.hostModel,ue=this.getRawDataItem(ie);return new Model$1(ue,le,le&&le.ecModel)},oe.prototype.diff=function(ie){var le=this;return new DataDiffer$1(ie?ie.getStore().getIndices():[],this.getStore().getIndices(),function(ue){return getId(ie,ue)},function(ue){return getId(le,ue)})},oe.prototype.getVisual=function(ie){var le=this._visual;return le&&le[ie]},oe.prototype.setVisual=function(ie,le){this._visual=this._visual||{},isObject$1(ie)?extend(this._visual,ie):this._visual[ie]=le},oe.prototype.getItemVisual=function(ie,le){var ue=this._itemVisuals[ie],de=ue&&ue[le];return de??this.getVisual(le)},oe.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},oe.prototype.ensureUniqueItemVisual=function(ie,le){var ue=this._itemVisuals,de=ue[ie];de||(de=ue[ie]={});var pe=de[le];return pe==null&&(pe=this.getVisual(le),isArray$1(pe)?pe=pe.slice():isObject$1(pe)&&(pe=extend({},pe)),de[le]=pe),pe},oe.prototype.setItemVisual=function(ie,le,ue){var de=this._itemVisuals[ie]||{};this._itemVisuals[ie]=de,isObject$1(le)?extend(de,le):de[le]=ue},oe.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},oe.prototype.setLayout=function(ie,le){isObject$1(ie)?extend(this._layout,ie):this._layout[ie]=le},oe.prototype.getLayout=function(ie){return this._layout[ie]},oe.prototype.getItemLayout=function(ie){return this._itemLayouts[ie]},oe.prototype.setItemLayout=function(ie,le,ue){this._itemLayouts[ie]=ue?extend(this._itemLayouts[ie]||{},le):le},oe.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},oe.prototype.setItemGraphicEl=function(ie,le){var ue=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(ue,this.dataType,ie,le),this._graphicEls[ie]=le},oe.prototype.getItemGraphicEl=function(ie){return this._graphicEls[ie]},oe.prototype.eachItemGraphicEl=function(ie,le){each$c(this._graphicEls,function(ue,de){ue&&ie&&ie.call(le,ue,de)})},oe.prototype.cloneShallow=function(ie){return ie||(ie=new oe(this._schema?this._schema:map$1(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(ie,this),ie._store=this._store,ie},oe.prototype.wrapMethod=function(ie,le){var ue=this[ie];isFunction(ue)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(ie),this[ie]=function(){var de=ue.apply(this,arguments);return le.apply(this,[de].concat(slice(arguments)))})},oe.internalField=function(){prepareInvertedIndex=function(ie){var le=ie._invertedIndicesMap;each$c(le,function(ue,de){var pe=ie._dimInfos[de],he=pe.ordinalMeta,_e=ie._store;if(he){ue=le[de]=new CtorInt32Array(he.categories.length);for(var $e=0;$e<ue.length;$e++)ue[$e]=INDEX_NOT_FOUND;for(var $e=0;$e<_e.count();$e++)ue[_e.get(pe.storeDimIndex,$e)]=$e}})},getIdNameFromStore=function(ie,le,ue){return convertOptionIdName(ie._getCategory(le,ue),null)},getId=function(ie,le){var ue=ie._idList[le];return ue==null&&ie._idDimIdx!=null&&(ue=getIdNameFromStore(ie,ie._idDimIdx,le)),ue==null&&(ue=ID_PREFIX+le),ue},normalizeDimensions=function(ie){return isArray$1(ie)||(ie=ie!=null?[ie]:[]),ie},cloneListForMapAndSample=function(ie){var le=new oe(ie._schema?ie._schema:map$1(ie.dimensions,ie._getDimInfo,ie),ie.hostModel);return transferProperties(le,ie),le},transferProperties=function(ie,le){each$c(TRANSFERABLE_PROPERTIES.concat(le.__wrappedMethods||[]),function(ue){le.hasOwnProperty(ue)&&(ie[ue]=le[ue])}),ie.__wrappedMethods=le.__wrappedMethods,each$c(CLONE_PROPERTIES,function(ue){ie[ue]=clone$3(le[ue])}),ie._calculationInfo=extend({},le._calculationInfo)},makeIdFromName=function(ie,le){var ue=ie._nameList,de=ie._idList,pe=ie._nameDimIdx,he=ie._idDimIdx,_e=ue[le],$e=de[le];if(_e==null&&pe!=null&&(ue[le]=_e=getIdNameFromStore(ie,pe,le)),$e==null&&he!=null&&(de[le]=$e=getIdNameFromStore(ie,he,le)),$e==null&&_e!=null){var Ie=ie._nameRepeatCount,Ve=Ie[_e]=(Ie[_e]||0)+1;$e=_e,Ve>1&&($e+="__ec__"+Ve),de[le]=$e}}}(),oe}();const SeriesData$1=SeriesData;function createDimensions(oe,ie){return prepareSeriesDataSchema(oe,ie).dimensions}function prepareSeriesDataSchema(oe,ie){isSourceInstance(oe)||(oe=createSourceFromSeriesDataOption(oe)),ie=ie||{};var le=ie.coordDimensions||[],ue=ie.dimensionsDefine||oe.dimensionsDefine||[],de=createHashMap(),pe=[],he=getDimCount(oe,le,ue,ie.dimensionsCount),_e=ie.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(he),$e=ue===oe.dimensionsDefine,Ie=$e?ensureSourceDimNameMap(oe):createDimNameMap(ue),Ve=ie.encodeDefine;!Ve&&ie.encodeDefaulter&&(Ve=ie.encodeDefaulter(oe,he));for(var Fe=createHashMap(Ve),Ue=new CtorInt32Array$1(he),qe=0;qe<Ue.length;qe++)Ue[qe]=-1;function Et(xn){var kn=Ue[xn];if(kn<0){var Pn=ue[xn],An=isObject$3(Pn)?Pn:{name:Pn},In=new SeriesDimensionDefine$1,Nn=An.name;Nn!=null&&Ie.get(Nn)!=null&&(In.name=In.displayName=Nn),An.type!=null&&(In.type=An.type),An.displayName!=null&&(In.displayName=An.displayName);var Un=pe.length;return Ue[xn]=Un,In.storeDimIndex=xn,pe.push(In),In}return pe[kn]}if(!_e)for(var qe=0;qe<he;qe++)Et(qe);Fe.each(function(xn,kn){var Pn=normalizeToArray(xn).slice();if(Pn.length===1&&!isString(Pn[0])&&Pn[0]<0){Fe.set(kn,!1);return}var An=Fe.set(kn,[]);each$c(Pn,function(In,Nn){var Un=isString(In)?Ie.get(In):In;Un!=null&&Un<he&&(An[Nn]=Un,Lt(Et(Un),kn,Nn))})});var At=0;each$c(le,function(xn){var kn,Pn,An,In;if(isString(xn))kn=xn,In={};else{In=xn,kn=In.name;var Nn=In.ordinalMeta;In.ordinalMeta=null,In=extend({},In),In.ordinalMeta=Nn,Pn=In.dimsDef,An=In.otherDims,In.name=In.coordDim=In.coordDimIndex=In.dimsDef=In.otherDims=null}var Un=Fe.get(kn);if(Un!==!1){if(Un=normalizeToArray(Un),!Un.length)for(var Vn=0;Vn<(Pn&&Pn.length||1);Vn++){for(;At<he&&Et(At).coordDim!=null;)At++;At<he&&Un.push(At++)}each$c(Un,function(Mn,Fn){var Ln=Et(Mn);if($e&&In.type!=null&&(Ln.type=In.type),Lt(defaults(Ln,In),kn,Fn),Ln.name==null&&Pn){var jn=Pn[Fn];!isObject$3(jn)&&(jn={name:jn}),Ln.name=Ln.displayName=jn.name,Ln.defaultTooltip=jn.defaultTooltip}An&&defaults(Ln.otherDims,An)})}});function Lt(xn,kn,Pn){VISUAL_DIMENSIONS.get(kn)!=null?xn.otherDims[kn]=Pn:(xn.coordDim=kn,xn.coordDimIndex=Pn,de.set(kn,!0))}var hn=ie.generateCoord,vn=ie.generateCoordCount,_n=vn!=null;vn=hn?vn||1:0;var bn=hn||"value";function Sn(xn){xn.name==null&&(xn.name=xn.coordDim)}if(_e)each$c(pe,function(xn){Sn(xn)}),pe.sort(function(xn,kn){return xn.storeDimIndex-kn.storeDimIndex});else for(var Cn=0;Cn<he;Cn++){var En=Et(Cn),wn=En.coordDim;wn==null&&(En.coordDim=genCoordDimName(bn,de,_n),En.coordDimIndex=0,(!hn||vn<=0)&&(En.isExtraCoord=!0),vn--),Sn(En),En.type==null&&(guessOrdinal(oe,Cn)===BE_ORDINAL.Must||En.isExtraCoord&&(En.otherDims.itemName!=null||En.otherDims.seriesName!=null))&&(En.type="ordinal")}return removeDuplication(pe),new SeriesDataSchema({source:oe,dimensions:pe,fullDimensionCount:he,dimensionOmitted:_e})}function removeDuplication(oe){for(var ie=createHashMap(),le=0;le<oe.length;le++){var ue=oe[le],de=ue.name,pe=ie.get(de)||0;pe>0&&(ue.name=de+(pe-1)),pe++,ie.set(de,pe)}}function getDimCount(oe,ie,le,ue){var de=Math.max(oe.dimensionsDetectedCount||1,ie.length,le.length,ue||0);return each$c(ie,function(pe){var he;isObject$3(pe)&&(he=pe.dimsDef)&&(de=Math.max(de,he.length))}),de}function genCoordDimName(oe,ie,le){if(le||ie.hasKey(oe)){for(var ue=0;ie.hasKey(oe+ue);)ue++;oe+=ue}return ie.set(oe,!0),oe}var CoordSysInfo=function(){function oe(ie){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=ie}return oe}();function getCoordSysInfoBySeries(oe){var ie=oe.get("coordinateSystem"),le=new CoordSysInfo(ie),ue=fetchers[ie];if(ue)return ue(oe,le,le.axisMap,le.categoryAxisMap),le}var fetchers={cartesian2d:function(oe,ie,le,ue){var de=oe.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],pe=oe.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];ie.coordSysDims=["x","y"],le.set("x",de),le.set("y",pe),isCategory(de)&&(ue.set("x",de),ie.firstCategoryDimIndex=0),isCategory(pe)&&(ue.set("y",pe),ie.firstCategoryDimIndex==null&&(ie.firstCategoryDimIndex=1))},singleAxis:function(oe,ie,le,ue){var de=oe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];ie.coordSysDims=["single"],le.set("single",de),isCategory(de)&&(ue.set("single",de),ie.firstCategoryDimIndex=0)},polar:function(oe,ie,le,ue){var de=oe.getReferringComponents("polar",SINGLE_REFERRING).models[0],pe=de.findAxisModel("radiusAxis"),he=de.findAxisModel("angleAxis");ie.coordSysDims=["radius","angle"],le.set("radius",pe),le.set("angle",he),isCategory(pe)&&(ue.set("radius",pe),ie.firstCategoryDimIndex=0),isCategory(he)&&(ue.set("angle",he),ie.firstCategoryDimIndex==null&&(ie.firstCategoryDimIndex=1))},geo:function(oe,ie,le,ue){ie.coordSysDims=["lng","lat"]},parallel:function(oe,ie,le,ue){var de=oe.ecModel,pe=de.getComponent("parallel",oe.get("parallelIndex")),he=ie.coordSysDims=pe.dimensions.slice();each$c(pe.parallelAxisIndex,function(_e,$e){var Ie=de.getComponent("parallelAxis",_e),Ve=he[$e];le.set(Ve,Ie),isCategory(Ie)&&(ue.set(Ve,Ie),ie.firstCategoryDimIndex==null&&(ie.firstCategoryDimIndex=$e))})}};function isCategory(oe){return oe.get("type")==="category"}function enableDataStack(oe,ie,le){le=le||{};var ue=le.byIndex,de=le.stackedCoordDimension,pe,he,_e;isLegacyDimensionsInput(ie)?pe=ie:(he=ie.schema,pe=he.dimensions,_e=ie.store);var $e=!!(oe&&oe.get("stack")),Ie,Ve,Fe,Ue;if(each$c(pe,function(vn,_n){isString(vn)&&(pe[_n]=vn={name:vn}),$e&&!vn.isExtraCoord&&(!ue&&!Ie&&vn.ordinalMeta&&(Ie=vn),!Ve&&vn.type!=="ordinal"&&vn.type!=="time"&&(!de||de===vn.coordDim)&&(Ve=vn))}),Ve&&!ue&&!Ie&&(ue=!0),Ve){Fe="__\0ecstackresult_"+oe.id,Ue="__\0ecstackedover_"+oe.id,Ie&&(Ie.createInvertedIndices=!0);var qe=Ve.coordDim,Et=Ve.type,At=0;each$c(pe,function(vn){vn.coordDim===qe&&At++});var Lt={name:Fe,coordDim:qe,coordDimIndex:At,type:Et,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:pe.length},hn={name:Ue,coordDim:Ue,coordDimIndex:At+1,type:Et,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:pe.length+1};he?(_e&&(Lt.storeDimIndex=_e.ensureCalculationDimension(Ue,Et),hn.storeDimIndex=_e.ensureCalculationDimension(Fe,Et)),he.appendCalculationDimension(Lt),he.appendCalculationDimension(hn)):(pe.push(Lt),pe.push(hn))}return{stackedDimension:Ve&&Ve.name,stackedByDimension:Ie&&Ie.name,isStackedByIndex:ue,stackedOverDimension:Ue,stackResultDimension:Fe}}function isLegacyDimensionsInput(oe){return!isSeriesDataSchema(oe.schema)}function isDimensionStacked(oe,ie){return!!ie&&ie===oe.getCalculationInfo("stackedDimension")}function getStackedDimension(oe,ie){return isDimensionStacked(oe,ie)?oe.getCalculationInfo("stackResultDimension"):ie}function getCoordSysDimDefs(oe,ie){var le=oe.get("coordinateSystem"),ue=CoordinateSystem.get(le),de;return ie&&ie.coordSysDims&&(de=map$2(ie.coordSysDims,function(pe){var he={name:pe},_e=ie.axisMap.get(pe);if(_e){var $e=_e.get("type");he.type=getDimensionTypeByAxis($e)}return he})),de||(de=ue&&(ue.getDimensionsInfo?ue.getDimensionsInfo():ue.dimensions.slice())||["x","y"]),de}function injectOrdinalMeta(oe,ie,le){var ue,de;return le&&each$c(oe,function(pe,he){var _e=pe.coordDim,$e=le.categoryAxisMap.get(_e);$e&&(ue==null&&(ue=he),pe.ordinalMeta=$e.getOrdinalMeta(),ie&&(pe.createInvertedIndices=!0)),pe.otherDims.itemName!=null&&(de=!0)}),!de&&ue!=null&&(oe[ue].otherDims.itemName=0),ue}function createSeriesData(oe,ie,le){le=le||{};var ue=ie.getSourceManager(),de,pe=!1;oe?(pe=!0,de=createSourceFromSeriesDataOption(oe)):(de=ue.getSource(),pe=de.sourceFormat===SOURCE_FORMAT_ORIGINAL);var he=getCoordSysInfoBySeries(ie),_e=getCoordSysDimDefs(ie,he),$e=le.useEncodeDefaulter,Ie=isFunction($e)?$e:$e?curry$1(makeSeriesEncodeForAxisCoordSys,_e,ie):null,Ve={coordDimensions:_e,generateCoord:le.generateCoord,encodeDefine:ie.getEncode(),encodeDefaulter:Ie,canOmitUnusedDimensions:!pe},Fe=prepareSeriesDataSchema(de,Ve),Ue=injectOrdinalMeta(Fe.dimensions,le.createInvertedIndices,he),qe=pe?null:ue.getSharedDataStore(Fe),Et=enableDataStack(ie,{schema:Fe,store:qe}),At=new SeriesData$1(Fe,ie);At.setCalculationInfo(Et);var Lt=Ue!=null&&isNeedCompleteOrdinalData(de)?function(hn,vn,_n,bn){return bn===Ue?_n:this.defaultDimValueGetter(hn,vn,_n,bn)}:null;return At.hasItemOption=!1,At.initData(pe?de:qe,null,Lt),At}function isNeedCompleteOrdinalData(oe){if(oe.sourceFormat===SOURCE_FORMAT_ORIGINAL){var ie=firstDataNotNull(oe.data||[]);return!isArray$1(getDataItemValue(ie))}}function firstDataNotNull(oe){for(var ie=0;ie<oe.length&&oe[ie]==null;)ie++;return oe[ie]}var Scale=function(){function oe(ie){this._setting=ie||{},this._extent=[1/0,-1/0]}return oe.prototype.getSetting=function(ie){return this._setting[ie]},oe.prototype.unionExtent=function(ie){var le=this._extent;ie[0]<le[0]&&(le[0]=ie[0]),ie[1]>le[1]&&(le[1]=ie[1])},oe.prototype.unionExtentFromData=function(ie,le){this.unionExtent(ie.getApproximateExtent(le))},oe.prototype.getExtent=function(){return this._extent.slice()},oe.prototype.setExtent=function(ie,le){var ue=this._extent;isNaN(ie)||(ue[0]=ie),isNaN(le)||(ue[1]=le)},oe.prototype.isInExtentRange=function(ie){return this._extent[0]<=ie&&this._extent[1]>=ie},oe.prototype.isBlank=function(){return this._isBlank},oe.prototype.setBlank=function(ie){this._isBlank=ie},oe}();enableClassManagement(Scale);const Scale$1=Scale;var uidBase=0,OrdinalMeta=function(){function oe(ie){this.categories=ie.categories||[],this._needCollect=ie.needCollect,this._deduplication=ie.deduplication,this.uid=++uidBase}return oe.createByAxisModel=function(ie){var le=ie.option,ue=le.data,de=ue&&map$2(ue,getName);return new oe({categories:de,needCollect:!de,deduplication:le.dedplication!==!1})},oe.prototype.getOrdinal=function(ie){return this._getOrCreateMap().get(ie)},oe.prototype.parseAndCollect=function(ie){var le,ue=this._needCollect;if(!isString(ie)&&!ue)return ie;if(ue&&!this._deduplication)return le=this.categories.length,this.categories[le]=ie,le;var de=this._getOrCreateMap();return le=de.get(ie),le==null&&(ue?(le=this.categories.length,this.categories[le]=ie,de.set(ie,le)):le=NaN),le},oe.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},oe}();function getName(oe){return isObject$3(oe)&&oe.value!=null?oe.value:oe+""}const OrdinalMeta$1=OrdinalMeta;function isIntervalOrLogScale(oe){return oe.type==="interval"||oe.type==="log"}function intervalScaleNiceTicks(oe,ie,le,ue){var de={},pe=oe[1]-oe[0],he=de.interval=nice(pe/ie,!0);le!=null&&he<le&&(he=de.interval=le),ue!=null&&he>ue&&(he=de.interval=ue);var _e=de.intervalPrecision=getIntervalPrecision(he),$e=de.niceTickExtent=[round$1(Math.ceil(oe[0]/he)*he,_e),round$1(Math.floor(oe[1]/he)*he,_e)];return fixExtent($e,oe),de}function increaseInterval(oe){var ie=Math.pow(10,quantityExponent(oe)),le=oe/ie;return le?le===2?le=3:le===3?le=5:le*=2:le=1,round$1(le*ie)}function getIntervalPrecision(oe){return getPrecision(oe)+2}function clamp(oe,ie,le){oe[ie]=Math.max(Math.min(oe[ie],le[1]),le[0])}function fixExtent(oe,ie){!isFinite(oe[0])&&(oe[0]=ie[0]),!isFinite(oe[1])&&(oe[1]=ie[1]),clamp(oe,0,ie),clamp(oe,1,ie),oe[0]>oe[1]&&(oe[0]=oe[1])}function contain$1(oe,ie){return oe>=ie[0]&&oe<=ie[1]}function normalize(oe,ie){return ie[1]===ie[0]?.5:(oe-ie[0])/(ie[1]-ie[0])}function scale(oe,ie){return oe*(ie[1]-ie[0])+ie[0]}var OrdinalScale=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;ue.type="ordinal";var de=ue.getSetting("ordinalMeta");return de||(de=new OrdinalMeta$1({})),isArray$1(de)&&(de=new OrdinalMeta$1({categories:map$2(de,function(pe){return isObject$3(pe)?pe.value:pe})})),ue._ordinalMeta=de,ue._extent=ue.getSetting("extent")||[0,de.categories.length-1],ue}return ie.prototype.parse=function(le){return le==null?NaN:isString(le)?this._ordinalMeta.getOrdinal(le):Math.round(le)},ie.prototype.contain=function(le){return le=this.parse(le),contain$1(le,this._extent)&&this._ordinalMeta.categories[le]!=null},ie.prototype.normalize=function(le){return le=this._getTickNumber(this.parse(le)),normalize(le,this._extent)},ie.prototype.scale=function(le){return le=Math.round(scale(le,this._extent)),this.getRawOrdinalNumber(le)},ie.prototype.getTicks=function(){for(var le=[],ue=this._extent,de=ue[0];de<=ue[1];)le.push({value:de}),de++;return le},ie.prototype.getMinorTicks=function(le){},ie.prototype.setSortInfo=function(le){if(le==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var ue=le.ordinalNumbers,de=this._ordinalNumbersByTick=[],pe=this._ticksByOrdinalNumber=[],he=0,_e=this._ordinalMeta.categories.length,$e=Math.min(_e,ue.length);he<$e;++he){var Ie=ue[he];de[he]=Ie,pe[Ie]=he}for(var Ve=0;he<_e;++he){for(;pe[Ve]!=null;)Ve++;de.push(Ve),pe[Ve]=he}},ie.prototype._getTickNumber=function(le){var ue=this._ticksByOrdinalNumber;return ue&&le>=0&&le<ue.length?ue[le]:le},ie.prototype.getRawOrdinalNumber=function(le){var ue=this._ordinalNumbersByTick;return ue&&le>=0&&le<ue.length?ue[le]:le},ie.prototype.getLabel=function(le){if(!this.isBlank()){var ue=this.getRawOrdinalNumber(le.value),de=this._ordinalMeta.categories[ue];return de==null?"":de+""}},ie.prototype.count=function(){return this._extent[1]-this._extent[0]+1},ie.prototype.unionExtentFromData=function(le,ue){this.unionExtent(le.getApproximateExtent(ue))},ie.prototype.isInExtentRange=function(le){return le=this._getTickNumber(le),this._extent[0]<=le&&this._extent[1]>=le},ie.prototype.getOrdinalMeta=function(){return this._ordinalMeta},ie.prototype.calcNiceTicks=function(){},ie.prototype.calcNiceExtent=function(){},ie.type="ordinal",ie}(Scale$1);Scale$1.registerClass(OrdinalScale);const OrdinalScale$1=OrdinalScale;var roundNumber=round$1,IntervalScale=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="interval",le._interval=0,le._intervalPrecision=2,le}return ie.prototype.parse=function(le){return le},ie.prototype.contain=function(le){return contain$1(le,this._extent)},ie.prototype.normalize=function(le){return normalize(le,this._extent)},ie.prototype.scale=function(le){return scale(le,this._extent)},ie.prototype.setExtent=function(le,ue){var de=this._extent;isNaN(le)||(de[0]=parseFloat(le)),isNaN(ue)||(de[1]=parseFloat(ue))},ie.prototype.unionExtent=function(le){var ue=this._extent;le[0]<ue[0]&&(ue[0]=le[0]),le[1]>ue[1]&&(ue[1]=le[1]),this.setExtent(ue[0],ue[1])},ie.prototype.getInterval=function(){return this._interval},ie.prototype.setInterval=function(le){this._interval=le,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(le)},ie.prototype.getTicks=function(le){var ue=this._interval,de=this._extent,pe=this._niceExtent,he=this._intervalPrecision,_e=[];if(!ue)return _e;var $e=1e4;de[0]<pe[0]&&(le?_e.push({value:roundNumber(pe[0]-ue,he)}):_e.push({value:de[0]}));for(var Ie=pe[0];Ie<=pe[1]&&(_e.push({value:Ie}),Ie=roundNumber(Ie+ue,he),Ie!==_e[_e.length-1].value);)if(_e.length>$e)return[];var Ve=_e.length?_e[_e.length-1].value:pe[1];return de[1]>Ve&&(le?_e.push({value:roundNumber(Ve+ue,he)}):_e.push({value:de[1]})),_e},ie.prototype.getMinorTicks=function(le){for(var ue=this.getTicks(!0),de=[],pe=this.getExtent(),he=1;he<ue.length;he++){for(var _e=ue[he],$e=ue[he-1],Ie=0,Ve=[],Fe=_e.value-$e.value,Ue=Fe/le;Ie<le-1;){var qe=roundNumber($e.value+(Ie+1)*Ue);qe>pe[0]&&qe<pe[1]&&Ve.push(qe),Ie++}de.push(Ve)}return de},ie.prototype.getLabel=function(le,ue){if(le==null)return"";var de=ue&&ue.precision;de==null?de=getPrecision(le.value)||0:de==="auto"&&(de=this._intervalPrecision);var pe=roundNumber(le.value,de,!0);return addCommas(pe)},ie.prototype.calcNiceTicks=function(le,ue,de){le=le||5;var pe=this._extent,he=pe[1]-pe[0];if(isFinite(he)){he<0&&(he=-he,pe.reverse());var _e=intervalScaleNiceTicks(pe,le,ue,de);this._intervalPrecision=_e.intervalPrecision,this._interval=_e.interval,this._niceExtent=_e.niceTickExtent}},ie.prototype.calcNiceExtent=function(le){var ue=this._extent;if(ue[0]===ue[1])if(ue[0]!==0){var de=Math.abs(ue[0]);le.fixMax||(ue[1]+=de/2),ue[0]-=de/2}else ue[1]=1;var pe=ue[1]-ue[0];isFinite(pe)||(ue[0]=0,ue[1]=1),this.calcNiceTicks(le.splitNumber,le.minInterval,le.maxInterval);var he=this._interval;le.fixMin||(ue[0]=roundNumber(Math.floor(ue[0]/he)*he)),le.fixMax||(ue[1]=roundNumber(Math.ceil(ue[1]/he)*he))},ie.prototype.setNiceExtent=function(le,ue){this._niceExtent=[le,ue]},ie.type="interval",ie}(Scale$1);Scale$1.registerClass(IntervalScale);const IntervalScale$1=IntervalScale;var supportFloat32Array=typeof Float32Array<"u",Float32ArrayCtor=supportFloat32Array?Float32Array:Array;function createFloat32Array(oe){return isArray$1(oe)?supportFloat32Array?new Float32Array(oe):oe:new Float32ArrayCtor(oe)}var STACK_PREFIX="__ec_stack_";function getSeriesStackId(oe){return oe.get("stack")||STACK_PREFIX+oe.seriesIndex}function getAxisKey(oe){return oe.dim+oe.index}function prepareLayoutBarSeries(oe,ie){var le=[];return ie.eachSeriesByType(oe,function(ue){isOnCartesian(ue)&&le.push(ue)}),le}function getValueAxesMinGaps(oe){var ie={};each$c(oe,function($e){var Ie=$e.coordinateSystem,Ve=Ie.getBaseAxis();if(!(Ve.type!=="time"&&Ve.type!=="value"))for(var Fe=$e.getData(),Ue=Ve.dim+"_"+Ve.index,qe=Fe.getDimensionIndex(Fe.mapDimension(Ve.dim)),Et=Fe.getStore(),At=0,Lt=Et.count();At<Lt;++At){var hn=Et.get(qe,At);ie[Ue]?ie[Ue].push(hn):ie[Ue]=[hn]}});var le={};for(var ue in ie)if(ie.hasOwnProperty(ue)){var de=ie[ue];if(de){de.sort(function($e,Ie){return $e-Ie});for(var pe=null,he=1;he<de.length;++he){var _e=de[he]-de[he-1];_e>0&&(pe=pe===null?_e:Math.min(pe,_e))}le[ue]=pe}}return le}function makeColumnLayout(oe){var ie=getValueAxesMinGaps(oe),le=[];return each$c(oe,function(ue){var de=ue.coordinateSystem,pe=de.getBaseAxis(),he=pe.getExtent(),_e;if(pe.type==="category")_e=pe.getBandWidth();else if(pe.type==="value"||pe.type==="time"){var $e=pe.dim+"_"+pe.index,Ie=ie[$e],Ve=Math.abs(he[1]-he[0]),Fe=pe.scale.getExtent(),Ue=Math.abs(Fe[1]-Fe[0]);_e=Ie?Ve/Ue*Ie:Ve}else{var qe=ue.getData();_e=Math.abs(he[1]-he[0])/qe.count()}var Et=parsePercent(ue.get("barWidth"),_e),At=parsePercent(ue.get("barMaxWidth"),_e),Lt=parsePercent(ue.get("barMinWidth")||(isInLargeMode(ue)?.5:1),_e),hn=ue.get("barGap"),vn=ue.get("barCategoryGap");le.push({bandWidth:_e,barWidth:Et,barMaxWidth:At,barMinWidth:Lt,barGap:hn,barCategoryGap:vn,axisKey:getAxisKey(pe),stackId:getSeriesStackId(ue)})}),doCalBarWidthAndOffset(le)}function doCalBarWidthAndOffset(oe){var ie={};each$c(oe,function(ue,de){var pe=ue.axisKey,he=ue.bandWidth,_e=ie[pe]||{bandWidth:he,remainedWidth:he,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},$e=_e.stacks;ie[pe]=_e;var Ie=ue.stackId;$e[Ie]||_e.autoWidthCount++,$e[Ie]=$e[Ie]||{width:0,maxWidth:0};var Ve=ue.barWidth;Ve&&!$e[Ie].width&&($e[Ie].width=Ve,Ve=Math.min(_e.remainedWidth,Ve),_e.remainedWidth-=Ve);var Fe=ue.barMaxWidth;Fe&&($e[Ie].maxWidth=Fe);var Ue=ue.barMinWidth;Ue&&($e[Ie].minWidth=Ue);var qe=ue.barGap;qe!=null&&(_e.gap=qe);var Et=ue.barCategoryGap;Et!=null&&(_e.categoryGap=Et)});var le={};return each$c(ie,function(ue,de){le[de]={};var pe=ue.stacks,he=ue.bandWidth,_e=ue.categoryGap;if(_e==null){var $e=keys(pe).length;_e=Math.max(35-$e*4,15)+"%"}var Ie=parsePercent(_e,he),Ve=parsePercent(ue.gap,1),Fe=ue.remainedWidth,Ue=ue.autoWidthCount,qe=(Fe-Ie)/(Ue+(Ue-1)*Ve);qe=Math.max(qe,0),each$c(pe,function(hn){var vn=hn.maxWidth,_n=hn.minWidth;if(hn.width){var bn=hn.width;vn&&(bn=Math.min(bn,vn)),_n&&(bn=Math.max(bn,_n)),hn.width=bn,Fe-=bn+Ve*bn,Ue--}else{var bn=qe;vn&&vn<bn&&(bn=Math.min(vn,Fe)),_n&&_n>bn&&(bn=_n),bn!==qe&&(hn.width=bn,Fe-=bn+Ve*bn,Ue--)}}),qe=(Fe-Ie)/(Ue+(Ue-1)*Ve),qe=Math.max(qe,0);var Et=0,At;each$c(pe,function(hn,vn){hn.width||(hn.width=qe),At=hn,Et+=hn.width*(1+Ve)}),At&&(Et-=At.width*Ve);var Lt=-Et/2;each$c(pe,function(hn,vn){le[de][vn]=le[de][vn]||{bandWidth:he,offset:Lt,width:hn.width},Lt+=hn.width*(1+Ve)})}),le}function retrieveColumnLayout(oe,ie,le){if(oe&&ie){var ue=oe[getAxisKey(ie)];return ue!=null&&le!=null?ue[getSeriesStackId(le)]:ue}}function layout$2(oe,ie){var le=prepareLayoutBarSeries(oe,ie),ue=makeColumnLayout(le);each$c(le,function(de){var pe=de.getData(),he=de.coordinateSystem,_e=he.getBaseAxis(),$e=getSeriesStackId(de),Ie=ue[getAxisKey(_e)][$e],Ve=Ie.offset,Fe=Ie.width;pe.setLayout({bandWidth:Ie.bandWidth,offset:Ve,size:Fe})})}function createProgressiveLayout(oe){return{seriesType:oe,plan:createRenderPlanner(),reset:function(ie){if(isOnCartesian(ie)){var le=ie.getData(),ue=ie.coordinateSystem,de=ue.getBaseAxis(),pe=ue.getOtherAxis(de),he=le.getDimensionIndex(le.mapDimension(pe.dim)),_e=le.getDimensionIndex(le.mapDimension(de.dim)),$e=ie.get("showBackground",!0),Ie=le.mapDimension(pe.dim),Ve=le.getCalculationInfo("stackResultDimension"),Fe=isDimensionStacked(le,Ie)&&!!le.getCalculationInfo("stackedOnSeries"),Ue=pe.isHorizontal(),qe=getValueAxisStart(de,pe),Et=isInLargeMode(ie),At=ie.get("barMinHeight")||0,Lt=Ve&&le.getDimensionIndex(Ve),hn=le.getLayout("size"),vn=le.getLayout("offset");return{progress:function(_n,bn){for(var Sn=_n.count,Cn=Et&&createFloat32Array(Sn*3),En=Et&&$e&&createFloat32Array(Sn*3),wn=Et&&createFloat32Array(Sn),xn=ue.master.getRect(),kn=Ue?xn.width:xn.height,Pn,An=bn.getStore(),In=0;(Pn=_n.next())!=null;){var Nn=An.get(Fe?Lt:he,Pn),Un=An.get(_e,Pn),Vn=qe,Mn=void 0;Fe&&(Mn=+Nn-An.get(he,Pn));var Fn=void 0,Ln=void 0,jn=void 0,Zn=void 0;if(Ue){var Gn=ue.dataToPoint([Nn,Un]);if(Fe){var Jn=ue.dataToPoint([Mn,Un]);Vn=Jn[0]}Fn=Vn,Ln=Gn[1]+vn,jn=Gn[0]-Vn,Zn=hn,Math.abs(jn)<At&&(jn=(jn<0?-1:1)*At)}else{var Gn=ue.dataToPoint([Un,Nn]);if(Fe){var Jn=ue.dataToPoint([Un,Mn]);Vn=Jn[1]}Fn=Gn[0]+vn,Ln=Vn,jn=hn,Zn=Gn[1]-Vn,Math.abs(Zn)<At&&(Zn=(Zn<=0?-1:1)*At)}Et?(Cn[In]=Fn,Cn[In+1]=Ln,Cn[In+2]=Ue?jn:Zn,En&&(En[In]=Ue?xn.x:Fn,En[In+1]=Ue?Ln:xn.y,En[In+2]=kn),wn[Pn]=Pn):bn.setItemLayout(Pn,{x:Fn,y:Ln,width:jn,height:Zn}),In+=3}Et&&bn.setLayout({largePoints:Cn,largeDataIndices:wn,largeBackgroundPoints:En,valueAxisHorizontal:Ue})}}}}}}function isOnCartesian(oe){return oe.coordinateSystem&&oe.coordinateSystem.type==="cartesian2d"}function isInLargeMode(oe){return oe.pipelineContext&&oe.pipelineContext.large}function getValueAxisStart(oe,ie){return ie.toGlobalCoord(ie.dataToCoord(ie.type==="log"?1:0))}var bisect=function(oe,ie,le,ue){for(;le<ue;){var de=le+ue>>>1;oe[de][1]<ie?le=de+1:ue=de}return le},TimeScale=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;return ue.type="time",ue}return ie.prototype.getLabel=function(le){var ue=this.getSetting("useUTC");return format$1(le.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,ue,this.getSetting("locale"))},ie.prototype.getFormattedLabel=function(le,ue,de){var pe=this.getSetting("useUTC"),he=this.getSetting("locale");return leveledFormat(le,ue,de,he,pe)},ie.prototype.getTicks=function(){var le=this._interval,ue=this._extent,de=[];if(!le)return de;de.push({value:ue[0],level:0});var pe=this.getSetting("useUTC"),he=getIntervalTicks(this._minLevelUnit,this._approxInterval,pe,ue);return de=de.concat(he),de.push({value:ue[1],level:0}),de},ie.prototype.calcNiceExtent=function(le){var ue=this._extent;if(ue[0]===ue[1]&&(ue[0]-=ONE_DAY,ue[1]+=ONE_DAY),ue[1]===-1/0&&ue[0]===1/0){var de=new Date;ue[1]=+new Date(de.getFullYear(),de.getMonth(),de.getDate()),ue[0]=ue[1]-ONE_DAY}this.calcNiceTicks(le.splitNumber,le.minInterval,le.maxInterval)},ie.prototype.calcNiceTicks=function(le,ue,de){le=le||10;var pe=this._extent,he=pe[1]-pe[0];this._approxInterval=he/le,ue!=null&&this._approxInterval<ue&&(this._approxInterval=ue),de!=null&&this._approxInterval>de&&(this._approxInterval=de);var _e=scaleIntervals.length,$e=Math.min(bisect(scaleIntervals,this._approxInterval,0,_e),_e-1);this._interval=scaleIntervals[$e][1],this._minLevelUnit=scaleIntervals[Math.max($e-1,0)][0]},ie.prototype.parse=function(le){return isNumber(le)?le:+parseDate(le)},ie.prototype.contain=function(le){return contain$1(this.parse(le),this._extent)},ie.prototype.normalize=function(le){return normalize(this.parse(le),this._extent)},ie.prototype.scale=function(le){return scale(le,this._extent)},ie.type="time",ie}(IntervalScale$1),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(oe,ie,le,ue){var de=parseDate(ie),pe=parseDate(le),he=function(Et){return getUnitValue(de,Et,ue)===getUnitValue(pe,Et,ue)},_e=function(){return he("year")},$e=function(){return _e()&&he("month")},Ie=function(){return $e()&&he("day")},Ve=function(){return Ie()&&he("hour")},Fe=function(){return Ve()&&he("minute")},Ue=function(){return Fe()&&he("second")},qe=function(){return Ue()&&he("millisecond")};switch(oe){case"year":return _e();case"month":return $e();case"day":return Ie();case"hour":return Ve();case"minute":return Fe();case"second":return Ue();case"millisecond":return qe()}}function getDateInterval(oe,ie){return oe/=ONE_DAY,oe>16?16:oe>7.5?7:oe>3.5?4:oe>1.5?2:1}function getMonthInterval(oe){var ie=30*ONE_DAY;return oe/=ie,oe>6?6:oe>3?3:oe>2?2:1}function getHourInterval(oe){return oe/=ONE_HOUR,oe>12?12:oe>6?6:oe>3.5?4:oe>2?2:1}function getMinutesAndSecondsInterval(oe,ie){return oe/=ie?ONE_MINUTE:ONE_SECOND,oe>30?30:oe>20?20:oe>15?15:oe>10?10:oe>5?5:oe>2?2:1}function getMillisecondsInterval(oe){return nice(oe,!0)}function getFirstTimestampOfUnit(oe,ie,le){var ue=new Date(oe);switch(getPrimaryTimeUnit(ie)){case"year":case"month":ue[monthSetterName(le)](0);case"day":ue[dateSetterName(le)](1);case"hour":ue[hoursSetterName(le)](0);case"minute":ue[minutesSetterName(le)](0);case"second":ue[secondsSetterName(le)](0),ue[millisecondsSetterName(le)](0)}return ue.getTime()}function getIntervalTicks(oe,ie,le,ue){var de=1e4,pe=timeUnits,he=0;function _e(kn,Pn,An,In,Nn,Un,Vn){for(var Mn=new Date(Pn),Fn=Pn,Ln=Mn[In]();Fn<An&&Fn<=ue[1];)Vn.push({value:Fn}),Ln+=kn,Mn[Nn](Ln),Fn=Mn.getTime();Vn.push({value:Fn,notAdd:!0})}function $e(kn,Pn,An){var In=[],Nn=!Pn.length;if(!isUnitValueSame(getPrimaryTimeUnit(kn),ue[0],ue[1],le)){Nn&&(Pn=[{value:getFirstTimestampOfUnit(new Date(ue[0]),kn,le)},{value:ue[1]}]);for(var Un=0;Un<Pn.length-1;Un++){var Vn=Pn[Un].value,Mn=Pn[Un+1].value;if(Vn!==Mn){var Fn=void 0,Ln=void 0,jn=void 0,Zn=!1;switch(kn){case"year":Fn=Math.max(1,Math.round(ie/ONE_DAY/365)),Ln=fullYearGetterName(le),jn=fullYearSetterName(le);break;case"half-year":case"quarter":case"month":Fn=getMonthInterval(ie),Ln=monthGetterName(le),jn=monthSetterName(le);break;case"week":case"half-week":case"day":Fn=getDateInterval(ie),Ln=dateGetterName(le),jn=dateSetterName(le),Zn=!0;break;case"half-day":case"quarter-day":case"hour":Fn=getHourInterval(ie),Ln=hoursGetterName(le),jn=hoursSetterName(le);break;case"minute":Fn=getMinutesAndSecondsInterval(ie,!0),Ln=minutesGetterName(le),jn=minutesSetterName(le);break;case"second":Fn=getMinutesAndSecondsInterval(ie,!1),Ln=secondsGetterName(le),jn=secondsSetterName(le);break;case"millisecond":Fn=getMillisecondsInterval(ie),Ln=millisecondsGetterName(le),jn=millisecondsSetterName(le);break}_e(Fn,Vn,Mn,Ln,jn,Zn,In),kn==="year"&&An.length>1&&Un===0&&An.unshift({value:An[0].value-Fn})}}for(var Un=0;Un<In.length;Un++)An.push(In[Un]);return In}}for(var Ie=[],Ve=[],Fe=0,Ue=0,qe=0;qe<pe.length&&he++<de;++qe){var Et=getPrimaryTimeUnit(pe[qe]);if(isPrimaryTimeUnit(pe[qe])){$e(pe[qe],Ie[Ie.length-1]||[],Ve);var At=pe[qe+1]?getPrimaryTimeUnit(pe[qe+1]):null;if(Et!==At){if(Ve.length){Ue=Fe,Ve.sort(function(kn,Pn){return kn.value-Pn.value});for(var Lt=[],hn=0;hn<Ve.length;++hn){var vn=Ve[hn].value;(hn===0||Ve[hn-1].value!==vn)&&(Lt.push(Ve[hn]),vn>=ue[0]&&vn<=ue[1]&&Fe++)}var _n=(ue[1]-ue[0])/ie;if(Fe>_n*1.5&&Ue>_n/1.5||(Ie.push(Lt),Fe>_n||oe===pe[qe]))break}Ve=[]}}}for(var bn=filter(map$2(Ie,function(kn){return filter(kn,function(Pn){return Pn.value>=ue[0]&&Pn.value<=ue[1]&&!Pn.notAdd})}),function(kn){return kn.length>0}),Sn=[],Cn=bn.length-1,qe=0;qe<bn.length;++qe)for(var En=bn[qe],wn=0;wn<En.length;++wn)Sn.push({value:En[wn].value,level:Cn-qe});Sn.sort(function(kn,Pn){return kn.value-Pn.value});for(var xn=[],qe=0;qe<Sn.length;++qe)(qe===0||Sn[qe].value!==Sn[qe-1].value)&&xn.push(Sn[qe]);return xn}Scale$1.registerClass(TimeScale);const TimeScale$1=TimeScale;var scaleProto=Scale$1.prototype,intervalScaleProto=IntervalScale$1.prototype,roundingErrorFix=round$1,mathFloor=Math.floor,mathCeil=Math.ceil,mathPow$1=Math.pow,mathLog$1=Math.log,LogScale=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="log",le.base=10,le._originalScale=new IntervalScale$1,le._interval=0,le}return ie.prototype.getTicks=function(le){var ue=this._originalScale,de=this._extent,pe=ue.getExtent(),he=intervalScaleProto.getTicks.call(this,le);return map$2(he,function(_e){var $e=_e.value,Ie=round$1(mathPow$1(this.base,$e));return Ie=$e===de[0]&&this._fixMin?fixRoundingError(Ie,pe[0]):Ie,Ie=$e===de[1]&&this._fixMax?fixRoundingError(Ie,pe[1]):Ie,{value:Ie}},this)},ie.prototype.setExtent=function(le,ue){var de=mathLog$1(this.base);le=mathLog$1(Math.max(0,le))/de,ue=mathLog$1(Math.max(0,ue))/de,intervalScaleProto.setExtent.call(this,le,ue)},ie.prototype.getExtent=function(){var le=this.base,ue=scaleProto.getExtent.call(this);ue[0]=mathPow$1(le,ue[0]),ue[1]=mathPow$1(le,ue[1]);var de=this._originalScale,pe=de.getExtent();return this._fixMin&&(ue[0]=fixRoundingError(ue[0],pe[0])),this._fixMax&&(ue[1]=fixRoundingError(ue[1],pe[1])),ue},ie.prototype.unionExtent=function(le){this._originalScale.unionExtent(le);var ue=this.base;le[0]=mathLog$1(le[0])/mathLog$1(ue),le[1]=mathLog$1(le[1])/mathLog$1(ue),scaleProto.unionExtent.call(this,le)},ie.prototype.unionExtentFromData=function(le,ue){this.unionExtent(le.getApproximateExtent(ue))},ie.prototype.calcNiceTicks=function(le){le=le||10;var ue=this._extent,de=ue[1]-ue[0];if(!(de===1/0||de<=0)){var pe=quantity(de),he=le/de*pe;for(he<=.5&&(pe*=10);!isNaN(pe)&&Math.abs(pe)<1&&Math.abs(pe)>0;)pe*=10;var _e=[round$1(mathCeil(ue[0]/pe)*pe),round$1(mathFloor(ue[1]/pe)*pe)];this._interval=pe,this._niceExtent=_e}},ie.prototype.calcNiceExtent=function(le){intervalScaleProto.calcNiceExtent.call(this,le),this._fixMin=le.fixMin,this._fixMax=le.fixMax},ie.prototype.parse=function(le){return le},ie.prototype.contain=function(le){return le=mathLog$1(le)/mathLog$1(this.base),contain$1(le,this._extent)},ie.prototype.normalize=function(le){return le=mathLog$1(le)/mathLog$1(this.base),normalize(le,this._extent)},ie.prototype.scale=function(le){return le=scale(le,this._extent),mathPow$1(this.base,le)},ie.type="log",ie}(Scale$1),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(oe,ie){return roundingErrorFix(oe,getPrecision(ie))}Scale$1.registerClass(LogScale);const LogScale$1=LogScale;var ScaleRawExtentInfo=function(){function oe(ie,le,ue){this._prepareParams(ie,le,ue)}return oe.prototype._prepareParams=function(ie,le,ue){ue[1]<ue[0]&&(ue=[NaN,NaN]),this._dataMin=ue[0],this._dataMax=ue[1];var de=this._isOrdinal=ie.type==="ordinal";this._needCrossZero=ie.type==="interval"&&le.getNeedCrossZero&&le.getNeedCrossZero();var pe=this._modelMinRaw=le.get("min",!0);isFunction(pe)?this._modelMinNum=parseAxisModelMinMax(ie,pe({min:ue[0],max:ue[1]})):pe!=="dataMin"&&(this._modelMinNum=parseAxisModelMinMax(ie,pe));var he=this._modelMaxRaw=le.get("max",!0);if(isFunction(he)?this._modelMaxNum=parseAxisModelMinMax(ie,he({min:ue[0],max:ue[1]})):he!=="dataMax"&&(this._modelMaxNum=parseAxisModelMinMax(ie,he)),de)this._axisDataLen=le.getCategories().length;else{var _e=le.get("boundaryGap"),$e=isArray$1(_e)?_e:[_e||0,_e||0];typeof $e[0]=="boolean"||typeof $e[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[parsePercent$1($e[0],1),parsePercent$1($e[1],1)]}},oe.prototype.calculate=function(){var ie=this._isOrdinal,le=this._dataMin,ue=this._dataMax,de=this._axisDataLen,pe=this._boundaryGapInner,he=ie?null:ue-le||Math.abs(le),_e=this._modelMinRaw==="dataMin"?le:this._modelMinNum,$e=this._modelMaxRaw==="dataMax"?ue:this._modelMaxNum,Ie=_e!=null,Ve=$e!=null;_e==null&&(_e=ie?de?0:NaN:le-pe[0]*he),$e==null&&($e=ie?de?de-1:NaN:ue+pe[1]*he),(_e==null||!isFinite(_e))&&(_e=NaN),($e==null||!isFinite($e))&&($e=NaN);var Fe=eqNaN(_e)||eqNaN($e)||ie&&!de;this._needCrossZero&&(_e>0&&$e>0&&!Ie&&(_e=0),_e<0&&$e<0&&!Ve&&($e=0));var Ue=this._determinedMin,qe=this._determinedMax;return Ue!=null&&(_e=Ue,Ie=!0),qe!=null&&($e=qe,Ve=!0),{min:_e,max:$e,minFixed:Ie,maxFixed:Ve,isBlank:Fe}},oe.prototype.modifyDataMinMax=function(ie,le){this[DATA_MIN_MAX_ATTR[ie]]=le},oe.prototype.setDeterminedMinMax=function(ie,le){var ue=DETERMINED_MIN_MAX_ATTR[ie];this[ue]=le},oe.prototype.freeze=function(){this.frozen=!0},oe}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(oe,ie,le){var ue=oe.rawExtentInfo;return ue||(ue=new ScaleRawExtentInfo(oe,ie,le),oe.rawExtentInfo=ue,ue)}function parseAxisModelMinMax(oe,ie){return ie==null?null:eqNaN(ie)?NaN:oe.parse(ie)}function getScaleExtent(oe,ie){var le=oe.type,ue=ensureScaleRawExtentInfo(oe,ie,oe.getExtent()).calculate();oe.setBlank(ue.isBlank);var de=ue.min,pe=ue.max,he=ie.ecModel;if(he&&le==="time"){var _e=prepareLayoutBarSeries("bar",he),$e=!1;if(each$c(_e,function(Fe){$e=$e||Fe.getBaseAxis()===ie.axis}),$e){var Ie=makeColumnLayout(_e),Ve=adjustScaleForOverflow(de,pe,ie,Ie);de=Ve.min,pe=Ve.max}}return{extent:[de,pe],fixMin:ue.minFixed,fixMax:ue.maxFixed}}function adjustScaleForOverflow(oe,ie,le,ue){var de=le.axis.getExtent(),pe=de[1]-de[0],he=retrieveColumnLayout(ue,le.axis);if(he===void 0)return{min:oe,max:ie};var _e=1/0;each$c(he,function(qe){_e=Math.min(qe.offset,_e)});var $e=-1/0;each$c(he,function(qe){$e=Math.max(qe.offset+qe.width,$e)}),_e=Math.abs(_e),$e=Math.abs($e);var Ie=_e+$e,Ve=ie-oe,Fe=1-(_e+$e)/pe,Ue=Ve/Fe-Ve;return ie+=Ue*($e/Ie),oe-=Ue*(_e/Ie),{min:oe,max:ie}}function niceScaleExtent(oe,ie){var le=ie,ue=getScaleExtent(oe,le),de=ue.extent,pe=le.get("splitNumber");oe instanceof LogScale$1&&(oe.base=le.get("logBase"));var he=oe.type,_e=le.get("interval"),$e=he==="interval"||he==="time";oe.setExtent(de[0],de[1]),oe.calcNiceExtent({splitNumber:pe,fixMin:ue.fixMin,fixMax:ue.fixMax,minInterval:$e?le.get("minInterval"):null,maxInterval:$e?le.get("maxInterval"):null}),_e!=null&&oe.setInterval&&oe.setInterval(_e)}function createScaleByModel(oe,ie){if(ie=ie||oe.get("type"),ie)switch(ie){case"category":return new OrdinalScale$1({ordinalMeta:oe.getOrdinalMeta?oe.getOrdinalMeta():oe.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale$1({locale:oe.ecModel.getLocaleModel(),useUTC:oe.ecModel.get("useUTC")});default:return new(Scale$1.getClass(ie)||IntervalScale$1)}}function ifAxisCrossZero(oe){var ie=oe.scale.getExtent(),le=ie[0],ue=ie[1];return!(le>0&&ue>0||le<0&&ue<0)}function makeLabelFormatter(oe){var ie=oe.getLabelModel().get("formatter"),le=oe.type==="category"?oe.scale.getExtent()[0]:null;return oe.scale.type==="time"?function(ue){return function(de,pe){return oe.scale.getFormattedLabel(de,pe,ue)}}(ie):isString(ie)?function(ue){return function(de){var pe=oe.scale.getLabel(de),he=ue.replace("{value}",pe??"");return he}}(ie):isFunction(ie)?function(ue){return function(de,pe){return le!=null&&(pe=de.value-le),ue(getAxisRawValue(oe,de),pe,de.level!=null?{level:de.level}:null)}}(ie):function(ue){return oe.scale.getLabel(ue)}}function getAxisRawValue(oe,ie){return oe.type==="category"?oe.scale.getLabel(ie):ie.value}function estimateLabelUnionRect(oe){var ie=oe.model,le=oe.scale;if(!(!ie.get(["axisLabel","show"])||le.isBlank())){var ue,de,pe=le.getExtent();le instanceof OrdinalScale$1?de=le.count():(ue=le.getTicks(),de=ue.length);var he=oe.getLabelModel(),_e=makeLabelFormatter(oe),$e,Ie=1;de>40&&(Ie=Math.ceil(de/40));for(var Ve=0;Ve<de;Ve+=Ie){var Fe=ue?ue[Ve]:{value:pe[0]+Ve},Ue=_e(Fe,Ve),qe=he.getTextRect(Ue),Et=rotateTextRect(qe,he.get("rotate")||0);$e?$e.union(Et):$e=Et}return $e}}function rotateTextRect(oe,ie){var le=ie*Math.PI/180,ue=oe.width,de=oe.height,pe=ue*Math.abs(Math.cos(le))+Math.abs(de*Math.sin(le)),he=ue*Math.abs(Math.sin(le))+Math.abs(de*Math.cos(le)),_e=new BoundingRect$1(oe.x,oe.y,pe,he);return _e}function getOptionCategoryInterval(oe){var ie=oe.get("interval");return ie??"auto"}function shouldShowAllLabels(oe){return oe.type==="category"&&getOptionCategoryInterval(oe.getLabelModel())===0}function getDataDimensionsOnAxis(oe,ie){var le={};return each$c(oe.mapDimensionsAll(ie),function(ue){le[getStackedDimension(oe,ue)]=!0}),keys(le)}function unionAxisExtentFromData(oe,ie,le){ie&&each$c(getDataDimensionsOnAxis(ie,le),function(ue){var de=ie.getApproximateExtent(ue);de[0]<oe[0]&&(oe[0]=de[0]),de[1]>oe[1]&&(oe[1]=de[1])})}var AxisModelCommonMixin=function(){function oe(){}return oe.prototype.getNeedCrossZero=function(){var ie=this.option;return!ie.scale},oe.prototype.getCoordSysModel=function(){},oe}();function createList(oe){return createSeriesData(null,oe)}var dataStack={isDimensionStacked,enableDataStack,getStackedDimension};function createScale(oe,ie){var le=ie;ie instanceof Model$1||(le=new Model$1(ie));var ue=createScaleByModel(le);return ue.setExtent(oe[0],oe[1]),niceScaleExtent(ue,le),ue}function mixinAxisModelCommonMethods(oe){mixin(oe,AxisModelCommonMixin)}function createTextStyle(oe,ie){return ie=ie||{},createTextStyle$1(oe,null,null,ie.state!=="normal")}const helper=Object.freeze(Object.defineProperty({__proto__:null,createDimensions,createList,createScale,createSymbol,createTextStyle,dataStack,enableHoverEmphasis,getECData,getLayoutRect,mixinAxisModelCommonMethods},Symbol.toStringTag,{value:"Module"}));var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap,registerImpl,PRIORITY,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,SeriesModel:SeriesModel$1,ChartView:ChartView$1,registerComponentModel:function(oe){ComponentModel$1.registerClass(oe)},registerComponentView:function(oe){ComponentView$1.registerClass(oe)},registerSeriesModel:function(oe){SeriesModel$1.registerClass(oe)},registerChartView:function(oe){ChartView$1.registerClass(oe)},registerSubTypeDefaulter:function(oe,ie){ComponentModel$1.registerSubTypeDefaulter(oe,ie)},registerPainter:function(oe,ie){registerPainter(oe,ie)}};function use$1(oe){if(isArray$1(oe)){each$c(oe,function(ie){use$1(ie)});return}indexOf(extensions,oe)>=0||(extensions.push(oe),isFunction(oe)&&(oe={install:oe}),oe.install(extensionRegisters))}var EPSILON=1e-8;function isAroundEqual(oe,ie){return Math.abs(oe-ie)<EPSILON}function contain(oe,ie,le){var ue=0,de=oe[0];if(!de)return!1;for(var pe=1;pe<oe.length;pe++){var he=oe[pe];ue+=windingLine(de[0],de[1],he[0],he[1],ie,le),de=he}var _e=oe[0];return(!isAroundEqual(de[0],_e[0])||!isAroundEqual(de[1],_e[1]))&&(ue+=windingLine(de[0],de[1],_e[0],_e[1],ie,le)),ue!==0}var TMP_TRANSFORM=[];function transformPoints(oe,ie){for(var le=0;le<oe.length;le++)applyTransform$1(oe[le],oe[le],ie)}function updateBBoxFromPoints(oe,ie,le,ue){for(var de=0;de<oe.length;de++){var pe=oe[de];ue&&(pe=ue.project(pe)),pe&&isFinite(pe[0])&&isFinite(pe[1])&&(min$1(ie,ie,pe),max$1(le,le,pe))}}function centroid(oe){for(var ie=0,le=0,ue=0,de=oe.length,pe=oe[de-1][0],he=oe[de-1][1],_e=0;_e<de;_e++){var $e=oe[_e][0],Ie=oe[_e][1],Ve=pe*Ie-$e*he;ie+=Ve,le+=(pe+$e)*Ve,ue+=(he+Ie)*Ve,pe=$e,he=Ie}return ie?[le/ie/3,ue/ie/3,ie]:[oe[0][0]||0,oe[0][1]||0]}var Region=function(){function oe(ie){this.name=ie}return oe.prototype.setCenter=function(ie){this._center=ie},oe.prototype.getCenter=function(){var ie=this._center;return ie||(ie=this._center=this.calcCenter()),ie},oe}(),GeoJSONPolygonGeometry=function(){function oe(ie,le){this.type="polygon",this.exterior=ie,this.interiors=le}return oe}(),GeoJSONLineStringGeometry=function(){function oe(ie){this.type="linestring",this.points=ie}return oe}(),GeoJSONRegion=function(oe){__extends(ie,oe);function ie(le,ue,de){var pe=oe.call(this,le)||this;return pe.type="geoJSON",pe.geometries=ue,pe._center=de&&[de[0],de[1]],pe}return ie.prototype.calcCenter=function(){for(var le=this.geometries,ue,de=0,pe=0;pe<le.length;pe++){var he=le[pe],_e=he.exterior,$e=_e&&_e.length;$e>de&&(ue=he,de=$e)}if(ue)return centroid(ue.exterior);var Ie=this.getBoundingRect();return[Ie.x+Ie.width/2,Ie.y+Ie.height/2]},ie.prototype.getBoundingRect=function(le){var ue=this._rect;if(ue&&!le)return ue;var de=[1/0,1/0],pe=[-1/0,-1/0],he=this.geometries;return each$c(he,function(_e){_e.type==="polygon"?updateBBoxFromPoints(_e.exterior,de,pe,le):each$c(_e.points,function($e){updateBBoxFromPoints($e,de,pe,le)})}),isFinite(de[0])&&isFinite(de[1])&&isFinite(pe[0])&&isFinite(pe[1])||(de[0]=de[1]=pe[0]=pe[1]=0),ue=new BoundingRect$1(de[0],de[1],pe[0]-de[0],pe[1]-de[1]),le||(this._rect=ue),ue},ie.prototype.contain=function(le){var ue=this.getBoundingRect(),de=this.geometries;if(!ue.contain(le[0],le[1]))return!1;e:for(var pe=0,he=de.length;pe<he;pe++){var _e=de[pe];if(_e.type==="polygon"){var $e=_e.exterior,Ie=_e.interiors;if(contain($e,le[0],le[1])){for(var Ve=0;Ve<(Ie?Ie.length:0);Ve++)if(contain(Ie[Ve],le[0],le[1]))continue e;return!0}}}return!1},ie.prototype.transformTo=function(le,ue,de,pe){var he=this.getBoundingRect(),_e=he.width/he.height;de?pe||(pe=de/_e):de=_e*pe;for(var $e=new BoundingRect$1(le,ue,de,pe),Ie=he.calculateTransform($e),Ve=this.geometries,Fe=0;Fe<Ve.length;Fe++){var Ue=Ve[Fe];Ue.type==="polygon"?(transformPoints(Ue.exterior,Ie),each$c(Ue.interiors,function(qe){transformPoints(qe,Ie)})):each$c(Ue.points,function(qe){transformPoints(qe,Ie)})}he=this._rect,he.copy($e),this._center=[he.x+he.width/2,he.y+he.height/2]},ie.prototype.cloneShallow=function(le){le==null&&(le=this.name);var ue=new ie(le,this.geometries,this._center);return ue._rect=this._rect,ue.transformTo=null,ue},ie}(Region);(function(oe){__extends(ie,oe);function ie(le,ue){var de=oe.call(this,le)||this;return de.type="geoSVG",de._elOnlyForCalculate=ue,de}return ie.prototype.calcCenter=function(){for(var le=this._elOnlyForCalculate,ue=le.getBoundingRect(),de=[ue.x+ue.width/2,ue.y+ue.height/2],pe=identity(TMP_TRANSFORM),he=le;he&&!he.isGeoSVGGraphicRoot;)mul(pe,he.getLocalTransform(),pe),he=he.parent;return invert(pe,pe),applyTransform$1(de,de,pe),de},ie})(Region);function decode(oe){if(!oe.UTF8Encoding)return oe;var ie=oe,le=ie.UTF8Scale;le==null&&(le=1024);var ue=ie.features;return each$c(ue,function(de){var pe=de.geometry,he=pe.encodeOffsets,_e=pe.coordinates;if(he)switch(pe.type){case"LineString":pe.coordinates=decodeRing(_e,he,le);break;case"Polygon":decodeRings(_e,he,le);break;case"MultiLineString":decodeRings(_e,he,le);break;case"MultiPolygon":each$c(_e,function($e,Ie){return decodeRings($e,he[Ie],le)})}}),ie.UTF8Encoding=!1,ie}function decodeRings(oe,ie,le){for(var ue=0;ue<oe.length;ue++)oe[ue]=decodeRing(oe[ue],ie[ue],le)}function decodeRing(oe,ie,le){for(var ue=[],de=ie[0],pe=ie[1],he=0;he<oe.length;he+=2){var _e=oe.charCodeAt(he)-64,$e=oe.charCodeAt(he+1)-64;_e=_e>>1^-(_e&1),$e=$e>>1^-($e&1),_e+=de,$e+=pe,de=_e,pe=$e,ue.push([_e/le,$e/le])}return ue}function parseGeoJSON(oe,ie){return oe=decode(oe),map$2(filter(oe.features,function(le){return le.geometry&&le.properties&&le.geometry.coordinates.length>0}),function(le){var ue=le.properties,de=le.geometry,pe=[];switch(de.type){case"Polygon":var he=de.coordinates;pe.push(new GeoJSONPolygonGeometry(he[0],he.slice(1)));break;case"MultiPolygon":each$c(de.coordinates,function($e){$e[0]&&pe.push(new GeoJSONPolygonGeometry($e[0],$e.slice(1)))});break;case"LineString":pe.push(new GeoJSONLineStringGeometry([de.coordinates]));break;case"MultiLineString":pe.push(new GeoJSONLineStringGeometry(de.coordinates))}var _e=new GeoJSONRegion(ue[ie||"name"],pe,ue.cp);return _e.properties=ue,_e})}const number=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER,asc:asc$2,getPercentWithPrecision,getPixelPrecision,getPrecision,getPrecisionSafe,isNumeric,isRadianAroundZero,linearMap:linearMap$2,nice,numericToNumber,parseDate,quantile,quantity,quantityExponent,reformIntervals,remRadian,round:round$1},Symbol.toStringTag,{value:"Module"})),time=Object.freeze(Object.defineProperty({__proto__:null,format:format$1,parse:parseDate},Symbol.toStringTag,{value:"Module"})),graphic=Object.freeze(Object.defineProperty({__proto__:null,Arc:Arc$1,BezierCurve:BezierCurve$1,BoundingRect:BoundingRect$1,Circle:Circle$1,CompoundPath:CompoundPath$1,Ellipse:Ellipse$1,Group:Group$3,Image:ZRImage$1,IncrementalDisplayable:IncrementalDisplayable$1,Line:Line$1,LinearGradient:LinearGradient$1,Polygon:Polygon$1,Polyline:Polyline$1,RadialGradient:RadialGradient$1,Rect:Rect$2,Ring:Ring$1,Sector:Sector$1,Text:ZRText$1,clipPointsByRect,clipRectByRect,createIcon,extendPath,extendShape,getShapeClass,getTransform:getTransform$1,initProps,makeImage,makePath,mergePath,registerShape,resizePath,updateProps:updateProps$1},Symbol.toStringTag,{value:"Module"})),format=Object.freeze(Object.defineProperty({__proto__:null,addCommas,capitalFirst,encodeHTML,formatTime,formatTpl,getTextRect,getTooltipMarker,normalizeCssArray,toCamelCase,truncateText},Symbol.toStringTag,{value:"Module"})),util=Object.freeze(Object.defineProperty({__proto__:null,bind:bind$1,clone:clone$3,curry:curry$1,defaults,each:each$c,extend,filter,indexOf,inherits,isArray:isArray$1,isFunction,isObject:isObject$3,isString,map:map$2,merge,reduce},Symbol.toStringTag,{value:"Module"}));var inner$7=makeInner();function createAxisLabels(oe){return oe.type==="category"?makeCategoryLabels(oe):makeRealNumberLabels(oe)}function createAxisTicks(oe,ie){return oe.type==="category"?makeCategoryTicks(oe,ie):{ticks:map$2(oe.scale.getTicks(),function(le){return le.value})}}function makeCategoryLabels(oe){var ie=oe.getLabelModel(),le=makeCategoryLabelsActually(oe,ie);return!ie.get("show")||oe.scale.isBlank()?{labels:[],labelCategoryInterval:le.labelCategoryInterval}:le}function makeCategoryLabelsActually(oe,ie){var le=getListCache(oe,"labels"),ue=getOptionCategoryInterval(ie),de=listCacheGet(le,ue);if(de)return de;var pe,he;return isFunction(ue)?pe=makeLabelsByCustomizedCategoryInterval(oe,ue):(he=ue==="auto"?makeAutoCategoryInterval(oe):ue,pe=makeLabelsByNumericCategoryInterval(oe,he)),listCacheSet(le,ue,{labels:pe,labelCategoryInterval:he})}function makeCategoryTicks(oe,ie){var le=getListCache(oe,"ticks"),ue=getOptionCategoryInterval(ie),de=listCacheGet(le,ue);if(de)return de;var pe,he;if((!ie.get("show")||oe.scale.isBlank())&&(pe=[]),isFunction(ue))pe=makeLabelsByCustomizedCategoryInterval(oe,ue,!0);else if(ue==="auto"){var _e=makeCategoryLabelsActually(oe,oe.getLabelModel());he=_e.labelCategoryInterval,pe=map$2(_e.labels,function($e){return $e.tickValue})}else he=ue,pe=makeLabelsByNumericCategoryInterval(oe,he,!0);return listCacheSet(le,ue,{ticks:pe,tickCategoryInterval:he})}function makeRealNumberLabels(oe){var ie=oe.scale.getTicks(),le=makeLabelFormatter(oe);return{labels:map$2(ie,function(ue,de){return{level:ue.level,formattedLabel:le(ue,de),rawLabel:oe.scale.getLabel(ue),tickValue:ue.value}})}}function getListCache(oe,ie){return inner$7(oe)[ie]||(inner$7(oe)[ie]=[])}function listCacheGet(oe,ie){for(var le=0;le<oe.length;le++)if(oe[le].key===ie)return oe[le].value}function listCacheSet(oe,ie,le){return oe.push({key:ie,value:le}),le}function makeAutoCategoryInterval(oe){var ie=inner$7(oe).autoInterval;return ie??(inner$7(oe).autoInterval=oe.calculateCategoryInterval())}function calculateCategoryInterval(oe){var ie=fetchAutoCategoryIntervalCalculationParams(oe),le=makeLabelFormatter(oe),ue=(ie.axisRotate-ie.labelRotate)/180*Math.PI,de=oe.scale,pe=de.getExtent(),he=de.count();if(pe[1]-pe[0]<1)return 0;var _e=1;he>40&&(_e=Math.max(1,Math.floor(he/40)));for(var $e=pe[0],Ie=oe.dataToCoord($e+1)-oe.dataToCoord($e),Ve=Math.abs(Ie*Math.cos(ue)),Fe=Math.abs(Ie*Math.sin(ue)),Ue=0,qe=0;$e<=pe[1];$e+=_e){var Et=0,At=0,Lt=getBoundingRect(le({value:$e}),ie.font,"center","top");Et=Lt.width*1.3,At=Lt.height*1.3,Ue=Math.max(Ue,Et,7),qe=Math.max(qe,At,7)}var hn=Ue/Ve,vn=qe/Fe;isNaN(hn)&&(hn=1/0),isNaN(vn)&&(vn=1/0);var _n=Math.max(0,Math.floor(Math.min(hn,vn))),bn=inner$7(oe.model),Sn=oe.getExtent(),Cn=bn.lastAutoInterval,En=bn.lastTickCount;return Cn!=null&&En!=null&&Math.abs(Cn-_n)<=1&&Math.abs(En-he)<=1&&Cn>_n&&bn.axisExtent0===Sn[0]&&bn.axisExtent1===Sn[1]?_n=Cn:(bn.lastTickCount=he,bn.lastAutoInterval=_n,bn.axisExtent0=Sn[0],bn.axisExtent1=Sn[1]),_n}function fetchAutoCategoryIntervalCalculationParams(oe){var ie=oe.getLabelModel();return{axisRotate:oe.getRotate?oe.getRotate():oe.isHorizontal&&!oe.isHorizontal()?90:0,labelRotate:ie.get("rotate")||0,font:ie.getFont()}}function makeLabelsByNumericCategoryInterval(oe,ie,le){var ue=makeLabelFormatter(oe),de=oe.scale,pe=de.getExtent(),he=oe.getLabelModel(),_e=[],$e=Math.max((ie||0)+1,1),Ie=pe[0],Ve=de.count();Ie!==0&&$e>1&&Ve/$e>2&&(Ie=Math.round(Math.ceil(Ie/$e)*$e));var Fe=shouldShowAllLabels(oe),Ue=he.get("showMinLabel")||Fe,qe=he.get("showMaxLabel")||Fe;Ue&&Ie!==pe[0]&&At(pe[0]);for(var Et=Ie;Et<=pe[1];Et+=$e)At(Et);qe&&Et-$e!==pe[1]&&At(pe[1]);function At(Lt){var hn={value:Lt};_e.push(le?Lt:{formattedLabel:ue(hn),rawLabel:de.getLabel(hn),tickValue:Lt})}return _e}function makeLabelsByCustomizedCategoryInterval(oe,ie,le){var ue=oe.scale,de=makeLabelFormatter(oe),pe=[];return each$c(ue.getTicks(),function(he){var _e=ue.getLabel(he),$e=he.value;ie(he.value,_e)&&pe.push(le?$e:{formattedLabel:de(he),rawLabel:_e,tickValue:$e})}),pe}var NORMALIZED_EXTENT=[0,1],Axis=function(){function oe(ie,le,ue){this.onBand=!1,this.inverse=!1,this.dim=ie,this.scale=le,this._extent=ue||[0,0]}return oe.prototype.contain=function(ie){var le=this._extent,ue=Math.min(le[0],le[1]),de=Math.max(le[0],le[1]);return ie>=ue&&ie<=de},oe.prototype.containData=function(ie){return this.scale.contain(ie)},oe.prototype.getExtent=function(){return this._extent.slice()},oe.prototype.getPixelPrecision=function(ie){return getPixelPrecision(ie||this.scale.getExtent(),this._extent)},oe.prototype.setExtent=function(ie,le){var ue=this._extent;ue[0]=ie,ue[1]=le},oe.prototype.dataToCoord=function(ie,le){var ue=this._extent,de=this.scale;return ie=de.normalize(ie),this.onBand&&de.type==="ordinal"&&(ue=ue.slice(),fixExtentWithBands(ue,de.count())),linearMap$2(ie,NORMALIZED_EXTENT,ue,le)},oe.prototype.coordToData=function(ie,le){var ue=this._extent,de=this.scale;this.onBand&&de.type==="ordinal"&&(ue=ue.slice(),fixExtentWithBands(ue,de.count()));var pe=linearMap$2(ie,ue,NORMALIZED_EXTENT,le);return this.scale.scale(pe)},oe.prototype.pointToData=function(ie,le){},oe.prototype.getTicksCoords=function(ie){ie=ie||{};var le=ie.tickModel||this.getTickModel(),ue=createAxisTicks(this,le),de=ue.ticks,pe=map$2(de,function(_e){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(_e):_e),tickValue:_e}},this),he=le.get("alignWithLabel");return fixOnBandTicksCoords(this,pe,he,ie.clamp),pe},oe.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var ie=this.model.getModel("minorTick"),le=ie.get("splitNumber");le>0&&le<100||(le=5);var ue=this.scale.getMinorTicks(le),de=map$2(ue,function(pe){return map$2(pe,function(he){return{coord:this.dataToCoord(he),tickValue:he}},this)},this);return de},oe.prototype.getViewLabels=function(){return createAxisLabels(this).labels},oe.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},oe.prototype.getTickModel=function(){return this.model.getModel("axisTick")},oe.prototype.getBandWidth=function(){var ie=this._extent,le=this.scale.getExtent(),ue=le[1]-le[0]+(this.onBand?1:0);ue===0&&(ue=1);var de=Math.abs(ie[1]-ie[0]);return Math.abs(de)/ue},oe.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},oe}();function fixExtentWithBands(oe,ie){var le=oe[1]-oe[0],ue=ie,de=le/ue/2;oe[0]+=de,oe[1]-=de}function fixOnBandTicksCoords(oe,ie,le,ue){var de=ie.length;if(!oe.onBand||le||!de)return;var pe=oe.getExtent(),he,_e;if(de===1)ie[0].coord=pe[0],he=ie[1]={coord:pe[0]};else{var $e=ie[de-1].tickValue-ie[0].tickValue,Ie=(ie[de-1].coord-ie[0].coord)/$e;each$c(ie,function(qe){qe.coord-=Ie/2});var Ve=oe.scale.getExtent();_e=1+Ve[1]-ie[de-1].tickValue,he={coord:ie[de-1].coord+Ie*_e},ie.push(he)}var Fe=pe[0]>pe[1];Ue(ie[0].coord,pe[0])&&(ue?ie[0].coord=pe[0]:ie.shift()),ue&&Ue(pe[0],ie[0].coord)&&ie.unshift({coord:pe[0]}),Ue(pe[1],he.coord)&&(ue?he.coord=pe[1]:ie.pop()),ue&&Ue(he.coord,pe[1])&&ie.push({coord:pe[1]});function Ue(qe,Et){return qe=round$1(qe),Et=round$1(Et),Fe?qe>Et:qe<Et}}const Axis$1=Axis;function extendComponentModel(oe){var ie=ComponentModel$1.extend(oe);return ComponentModel$1.registerClass(ie),ie}function extendComponentView(oe){var ie=ComponentView$1.extend(oe);return ComponentView$1.registerClass(ie),ie}function extendSeriesModel(oe){var ie=SeriesModel$1.extend(oe);return SeriesModel$1.registerClass(ie),ie}function extendChartView(oe){var ie=ChartView$1.extend(oe);return ChartView$1.registerClass(ie),ie}PathProxy$1.CMD;function projectPointToLine(oe,ie,le,ue,de,pe,he,_e){var $e=de-oe,Ie=pe-ie,Ve=le-oe,Fe=ue-ie,Ue=Math.sqrt(Ve*Ve+Fe*Fe);Ve/=Ue,Fe/=Ue;var qe=$e*Ve+Ie*Fe,Et=qe/Ue;_e&&(Et=Math.min(Math.max(Et,0),1)),Et*=Ue;var At=he[0]=oe+Et*Ve,Lt=he[1]=ie+Et*Fe;return Math.sqrt((At-de)*(At-de)+(Lt-pe)*(Lt-pe))}var pt0=new Point$1,pt1=new Point$1,pt2=new Point$1,dir=new Point$1,dir2=new Point$1,tmpArr=[],tmpProjPoint=new Point$1;function limitTurnAngle(oe,ie){if(ie<=180&&ie>0){ie=ie/180*Math.PI,pt0.fromArray(oe[0]),pt1.fromArray(oe[1]),pt2.fromArray(oe[2]),Point$1.sub(dir,pt0,pt1),Point$1.sub(dir2,pt2,pt1);var le=dir.len(),ue=dir2.len();if(!(le<.001||ue<.001)){dir.scale(1/le),dir2.scale(1/ue);var de=dir.dot(dir2),pe=Math.cos(ie);if(pe<de){var he=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr),tmpProjPoint.scaleAndAdd(dir2,he/Math.tan(Math.PI-ie));var _e=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(_e))return;_e<0?Point$1.copy(tmpProjPoint,pt1):_e>1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(oe[1])}}}}function limitSurfaceAngle(oe,ie,le){if(le<=180&&le>0){le=le/180*Math.PI,pt0.fromArray(oe[0]),pt1.fromArray(oe[1]),pt2.fromArray(oe[2]),Point$1.sub(dir,pt1,pt0),Point$1.sub(dir2,pt2,pt1);var ue=dir.len(),de=dir2.len();if(!(ue<.001||de<.001)){dir.scale(1/ue),dir2.scale(1/de);var pe=dir.dot(ie),he=Math.cos(le);if(pe<he){var _e=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr);var $e=Math.PI/2,Ie=Math.acos(dir2.dot(ie)),Ve=$e+Ie-le;if(Ve>=$e)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,_e/Math.tan(Math.PI/2-Ve));var Fe=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(Fe))return;Fe<0?Point$1.copy(tmpProjPoint,pt1):Fe>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(oe[1])}}}}function setLabelLineState(oe,ie,le,ue){var de=le==="normal",pe=de?oe:oe.ensureState(le);pe.ignore=ie;var he=ue.get("smooth");he&&he===!0&&(he=.3),pe.shape=pe.shape||{},he>0&&(pe.shape.smooth=he);var _e=ue.getModel("lineStyle").getLineStyle();de?oe.useStyle(_e):pe.style=_e}function buildLabelLinePath(oe,ie){var le=ie.smooth,ue=ie.points;if(ue)if(oe.moveTo(ue[0][0],ue[0][1]),le>0&&ue.length>=3){var de=dist$1(ue[0],ue[1]),pe=dist$1(ue[1],ue[2]);if(!de||!pe){oe.lineTo(ue[1][0],ue[1][1]),oe.lineTo(ue[2][0],ue[2][1]);return}var he=Math.min(de,pe)*le,_e=lerp$1([],ue[1],ue[0],he/de),$e=lerp$1([],ue[1],ue[2],he/pe),Ie=lerp$1([],_e,$e,.5);oe.bezierCurveTo(_e[0],_e[1],_e[0],_e[1],Ie[0],Ie[1]),oe.bezierCurveTo($e[0],$e[1],$e[0],$e[1],ue[2][0],ue[2][1])}else for(var Ve=1;Ve<ue.length;Ve++)oe.lineTo(ue[Ve][0],ue[Ve][1])}function setLabelLineStyle(oe,ie,le){var ue=oe.getTextGuideLine(),de=oe.getTextContent();if(!de){ue&&oe.removeTextGuideLine();return}for(var pe=ie.normal,he=pe.get("show"),_e=de.ignore,$e=0;$e<DISPLAY_STATES.length;$e++){var Ie=DISPLAY_STATES[$e],Ve=ie[Ie],Fe=Ie==="normal";if(Ve){var Ue=Ve.get("show"),qe=Fe?_e:retrieve2(de.states[Ie]&&de.states[Ie].ignore,_e);if(qe||!retrieve2(Ue,he)){var Et=Fe?ue:ue&&ue.states[Ie];Et&&(Et.ignore=!0);continue}ue||(ue=new Polyline$1,oe.setTextGuideLine(ue),!Fe&&(_e||!he)&&setLabelLineState(ue,!0,"normal",ie.normal),oe.stateProxy&&(ue.stateProxy=oe.stateProxy)),setLabelLineState(ue,!1,Ie,Ve)}}if(ue){defaults(ue.style,le),ue.style.fill=null;var At=pe.get("showAbove"),Lt=oe.textGuideLineConfig=oe.textGuideLineConfig||{};Lt.showAbove=At||!1,ue.buildPath=buildLabelLinePath}}function getLabelLineStatesModels(oe,ie){ie=ie||"labelLine";for(var le={normal:oe.getModel(ie)},ue=0;ue<SPECIAL_STATES.length;ue++){var de=SPECIAL_STATES[ue];le[de]=oe.getModel([de,ie])}return le}function prepareLayoutList(oe){for(var ie=[],le=0;le<oe.length;le++){var ue=oe[le];if(!ue.defaultAttr.ignore){var de=ue.label,pe=de.getComputedTransform(),he=de.getBoundingRect(),_e=!pe||pe[1]<1e-5&&pe[2]<1e-5,$e=de.style.margin||0,Ie=he.clone();Ie.applyTransform(pe),Ie.x-=$e/2,Ie.y-=$e/2,Ie.width+=$e,Ie.height+=$e;var Ve=_e?new OrientedBoundingRect$1(he,pe):null;ie.push({label:de,labelLine:ue.labelLine,rect:Ie,localRect:he,obb:Ve,priority:ue.priority,defaultAttr:ue.defaultAttr,layoutOption:ue.computedLayoutOption,axisAligned:_e,transform:pe})}}return ie}function shiftLayout(oe,ie,le,ue,de,pe){var he=oe.length;if(he<2)return;oe.sort(function(wn,xn){return wn.rect[ie]-xn.rect[ie]});for(var _e=0,$e,Ie=!1,Ve=0,Fe=0;Fe<he;Fe++){var Ue=oe[Fe],qe=Ue.rect;$e=qe[ie]-_e,$e<0&&(qe[ie]-=$e,Ue.label[ie]-=$e,Ie=!0);var Et=Math.max(-$e,0);Ve+=Et,_e=qe[ie]+qe[le]}Ve>0&&pe&&Sn(-Ve/he,0,he);var At=oe[0],Lt=oe[he-1],hn,vn;_n(),hn<0&&Cn(-hn,.8),vn<0&&Cn(vn,.8),_n(),bn(hn,vn,1),bn(vn,hn,-1),_n(),hn<0&&En(-hn),vn<0&&En(vn);function _n(){hn=At.rect[ie]-ue,vn=de-Lt.rect[ie]-Lt.rect[le]}function bn(wn,xn,kn){if(wn<0){var Pn=Math.min(xn,-wn);if(Pn>0){Sn(Pn*kn,0,he);var An=Pn+wn;An<0&&Cn(-An*kn,1)}else Cn(-wn*kn,1)}}function Sn(wn,xn,kn){wn!==0&&(Ie=!0);for(var Pn=xn;Pn<kn;Pn++){var An=oe[Pn],In=An.rect;In[ie]+=wn,An.label[ie]+=wn}}function Cn(wn,xn){for(var kn=[],Pn=0,An=1;An<he;An++){var In=oe[An-1].rect,Nn=Math.max(oe[An].rect[ie]-In[ie]-In[le],0);kn.push(Nn),Pn+=Nn}if(Pn){var Un=Math.min(Math.abs(wn)/Pn,xn);if(wn>0)for(var An=0;An<he-1;An++){var Vn=kn[An]*Un;Sn(Vn,0,An+1)}else for(var An=he-1;An>0;An--){var Vn=kn[An-1]*Un;Sn(-Vn,An,he)}}}function En(wn){var xn=wn<0?-1:1;wn=Math.abs(wn);for(var kn=Math.ceil(wn/(he-1)),Pn=0;Pn<he-1;Pn++)if(xn>0?Sn(kn,0,Pn+1):Sn(-kn,he-Pn-1,he),wn-=kn,wn<=0)return}return Ie}function shiftLayoutOnY(oe,ie,le,ue){return shiftLayout(oe,"y","height",ie,le,ue)}function hideOverlap(oe){var ie=[];oe.sort(function(At,Lt){return Lt.priority-At.priority});var le=new BoundingRect$1(0,0,0,0);function ue(At){if(!At.ignore){var Lt=At.ensureState("emphasis");Lt.ignore==null&&(Lt.ignore=!1)}At.ignore=!0}for(var de=0;de<oe.length;de++){var pe=oe[de],he=pe.axisAligned,_e=pe.localRect,$e=pe.transform,Ie=pe.label,Ve=pe.labelLine;le.copy(pe.rect),le.width-=.1,le.height-=.1,le.x+=.05,le.y+=.05;for(var Fe=pe.obb,Ue=!1,qe=0;qe<ie.length;qe++){var Et=ie[qe];if(le.intersect(Et.rect)){if(he&&Et.axisAligned){Ue=!0;break}if(Et.obb||(Et.obb=new OrientedBoundingRect$1(Et.localRect,Et.transform)),Fe||(Fe=new OrientedBoundingRect$1(_e,$e)),Fe.intersect(Et.obb)){Ue=!0;break}}}Ue?(ue(Ie),Ve&&ue(Ve)):(Ie.attr("ignore",pe.defaultAttr.ignore),Ve&&Ve.attr("ignore",pe.defaultAttr.labelGuideIgnore),ie.push(pe))}}const echarts=Object.freeze(Object.defineProperty({__proto__:null,Axis:Axis$1,ChartView:ChartView$1,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,List:SeriesData$1,Model:Model$1,PRIORITY,SeriesModel:SeriesModel$1,color,connect,dataTool,dependencies,disConnect,disconnect,dispose,env:env$1,extendChartView,extendComponentModel,extendComponentView,extendSeriesModel,format,getCoordinateSystemDimensions,getInstanceByDom,getInstanceById,getMap,graphic,helper,init,innerDrawElementOnCanvas:brushSingle,matrix,number,parseGeoJSON,parseGeoJson:parseGeoJSON,registerAction,registerCoordinateSystem,registerLayout,registerLoading,registerLocale,registerMap,registerPostInit,registerPostUpdate,registerPreprocessor,registerProcessor,registerTheme,registerTransform,registerUpdateLifecycle,registerVisual,setCanvasCreator,setPlatformAPI,throttle,time,use:use$1,util,vector,version,zrUtil:util$1,zrender},Symbol.toStringTag,{value:"Module"}));function createDom(oe,ie,le){var ue=platformApi.createCanvas(),de=ie.getWidth(),pe=ie.getHeight(),he=ue.style;return he&&(he.position="absolute",he.left="0",he.top="0",he.width=de+"px",he.height=pe+"px",ue.setAttribute("data-zr-dom-id",oe)),ue.width=de*le,ue.height=pe*le,ue}var Layer=function(oe){__extends(ie,oe);function ie(le,ue,de){var pe=oe.call(this)||this;pe.motionBlur=!1,pe.lastFrameAlpha=.7,pe.dpr=1,pe.virtual=!1,pe.config={},pe.incremental=!1,pe.zlevel=0,pe.maxRepaintRectCount=5,pe.__dirty=!0,pe.__firstTimePaint=!0,pe.__used=!1,pe.__drawIndex=0,pe.__startIndex=0,pe.__endIndex=0,pe.__prevStartIndex=null,pe.__prevEndIndex=null;var he;de=de||devicePixelRatio,typeof le=="string"?he=createDom(le,ue,de):isObject$3(le)&&(he=le,le=he.id),pe.id=le,pe.dom=he;var _e=he.style;return _e&&(disableUserSelect(he),he.onselectstart=function(){return!1},_e.padding="0",_e.margin="0",_e.borderWidth="0"),pe.painter=ue,pe.dpr=de,pe}return ie.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},ie.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},ie.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},ie.prototype.setUnpainted=function(){this.__firstTimePaint=!0},ie.prototype.createBackBuffer=function(){var le=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,le),this.ctxBack=this.domBack.getContext("2d"),le!==1&&this.ctxBack.scale(le,le)},ie.prototype.createRepaintRects=function(le,ue,de,pe){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var he=[],_e=this.maxRepaintRectCount,$e=!1,Ie=new BoundingRect$1(0,0,0,0);function Ve(vn){if(!(!vn.isFinite()||vn.isZero()))if(he.length===0){var _n=new BoundingRect$1(0,0,0,0);_n.copy(vn),he.push(_n)}else{for(var bn=!1,Sn=1/0,Cn=0,En=0;En<he.length;++En){var wn=he[En];if(wn.intersect(vn)){var xn=new BoundingRect$1(0,0,0,0);xn.copy(wn),xn.union(vn),he[En]=xn,bn=!0;break}else if($e){Ie.copy(vn),Ie.union(wn);var kn=vn.width*vn.height,Pn=wn.width*wn.height,An=Ie.width*Ie.height,In=An-kn-Pn;In<Sn&&(Sn=In,Cn=En)}}if($e&&(he[Cn].union(vn),bn=!0),!bn){var _n=new BoundingRect$1(0,0,0,0);_n.copy(vn),he.push(_n)}$e||($e=he.length>=_e)}}for(var Fe=this.__startIndex;Fe<this.__endIndex;++Fe){var Ue=le[Fe];if(Ue){var qe=Ue.shouldBePainted(de,pe,!0,!0),Et=Ue.__isRendered&&(Ue.__dirty&REDRAW_BIT||!qe)?Ue.getPrevPaintRect():null;Et&&Ve(Et);var At=qe&&(Ue.__dirty&REDRAW_BIT||!Ue.__isRendered)?Ue.getPaintRect():null;At&&Ve(At)}}for(var Fe=this.__prevStartIndex;Fe<this.__prevEndIndex;++Fe){var Ue=ue[Fe],qe=Ue.shouldBePainted(de,pe,!0,!0);if(Ue&&(!qe||!Ue.__zr)&&Ue.__isRendered){var Et=Ue.getPrevPaintRect();Et&&Ve(Et)}}var Lt;do{Lt=!1;for(var Fe=0;Fe<he.length;){if(he[Fe].isZero()){he.splice(Fe,1);continue}for(var hn=Fe+1;hn<he.length;)he[Fe].intersect(he[hn])?(Lt=!0,he[Fe].union(he[hn]),he.splice(hn,1)):hn++;Fe++}}while(Lt);return this._paintRects=he,he},ie.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},ie.prototype.resize=function(le,ue){var de=this.dpr,pe=this.dom,he=pe.style,_e=this.domBack;he&&(he.width=le+"px",he.height=ue+"px"),pe.width=le*de,pe.height=ue*de,_e&&(_e.width=le*de,_e.height=ue*de,de!==1&&this.ctxBack.scale(de,de))},ie.prototype.clear=function(le,ue,de){var pe=this.dom,he=this.ctx,_e=pe.width,$e=pe.height;ue=ue||this.clearColor;var Ie=this.motionBlur&&!le,Ve=this.lastFrameAlpha,Fe=this.dpr,Ue=this;Ie&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(pe,0,0,_e/Fe,$e/Fe));var qe=this.domBack;function Et(At,Lt,hn,vn){if(he.clearRect(At,Lt,hn,vn),ue&&ue!=="transparent"){var _n=void 0;if(isGradientObject(ue)){var bn=ue.global||ue.__width===hn&&ue.__height===vn;_n=bn&&ue.__canvasGradient||getCanvasGradient(he,ue,{x:0,y:0,width:hn,height:vn}),ue.__canvasGradient=_n,ue.__width=hn,ue.__height=vn}else isImagePatternObject(ue)&&(ue.scaleX=ue.scaleX||Fe,ue.scaleY=ue.scaleY||Fe,_n=createCanvasPattern(he,ue,{dirty:function(){Ue.setUnpainted(),Ue.__painter.refresh()}}));he.save(),he.fillStyle=_n||ue,he.fillRect(At,Lt,hn,vn),he.restore()}Ie&&(he.save(),he.globalAlpha=Ve,he.drawImage(qe,At,Lt,hn,vn),he.restore())}!de||Ie?Et(0,0,_e,$e):de.length&&each$c(de,function(At){Et(At.x*Fe,At.y*Fe,At.width*Fe,At.height*Fe)})},ie}(Eventful$1);const Layer$1=Layer;var HOVER_LAYER_ZLEVEL=1e5,CANVAS_ZLEVEL=314159,EL_AFTER_INCREMENTAL_INC=.01,INCREMENTAL_INC=.001;function isLayerValid(oe){return oe?oe.__builtin__?!0:!(typeof oe.resize!="function"||typeof oe.refresh!="function"):!1}function createRoot(oe,ie){var le=document.createElement("div");return le.style.cssText=["position:relative","width:"+oe+"px","height:"+ie+"px","padding:0","margin:0","border-width:0"].join(";")+";",le}var CanvasPainter=function(){function oe(ie,le,ue,de){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var pe=!ie.nodeName||ie.nodeName.toUpperCase()==="CANVAS";this._opts=ue=extend({},ue||{}),this.dpr=ue.devicePixelRatio||devicePixelRatio,this._singleCanvas=pe,this.root=ie;var he=ie.style;he&&(disableUserSelect(ie),ie.innerHTML=""),this.storage=le;var _e=this._zlevelList;this._prevDisplayList=[];var $e=this._layers;if(pe){var Ve=ie,Fe=Ve.width,Ue=Ve.height;ue.width!=null&&(Fe=ue.width),ue.height!=null&&(Ue=ue.height),this.dpr=ue.devicePixelRatio||1,Ve.width=Fe*this.dpr,Ve.height=Ue*this.dpr,this._width=Fe,this._height=Ue;var qe=new Layer$1(Ve,this,this.dpr);qe.__builtin__=!0,qe.initContext(),$e[CANVAS_ZLEVEL]=qe,qe.zlevel=CANVAS_ZLEVEL,_e.push(CANVAS_ZLEVEL),this._domRoot=ie}else{this._width=getSize$1(ie,0,ue),this._height=getSize$1(ie,1,ue);var Ie=this._domRoot=createRoot(this._width,this._height);ie.appendChild(Ie)}}return oe.prototype.getType=function(){return"canvas"},oe.prototype.isSingleCanvas=function(){return this._singleCanvas},oe.prototype.getViewportRoot=function(){return this._domRoot},oe.prototype.getViewportRootOffset=function(){var ie=this.getViewportRoot();if(ie)return{offsetLeft:ie.offsetLeft||0,offsetTop:ie.offsetTop||0}},oe.prototype.refresh=function(ie){var le=this.storage.getDisplayList(!0),ue=this._prevDisplayList,de=this._zlevelList;this._redrawId=Math.random(),this._paintList(le,ue,ie,this._redrawId);for(var pe=0;pe<de.length;pe++){var he=de[pe],_e=this._layers[he];if(!_e.__builtin__&&_e.refresh){var $e=pe===0?this._backgroundColor:null;_e.refresh($e)}}return this._opts.useDirtyRect&&(this._prevDisplayList=le.slice()),this},oe.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},oe.prototype._paintHoverList=function(ie){var le=ie.length,ue=this._hoverlayer;if(ue&&ue.clear(),!!le){for(var de={inHover:!0,viewWidth:this._width,viewHeight:this._height},pe,he=0;he<le;he++){var _e=ie[he];_e.__inHover&&(ue||(ue=this._hoverlayer=this.getLayer(HOVER_LAYER_ZLEVEL)),pe||(pe=ue.ctx,pe.save()),brush(pe,_e,de,he===le-1))}pe&&pe.restore()}},oe.prototype.getHoverLayer=function(){return this.getLayer(HOVER_LAYER_ZLEVEL)},oe.prototype.paintOne=function(ie,le){brushSingle(ie,le)},oe.prototype._paintList=function(ie,le,ue,de){if(this._redrawId===de){ue=ue||!1,this._updateLayerStatus(ie);var pe=this._doPaintList(ie,le,ue),he=pe.finished,_e=pe.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),_e&&this._paintHoverList(ie),he)this.eachLayer(function(Ie){Ie.afterBrush&&Ie.afterBrush()});else{var $e=this;requestAnimationFrame$2(function(){$e._paintList(ie,le,ue,de)})}}},oe.prototype._compositeManually=function(){var ie=this.getLayer(CANVAS_ZLEVEL).ctx,le=this._domRoot.width,ue=this._domRoot.height;ie.clearRect(0,0,le,ue),this.eachBuiltinLayer(function(de){de.virtual&&ie.drawImage(de.dom,0,0,le,ue)})},oe.prototype._doPaintList=function(ie,le,ue){for(var de=this,pe=[],he=this._opts.useDirtyRect,_e=0;_e<this._zlevelList.length;_e++){var $e=this._zlevelList[_e],Ie=this._layers[$e];Ie.__builtin__&&Ie!==this._hoverlayer&&(Ie.__dirty||ue)&&pe.push(Ie)}for(var Ve=!0,Fe=!1,Ue=function(At){var Lt=pe[At],hn=Lt.ctx,vn=he&&Lt.createRepaintRects(ie,le,qe._width,qe._height),_n=ue?Lt.__startIndex:Lt.__drawIndex,bn=!ue&&Lt.incremental&&Date.now,Sn=bn&&Date.now(),Cn=Lt.zlevel===qe._zlevelList[0]?qe._backgroundColor:null;if(Lt.__startIndex===Lt.__endIndex)Lt.clear(!1,Cn,vn);else if(_n===Lt.__startIndex){var En=ie[_n];(!En.incremental||!En.notClear||ue)&&Lt.clear(!1,Cn,vn)}_n===-1&&(console.error("For some unknown reason. drawIndex is -1"),_n=Lt.__startIndex);var wn,xn=function(In){var Nn={inHover:!1,allClipped:!1,prevEl:null,viewWidth:de._width,viewHeight:de._height};for(wn=_n;wn<Lt.__endIndex;wn++){var Un=ie[wn];if(Un.__inHover&&(Fe=!0),de._doPaintEl(Un,Lt,he,In,Nn,wn===Lt.__endIndex-1),bn){var Vn=Date.now()-Sn;if(Vn>15)break}}Nn.prevElClipPaths&&hn.restore()};if(vn)if(vn.length===0)wn=Lt.__endIndex;else for(var kn=qe.dpr,Pn=0;Pn<vn.length;++Pn){var An=vn[Pn];hn.save(),hn.beginPath(),hn.rect(An.x*kn,An.y*kn,An.width*kn,An.height*kn),hn.clip(),xn(An),hn.restore()}else hn.save(),xn(),hn.restore();Lt.__drawIndex=wn,Lt.__drawIndex<Lt.__endIndex&&(Ve=!1)},qe=this,Et=0;Et<pe.length;Et++)Ue(Et);return env$1.wxa&&each$c(this._layers,function(At){At&&At.ctx&&At.ctx.draw&&At.ctx.draw()}),{finished:Ve,needsRefreshHover:Fe}},oe.prototype._doPaintEl=function(ie,le,ue,de,pe,he){var _e=le.ctx;if(ue){var $e=ie.getPaintRect();(!de||$e&&$e.intersect(de))&&(brush(_e,ie,pe,he),ie.setPrevPaintRect($e))}else brush(_e,ie,pe,he)},oe.prototype.getLayer=function(ie,le){this._singleCanvas&&!this._needsManuallyCompositing&&(ie=CANVAS_ZLEVEL);var ue=this._layers[ie];return ue||(ue=new Layer$1("zr_"+ie,this,this.dpr),ue.zlevel=ie,ue.__builtin__=!0,this._layerConfig[ie]?merge(ue,this._layerConfig[ie],!0):this._layerConfig[ie-EL_AFTER_INCREMENTAL_INC]&&merge(ue,this._layerConfig[ie-EL_AFTER_INCREMENTAL_INC],!0),le&&(ue.virtual=le),this.insertLayer(ie,ue),ue.initContext()),ue},oe.prototype.insertLayer=function(ie,le){var ue=this._layers,de=this._zlevelList,pe=de.length,he=this._domRoot,_e=null,$e=-1;if(!ue[ie]&&isLayerValid(le)){if(pe>0&&ie>de[0]){for($e=0;$e<pe-1&&!(de[$e]<ie&&de[$e+1]>ie);$e++);_e=ue[de[$e]]}if(de.splice($e+1,0,ie),ue[ie]=le,!le.virtual)if(_e){var Ie=_e.dom;Ie.nextSibling?he.insertBefore(le.dom,Ie.nextSibling):he.appendChild(le.dom)}else he.firstChild?he.insertBefore(le.dom,he.firstChild):he.appendChild(le.dom);le.__painter=this}},oe.prototype.eachLayer=function(ie,le){for(var ue=this._zlevelList,de=0;de<ue.length;de++){var pe=ue[de];ie.call(le,this._layers[pe],pe)}},oe.prototype.eachBuiltinLayer=function(ie,le){for(var ue=this._zlevelList,de=0;de<ue.length;de++){var pe=ue[de],he=this._layers[pe];he.__builtin__&&ie.call(le,he,pe)}},oe.prototype.eachOtherLayer=function(ie,le){for(var ue=this._zlevelList,de=0;de<ue.length;de++){var pe=ue[de],he=this._layers[pe];he.__builtin__||ie.call(le,he,pe)}},oe.prototype.getLayers=function(){return this._layers},oe.prototype._updateLayerStatus=function(ie){this.eachBuiltinLayer(function(Fe,Ue){Fe.__dirty=Fe.__used=!1});function le(Fe){pe&&(pe.__endIndex!==Fe&&(pe.__dirty=!0),pe.__endIndex=Fe)}if(this._singleCanvas)for(var ue=1;ue<ie.length;ue++){var de=ie[ue];if(de.zlevel!==ie[ue-1].zlevel||de.incremental){this._needsManuallyCompositing=!0;break}}var pe=null,he=0,_e,$e;for($e=0;$e<ie.length;$e++){var de=ie[$e],Ie=de.zlevel,Ve=void 0;_e!==Ie&&(_e=Ie,he=0),de.incremental?(Ve=this.getLayer(Ie+INCREMENTAL_INC,this._needsManuallyCompositing),Ve.incremental=!0,he=1):Ve=this.getLayer(Ie+(he>0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),Ve.__builtin__||logError("ZLevel "+Ie+" has been used by unkown layer "+Ve.id),Ve!==pe&&(Ve.__used=!0,Ve.__startIndex!==$e&&(Ve.__dirty=!0),Ve.__startIndex=$e,Ve.incremental?Ve.__drawIndex=-1:Ve.__drawIndex=$e,le($e),pe=Ve),de.__dirty&REDRAW_BIT&&!de.__inHover&&(Ve.__dirty=!0,Ve.incremental&&Ve.__drawIndex<0&&(Ve.__drawIndex=$e))}le($e),this.eachBuiltinLayer(function(Fe,Ue){!Fe.__used&&Fe.getElementCount()>0&&(Fe.__dirty=!0,Fe.__startIndex=Fe.__endIndex=Fe.__drawIndex=0),Fe.__dirty&&Fe.__drawIndex<0&&(Fe.__drawIndex=Fe.__startIndex)})},oe.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},oe.prototype._clearLayer=function(ie){ie.clear()},oe.prototype.setBackgroundColor=function(ie){this._backgroundColor=ie,each$c(this._layers,function(le){le.setUnpainted()})},oe.prototype.configLayer=function(ie,le){if(le){var ue=this._layerConfig;ue[ie]?merge(ue[ie],le,!0):ue[ie]=le;for(var de=0;de<this._zlevelList.length;de++){var pe=this._zlevelList[de];if(pe===ie||pe===ie+EL_AFTER_INCREMENTAL_INC){var he=this._layers[pe];merge(he,ue[ie],!0)}}}},oe.prototype.delLayer=function(ie){var le=this._layers,ue=this._zlevelList,de=le[ie];de&&(de.dom.parentNode.removeChild(de.dom),delete le[ie],ue.splice(indexOf(ue,ie),1))},oe.prototype.resize=function(ie,le){if(this._domRoot.style){var ue=this._domRoot;ue.style.display="none";var de=this._opts,pe=this.root;if(ie!=null&&(de.width=ie),le!=null&&(de.height=le),ie=getSize$1(pe,0,de),le=getSize$1(pe,1,de),ue.style.display="",this._width!==ie||le!==this._height){ue.style.width=ie+"px",ue.style.height=le+"px";for(var he in this._layers)this._layers.hasOwnProperty(he)&&this._layers[he].resize(ie,le);this.refresh(!0)}this._width=ie,this._height=le}else{if(ie==null||le==null)return;this._width=ie,this._height=le,this.getLayer(CANVAS_ZLEVEL).resize(ie,le)}return this},oe.prototype.clearLayer=function(ie){var le=this._layers[ie];le&&le.clear()},oe.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},oe.prototype.getRenderedCanvas=function(ie){if(ie=ie||{},this._singleCanvas&&!this._compositeManually)return this._layers[CANVAS_ZLEVEL].dom;var le=new Layer$1("image",this,ie.pixelRatio||this.dpr);le.initContext(),le.clear(!1,ie.backgroundColor||this._backgroundColor);var ue=le.ctx;if(ie.pixelRatio<=this.dpr){this.refresh();var de=le.dom.width,pe=le.dom.height;this.eachLayer(function(Fe){Fe.__builtin__?ue.drawImage(Fe.dom,0,0,de,pe):Fe.renderToCanvas&&(ue.save(),Fe.renderToCanvas(ue),ue.restore())})}else for(var he={inHover:!1,viewWidth:this._width,viewHeight:this._height},_e=this.storage.getDisplayList(!0),$e=0,Ie=_e.length;$e<Ie;$e++){var Ve=_e[$e];brush(ue,Ve,he,$e===Ie-1)}return le.dom},oe.prototype.getWidth=function(){return this._width},oe.prototype.getHeight=function(){return this._height},oe}();const CanvasPainter$1=CanvasPainter;function install$k(oe){oe.registerPainter("canvas",CanvasPainter$1)}var LineSeriesModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.hasSymbolVisual=!0,le}return ie.prototype.getInitialData=function(le){return createSeriesData(null,this,{useEncodeDefaulter:!0})},ie.prototype.getLegendIcon=function(le){var ue=new Group$3,de=createSymbol("line",0,le.itemHeight/2,le.itemWidth,0,le.lineStyle.stroke,!1);ue.add(de),de.setStyle(le.lineStyle);var pe=this.getData().getVisual("symbol"),he=this.getData().getVisual("symbolRotate"),_e=pe==="none"?"circle":pe,$e=le.itemHeight*.8,Ie=createSymbol(_e,(le.itemWidth-$e)/2,(le.itemHeight-$e)/2,$e,$e,le.itemStyle.fill);ue.add(Ie),Ie.setStyle(le.itemStyle);var Ve=le.iconRotate==="inherit"?he:le.iconRotate||0;return Ie.rotation=Ve*Math.PI/180,Ie.setOrigin([le.itemWidth/2,le.itemHeight/2]),_e.indexOf("empty")>-1&&(Ie.style.stroke=Ie.style.fill,Ie.style.fill="#fff",Ie.style.lineWidth=2),ue},ie.type="series.line",ie.dependencies=["grid","polar"],ie.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},ie}(SeriesModel$1);const LineSeries=LineSeriesModel;function getDefaultLabel(oe,ie){var le=oe.mapDimensionsAll("defaultedLabel"),ue=le.length;if(ue===1){var de=retrieveRawValue(oe,ie,le[0]);return de!=null?de+"":null}else if(ue){for(var pe=[],he=0;he<le.length;he++)pe.push(retrieveRawValue(oe,ie,le[he]));return pe.join(" ")}}function getDefaultInterpolatedLabel(oe,ie){var le=oe.mapDimensionsAll("defaultedLabel");if(!isArray$1(ie))return ie+"";for(var ue=[],de=0;de<le.length;de++){var pe=oe.getDimensionIndex(le[de]);pe>=0&&ue.push(ie[pe])}return ue.join(" ")}var Symbol$1=function(oe){__extends(ie,oe);function ie(le,ue,de,pe){var he=oe.call(this)||this;return he.updateData(le,ue,de,pe),he}return ie.prototype._createSymbol=function(le,ue,de,pe,he){this.removeAll();var _e=createSymbol(le,-1,-1,2,2,null,he);_e.attr({z2:100,culling:!0,scaleX:pe[0]/2,scaleY:pe[1]/2}),_e.drift=driftSymbol,this._symbolType=le,this.add(_e)},ie.prototype.stopSymbolAnimation=function(le){this.childAt(0).stopAnimation(null,le)},ie.prototype.getSymbolType=function(){return this._symbolType},ie.prototype.getSymbolPath=function(){return this.childAt(0)},ie.prototype.highlight=function(){enterEmphasis(this.childAt(0))},ie.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},ie.prototype.setZ=function(le,ue){var de=this.childAt(0);de.zlevel=le,de.z=ue},ie.prototype.setDraggable=function(le,ue){var de=this.childAt(0);de.draggable=le,de.cursor=!ue&&le?"move":de.cursor},ie.prototype.updateData=function(le,ue,de,pe){this.silent=!1;var he=le.getItemVisual(ue,"symbol")||"circle",_e=le.hostModel,$e=ie.getSymbolSize(le,ue),Ie=he!==this._symbolType,Ve=pe&&pe.disableAnimation;if(Ie){var Fe=le.getItemVisual(ue,"symbolKeepAspect");this._createSymbol(he,le,ue,$e,Fe)}else{var Ue=this.childAt(0);Ue.silent=!1;var qe={scaleX:$e[0]/2,scaleY:$e[1]/2};Ve?Ue.attr(qe):updateProps$1(Ue,qe,_e,ue),saveOldStyle(Ue)}if(this._updateCommon(le,ue,$e,de,pe),Ie){var Ue=this.childAt(0);if(!Ve){var qe={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:Ue.style.opacity}};Ue.scaleX=Ue.scaleY=0,Ue.style.opacity=0,initProps(Ue,qe,_e,ue)}}Ve&&this.childAt(0).stopAnimation("leave")},ie.prototype._updateCommon=function(le,ue,de,pe,he){var _e=this.childAt(0),$e=le.hostModel,Ie,Ve,Fe,Ue,qe,Et,At,Lt,hn;if(pe&&(Ie=pe.emphasisItemStyle,Ve=pe.blurItemStyle,Fe=pe.selectItemStyle,Ue=pe.focus,qe=pe.blurScope,At=pe.labelStatesModels,Lt=pe.hoverScale,hn=pe.cursorStyle,Et=pe.emphasisDisabled),!pe||le.hasItemOption){var vn=pe&&pe.itemModel?pe.itemModel:le.getItemModel(ue),_n=vn.getModel("emphasis");Ie=_n.getModel("itemStyle").getItemStyle(),Fe=vn.getModel(["select","itemStyle"]).getItemStyle(),Ve=vn.getModel(["blur","itemStyle"]).getItemStyle(),Ue=_n.get("focus"),qe=_n.get("blurScope"),Et=_n.get("disabled"),At=getLabelStatesModels(vn),Lt=_n.getShallow("scale"),hn=vn.getShallow("cursor")}var bn=le.getItemVisual(ue,"symbolRotate");_e.attr("rotation",(bn||0)*Math.PI/180||0);var Sn=normalizeSymbolOffset(le.getItemVisual(ue,"symbolOffset"),de);Sn&&(_e.x=Sn[0],_e.y=Sn[1]),hn&&_e.attr("cursor",hn);var Cn=le.getItemVisual(ue,"style"),En=Cn.fill;if(_e instanceof ZRImage$1){var wn=_e.style;_e.useStyle(extend({image:wn.image,x:wn.x,y:wn.y,width:wn.width,height:wn.height},Cn))}else _e.__isEmptyBrush?_e.useStyle(extend({},Cn)):_e.useStyle(Cn),_e.style.decal=null,_e.setColor(En,he&&he.symbolInnerColor),_e.style.strokeNoScale=!0;var xn=le.getItemVisual(ue,"liftZ"),kn=this._z2;xn!=null?kn==null&&(this._z2=_e.z2,_e.z2+=xn):kn!=null&&(_e.z2=kn,this._z2=null);var Pn=he&&he.useNameLabel;setLabelStyle(_e,At,{labelFetcher:$e,labelDataIndex:ue,defaultText:An,inheritColor:En,defaultOpacity:Cn.opacity});function An(Un){return Pn?le.getName(Un):getDefaultLabel(le,Un)}this._sizeX=de[0]/2,this._sizeY=de[1]/2;var In=_e.ensureState("emphasis");In.style=Ie,_e.ensureState("select").style=Fe,_e.ensureState("blur").style=Ve;var Nn=Lt==null||Lt===!0?Math.max(1.1,3/this._sizeY):isFinite(Lt)&&Lt>0?+Lt:1;In.scaleX=this._sizeX*Nn,In.scaleY=this._sizeY*Nn,this.setSymbolScale(1),toggleHoverEmphasis(this,Ue,qe,Et)},ie.prototype.setSymbolScale=function(le){this.scaleX=this.scaleY=le},ie.prototype.fadeOut=function(le,ue,de){var pe=this.childAt(0),he=getECData(this).dataIndex,_e=de&&de.animation;if(this.silent=pe.silent=!0,de&&de.fadeLabel){var $e=pe.getTextContent();$e&&removeElement($e,{style:{opacity:0}},ue,{dataIndex:he,removeOpt:_e,cb:function(){pe.removeTextContent()}})}else pe.removeTextContent();removeElement(pe,{style:{opacity:0},scaleX:0,scaleY:0},ue,{dataIndex:he,cb:le,removeOpt:_e})},ie.getSymbolSize=function(le,ue){return normalizeSymbolSize(le.getItemVisual(ue,"symbolSize"))},ie}(Group$3);function driftSymbol(oe,ie){this.parent.drift(oe,ie)}const SymbolClz=Symbol$1;function symbolNeedsDraw(oe,ie,le,ue){return ie&&!isNaN(ie[0])&&!isNaN(ie[1])&&!(ue.isIgnore&&ue.isIgnore(le))&&!(ue.clipShape&&!ue.clipShape.contain(ie[0],ie[1]))&&oe.getItemVisual(le,"symbol")!=="none"}function normalizeUpdateOpt(oe){return oe!=null&&!isObject$3(oe)&&(oe={isIgnore:oe}),oe||{}}function makeSeriesScope(oe){var ie=oe.hostModel,le=ie.getModel("emphasis");return{emphasisItemStyle:le.getModel("itemStyle").getItemStyle(),blurItemStyle:ie.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:ie.getModel(["select","itemStyle"]).getItemStyle(),focus:le.get("focus"),blurScope:le.get("blurScope"),emphasisDisabled:le.get("disabled"),hoverScale:le.get("scale"),labelStatesModels:getLabelStatesModels(ie),cursorStyle:ie.get("cursor")}}var SymbolDraw=function(){function oe(ie){this.group=new Group$3,this._SymbolCtor=ie||SymbolClz}return oe.prototype.updateData=function(ie,le){this._progressiveEls=null,le=normalizeUpdateOpt(le);var ue=this.group,de=ie.hostModel,pe=this._data,he=this._SymbolCtor,_e=le.disableAnimation,$e=makeSeriesScope(ie),Ie={disableAnimation:_e},Ve=le.getSymbolPoint||function(Fe){return ie.getItemLayout(Fe)};pe||ue.removeAll(),ie.diff(pe).add(function(Fe){var Ue=Ve(Fe);if(symbolNeedsDraw(ie,Ue,Fe,le)){var qe=new he(ie,Fe,$e,Ie);qe.setPosition(Ue),ie.setItemGraphicEl(Fe,qe),ue.add(qe)}}).update(function(Fe,Ue){var qe=pe.getItemGraphicEl(Ue),Et=Ve(Fe);if(!symbolNeedsDraw(ie,Et,Fe,le)){ue.remove(qe);return}var At=ie.getItemVisual(Fe,"symbol")||"circle",Lt=qe&&qe.getSymbolType&&qe.getSymbolType();if(!qe||Lt&&Lt!==At)ue.remove(qe),qe=new he(ie,Fe,$e,Ie),qe.setPosition(Et);else{qe.updateData(ie,Fe,$e,Ie);var hn={x:Et[0],y:Et[1]};_e?qe.attr(hn):updateProps$1(qe,hn,de)}ue.add(qe),ie.setItemGraphicEl(Fe,qe)}).remove(function(Fe){var Ue=pe.getItemGraphicEl(Fe);Ue&&Ue.fadeOut(function(){ue.remove(Ue)},de)}).execute(),this._getSymbolPoint=Ve,this._data=ie},oe.prototype.updateLayout=function(){var ie=this,le=this._data;le&&le.eachItemGraphicEl(function(ue,de){var pe=ie._getSymbolPoint(de);ue.setPosition(pe),ue.markRedraw()})},oe.prototype.incrementalPrepareUpdate=function(ie){this._seriesScope=makeSeriesScope(ie),this._data=null,this.group.removeAll()},oe.prototype.incrementalUpdate=function(ie,le,ue){this._progressiveEls=[],ue=normalizeUpdateOpt(ue);function de($e){$e.isGroup||($e.incremental=!0,$e.ensureState("emphasis").hoverLayer=!0)}for(var pe=ie.start;pe<ie.end;pe++){var he=le.getItemLayout(pe);if(symbolNeedsDraw(le,he,pe,ue)){var _e=new this._SymbolCtor(le,pe,this._seriesScope);_e.traverse(de),_e.setPosition(he),this.group.add(_e),le.setItemGraphicEl(pe,_e),this._progressiveEls.push(_e)}}},oe.prototype.eachRendered=function(ie){traverseElements(this._progressiveEls||this.group,ie)},oe.prototype.remove=function(ie){var le=this.group,ue=this._data;ue&&ie?ue.eachItemGraphicEl(function(de){de.fadeOut(function(){le.remove(de)},ue.hostModel)}):le.removeAll()},oe}();const SymbolDraw$1=SymbolDraw;function prepareDataCoordInfo(oe,ie,le){var ue=oe.getBaseAxis(),de=oe.getOtherAxis(ue),pe=getValueStart(de,le),he=ue.dim,_e=de.dim,$e=ie.mapDimension(_e),Ie=ie.mapDimension(he),Ve=_e==="x"||_e==="radius"?1:0,Fe=map$2(oe.dimensions,function(Et){return ie.mapDimension(Et)}),Ue=!1,qe=ie.getCalculationInfo("stackResultDimension");return isDimensionStacked(ie,Fe[0])&&(Ue=!0,Fe[0]=qe),isDimensionStacked(ie,Fe[1])&&(Ue=!0,Fe[1]=qe),{dataDimsForPoint:Fe,valueStart:pe,valueAxisDim:_e,baseAxisDim:he,stacked:!!Ue,valueDim:$e,baseDim:Ie,baseDataOffset:Ve,stackedOverDimension:ie.getCalculationInfo("stackedOverDimension")}}function getValueStart(oe,ie){var le=0,ue=oe.scale.getExtent();return ie==="start"?le=ue[0]:ie==="end"?le=ue[1]:isNumber(ie)&&!isNaN(ie)?le=ie:ue[0]>0?le=ue[0]:ue[1]<0&&(le=ue[1]),le}function getStackedOnPoint(oe,ie,le,ue){var de=NaN;oe.stacked&&(de=le.get(le.getCalculationInfo("stackedOverDimension"),ue)),isNaN(de)&&(de=oe.valueStart);var pe=oe.baseDataOffset,he=[];return he[pe]=le.get(oe.baseDim,ue),he[1-pe]=de,ie.dataToPoint(he)}function diffData(oe,ie){var le=[];return ie.diff(oe).add(function(ue){le.push({cmd:"+",idx:ue})}).update(function(ue,de){le.push({cmd:"=",idx:de,idx1:ue})}).remove(function(ue){le.push({cmd:"-",idx:ue})}).execute(),le}function lineAnimationDiff(oe,ie,le,ue,de,pe,he,_e){for(var $e=diffData(oe,ie),Ie=[],Ve=[],Fe=[],Ue=[],qe=[],Et=[],At=[],Lt=prepareDataCoordInfo(de,ie,he),hn=oe.getLayout("points")||[],vn=ie.getLayout("points")||[],_n=0;_n<$e.length;_n++){var bn=$e[_n],Sn=!0,Cn=void 0,En=void 0;switch(bn.cmd){case"=":Cn=bn.idx*2,En=bn.idx1*2;var wn=hn[Cn],xn=hn[Cn+1],kn=vn[En],Pn=vn[En+1];(isNaN(wn)||isNaN(xn))&&(wn=kn,xn=Pn),Ie.push(wn,xn),Ve.push(kn,Pn),Fe.push(le[Cn],le[Cn+1]),Ue.push(ue[En],ue[En+1]),At.push(ie.getRawIndex(bn.idx1));break;case"+":var An=bn.idx,In=Lt.dataDimsForPoint,Nn=de.dataToPoint([ie.get(In[0],An),ie.get(In[1],An)]);En=An*2,Ie.push(Nn[0],Nn[1]),Ve.push(vn[En],vn[En+1]);var Un=getStackedOnPoint(Lt,de,ie,An);Fe.push(Un[0],Un[1]),Ue.push(ue[En],ue[En+1]),At.push(ie.getRawIndex(An));break;case"-":Sn=!1}Sn&&(qe.push(bn),Et.push(Et.length))}Et.sort(function(yr,ir){return At[yr]-At[ir]});for(var Vn=Ie.length,Mn=createFloat32Array(Vn),Fn=createFloat32Array(Vn),Ln=createFloat32Array(Vn),jn=createFloat32Array(Vn),Zn=[],_n=0;_n<Et.length;_n++){var Gn=Et[_n],Jn=_n*2,lr=Gn*2;Mn[Jn]=Ie[lr],Mn[Jn+1]=Ie[lr+1],Fn[Jn]=Ve[lr],Fn[Jn+1]=Ve[lr+1],Ln[Jn]=Fe[lr],Ln[Jn+1]=Fe[lr+1],jn[Jn]=Ue[lr],jn[Jn+1]=Ue[lr+1],Zn[_n]=qe[Gn]}return{current:Mn,next:Fn,stackedOnCurrent:Ln,stackedOnNext:jn,status:Zn}}var mathMin$3=Math.min,mathMax$3=Math.max;function isPointNull$1(oe,ie){return isNaN(oe)||isNaN(ie)}function drawSegment(oe,ie,le,ue,de,pe,he,_e,$e){for(var Ie,Ve,Fe,Ue,qe,Et,At=le,Lt=0;Lt<ue;Lt++){var hn=ie[At*2],vn=ie[At*2+1];if(At>=de||At<0)break;if(isPointNull$1(hn,vn)){if($e){At+=pe;continue}break}if(At===le)oe[pe>0?"moveTo":"lineTo"](hn,vn),Fe=hn,Ue=vn;else{var _n=hn-Ie,bn=vn-Ve;if(_n*_n+bn*bn<.5){At+=pe;continue}if(he>0){for(var Sn=At+pe,Cn=ie[Sn*2],En=ie[Sn*2+1];Cn===hn&&En===vn&&Lt<ue;)Lt++,Sn+=pe,At+=pe,Cn=ie[Sn*2],En=ie[Sn*2+1],hn=ie[At*2],vn=ie[At*2+1],_n=hn-Ie,bn=vn-Ve;var wn=Lt+1;if($e)for(;isPointNull$1(Cn,En)&&wn<ue;)wn++,Sn+=pe,Cn=ie[Sn*2],En=ie[Sn*2+1];var xn=.5,kn=0,Pn=0,An=void 0,In=void 0;if(wn>=ue||isPointNull$1(Cn,En))qe=hn,Et=vn;else{kn=Cn-Ie,Pn=En-Ve;var Nn=hn-Ie,Un=Cn-hn,Vn=vn-Ve,Mn=En-vn,Fn=void 0,Ln=void 0;if(_e==="x"){Fn=Math.abs(Nn),Ln=Math.abs(Un);var jn=kn>0?1:-1;qe=hn-jn*Fn*he,Et=vn,An=hn+jn*Ln*he,In=vn}else if(_e==="y"){Fn=Math.abs(Vn),Ln=Math.abs(Mn);var Zn=Pn>0?1:-1;qe=hn,Et=vn-Zn*Fn*he,An=hn,In=vn+Zn*Ln*he}else Fn=Math.sqrt(Nn*Nn+Vn*Vn),Ln=Math.sqrt(Un*Un+Mn*Mn),xn=Ln/(Ln+Fn),qe=hn-kn*he*(1-xn),Et=vn-Pn*he*(1-xn),An=hn+kn*he*xn,In=vn+Pn*he*xn,An=mathMin$3(An,mathMax$3(Cn,hn)),In=mathMin$3(In,mathMax$3(En,vn)),An=mathMax$3(An,mathMin$3(Cn,hn)),In=mathMax$3(In,mathMin$3(En,vn)),kn=An-hn,Pn=In-vn,qe=hn-kn*Fn/Ln,Et=vn-Pn*Fn/Ln,qe=mathMin$3(qe,mathMax$3(Ie,hn)),Et=mathMin$3(Et,mathMax$3(Ve,vn)),qe=mathMax$3(qe,mathMin$3(Ie,hn)),Et=mathMax$3(Et,mathMin$3(Ve,vn)),kn=hn-qe,Pn=vn-Et,An=hn+kn*Ln/Fn,In=vn+Pn*Ln/Fn}oe.bezierCurveTo(Fe,Ue,qe,Et,hn,vn),Fe=An,Ue=In}else oe.lineTo(hn,vn)}Ie=hn,Ve=vn,At+=pe}return Lt}var ECPolylineShape=function(){function oe(){this.smooth=0,this.smoothConstraint=!0}return oe}(),ECPolyline=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;return ue.type="ec-polyline",ue}return ie.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},ie.prototype.getDefaultShape=function(){return new ECPolylineShape},ie.prototype.buildPath=function(le,ue){var de=ue.points,pe=0,he=de.length/2;if(ue.connectNulls){for(;he>0&&isPointNull$1(de[he*2-2],de[he*2-1]);he--);for(;pe<he&&isPointNull$1(de[pe*2],de[pe*2+1]);pe++);}for(;pe<he;)pe+=drawSegment(le,de,pe,he,he,1,ue.smooth,ue.smoothMonotone,ue.connectNulls)+1},ie.prototype.getPointOn=function(le,ue){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var de=this.path,pe=de.data,he=PathProxy$1.CMD,_e,$e,Ie=ue==="x",Ve=[],Fe=0;Fe<pe.length;){var Ue=pe[Fe++],qe=void 0,Et=void 0,At=void 0,Lt=void 0,hn=void 0,vn=void 0,_n=void 0;switch(Ue){case he.M:_e=pe[Fe++],$e=pe[Fe++];break;case he.L:if(qe=pe[Fe++],Et=pe[Fe++],_n=Ie?(le-_e)/(qe-_e):(le-$e)/(Et-$e),_n<=1&&_n>=0){var bn=Ie?(Et-$e)*_n+$e:(qe-_e)*_n+_e;return Ie?[le,bn]:[bn,le]}_e=qe,$e=Et;break;case he.C:qe=pe[Fe++],Et=pe[Fe++],At=pe[Fe++],Lt=pe[Fe++],hn=pe[Fe++],vn=pe[Fe++];var Sn=Ie?cubicRootAt(_e,qe,At,hn,le,Ve):cubicRootAt($e,Et,Lt,vn,le,Ve);if(Sn>0)for(var Cn=0;Cn<Sn;Cn++){var En=Ve[Cn];if(En<=1&&En>=0){var bn=Ie?cubicAt($e,Et,Lt,vn,En):cubicAt(_e,qe,At,hn,En);return Ie?[le,bn]:[bn,le]}}_e=hn,$e=vn;break}}},ie}(Path$1),ECPolygonShape=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie}(ECPolylineShape),ECPolygon=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;return ue.type="ec-polygon",ue}return ie.prototype.getDefaultShape=function(){return new ECPolygonShape},ie.prototype.buildPath=function(le,ue){var de=ue.points,pe=ue.stackedOnPoints,he=0,_e=de.length/2,$e=ue.smoothMonotone;if(ue.connectNulls){for(;_e>0&&isPointNull$1(de[_e*2-2],de[_e*2-1]);_e--);for(;he<_e&&isPointNull$1(de[he*2],de[he*2+1]);he++);}for(;he<_e;){var Ie=drawSegment(le,de,he,_e,_e,1,ue.smooth,$e,ue.connectNulls);drawSegment(le,pe,he+Ie-1,Ie,_e,-1,ue.stackedOnSmooth,$e,ue.connectNulls),he+=Ie+1,le.closePath()}},ie}(Path$1);function createGridClipPath(oe,ie,le,ue,de){var pe=oe.getArea(),he=pe.x,_e=pe.y,$e=pe.width,Ie=pe.height,Ve=le.get(["lineStyle","width"])||2;he-=Ve/2,_e-=Ve/2,$e+=Ve,Ie+=Ve,he=Math.floor(he),$e=Math.round($e);var Fe=new Rect$2({shape:{x:he,y:_e,width:$e,height:Ie}});if(ie){var Ue=oe.getBaseAxis(),qe=Ue.isHorizontal(),Et=Ue.inverse;qe?(Et&&(Fe.shape.x+=$e),Fe.shape.width=0):(Et||(Fe.shape.y+=Ie),Fe.shape.height=0);var At=isFunction(de)?function(Lt){de(Lt,Fe)}:null;initProps(Fe,{shape:{width:$e,height:Ie,x:he,y:_e}},le,null,ue,At)}return Fe}function createPolarClipPath(oe,ie,le){var ue=oe.getArea(),de=round$1(ue.r0,1),pe=round$1(ue.r,1),he=new Sector$1({shape:{cx:round$1(oe.cx,1),cy:round$1(oe.cy,1),r0:de,r:pe,startAngle:ue.startAngle,endAngle:ue.endAngle,clockwise:ue.clockwise}});if(ie){var _e=oe.getBaseAxis().dim==="angle";_e?he.shape.endAngle=ue.startAngle:he.shape.r=de,initProps(he,{shape:{endAngle:ue.endAngle,r:pe}},le)}return he}function createClipPath(oe,ie,le,ue,de){if(oe){if(oe.type==="polar")return createPolarClipPath(oe,ie,le);if(oe.type==="cartesian2d")return createGridClipPath(oe,ie,le,ue,de)}else return null;return null}function isCoordinateSystemType(oe,ie){return oe.type===ie}function isPointsSame(oe,ie){if(oe.length===ie.length){for(var le=0;le<oe.length;le++)if(oe[le]!==ie[le])return;return!0}}function bboxFromPoints(oe){for(var ie=1/0,le=1/0,ue=-1/0,de=-1/0,pe=0;pe<oe.length;){var he=oe[pe++],_e=oe[pe++];isNaN(he)||(ie=Math.min(he,ie),ue=Math.max(he,ue)),isNaN(_e)||(le=Math.min(_e,le),de=Math.max(_e,de))}return[[ie,le],[ue,de]]}function getBoundingDiff(oe,ie){var le=bboxFromPoints(oe),ue=le[0],de=le[1],pe=bboxFromPoints(ie),he=pe[0],_e=pe[1];return Math.max(Math.abs(ue[0]-he[0]),Math.abs(ue[1]-he[1]),Math.abs(de[0]-_e[0]),Math.abs(de[1]-_e[1]))}function getSmooth(oe){return isNumber(oe)?oe:oe?.5:0}function getStackedOnPoints(oe,ie,le){if(!le.valueDim)return[];for(var ue=ie.count(),de=createFloat32Array(ue*2),pe=0;pe<ue;pe++){var he=getStackedOnPoint(le,oe,ie,pe);de[pe*2]=he[0],de[pe*2+1]=he[1]}return de}function turnPointsIntoStep(oe,ie,le,ue){var de=ie.getBaseAxis(),pe=de.dim==="x"||de.dim==="radius"?0:1,he=[],_e=0,$e=[],Ie=[],Ve=[],Fe=[];if(ue){for(_e=0;_e<oe.length;_e+=2)!isNaN(oe[_e])&&!isNaN(oe[_e+1])&&Fe.push(oe[_e],oe[_e+1]);oe=Fe}for(_e=0;_e<oe.length-2;_e+=2)switch(Ve[0]=oe[_e+2],Ve[1]=oe[_e+3],Ie[0]=oe[_e],Ie[1]=oe[_e+1],he.push(Ie[0],Ie[1]),le){case"end":$e[pe]=Ve[pe],$e[1-pe]=Ie[1-pe],he.push($e[0],$e[1]);break;case"middle":var Ue=(Ie[pe]+Ve[pe])/2,qe=[];$e[pe]=qe[pe]=Ue,$e[1-pe]=Ie[1-pe],qe[1-pe]=Ve[1-pe],he.push($e[0],$e[1]),he.push(qe[0],qe[1]);break;default:$e[pe]=Ie[pe],$e[1-pe]=Ve[1-pe],he.push($e[0],$e[1])}return he.push(oe[_e++],oe[_e++]),he}function clipColorStops(oe,ie){var le=[],ue=oe.length,de,pe;function he(Ve,Fe,Ue){var qe=Ve.coord,Et=(Ue-qe)/(Fe.coord-qe),At=lerp(Et,[Ve.color,Fe.color]);return{coord:Ue,color:At}}for(var _e=0;_e<ue;_e++){var $e=oe[_e],Ie=$e.coord;if(Ie<0)de=$e;else if(Ie>ie){pe?le.push(he(pe,$e,ie)):de&&le.push(he(de,$e,0),he(de,$e,ie));break}else de&&(le.push(he(de,$e,0)),de=null),le.push($e),pe=$e}return le}function getVisualGradient(oe,ie,le){var ue=oe.getVisual("visualMeta");if(!(!ue||!ue.length||!oe.count())&&ie.type==="cartesian2d"){for(var de,pe,he=ue.length-1;he>=0;he--){var _e=oe.getDimensionInfo(ue[he].dimension);if(de=_e&&_e.coordDim,de==="x"||de==="y"){pe=ue[he];break}}if(pe){var $e=ie.getAxis(de),Ie=map$2(pe.stops,function(_n){return{coord:$e.toGlobalCoord($e.dataToCoord(_n.value)),color:_n.color}}),Ve=Ie.length,Fe=pe.outerColors.slice();Ve&&Ie[0].coord>Ie[Ve-1].coord&&(Ie.reverse(),Fe.reverse());var Ue=clipColorStops(Ie,de==="x"?le.getWidth():le.getHeight()),qe=Ue.length;if(!qe&&Ve)return Ie[0].coord<0?Fe[1]?Fe[1]:Ie[Ve-1].color:Fe[0]?Fe[0]:Ie[0].color;var Et=10,At=Ue[0].coord-Et,Lt=Ue[qe-1].coord+Et,hn=Lt-At;if(hn<.001)return"transparent";each$c(Ue,function(_n){_n.offset=(_n.coord-At)/hn}),Ue.push({offset:qe?Ue[qe-1].offset:.5,color:Fe[1]||"transparent"}),Ue.unshift({offset:qe?Ue[0].offset:.5,color:Fe[0]||"transparent"});var vn=new LinearGradient$1(0,0,0,0,Ue,!0);return vn[de]=At,vn[de+"2"]=Lt,vn}}}function getIsIgnoreFunc(oe,ie,le){var ue=oe.get("showAllSymbol"),de=ue==="auto";if(!(ue&&!de)){var pe=le.getAxesByScale("ordinal")[0];if(pe&&!(de&&canShowAllSymbolForCategory(pe,ie))){var he=ie.mapDimension(pe.dim),_e={};return each$c(pe.getViewLabels(),function($e){var Ie=pe.scale.getRawOrdinalNumber($e.tickValue);_e[Ie]=1}),function($e){return!_e.hasOwnProperty(ie.get(he,$e))}}}}function canShowAllSymbolForCategory(oe,ie){var le=oe.getExtent(),ue=Math.abs(le[1]-le[0])/oe.scale.count();isNaN(ue)&&(ue=0);for(var de=ie.count(),pe=Math.max(1,Math.round(de/5)),he=0;he<de;he+=pe)if(SymbolClz.getSymbolSize(ie,he)[oe.isHorizontal()?1:0]*1.5>ue)return!1;return!0}function isPointNull(oe,ie){return isNaN(oe)||isNaN(ie)}function getLastIndexNotNull(oe){for(var ie=oe.length/2;ie>0&&isPointNull(oe[ie*2-2],oe[ie*2-1]);ie--);return ie-1}function getPointAtIndex(oe,ie){return[oe[ie*2],oe[ie*2+1]]}function getIndexRange(oe,ie,le){for(var ue=oe.length/2,de=le==="x"?0:1,pe,he,_e=0,$e=-1,Ie=0;Ie<ue;Ie++)if(he=oe[Ie*2+de],!(isNaN(he)||isNaN(oe[Ie*2+1-de]))){if(Ie===0){pe=he;continue}if(pe<=ie&&he>=ie||pe>=ie&&he<=ie){$e=Ie;break}_e=Ie,pe=he}return{range:[_e,$e],t:(ie-pe)/(he-pe)}}function anyStateShowEndLabel(oe){if(oe.get(["endLabel","show"]))return!0;for(var ie=0;ie<SPECIAL_STATES.length;ie++)if(oe.get([SPECIAL_STATES[ie],"endLabel","show"]))return!0;return!1}function createLineClipPath(oe,ie,le,ue){if(isCoordinateSystemType(ie,"cartesian2d")){var de=ue.getModel("endLabel"),pe=de.get("valueAnimation"),he=ue.getData(),_e={lastFrameIndex:0},$e=anyStateShowEndLabel(ue)?function(qe,Et){oe._endLabelOnDuring(qe,Et,he,_e,pe,de,ie)}:null,Ie=ie.getBaseAxis().isHorizontal(),Ve=createGridClipPath(ie,le,ue,function(){var qe=oe._endLabel;qe&&le&&_e.originalX!=null&&qe.attr({x:_e.originalX,y:_e.originalY})},$e);if(!ue.get("clip",!0)){var Fe=Ve.shape,Ue=Math.max(Fe.width,Fe.height);Ie?(Fe.y-=Ue,Fe.height+=Ue*2):(Fe.x-=Ue,Fe.width+=Ue*2)}return $e&&$e(1,Ve),Ve}else return createPolarClipPath(ie,le,ue)}function getEndLabelStateSpecified(oe,ie){var le=ie.getBaseAxis(),ue=le.isHorizontal(),de=le.inverse,pe=ue?de?"right":"left":"center",he=ue?"middle":de?"top":"bottom";return{normal:{align:oe.get("align")||pe,verticalAlign:oe.get("verticalAlign")||he}}}var LineView=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.init=function(){var le=new Group$3,ue=new SymbolDraw$1;this.group.add(ue.group),this._symbolDraw=ue,this._lineGroup=le},ie.prototype.render=function(le,ue,de){var pe=this,he=le.coordinateSystem,_e=this.group,$e=le.getData(),Ie=le.getModel("lineStyle"),Ve=le.getModel("areaStyle"),Fe=$e.getLayout("points")||[],Ue=he.type==="polar",qe=this._coordSys,Et=this._symbolDraw,At=this._polyline,Lt=this._polygon,hn=this._lineGroup,vn=!ue.ssr&&le.isAnimationEnabled(),_n=!Ve.isEmpty(),bn=Ve.get("origin"),Sn=prepareDataCoordInfo(he,$e,bn),Cn=_n&&getStackedOnPoints(he,$e,Sn),En=le.get("showSymbol"),wn=le.get("connectNulls"),xn=En&&!Ue&&getIsIgnoreFunc(le,$e,he),kn=this._data;kn&&kn.eachItemGraphicEl(function(ir,qn){ir.__temp&&(_e.remove(ir),kn.setItemGraphicEl(qn,null))}),En||Et.remove(),_e.add(hn);var Pn=Ue?!1:le.get("step"),An;he&&he.getArea&&le.get("clip",!0)&&(An=he.getArea(),An.width!=null?(An.x-=.1,An.y-=.1,An.width+=.2,An.height+=.2):An.r0&&(An.r0-=.5,An.r+=.5)),this._clipShapeForSymbol=An;var In=getVisualGradient($e,he,de)||$e.getVisual("style")[$e.getVisual("drawType")];if(!(At&&qe.type===he.type&&Pn===this._step))En&&Et.updateData($e,{isIgnore:xn,clipShape:An,disableAnimation:!0,getSymbolPoint:function(ir){return[Fe[ir*2],Fe[ir*2+1]]}}),vn&&this._initSymbolLabelAnimation($e,he,An),Pn&&(Fe=turnPointsIntoStep(Fe,he,Pn,wn),Cn&&(Cn=turnPointsIntoStep(Cn,he,Pn,wn))),At=this._newPolyline(Fe),_n?Lt=this._newPolygon(Fe,Cn):Lt&&(hn.remove(Lt),Lt=this._polygon=null),Ue||this._initOrUpdateEndLabel(le,he,convertToColorString(In)),hn.setClipPath(createLineClipPath(this,he,!0,le));else{_n&&!Lt?Lt=this._newPolygon(Fe,Cn):Lt&&!_n&&(hn.remove(Lt),Lt=this._polygon=null),Ue||this._initOrUpdateEndLabel(le,he,convertToColorString(In));var Nn=hn.getClipPath();if(Nn){var Un=createLineClipPath(this,he,!1,le);initProps(Nn,{shape:Un.shape},le)}else hn.setClipPath(createLineClipPath(this,he,!0,le));En&&Et.updateData($e,{isIgnore:xn,clipShape:An,disableAnimation:!0,getSymbolPoint:function(ir){return[Fe[ir*2],Fe[ir*2+1]]}}),(!isPointsSame(this._stackedOnPoints,Cn)||!isPointsSame(this._points,Fe))&&(vn?this._doUpdateAnimation($e,Cn,he,de,Pn,bn,wn):(Pn&&(Fe=turnPointsIntoStep(Fe,he,Pn,wn),Cn&&(Cn=turnPointsIntoStep(Cn,he,Pn,wn))),At.setShape({points:Fe}),Lt&&Lt.setShape({points:Fe,stackedOnPoints:Cn})))}var Vn=le.getModel("emphasis"),Mn=Vn.get("focus"),Fn=Vn.get("blurScope"),Ln=Vn.get("disabled");if(At.useStyle(defaults(Ie.getLineStyle(),{fill:"none",stroke:In,lineJoin:"bevel"})),setStatesStylesFromModel(At,le,"lineStyle"),At.style.lineWidth>0&&le.get(["emphasis","lineStyle","width"])==="bolder"){var jn=At.getState("emphasis").style;jn.lineWidth=+At.style.lineWidth+1}getECData(At).seriesIndex=le.seriesIndex,toggleHoverEmphasis(At,Mn,Fn,Ln);var Zn=getSmooth(le.get("smooth")),Gn=le.get("smoothMonotone");if(At.setShape({smooth:Zn,smoothMonotone:Gn,connectNulls:wn}),Lt){var Jn=$e.getCalculationInfo("stackedOnSeries"),lr=0;Lt.useStyle(defaults(Ve.getAreaStyle(),{fill:In,opacity:.7,lineJoin:"bevel",decal:$e.getVisual("style").decal})),Jn&&(lr=getSmooth(Jn.get("smooth"))),Lt.setShape({smooth:Zn,stackedOnSmooth:lr,smoothMonotone:Gn,connectNulls:wn}),setStatesStylesFromModel(Lt,le,"areaStyle"),getECData(Lt).seriesIndex=le.seriesIndex,toggleHoverEmphasis(Lt,Mn,Fn,Ln)}var yr=function(ir){pe._changePolyState(ir)};$e.eachItemGraphicEl(function(ir){ir&&(ir.onHoverStateChange=yr)}),this._polyline.onHoverStateChange=yr,this._data=$e,this._coordSys=he,this._stackedOnPoints=Cn,this._points=Fe,this._step=Pn,this._valueOrigin=bn,le.get("triggerLineEvent")&&(this.packEventData(le,At),Lt&&this.packEventData(le,Lt))},ie.prototype.packEventData=function(le,ue){getECData(ue).eventData={componentType:"series",componentSubType:"line",componentIndex:le.componentIndex,seriesIndex:le.seriesIndex,seriesName:le.name,seriesType:"line"}},ie.prototype.highlight=function(le,ue,de,pe){var he=le.getData(),_e=queryDataIndex(he,pe);if(this._changePolyState("emphasis"),!(_e instanceof Array)&&_e!=null&&_e>=0){var $e=he.getLayout("points"),Ie=he.getItemGraphicEl(_e);if(!Ie){var Ve=$e[_e*2],Fe=$e[_e*2+1];if(isNaN(Ve)||isNaN(Fe)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(Ve,Fe))return;var Ue=le.get("zlevel")||0,qe=le.get("z")||0;Ie=new SymbolClz(he,_e),Ie.x=Ve,Ie.y=Fe,Ie.setZ(Ue,qe);var Et=Ie.getSymbolPath().getTextContent();Et&&(Et.zlevel=Ue,Et.z=qe,Et.z2=this._polyline.z2+1),Ie.__temp=!0,he.setItemGraphicEl(_e,Ie),Ie.stopSymbolAnimation(!0),this.group.add(Ie)}Ie.highlight()}else ChartView$1.prototype.highlight.call(this,le,ue,de,pe)},ie.prototype.downplay=function(le,ue,de,pe){var he=le.getData(),_e=queryDataIndex(he,pe);if(this._changePolyState("normal"),_e!=null&&_e>=0){var $e=he.getItemGraphicEl(_e);$e&&($e.__temp?(he.setItemGraphicEl(_e,null),this.group.remove($e)):$e.downplay())}else ChartView$1.prototype.downplay.call(this,le,ue,de,pe)},ie.prototype._changePolyState=function(le){var ue=this._polygon;setStatesFlag(this._polyline,le),ue&&setStatesFlag(ue,le)},ie.prototype._newPolyline=function(le){var ue=this._polyline;return ue&&this._lineGroup.remove(ue),ue=new ECPolyline({shape:{points:le},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(ue),this._polyline=ue,ue},ie.prototype._newPolygon=function(le,ue){var de=this._polygon;return de&&this._lineGroup.remove(de),de=new ECPolygon({shape:{points:le,stackedOnPoints:ue},segmentIgnoreThreshold:2}),this._lineGroup.add(de),this._polygon=de,de},ie.prototype._initSymbolLabelAnimation=function(le,ue,de){var pe,he,_e=ue.getBaseAxis(),$e=_e.inverse;ue.type==="cartesian2d"?(pe=_e.isHorizontal(),he=!1):ue.type==="polar"&&(pe=_e.dim==="angle",he=!0);var Ie=le.hostModel,Ve=Ie.get("animationDuration");isFunction(Ve)&&(Ve=Ve(null));var Fe=Ie.get("animationDelay")||0,Ue=isFunction(Fe)?Fe(null):Fe;le.eachItemGraphicEl(function(qe,Et){var At=qe;if(At){var Lt=[qe.x,qe.y],hn=void 0,vn=void 0,_n=void 0;if(de)if(he){var bn=de,Sn=ue.pointToCoord(Lt);pe?(hn=bn.startAngle,vn=bn.endAngle,_n=-Sn[1]/180*Math.PI):(hn=bn.r0,vn=bn.r,_n=Sn[0])}else{var Cn=de;pe?(hn=Cn.x,vn=Cn.x+Cn.width,_n=qe.x):(hn=Cn.y+Cn.height,vn=Cn.y,_n=qe.y)}var En=vn===hn?0:(_n-hn)/(vn-hn);$e&&(En=1-En);var wn=isFunction(Fe)?Fe(Et):Ve*En+Ue,xn=At.getSymbolPath(),kn=xn.getTextContent();At.attr({scaleX:0,scaleY:0}),At.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:wn}),kn&&kn.animateFrom({style:{opacity:0}},{duration:300,delay:wn}),xn.disableLabelAnimation=!0}})},ie.prototype._initOrUpdateEndLabel=function(le,ue,de){var pe=le.getModel("endLabel");if(anyStateShowEndLabel(le)){var he=le.getData(),_e=this._polyline,$e=he.getLayout("points");if(!$e){_e.removeTextContent(),this._endLabel=null;return}var Ie=this._endLabel;Ie||(Ie=this._endLabel=new ZRText$1({z2:200}),Ie.ignoreClip=!0,_e.setTextContent(this._endLabel),_e.disableLabelAnimation=!0);var Ve=getLastIndexNotNull($e);Ve>=0&&(setLabelStyle(_e,getLabelStatesModels(le,"endLabel"),{inheritColor:de,labelFetcher:le,labelDataIndex:Ve,defaultText:function(Fe,Ue,qe){return qe!=null?getDefaultInterpolatedLabel(he,qe):getDefaultLabel(he,Fe)},enableTextSetter:!0},getEndLabelStateSpecified(pe,ue)),_e.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},ie.prototype._endLabelOnDuring=function(le,ue,de,pe,he,_e,$e){var Ie=this._endLabel,Ve=this._polyline;if(Ie){le<1&&pe.originalX==null&&(pe.originalX=Ie.x,pe.originalY=Ie.y);var Fe=de.getLayout("points"),Ue=de.hostModel,qe=Ue.get("connectNulls"),Et=_e.get("precision"),At=_e.get("distance")||0,Lt=$e.getBaseAxis(),hn=Lt.isHorizontal(),vn=Lt.inverse,_n=ue.shape,bn=vn?hn?_n.x:_n.y+_n.height:hn?_n.x+_n.width:_n.y,Sn=(hn?At:0)*(vn?-1:1),Cn=(hn?0:-At)*(vn?-1:1),En=hn?"x":"y",wn=getIndexRange(Fe,bn,En),xn=wn.range,kn=xn[1]-xn[0],Pn=void 0;if(kn>=1){if(kn>1&&!qe){var An=getPointAtIndex(Fe,xn[0]);Ie.attr({x:An[0]+Sn,y:An[1]+Cn}),he&&(Pn=Ue.getRawValue(xn[0]))}else{var An=Ve.getPointOn(bn,En);An&&Ie.attr({x:An[0]+Sn,y:An[1]+Cn});var In=Ue.getRawValue(xn[0]),Nn=Ue.getRawValue(xn[1]);he&&(Pn=interpolateRawValues(de,Et,In,Nn,wn.t))}pe.lastFrameIndex=xn[0]}else{var Un=le===1||pe.lastFrameIndex>0?xn[0]:0,An=getPointAtIndex(Fe,Un);he&&(Pn=Ue.getRawValue(Un)),Ie.attr({x:An[0]+Sn,y:An[1]+Cn})}he&&labelInner(Ie).setLabelText(Pn)}},ie.prototype._doUpdateAnimation=function(le,ue,de,pe,he,_e,$e){var Ie=this._polyline,Ve=this._polygon,Fe=le.hostModel,Ue=lineAnimationDiff(this._data,le,this._stackedOnPoints,ue,this._coordSys,de,this._valueOrigin),qe=Ue.current,Et=Ue.stackedOnCurrent,At=Ue.next,Lt=Ue.stackedOnNext;if(he&&(qe=turnPointsIntoStep(Ue.current,de,he,$e),Et=turnPointsIntoStep(Ue.stackedOnCurrent,de,he,$e),At=turnPointsIntoStep(Ue.next,de,he,$e),Lt=turnPointsIntoStep(Ue.stackedOnNext,de,he,$e)),getBoundingDiff(qe,At)>3e3||Ve&&getBoundingDiff(Et,Lt)>3e3){Ie.stopAnimation(),Ie.setShape({points:At}),Ve&&(Ve.stopAnimation(),Ve.setShape({points:At,stackedOnPoints:Lt}));return}Ie.shape.__points=Ue.current,Ie.shape.points=qe;var hn={shape:{points:At}};Ue.current!==qe&&(hn.shape.__points=Ue.next),Ie.stopAnimation(),updateProps$1(Ie,hn,Fe),Ve&&(Ve.setShape({points:qe,stackedOnPoints:Et}),Ve.stopAnimation(),updateProps$1(Ve,{shape:{stackedOnPoints:Lt}},Fe),Ie.shape.points!==Ve.shape.points&&(Ve.shape.points=Ie.shape.points));for(var vn=[],_n=Ue.status,bn=0;bn<_n.length;bn++){var Sn=_n[bn].cmd;if(Sn==="="){var Cn=le.getItemGraphicEl(_n[bn].idx1);Cn&&vn.push({el:Cn,ptIdx:bn})}}Ie.animators&&Ie.animators.length&&Ie.animators[0].during(function(){Ve&&Ve.dirtyShape();for(var En=Ie.shape.__points,wn=0;wn<vn.length;wn++){var xn=vn[wn].el,kn=vn[wn].ptIdx*2;xn.x=En[kn],xn.y=En[kn+1],xn.markRedraw()}})},ie.prototype.remove=function(le){var ue=this.group,de=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),de&&de.eachItemGraphicEl(function(pe,he){pe.__temp&&(ue.remove(pe),de.setItemGraphicEl(he,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},ie.type="line",ie}(ChartView$1);const LineView$1=LineView;function pointsLayout(oe,ie){return{seriesType:oe,plan:createRenderPlanner(),reset:function(le){var ue=le.getData(),de=le.coordinateSystem,pe=le.pipelineContext,he=ie||pe.large;if(de){var _e=map$2(de.dimensions,function(qe){return ue.mapDimension(qe)}).slice(0,2),$e=_e.length,Ie=ue.getCalculationInfo("stackResultDimension");isDimensionStacked(ue,_e[0])&&(_e[0]=Ie),isDimensionStacked(ue,_e[1])&&(_e[1]=Ie);var Ve=ue.getStore(),Fe=ue.getDimensionIndex(_e[0]),Ue=ue.getDimensionIndex(_e[1]);return $e&&{progress:function(qe,Et){for(var At=qe.end-qe.start,Lt=he&&createFloat32Array(At*$e),hn=[],vn=[],_n=qe.start,bn=0;_n<qe.end;_n++){var Sn=void 0;if($e===1){var Cn=Ve.get(Fe,_n);Sn=de.dataToPoint(Cn,null,vn)}else hn[0]=Ve.get(Fe,_n),hn[1]=Ve.get(Ue,_n),Sn=de.dataToPoint(hn,null,vn);he?(Lt[bn++]=Sn[0],Lt[bn++]=Sn[1]):Et.setItemLayout(_n,Sn.slice())}he&&Et.setLayout("points",Lt)}}}}}}var samplers={average:function(oe){for(var ie=0,le=0,ue=0;ue<oe.length;ue++)isNaN(oe[ue])||(ie+=oe[ue],le++);return le===0?NaN:ie/le},sum:function(oe){for(var ie=0,le=0;le<oe.length;le++)ie+=oe[le]||0;return ie},max:function(oe){for(var ie=-1/0,le=0;le<oe.length;le++)oe[le]>ie&&(ie=oe[le]);return isFinite(ie)?ie:NaN},min:function(oe){for(var ie=1/0,le=0;le<oe.length;le++)oe[le]<ie&&(ie=oe[le]);return isFinite(ie)?ie:NaN},nearest:function(oe){return oe[0]}},indexSampler=function(oe){return Math.round(oe.length/2)};function dataSample(oe){return{seriesType:oe,reset:function(ie,le,ue){var de=ie.getData(),pe=ie.get("sampling"),he=ie.coordinateSystem,_e=de.count();if(_e>10&&he.type==="cartesian2d"&&pe){var $e=he.getBaseAxis(),Ie=he.getOtherAxis($e),Ve=$e.getExtent(),Fe=ue.getDevicePixelRatio(),Ue=Math.abs(Ve[1]-Ve[0])*(Fe||1),qe=Math.round(_e/Ue);if(isFinite(qe)&&qe>1){pe==="lttb"&&ie.setData(de.lttbDownSample(de.mapDimension(Ie.dim),1/qe));var Et=void 0;isString(pe)?Et=samplers[pe]:isFunction(pe)&&(Et=pe),Et&&ie.setData(de.downSample(de.mapDimension(Ie.dim),1/qe,Et,indexSampler))}}}}}function install$j(oe){oe.registerChartView(LineView$1),oe.registerSeriesModel(LineSeries),oe.registerLayout(pointsLayout("line",!0)),oe.registerVisual({seriesType:"line",reset:function(ie){var le=ie.getData(),ue=ie.getModel("lineStyle").getLineStyle();ue&&!ue.stroke&&(ue.stroke=le.getVisual("style").fill),le.setVisual("legendLineStyle",ue)}}),oe.registerProcessor(oe.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.getInitialData=function(le,ue){return createSeriesData(null,this,{useEncodeDefaulter:!0})},ie.prototype.getMarkerPosition=function(le,ue,de){var pe=this.coordinateSystem;if(pe&&pe.clampData){var he=pe.clampData(le),_e=pe.dataToPoint(he);if(de)each$c(pe.getAxes(),function(Ue,qe){if(Ue.type==="category"&&ue!=null){var Et=Ue.getTicksCoords(),At=he[qe],Lt=ue[qe]==="x1"||ue[qe]==="y1";if(Lt&&(At+=1),Et.length<2)return;if(Et.length===2){_e[qe]=Ue.toGlobalCoord(Ue.getExtent()[Lt?1:0]);return}for(var hn=void 0,vn=void 0,_n=1,bn=0;bn<Et.length;bn++){var Sn=Et[bn].coord,Cn=bn===Et.length-1?Et[bn-1].tickValue+_n:Et[bn].tickValue;if(Cn===At){vn=Sn;break}else if(Cn<At)hn=Sn;else if(hn!=null&&Cn>At){vn=(Sn+hn)/2;break}bn===1&&(_n=Cn-Et[0].tickValue)}vn==null&&(hn?hn&&(vn=Et[Et.length-1].coord):vn=Et[0].coord),_e[qe]=Ue.toGlobalCoord(vn)}});else{var $e=this.getData(),Ie=$e.getLayout("offset"),Ve=$e.getLayout("size"),Fe=pe.getBaseAxis().isHorizontal()?0:1;_e[Fe]+=Ie+Ve/2}return _e}return[NaN,NaN]},ie.type="series.__base_bar__",ie.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},ie}(SeriesModel$1);SeriesModel$1.registerClass(BaseBarSeriesModel);const BaseBarSeriesModel$1=BaseBarSeriesModel;var BarSeriesModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},ie.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},ie.prototype.getProgressiveThreshold=function(){var le=this.get("progressiveThreshold"),ue=this.get("largeThreshold");return ue>le&&(le=ue),le},ie.prototype.brushSelector=function(le,ue,de){return de.rect(ue.getItemLayout(le))},ie.type="series.bar",ie.dependencies=["grid","polar"],ie.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),ie}(BaseBarSeriesModel$1);const BarSeries=BarSeriesModel;var SausageShape=function(){function oe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return oe}(),SausagePath=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;return ue.type="sausage",ue}return ie.prototype.getDefaultShape=function(){return new SausageShape},ie.prototype.buildPath=function(le,ue){var de=ue.cx,pe=ue.cy,he=Math.max(ue.r0||0,0),_e=Math.max(ue.r,0),$e=(_e-he)*.5,Ie=he+$e,Ve=ue.startAngle,Fe=ue.endAngle,Ue=ue.clockwise,qe=Math.PI*2,Et=Ue?Fe-Ve<qe:Ve-Fe<qe;Et||(Ve=Fe-(Ue?qe:-qe));var At=Math.cos(Ve),Lt=Math.sin(Ve),hn=Math.cos(Fe),vn=Math.sin(Fe);Et?(le.moveTo(At*he+de,Lt*he+pe),le.arc(At*Ie+de,Lt*Ie+pe,$e,-Math.PI+Ve,Ve,!Ue)):le.moveTo(At*_e+de,Lt*_e+pe),le.arc(de,pe,_e,Ve,Fe,!Ue),le.arc(hn*Ie+de,vn*Ie+pe,$e,Fe-Math.PI*2,Fe-Math.PI,!Ue),he!==0&&le.arc(de,pe,he,Fe,Ve,Ue)},ie}(Path$1);const Sausage=SausagePath;function createSectorCalculateTextPosition(oe,ie){ie=ie||{};var le=ie.isRoundCap;return function(ue,de,pe){var he=de.position;if(!he||he instanceof Array)return calculateTextPosition(ue,de,pe);var _e=oe(he),$e=de.distance!=null?de.distance:5,Ie=this.shape,Ve=Ie.cx,Fe=Ie.cy,Ue=Ie.r,qe=Ie.r0,Et=(Ue+qe)/2,At=Ie.startAngle,Lt=Ie.endAngle,hn=(At+Lt)/2,vn=le?Math.abs(Ue-qe)/2:0,_n=Math.cos,bn=Math.sin,Sn=Ve+Ue*_n(At),Cn=Fe+Ue*bn(At),En="left",wn="top";switch(_e){case"startArc":Sn=Ve+(qe-$e)*_n(hn),Cn=Fe+(qe-$e)*bn(hn),En="center",wn="top";break;case"insideStartArc":Sn=Ve+(qe+$e)*_n(hn),Cn=Fe+(qe+$e)*bn(hn),En="center",wn="bottom";break;case"startAngle":Sn=Ve+Et*_n(At)+adjustAngleDistanceX(At,$e+vn,!1),Cn=Fe+Et*bn(At)+adjustAngleDistanceY(At,$e+vn,!1),En="right",wn="middle";break;case"insideStartAngle":Sn=Ve+Et*_n(At)+adjustAngleDistanceX(At,-$e+vn,!1),Cn=Fe+Et*bn(At)+adjustAngleDistanceY(At,-$e+vn,!1),En="left",wn="middle";break;case"middle":Sn=Ve+Et*_n(hn),Cn=Fe+Et*bn(hn),En="center",wn="middle";break;case"endArc":Sn=Ve+(Ue+$e)*_n(hn),Cn=Fe+(Ue+$e)*bn(hn),En="center",wn="bottom";break;case"insideEndArc":Sn=Ve+(Ue-$e)*_n(hn),Cn=Fe+(Ue-$e)*bn(hn),En="center",wn="top";break;case"endAngle":Sn=Ve+Et*_n(Lt)+adjustAngleDistanceX(Lt,$e+vn,!0),Cn=Fe+Et*bn(Lt)+adjustAngleDistanceY(Lt,$e+vn,!0),En="left",wn="middle";break;case"insideEndAngle":Sn=Ve+Et*_n(Lt)+adjustAngleDistanceX(Lt,-$e+vn,!0),Cn=Fe+Et*bn(Lt)+adjustAngleDistanceY(Lt,-$e+vn,!0),En="right",wn="middle";break;default:return calculateTextPosition(ue,de,pe)}return ue=ue||{},ue.x=Sn,ue.y=Cn,ue.align=En,ue.verticalAlign=wn,ue}}function setSectorTextRotation(oe,ie,le,ue){if(isNumber(ue)){oe.setTextConfig({rotation:ue});return}else if(isArray$1(ie)){oe.setTextConfig({rotation:0});return}var de=oe.shape,pe=de.clockwise?de.startAngle:de.endAngle,he=de.clockwise?de.endAngle:de.startAngle,_e=(pe+he)/2,$e,Ie=le(ie);switch(Ie){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":$e=_e;break;case"startAngle":case"insideStartAngle":$e=pe;break;case"endAngle":case"insideEndAngle":$e=he;break;default:oe.setTextConfig({rotation:0});return}var Ve=Math.PI*1.5-$e;Ie==="middle"&&Ve>Math.PI/2&&Ve<Math.PI*1.5&&(Ve-=Math.PI),oe.setTextConfig({rotation:Ve})}function adjustAngleDistanceX(oe,ie,le){return ie*Math.sin(oe)*(le?-1:1)}function adjustAngleDistanceY(oe,ie,le){return ie*Math.cos(oe)*(le?1:-1)}function getSectorCornerRadius(oe,ie,le){var ue=oe.get("borderRadius");if(ue==null)return le?{cornerRadius:0}:null;isArray$1(ue)||(ue=[ue,ue,ue,ue]);var de=Math.abs(ie.r||0-ie.r0||0);return{cornerRadius:map$2(ue,function(pe){return parsePercent$1(pe,de)})}}var mathMax$2=Math.max,mathMin$2=Math.min;function getClipArea(oe,ie){var le=oe.getArea&&oe.getArea();if(isCoordinateSystemType(oe,"cartesian2d")){var ue=oe.getBaseAxis();if(ue.type!=="category"||!ue.onBand){var de=ie.getLayout("bandWidth");ue.isHorizontal()?(le.x-=de,le.width+=de*2):(le.y-=de,le.height+=de*2)}}return le}var BarView=function(oe){__extends(ie,oe);function ie(){var le=oe.call(this)||this;return le.type=ie.type,le._isFirstFrame=!0,le}return ie.prototype.render=function(le,ue,de,pe){this._model=le,this._removeOnRenderedListener(de),this._updateDrawMode(le);var he=le.get("coordinateSystem");(he==="cartesian2d"||he==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(le,ue,de):this._renderNormal(le,ue,de,pe))},ie.prototype.incrementalPrepareRender=function(le){this._clear(),this._updateDrawMode(le),this._updateLargeClip(le)},ie.prototype.incrementalRender=function(le,ue){this._progressiveEls=[],this._incrementalRenderLarge(le,ue)},ie.prototype.eachRendered=function(le){traverseElements(this._progressiveEls||this.group,le)},ie.prototype._updateDrawMode=function(le){var ue=le.pipelineContext.large;(this._isLargeDraw==null||ue!==this._isLargeDraw)&&(this._isLargeDraw=ue,this._clear())},ie.prototype._renderNormal=function(le,ue,de,pe){var he=this.group,_e=le.getData(),$e=this._data,Ie=le.coordinateSystem,Ve=Ie.getBaseAxis(),Fe;Ie.type==="cartesian2d"?Fe=Ve.isHorizontal():Ie.type==="polar"&&(Fe=Ve.dim==="angle");var Ue=le.isAnimationEnabled()?le:null,qe=shouldRealtimeSort(le,Ie);qe&&this._enableRealtimeSort(qe,_e,de);var Et=le.get("clip",!0)||qe,At=getClipArea(Ie,_e);he.removeClipPath();var Lt=le.get("roundCap",!0),hn=le.get("showBackground",!0),vn=le.getModel("backgroundStyle"),_n=vn.get("borderRadius")||0,bn=[],Sn=this._backgroundEls,Cn=pe&&pe.isInitSort,En=pe&&pe.type==="changeAxisOrder";function wn(Pn){var An=getLayout[Ie.type](_e,Pn),In=createBackgroundEl(Ie,Fe,An);return In.useStyle(vn.getItemStyle()),Ie.type==="cartesian2d"?In.setShape("r",_n):In.setShape("cornerRadius",_n),bn[Pn]=In,In}_e.diff($e).add(function(Pn){var An=_e.getItemModel(Pn),In=getLayout[Ie.type](_e,Pn,An);if(hn&&wn(Pn),!(!_e.hasValue(Pn)||!isValidLayout[Ie.type](In))){var Nn=!1;Et&&(Nn=clip[Ie.type](At,In));var Un=elementCreator[Ie.type](le,_e,Pn,In,Fe,Ue,Ve.model,!1,Lt);qe&&(Un.forceLabelAnimation=!0),updateStyle(Un,_e,Pn,An,In,le,Fe,Ie.type==="polar"),Cn?Un.attr({shape:In}):qe?updateRealtimeAnimation(qe,Ue,Un,In,Pn,Fe,!1,!1):initProps(Un,{shape:In},le,Pn),_e.setItemGraphicEl(Pn,Un),he.add(Un),Un.ignore=Nn}}).update(function(Pn,An){var In=_e.getItemModel(Pn),Nn=getLayout[Ie.type](_e,Pn,In);if(hn){var Un=void 0;Sn.length===0?Un=wn(An):(Un=Sn[An],Un.useStyle(vn.getItemStyle()),Ie.type==="cartesian2d"?Un.setShape("r",_n):Un.setShape("cornerRadius",_n),bn[Pn]=Un);var Vn=getLayout[Ie.type](_e,Pn),Mn=createBackgroundShape(Fe,Vn,Ie);updateProps$1(Un,{shape:Mn},Ue,Pn)}var Fn=$e.getItemGraphicEl(An);if(!_e.hasValue(Pn)||!isValidLayout[Ie.type](Nn)){he.remove(Fn);return}var Ln=!1;if(Et&&(Ln=clip[Ie.type](At,Nn),Ln&&he.remove(Fn)),Fn?saveOldStyle(Fn):Fn=elementCreator[Ie.type](le,_e,Pn,Nn,Fe,Ue,Ve.model,!!Fn,Lt),qe&&(Fn.forceLabelAnimation=!0),En){var jn=Fn.getTextContent();if(jn){var Zn=labelInner(jn);Zn.prevValue!=null&&(Zn.prevValue=Zn.value)}}else updateStyle(Fn,_e,Pn,In,Nn,le,Fe,Ie.type==="polar");Cn?Fn.attr({shape:Nn}):qe?updateRealtimeAnimation(qe,Ue,Fn,Nn,Pn,Fe,!0,En):updateProps$1(Fn,{shape:Nn},le,Pn,null),_e.setItemGraphicEl(Pn,Fn),Fn.ignore=Ln,he.add(Fn)}).remove(function(Pn){var An=$e.getItemGraphicEl(Pn);An&&removeElementWithFadeOut(An,le,Pn)}).execute();var xn=this._backgroundGroup||(this._backgroundGroup=new Group$3);xn.removeAll();for(var kn=0;kn<bn.length;++kn)xn.add(bn[kn]);he.add(xn),this._backgroundEls=bn,this._data=_e},ie.prototype._renderLarge=function(le,ue,de){this._clear(),createLarge(le,this.group),this._updateLargeClip(le)},ie.prototype._incrementalRenderLarge=function(le,ue){this._removeBackground(),createLarge(ue,this.group,this._progressiveEls,!0)},ie.prototype._updateLargeClip=function(le){var ue=le.get("clip",!0)&&createClipPath(le.coordinateSystem,!1,le),de=this.group;ue?de.setClipPath(ue):de.removeClipPath()},ie.prototype._enableRealtimeSort=function(le,ue,de){var pe=this;if(ue.count()){var he=le.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(ue,le,de),this._isFirstFrame=!1;else{var _e=function($e){var Ie=ue.getItemGraphicEl($e),Ve=Ie&&Ie.shape;return Ve&&Math.abs(he.isHorizontal()?Ve.height:Ve.width)||0};this._onRendered=function(){pe._updateSortWithinSameData(ue,_e,he,de)},de.getZr().on("rendered",this._onRendered)}}},ie.prototype._dataSort=function(le,ue,de){var pe=[];return le.each(le.mapDimension(ue.dim),function(he,_e){var $e=de(_e);$e=$e??NaN,pe.push({dataIndex:_e,mappedValue:$e,ordinalNumber:he})}),pe.sort(function(he,_e){return _e.mappedValue-he.mappedValue}),{ordinalNumbers:map$2(pe,function(he){return he.ordinalNumber})}},ie.prototype._isOrderChangedWithinSameData=function(le,ue,de){for(var pe=de.scale,he=le.mapDimension(de.dim),_e=Number.MAX_VALUE,$e=0,Ie=pe.getOrdinalMeta().categories.length;$e<Ie;++$e){var Ve=le.rawIndexOf(he,pe.getRawOrdinalNumber($e)),Fe=Ve<0?Number.MIN_VALUE:ue(le.indexOfRawIndex(Ve));if(Fe>_e)return!0;_e=Fe}return!1},ie.prototype._isOrderDifferentInView=function(le,ue){for(var de=ue.scale,pe=de.getExtent(),he=Math.max(0,pe[0]),_e=Math.min(pe[1],de.getOrdinalMeta().categories.length-1);he<=_e;++he)if(le.ordinalNumbers[he]!==de.getRawOrdinalNumber(he))return!0},ie.prototype._updateSortWithinSameData=function(le,ue,de,pe){if(this._isOrderChangedWithinSameData(le,ue,de)){var he=this._dataSort(le,de,ue);this._isOrderDifferentInView(he,de)&&(this._removeOnRenderedListener(pe),pe.dispatchAction({type:"changeAxisOrder",componentType:de.dim+"Axis",axisId:de.index,sortInfo:he}))}},ie.prototype._dispatchInitSort=function(le,ue,de){var pe=ue.baseAxis,he=this._dataSort(le,pe,function(_e){return le.get(le.mapDimension(ue.otherAxis.dim),_e)});de.dispatchAction({type:"changeAxisOrder",componentType:pe.dim+"Axis",isInitSort:!0,axisId:pe.index,sortInfo:he})},ie.prototype.remove=function(le,ue){this._clear(this._model),this._removeOnRenderedListener(ue)},ie.prototype.dispose=function(le,ue){this._removeOnRenderedListener(ue)},ie.prototype._removeOnRenderedListener=function(le){this._onRendered&&(le.getZr().off("rendered",this._onRendered),this._onRendered=null)},ie.prototype._clear=function(le){var ue=this.group,de=this._data;le&&le.isAnimationEnabled()&&de&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],de.eachItemGraphicEl(function(pe){removeElementWithFadeOut(pe,le,getECData(pe).dataIndex)})):ue.removeAll(),this._data=null,this._isFirstFrame=!0},ie.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},ie.type="bar",ie}(ChartView$1),clip={cartesian2d:function(oe,ie){var le=ie.width<0?-1:1,ue=ie.height<0?-1:1;le<0&&(ie.x+=ie.width,ie.width=-ie.width),ue<0&&(ie.y+=ie.height,ie.height=-ie.height);var de=oe.x+oe.width,pe=oe.y+oe.height,he=mathMax$2(ie.x,oe.x),_e=mathMin$2(ie.x+ie.width,de),$e=mathMax$2(ie.y,oe.y),Ie=mathMin$2(ie.y+ie.height,pe),Ve=_e<he,Fe=Ie<$e;return ie.x=Ve&&he>de?_e:he,ie.y=Fe&&$e>pe?Ie:$e,ie.width=Ve?0:_e-he,ie.height=Fe?0:Ie-$e,le<0&&(ie.x+=ie.width,ie.width=-ie.width),ue<0&&(ie.y+=ie.height,ie.height=-ie.height),Ve||Fe},polar:function(oe,ie){var le=ie.r0<=ie.r?1:-1;if(le<0){var ue=ie.r;ie.r=ie.r0,ie.r0=ue}var de=mathMin$2(ie.r,oe.r),pe=mathMax$2(ie.r0,oe.r0);ie.r=de,ie.r0=pe;var he=de-pe<0;if(le<0){var ue=ie.r;ie.r=ie.r0,ie.r0=ue}return he}},elementCreator={cartesian2d:function(oe,ie,le,ue,de,pe,he,_e,$e){var Ie=new Rect$2({shape:extend({},ue),z2:1});if(Ie.__dataIndex=le,Ie.name="item",pe){var Ve=Ie.shape,Fe=de?"height":"width";Ve[Fe]=0}return Ie},polar:function(oe,ie,le,ue,de,pe,he,_e,$e){var Ie=!de&&$e?Sausage:Sector$1,Ve=new Ie({shape:ue,z2:1});Ve.name="item";var Fe=createPolarPositionMapping(de);if(Ve.calculateTextPosition=createSectorCalculateTextPosition(Fe,{isRoundCap:Ie===Sausage}),pe){var Ue=Ve.shape,qe=de?"r":"endAngle",Et={};Ue[qe]=de?ue.r0:ue.startAngle,Et[qe]=ue[qe],(_e?updateProps$1:initProps)(Ve,{shape:Et},pe)}return Ve}};function shouldRealtimeSort(oe,ie){var le=oe.get("realtimeSort",!0),ue=ie.getBaseAxis();if(le&&ue.type==="category"&&ie.type==="cartesian2d")return{baseAxis:ue,otherAxis:ie.getOtherAxis(ue)}}function updateRealtimeAnimation(oe,ie,le,ue,de,pe,he,_e){var $e,Ie;pe?(Ie={x:ue.x,width:ue.width},$e={y:ue.y,height:ue.height}):(Ie={y:ue.y,height:ue.height},$e={x:ue.x,width:ue.width}),_e||(he?updateProps$1:initProps)(le,{shape:$e},ie,de,null);var Ve=ie?oe.baseAxis.model:null;(he?updateProps$1:initProps)(le,{shape:Ie},Ve,de)}function checkPropertiesNotValid(oe,ie){for(var le=0;le<ie.length;le++)if(!isFinite(oe[ie[le]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(oe){return!checkPropertiesNotValid(oe,rectPropties)},polar:function(oe){return!checkPropertiesNotValid(oe,polarPropties)}},getLayout={cartesian2d:function(oe,ie,le){var ue=oe.getItemLayout(ie),de=le?getLineWidth(le,ue):0,pe=ue.width>0?1:-1,he=ue.height>0?1:-1;return{x:ue.x+pe*de/2,y:ue.y+he*de/2,width:ue.width-pe*de,height:ue.height-he*de}},polar:function(oe,ie,le){var ue=oe.getItemLayout(ie);return{cx:ue.cx,cy:ue.cy,r0:ue.r0,r:ue.r,startAngle:ue.startAngle,endAngle:ue.endAngle,clockwise:ue.clockwise}}};function isZeroOnPolar(oe){return oe.startAngle!=null&&oe.endAngle!=null&&oe.startAngle===oe.endAngle}function createPolarPositionMapping(oe){return function(ie){var le=ie?"Arc":"Angle";return function(ue){switch(ue){case"start":case"insideStart":case"end":case"insideEnd":return ue+le;default:return ue}}}(oe)}function updateStyle(oe,ie,le,ue,de,pe,he,_e){var $e=ie.getItemVisual(le,"style");if(_e){if(!pe.get("roundCap")){var Ve=oe.shape,Fe=getSectorCornerRadius(ue.getModel("itemStyle"),Ve,!0);extend(Ve,Fe),oe.setShape(Ve)}}else{var Ie=ue.get(["itemStyle","borderRadius"])||0;oe.setShape("r",Ie)}oe.useStyle($e);var Ue=ue.getShallow("cursor");Ue&&oe.attr("cursor",Ue);var qe=_e?he?de.r>=de.r0?"endArc":"startArc":de.endAngle>=de.startAngle?"endAngle":"startAngle":he?de.height>=0?"bottom":"top":de.width>=0?"right":"left",Et=getLabelStatesModels(ue);setLabelStyle(oe,Et,{labelFetcher:pe,labelDataIndex:le,defaultText:getDefaultLabel(pe.getData(),le),inheritColor:$e.fill,defaultOpacity:$e.opacity,defaultOutsidePosition:qe});var At=oe.getTextContent();if(_e&&At){var Lt=ue.get(["label","position"]);oe.textConfig.inside=Lt==="middle"?!0:null,setSectorTextRotation(oe,Lt==="outside"?qe:Lt,createPolarPositionMapping(he),ue.get(["label","rotate"]))}setLabelValueAnimation(At,Et,pe.getRawValue(le),function(vn){return getDefaultInterpolatedLabel(ie,vn)});var hn=ue.getModel(["emphasis"]);toggleHoverEmphasis(oe,hn.get("focus"),hn.get("blurScope"),hn.get("disabled")),setStatesStylesFromModel(oe,ue),isZeroOnPolar(de)&&(oe.style.fill="none",oe.style.stroke="none",each$c(oe.states,function(vn){vn.style&&(vn.style.fill=vn.style.stroke="none")}))}function getLineWidth(oe,ie){var le=oe.get(["itemStyle","borderColor"]);if(!le||le==="none")return 0;var ue=oe.get(["itemStyle","borderWidth"])||0,de=isNaN(ie.width)?Number.MAX_VALUE:Math.abs(ie.width),pe=isNaN(ie.height)?Number.MAX_VALUE:Math.abs(ie.height);return Math.min(ue,de,pe)}var LagePathShape=function(){function oe(){}return oe}(),LargePath=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this,le)||this;return ue.type="largeBar",ue}return ie.prototype.getDefaultShape=function(){return new LagePathShape},ie.prototype.buildPath=function(le,ue){for(var de=ue.points,pe=this.baseDimIdx,he=1-this.baseDimIdx,_e=[],$e=[],Ie=this.barWidth,Ve=0;Ve<de.length;Ve+=3)$e[pe]=Ie,$e[he]=de[Ve+2],_e[pe]=de[Ve+pe],_e[he]=de[Ve+he],le.rect(_e[0],_e[1],$e[0],$e[1])},ie}(Path$1);function createLarge(oe,ie,le,ue){var de=oe.getData(),pe=de.getLayout("valueAxisHorizontal")?1:0,he=de.getLayout("largeDataIndices"),_e=de.getLayout("size"),$e=oe.getModel("backgroundStyle"),Ie=de.getLayout("largeBackgroundPoints");if(Ie){var Ve=new LargePath({shape:{points:Ie},incremental:!!ue,silent:!0,z2:0});Ve.baseDimIdx=pe,Ve.largeDataIndices=he,Ve.barWidth=_e,Ve.useStyle($e.getItemStyle()),ie.add(Ve),le&&le.push(Ve)}var Fe=new LargePath({shape:{points:de.getLayout("largePoints")},incremental:!!ue,ignoreCoarsePointer:!0,z2:1});Fe.baseDimIdx=pe,Fe.largeDataIndices=he,Fe.barWidth=_e,ie.add(Fe),Fe.useStyle(de.getVisual("style")),getECData(Fe).seriesIndex=oe.seriesIndex,oe.get("silent")||(Fe.on("mousedown",largePathUpdateDataIndex),Fe.on("mousemove",largePathUpdateDataIndex)),le&&le.push(Fe)}var largePathUpdateDataIndex=throttle(function(oe){var ie=this,le=largePathFindDataIndex(ie,oe.offsetX,oe.offsetY);getECData(ie).dataIndex=le>=0?le:null},30,!1);function largePathFindDataIndex(oe,ie,le){for(var ue=oe.baseDimIdx,de=1-ue,pe=oe.shape.points,he=oe.largeDataIndices,_e=[],$e=[],Ie=oe.barWidth,Ve=0,Fe=pe.length/3;Ve<Fe;Ve++){var Ue=Ve*3;if($e[ue]=Ie,$e[de]=pe[Ue+2],_e[ue]=pe[Ue+ue],_e[de]=pe[Ue+de],$e[de]<0&&(_e[de]+=$e[de],$e[de]=-$e[de]),ie>=_e[0]&&ie<=_e[0]+$e[0]&&le>=_e[1]&&le<=_e[1]+$e[1])return he[Ve]}return-1}function createBackgroundShape(oe,ie,le){if(isCoordinateSystemType(le,"cartesian2d")){var ue=ie,de=le.getArea();return{x:oe?ue.x:de.x,y:oe?de.y:ue.y,width:oe?ue.width:de.width,height:oe?de.height:ue.height}}else{var de=le.getArea(),pe=ie;return{cx:de.cx,cy:de.cy,r0:oe?de.r0:pe.r0,r:oe?de.r:pe.r,startAngle:oe?pe.startAngle:0,endAngle:oe?pe.endAngle:Math.PI*2}}}function createBackgroundEl(oe,ie,le){var ue=oe.type==="polar"?Sector$1:Rect$2;return new ue({shape:createBackgroundShape(ie,le,oe),silent:!0,z2:0})}const BarView$1=BarView;function install$i(oe){oe.registerChartView(BarView$1),oe.registerSeriesModel(BarSeries),oe.registerLayout(oe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$2,"bar")),oe.registerLayout(oe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),oe.registerProcessor(oe.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),oe.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(ie,le){var ue=ie.componentType||"series";le.eachComponent({mainType:ue,query:ie},function(de){ie.sortInfo&&de.axis.setCategorySortInfo(ie.sortInfo)})})}var PI2=Math.PI*2,RADIAN$1=Math.PI/180;function getViewRect(oe,ie){return getLayoutRect(oe.getBoxLayoutParams(),{width:ie.getWidth(),height:ie.getHeight()})}function getBasicPieLayout(oe,ie){var le=getViewRect(oe,ie),ue=oe.get("center"),de=oe.get("radius");isArray$1(de)||(de=[0,de]);var pe=parsePercent(le.width,ie.getWidth()),he=parsePercent(le.height,ie.getHeight()),_e=Math.min(pe,he),$e=parsePercent(de[0],_e/2),Ie=parsePercent(de[1],_e/2),Ve,Fe,Ue=oe.coordinateSystem;if(Ue){var qe=Ue.dataToPoint(ue);Ve=qe[0]||0,Fe=qe[1]||0}else isArray$1(ue)||(ue=[ue,ue]),Ve=parsePercent(ue[0],pe)+le.x,Fe=parsePercent(ue[1],he)+le.y;return{cx:Ve,cy:Fe,r0:$e,r:Ie}}function pieLayout(oe,ie,le){ie.eachSeriesByType(oe,function(ue){var de=ue.getData(),pe=de.mapDimension("value"),he=getViewRect(ue,le),_e=getBasicPieLayout(ue,le),$e=_e.cx,Ie=_e.cy,Ve=_e.r,Fe=_e.r0,Ue=-ue.get("startAngle")*RADIAN$1,qe=ue.get("minAngle")*RADIAN$1,Et=0;de.each(pe,function(kn){!isNaN(kn)&&Et++});var At=de.getSum(pe),Lt=Math.PI/(At||Et)*2,hn=ue.get("clockwise"),vn=ue.get("roseType"),_n=ue.get("stillShowZeroSum"),bn=de.getDataExtent(pe);bn[0]=0;var Sn=PI2,Cn=0,En=Ue,wn=hn?1:-1;if(de.setLayout({viewRect:he,r:Ve}),de.each(pe,function(kn,Pn){var An;if(isNaN(kn)){de.setItemLayout(Pn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:hn,cx:$e,cy:Ie,r0:Fe,r:vn?NaN:Ve});return}vn!=="area"?An=At===0&&_n?Lt:kn*Lt:An=PI2/Et,An<qe?(An=qe,Sn-=qe):Cn+=kn;var In=En+wn*An;de.setItemLayout(Pn,{angle:An,startAngle:En,endAngle:In,clockwise:hn,cx:$e,cy:Ie,r0:Fe,r:vn?linearMap$2(kn,bn,[Fe,Ve]):Ve}),En=In}),Sn<PI2&&Et)if(Sn<=.001){var xn=PI2/Et;de.each(pe,function(kn,Pn){if(!isNaN(kn)){var An=de.getItemLayout(Pn);An.angle=xn,An.startAngle=Ue+wn*Pn*xn,An.endAngle=Ue+wn*(Pn+1)*xn}})}else Lt=Sn/Cn,En=Ue,de.each(pe,function(kn,Pn){if(!isNaN(kn)){var An=de.getItemLayout(Pn),In=An.angle===qe?qe:kn*Lt;An.startAngle=En,An.endAngle=En+wn*In,En+=wn*In}})})}function dataFilter(oe){return{seriesType:oe,reset:function(ie,le){var ue=le.findComponents({mainType:"legend"});if(!(!ue||!ue.length)){var de=ie.getData();de.filterSelf(function(pe){for(var he=de.getName(pe),_e=0;_e<ue.length;_e++)if(!ue[_e].isSelected(he))return!1;return!0})}}}}var RADIAN=Math.PI/180;function adjustSingleSide(oe,ie,le,ue,de,pe,he,_e,$e,Ie){if(oe.length<2)return;function Ve(At){for(var Lt=At.rB,hn=Lt*Lt,vn=0;vn<At.list.length;vn++){var _n=At.list[vn],bn=Math.abs(_n.label.y-le),Sn=ue+_n.len,Cn=Sn*Sn,En=Math.sqrt((1-Math.abs(bn*bn/hn))*Cn),wn=ie+(En+_n.len2)*de,xn=wn-_n.label.x,kn=_n.targetTextWidth-xn*de;constrainTextWidth(_n,kn,!0),_n.label.x=wn}}function Fe(At){for(var Lt={list:[],maxY:0},hn={list:[],maxY:0},vn=0;vn<At.length;vn++)if(At[vn].labelAlignTo==="none"){var _n=At[vn],bn=_n.label.y>le?hn:Lt,Sn=Math.abs(_n.label.y-le);if(Sn>=bn.maxY){var Cn=_n.label.x-ie-_n.len2*de,En=ue+_n.len,wn=Math.abs(Cn)<En?Math.sqrt(Sn*Sn/(1-Cn*Cn/En/En)):En;bn.rB=wn,bn.maxY=Sn}bn.list.push(_n)}Ve(Lt),Ve(hn)}for(var Ue=oe.length,qe=0;qe<Ue;qe++)if(oe[qe].position==="outer"&&oe[qe].labelAlignTo==="labelLine"){var Et=oe[qe].label.x-Ie;oe[qe].linePoints[1][0]+=Et,oe[qe].label.x=Ie}shiftLayoutOnY(oe,$e,$e+he)&&Fe(oe)}function avoidOverlap(oe,ie,le,ue,de,pe,he,_e){for(var $e=[],Ie=[],Ve=Number.MAX_VALUE,Fe=-Number.MAX_VALUE,Ue=0;Ue<oe.length;Ue++){var qe=oe[Ue].label;isPositionCenter(oe[Ue])||(qe.x<ie?(Ve=Math.min(Ve,qe.x),$e.push(oe[Ue])):(Fe=Math.max(Fe,qe.x),Ie.push(oe[Ue])))}for(var Ue=0;Ue<oe.length;Ue++){var Et=oe[Ue];if(!isPositionCenter(Et)&&Et.linePoints){if(Et.labelStyleWidth!=null)continue;var qe=Et.label,At=Et.linePoints,Lt=void 0;Et.labelAlignTo==="edge"?qe.x<ie?Lt=At[2][0]-Et.labelDistance-he-Et.edgeDistance:Lt=he+de-Et.edgeDistance-At[2][0]-Et.labelDistance:Et.labelAlignTo==="labelLine"?qe.x<ie?Lt=Ve-he-Et.bleedMargin:Lt=he+de-Fe-Et.bleedMargin:qe.x<ie?Lt=qe.x-he-Et.bleedMargin:Lt=he+de-qe.x-Et.bleedMargin,Et.targetTextWidth=Lt,constrainTextWidth(Et,Lt)}}adjustSingleSide(Ie,ie,le,ue,1,de,pe,he,_e,Fe),adjustSingleSide($e,ie,le,ue,-1,de,pe,he,_e,Ve);for(var Ue=0;Ue<oe.length;Ue++){var Et=oe[Ue];if(!isPositionCenter(Et)&&Et.linePoints){var qe=Et.label,At=Et.linePoints,hn=Et.labelAlignTo==="edge",vn=qe.style.padding,_n=vn?vn[1]+vn[3]:0,bn=qe.style.backgroundColor?0:_n,Sn=Et.rect.width+bn,Cn=At[1][0]-At[2][0];hn?qe.x<ie?At[2][0]=he+Et.edgeDistance+Sn+Et.labelDistance:At[2][0]=he+de-Et.edgeDistance-Sn-Et.labelDistance:(qe.x<ie?At[2][0]=qe.x+Et.labelDistance:At[2][0]=qe.x-Et.labelDistance,At[1][0]=At[2][0]+Cn),At[1][1]=At[2][1]=qe.y}}}function constrainTextWidth(oe,ie,le){if(le===void 0&&(le=!1),oe.labelStyleWidth==null){var ue=oe.label,de=ue.style,pe=oe.rect,he=de.backgroundColor,_e=de.padding,$e=_e?_e[1]+_e[3]:0,Ie=de.overflow,Ve=pe.width+(he?0:$e);if(ie<Ve||le){var Fe=pe.height;if(Ie&&Ie.match("break")){ue.setStyle("backgroundColor",null),ue.setStyle("width",ie-$e);var Ue=ue.getBoundingRect();ue.setStyle("width",Math.ceil(Ue.width)),ue.setStyle("backgroundColor",he)}else{var qe=ie-$e,Et=ie<Ve?qe:le?qe>oe.unconstrainedWidth?null:qe:null;ue.setStyle("width",Et)}var At=ue.getBoundingRect();pe.width=At.width;var Lt=(ue.style.margin||0)+2.1;pe.height=At.height+Lt,pe.y-=(pe.height-Fe)/2}}}function isPositionCenter(oe){return oe.position==="center"}function pieLabelLayout(oe){var ie=oe.getData(),le=[],ue,de,pe=!1,he=(oe.get("minShowLabelAngle")||0)*RADIAN,_e=ie.getLayout("viewRect"),$e=ie.getLayout("r"),Ie=_e.width,Ve=_e.x,Fe=_e.y,Ue=_e.height;function qe(Cn){Cn.ignore=!0}function Et(Cn){if(!Cn.ignore)return!0;for(var En in Cn.states)if(Cn.states[En].ignore===!1)return!0;return!1}ie.each(function(Cn){var En=ie.getItemGraphicEl(Cn),wn=En.shape,xn=En.getTextContent(),kn=En.getTextGuideLine(),Pn=ie.getItemModel(Cn),An=Pn.getModel("label"),In=An.get("position")||Pn.get(["emphasis","label","position"]),Nn=An.get("distanceToLabelLine"),Un=An.get("alignTo"),Vn=parsePercent(An.get("edgeDistance"),Ie),Mn=An.get("bleedMargin"),Fn=Pn.getModel("labelLine"),Ln=Fn.get("length");Ln=parsePercent(Ln,Ie);var jn=Fn.get("length2");if(jn=parsePercent(jn,Ie),Math.abs(wn.endAngle-wn.startAngle)<he){each$c(xn.states,qe),xn.ignore=!0,kn&&(each$c(kn.states,qe),kn.ignore=!0);return}if(Et(xn)){var Zn=(wn.startAngle+wn.endAngle)/2,Gn=Math.cos(Zn),Jn=Math.sin(Zn),lr,yr,ir,qn;ue=wn.cx,de=wn.cy;var Yn=In==="inside"||In==="inner";if(In==="center")lr=wn.cx,yr=wn.cy,qn="center";else{var Xn=(Yn?(wn.r+wn.r0)/2*Gn:wn.r*Gn)+ue,or=(Yn?(wn.r+wn.r0)/2*Jn:wn.r*Jn)+de;if(lr=Xn+Gn*3,yr=or+Jn*3,!Yn){var _r=Xn+Gn*(Ln+$e-wn.r),Kn=or+Jn*(Ln+$e-wn.r),er=_r+(Gn<0?-1:1)*jn,ar=Kn;Un==="edge"?lr=Gn<0?Ve+Vn:Ve+Ie-Vn:lr=er+(Gn<0?-Nn:Nn),yr=ar,ir=[[Xn,or],[_r,Kn],[er,ar]]}qn=Yn?"center":Un==="edge"?Gn>0?"right":"left":Gn>0?"left":"right"}var gr=Math.PI,Er=0,cr=An.get("rotate");if(isNumber(cr))Er=cr*(gr/180);else if(In==="center")Er=0;else if(cr==="radial"||cr===!0){var Ar=Gn<0?-Zn+gr:-Zn;Er=Ar}else if(cr==="tangential"&&In!=="outside"&&In!=="outer"){var br=Math.atan2(Gn,Jn);br<0&&(br=gr*2+br);var kr=Jn>0;kr&&(br=gr+br),Er=br-gr}if(pe=!!Er,xn.x=lr,xn.y=yr,xn.rotation=Er,xn.setStyle({verticalAlign:"middle"}),Yn){xn.setStyle({align:qn});var fr=xn.states.select;fr&&(fr.x+=xn.x,fr.y+=xn.y)}else{var mr=xn.getBoundingRect().clone();mr.applyTransform(xn.getComputedTransform());var ur=(xn.style.margin||0)+2.1;mr.y-=ur/2,mr.height+=ur,le.push({label:xn,labelLine:kn,position:In,len:Ln,len2:jn,minTurnAngle:Fn.get("minTurnAngle"),maxSurfaceAngle:Fn.get("maxSurfaceAngle"),surfaceNormal:new Point$1(Gn,Jn),linePoints:ir,textAlign:qn,labelDistance:Nn,labelAlignTo:Un,edgeDistance:Vn,bleedMargin:Mn,rect:mr,unconstrainedWidth:mr.width,labelStyleWidth:xn.style.width})}En.setTextConfig({inside:Yn})}}),!pe&&oe.get("avoidLabelOverlap")&&avoidOverlap(le,ue,de,$e,Ie,Ue,Ve,Fe);for(var At=0;At<le.length;At++){var Lt=le[At],hn=Lt.label,vn=Lt.labelLine,_n=isNaN(hn.x)||isNaN(hn.y);if(hn){hn.setStyle({align:Lt.textAlign}),_n&&(each$c(hn.states,qe),hn.ignore=!0);var bn=hn.states.select;bn&&(bn.x+=hn.x,bn.y+=hn.y)}if(vn){var Sn=Lt.linePoints;_n||!Sn?(each$c(vn.states,qe),vn.ignore=!0):(limitTurnAngle(Sn,Lt.minTurnAngle),limitSurfaceAngle(Sn,Lt.surfaceNormal,Lt.maxSurfaceAngle),vn.setShape({points:Sn}),hn.__hostTarget.textGuideLineConfig={anchor:new Point$1(Sn[0][0],Sn[0][1])})}}}var PiePiece=function(oe){__extends(ie,oe);function ie(le,ue,de){var pe=oe.call(this)||this;pe.z2=2;var he=new ZRText$1;return pe.setTextContent(he),pe.updateData(le,ue,de,!0),pe}return ie.prototype.updateData=function(le,ue,de,pe){var he=this,_e=le.hostModel,$e=le.getItemModel(ue),Ie=$e.getModel("emphasis"),Ve=le.getItemLayout(ue),Fe=extend(getSectorCornerRadius($e.getModel("itemStyle"),Ve,!0),Ve);if(isNaN(Fe.startAngle)){he.setShape(Fe);return}if(pe){he.setShape(Fe);var Ue=_e.getShallow("animationType");_e.ecModel.ssr?(initProps(he,{scaleX:0,scaleY:0},_e,{dataIndex:ue,isFrom:!0}),he.originX=Fe.cx,he.originY=Fe.cy):Ue==="scale"?(he.shape.r=Ve.r0,initProps(he,{shape:{r:Ve.r}},_e,ue)):de!=null?(he.setShape({startAngle:de,endAngle:de}),initProps(he,{shape:{startAngle:Ve.startAngle,endAngle:Ve.endAngle}},_e,ue)):(he.shape.endAngle=Ve.startAngle,updateProps$1(he,{shape:{endAngle:Ve.endAngle}},_e,ue))}else saveOldStyle(he),updateProps$1(he,{shape:Fe},_e,ue);he.useStyle(le.getItemVisual(ue,"style")),setStatesStylesFromModel(he,$e);var qe=(Ve.startAngle+Ve.endAngle)/2,Et=_e.get("selectedOffset"),At=Math.cos(qe)*Et,Lt=Math.sin(qe)*Et,hn=$e.getShallow("cursor");hn&&he.attr("cursor",hn),this._updateLabel(_e,le,ue),he.ensureState("emphasis").shape=extend({r:Ve.r+(Ie.get("scale")&&Ie.get("scaleSize")||0)},getSectorCornerRadius(Ie.getModel("itemStyle"),Ve)),extend(he.ensureState("select"),{x:At,y:Lt,shape:getSectorCornerRadius($e.getModel(["select","itemStyle"]),Ve)}),extend(he.ensureState("blur"),{shape:getSectorCornerRadius($e.getModel(["blur","itemStyle"]),Ve)});var vn=he.getTextGuideLine(),_n=he.getTextContent();vn&&extend(vn.ensureState("select"),{x:At,y:Lt}),extend(_n.ensureState("select"),{x:At,y:Lt}),toggleHoverEmphasis(this,Ie.get("focus"),Ie.get("blurScope"),Ie.get("disabled"))},ie.prototype._updateLabel=function(le,ue,de){var pe=this,he=ue.getItemModel(de),_e=he.getModel("labelLine"),$e=ue.getItemVisual(de,"style"),Ie=$e&&$e.fill,Ve=$e&&$e.opacity;setLabelStyle(pe,getLabelStatesModels(he),{labelFetcher:ue.hostModel,labelDataIndex:de,inheritColor:Ie,defaultOpacity:Ve,defaultText:le.getFormattedLabel(de,"normal")||ue.getName(de)});var Fe=pe.getTextContent();pe.setTextConfig({position:null,rotation:null}),Fe.attr({z2:10});var Ue=le.get(["label","position"]);if(Ue!=="outside"&&Ue!=="outer")pe.removeTextGuideLine();else{var qe=this.getTextGuideLine();qe||(qe=new Polyline$1,this.setTextGuideLine(qe)),setLabelLineStyle(this,getLabelLineStatesModels(he),{stroke:Ie,opacity:retrieve3(_e.get(["lineStyle","opacity"]),Ve,1)})}},ie}(Sector$1),PieView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.ignoreLabelLineUpdate=!0,le}return ie.prototype.render=function(le,ue,de,pe){var he=le.getData(),_e=this._data,$e=this.group,Ie;if(!_e&&he.count()>0){for(var Ve=he.getItemLayout(0),Fe=1;isNaN(Ve&&Ve.startAngle)&&Fe<he.count();++Fe)Ve=he.getItemLayout(Fe);Ve&&(Ie=Ve.startAngle)}if(this._emptyCircleSector&&$e.remove(this._emptyCircleSector),he.count()===0&&le.get("showEmptyCircle")){var Ue=new Sector$1({shape:getBasicPieLayout(le,de)});Ue.useStyle(le.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=Ue,$e.add(Ue)}he.diff(_e).add(function(qe){var Et=new PiePiece(he,qe,Ie);he.setItemGraphicEl(qe,Et),$e.add(Et)}).update(function(qe,Et){var At=_e.getItemGraphicEl(Et);At.updateData(he,qe,Ie),At.off("click"),$e.add(At),he.setItemGraphicEl(qe,At)}).remove(function(qe){var Et=_e.getItemGraphicEl(qe);removeElementWithFadeOut(Et,le,qe)}).execute(),pieLabelLayout(le),le.get("animationTypeUpdate")!=="expansion"&&(this._data=he)},ie.prototype.dispose=function(){},ie.prototype.containPoint=function(le,ue){var de=ue.getData(),pe=de.getItemLayout(0);if(pe){var he=le[0]-pe.cx,_e=le[1]-pe.cy,$e=Math.sqrt(he*he+_e*_e);return $e<=pe.r&&$e>=pe.r0}},ie.type="pie",ie}(ChartView$1);const PieView$1=PieView;function createSeriesDataSimply(oe,ie,le){ie=isArray$1(ie)&&{coordDimensions:ie}||extend({encodeDefine:oe.getEncode()},ie);var ue=oe.getSource(),de=prepareSeriesDataSchema(ue,ie).dimensions,pe=new SeriesData$1(de,oe);return pe.initData(ue,le),pe}var LegendVisualProvider=function(){function oe(ie,le){this._getDataWithEncodedVisual=ie,this._getRawData=le}return oe.prototype.getAllNames=function(){var ie=this._getRawData();return ie.mapArray(ie.getName)},oe.prototype.containName=function(ie){var le=this._getRawData();return le.indexOfName(ie)>=0},oe.prototype.indexOfName=function(ie){var le=this._getDataWithEncodedVisual();return le.indexOfName(ie)},oe.prototype.getItemVisual=function(ie,le){var ue=this._getDataWithEncodedVisual();return ue.getItemVisual(ie,le)},oe}();const LegendVisualProvider$1=LegendVisualProvider;var innerData=makeInner(),PieSeriesModel=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.init=function(le){oe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(le)},ie.prototype.mergeOption=function(){oe.prototype.mergeOption.apply(this,arguments)},ie.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},ie.prototype.getDataParams=function(le){var ue=this.getData(),de=innerData(ue),pe=de.seats;if(!pe){var he=[];ue.each(ue.mapDimension("value"),function($e){he.push($e)}),pe=de.seats=getPercentSeats(he,ue.hostModel.get("percentPrecision"))}var _e=oe.prototype.getDataParams.call(this,le);return _e.percent=pe[le]||0,_e.$vars.push("percent"),_e},ie.prototype._defaultLabelLine=function(le){defaultEmphasis(le,"labelLine",["show"]);var ue=le.labelLine,de=le.emphasis.labelLine;ue.show=ue.show&&le.label.show,de.show=de.show&&le.emphasis.label.show},ie.type="series.pie",ie.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},ie}(SeriesModel$1);const PieSeriesModel$1=PieSeriesModel;function negativeDataFilter(oe){return{seriesType:oe,reset:function(ie,le){var ue=ie.getData();ue.filterSelf(function(de){var pe=ue.mapDimension("value"),he=ue.get(pe,de);return!(isNumber(he)&&!isNaN(he)&&he<0)})}}}function install$h(oe){oe.registerChartView(PieView$1),oe.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",oe.registerAction),oe.registerLayout(curry$1(pieLayout,"pie")),oe.registerProcessor(dataFilter("pie")),oe.registerProcessor(negativeDataFilter("pie"))}var GridModel=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.type="grid",ie.dependencies=["xAxis","yAxis"],ie.layoutMode="box",ie.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},ie}(ComponentModel$1);const GridModel$1=GridModel;var CartesianAxisModel=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},ie.type="cartesian2dAxis",ie}(ComponentModel$1);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis);const axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis};var AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(oe,ie,le,ue){each$c(AXIS_TYPES,function(de,pe){var he=merge(merge({},axisDefault[pe],!0),ue,!0),_e=function($e){__extends(Ie,$e);function Ie(){var Ve=$e!==null&&$e.apply(this,arguments)||this;return Ve.type=ie+"Axis."+pe,Ve}return Ie.prototype.mergeDefaultAndTheme=function(Ve,Fe){var Ue=fetchLayoutMode(this),qe=Ue?getLayoutParams(Ve):{},Et=Fe.getTheme();merge(Ve,Et.get(pe+"Axis")),merge(Ve,this.getDefaultOption()),Ve.type=getAxisType(Ve),Ue&&mergeLayoutParam(Ve,qe,Ue)},Ie.prototype.optionUpdated=function(){var Ve=this.option;Ve.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},Ie.prototype.getCategories=function(Ve){var Fe=this.option;if(Fe.type==="category")return Ve?Fe.data:this.__ordinalMeta.categories},Ie.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},Ie.type=ie+"Axis."+pe,Ie.defaultOption=he,Ie}(le);oe.registerComponentModel(_e)}),oe.registerSubTypeDefaulter(ie+"Axis",getAxisType)}function getAxisType(oe){return oe.type||(oe.data?"category":"value")}var Cartesian=function(){function oe(ie){this.type="cartesian",this._dimList=[],this._axes={},this.name=ie||""}return oe.prototype.getAxis=function(ie){return this._axes[ie]},oe.prototype.getAxes=function(){return map$2(this._dimList,function(ie){return this._axes[ie]},this)},oe.prototype.getAxesByScale=function(ie){return ie=ie.toLowerCase(),filter(this.getAxes(),function(le){return le.scale.type===ie})},oe.prototype.addAxis=function(ie){var le=ie.dim;this._axes[le]=ie,this._dimList.push(le)},oe}();const Cartesian$1=Cartesian;var cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(oe){return oe.type==="interval"||oe.type==="time"}var Cartesian2D=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="cartesian2d",le.dimensions=cartesian2DDimensions,le}return ie.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var le=this.getAxis("x").scale,ue=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(le)||!canCalculateAffineTransform(ue))){var de=le.getExtent(),pe=ue.getExtent(),he=this.dataToPoint([de[0],pe[0]]),_e=this.dataToPoint([de[1],pe[1]]),$e=de[1]-de[0],Ie=pe[1]-pe[0];if(!(!$e||!Ie)){var Ve=(_e[0]-he[0])/$e,Fe=(_e[1]-he[1])/Ie,Ue=he[0]-de[0]*Ve,qe=he[1]-pe[0]*Fe,Et=this._transform=[Ve,0,0,Fe,Ue,qe];this._invTransform=invert([],Et)}}},ie.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},ie.prototype.containPoint=function(le){var ue=this.getAxis("x"),de=this.getAxis("y");return ue.contain(ue.toLocalCoord(le[0]))&&de.contain(de.toLocalCoord(le[1]))},ie.prototype.containData=function(le){return this.getAxis("x").containData(le[0])&&this.getAxis("y").containData(le[1])},ie.prototype.containZone=function(le,ue){var de=this.dataToPoint(le),pe=this.dataToPoint(ue),he=this.getArea(),_e=new BoundingRect$1(de[0],de[1],pe[0]-de[0],pe[1]-de[1]);return he.intersect(_e)},ie.prototype.dataToPoint=function(le,ue,de){de=de||[];var pe=le[0],he=le[1];if(this._transform&&pe!=null&&isFinite(pe)&&he!=null&&isFinite(he))return applyTransform$1(de,le,this._transform);var _e=this.getAxis("x"),$e=this.getAxis("y");return de[0]=_e.toGlobalCoord(_e.dataToCoord(pe,ue)),de[1]=$e.toGlobalCoord($e.dataToCoord(he,ue)),de},ie.prototype.clampData=function(le,ue){var de=this.getAxis("x").scale,pe=this.getAxis("y").scale,he=de.getExtent(),_e=pe.getExtent(),$e=de.parse(le[0]),Ie=pe.parse(le[1]);return ue=ue||[],ue[0]=Math.min(Math.max(Math.min(he[0],he[1]),$e),Math.max(he[0],he[1])),ue[1]=Math.min(Math.max(Math.min(_e[0],_e[1]),Ie),Math.max(_e[0],_e[1])),ue},ie.prototype.pointToData=function(le,ue){var de=[];if(this._invTransform)return applyTransform$1(de,le,this._invTransform);var pe=this.getAxis("x"),he=this.getAxis("y");return de[0]=pe.coordToData(pe.toLocalCoord(le[0]),ue),de[1]=he.coordToData(he.toLocalCoord(le[1]),ue),de},ie.prototype.getOtherAxis=function(le){return this.getAxis(le.dim==="x"?"y":"x")},ie.prototype.getArea=function(){var le=this.getAxis("x").getGlobalExtent(),ue=this.getAxis("y").getGlobalExtent(),de=Math.min(le[0],le[1]),pe=Math.min(ue[0],ue[1]),he=Math.max(le[0],le[1])-de,_e=Math.max(ue[0],ue[1])-pe;return new BoundingRect$1(de,pe,he,_e)},ie}(Cartesian$1),Axis2D=function(oe){__extends(ie,oe);function ie(le,ue,de,pe,he){var _e=oe.call(this,le,ue,de)||this;return _e.index=0,_e.type=pe||"value",_e.position=he||"bottom",_e}return ie.prototype.isHorizontal=function(){var le=this.position;return le==="top"||le==="bottom"},ie.prototype.getGlobalExtent=function(le){var ue=this.getExtent();return ue[0]=this.toGlobalCoord(ue[0]),ue[1]=this.toGlobalCoord(ue[1]),le&&ue[0]>ue[1]&&ue.reverse(),ue},ie.prototype.pointToData=function(le,ue){return this.coordToData(this.toLocalCoord(le[this.dim==="x"?0:1]),ue)},ie.prototype.setCategorySortInfo=function(le){if(this.type!=="category")return!1;this.model.option.categorySortInfo=le,this.scale.setSortInfo(le)},ie}(Axis$1);const Axis2D$1=Axis2D;function layout$1(oe,ie,le){le=le||{};var ue=oe.coordinateSystem,de=ie.axis,pe={},he=de.getAxesOnZeroOf()[0],_e=de.position,$e=he?"onZero":_e,Ie=de.dim,Ve=ue.getRect(),Fe=[Ve.x,Ve.x+Ve.width,Ve.y,Ve.y+Ve.height],Ue={left:0,right:1,top:0,bottom:1,onZero:2},qe=ie.get("offset")||0,Et=Ie==="x"?[Fe[2]-qe,Fe[3]+qe]:[Fe[0]-qe,Fe[1]+qe];if(he){var At=he.toGlobalCoord(he.dataToCoord(0));Et[Ue.onZero]=Math.max(Math.min(At,Et[1]),Et[0])}pe.position=[Ie==="y"?Et[Ue[$e]]:Fe[0],Ie==="x"?Et[Ue[$e]]:Fe[3]],pe.rotation=Math.PI/2*(Ie==="x"?0:1);var Lt={top:-1,bottom:1,left:-1,right:1};pe.labelDirection=pe.tickDirection=pe.nameDirection=Lt[_e],pe.labelOffset=he?Et[Ue[_e]]-Et[Ue.onZero]:0,ie.get(["axisTick","inside"])&&(pe.tickDirection=-pe.tickDirection),retrieve(le.labelInside,ie.get(["axisLabel","inside"]))&&(pe.labelDirection=-pe.labelDirection);var hn=ie.get(["axisLabel","rotate"]);return pe.labelRotate=$e==="top"?-hn:hn,pe.z2=1,pe}function isCartesian2DSeries(oe){return oe.get("coordinateSystem")==="cartesian2d"}function findAxisModels(oe){var ie={xAxisModel:null,yAxisModel:null};return each$c(ie,function(le,ue){var de=ue.replace(/Model$/,""),pe=oe.getReferringComponents(de,SINGLE_REFERRING).models[0];ie[ue]=pe}),ie}var mathLog=Math.log;function alignScaleTicks(oe,ie,le){var ue=IntervalScale$1.prototype,de=ue.getTicks.call(le),pe=ue.getTicks.call(le,!0),he=de.length-1,_e=ue.getInterval.call(le),$e=getScaleExtent(oe,ie),Ie=$e.extent,Ve=$e.fixMin,Fe=$e.fixMax;if(oe.type==="log"){var Ue=mathLog(oe.base);Ie=[mathLog(Ie[0])/Ue,mathLog(Ie[1])/Ue]}oe.setExtent(Ie[0],Ie[1]),oe.calcNiceExtent({splitNumber:he,fixMin:Ve,fixMax:Fe});var qe=ue.getExtent.call(oe);Ve&&(Ie[0]=qe[0]),Fe&&(Ie[1]=qe[1]);var Et=ue.getInterval.call(oe),At=Ie[0],Lt=Ie[1];if(Ve&&Fe)Et=(Lt-At)/he;else if(Ve)for(Lt=Ie[0]+Et*he;Lt<Ie[1]&&isFinite(Lt)&&isFinite(Ie[1]);)Et=increaseInterval(Et),Lt=Ie[0]+Et*he;else if(Fe)for(At=Ie[1]-Et*he;At>Ie[0]&&isFinite(At)&&isFinite(Ie[0]);)Et=increaseInterval(Et),At=Ie[1]-Et*he;else{var hn=oe.getTicks().length-1;hn>he&&(Et=increaseInterval(Et));var vn=Et*he;Lt=Math.ceil(Ie[1]/Et)*Et,At=round$1(Lt-vn),At<0&&Ie[0]>=0?(At=0,Lt=round$1(vn)):Lt>0&&Ie[1]<=0&&(Lt=0,At=-round$1(vn))}var _n=(de[0].value-pe[0].value)/_e,bn=(de[he].value-pe[he].value)/_e;ue.setExtent.call(oe,At+Et*_n,Lt+Et*bn),ue.setInterval.call(oe,Et),(_n||bn)&&ue.setNiceExtent.call(oe,At+Et,Lt-Et)}var Grid=function(){function oe(ie,le,ue){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(ie,le,ue),this.model=ie}return oe.prototype.getRect=function(){return this._rect},oe.prototype.update=function(ie,le){var ue=this._axesMap;this._updateScale(ie,this.model);function de(he){var _e,$e=keys(he),Ie=$e.length;if(Ie){for(var Ve=[],Fe=Ie-1;Fe>=0;Fe--){var Ue=+$e[Fe],qe=he[Ue],Et=qe.model,At=qe.scale;isIntervalOrLogScale(At)&&Et.get("alignTicks")&&Et.get("interval")==null?Ve.push(qe):(niceScaleExtent(At,Et),isIntervalOrLogScale(At)&&(_e=qe))}Ve.length&&(_e||(_e=Ve.pop(),niceScaleExtent(_e.scale,_e.model)),each$c(Ve,function(Lt){alignScaleTicks(Lt.scale,Lt.model,_e.scale)}))}}de(ue.x),de(ue.y);var pe={};each$c(ue.x,function(he){fixAxisOnZero(ue,"y",he,pe)}),each$c(ue.y,function(he){fixAxisOnZero(ue,"x",he,pe)}),this.resize(this.model,le)},oe.prototype.resize=function(ie,le,ue){var de=ie.getBoxLayoutParams(),pe=!ue&&ie.get("containLabel"),he=getLayoutRect(de,{width:le.getWidth(),height:le.getHeight()});this._rect=he;var _e=this._axesList;$e(),pe&&(each$c(_e,function(Ie){if(!Ie.model.get(["axisLabel","inside"])){var Ve=estimateLabelUnionRect(Ie);if(Ve){var Fe=Ie.isHorizontal()?"height":"width",Ue=Ie.model.get(["axisLabel","margin"]);he[Fe]-=Ve[Fe]+Ue,Ie.position==="top"?he.y+=Ve.height+Ue:Ie.position==="left"&&(he.x+=Ve.width+Ue)}}}),$e()),each$c(this._coordsList,function(Ie){Ie.calcAffineTransform()});function $e(){each$c(_e,function(Ie){var Ve=Ie.isHorizontal(),Fe=Ve?[0,he.width]:[0,he.height],Ue=Ie.inverse?1:0;Ie.setExtent(Fe[Ue],Fe[1-Ue]),updateAxisTransform(Ie,Ve?he.x:he.y)})}},oe.prototype.getAxis=function(ie,le){var ue=this._axesMap[ie];if(ue!=null)return ue[le||0]},oe.prototype.getAxes=function(){return this._axesList.slice()},oe.prototype.getCartesian=function(ie,le){if(ie!=null&&le!=null){var ue="x"+ie+"y"+le;return this._coordsMap[ue]}isObject$3(ie)&&(le=ie.yAxisIndex,ie=ie.xAxisIndex);for(var de=0,pe=this._coordsList;de<pe.length;de++)if(pe[de].getAxis("x").index===ie||pe[de].getAxis("y").index===le)return pe[de]},oe.prototype.getCartesians=function(){return this._coordsList.slice()},oe.prototype.convertToPixel=function(ie,le,ue){var de=this._findConvertTarget(le);return de.cartesian?de.cartesian.dataToPoint(ue):de.axis?de.axis.toGlobalCoord(de.axis.dataToCoord(ue)):null},oe.prototype.convertFromPixel=function(ie,le,ue){var de=this._findConvertTarget(le);return de.cartesian?de.cartesian.pointToData(ue):de.axis?de.axis.coordToData(de.axis.toLocalCoord(ue)):null},oe.prototype._findConvertTarget=function(ie){var le=ie.seriesModel,ue=ie.xAxisModel||le&&le.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],de=ie.yAxisModel||le&&le.getReferringComponents("yAxis",SINGLE_REFERRING).models[0],pe=ie.gridModel,he=this._coordsList,_e,$e;if(le)_e=le.coordinateSystem,indexOf(he,_e)<0&&(_e=null);else if(ue&&de)_e=this.getCartesian(ue.componentIndex,de.componentIndex);else if(ue)$e=this.getAxis("x",ue.componentIndex);else if(de)$e=this.getAxis("y",de.componentIndex);else if(pe){var Ie=pe.coordinateSystem;Ie===this&&(_e=this._coordsList[0])}return{cartesian:_e,axis:$e}},oe.prototype.containPoint=function(ie){var le=this._coordsList[0];if(le)return le.containPoint(ie)},oe.prototype._initCartesian=function(ie,le,ue){var de=this,pe=this,he={left:!1,right:!1,top:!1,bottom:!1},_e={x:{},y:{}},$e={x:0,y:0};if(le.eachComponent("xAxis",Ie("x"),this),le.eachComponent("yAxis",Ie("y"),this),!$e.x||!$e.y){this._axesMap={},this._axesList=[];return}this._axesMap=_e,each$c(_e.x,function(Ve,Fe){each$c(_e.y,function(Ue,qe){var Et="x"+Fe+"y"+qe,At=new Cartesian2D(Et);At.master=de,At.model=ie,de._coordsMap[Et]=At,de._coordsList.push(At),At.addAxis(Ve),At.addAxis(Ue)})});function Ie(Ve){return function(Fe,Ue){if(isAxisUsedInTheGrid(Fe,ie)){var qe=Fe.get("position");Ve==="x"?qe!=="top"&&qe!=="bottom"&&(qe=he.bottom?"top":"bottom"):qe!=="left"&&qe!=="right"&&(qe=he.left?"right":"left"),he[qe]=!0;var Et=new Axis2D$1(Ve,createScaleByModel(Fe),[0,0],Fe.get("type"),qe),At=Et.type==="category";Et.onBand=At&&Fe.get("boundaryGap"),Et.inverse=Fe.get("inverse"),Fe.axis=Et,Et.model=Fe,Et.grid=pe,Et.index=Ue,pe._axesList.push(Et),_e[Ve][Ue]=Et,$e[Ve]++}}}},oe.prototype._updateScale=function(ie,le){each$c(this._axesList,function(de){if(de.scale.setExtent(1/0,-1/0),de.type==="category"){var pe=de.model.get("categorySortInfo");de.scale.setSortInfo(pe)}}),ie.eachSeries(function(de){if(isCartesian2DSeries(de)){var pe=findAxisModels(de),he=pe.xAxisModel,_e=pe.yAxisModel;if(!isAxisUsedInTheGrid(he,le)||!isAxisUsedInTheGrid(_e,le))return;var $e=this.getCartesian(he.componentIndex,_e.componentIndex),Ie=de.getData(),Ve=$e.getAxis("x"),Fe=$e.getAxis("y");ue(Ie,Ve),ue(Ie,Fe)}},this);function ue(de,pe){each$c(getDataDimensionsOnAxis(de,pe.dim),function(he){pe.scale.unionExtentFromData(de,he)})}},oe.prototype.getTooltipAxes=function(ie){var le=[],ue=[];return each$c(this.getCartesians(),function(de){var pe=ie!=null&&ie!=="auto"?de.getAxis(ie):de.getBaseAxis(),he=de.getOtherAxis(pe);indexOf(le,pe)<0&&le.push(pe),indexOf(ue,he)<0&&ue.push(he)}),{baseAxes:le,otherAxes:ue}},oe.create=function(ie,le){var ue=[];return ie.eachComponent("grid",function(de,pe){var he=new oe(de,ie,le);he.name="grid_"+pe,he.resize(de,le,!0),de.coordinateSystem=he,ue.push(he)}),ie.eachSeries(function(de){if(isCartesian2DSeries(de)){var pe=findAxisModels(de),he=pe.xAxisModel,_e=pe.yAxisModel,$e=he.getCoordSysModel(),Ie=$e.coordinateSystem;de.coordinateSystem=Ie.getCartesian(he.componentIndex,_e.componentIndex)}}),ue},oe.dimensions=cartesian2DDimensions,oe}();function isAxisUsedInTheGrid(oe,ie){return oe.getCoordSysModel()===ie}function fixAxisOnZero(oe,ie,le,ue){le.getAxesOnZeroOf=function(){return pe?[pe]:[]};var de=oe[ie],pe,he=le.model,_e=he.get(["axisLine","onZero"]),$e=he.get(["axisLine","onZeroAxisIndex"]);if(!_e)return;if($e!=null)canOnZeroToAxis(de[$e])&&(pe=de[$e]);else for(var Ie in de)if(de.hasOwnProperty(Ie)&&canOnZeroToAxis(de[Ie])&&!ue[Ve(de[Ie])]){pe=de[Ie];break}pe&&(ue[Ve(pe)]=!0);function Ve(Fe){return Fe.dim+"_"+Fe.index}}function canOnZeroToAxis(oe){return oe&&oe.type!=="category"&&oe.type!=="time"&&ifAxisCrossZero(oe)}function updateAxisTransform(oe,ie){var le=oe.getExtent(),ue=le[0]+le[1];oe.toGlobalCoord=oe.dim==="x"?function(de){return de+ie}:function(de){return ue-de+ie},oe.toLocalCoord=oe.dim==="x"?function(de){return de-ie}:function(de){return ue-de+ie}}const Grid$1=Grid;var PI=Math.PI,AxisBuilder=function(){function oe(ie,le){this.group=new Group$3,this.opt=le,this.axisModel=ie,defaults(le,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var ue=new Group$3({x:le.position[0],y:le.position[1],rotation:le.rotation});ue.updateTransform(),this._transformGroup=ue}return oe.prototype.hasBuilder=function(ie){return!!builders[ie]},oe.prototype.add=function(ie){builders[ie](this.opt,this.axisModel,this.group,this._transformGroup)},oe.prototype.getGroup=function(){return this.group},oe.innerTextLayout=function(ie,le,ue){var de=remRadian(le-ie),pe,he;return isRadianAroundZero(de)?(he=ue>0?"top":"bottom",pe="center"):isRadianAroundZero(de-PI)?(he=ue>0?"bottom":"top",pe="center"):(he="middle",de>0&&de<PI?pe=ue>0?"right":"left":pe=ue>0?"left":"right"),{rotation:de,textAlign:pe,textVerticalAlign:he}},oe.makeAxisEventDataBase=function(ie){var le={componentType:ie.mainType,componentIndex:ie.componentIndex};return le[ie.mainType+"Index"]=ie.componentIndex,le},oe.isLabelSilent=function(ie){var le=ie.get("tooltip");return ie.get("silent")||!(ie.get("triggerEvent")||le&&le.show)},oe}(),builders={axisLine:function(oe,ie,le,ue){var de=ie.get(["axisLine","show"]);if(de==="auto"&&oe.handleAutoShown&&(de=oe.handleAutoShown("axisLine")),!!de){var pe=ie.axis.getExtent(),he=ue.transform,_e=[pe[0],0],$e=[pe[1],0],Ie=_e[0]>$e[0];he&&(applyTransform$1(_e,_e,he),applyTransform$1($e,$e,he));var Ve=extend({lineCap:"round"},ie.getModel(["axisLine","lineStyle"]).getLineStyle()),Fe=new Line$1({shape:{x1:_e[0],y1:_e[1],x2:$e[0],y2:$e[1]},style:Ve,strokeContainThreshold:oe.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(Fe.shape,Fe.style.lineWidth),Fe.anid="line",le.add(Fe);var Ue=ie.get(["axisLine","symbol"]);if(Ue!=null){var qe=ie.get(["axisLine","symbolSize"]);isString(Ue)&&(Ue=[Ue,Ue]),(isString(qe)||isNumber(qe))&&(qe=[qe,qe]);var Et=normalizeSymbolOffset(ie.get(["axisLine","symbolOffset"])||0,qe),At=qe[0],Lt=qe[1];each$c([{rotate:oe.rotation+Math.PI/2,offset:Et[0],r:0},{rotate:oe.rotation-Math.PI/2,offset:Et[1],r:Math.sqrt((_e[0]-$e[0])*(_e[0]-$e[0])+(_e[1]-$e[1])*(_e[1]-$e[1]))}],function(hn,vn){if(Ue[vn]!=="none"&&Ue[vn]!=null){var _n=createSymbol(Ue[vn],-At/2,-Lt/2,At,Lt,Ve.stroke,!0),bn=hn.r+hn.offset,Sn=Ie?$e:_e;_n.attr({rotation:hn.rotate,x:Sn[0]+bn*Math.cos(oe.rotation),y:Sn[1]-bn*Math.sin(oe.rotation),silent:!0,z2:11}),le.add(_n)}})}}},axisTickLabel:function(oe,ie,le,ue){var de=buildAxisMajorTicks(le,ue,ie,oe),pe=buildAxisLabel(le,ue,ie,oe);if(fixMinMaxLabelShow(ie,pe,de),buildAxisMinorTicks(le,ue,ie,oe.tickDirection),ie.get(["axisLabel","hideOverlap"])){var he=prepareLayoutList(map$2(pe,function(_e){return{label:_e,priority:_e.z2,defaultAttr:{ignore:_e.ignore}}}));hideOverlap(he)}},axisName:function(oe,ie,le,ue){var de=retrieve(oe.axisName,ie.get("name"));if(de){var pe=ie.get("nameLocation"),he=oe.nameDirection,_e=ie.getModel("nameTextStyle"),$e=ie.get("nameGap")||0,Ie=ie.axis.getExtent(),Ve=Ie[0]>Ie[1]?-1:1,Fe=[pe==="start"?Ie[0]-Ve*$e:pe==="end"?Ie[1]+Ve*$e:(Ie[0]+Ie[1])/2,isNameLocationCenter(pe)?oe.labelOffset+he*$e:0],Ue,qe=ie.get("nameRotate");qe!=null&&(qe=qe*PI/180);var Et;isNameLocationCenter(pe)?Ue=AxisBuilder.innerTextLayout(oe.rotation,qe??oe.rotation,he):(Ue=endTextLayout(oe.rotation,pe,qe||0,Ie),Et=oe.axisNameAvailableWidth,Et!=null&&(Et=Math.abs(Et/Math.sin(Ue.rotation)),!isFinite(Et)&&(Et=null)));var At=_e.getFont(),Lt=ie.get("nameTruncate",!0)||{},hn=Lt.ellipsis,vn=retrieve(oe.nameTruncateMaxWidth,Lt.maxWidth,Et),_n=new ZRText$1({x:Fe[0],y:Fe[1],rotation:Ue.rotation,silent:AxisBuilder.isLabelSilent(ie),style:createTextStyle$1(_e,{text:de,font:At,overflow:"truncate",width:vn,ellipsis:hn,fill:_e.getTextColor()||ie.get(["axisLine","lineStyle","color"]),align:_e.get("align")||Ue.textAlign,verticalAlign:_e.get("verticalAlign")||Ue.textVerticalAlign}),z2:1});if(setTooltipConfig({el:_n,componentModel:ie,itemName:de}),_n.__fullText=de,_n.anid="name",ie.get("triggerEvent")){var bn=AxisBuilder.makeAxisEventDataBase(ie);bn.targetType="axisName",bn.name=de,getECData(_n).eventData=bn}ue.add(_n),_n.updateTransform(),le.add(_n),_n.decomposeTransform()}}};function endTextLayout(oe,ie,le,ue){var de=remRadian(le-oe),pe,he,_e=ue[0]>ue[1],$e=ie==="start"&&!_e||ie!=="start"&&_e;return isRadianAroundZero(de-PI/2)?(he=$e?"bottom":"top",pe="center"):isRadianAroundZero(de-PI*1.5)?(he=$e?"top":"bottom",pe="center"):(he="middle",de<PI*1.5&&de>PI/2?pe=$e?"left":"right":pe=$e?"right":"left"),{rotation:de,textAlign:pe,textVerticalAlign:he}}function fixMinMaxLabelShow(oe,ie,le){if(!shouldShowAllLabels(oe.axis)){var ue=oe.get(["axisLabel","showMinLabel"]),de=oe.get(["axisLabel","showMaxLabel"]);ie=ie||[],le=le||[];var pe=ie[0],he=ie[1],_e=ie[ie.length-1],$e=ie[ie.length-2],Ie=le[0],Ve=le[1],Fe=le[le.length-1],Ue=le[le.length-2];ue===!1?(ignoreEl(pe),ignoreEl(Ie)):isTwoLabelOverlapped(pe,he)&&(ue?(ignoreEl(he),ignoreEl(Ve)):(ignoreEl(pe),ignoreEl(Ie))),de===!1?(ignoreEl(_e),ignoreEl(Fe)):isTwoLabelOverlapped($e,_e)&&(de?(ignoreEl($e),ignoreEl(Ue)):(ignoreEl(_e),ignoreEl(Fe)))}}function ignoreEl(oe){oe&&(oe.ignore=!0)}function isTwoLabelOverlapped(oe,ie){var le=oe&&oe.getBoundingRect().clone(),ue=ie&&ie.getBoundingRect().clone();if(!(!le||!ue)){var de=identity([]);return rotate(de,de,-oe.rotation),le.applyTransform(mul([],de,oe.getLocalTransform())),ue.applyTransform(mul([],de,ie.getLocalTransform())),le.intersect(ue)}}function isNameLocationCenter(oe){return oe==="middle"||oe==="center"}function createTicks(oe,ie,le,ue,de){for(var pe=[],he=[],_e=[],$e=0;$e<oe.length;$e++){var Ie=oe[$e].coord;he[0]=Ie,he[1]=0,_e[0]=Ie,_e[1]=le,ie&&(applyTransform$1(he,he,ie),applyTransform$1(_e,_e,ie));var Ve=new Line$1({shape:{x1:he[0],y1:he[1],x2:_e[0],y2:_e[1]},style:ue,z2:2,autoBatch:!0,silent:!0});subPixelOptimizeLine(Ve.shape,Ve.style.lineWidth),Ve.anid=de+"_"+oe[$e].tickValue,pe.push(Ve)}return pe}function buildAxisMajorTicks(oe,ie,le,ue){var de=le.axis,pe=le.getModel("axisTick"),he=pe.get("show");if(he==="auto"&&ue.handleAutoShown&&(he=ue.handleAutoShown("axisTick")),!(!he||de.scale.isBlank())){for(var _e=pe.getModel("lineStyle"),$e=ue.tickDirection*pe.get("length"),Ie=de.getTicksCoords(),Ve=createTicks(Ie,ie.transform,$e,defaults(_e.getLineStyle(),{stroke:le.get(["axisLine","lineStyle","color"])}),"ticks"),Fe=0;Fe<Ve.length;Fe++)oe.add(Ve[Fe]);return Ve}}function buildAxisMinorTicks(oe,ie,le,ue){var de=le.axis,pe=le.getModel("minorTick");if(!(!pe.get("show")||de.scale.isBlank())){var he=de.getMinorTicksCoords();if(he.length)for(var _e=pe.getModel("lineStyle"),$e=ue*pe.get("length"),Ie=defaults(_e.getLineStyle(),defaults(le.getModel("axisTick").getLineStyle(),{stroke:le.get(["axisLine","lineStyle","color"])})),Ve=0;Ve<he.length;Ve++)for(var Fe=createTicks(he[Ve],ie.transform,$e,Ie,"minorticks_"+Ve),Ue=0;Ue<Fe.length;Ue++)oe.add(Fe[Ue])}}function buildAxisLabel(oe,ie,le,ue){var de=le.axis,pe=retrieve(ue.axisLabelShow,le.get(["axisLabel","show"]));if(!(!pe||de.scale.isBlank())){var he=le.getModel("axisLabel"),_e=he.get("margin"),$e=de.getViewLabels(),Ie=(retrieve(ue.labelRotate,he.get("rotate"))||0)*PI/180,Ve=AxisBuilder.innerTextLayout(ue.rotation,Ie,ue.labelDirection),Fe=le.getCategories&&le.getCategories(!0),Ue=[],qe=AxisBuilder.isLabelSilent(le),Et=le.get("triggerEvent");return each$c($e,function(At,Lt){var hn=de.scale.type==="ordinal"?de.scale.getRawOrdinalNumber(At.tickValue):At.tickValue,vn=At.formattedLabel,_n=At.rawLabel,bn=he;if(Fe&&Fe[hn]){var Sn=Fe[hn];isObject$3(Sn)&&Sn.textStyle&&(bn=new Model$1(Sn.textStyle,he,le.ecModel))}var Cn=bn.getTextColor()||le.get(["axisLine","lineStyle","color"]),En=de.dataToCoord(hn),wn=new ZRText$1({x:En,y:ue.labelOffset+ue.labelDirection*_e,rotation:Ve.rotation,silent:qe,z2:10+(At.level||0),style:createTextStyle$1(bn,{text:vn,align:bn.getShallow("align",!0)||Ve.textAlign,verticalAlign:bn.getShallow("verticalAlign",!0)||bn.getShallow("baseline",!0)||Ve.textVerticalAlign,fill:isFunction(Cn)?Cn(de.type==="category"?_n:de.type==="value"?hn+"":hn,Lt):Cn})});if(wn.anid="label_"+hn,Et){var xn=AxisBuilder.makeAxisEventDataBase(le);xn.targetType="axisLabel",xn.value=_n,xn.tickIndex=Lt,de.type==="category"&&(xn.dataIndex=hn),getECData(wn).eventData=xn}ie.add(wn),wn.updateTransform(),Ue.push(wn),oe.add(wn),wn.decomposeTransform()}),Ue}}const AxisBuilder$1=AxisBuilder;function collect(oe,ie){var le={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return collectAxesInfo(le,oe,ie),le.seriesInvolved&&collectSeriesInfo(le,oe),le}function collectAxesInfo(oe,ie,le){var ue=ie.getComponent("tooltip"),de=ie.getComponent("axisPointer"),pe=de.get("link",!0)||[],he=[];each$c(le.getCoordinateSystems(),function(_e){if(!_e.axisPointerEnabled)return;var $e=makeKey(_e.model),Ie=oe.coordSysAxesInfo[$e]={};oe.coordSysMap[$e]=_e;var Ve=_e.model,Fe=Ve.getModel("tooltip",ue);if(each$c(_e.getAxes(),curry$1(At,!1,null)),_e.getTooltipAxes&&ue&&Fe.get("show")){var Ue=Fe.get("trigger")==="axis",qe=Fe.get(["axisPointer","type"])==="cross",Et=_e.getTooltipAxes(Fe.get(["axisPointer","axis"]));(Ue||qe)&&each$c(Et.baseAxes,curry$1(At,qe?"cross":!0,Ue)),qe&&each$c(Et.otherAxes,curry$1(At,"cross",!1))}function At(Lt,hn,vn){var _n=vn.model.getModel("axisPointer",de),bn=_n.get("show");if(!(!bn||bn==="auto"&&!Lt&&!isHandleTrigger(_n))){hn==null&&(hn=_n.get("triggerTooltip")),_n=Lt?makeAxisPointerModel(vn,Fe,de,ie,Lt,hn):_n;var Sn=_n.get("snap"),Cn=makeKey(vn.model),En=hn||Sn||vn.type==="category",wn=oe.axesInfo[Cn]={key:Cn,axis:vn,coordSys:_e,axisPointerModel:_n,triggerTooltip:hn,involveSeries:En,snap:Sn,useHandle:isHandleTrigger(_n),seriesModels:[],linkGroup:null};Ie[Cn]=wn,oe.seriesInvolved=oe.seriesInvolved||En;var xn=getLinkGroupIndex(pe,vn);if(xn!=null){var kn=he[xn]||(he[xn]={axesInfo:{}});kn.axesInfo[Cn]=wn,kn.mapper=pe[xn].mapper,wn.linkGroup=kn}}}})}function makeAxisPointerModel(oe,ie,le,ue,de,pe){var he=ie.getModel("axisPointer"),_e=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],$e={};each$c(_e,function(Ue){$e[Ue]=clone$3(he.get(Ue))}),$e.snap=oe.type!=="category"&&!!pe,he.get("type")==="cross"&&($e.type="line");var Ie=$e.label||($e.label={});if(Ie.show==null&&(Ie.show=!1),de==="cross"){var Ve=he.get(["label","show"]);if(Ie.show=Ve??!0,!pe){var Fe=$e.lineStyle=he.get("crossStyle");Fe&&defaults(Ie,Fe.textStyle)}}return oe.model.getModel("axisPointer",new Model$1($e,le,ue))}function collectSeriesInfo(oe,ie){ie.eachSeries(function(le){var ue=le.coordinateSystem,de=le.get(["tooltip","trigger"],!0),pe=le.get(["tooltip","show"],!0);!ue||de==="none"||de===!1||de==="item"||pe===!1||le.get(["axisPointer","show"],!0)===!1||each$c(oe.coordSysAxesInfo[makeKey(ue.model)],function(he){var _e=he.axis;ue.getAxis(_e.dim)===_e&&(he.seriesModels.push(le),he.seriesDataCount==null&&(he.seriesDataCount=0),he.seriesDataCount+=le.getData().count())})})}function getLinkGroupIndex(oe,ie){for(var le=ie.model,ue=ie.dim,de=0;de<oe.length;de++){var pe=oe[de]||{};if(checkPropInLink(pe[ue+"AxisId"],le.id)||checkPropInLink(pe[ue+"AxisIndex"],le.componentIndex)||checkPropInLink(pe[ue+"AxisName"],le.name))return de}}function checkPropInLink(oe,ie){return oe==="all"||isArray$1(oe)&&indexOf(oe,ie)>=0||oe===ie}function fixValue(oe){var ie=getAxisInfo(oe);if(ie){var le=ie.axisPointerModel,ue=ie.axis.scale,de=le.option,pe=le.get("status"),he=le.get("value");he!=null&&(he=ue.parse(he));var _e=isHandleTrigger(le);pe==null&&(de.status=_e?"show":"hide");var $e=ue.getExtent().slice();$e[0]>$e[1]&&$e.reverse(),(he==null||he>$e[1])&&(he=$e[1]),he<$e[0]&&(he=$e[0]),de.value=he,_e&&(de.status=ie.axis.scale.isBlank()?"hide":"show")}}function getAxisInfo(oe){var ie=(oe.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return ie&&ie.axesInfo[makeKey(oe)]}function getAxisPointerModel(oe){var ie=getAxisInfo(oe);return ie&&ie.axisPointerModel}function isHandleTrigger(oe){return!!oe.get(["handle","show"])}function makeKey(oe){return oe.type+"||"+oe.id}var axisPointerClazz={},AxisView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.render=function(le,ue,de,pe){this.axisPointerClass&&fixValue(le),oe.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(le,de,!0)},ie.prototype.updateAxisPointer=function(le,ue,de,pe){this._doUpdateAxisPointerClass(le,de,!1)},ie.prototype.remove=function(le,ue){var de=this._axisPointer;de&&de.remove(ue)},ie.prototype.dispose=function(le,ue){this._disposeAxisPointer(ue),oe.prototype.dispose.apply(this,arguments)},ie.prototype._doUpdateAxisPointerClass=function(le,ue,de){var pe=ie.getAxisPointerClass(this.axisPointerClass);if(pe){var he=getAxisPointerModel(le);he?(this._axisPointer||(this._axisPointer=new pe)).render(le,he,ue,de):this._disposeAxisPointer(ue)}},ie.prototype._disposeAxisPointer=function(le){this._axisPointer&&this._axisPointer.dispose(le),this._axisPointer=null},ie.registerAxisPointerClass=function(le,ue){axisPointerClazz[le]=ue},ie.getAxisPointerClass=function(le){return le&&axisPointerClazz[le]},ie.type="axis",ie}(ComponentView$1);const AxisView$1=AxisView;var inner$6=makeInner();function rectCoordAxisBuildSplitArea(oe,ie,le,ue){var de=le.axis;if(!de.scale.isBlank()){var pe=le.getModel("splitArea"),he=pe.getModel("areaStyle"),_e=he.get("color"),$e=ue.coordinateSystem.getRect(),Ie=de.getTicksCoords({tickModel:pe,clamp:!0});if(Ie.length){var Ve=_e.length,Fe=inner$6(oe).splitAreaColors,Ue=createHashMap(),qe=0;if(Fe)for(var Et=0;Et<Ie.length;Et++){var At=Fe.get(Ie[Et].tickValue);if(At!=null){qe=(At+(Ve-1)*Et)%Ve;break}}var Lt=de.toGlobalCoord(Ie[0].coord),hn=he.getAreaStyle();_e=isArray$1(_e)?_e:[_e];for(var Et=1;Et<Ie.length;Et++){var vn=de.toGlobalCoord(Ie[Et].coord),_n=void 0,bn=void 0,Sn=void 0,Cn=void 0;de.isHorizontal()?(_n=Lt,bn=$e.y,Sn=vn-_n,Cn=$e.height,Lt=_n+Sn):(_n=$e.x,bn=Lt,Sn=$e.width,Cn=vn-bn,Lt=bn+Cn);var En=Ie[Et-1].tickValue;En!=null&&Ue.set(En,qe),ie.add(new Rect$2({anid:En!=null?"area_"+En:null,shape:{x:_n,y:bn,width:Sn,height:Cn},style:defaults({fill:_e[qe]},hn),autoBatch:!0,silent:!0})),qe=(qe+1)%Ve}inner$6(oe).splitAreaColors=Ue}}}function rectCoordAxisHandleRemove(oe){inner$6(oe).splitAreaColors=null}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine","minorSplitLine"],CartesianAxisView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.axisPointerClass="CartesianAxisPointer",le}return ie.prototype.render=function(le,ue,de,pe){this.group.removeAll();var he=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!le.get("show")){var _e=le.getCoordSysModel(),$e=layout$1(_e,le),Ie=new AxisBuilder$1(le,extend({handleAutoShown:function(Fe){for(var Ue=_e.coordinateSystem.getCartesians(),qe=0;qe<Ue.length;qe++)if(isIntervalOrLogScale(Ue[qe].getOtherAxis(le.axis).scale))return!0;return!1}},$e));each$c(axisBuilderAttrs,Ie.add,Ie),this._axisGroup.add(Ie.getGroup()),each$c(selfBuilderAttrs,function(Fe){le.get([Fe,"show"])&&axisElementBuilders[Fe](this,this._axisGroup,le,_e)},this);var Ve=pe&&pe.type==="changeAxisOrder"&&pe.isInitSort;Ve||groupTransition(he,this._axisGroup,le),oe.prototype.render.call(this,le,ue,de,pe)}},ie.prototype.remove=function(){rectCoordAxisHandleRemove(this)},ie.type="cartesianAxis",ie}(AxisView$1),axisElementBuilders={splitLine:function(oe,ie,le,ue){var de=le.axis;if(!de.scale.isBlank()){var pe=le.getModel("splitLine"),he=pe.getModel("lineStyle"),_e=he.get("color");_e=isArray$1(_e)?_e:[_e];for(var $e=ue.coordinateSystem.getRect(),Ie=de.isHorizontal(),Ve=0,Fe=de.getTicksCoords({tickModel:pe}),Ue=[],qe=[],Et=he.getLineStyle(),At=0;At<Fe.length;At++){var Lt=de.toGlobalCoord(Fe[At].coord);Ie?(Ue[0]=Lt,Ue[1]=$e.y,qe[0]=Lt,qe[1]=$e.y+$e.height):(Ue[0]=$e.x,Ue[1]=Lt,qe[0]=$e.x+$e.width,qe[1]=Lt);var hn=Ve++%_e.length,vn=Fe[At].tickValue,_n=new Line$1({anid:vn!=null?"line_"+Fe[At].tickValue:null,autoBatch:!0,shape:{x1:Ue[0],y1:Ue[1],x2:qe[0],y2:qe[1]},style:defaults({stroke:_e[hn]},Et),silent:!0});subPixelOptimizeLine(_n.shape,Et.lineWidth),ie.add(_n)}}},minorSplitLine:function(oe,ie,le,ue){var de=le.axis,pe=le.getModel("minorSplitLine"),he=pe.getModel("lineStyle"),_e=ue.coordinateSystem.getRect(),$e=de.isHorizontal(),Ie=de.getMinorTicksCoords();if(Ie.length)for(var Ve=[],Fe=[],Ue=he.getLineStyle(),qe=0;qe<Ie.length;qe++)for(var Et=0;Et<Ie[qe].length;Et++){var At=de.toGlobalCoord(Ie[qe][Et].coord);$e?(Ve[0]=At,Ve[1]=_e.y,Fe[0]=At,Fe[1]=_e.y+_e.height):(Ve[0]=_e.x,Ve[1]=At,Fe[0]=_e.x+_e.width,Fe[1]=At);var Lt=new Line$1({anid:"minor_line_"+Ie[qe][Et].tickValue,autoBatch:!0,shape:{x1:Ve[0],y1:Ve[1],x2:Fe[0],y2:Fe[1]},style:Ue,silent:!0});subPixelOptimizeLine(Lt.shape,Ue.lineWidth),ie.add(Lt)}},splitArea:function(oe,ie,le,ue){rectCoordAxisBuildSplitArea(oe,ie,le,ue)}},CartesianXAxisView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="xAxis",ie}(CartesianAxisView),CartesianYAxisView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=CartesianXAxisView.type,le}return ie.type="yAxis",ie}(CartesianAxisView),GridView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="grid",le}return ie.prototype.render=function(le,ue){this.group.removeAll(),le.get("show")&&this.group.add(new Rect$2({shape:le.coordinateSystem.getRect(),style:defaults({fill:le.get("backgroundColor")},le.getItemStyle()),silent:!0,z2:-1}))},ie.type="grid",ie}(ComponentView$1),extraOption={offset:0};function install$g(oe){oe.registerComponentView(GridView),oe.registerComponentModel(GridModel$1),oe.registerCoordinateSystem("cartesian2d",Grid$1),axisModelCreator(oe,"x",CartesianAxisModel,extraOption),axisModelCreator(oe,"y",CartesianAxisModel,extraOption),oe.registerComponentView(CartesianXAxisView),oe.registerComponentView(CartesianYAxisView),oe.registerPreprocessor(function(ie){ie.xAxis&&ie.yAxis&&!ie.grid&&(ie.grid={})})}var ATTR="\0_ec_interaction_mutex";function take(oe,ie,le){var ue=getStore(oe);ue[ie]=le}function release(oe,ie,le){var ue=getStore(oe),de=ue[ie];de===le&&(ue[ie]=null)}function isTaken(oe,ie){return!!getStore(oe)[ie]}function getStore(oe){return oe[ATTR]||(oe[ATTR]={})}registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},noop);var RoamController=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this)||this;ue._zr=le;var de=bind$1(ue._mousedownHandler,ue),pe=bind$1(ue._mousemoveHandler,ue),he=bind$1(ue._mouseupHandler,ue),_e=bind$1(ue._mousewheelHandler,ue),$e=bind$1(ue._pinchHandler,ue);return ue.enable=function(Ie,Ve){this.disable(),this._opt=defaults(clone$3(Ve)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),Ie==null&&(Ie=!0),(Ie===!0||Ie==="move"||Ie==="pan")&&(le.on("mousedown",de),le.on("mousemove",pe),le.on("mouseup",he)),(Ie===!0||Ie==="scale"||Ie==="zoom")&&(le.on("mousewheel",_e),le.on("pinch",$e))},ue.disable=function(){le.off("mousedown",de),le.off("mousemove",pe),le.off("mouseup",he),le.off("mousewheel",_e),le.off("pinch",$e)},ue}return ie.prototype.isDragging=function(){return this._dragging},ie.prototype.isPinching=function(){return this._pinching},ie.prototype.setPointerChecker=function(le){this.pointerChecker=le},ie.prototype.dispose=function(){this.disable()},ie.prototype._mousedownHandler=function(le){if(!isMiddleOrRightButtonOnMouseUpDown(le)){for(var ue=le.target;ue;){if(ue.draggable)return;ue=ue.__hostTarget||ue.parent}var de=le.offsetX,pe=le.offsetY;this.pointerChecker&&this.pointerChecker(le,de,pe)&&(this._x=de,this._y=pe,this._dragging=!0)}},ie.prototype._mousemoveHandler=function(le){if(!(!this._dragging||!isAvailableBehavior("moveOnMouseMove",le,this._opt)||le.gestureEvent==="pinch"||isTaken(this._zr,"globalPan"))){var ue=le.offsetX,de=le.offsetY,pe=this._x,he=this._y,_e=ue-pe,$e=de-he;this._x=ue,this._y=de,this._opt.preventDefaultMouseMove&&stop(le.event),trigger$1(this,"pan","moveOnMouseMove",le,{dx:_e,dy:$e,oldX:pe,oldY:he,newX:ue,newY:de,isAvailableBehavior:null})}},ie.prototype._mouseupHandler=function(le){isMiddleOrRightButtonOnMouseUpDown(le)||(this._dragging=!1)},ie.prototype._mousewheelHandler=function(le){var ue=isAvailableBehavior("zoomOnMouseWheel",le,this._opt),de=isAvailableBehavior("moveOnMouseWheel",le,this._opt),pe=le.wheelDelta,he=Math.abs(pe),_e=le.offsetX,$e=le.offsetY;if(!(pe===0||!ue&&!de)){if(ue){var Ie=he>3?1.4:he>1?1.2:1.1,Ve=pe>0?Ie:1/Ie;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",le,{scale:Ve,originX:_e,originY:$e,isAvailableBehavior:null})}if(de){var Fe=Math.abs(pe),Ue=(pe>0?1:-1)*(Fe>3?.4:Fe>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",le,{scrollDelta:Ue,originX:_e,originY:$e,isAvailableBehavior:null})}}},ie.prototype._pinchHandler=function(le){if(!isTaken(this._zr,"globalPan")){var ue=le.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,le,{scale:ue,originX:le.pinchX,originY:le.pinchY,isAvailableBehavior:null})}},ie}(Eventful$1);function checkPointerAndTrigger(oe,ie,le,ue,de){oe.pointerChecker&&oe.pointerChecker(ue,de.originX,de.originY)&&(stop(ue.event),trigger$1(oe,ie,le,ue,de))}function trigger$1(oe,ie,le,ue,de){de.isAvailableBehavior=bind$1(isAvailableBehavior,null,le,ue),oe.trigger(ie,de)}function isAvailableBehavior(oe,ie,le){var ue=le[oe];return!oe||ue&&(!isString(ue)||ie.event[ue+"Key"])}const RoamController$1=RoamController;var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(oe,ie,le){var ue=ie.getComponentByElement(oe.topTarget),de=ue&&ue.coordinateSystem;return ue&&ue!==le&&!IRRELEVANT_EXCLUDES.hasOwnProperty(ue.mainType)&&de&&de.model!==le}var each$9=each$c,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function oe(ie){var le=ie.mappingMethod,ue=ie.type,de=this.option=clone$3(ie);this.type=ue,this.mappingMethod=le,this._normalizeData=normalizers[le];var pe=oe.visualHandlers[ue];this.applyVisual=pe.applyVisual,this.getColorMapper=pe.getColorMapper,this._normalizedToVisual=pe._normalizedToVisual[le],le==="piecewise"?(normalizeVisualRange(de),preprocessForPiecewise(de)):le==="category"?de.categories?preprocessForSpecifiedCategory(de):normalizeVisualRange(de,!0):(assert(le!=="linear"||de.dataExtent),normalizeVisualRange(de))}return oe.prototype.mapValueToVisual=function(ie){var le=this._normalizeData(ie);return this._normalizedToVisual(le,ie)},oe.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},oe.listVisualTypes=function(){return keys(oe.visualHandlers)},oe.isValidType=function(ie){return oe.visualHandlers.hasOwnProperty(ie)},oe.eachVisual=function(ie,le,ue){isObject$3(ie)?each$c(ie,le,ue):le.call(ue,ie)},oe.mapVisual=function(ie,le,ue){var de,pe=isArray$1(ie)?[]:isObject$3(ie)?{}:(de=!0,null);return oe.eachVisual(ie,function(he,_e){var $e=le.call(ue,he,_e);de?pe=$e:pe[_e]=$e}),pe},oe.retrieveVisuals=function(ie){var le={},ue;return ie&&each$9(oe.visualHandlers,function(de,pe){ie.hasOwnProperty(pe)&&(le[pe]=ie[pe],ue=!0)}),ue?le:null},oe.prepareVisualTypes=function(ie){if(isArray$1(ie))ie=ie.slice();else if(isObject(ie)){var le=[];each$9(ie,function(ue,de){le.push(de)}),ie=le}else return[];return ie.sort(function(ue,de){return de==="color"&&ue!=="color"&&ue.indexOf("color")===0?1:-1}),ie},oe.dependsOn=function(ie,le){return le==="color"?!!(ie&&ie.indexOf(le)===0):ie===le},oe.findPieceIndex=function(ie,le,ue){for(var de,pe=1/0,he=0,_e=le.length;he<_e;he++){var $e=le[he].value;if($e!=null){if($e===ie||isString($e)&&$e===ie+"")return he;ue&&Ue($e,he)}}for(var he=0,_e=le.length;he<_e;he++){var Ie=le[he],Ve=Ie.interval,Fe=Ie.close;if(Ve){if(Ve[0]===-1/0){if(littleThan(Fe[1],ie,Ve[1]))return he}else if(Ve[1]===1/0){if(littleThan(Fe[0],Ve[0],ie))return he}else if(littleThan(Fe[0],Ve[0],ie)&&littleThan(Fe[1],ie,Ve[1]))return he;ue&&Ue(Ve[0],he),ue&&Ue(Ve[1],he)}}if(ue)return ie===1/0?le.length-1:ie===-1/0?0:de;function Ue(qe,Et){var At=Math.abs(qe-ie);At<pe&&(pe=At,de=Et)}},oe.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var ie=this.option;return bind$1(ie.mappingMethod==="category"?function(le,ue){return!ue&&(le=this._normalizeData(le)),doMapCategory.call(this,le)}:function(le,ue,de){var pe=!!de;return!ue&&(le=this._normalizeData(le)),de=fastLerp(le,ie.parsedVisual,de),pe?de:stringify(de,"rgba")},this)},_normalizedToVisual:{linear:function(ie){return stringify(fastLerp(ie,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function(ie,le){var ue=getSpecifiedVisual.call(this,le);return ue==null&&(ue=stringify(fastLerp(ie,this.option.parsedVisual),"rgba")),ue},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler(function(ie,le){return modifyHSL(ie,le)}),colorSaturation:makePartialColorVisualHandler(function(ie,le){return modifyHSL(ie,null,le)}),colorLightness:makePartialColorVisualHandler(function(ie,le){return modifyHSL(ie,null,null,le)}),colorAlpha:makePartialColorVisualHandler(function(ie,le){return modifyAlpha(ie,le)}),decal:{applyVisual:makeApplyVisual("decal"),_normalizedToVisual:{linear:null,category:doMapCategory,piecewise:null,fixed:null}},opacity:{applyVisual:makeApplyVisual("opacity"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])},liftZ:{applyVisual:makeApplyVisual("liftZ"),_normalizedToVisual:{linear:doMapFixed,category:doMapFixed,piecewise:doMapFixed,fixed:doMapFixed}},symbol:{applyVisual:function(ie,le,ue){var de=this.mapValueToVisual(ie);ue("symbol",de)},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function(ie,le){var ue=getSpecifiedVisual.call(this,le);return ue==null&&(ue=doMapToArray.call(this,ie)),ue},fixed:doMapFixed}},symbolSize:{applyVisual:makeApplyVisual("symbolSize"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])}},oe}();function preprocessForPiecewise(oe){var ie=oe.pieceList;oe.hasSpecialVisual=!1,each$c(ie,function(le,ue){le.originIndex=ue,le.visual!=null&&(oe.hasSpecialVisual=!0)})}function preprocessForSpecifiedCategory(oe){var ie=oe.categories,le=oe.categoryMap={},ue=oe.visual;if(each$9(ie,function(he,_e){le[he]=_e}),!isArray$1(ue)){var de=[];isObject$3(ue)?each$9(ue,function(he,_e){var $e=le[_e];de[$e??CATEGORY_DEFAULT_VISUAL_INDEX]=he}):de[CATEGORY_DEFAULT_VISUAL_INDEX]=ue,ue=setVisualToOption(oe,de)}for(var pe=ie.length-1;pe>=0;pe--)ue[pe]==null&&(delete le[ie[pe]],ie.pop())}function normalizeVisualRange(oe,ie){var le=oe.visual,ue=[];isObject$3(le)?each$9(le,function(pe){ue.push(pe)}):le!=null&&ue.push(le);var de={color:1,symbol:1};!ie&&ue.length===1&&!de.hasOwnProperty(oe.type)&&(ue[1]=ue[0]),setVisualToOption(oe,ue)}function makePartialColorVisualHandler(oe){return{applyVisual:function(ie,le,ue){var de=this.mapValueToVisual(ie);ue("color",oe(le("color"),de))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(oe){var ie=this.option.visual;return ie[Math.round(linearMap$2(oe,[0,1],[0,ie.length-1],!0))]||{}}function makeApplyVisual(oe){return function(ie,le,ue){ue(oe,this.mapValueToVisual(ie))}}function doMapCategory(oe){var ie=this.option.visual;return ie[this.option.loop&&oe!==CATEGORY_DEFAULT_VISUAL_INDEX?oe%ie.length:oe]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(oe){return{linear:function(ie){return linearMap$2(ie,oe,this.option.visual,!0)},category:doMapCategory,piecewise:function(ie,le){var ue=getSpecifiedVisual.call(this,le);return ue==null&&(ue=linearMap$2(ie,oe,this.option.visual,!0)),ue},fixed:doMapFixed}}function getSpecifiedVisual(oe){var ie=this.option,le=ie.pieceList;if(ie.hasSpecialVisual){var ue=VisualMapping.findPieceIndex(oe,le),de=le[ue];if(de&&de.visual)return de.visual[this.type]}}function setVisualToOption(oe,ie){return oe.visual=ie,oe.type==="color"&&(oe.parsedVisual=map$2(ie,function(le){var ue=parse$1(le);return ue||[0,0,0,1]})),ie}var normalizers={linear:function(oe){return linearMap$2(oe,this.option.dataExtent,[0,1],!0)},piecewise:function(oe){var ie=this.option.pieceList,le=VisualMapping.findPieceIndex(oe,ie,!0);if(le!=null)return linearMap$2(le,[0,ie.length-1],[0,1],!0)},category:function(oe){var ie=this.option.categories?this.option.categoryMap[oe]:oe;return ie??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop};function littleThan(oe,ie,le){return oe?ie<=le:ie<le}const VisualMapping$1=VisualMapping;function sliderMove(oe,ie,le,ue,de,pe){oe=oe||0;var he=le[1]-le[0];if(de!=null&&(de=restrict(de,[0,he])),pe!=null&&(pe=Math.max(pe,de??0)),ue==="all"){var _e=Math.abs(ie[1]-ie[0]);_e=restrict(_e,[0,he]),de=pe=restrict(_e,[de,pe]),ue=0}ie[0]=restrict(ie[0],le),ie[1]=restrict(ie[1],le);var $e=getSpanSign(ie,ue);ie[ue]+=oe;var Ie=de||0,Ve=le.slice();$e.sign<0?Ve[0]+=Ie:Ve[1]-=Ie,ie[ue]=restrict(ie[ue],Ve);var Fe;return Fe=getSpanSign(ie,ue),de!=null&&(Fe.sign!==$e.sign||Fe.span<de)&&(ie[1-ue]=ie[ue]+$e.sign*de),Fe=getSpanSign(ie,ue),pe!=null&&Fe.span>pe&&(ie[1-ue]=ie[ue]+Fe.sign*pe),ie}function getSpanSign(oe,ie){var le=oe[ie]-oe[1-ie];return{span:Math.abs(le),sign:le>0?-1:le<0?1:ie?-1:1}}function restrict(oe,ie){return Math.min(ie[1]!=null?ie[1]:1/0,Math.max(ie[0]!=null?ie[0]:-1/0,oe))}var BRUSH_PANEL_GLOBAL=!0,mathMin$1=Math.min,mathMax$1=Math.max,mathPow=Math.pow,COVER_Z=1e4,UNSELECT_THRESHOLD=6,MIN_RESIZE_LINE_WIDTH=6,MUTEX_RESOURCE_KEY="globalPan",DIRECTION_MAP={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},CURSOR_MAP={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},DEFAULT_BRUSH_OPT={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},baseUID=0,BrushController=function(oe){__extends(ie,oe);function ie(le){var ue=oe.call(this)||this;return ue._track=[],ue._covers=[],ue._handlers={},ue._zr=le,ue.group=new Group$3,ue._uid="brushController_"+baseUID++,each$c(pointerHandlers,function(de,pe){this._handlers[pe]=bind$1(de,this)},ue),ue}return ie.prototype.enableBrush=function(le){return this._brushType&&this._doDisableBrush(),le.brushType&&this._doEnableBrush(le),this},ie.prototype._doEnableBrush=function(le){var ue=this._zr;this._enableGlobalPan||take(ue,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(de,pe){ue.on(pe,de)}),this._brushType=le.brushType,this._brushOption=merge(clone$3(DEFAULT_BRUSH_OPT),le,!0)},ie.prototype._doDisableBrush=function(){var le=this._zr;release(le,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(ue,de){le.off(de,ue)}),this._brushType=this._brushOption=null},ie.prototype.setPanels=function(le){if(le&&le.length){var ue=this._panels={};each$c(le,function(de){ue[de.panelId]=clone$3(de)})}else this._panels=null;return this},ie.prototype.mount=function(le){le=le||{},this._enableGlobalPan=le.enableGlobalPan;var ue=this.group;return this._zr.add(ue),ue.attr({x:le.x||0,y:le.y||0,rotation:le.rotation||0,scaleX:le.scaleX||1,scaleY:le.scaleY||1}),this._transform=ue.getLocalTransform(),this},ie.prototype.updateCovers=function(le){le=map$2(le,function(Ue){return merge(clone$3(DEFAULT_BRUSH_OPT),Ue,!0)});var ue="\0-brush-index-",de=this._covers,pe=this._covers=[],he=this,_e=this._creatingCover;return new DataDiffer$1(de,le,Ie,$e).add(Ve).update(Ve).remove(Fe).execute(),this;function $e(Ue,qe){return(Ue.id!=null?Ue.id:ue+qe)+"-"+Ue.brushType}function Ie(Ue,qe){return $e(Ue.__brushOption,qe)}function Ve(Ue,qe){var Et=le[Ue];if(qe!=null&&de[qe]===_e)pe[Ue]=de[qe];else{var At=pe[Ue]=qe!=null?(de[qe].__brushOption=Et,de[qe]):endCreating(he,createCover(he,Et));updateCoverAfterCreation(he,At)}}function Fe(Ue){de[Ue]!==_e&&he.group.remove(de[Ue])}},ie.prototype.unmount=function(){return this.enableBrush(!1),clearCovers(this),this._zr.remove(this.group),this},ie.prototype.dispose=function(){this.unmount(),this.off()},ie}(Eventful$1);function createCover(oe,ie){var le=coverRenderers[ie.brushType].createCover(oe,ie);return le.__brushOption=ie,updateZ(le,ie),oe.group.add(le),le}function endCreating(oe,ie){var le=getCoverRenderer(ie);return le.endCreating&&(le.endCreating(oe,ie),updateZ(ie,ie.__brushOption)),ie}function updateCoverShape(oe,ie){var le=ie.__brushOption;getCoverRenderer(ie).updateCoverShape(oe,ie,le.range,le)}function updateZ(oe,ie){var le=ie.z;le==null&&(le=COVER_Z),oe.traverse(function(ue){ue.z=le,ue.z2=le})}function updateCoverAfterCreation(oe,ie){getCoverRenderer(ie).updateCommon(oe,ie),updateCoverShape(oe,ie)}function getCoverRenderer(oe){return coverRenderers[oe.__brushOption.brushType]}function getPanelByPoint(oe,ie,le){var ue=oe._panels;if(!ue)return BRUSH_PANEL_GLOBAL;var de,pe=oe._transform;return each$c(ue,function(he){he.isTargetByCursor(ie,le,pe)&&(de=he)}),de}function getPanelByCover(oe,ie){var le=oe._panels;if(!le)return BRUSH_PANEL_GLOBAL;var ue=ie.__brushOption.panelId;return ue!=null?le[ue]:BRUSH_PANEL_GLOBAL}function clearCovers(oe){var ie=oe._covers,le=ie.length;return each$c(ie,function(ue){oe.group.remove(ue)},oe),ie.length=0,!!le}function trigger(oe,ie){var le=map$2(oe._covers,function(ue){var de=ue.__brushOption,pe=clone$3(de.range);return{brushType:de.brushType,panelId:de.panelId,range:pe}});oe.trigger("brush",{areas:le,isEnd:!!ie.isEnd,removeOnClick:!!ie.removeOnClick})}function shouldShowCover(oe){var ie=oe._track;if(!ie.length)return!1;var le=ie[ie.length-1],ue=ie[0],de=le[0]-ue[0],pe=le[1]-ue[1],he=mathPow(de*de+pe*pe,.5);return he>UNSELECT_THRESHOLD}function getTrackEnds(oe){var ie=oe.length-1;return ie<0&&(ie=0),[oe[0],oe[ie]]}function createBaseRectCover(oe,ie,le,ue){var de=new Group$3;return de.add(new Rect$2({name:"main",style:makeStyle(le),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,oe,ie,de,["n","s","w","e"]),ondragend:curry$1(trigger,ie,{isEnd:!0})})),each$c(ue,function(pe){de.add(new Rect$2({name:pe.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,oe,ie,de,pe),ondragend:curry$1(trigger,ie,{isEnd:!0})}))}),de}function updateBaseRect(oe,ie,le,ue){var de=ue.brushStyle.lineWidth||0,pe=mathMax$1(de,MIN_RESIZE_LINE_WIDTH),he=le[0][0],_e=le[1][0],$e=he-de/2,Ie=_e-de/2,Ve=le[0][1],Fe=le[1][1],Ue=Ve-pe+de/2,qe=Fe-pe+de/2,Et=Ve-he,At=Fe-_e,Lt=Et+de,hn=At+de;updateRectShape(oe,ie,"main",he,_e,Et,At),ue.transformable&&(updateRectShape(oe,ie,"w",$e,Ie,pe,hn),updateRectShape(oe,ie,"e",Ue,Ie,pe,hn),updateRectShape(oe,ie,"n",$e,Ie,Lt,pe),updateRectShape(oe,ie,"s",$e,qe,Lt,pe),updateRectShape(oe,ie,"nw",$e,Ie,pe,pe),updateRectShape(oe,ie,"ne",Ue,Ie,pe,pe),updateRectShape(oe,ie,"sw",$e,qe,pe,pe),updateRectShape(oe,ie,"se",Ue,qe,pe,pe))}function updateCommon(oe,ie){var le=ie.__brushOption,ue=le.transformable,de=ie.childAt(0);de.useStyle(makeStyle(le)),de.attr({silent:!ue,cursor:ue?"move":"default"}),each$c([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(pe){var he=ie.childOfName(pe.join("")),_e=pe.length===1?getGlobalDirection1(oe,pe[0]):getGlobalDirection2(oe,pe);he&&he.attr({silent:!ue,invisible:!ue,cursor:ue?CURSOR_MAP[_e]+"-resize":null})})}function updateRectShape(oe,ie,le,ue,de,pe,he){var _e=ie.childOfName(le);_e&&_e.setShape(pointsToRect(clipByPanel(oe,ie,[[ue,de],[ue+pe,de+he]])))}function makeStyle(oe){return defaults({strokeNoScale:!0},oe.brushStyle)}function formatRectRange(oe,ie,le,ue){var de=[mathMin$1(oe,le),mathMin$1(ie,ue)],pe=[mathMax$1(oe,le),mathMax$1(ie,ue)];return[[de[0],pe[0]],[de[1],pe[1]]]}function getTransform(oe){return getTransform$1(oe.group)}function getGlobalDirection1(oe,ie){var le={w:"left",e:"right",n:"top",s:"bottom"},ue={left:"w",right:"e",top:"n",bottom:"s"},de=transformDirection(le[ie],getTransform(oe));return ue[de]}function getGlobalDirection2(oe,ie){var le=[getGlobalDirection1(oe,ie[0]),getGlobalDirection1(oe,ie[1])];return(le[0]==="e"||le[0]==="w")&&le.reverse(),le.join("")}function driftRect(oe,ie,le,ue,de,pe){var he=le.__brushOption,_e=oe.toRectRange(he.range),$e=toLocalDelta(ie,de,pe);each$c(ue,function(Ie){var Ve=DIRECTION_MAP[Ie];_e[Ve[0]][Ve[1]]+=$e[Ve[0]]}),he.range=oe.fromRectRange(formatRectRange(_e[0][0],_e[1][0],_e[0][1],_e[1][1])),updateCoverAfterCreation(ie,le),trigger(ie,{isEnd:!1})}function driftPolygon(oe,ie,le,ue){var de=ie.__brushOption.range,pe=toLocalDelta(oe,le,ue);each$c(de,function(he){he[0]+=pe[0],he[1]+=pe[1]}),updateCoverAfterCreation(oe,ie),trigger(oe,{isEnd:!1})}function toLocalDelta(oe,ie,le){var ue=oe.group,de=ue.transformCoordToLocal(ie,le),pe=ue.transformCoordToLocal(0,0);return[de[0]-pe[0],de[1]-pe[1]]}function clipByPanel(oe,ie,le){var ue=getPanelByCover(oe,ie);return ue&&ue!==BRUSH_PANEL_GLOBAL?ue.clipPath(le,oe._transform):clone$3(le)}function pointsToRect(oe){var ie=mathMin$1(oe[0][0],oe[1][0]),le=mathMin$1(oe[0][1],oe[1][1]),ue=mathMax$1(oe[0][0],oe[1][0]),de=mathMax$1(oe[0][1],oe[1][1]);return{x:ie,y:le,width:ue-ie,height:de-le}}function resetCursor(oe,ie,le){if(!(!oe._brushType||isOutsideZrArea(oe,ie.offsetX,ie.offsetY))){var ue=oe._zr,de=oe._covers,pe=getPanelByPoint(oe,ie,le);if(!oe._dragging)for(var he=0;he<de.length;he++){var _e=de[he].__brushOption;if(pe&&(pe===BRUSH_PANEL_GLOBAL||_e.panelId===pe.panelId)&&coverRenderers[_e.brushType].contain(de[he],le[0],le[1]))return}pe&&ue.setCursorStyle("crosshair")}}function preventDefault(oe){var ie=oe.event;ie.preventDefault&&ie.preventDefault()}function mainShapeContain(oe,ie,le){return oe.childOfName("main").contain(ie,le)}function updateCoverByMouse(oe,ie,le,ue){var de=oe._creatingCover,pe=oe._creatingPanel,he=oe._brushOption,_e;if(oe._track.push(le.slice()),shouldShowCover(oe)||de){if(pe&&!de){he.brushMode==="single"&&clearCovers(oe);var $e=clone$3(he);$e.brushType=determineBrushType($e.brushType,pe),$e.panelId=pe===BRUSH_PANEL_GLOBAL?null:pe.panelId,de=oe._creatingCover=createCover(oe,$e),oe._covers.push(de)}if(de){var Ie=coverRenderers[determineBrushType(oe._brushType,pe)],Ve=de.__brushOption;Ve.range=Ie.getCreatingRange(clipByPanel(oe,de,oe._track)),ue&&(endCreating(oe,de),Ie.updateCommon(oe,de)),updateCoverShape(oe,de),_e={isEnd:ue}}}else ue&&he.brushMode==="single"&&he.removeOnClick&&getPanelByPoint(oe,ie,le)&&clearCovers(oe)&&(_e={isEnd:ue,removeOnClick:!0});return _e}function determineBrushType(oe,ie){return oe==="auto"?ie.defaultBrushType:oe}var pointerHandlers={mousedown:function(oe){if(this._dragging)handleDragEnd(this,oe);else if(!oe.target||!oe.target.draggable){preventDefault(oe);var ie=this.group.transformCoordToLocal(oe.offsetX,oe.offsetY);this._creatingCover=null;var le=this._creatingPanel=getPanelByPoint(this,oe,ie);le&&(this._dragging=!0,this._track=[ie.slice()])}},mousemove:function(oe){var ie=oe.offsetX,le=oe.offsetY,ue=this.group.transformCoordToLocal(ie,le);if(resetCursor(this,oe,ue),this._dragging){preventDefault(oe);var de=updateCoverByMouse(this,oe,ue,!1);de&&trigger(this,de)}},mouseup:function(oe){handleDragEnd(this,oe)}};function handleDragEnd(oe,ie){if(oe._dragging){preventDefault(ie);var le=ie.offsetX,ue=ie.offsetY,de=oe.group.transformCoordToLocal(le,ue),pe=updateCoverByMouse(oe,ie,de,!0);oe._dragging=!1,oe._track=[],oe._creatingCover=null,pe&&trigger(oe,pe)}}function isOutsideZrArea(oe,ie,le){var ue=oe._zr;return ie<0||ie>ue.getWidth()||le<0||le>ue.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(oe,ie){function le(ue){return ue}return createBaseRectCover({toRectRange:le,fromRectRange:le},oe,ie,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(oe){var ie=getTrackEnds(oe);return formatRectRange(ie[1][0],ie[1][1],ie[0][0],ie[0][1])},updateCoverShape:function(oe,ie,le,ue){updateBaseRect(oe,ie,le,ue)},updateCommon,contain:mainShapeContain},polygon:{createCover:function(oe,ie){var le=new Group$3;return le.add(new Polyline$1({name:"main",style:makeStyle(ie),silent:!0})),le},getCreatingRange:function(oe){return oe},endCreating:function(oe,ie){ie.remove(ie.childAt(0)),ie.add(new Polygon$1({name:"main",draggable:!0,drift:curry$1(driftPolygon,oe,ie),ondragend:curry$1(trigger,oe,{isEnd:!0})}))},updateCoverShape:function(oe,ie,le,ue){ie.childAt(0).setShape({points:clipByPanel(oe,ie,le)})},updateCommon,contain:mainShapeContain}};function getLineRenderer(oe){return{createCover:function(ie,le){return createBaseRectCover({toRectRange:function(ue){var de=[ue,[0,100]];return oe&&de.reverse(),de},fromRectRange:function(ue){return ue[oe]}},ie,le,[[["w"],["e"]],[["n"],["s"]]][oe])},getCreatingRange:function(ie){var le=getTrackEnds(ie),ue=mathMin$1(le[0][oe],le[1][oe]),de=mathMax$1(le[0][oe],le[1][oe]);return[ue,de]},updateCoverShape:function(ie,le,ue,de){var pe,he=getPanelByCover(ie,le);if(he!==BRUSH_PANEL_GLOBAL&&he.getLinearBrushOtherExtent)pe=he.getLinearBrushOtherExtent(oe);else{var _e=ie._zr;pe=[0,[_e.getWidth(),_e.getHeight()][1-oe]]}var $e=[ue,pe];oe&&$e.reverse(),updateBaseRect(ie,le,$e,de)},updateCommon,contain:mainShapeContain}}const BrushController$1=BrushController;function makeRectPanelClipPath(oe){return oe=normalizeRect(oe),function(ie){return clipPointsByRect(ie,oe)}}function makeLinearBrushOtherExtent(oe,ie){return oe=normalizeRect(oe),function(le){var ue=ie??le,de=ue?oe.width:oe.height,pe=ue?oe.x:oe.y;return[pe,pe+(de||0)]}}function makeRectIsTargetByCursor(oe,ie,le){var ue=normalizeRect(oe);return function(de,pe){return ue.contain(pe[0],pe[1])&&!onIrrelevantElement(de,ie,le)}}function normalizeRect(oe){return BoundingRect$1.create(oe)}function isEC4CompatibleStyle(oe,ie,le,ue){return oe&&(oe.legacy||oe.legacy!==!1&&!le&&!ue&&ie!=="tspan"&&(ie==="text"||hasOwn(oe,"text")))}function convertFromEC4CompatibleStyle(oe,ie,le){var ue=oe,de,pe,he;if(ie==="text")he=ue;else{he={},hasOwn(ue,"text")&&(he.text=ue.text),hasOwn(ue,"rich")&&(he.rich=ue.rich),hasOwn(ue,"textFill")&&(he.fill=ue.textFill),hasOwn(ue,"textStroke")&&(he.stroke=ue.textStroke),hasOwn(ue,"fontFamily")&&(he.fontFamily=ue.fontFamily),hasOwn(ue,"fontSize")&&(he.fontSize=ue.fontSize),hasOwn(ue,"fontStyle")&&(he.fontStyle=ue.fontStyle),hasOwn(ue,"fontWeight")&&(he.fontWeight=ue.fontWeight),pe={type:"text",style:he,silent:!0},de={};var _e=hasOwn(ue,"textPosition");le?de.position=_e?ue.textPosition:"inside":_e&&(de.position=ue.textPosition),hasOwn(ue,"textPosition")&&(de.position=ue.textPosition),hasOwn(ue,"textOffset")&&(de.offset=ue.textOffset),hasOwn(ue,"textRotation")&&(de.rotation=ue.textRotation),hasOwn(ue,"textDistance")&&(de.distance=ue.textDistance)}return convertEC4CompatibleRichItem(he,oe),each$c(he.rich,function($e){convertEC4CompatibleRichItem($e,$e)}),{textConfig:de,textContent:pe}}function convertEC4CompatibleRichItem(oe,ie){ie&&(ie.font=ie.textFont||ie.font,hasOwn(ie,"textStrokeWidth")&&(oe.lineWidth=ie.textStrokeWidth),hasOwn(ie,"textAlign")&&(oe.align=ie.textAlign),hasOwn(ie,"textVerticalAlign")&&(oe.verticalAlign=ie.textVerticalAlign),hasOwn(ie,"textLineHeight")&&(oe.lineHeight=ie.textLineHeight),hasOwn(ie,"textWidth")&&(oe.width=ie.textWidth),hasOwn(ie,"textHeight")&&(oe.height=ie.textHeight),hasOwn(ie,"textBackgroundColor")&&(oe.backgroundColor=ie.textBackgroundColor),hasOwn(ie,"textPadding")&&(oe.padding=ie.textPadding),hasOwn(ie,"textBorderColor")&&(oe.borderColor=ie.textBorderColor),hasOwn(ie,"textBorderWidth")&&(oe.borderWidth=ie.textBorderWidth),hasOwn(ie,"textBorderRadius")&&(oe.borderRadius=ie.textBorderRadius),hasOwn(ie,"textBoxShadowColor")&&(oe.shadowColor=ie.textBoxShadowColor),hasOwn(ie,"textBoxShadowBlur")&&(oe.shadowBlur=ie.textBoxShadowBlur),hasOwn(ie,"textBoxShadowOffsetX")&&(oe.shadowOffsetX=ie.textBoxShadowOffsetX),hasOwn(ie,"textBoxShadowOffsetY")&&(oe.shadowOffsetY=ie.textBoxShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(oe,ie){return oe[ie]=1,oe},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(oe,ie,le,ue,de){var pe=oe+"Animation",he=getAnimationConfig(oe,ue,de)||{},_e=transitionInnerStore(ie).userDuring;return he.duration>0&&(he.during=_e?bind$1(duringCall,{el:ie,userDuring:_e}):null,he.setToFinal=!0,he.scope=oe),extend(he,le[pe]),he}function applyUpdateTransition(oe,ie,le,ue){ue=ue||{};var de=ue.dataIndex,pe=ue.isInit,he=ue.clearStyle,_e=le.isAnimationEnabled(),$e=transitionInnerStore(oe),Ie=ie.style;$e.userDuring=ie.during;var Ve={},Fe={};if(prepareTransformAllPropsFinal(oe,ie,Fe),prepareShapeOrExtraAllPropsFinal("shape",ie,Fe),prepareShapeOrExtraAllPropsFinal("extra",ie,Fe),!pe&&_e&&(prepareTransformTransitionFrom(oe,ie,Ve),prepareShapeOrExtraTransitionFrom("shape",oe,ie,Ve),prepareShapeOrExtraTransitionFrom("extra",oe,ie,Ve),prepareStyleTransitionFrom(oe,ie,Ie,Ve)),Fe.style=Ie,applyPropsDirectly(oe,Fe,he),applyMiscProps(oe,ie),_e)if(pe){var Ue={};each$c(ELEMENT_ANIMATABLE_PROPS,function(Et){var At=Et?ie[Et]:ie;At&&At.enterFrom&&(Et&&(Ue[Et]=Ue[Et]||{}),extend(Et?Ue[Et]:Ue,At.enterFrom))});var qe=getElementAnimationConfig("enter",oe,ie,le,de);qe.duration>0&&oe.animateFrom(Ue,qe)}else applyPropsTransition(oe,ie,de||0,le,Ve);updateLeaveTo(oe,ie),Ie?oe.dirty():oe.markRedraw()}function updateLeaveTo(oe,ie){for(var le=transitionInnerStore(oe).leaveToProps,ue=0;ue<ELEMENT_ANIMATABLE_PROPS.length;ue++){var de=ELEMENT_ANIMATABLE_PROPS[ue],pe=de?ie[de]:ie;pe&&pe.leaveTo&&(le||(le=transitionInnerStore(oe).leaveToProps={}),de&&(le[de]=le[de]||{}),extend(de?le[de]:le,pe.leaveTo))}}function applyLeaveTransition(oe,ie,le,ue){if(oe){var de=oe.parent,pe=transitionInnerStore(oe).leaveToProps;if(pe){var he=getElementAnimationConfig("update",oe,ie,le,0);he.done=function(){de.remove(oe),ue&&ue()},oe.animateTo(pe,he)}else de.remove(oe),ue&&ue()}}function isTransitionAll(oe){return oe==="all"}function applyPropsDirectly(oe,ie,le){var ue=ie.style;if(!oe.isGroup&&ue){if(le){oe.useStyle({});for(var de=oe.animators,pe=0;pe<de.length;pe++){var he=de[pe];he.targetName==="style"&&he.changeTarget(oe.style)}}oe.setStyle(ue)}ie&&(ie.style=null,ie&&oe.attr(ie),ie.style=ue)}function applyPropsTransition(oe,ie,le,ue,de){if(de){var pe=getElementAnimationConfig("update",oe,ie,ue,le);pe.duration>0&&oe.animateFrom(de,pe)}}function applyMiscProps(oe,ie){hasOwn(ie,"silent")&&(oe.silent=ie.silent),hasOwn(ie,"ignore")&&(oe.ignore=ie.ignore),oe instanceof Displayable$1&&hasOwn(ie,"invisible")&&(oe.invisible=ie.invisible),oe instanceof Path$1&&hasOwn(ie,"autoBatch")&&(oe.autoBatch=ie.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(oe,ie){return tmpDuringScope.el[oe]=ie,this},getTransform:function(oe){return tmpDuringScope.el[oe]},setShape:function(oe,ie){var le=tmpDuringScope.el,ue=le.shape||(le.shape={});return ue[oe]=ie,le.dirtyShape&&le.dirtyShape(),this},getShape:function(oe){var ie=tmpDuringScope.el.shape;if(ie)return ie[oe]},setStyle:function(oe,ie){var le=tmpDuringScope.el,ue=le.style;return ue&&(ue[oe]=ie,le.dirtyStyle&&le.dirtyStyle()),this},getStyle:function(oe){var ie=tmpDuringScope.el.style;if(ie)return ie[oe]},setExtra:function(oe,ie){var le=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return le[oe]=ie,this},getExtra:function(oe){var ie=tmpDuringScope.el.extra;if(ie)return ie[oe]}};function duringCall(){var oe=this,ie=oe.el;if(ie){var le=transitionInnerStore(ie).userDuring,ue=oe.userDuring;if(le!==ue){oe.el=oe.userDuring=null;return}tmpDuringScope.el=ie,ue(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(oe,ie,le,ue){var de=le[oe];if(de){var pe=ie[oe],he;if(pe){var _e=le.transition,$e=de.transition;if($e)if(!he&&(he=ue[oe]={}),isTransitionAll($e))extend(he,pe);else for(var Ie=normalizeToArray($e),Ve=0;Ve<Ie.length;Ve++){var Fe=Ie[Ve],Ue=pe[Fe];he[Fe]=Ue}else if(isTransitionAll(_e)||indexOf(_e,oe)>=0){!he&&(he=ue[oe]={});for(var qe=keys(pe),Ve=0;Ve<qe.length;Ve++){var Fe=qe[Ve],Ue=pe[Fe];isNonStyleTransitionEnabled(de[Fe],Ue)&&(he[Fe]=Ue)}}}}}function prepareShapeOrExtraAllPropsFinal(oe,ie,le){var ue=ie[oe];if(ue)for(var de=le[oe]={},pe=keys(ue),he=0;he<pe.length;he++){var _e=pe[he];de[_e]=cloneValue(ue[_e])}}function prepareTransformTransitionFrom(oe,ie,le){for(var ue=ie.transition,de=isTransitionAll(ue)?TRANSFORMABLE_PROPS:normalizeToArray(ue||[]),pe=0;pe<de.length;pe++){var he=de[pe];if(!(he==="style"||he==="shape"||he==="extra")){var _e=oe[he];le[he]=_e}}}function prepareTransformAllPropsFinal(oe,ie,le){for(var ue=0;ue<LEGACY_TRANSFORM_PROPS.length;ue++){var de=LEGACY_TRANSFORM_PROPS[ue],pe=LEGACY_TRANSFORM_PROPS_MAP[de],he=ie[de];he&&(le[pe[0]]=he[0],le[pe[1]]=he[1])}for(var ue=0;ue<TRANSFORMABLE_PROPS.length;ue++){var _e=TRANSFORMABLE_PROPS[ue];ie[_e]!=null&&(le[_e]=ie[_e])}}function prepareStyleTransitionFrom(oe,ie,le,ue){if(le){var de=oe.style,pe;if(de){var he=le.transition,_e=ie.transition;if(he&&!isTransitionAll(he)){var $e=normalizeToArray(he);!pe&&(pe=ue.style={});for(var Ie=0;Ie<$e.length;Ie++){var Ve=$e[Ie],Fe=de[Ve];pe[Ve]=Fe}}else if(oe.getAnimationStyleProps&&(isTransitionAll(_e)||isTransitionAll(he)||indexOf(_e,"style")>=0)){var Ue=oe.getAnimationStyleProps(),qe=Ue?Ue.style:null;if(qe){!pe&&(pe=ue.style={});for(var Et=keys(le),Ie=0;Ie<Et.length;Ie++){var Ve=Et[Ie];if(qe[Ve]){var Fe=de[Ve];pe[Ve]=Fe}}}}}}}function isNonStyleTransitionEnabled(oe,ie){return isArrayLike(oe)?oe!==ie:oe!=null&&isFinite(oe)}var getStateToRestore=makeInner(),KEYFRAME_EXCLUDE_KEYS=["percent","easing","shape","style","extra"];function stopPreviousKeyframeAnimationAndRestore(oe){oe.stopAnimation("keyframe"),oe.attr(getStateToRestore(oe))}function applyKeyframeAnimation(oe,ie,le){if(!(!le.isAnimationEnabled()||!ie)){if(isArray$1(ie)){each$c(ie,function(_e){applyKeyframeAnimation(oe,_e,le)});return}var ue=ie.keyframes,de=ie.duration;if(le&&de==null){var pe=getAnimationConfig("enter",le,0);de=pe&&pe.duration}if(!(!ue||!de)){var he=getStateToRestore(oe);each$c(ELEMENT_ANIMATABLE_PROPS,function(_e){if(!(_e&&!oe[_e])){var $e;ue.sort(function(Ie,Ve){return Ie.percent-Ve.percent}),each$c(ue,function(Ie){var Ve=oe.animators,Fe=_e?Ie[_e]:Ie;if(Fe){var Ue=keys(Fe);if(_e||(Ue=filter(Ue,function(At){return indexOf(KEYFRAME_EXCLUDE_KEYS,At)<0})),!!Ue.length){$e||($e=oe.animate(_e,ie.loop,!0),$e.scope="keyframe");for(var qe=0;qe<Ve.length;qe++)Ve[qe]!==$e&&Ve[qe].targetName===$e.targetName&&Ve[qe].stopTracks(Ue);_e&&(he[_e]=he[_e]||{});var Et=_e?he[_e]:he;each$c(Ue,function(At){Et[At]=((_e?oe[_e]:oe)||{})[At]}),$e.whenWithKeys(de*Ie.percent,Fe,Ue,Ie.easing)}}}),$e&&$e.delay(ie.delay||0).duration(de).start(ie.easing)}})}}}var inner$5=makeInner(),clone=clone$3,bind=bind$1,BaseAxisPointer=function(){function oe(){this._dragging=!1,this.animationThreshold=15}return oe.prototype.render=function(ie,le,ue,de){var pe=le.get("value"),he=le.get("status");if(this._axisModel=ie,this._axisPointerModel=le,this._api=ue,!(!de&&this._lastValue===pe&&this._lastStatus===he)){this._lastValue=pe,this._lastStatus=he;var _e=this._group,$e=this._handle;if(!he||he==="hide"){_e&&_e.hide(),$e&&$e.hide();return}_e&&_e.show(),$e&&$e.show();var Ie={};this.makeElOption(Ie,pe,ie,le,ue);var Ve=Ie.graphicKey;Ve!==this._lastGraphicKey&&this.clear(ue),this._lastGraphicKey=Ve;var Fe=this._moveAnimation=this.determineAnimation(ie,le);if(!_e)_e=this._group=new Group$3,this.createPointerEl(_e,Ie,ie,le),this.createLabelEl(_e,Ie,ie,le),ue.getZr().add(_e);else{var Ue=curry$1(updateProps,le,Fe);this.updatePointerEl(_e,Ie,Ue),this.updateLabelEl(_e,Ie,Ue,le)}updateMandatoryProps(_e,le,!0),this._renderHandle(pe)}},oe.prototype.remove=function(ie){this.clear(ie)},oe.prototype.dispose=function(ie){this.clear(ie)},oe.prototype.determineAnimation=function(ie,le){var ue=le.get("animation"),de=ie.axis,pe=de.type==="category",he=le.get("snap");if(!he&&!pe)return!1;if(ue==="auto"||ue==null){var _e=this.animationThreshold;if(pe&&de.getBandWidth()>_e)return!0;if(he){var $e=getAxisInfo(ie).seriesDataCount,Ie=de.getExtent();return Math.abs(Ie[0]-Ie[1])/$e>_e}return!1}return ue===!0},oe.prototype.makeElOption=function(ie,le,ue,de,pe){},oe.prototype.createPointerEl=function(ie,le,ue,de){var pe=le.pointer;if(pe){var he=inner$5(ie).pointerEl=new graphic$1[pe.type](clone(le.pointer));ie.add(he)}},oe.prototype.createLabelEl=function(ie,le,ue,de){if(le.label){var pe=inner$5(ie).labelEl=new ZRText$1(clone(le.label));ie.add(pe),updateLabelShowHide(pe,de)}},oe.prototype.updatePointerEl=function(ie,le,ue){var de=inner$5(ie).pointerEl;de&&le.pointer&&(de.setStyle(le.pointer.style),ue(de,{shape:le.pointer.shape}))},oe.prototype.updateLabelEl=function(ie,le,ue,de){var pe=inner$5(ie).labelEl;pe&&(pe.setStyle(le.label.style),ue(pe,{x:le.label.x,y:le.label.y}),updateLabelShowHide(pe,de))},oe.prototype._renderHandle=function(ie){if(!(this._dragging||!this.updateHandleTransform)){var le=this._axisPointerModel,ue=this._api.getZr(),de=this._handle,pe=le.getModel("handle"),he=le.get("status");if(!pe.get("show")||!he||he==="hide"){de&&ue.remove(de),this._handle=null;return}var _e;this._handle||(_e=!0,de=this._handle=createIcon(pe.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(Ie){stop(Ie.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),ue.add(de)),updateMandatoryProps(de,le,!1),de.setStyle(pe.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var $e=pe.get("size");isArray$1($e)||($e=[$e,$e]),de.scaleX=$e[0]/2,de.scaleY=$e[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",pe.get("throttle")||0,"fixRate"),this._moveHandleToValue(ie,_e)}},oe.prototype._moveHandleToValue=function(ie,le){updateProps(this._axisPointerModel,!le&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(ie,this._axisModel,this._axisPointerModel)))},oe.prototype._onHandleDragMove=function(ie,le){var ue=this._handle;if(ue){this._dragging=!0;var de=this.updateHandleTransform(getHandleTransProps(ue),[ie,le],this._axisModel,this._axisPointerModel);this._payloadInfo=de,ue.stopAnimation(),ue.attr(getHandleTransProps(de)),inner$5(ue).lastProp=null,this._doDispatchAxisPointer()}},oe.prototype._doDispatchAxisPointer=function(){var ie=this._handle;if(ie){var le=this._payloadInfo,ue=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:le.cursorPoint[0],y:le.cursorPoint[1],tooltipOption:le.tooltipOption,axesInfo:[{axisDim:ue.axis.dim,axisIndex:ue.componentIndex}]})}},oe.prototype._onHandleDragEnd=function(){this._dragging=!1;var ie=this._handle;if(ie){var le=this._axisPointerModel.get("value");this._moveHandleToValue(le),this._api.dispatchAction({type:"hideTip"})}},oe.prototype.clear=function(ie){this._lastValue=null,this._lastStatus=null;var le=ie.getZr(),ue=this._group,de=this._handle;le&&ue&&(this._lastGraphicKey=null,ue&&le.remove(ue),de&&le.remove(de),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},oe.prototype.doClear=function(){},oe.prototype.buildLabel=function(ie,le,ue){return ue=ue||0,{x:ie[ue],y:ie[1-ue],width:le[ue],height:le[1-ue]}},oe}();function updateProps(oe,ie,le,ue){propsEqual(inner$5(le).lastProp,ue)||(inner$5(le).lastProp=ue,ie?updateProps$1(le,ue,oe):(le.stopAnimation(),le.attr(ue)))}function propsEqual(oe,ie){if(isObject$3(oe)&&isObject$3(ie)){var le=!0;return each$c(ie,function(ue,de){le=le&&propsEqual(oe[de],ue)}),!!le}else return oe===ie}function updateLabelShowHide(oe,ie){oe[ie.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(oe){return{x:oe.x||0,y:oe.y||0,rotation:oe.rotation||0}}function updateMandatoryProps(oe,ie,le){var ue=ie.get("z"),de=ie.get("zlevel");oe&&oe.traverse(function(pe){pe.type!=="group"&&(ue!=null&&(pe.z=ue),de!=null&&(pe.zlevel=de),pe.silent=le)})}const BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(oe){var ie=oe.get("type"),le=oe.getModel(ie+"Style"),ue;return ie==="line"?(ue=le.getLineStyle(),ue.fill=null):ie==="shadow"&&(ue=le.getAreaStyle(),ue.stroke=null),ue}function buildLabelElOption(oe,ie,le,ue,de){var pe=le.get("value"),he=getValueLabel(pe,ie.axis,ie.ecModel,le.get("seriesDataIndices"),{precision:le.get(["label","precision"]),formatter:le.get(["label","formatter"])}),_e=le.getModel("label"),$e=normalizeCssArray(_e.get("padding")||0),Ie=_e.getFont(),Ve=getBoundingRect(he,Ie),Fe=de.position,Ue=Ve.width+$e[1]+$e[3],qe=Ve.height+$e[0]+$e[2],Et=de.align;Et==="right"&&(Fe[0]-=Ue),Et==="center"&&(Fe[0]-=Ue/2);var At=de.verticalAlign;At==="bottom"&&(Fe[1]-=qe),At==="middle"&&(Fe[1]-=qe/2),confineInContainer(Fe,Ue,qe,ue);var Lt=_e.get("backgroundColor");(!Lt||Lt==="auto")&&(Lt=ie.get(["axisLine","lineStyle","color"])),oe.label={x:Fe[0],y:Fe[1],style:createTextStyle$1(_e,{text:he,font:Ie,fill:_e.getTextColor(),padding:$e,backgroundColor:Lt}),z2:10}}function confineInContainer(oe,ie,le,ue){var de=ue.getWidth(),pe=ue.getHeight();oe[0]=Math.min(oe[0]+ie,de)-ie,oe[1]=Math.min(oe[1]+le,pe)-le,oe[0]=Math.max(oe[0],0),oe[1]=Math.max(oe[1],0)}function getValueLabel(oe,ie,le,ue,de){oe=ie.scale.parse(oe);var pe=ie.scale.getLabel({value:oe},{precision:de.precision}),he=de.formatter;if(he){var _e={value:getAxisRawValue(ie,{value:oe}),axisDimension:ie.dim,axisIndex:ie.index,seriesData:[]};each$c(ue,function($e){var Ie=le.getSeriesByIndex($e.seriesIndex),Ve=$e.dataIndexInside,Fe=Ie&&Ie.getDataParams(Ve);Fe&&_e.seriesData.push(Fe)}),isString(he)?pe=he.replace("{value}",pe):isFunction(he)&&(pe=he(_e))}return pe}function getTransformedPosition(oe,ie,le){var ue=create();return rotate(ue,ue,le.rotation),translate(ue,ue,le.position),applyTransform([oe.dataToCoord(ie),(le.labelOffset||0)+(le.labelDirection||1)*(le.labelMargin||0)],ue)}function buildCartesianSingleLabelElOption(oe,ie,le,ue,de,pe){var he=AxisBuilder$1.innerTextLayout(le.rotation,0,le.labelDirection);le.labelMargin=de.get(["label","margin"]),buildLabelElOption(ie,ue,de,pe,{position:getTransformedPosition(ue.axis,oe,le),align:he.textAlign,verticalAlign:he.textVerticalAlign})}function makeLineShape(oe,ie,le){return le=le||0,{x1:oe[le],y1:oe[1-le],x2:ie[le],y2:ie[1-le]}}function makeRectShape(oe,ie,le){return le=le||0,{x:oe[le],y:oe[1-le],width:ie[le],height:ie[1-le]}}var CartesianAxisPointer=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.makeElOption=function(le,ue,de,pe,he){var _e=de.axis,$e=_e.grid,Ie=pe.get("type"),Ve=getCartesian($e,_e).getOtherAxis(_e).getGlobalExtent(),Fe=_e.toGlobalCoord(_e.dataToCoord(ue,!0));if(Ie&&Ie!=="none"){var Ue=buildElStyle(pe),qe=pointerShapeBuilder[Ie](_e,Fe,Ve);qe.style=Ue,le.graphicKey=qe.type,le.pointer=qe}var Et=layout$1($e.model,de);buildCartesianSingleLabelElOption(ue,le,Et,de,pe,he)},ie.prototype.getHandleTransform=function(le,ue,de){var pe=layout$1(ue.axis.grid.model,ue,{labelInside:!1});pe.labelMargin=de.get(["handle","margin"]);var he=getTransformedPosition(ue.axis,le,pe);return{x:he[0],y:he[1],rotation:pe.rotation+(pe.labelDirection<0?Math.PI:0)}},ie.prototype.updateHandleTransform=function(le,ue,de,pe){var he=de.axis,_e=he.grid,$e=he.getGlobalExtent(!0),Ie=getCartesian(_e,he).getOtherAxis(he).getGlobalExtent(),Ve=he.dim==="x"?0:1,Fe=[le.x,le.y];Fe[Ve]+=ue[Ve],Fe[Ve]=Math.min($e[1],Fe[Ve]),Fe[Ve]=Math.max($e[0],Fe[Ve]);var Ue=(Ie[1]+Ie[0])/2,qe=[Ue,Ue];qe[Ve]=Fe[Ve];var Et=[{verticalAlign:"middle"},{align:"center"}];return{x:Fe[0],y:Fe[1],rotation:le.rotation,cursorPoint:qe,tooltipOption:Et[Ve]}},ie}(BaseAxisPointer$1);function getCartesian(oe,ie){var le={};return le[ie.dim+"AxisIndex"]=ie.index,oe.getCartesian(le)}var pointerShapeBuilder={line:function(oe,ie,le){var ue=makeLineShape([ie,le[0]],[ie,le[1]],getAxisDimIndex(oe));return{type:"Line",subPixelOptimize:!0,shape:ue}},shadow:function(oe,ie,le){var ue=Math.max(1,oe.getBandWidth()),de=le[1]-le[0];return{type:"Rect",shape:makeRectShape([ie-ue/2,le[0]],[ue,de],getAxisDimIndex(oe))}}};function getAxisDimIndex(oe){return oe.dim==="x"?0:1}const CartesianAxisPointer$1=CartesianAxisPointer;var AxisPointerModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="axisPointer",ie.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},ie}(ComponentModel$1);const AxisPointerModel$1=AxisPointerModel;var inner$4=makeInner(),each$8=each$c;function register(oe,ie,le){if(!env$1.node){var ue=ie.getZr();inner$4(ue).records||(inner$4(ue).records={}),initGlobalListeners(ue,ie);var de=inner$4(ue).records[oe]||(inner$4(ue).records[oe]={});de.handler=le}}function initGlobalListeners(oe,ie){if(inner$4(oe).initialized)return;inner$4(oe).initialized=!0,le("click",curry$1(doEnter,"click")),le("mousemove",curry$1(doEnter,"mousemove")),le("globalout",onLeave);function le(ue,de){oe.on(ue,function(pe){var he=makeDispatchAction$1(ie);each$8(inner$4(oe).records,function(_e){_e&&de(_e,pe,he.dispatchAction)}),dispatchTooltipFinally(he.pendings,ie)})}}function dispatchTooltipFinally(oe,ie){var le=oe.showTip.length,ue=oe.hideTip.length,de;le?de=oe.showTip[le-1]:ue&&(de=oe.hideTip[ue-1]),de&&(de.dispatchAction=null,ie.dispatchAction(de))}function onLeave(oe,ie,le){oe.handler("leave",null,le)}function doEnter(oe,ie,le,ue){ie.handler(oe,le,ue)}function makeDispatchAction$1(oe){var ie={showTip:[],hideTip:[]},le=function(ue){var de=ie[ue.type];de?de.push(ue):(ue.dispatchAction=le,oe.dispatchAction(ue))};return{dispatchAction:le,pendings:ie}}function unregister(oe,ie){if(!env$1.node){var le=ie.getZr(),ue=(inner$4(le).records||{})[oe];ue&&(inner$4(le).records[oe]=null)}}var AxisPointerView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.render=function(le,ue,de){var pe=ue.getComponent("tooltip"),he=le.get("triggerOn")||pe&&pe.get("triggerOn")||"mousemove|click";register("axisPointer",de,function(_e,$e,Ie){he!=="none"&&(_e==="leave"||he.indexOf(_e)>=0)&&Ie({type:"updateAxisPointer",currTrigger:_e,x:$e&&$e.offsetX,y:$e&&$e.offsetY})})},ie.prototype.remove=function(le,ue){unregister("axisPointer",ue)},ie.prototype.dispose=function(le,ue){unregister("axisPointer",ue)},ie.type="axisPointer",ie}(ComponentView$1);const AxisPointerView$1=AxisPointerView;function findPointFromSeries(oe,ie){var le=[],ue=oe.seriesIndex,de;if(ue==null||!(de=ie.getSeriesByIndex(ue)))return{point:[]};var pe=de.getData(),he=queryDataIndex(pe,oe);if(he==null||he<0||isArray$1(he))return{point:[]};var _e=pe.getItemGraphicEl(he),$e=de.coordinateSystem;if(de.getTooltipPosition)le=de.getTooltipPosition(he)||[];else if($e&&$e.dataToPoint)if(oe.isStacked){var Ie=$e.getBaseAxis(),Ve=$e.getOtherAxis(Ie),Fe=Ve.dim,Ue=Ie.dim,qe=Fe==="x"||Fe==="radius"?1:0,Et=pe.mapDimension(Ue),At=[];At[qe]=pe.get(Et,he),At[1-qe]=pe.get(pe.getCalculationInfo("stackResultDimension"),he),le=$e.dataToPoint(At)||[]}else le=$e.dataToPoint(pe.getValues(map$2($e.dimensions,function(hn){return pe.mapDimension(hn)}),he))||[];else if(_e){var Lt=_e.getBoundingRect().clone();Lt.applyTransform(_e.transform),le=[Lt.x+Lt.width/2,Lt.y+Lt.height/2]}return{point:le,el:_e}}var inner$3=makeInner();function axisTrigger(oe,ie,le){var ue=oe.currTrigger,de=[oe.x,oe.y],pe=oe,he=oe.dispatchAction||bind$1(le.dispatchAction,le),_e=ie.getComponent("axisPointer").coordSysAxesInfo;if(_e){illegalPoint(de)&&(de=findPointFromSeries({seriesIndex:pe.seriesIndex,dataIndex:pe.dataIndex},ie).point);var $e=illegalPoint(de),Ie=pe.axesInfo,Ve=_e.axesInfo,Fe=ue==="leave"||illegalPoint(de),Ue={},qe={},Et={list:[],map:{}},At={showPointer:curry$1(showPointer,qe),showTooltip:curry$1(showTooltip,Et)};each$c(_e.coordSysMap,function(hn,vn){var _n=$e||hn.containPoint(de);each$c(_e.coordSysAxesInfo[vn],function(bn,Sn){var Cn=bn.axis,En=findInputAxisInfo(Ie,bn);if(!Fe&&_n&&(!Ie||En)){var wn=En&&En.value;wn==null&&!$e&&(wn=Cn.pointToData(de)),wn!=null&&processOnAxis(bn,wn,At,!1,Ue)}})});var Lt={};return each$c(Ve,function(hn,vn){var _n=hn.linkGroup;_n&&!qe[vn]&&each$c(_n.axesInfo,function(bn,Sn){var Cn=qe[Sn];if(bn!==hn&&Cn){var En=Cn.value;_n.mapper&&(En=hn.axis.scale.parse(_n.mapper(En,makeMapperParam(bn),makeMapperParam(hn)))),Lt[hn.key]=En}})}),each$c(Lt,function(hn,vn){processOnAxis(Ve[vn],hn,At,!0,Ue)}),updateModelActually(qe,Ve,Ue),dispatchTooltipActually(Et,de,oe,he),dispatchHighDownActually(Ve,he,le),Ue}}function processOnAxis(oe,ie,le,ue,de){var pe=oe.axis;if(!(pe.scale.isBlank()||!pe.containData(ie))){if(!oe.involveSeries){le.showPointer(oe,ie);return}var he=buildPayloadsBySeries(ie,oe),_e=he.payloadBatch,$e=he.snapToValue;_e[0]&&de.seriesIndex==null&&extend(de,_e[0]),!ue&&oe.snap&&pe.containData($e)&&$e!=null&&(ie=$e),le.showPointer(oe,ie,_e),le.showTooltip(oe,he,$e)}}function buildPayloadsBySeries(oe,ie){var le=ie.axis,ue=le.dim,de=oe,pe=[],he=Number.MAX_VALUE,_e=-1;return each$c(ie.seriesModels,function($e,Ie){var Ve=$e.getData().mapDimensionsAll(ue),Fe,Ue;if($e.getAxisTooltipData){var qe=$e.getAxisTooltipData(Ve,oe,le);Ue=qe.dataIndices,Fe=qe.nestestValue}else{if(Ue=$e.getData().indicesOfNearest(Ve[0],oe,le.type==="category"?.5:null),!Ue.length)return;Fe=$e.getData().get(Ve[0],Ue[0])}if(!(Fe==null||!isFinite(Fe))){var Et=oe-Fe,At=Math.abs(Et);At<=he&&((At<he||Et>=0&&_e<0)&&(he=At,_e=Et,de=Fe,pe.length=0),each$c(Ue,function(Lt){pe.push({seriesIndex:$e.seriesIndex,dataIndexInside:Lt,dataIndex:$e.getData().getRawIndex(Lt)})}))}}),{payloadBatch:pe,snapToValue:de}}function showPointer(oe,ie,le,ue){oe[ie.key]={value:le,payloadBatch:ue}}function showTooltip(oe,ie,le,ue){var de=le.payloadBatch,pe=ie.axis,he=pe.model,_e=ie.axisPointerModel;if(!(!ie.triggerTooltip||!de.length)){var $e=ie.coordSys.model,Ie=makeKey($e),Ve=oe.map[Ie];Ve||(Ve=oe.map[Ie]={coordSysId:$e.id,coordSysIndex:$e.componentIndex,coordSysType:$e.type,coordSysMainType:$e.mainType,dataByAxis:[]},oe.list.push(Ve)),Ve.dataByAxis.push({axisDim:pe.dim,axisIndex:he.componentIndex,axisType:he.type,axisId:he.id,value:ue,valueLabelOpt:{precision:_e.get(["label","precision"]),formatter:_e.get(["label","formatter"])},seriesDataIndices:de.slice()})}}function updateModelActually(oe,ie,le){var ue=le.axesInfo=[];each$c(ie,function(de,pe){var he=de.axisPointerModel.option,_e=oe[pe];_e?(!de.useHandle&&(he.status="show"),he.value=_e.value,he.seriesDataIndices=(_e.payloadBatch||[]).slice()):!de.useHandle&&(he.status="hide"),he.status==="show"&&ue.push({axisDim:de.axis.dim,axisIndex:de.axis.model.componentIndex,value:he.value})})}function dispatchTooltipActually(oe,ie,le,ue){if(illegalPoint(ie)||!oe.list.length){ue({type:"hideTip"});return}var de=((oe.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};ue({type:"showTip",escapeConnect:!0,x:ie[0],y:ie[1],tooltipOption:le.tooltipOption,position:le.position,dataIndexInside:de.dataIndexInside,dataIndex:de.dataIndex,seriesIndex:de.seriesIndex,dataByCoordSys:oe.list})}function dispatchHighDownActually(oe,ie,le){var ue=le.getZr(),de="axisPointerLastHighlights",pe=inner$3(ue)[de]||{},he=inner$3(ue)[de]={};each$c(oe,function(Ie,Ve){var Fe=Ie.axisPointerModel.option;Fe.status==="show"&&each$c(Fe.seriesDataIndices,function(Ue){var qe=Ue.seriesIndex+" | "+Ue.dataIndex;he[qe]=Ue})});var _e=[],$e=[];each$c(pe,function(Ie,Ve){!he[Ve]&&$e.push(Ie)}),each$c(he,function(Ie,Ve){!pe[Ve]&&_e.push(Ie)}),$e.length&&le.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:$e}),_e.length&&le.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:_e})}function findInputAxisInfo(oe,ie){for(var le=0;le<(oe||[]).length;le++){var ue=oe[le];if(ie.axis.dim===ue.axisDim&&ie.axis.model.componentIndex===ue.axisIndex)return ue}}function makeMapperParam(oe){var ie=oe.axis.model,le={},ue=le.axisDim=oe.axis.dim;return le.axisIndex=le[ue+"AxisIndex"]=ie.componentIndex,le.axisName=le[ue+"AxisName"]=ie.name,le.axisId=le[ue+"AxisId"]=ie.id,le}function illegalPoint(oe){return!oe||oe[0]==null||isNaN(oe[0])||oe[1]==null||isNaN(oe[1])}function install$f(oe){AxisView$1.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer$1),oe.registerComponentModel(AxisPointerModel$1),oe.registerComponentView(AxisPointerView$1),oe.registerPreprocessor(function(ie){if(ie){(!ie.axisPointer||ie.axisPointer.length===0)&&(ie.axisPointer={});var le=ie.axisPointer.link;le&&!isArray$1(le)&&(ie.axisPointer.link=[le])}}),oe.registerProcessor(oe.PRIORITY.PROCESSOR.STATISTIC,function(ie,le){ie.getComponent("axisPointer").coordSysAxesInfo=collect(ie,le)}),oe.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$e(oe){use$1(install$g),use$1(install$f)}function setKeyInfoToNewElOption(oe,ie){var le=oe.existing;if(ie.id=oe.keyInfo.id,!ie.type&&le&&(ie.type=le.type),ie.parentId==null){var ue=ie.parentOption;ue?ie.parentId=ue.id:le&&(ie.parentId=le.parentId)}ie.parentOption=null}function isSetLoc(oe,ie){var le;return each$c(ie,function(ue){oe[ue]!=null&&oe[ue]!=="auto"&&(le=!0)}),le}function mergeNewElOptionToExist(oe,ie,le){var ue=extend({},le),de=oe[ie],pe=le.$action||"merge";pe==="merge"?de?(merge(de,ue,!0),mergeLayoutParam(de,ue,{ignoreSize:!0}),copyLayoutParams(le,de),copyTransitionInfo(le,de),copyTransitionInfo(le,de,"shape"),copyTransitionInfo(le,de,"style"),copyTransitionInfo(le,de,"extra"),le.clipPath=de.clipPath):oe[ie]=ue:pe==="replace"?oe[ie]=ue:pe==="remove"&&de&&(oe[ie]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(oe,ie,le){if(le&&(!oe[le]&&ie[le]&&(oe[le]={}),oe=oe[le],ie=ie[le]),!(!oe||!ie))for(var ue=le?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,de=0;de<ue.length;de++){var pe=ue[de];oe[pe]==null&&ie[pe]!=null&&(oe[pe]=ie[pe])}}function setLayoutInfoToExist(oe,ie){if(oe&&(oe.hv=ie.hv=[isSetLoc(ie,["left","right"]),isSetLoc(ie,["top","bottom"])],oe.type==="group")){var le=oe,ue=ie;le.width==null&&(le.width=ue.width=0),le.height==null&&(le.height=ue.height=0)}}var GraphicComponentModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.preventAutoZ=!0,le}return ie.prototype.mergeOption=function(le,ue){var de=this.option.elements;this.option.elements=null,oe.prototype.mergeOption.call(this,le,ue),this.option.elements=de},ie.prototype.optionUpdated=function(le,ue){var de=this.option,pe=(ue?de:le).elements,he=de.elements=ue?[]:de.elements,_e=[];this._flatten(pe,_e,null);var $e=mappingToExists(he,_e,"normalMerge"),Ie=this._elOptionsToUpdate=[];each$c($e,function(Ve,Fe){var Ue=Ve.newOption;Ue&&(Ie.push(Ue),setKeyInfoToNewElOption(Ve,Ue),mergeNewElOptionToExist(he,Fe,Ue),setLayoutInfoToExist(he[Fe],Ue))},this),de.elements=filter(he,function(Ve){return Ve&&delete Ve.$action,Ve!=null})},ie.prototype._flatten=function(le,ue,de){each$c(le,function(pe){if(pe){de&&(pe.parentOption=de),ue.push(pe);var he=pe.children;he&&he.length&&this._flatten(he,ue,pe),delete pe.children}},this)},ie.prototype.useElOptionsToUpdate=function(){var le=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,le},ie.type="graphic",ie.defaultOption={elements:[]},ie}(ComponentModel$1),nonShapeGraphicElements={path:null,compoundPath:null,group:Group$3,image:ZRImage$1,text:ZRText$1},inner$2=makeInner(),GraphicComponentView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.init=function(){this._elMap=createHashMap()},ie.prototype.render=function(le,ue,de){le!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=le,this._updateElements(le),this._relocate(le,de)},ie.prototype._updateElements=function(le){var ue=le.useElOptionsToUpdate();if(ue){var de=this._elMap,pe=this.group,he=le.get("z"),_e=le.get("zlevel");each$c(ue,function($e){var Ie=convertOptionIdName($e.id,null),Ve=Ie!=null?de.get(Ie):null,Fe=convertOptionIdName($e.parentId,null),Ue=Fe!=null?de.get(Fe):pe,qe=$e.type,Et=$e.style;qe==="text"&&Et&&$e.hv&&$e.hv[1]&&(Et.textVerticalAlign=Et.textBaseline=Et.verticalAlign=Et.align=null);var At=$e.textContent,Lt=$e.textConfig;if(Et&&isEC4CompatibleStyle(Et,qe,!!Lt,!!At)){var hn=convertFromEC4CompatibleStyle(Et,qe,!0);!Lt&&hn.textConfig&&(Lt=$e.textConfig=hn.textConfig),!At&&hn.textContent&&(At=hn.textContent)}var vn=getCleanedElOption($e),_n=$e.$action||"merge",bn=_n==="merge",Sn=_n==="replace";if(bn){var Cn=!Ve,En=Ve;Cn?En=createEl(Ie,Ue,$e.type,de):(En&&(inner$2(En).isNew=!1),stopPreviousKeyframeAnimationAndRestore(En)),En&&(applyUpdateTransition(En,vn,le,{isInit:Cn}),updateCommonAttrs(En,$e,he,_e))}else if(Sn){removeEl(Ve,$e,de,le);var wn=createEl(Ie,Ue,$e.type,de);wn&&(applyUpdateTransition(wn,vn,le,{isInit:!0}),updateCommonAttrs(wn,$e,he,_e))}else _n==="remove"&&(updateLeaveTo(Ve,$e),removeEl(Ve,$e,de,le));var xn=de.get(Ie);if(xn&&At)if(bn){var kn=xn.getTextContent();kn?kn.attr(At):xn.setTextContent(new ZRText$1(At))}else Sn&&xn.setTextContent(new ZRText$1(At));if(xn){var Pn=$e.clipPath;if(Pn){var An=Pn.type,In=void 0,Cn=!1;if(bn){var Nn=xn.getClipPath();Cn=!Nn||inner$2(Nn).type!==An,In=Cn?newEl(An):Nn}else Sn&&(Cn=!0,In=newEl(An));xn.setClipPath(In),applyUpdateTransition(In,Pn,le,{isInit:Cn}),applyKeyframeAnimation(In,Pn.keyframeAnimation,le)}var Un=inner$2(xn);xn.setTextConfig(Lt),Un.option=$e,setEventData(xn,le,$e),setTooltipConfig({el:xn,componentModel:le,itemName:xn.name,itemTooltipOption:$e.tooltip}),applyKeyframeAnimation(xn,$e.keyframeAnimation,le)}})}},ie.prototype._relocate=function(le,ue){for(var de=le.option.elements,pe=this.group,he=this._elMap,_e=ue.getWidth(),$e=ue.getHeight(),Ie=["x","y"],Ve=0;Ve<de.length;Ve++){var Fe=de[Ve],Ue=convertOptionIdName(Fe.id,null),qe=Ue!=null?he.get(Ue):null;if(!(!qe||!qe.isGroup)){var Et=qe.parent,At=Et===pe,Lt=inner$2(qe),hn=inner$2(Et);Lt.width=parsePercent(Lt.option.width,At?_e:hn.width)||0,Lt.height=parsePercent(Lt.option.height,At?$e:hn.height)||0}}for(var Ve=de.length-1;Ve>=0;Ve--){var Fe=de[Ve],Ue=convertOptionIdName(Fe.id,null),qe=Ue!=null?he.get(Ue):null;if(qe){var Et=qe.parent,hn=inner$2(Et),vn=Et===pe?{width:_e,height:$e}:{width:hn.width,height:hn.height},_n={},bn=positionElement(qe,Fe,vn,null,{hv:Fe.hv,boundingMode:Fe.bounding},_n);if(!inner$2(qe).isNew&&bn){for(var Sn=Fe.transition,Cn={},En=0;En<Ie.length;En++){var wn=Ie[En],xn=_n[wn];Sn&&(isTransitionAll(Sn)||indexOf(Sn,wn)>=0)?Cn[wn]=xn:qe[wn]=xn}updateProps$1(qe,Cn,le,0)}else qe.attr(_n)}}},ie.prototype._clear=function(){var le=this,ue=this._elMap;ue.each(function(de){removeEl(de,inner$2(de).option,ue,le._lastGraphicModel)}),this._elMap=createHashMap()},ie.prototype.dispose=function(){this._clear()},ie.type="graphic",ie}(ComponentView$1);function newEl(oe){var ie=hasOwn(nonShapeGraphicElements,oe)?nonShapeGraphicElements[oe]:getShapeClass(oe),le=new ie({});return inner$2(le).type=oe,le}function createEl(oe,ie,le,ue){var de=newEl(le);return ie.add(de),ue.set(oe,de),inner$2(de).id=oe,inner$2(de).isNew=!0,de}function removeEl(oe,ie,le,ue){var de=oe&&oe.parent;de&&(oe.type==="group"&&oe.traverse(function(pe){removeEl(pe,ie,le,ue)}),applyLeaveTransition(oe,ie,ue),le.removeKey(inner$2(oe).id))}function updateCommonAttrs(oe,ie,le,ue){oe.isGroup||each$c([["cursor",Displayable$1.prototype.cursor],["zlevel",ue||0],["z",le||0],["z2",0]],function(de){var pe=de[0];hasOwn(ie,pe)?oe[pe]=retrieve2(ie[pe],de[1]):oe[pe]==null&&(oe[pe]=de[1])}),each$c(keys(ie),function(de){if(de.indexOf("on")===0){var pe=ie[de];oe[de]=isFunction(pe)?pe:null}}),hasOwn(ie,"draggable")&&(oe.draggable=ie.draggable),ie.name!=null&&(oe.name=ie.name),ie.id!=null&&(oe.id=ie.id)}function getCleanedElOption(oe){return oe=extend({},oe),each$c(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function(ie){delete oe[ie]}),oe}function setEventData(oe,ie,le){var ue=getECData(oe).eventData;!oe.silent&&!oe.ignore&&!ue&&(ue=getECData(oe).eventData={componentType:"graphic",componentIndex:ie.componentIndex,name:oe.name}),ue&&(ue.info=le.info)}function install$d(oe){oe.registerComponentModel(GraphicComponentModel),oe.registerComponentView(GraphicComponentView),oe.registerPreprocessor(function(ie){var le=ie.graphic;isArray$1(le)?!le[0]||!le[0].elements?ie.graphic=[{elements:le}]:ie.graphic=[ie.graphic[0]]:le&&!le.elements&&(ie.graphic=[{elements:[le]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(oe){var ie=oe.get("coordinateSystem");return indexOf(SERIES_COORDS,ie)>=0}function getAxisMainType(oe){return oe+"Axis"}function findEffectedDataZooms(oe,ie){var le=createHashMap(),ue=[],de=createHashMap();oe.eachComponent({mainType:"dataZoom",query:ie},function(Ve){de.get(Ve.uid)||_e(Ve)});var pe;do pe=!1,oe.eachComponent("dataZoom",he);while(pe);function he(Ve){!de.get(Ve.uid)&&$e(Ve)&&(_e(Ve),pe=!0)}function _e(Ve){de.set(Ve.uid,!0),ue.push(Ve),Ie(Ve)}function $e(Ve){var Fe=!1;return Ve.eachTargetAxis(function(Ue,qe){var Et=le.get(Ue);Et&&Et[qe]&&(Fe=!0)}),Fe}function Ie(Ve){Ve.eachTargetAxis(function(Fe,Ue){(le.get(Fe)||le.set(Fe,[]))[Ue]=!0})}return ue}function collectReferCoordSysModelInfo(oe){var ie=oe.ecModel,le={infoList:[],infoMap:createHashMap()};return oe.eachTargetAxis(function(ue,de){var pe=ie.getComponent(getAxisMainType(ue),de);if(pe){var he=pe.getCoordSysModel();if(he){var _e=he.uid,$e=le.infoMap.get(_e);$e||($e={model:he,axisModels:[]},le.infoList.push($e),le.infoMap.set(_e,$e)),$e.axisModels.push(pe)}}}),le}var DataZoomAxisInfo=function(){function oe(){this.indexList=[],this.indexMap=[]}return oe.prototype.add=function(ie){this.indexMap[ie]||(this.indexList.push(ie),this.indexMap[ie]=!0)},oe}(),DataZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._autoThrottle=!0,le._noTarget=!0,le._rangePropMode=["percent","percent"],le}return ie.prototype.init=function(le,ue,de){var pe=retrieveRawOption(le);this.settledOption=pe,this.mergeDefaultAndTheme(le,de),this._doInit(pe)},ie.prototype.mergeOption=function(le){var ue=retrieveRawOption(le);merge(this.option,le,!0),merge(this.settledOption,ue,!0),this._doInit(ue)},ie.prototype._doInit=function(le){var ue=this.option;this._setDefaultThrottle(le),this._updateRangeUse(le);var de=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(pe,he){this._rangePropMode[he]==="value"&&(ue[pe[0]]=de[pe[0]]=null)},this),this._resetTarget()},ie.prototype._resetTarget=function(){var le=this.get("orient",!0),ue=this._targetAxisInfoMap=createHashMap(),de=this._fillSpecifiedTargetAxis(ue);de?this._orient=le||this._makeAutoOrientByTargetAxis():(this._orient=le||"horizontal",this._fillAutoTargetAxisByOrient(ue,this._orient)),this._noTarget=!0,ue.each(function(pe){pe.indexList.length&&(this._noTarget=!1)},this)},ie.prototype._fillSpecifiedTargetAxis=function(le){var ue=!1;return each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(de){var pe=this.getReferringComponents(getAxisMainType(de),MULTIPLE_REFERRING);if(pe.specified){ue=!0;var he=new DataZoomAxisInfo;each$c(pe.models,function(_e){he.add(_e.componentIndex)}),le.set(de,he)}},this),ue},ie.prototype._fillAutoTargetAxisByOrient=function(le,ue){var de=this.ecModel,pe=!0;if(pe){var he=ue==="vertical"?"y":"x",_e=de.findComponents({mainType:he+"Axis"});$e(_e,he)}if(pe){var _e=de.findComponents({mainType:"singleAxis",filter:function(Ve){return Ve.get("orient",!0)===ue}});$e(_e,"single")}function $e(Ie,Ve){var Fe=Ie[0];if(Fe){var Ue=new DataZoomAxisInfo;if(Ue.add(Fe.componentIndex),le.set(Ve,Ue),pe=!1,Ve==="x"||Ve==="y"){var qe=Fe.getReferringComponents("grid",SINGLE_REFERRING).models[0];qe&&each$c(Ie,function(Et){Fe.componentIndex!==Et.componentIndex&&qe===Et.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&Ue.add(Et.componentIndex)})}}}pe&&each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(Ie){if(pe){var Ve=de.findComponents({mainType:getAxisMainType(Ie),filter:function(Ue){return Ue.get("type",!0)==="category"}});if(Ve[0]){var Fe=new DataZoomAxisInfo;Fe.add(Ve[0].componentIndex),le.set(Ie,Fe),pe=!1}}},this)},ie.prototype._makeAutoOrientByTargetAxis=function(){var le;return this.eachTargetAxis(function(ue){!le&&(le=ue)},this),le==="y"?"vertical":"horizontal"},ie.prototype._setDefaultThrottle=function(le){if(le.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var ue=this.ecModel.option;this.option.throttle=ue.animation&&ue.animationDurationUpdate>0?100:20}},ie.prototype._updateRangeUse=function(le){var ue=this._rangePropMode,de=this.get("rangeMode");each$c([["start","startValue"],["end","endValue"]],function(pe,he){var _e=le[pe[0]]!=null,$e=le[pe[1]]!=null;_e&&!$e?ue[he]="percent":!_e&&$e?ue[he]="value":de?ue[he]=de[he]:_e&&(ue[he]="percent")})},ie.prototype.noTarget=function(){return this._noTarget},ie.prototype.getFirstTargetAxisModel=function(){var le;return this.eachTargetAxis(function(ue,de){le==null&&(le=this.ecModel.getComponent(getAxisMainType(ue),de))},this),le},ie.prototype.eachTargetAxis=function(le,ue){this._targetAxisInfoMap.each(function(de,pe){each$c(de.indexList,function(he){le.call(ue,pe,he)})})},ie.prototype.getAxisProxy=function(le,ue){var de=this.getAxisModel(le,ue);if(de)return de.__dzAxisProxy},ie.prototype.getAxisModel=function(le,ue){var de=this._targetAxisInfoMap.get(le);if(de&&de.indexMap[ue])return this.ecModel.getComponent(getAxisMainType(le),ue)},ie.prototype.setRawRange=function(le){var ue=this.option,de=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(pe){(le[pe[0]]!=null||le[pe[1]]!=null)&&(ue[pe[0]]=de[pe[0]]=le[pe[0]],ue[pe[1]]=de[pe[1]]=le[pe[1]])},this),this._updateRangeUse(le)},ie.prototype.setCalculatedRange=function(le){var ue=this.option;each$c(["start","startValue","end","endValue"],function(de){ue[de]=le[de]})},ie.prototype.getPercentRange=function(){var le=this.findRepresentativeAxisProxy();if(le)return le.getDataPercentWindow()},ie.prototype.getValueRange=function(le,ue){if(le==null&&ue==null){var de=this.findRepresentativeAxisProxy();if(de)return de.getDataValueWindow()}else return this.getAxisProxy(le,ue).getDataValueWindow()},ie.prototype.findRepresentativeAxisProxy=function(le){if(le)return le.__dzAxisProxy;for(var ue,de=this._targetAxisInfoMap.keys(),pe=0;pe<de.length;pe++)for(var he=de[pe],_e=this._targetAxisInfoMap.get(he),$e=0;$e<_e.indexList.length;$e++){var Ie=this.getAxisProxy(he,_e.indexList[$e]);if(Ie.hostedBy(this))return Ie;ue||(ue=Ie)}return ue},ie.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},ie.prototype.getOrient=function(){return this._orient},ie.type="dataZoom",ie.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],ie.defaultOption={z:4,filterMode:"filter",start:0,end:100},ie}(ComponentModel$1);function retrieveRawOption(oe){var ie={};return each$c(["start","end","startValue","endValue","throttle"],function(le){oe.hasOwnProperty(le)&&(ie[le]=oe[le])}),ie}const DataZoomModel$1=DataZoomModel;var SelectDataZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.select",ie}(DataZoomModel$1);const SelectZoomModel=SelectDataZoomModel;var DataZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.render=function(le,ue,de,pe){this.dataZoomModel=le,this.ecModel=ue,this.api=de},ie.type="dataZoom",ie}(ComponentView$1);const DataZoomView$1=DataZoomView;var SelectDataZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.select",ie}(DataZoomView$1);const SelectZoomView=SelectDataZoomView;var each$7=each$c,asc$1=asc$2,AxisProxy=function(){function oe(ie,le,ue,de){this._dimName=ie,this._axisIndex=le,this.ecModel=de,this._dataZoomModel=ue}return oe.prototype.hostedBy=function(ie){return this._dataZoomModel===ie},oe.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},oe.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},oe.prototype.getTargetSeriesModels=function(){var ie=[];return this.ecModel.eachSeries(function(le){if(isCoordSupported(le)){var ue=getAxisMainType(this._dimName),de=le.getReferringComponents(ue,SINGLE_REFERRING).models[0];de&&this._axisIndex===de.componentIndex&&ie.push(le)}},this),ie},oe.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},oe.prototype.getMinMaxSpan=function(){return clone$3(this._minMaxSpan)},oe.prototype.calculateDataWindow=function(ie){var le=this._dataExtent,ue=this.getAxisModel(),de=ue.axis.scale,pe=this._dataZoomModel.getRangePropMode(),he=[0,100],_e=[],$e=[],Ie;each$7(["start","end"],function(Ue,qe){var Et=ie[Ue],At=ie[Ue+"Value"];pe[qe]==="percent"?(Et==null&&(Et=he[qe]),At=de.parse(linearMap$2(Et,he,le))):(Ie=!0,At=At==null?le[qe]:de.parse(At),Et=linearMap$2(At,le,he)),$e[qe]=At==null||isNaN(At)?le[qe]:At,_e[qe]=Et==null||isNaN(Et)?he[qe]:Et}),asc$1($e),asc$1(_e);var Ve=this._minMaxSpan;Ie?Fe($e,_e,le,he,!1):Fe(_e,$e,he,le,!0);function Fe(Ue,qe,Et,At,Lt){var hn=Lt?"Span":"ValueSpan";sliderMove(0,Ue,Et,"all",Ve["min"+hn],Ve["max"+hn]);for(var vn=0;vn<2;vn++)qe[vn]=linearMap$2(Ue[vn],Et,At,!0),Lt&&(qe[vn]=de.parse(qe[vn]))}return{valueWindow:$e,percentWindow:_e}},oe.prototype.reset=function(ie){if(ie===this._dataZoomModel){var le=this.getTargetSeriesModels();this._dataExtent=calculateDataExtent(this,this._dimName,le),this._updateMinMaxSpan();var ue=this.calculateDataWindow(ie.settledOption);this._valueWindow=ue.valueWindow,this._percentWindow=ue.percentWindow,this._setAxisModel()}},oe.prototype.filterData=function(ie,le){if(ie!==this._dataZoomModel)return;var ue=this._dimName,de=this.getTargetSeriesModels(),pe=ie.get("filterMode"),he=this._valueWindow;if(pe==="none")return;each$7(de,function($e){var Ie=$e.getData(),Ve=Ie.mapDimensionsAll(ue);if(Ve.length){if(pe==="weakFilter"){var Fe=Ie.getStore(),Ue=map$2(Ve,function(qe){return Ie.getDimensionIndex(qe)},Ie);Ie.filterSelf(function(qe){for(var Et,At,Lt,hn=0;hn<Ve.length;hn++){var vn=Fe.get(Ue[hn],qe),_n=!isNaN(vn),bn=vn<he[0],Sn=vn>he[1];if(_n&&!bn&&!Sn)return!0;_n&&(Lt=!0),bn&&(Et=!0),Sn&&(At=!0)}return Lt&&Et&&At})}else each$7(Ve,function(qe){if(pe==="empty")$e.setData(Ie=Ie.map(qe,function(At){return _e(At)?At:NaN}));else{var Et={};Et[qe]=he,Ie.selectRange(Et)}});each$7(Ve,function(qe){Ie.setApproximateExtent(he,qe)})}});function _e($e){return $e>=he[0]&&$e<=he[1]}},oe.prototype._updateMinMaxSpan=function(){var ie=this._minMaxSpan={},le=this._dataZoomModel,ue=this._dataExtent;each$7(["min","max"],function(de){var pe=le.get(de+"Span"),he=le.get(de+"ValueSpan");he!=null&&(he=this.getAxisModel().axis.scale.parse(he)),he!=null?pe=linearMap$2(ue[0]+he,ue,[0,100],!0):pe!=null&&(he=linearMap$2(pe,[0,100],ue,!0)-ue[0]),ie[de+"Span"]=pe,ie[de+"ValueSpan"]=he},this)},oe.prototype._setAxisModel=function(){var ie=this.getAxisModel(),le=this._percentWindow,ue=this._valueWindow;if(le){var de=getPixelPrecision(ue,[0,500]);de=Math.min(de,20);var pe=ie.axis.scale.rawExtentInfo;le[0]!==0&&pe.setDeterminedMinMax("min",+ue[0].toFixed(de)),le[1]!==100&&pe.setDeterminedMinMax("max",+ue[1].toFixed(de)),pe.freeze()}},oe}();function calculateDataExtent(oe,ie,le){var ue=[1/0,-1/0];each$7(le,function(he){unionAxisExtentFromData(ue,he.getData(),ie)});var de=oe.getAxisModel(),pe=ensureScaleRawExtentInfo(de.axis.scale,de,ue).calculate();return[pe.min,pe.max]}const AxisProxy$1=AxisProxy;var dataZoomProcessor={getTargetSeries:function(oe){function ie(de){oe.eachComponent("dataZoom",function(pe){pe.eachTargetAxis(function(he,_e){var $e=oe.getComponent(getAxisMainType(he),_e);de(he,_e,$e,pe)})})}ie(function(de,pe,he,_e){he.__dzAxisProxy=null});var le=[];ie(function(de,pe,he,_e){he.__dzAxisProxy||(he.__dzAxisProxy=new AxisProxy$1(de,pe,_e,oe),le.push(he.__dzAxisProxy))});var ue=createHashMap();return each$c(le,function(de){each$c(de.getTargetSeriesModels(),function(pe){ue.set(pe.uid,pe)})}),ue},overallReset:function(oe,ie){oe.eachComponent("dataZoom",function(le){le.eachTargetAxis(function(ue,de){le.getAxisProxy(ue,de).reset(le)}),le.eachTargetAxis(function(ue,de){le.getAxisProxy(ue,de).filterData(le,ie)})}),oe.eachComponent("dataZoom",function(le){var ue=le.findRepresentativeAxisProxy();if(ue){var de=ue.getDataPercentWindow(),pe=ue.getDataValueWindow();le.setCalculatedRange({start:de[0],end:de[1],startValue:pe[0],endValue:pe[1]})}})}};const dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction(oe){oe.registerAction("dataZoom",function(ie,le){var ue=findEffectedDataZooms(le,ie);each$c(ue,function(de){de.setRawRange({start:ie.start,end:ie.end,startValue:ie.startValue,endValue:ie.endValue})})})}var installed$1=!1;function installCommon$1(oe){installed$1||(installed$1=!0,oe.registerProcessor(oe.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor$1),installDataZoomAction(oe),oe.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$c(oe){oe.registerComponentModel(SelectZoomModel),oe.registerComponentView(SelectZoomView),installCommon$1(oe)}var ToolboxFeature=function(){function oe(){}return oe}(),features={};function registerFeature(oe,ie){features[oe]=ie}function getFeature(oe){return features[oe]}var ToolboxModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.optionUpdated=function(){oe.prototype.optionUpdated.apply(this,arguments);var le=this.ecModel;each$c(this.option.feature,function(ue,de){var pe=getFeature(de);pe&&(pe.getDefaultOption&&(pe.defaultOption=pe.getDefaultOption(le)),merge(ue,pe.defaultOption))})},ie.type="toolbox",ie.layoutMode={type:"box",ignoreSize:!0},ie.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},ie}(ComponentModel$1);const ToolboxModel$1=ToolboxModel;function layout(oe,ie,le){var ue=ie.getBoxLayoutParams(),de=ie.get("padding"),pe={width:le.getWidth(),height:le.getHeight()},he=getLayoutRect(ue,pe,de);box(ie.get("orient"),oe,ie.get("itemGap"),he.width,he.height),positionElement(oe,ue,pe,de)}function makeBackground(oe,ie){var le=normalizeCssArray(ie.get("padding")),ue=ie.getItemStyle(["color","opacity"]);return ue.fill=ie.get("backgroundColor"),oe=new Rect$2({shape:{x:oe.x-le[3],y:oe.y-le[0],width:oe.width+le[1]+le[3],height:oe.height+le[0]+le[2],r:ie.get("borderRadius")},style:ue,silent:!0,z2:-1}),oe}var ToolboxView=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.render=function(le,ue,de,pe){var he=this.group;if(he.removeAll(),!le.get("show"))return;var _e=+le.get("itemSize"),$e=le.get("orient")==="vertical",Ie=le.get("feature")||{},Ve=this._features||(this._features={}),Fe=[];each$c(Ie,function(Et,At){Fe.push(At)}),new DataDiffer$1(this._featureNames||[],Fe).add(Ue).update(Ue).remove(curry$1(Ue,null)).execute(),this._featureNames=Fe;function Ue(Et,At){var Lt=Fe[Et],hn=Fe[At],vn=Ie[Lt],_n=new Model$1(vn,le,le.ecModel),bn;if(pe&&pe.newTitle!=null&&pe.featureName===Lt&&(vn.title=pe.newTitle),Lt&&!hn){if(isUserFeatureName(Lt))bn={onclick:_n.option.onclick,featureName:Lt};else{var Sn=getFeature(Lt);if(!Sn)return;bn=new Sn}Ve[Lt]=bn}else if(bn=Ve[hn],!bn)return;bn.uid=getUID("toolbox-feature"),bn.model=_n,bn.ecModel=ue,bn.api=de;var Cn=bn instanceof ToolboxFeature;if(!Lt&&hn){Cn&&bn.dispose&&bn.dispose(ue,de);return}if(!_n.get("show")||Cn&&bn.unusable){Cn&&bn.remove&&bn.remove(ue,de);return}qe(_n,bn,Lt),_n.setIconStatus=function(En,wn){var xn=this.option,kn=this.iconPaths;xn.iconStatus=xn.iconStatus||{},xn.iconStatus[En]=wn,kn[En]&&(wn==="emphasis"?enterEmphasis:leaveEmphasis)(kn[En])},bn instanceof ToolboxFeature&&bn.render&&bn.render(_n,ue,de,pe)}function qe(Et,At,Lt){var hn=Et.getModel("iconStyle"),vn=Et.getModel(["emphasis","iconStyle"]),_n=At instanceof ToolboxFeature&&At.getIcons?At.getIcons():Et.get("icon"),bn=Et.get("title")||{},Sn,Cn;isString(_n)?(Sn={},Sn[Lt]=_n):Sn=_n,isString(bn)?(Cn={},Cn[Lt]=bn):Cn=bn;var En=Et.iconPaths={};each$c(Sn,function(wn,xn){var kn=createIcon(wn,{},{x:-_e/2,y:-_e/2,width:_e,height:_e});kn.setStyle(hn.getItemStyle());var Pn=kn.ensureState("emphasis");Pn.style=vn.getItemStyle();var An=new ZRText$1({style:{text:Cn[xn],align:vn.get("textAlign"),borderRadius:vn.get("textBorderRadius"),padding:vn.get("textPadding"),fill:null},ignore:!0});kn.setTextContent(An),setTooltipConfig({el:kn,componentModel:le,itemName:xn,formatterParamsExtra:{title:Cn[xn]}}),kn.__title=Cn[xn],kn.on("mouseover",function(){var In=vn.getItemStyle(),Nn=$e?le.get("right")==null&&le.get("left")!=="right"?"right":"left":le.get("bottom")==null&&le.get("top")!=="bottom"?"bottom":"top";An.setStyle({fill:vn.get("textFill")||In.fill||In.stroke||"#000",backgroundColor:vn.get("textBackgroundColor")}),kn.setTextConfig({position:vn.get("textPosition")||Nn}),An.ignore=!le.get("showTitle"),de.enterEmphasis(this)}).on("mouseout",function(){Et.get(["iconStatus",xn])!=="emphasis"&&de.leaveEmphasis(this),An.hide()}),(Et.get(["iconStatus",xn])==="emphasis"?enterEmphasis:leaveEmphasis)(kn),he.add(kn),kn.on("click",bind$1(At.onclick,At,ue,de,xn)),En[xn]=kn})}layout(he,le,de),he.add(makeBackground(he.getBoundingRect(),le)),$e||he.eachChild(function(Et){var At=Et.__title,Lt=Et.ensureState("emphasis"),hn=Lt.textConfig||(Lt.textConfig={}),vn=Et.getTextContent(),_n=vn&&vn.ensureState("emphasis");if(_n&&!isFunction(_n)&&At){var bn=_n.style||(_n.style={}),Sn=getBoundingRect(At,ZRText$1.makeFont(bn)),Cn=Et.x+he.x,En=Et.y+he.y+_e,wn=!1;En+Sn.height>de.getHeight()&&(hn.position="top",wn=!0);var xn=wn?-5-Sn.height:_e+10;Cn+Sn.width/2>de.getWidth()?(hn.position=["100%",xn],bn.align="right"):Cn-Sn.width/2<0&&(hn.position=[0,xn],bn.align="left")}})},ie.prototype.updateView=function(le,ue,de,pe){each$c(this._features,function(he){he instanceof ToolboxFeature&&he.updateView&&he.updateView(he.model,ue,de,pe)})},ie.prototype.remove=function(le,ue){each$c(this._features,function(de){de instanceof ToolboxFeature&&de.remove&&de.remove(le,ue)}),this.group.removeAll()},ie.prototype.dispose=function(le,ue){each$c(this._features,function(de){de instanceof ToolboxFeature&&de.dispose&&de.dispose(le,ue)})},ie.type="toolbox",ie}(ComponentView$1);function isUserFeatureName(oe){return oe.indexOf("my")===0}const ToolboxView$1=ToolboxView;var SaveAsImage=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.onclick=function(le,ue){var de=this.model,pe=de.get("name")||le.get("title.0.text")||"echarts",he=ue.getZr().painter.getType()==="svg",_e=he?"svg":de.get("type",!0)||"png",$e=ue.getConnectedDataURL({type:_e,backgroundColor:de.get("backgroundColor",!0)||le.get("backgroundColor")||"#fff",connectedBackgroundColor:de.get("connectedBackgroundColor"),excludeComponents:de.get("excludeComponents"),pixelRatio:de.get("pixelRatio")}),Ie=env$1.browser;if(isFunction(MouseEvent)&&(Ie.newEdge||!Ie.ie&&!Ie.edge)){var Ve=document.createElement("a");Ve.download=pe+"."+_e,Ve.target="_blank",Ve.href=$e;var Fe=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});Ve.dispatchEvent(Fe)}else if(window.navigator.msSaveOrOpenBlob||he){var Ue=$e.split(","),qe=Ue[0].indexOf("base64")>-1,Et=he?decodeURIComponent(Ue[1]):Ue[1];qe&&(Et=window.atob(Et));var At=pe+"."+_e;if(window.navigator.msSaveOrOpenBlob){for(var Lt=Et.length,hn=new Uint8Array(Lt);Lt--;)hn[Lt]=Et.charCodeAt(Lt);var vn=new Blob([hn]);window.navigator.msSaveOrOpenBlob(vn,At)}else{var _n=document.createElement("iframe");document.body.appendChild(_n);var bn=_n.contentWindow,Sn=bn.document;Sn.open("image/svg+xml","replace"),Sn.write(Et),Sn.close(),bn.focus(),Sn.execCommand("SaveAs",!0,At),document.body.removeChild(_n)}}else{var Cn=de.get("lang"),En='<body style="margin:0;"><img src="'+$e+'" style="max-width:100%;" title="'+(Cn&&Cn[0]||"")+'" /></body>',wn=window.open();wn.document.write(En),wn.document.title=pe}},ie.getDefaultOption=function(le){var ue={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:le.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:le.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return ue},ie}(ToolboxFeature);const SaveAsImage$1=SaveAsImage;var INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.getIcons=function(){var le=this.model,ue=le.get("icon"),de={};return each$c(le.get("type"),function(pe){ue[pe]&&(de[pe]=ue[pe])}),de},ie.getDefaultOption=function(le){var ue={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:le.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return ue},ie.prototype.onclick=function(le,ue,de){var pe=this.model,he=pe.get(["seriesIndex",de]);if(seriesOptGenreator[de]){var _e={series:[]},$e=function(Fe){var Ue=Fe.subType,qe=Fe.id,Et=seriesOptGenreator[de](Ue,qe,Fe,pe);Et&&(defaults(Et,Fe.option),_e.series.push(Et));var At=Fe.coordinateSystem;if(At&&At.type==="cartesian2d"&&(de==="line"||de==="bar")){var Lt=At.getAxesByScale("ordinal")[0];if(Lt){var hn=Lt.dim,vn=hn+"Axis",_n=Fe.getReferringComponents(vn,SINGLE_REFERRING).models[0],bn=_n.componentIndex;_e[vn]=_e[vn]||[];for(var Sn=0;Sn<=bn;Sn++)_e[vn][bn]=_e[vn][bn]||{};_e[vn][bn].boundaryGap=de==="bar"}}};each$c(radioTypes,function(Fe){indexOf(Fe,de)>=0&&each$c(Fe,function(Ue){pe.setIconStatus(Ue,"normal")})}),pe.setIconStatus(de,"emphasis"),le.eachComponent({mainType:"series",query:he==null?null:{seriesIndex:he}},$e);var Ie,Ve=de;de==="stack"&&(Ie=merge({stack:pe.option.title.tiled,tiled:pe.option.title.stack},pe.option.title),pe.get(["iconStatus",de])!=="emphasis"&&(Ve="tiled")),ue.dispatchAction({type:"changeMagicType",currentType:Ve,newOption:_e,newTitle:Ie,featureName:"magicType"})}},ie}(ToolboxFeature),seriesOptGenreator={line:function(oe,ie,le,ue){if(oe==="bar")return merge({id:ie,type:"line",data:le.get("data"),stack:le.get("stack"),markPoint:le.get("markPoint"),markLine:le.get("markLine")},ue.get(["option","line"])||{},!0)},bar:function(oe,ie,le,ue){if(oe==="line")return merge({id:ie,type:"bar",data:le.get("data"),stack:le.get("stack"),markPoint:le.get("markPoint"),markLine:le.get("markLine")},ue.get(["option","bar"])||{},!0)},stack:function(oe,ie,le,ue){var de=le.get("stack")===INNER_STACK_KEYWORD;if(oe==="line"||oe==="bar")return ue.setIconStatus("stack",de?"normal":"emphasis"),merge({id:ie,stack:de?"":INNER_STACK_KEYWORD},ue.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(oe,ie){ie.mergeOption(oe.newOption)});const MagicType$1=MagicType;var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(oe){var ie={},le=[],ue=[];return oe.eachRawSeries(function(de){var pe=de.coordinateSystem;if(pe&&(pe.type==="cartesian2d"||pe.type==="polar")){var he=pe.getBaseAxis();if(he.type==="category"){var _e=he.dim+"_"+he.index;ie[_e]||(ie[_e]={categoryAxis:he,valueAxis:pe.getOtherAxis(he),series:[]},ue.push({axisDim:he.dim,axisIndex:he.index})),ie[_e].series.push(de)}else le.push(de)}else le.push(de)}),{seriesGroupByCategoryAxis:ie,other:le,meta:ue}}function assembleSeriesWithCategoryAxis(oe){var ie=[];return each$c(oe,function(le,ue){var de=le.categoryAxis,pe=le.valueAxis,he=pe.dim,_e=[" "].concat(map$2(le.series,function(qe){return qe.name})),$e=[de.model.getCategories()];each$c(le.series,function(qe){var Et=qe.getRawData();$e.push(qe.getRawData().mapArray(Et.mapDimension(he),function(At){return At}))});for(var Ie=[_e.join(ITEM_SPLITER)],Ve=0;Ve<$e[0].length;Ve++){for(var Fe=[],Ue=0;Ue<$e.length;Ue++)Fe.push($e[Ue][Ve]);Ie.push(Fe.join(ITEM_SPLITER))}ie.push(Ie.join(`
`))}),ie.join(`
`+BLOCK_SPLITER+`
`)}function assembleOtherSeries(oe){return map$2(oe,function(ie){var le=ie.getRawData(),ue=[ie.name],de=[];return le.each(le.dimensions,function(){for(var pe=arguments.length,he=arguments[pe-1],_e=le.getName(he),$e=0;$e<pe-1;$e++)de[$e]=arguments[$e];ue.push((_e?_e+ITEM_SPLITER:"")+de.join(ITEM_SPLITER))}),ue.join(`
`)}).join(`
`+BLOCK_SPLITER+`
`)}function getContentFromModel(oe){var ie=groupSeries(oe);return{value:filter([assembleSeriesWithCategoryAxis(ie.seriesGroupByCategoryAxis),assembleOtherSeries(ie.other)],function(le){return!!le.replace(/[\n\t\s]/g,"")}).join(`
`+BLOCK_SPLITER+`
`),meta:ie.meta}}function trim(oe){return oe.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function isTSVFormat(oe){var ie=oe.slice(0,oe.indexOf(`
`));if(ie.indexOf(ITEM_SPLITER)>=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(oe){for(var ie=oe.split(/\n+/g),le=trim(ie.shift()).split(itemSplitRegex),ue=[],de=map$2(le,function($e){return{name:$e,data:[]}}),pe=0;pe<ie.length;pe++){var he=trim(ie[pe]).split(itemSplitRegex);ue.push(he.shift());for(var _e=0;_e<he.length;_e++)de[_e]&&(de[_e].data[pe]=he[_e])}return{series:de,categories:ue}}function parseListContents(oe){for(var ie=oe.split(/\n+/g),le=trim(ie.shift()),ue=[],de=0;de<ie.length;de++){var pe=trim(ie[de]);if(pe){var he=pe.split(itemSplitRegex),_e="",$e=void 0,Ie=!1;isNaN(he[0])?(Ie=!0,_e=he[0],he=he.slice(1),ue[de]={name:_e,value:[]},$e=ue[de].value):$e=ue[de]=[];for(var Ve=0;Ve<he.length;Ve++)$e.push(+he[Ve]);$e.length===1&&(Ie?ue[de].value=$e[0]:ue[de]=$e[0])}}return{name:le,data:ue}}function parseContents(oe,ie){var le=oe.split(new RegExp(`
*`+BLOCK_SPLITER+`
*`,"g")),ue={series:[]};return each$c(le,function(de,pe){if(isTSVFormat(de)){var he=parseTSVContents(de),_e=ie[pe],$e=_e.axisDim+"Axis";_e&&(ue[$e]=ue[$e]||[],ue[$e][_e.axisIndex]={data:he.categories},ue.series=ue.series.concat(he.series))}else{var he=parseListContents(de);ue.series.push(he)}}),ue}var DataView$1=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.onclick=function(le,ue){setTimeout(function(){ue.dispatchAction({type:"hideTip"})});var de=ue.getDom(),pe=this.model;this._dom&&de.removeChild(this._dom);var he=document.createElement("div");he.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",he.style.backgroundColor=pe.get("backgroundColor")||"#fff";var _e=document.createElement("h4"),$e=pe.get("lang")||[];_e.innerHTML=$e[0]||pe.get("title"),_e.style.cssText="margin:10px 20px",_e.style.color=pe.get("textColor");var Ie=document.createElement("div"),Ve=document.createElement("textarea");Ie.style.cssText="overflow:auto";var Fe=pe.get("optionToContent"),Ue=pe.get("contentToOption"),qe=getContentFromModel(le);if(isFunction(Fe)){var Et=Fe(ue.getOption());isString(Et)?Ie.innerHTML=Et:isDom(Et)&&Ie.appendChild(Et)}else{Ve.readOnly=pe.get("readOnly");var At=Ve.style;At.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",At.color=pe.get("textColor"),At.borderColor=pe.get("textareaBorderColor"),At.backgroundColor=pe.get("textareaColor"),Ve.value=qe.value,Ie.appendChild(Ve)}var Lt=qe.meta,hn=document.createElement("div");hn.style.cssText="position:absolute;bottom:5px;left:0;right:0";var vn="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_n=document.createElement("div"),bn=document.createElement("div");vn+=";background-color:"+pe.get("buttonColor"),vn+=";color:"+pe.get("buttonTextColor");var Sn=this;function Cn(){de.removeChild(he),Sn._dom=null}addEventListener(_n,"click",Cn),addEventListener(bn,"click",function(){if(Ue==null&&Fe!=null||Ue!=null&&Fe==null){Cn();return}var En;try{isFunction(Ue)?En=Ue(Ie,ue.getOption()):En=parseContents(Ve.value,Lt)}catch(wn){throw Cn(),new Error("Data view format error "+wn)}En&&ue.dispatchAction({type:"changeDataView",newOption:En}),Cn()}),_n.innerHTML=$e[1],bn.innerHTML=$e[2],bn.style.cssText=_n.style.cssText=vn,!pe.get("readOnly")&&hn.appendChild(bn),hn.appendChild(_n),he.appendChild(_e),he.appendChild(Ie),he.appendChild(hn),Ie.style.height=de.clientHeight-80+"px",de.appendChild(he),this._dom=he},ie.prototype.remove=function(le,ue){this._dom&&ue.getDom().removeChild(this._dom)},ie.prototype.dispose=function(le,ue){this.remove(le,ue)},ie.getDefaultOption=function(le){var ue={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:le.getLocaleModel().get(["toolbox","dataView","title"]),lang:le.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return ue},ie}(ToolboxFeature);function tryMergeDataOption(oe,ie){return map$2(oe,function(le,ue){var de=ie&&ie[ue];if(isObject$3(de)&&!isArray$1(de)){var pe=isObject$3(le)&&!isArray$1(le);pe||(le={value:le});var he=de.name!=null&&le.name==null;return le=defaults(le,de),he&&delete le.name,le}else return le})}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(oe,ie){var le=[];each$c(oe.newOption.series,function(ue){var de=ie.getSeriesByName(ue.name)[0];if(!de)le.push(extend({type:"scatter"},ue));else{var pe=de.get("data");le.push({name:ue.name,data:tryMergeDataOption(ue.data,pe)})}}),ie.mergeOption(defaults({series:le},oe.newOption))});const DataView$2=DataView$1;var each$6=each$c,inner$1=makeInner();function push(oe,ie){var le=getStoreSnapshots(oe);each$6(ie,function(ue,de){for(var pe=le.length-1;pe>=0;pe--){var he=le[pe];if(he[de])break}if(pe<0){var _e=oe.queryComponents({mainType:"dataZoom",subType:"select",id:de})[0];if(_e){var $e=_e.getPercentRange();le[0][de]={dataZoomId:de,start:$e[0],end:$e[1]}}}}),le.push(ie)}function pop(oe){var ie=getStoreSnapshots(oe),le=ie[ie.length-1];ie.length>1&&ie.pop();var ue={};return each$6(le,function(de,pe){for(var he=ie.length-1;he>=0;he--)if(de=ie[he][pe],de){ue[pe]=de;break}}),ue}function clear(oe){inner$1(oe).snapshots=null}function count(oe){return getStoreSnapshots(oe).length}function getStoreSnapshots(oe){var ie=inner$1(oe);return ie.snapshots||(ie.snapshots=[{}]),ie.snapshots}var RestoreOption=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.onclick=function(le,ue){clear(le),ue.dispatchAction({type:"restore",from:this.uid})},ie.getDefaultOption=function(le){var ue={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:le.getLocaleModel().get(["toolbox","restore","title"])};return ue},ie}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(oe,ie){ie.resetOption("recreate")});const Restore=RestoreOption;var INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function oe(ie,le,ue){var de=this;this._targetInfoList=[];var pe=parseFinder(le,ie);each$c(targetInfoBuilders,function(he,_e){(!ue||!ue.include||indexOf(ue.include,_e)>=0)&&he(pe,de._targetInfoList)})}return oe.prototype.setOutputRanges=function(ie,le){return this.matchOutputRanges(ie,le,function(ue,de,pe){if((ue.coordRanges||(ue.coordRanges=[])).push(de),!ue.coordRange){ue.coordRange=de;var he=coordConvert[ue.brushType](0,pe,de);ue.__rangeOffset={offset:diffProcessor[ue.brushType](he.values,ue.range,[1,1]),xyMinMax:he.xyMinMax}}}),ie},oe.prototype.matchOutputRanges=function(ie,le,ue){each$c(ie,function(de){var pe=this.findTargetInfo(de,le);pe&&pe!==!0&&each$c(pe.coordSyses,function(he){var _e=coordConvert[de.brushType](1,he,de.range,!0);ue(de,_e.values,he,le)})},this)},oe.prototype.setInputRanges=function(ie,le){each$c(ie,function(ue){var de=this.findTargetInfo(ue,le);if(ue.range=ue.range||[],de&&de!==!0){ue.panelId=de.panelId;var pe=coordConvert[ue.brushType](0,de.coordSys,ue.coordRange),he=ue.__rangeOffset;ue.range=he?diffProcessor[ue.brushType](pe.values,he.offset,getScales(pe.xyMinMax,he.xyMinMax)):pe.values}},this)},oe.prototype.makePanelOpts=function(ie,le){return map$2(this._targetInfoList,function(ue){var de=ue.getPanelRect();return{panelId:ue.panelId,defaultBrushType:le?le(ue):null,clipPath:makeRectPanelClipPath(de),isTargetByCursor:makeRectIsTargetByCursor(de,ie,ue.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(de)}})},oe.prototype.controlSeries=function(ie,le,ue){var de=this.findTargetInfo(ie,ue);return de===!0||de&&indexOf(de.coordSyses,le.coordinateSystem)>=0},oe.prototype.findTargetInfo=function(ie,le){for(var ue=this._targetInfoList,de=parseFinder(le,ie),pe=0;pe<ue.length;pe++){var he=ue[pe],_e=ie.panelId;if(_e){if(he.panelId===_e)return he}else for(var $e=0;$e<targetInfoMatchers.length;$e++)if(targetInfoMatchers[$e](de,he))return he}return!0},oe}();function formatMinMax(oe){return oe[0]>oe[1]&&oe.reverse(),oe}function parseFinder(oe,ie){return parseFinder$1(oe,ie,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(oe,ie){var le=oe.xAxisModels,ue=oe.yAxisModels,de=oe.gridModels,pe=createHashMap(),he={},_e={};!le&&!ue&&!de||(each$c(le,function($e){var Ie=$e.axis.grid.model;pe.set(Ie.id,Ie),he[Ie.id]=!0}),each$c(ue,function($e){var Ie=$e.axis.grid.model;pe.set(Ie.id,Ie),_e[Ie.id]=!0}),each$c(de,function($e){pe.set($e.id,$e),he[$e.id]=!0,_e[$e.id]=!0}),pe.each(function($e){var Ie=$e.coordinateSystem,Ve=[];each$c(Ie.getCartesians(),function(Fe,Ue){(indexOf(le,Fe.getAxis("x").model)>=0||indexOf(ue,Fe.getAxis("y").model)>=0)&&Ve.push(Fe)}),ie.push({panelId:"grid--"+$e.id,gridModel:$e,coordSysModel:$e,coordSys:Ve[0],coordSyses:Ve,getPanelRect:panelRectBuilders.grid,xAxisDeclared:he[$e.id],yAxisDeclared:_e[$e.id]})}))},geo:function(oe,ie){each$c(oe.geoModels,function(le){var ue=le.coordinateSystem;ie.push({panelId:"geo--"+le.id,geoModel:le,coordSysModel:le,coordSys:ue,coordSyses:[ue],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(oe,ie){var le=oe.xAxisModel,ue=oe.yAxisModel,de=oe.gridModel;return!de&&le&&(de=le.axis.grid.model),!de&&ue&&(de=ue.axis.grid.model),de&&de===ie.gridModel},function(oe,ie){var le=oe.geoModel;return le&&le===ie.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var oe=this.coordSys,ie=oe.getBoundingRect().clone();return ie.applyTransform(getTransform$1(oe)),ie}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(oe,ie,le,ue){var de=oe?ie.pointToData([le[0][0],le[1][0]],ue):ie.dataToPoint([le[0][0],le[1][0]],ue),pe=oe?ie.pointToData([le[0][1],le[1][1]],ue):ie.dataToPoint([le[0][1],le[1][1]],ue),he=[formatMinMax([de[0],pe[0]]),formatMinMax([de[1],pe[1]])];return{values:he,xyMinMax:he}},polygon:function(oe,ie,le,ue){var de=[[1/0,-1/0],[1/0,-1/0]],pe=map$2(le,function(he){var _e=oe?ie.pointToData(he,ue):ie.dataToPoint(he,ue);return de[0][0]=Math.min(de[0][0],_e[0]),de[1][0]=Math.min(de[1][0],_e[1]),de[0][1]=Math.max(de[0][1],_e[0]),de[1][1]=Math.max(de[1][1],_e[1]),_e});return{values:pe,xyMinMax:de}}};function axisConvert(oe,ie,le,ue){var de=le.getAxis(["x","y"][oe]),pe=formatMinMax(map$2([0,1],function(_e){return ie?de.coordToData(de.toLocalCoord(ue[_e]),!0):de.toGlobalCoord(de.dataToCoord(ue[_e]))})),he=[];return he[oe]=pe,he[1-oe]=[NaN,NaN],{values:pe,xyMinMax:he}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(oe,ie,le){return[[oe[0][0]-le[0]*ie[0][0],oe[0][1]-le[0]*ie[0][1]],[oe[1][0]-le[1]*ie[1][0],oe[1][1]-le[1]*ie[1][1]]]},polygon:function(oe,ie,le){return map$2(oe,function(ue,de){return[ue[0]-le[0]*ie[de][0],ue[1]-le[1]*ie[de][1]]})}};function axisDiffProcessor(oe,ie,le,ue){return[ie[0]-ue[oe]*le[0],ie[1]-ue[oe]*le[1]]}function getScales(oe,ie){var le=getSize(oe),ue=getSize(ie),de=[le[0]/ue[0],le[1]/ue[1]];return isNaN(de[0])&&(de[0]=1),isNaN(de[1])&&(de[1]=1),de}function getSize(oe){return oe?[oe[0][1]-oe[0][0],oe[1][1]-oe[1][0]]:[NaN,NaN]}const BrushTargetManager$1=BrushTargetManager;var each$5=each$c,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(oe){__extends(ie,oe);function ie(){return oe!==null&&oe.apply(this,arguments)||this}return ie.prototype.render=function(le,ue,de,pe){this._brushController||(this._brushController=new BrushController$1(de.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(le,ue,this,pe,de),updateBackBtnStatus(le,ue)},ie.prototype.onclick=function(le,ue,de){handlers[de].call(this)},ie.prototype.remove=function(le,ue){this._brushController&&this._brushController.unmount()},ie.prototype.dispose=function(le,ue){this._brushController&&this._brushController.dispose()},ie.prototype._onBrush=function(le){var ue=le.areas;if(!le.isEnd||!ue.length)return;var de={},pe=this.ecModel;this._brushController.updateCovers([]);var he=new BrushTargetManager$1(makeAxisFinder(this.model),pe,{include:["grid"]});he.matchOutputRanges(ue,pe,function(Ie,Ve,Fe){if(Fe.type==="cartesian2d"){var Ue=Ie.brushType;Ue==="rect"?(_e("x",Fe,Ve[0]),_e("y",Fe,Ve[1])):_e({lineX:"x",lineY:"y"}[Ue],Fe,Ve)}}),push(pe,de),this._dispatchZoomAction(de);function _e(Ie,Ve,Fe){var Ue=Ve.getAxis(Ie),qe=Ue.model,Et=$e(Ie,qe,pe),At=Et.findRepresentativeAxisProxy(qe).getMinMaxSpan();(At.minValueSpan!=null||At.maxValueSpan!=null)&&(Fe=sliderMove(0,Fe.slice(),Ue.scale.getExtent(),0,At.minValueSpan,At.maxValueSpan)),Et&&(de[Et.id]={dataZoomId:Et.id,startValue:Fe[0],endValue:Fe[1]})}function $e(Ie,Ve,Fe){var Ue;return Fe.eachComponent({mainType:"dataZoom",subType:"select"},function(qe){var Et=qe.getAxisModel(Ie,Ve.componentIndex);Et&&(Ue=qe)}),Ue}},ie.prototype._dispatchZoomAction=function(le){var ue=[];each$5(le,function(de,pe){ue.push(clone$3(de))}),ue.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:ue})},ie.getDefaultOption=function(le){var ue={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:le.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return ue},ie}(ToolboxFeature),handlers={zoom:function(){var oe=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:oe})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(oe){var ie={xAxisIndex:oe.get("xAxisIndex",!0),yAxisIndex:oe.get("yAxisIndex",!0),xAxisId:oe.get("xAxisId",!0),yAxisId:oe.get("yAxisId",!0)};return ie.xAxisIndex==null&&ie.xAxisId==null&&(ie.xAxisIndex="all"),ie.yAxisIndex==null&&ie.yAxisId==null&&(ie.yAxisIndex="all"),ie}function updateBackBtnStatus(oe,ie){oe.setIconStatus("back",count(ie)>1?"emphasis":"normal")}function updateZoomBtnStatus(oe,ie,le,ue,de){var pe=le._isZoomActive;ue&&ue.type==="takeGlobalCursor"&&(pe=ue.key==="dataZoomSelect"?ue.dataZoomSelectActive:!1),le._isZoomActive=pe,oe.setIconStatus("zoom",pe?"emphasis":"normal");var he=new BrushTargetManager$1(makeAxisFinder(oe),ie,{include:["grid"]}),_e=he.makePanelOpts(de,function($e){return $e.xAxisDeclared&&!$e.yAxisDeclared?"lineX":!$e.xAxisDeclared&&$e.yAxisDeclared?"lineY":"rect"});le._brushController.setPanels(_e).enableBrush(pe&&_e.length?{brushType:"auto",brushStyle:oe.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(oe){var ie=oe.getComponent("toolbox",0),le=["feature","dataZoom"];if(!ie||ie.get(le)==null)return;var ue=ie.getModel(le),de=[],pe=makeAxisFinder(ue),he=parseFinder$1(oe,pe);each$5(he.xAxisModels,function($e){return _e($e,"xAxis","xAxisIndex")}),each$5(he.yAxisModels,function($e){return _e($e,"yAxis","yAxisIndex")});function _e($e,Ie,Ve){var Fe=$e.componentIndex,Ue={type:"select",$fromToolbox:!0,filterMode:ue.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+Ie+Fe};Ue[Ve]=Fe,de.push(Ue)}return de});const DataZoom=DataZoomFeature;function install$b(oe){oe.registerComponentModel(ToolboxModel$1),oe.registerComponentView(ToolboxView$1),registerFeature("saveAsImage",SaveAsImage$1),registerFeature("magicType",MagicType$1),registerFeature("dataView",DataView$2),registerFeature("dataZoom",DataZoom),registerFeature("restore",Restore),use$1(install$c)}var TooltipModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="tooltip",ie.dependencies=["axisPointer"],ie.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},ie}(ComponentModel$1);const TooltipModel$1=TooltipModel;function shouldTooltipConfine(oe){var ie=oe.get("confine");return ie!=null?!!ie:oe.get("renderMode")==="richText"}function testStyle(oe){if(env$1.domSupported){for(var ie=document.documentElement.style,le=0,ue=oe.length;le<ue;le++)if(oe[le]in ie)return oe[le]}}var TRANSFORM_VENDOR=testStyle(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),TRANSITION_VENDOR=testStyle(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function toCSSVendorPrefix(oe,ie){if(!oe)return ie;ie=toCamelCase(ie,!0);var le=oe.indexOf(ie);return oe=le===-1?ie:"-"+oe.slice(0,le)+"-"+ie,oe.toLowerCase()}function getComputedStyle$1(oe,ie){var le=oe.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(oe);return le?ie?le[ie]:le:null}var CSS_TRANSITION_VENDOR=toCSSVendorPrefix(TRANSITION_VENDOR,"transition"),CSS_TRANSFORM_VENDOR=toCSSVendorPrefix(TRANSFORM_VENDOR,"transform"),gCssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(env$1.transform3dSupported?"will-change:transform;":"");function mirrorPos(oe){return oe=oe==="left"?"right":oe==="right"?"left":oe==="top"?"bottom":"top",oe}function assembleArrow(oe,ie,le){if(!isString(le)||le==="inside")return"";var ue=oe.get("backgroundColor"),de=oe.get("borderWidth");ie=convertToColorString(ie);var pe=mirrorPos(le),he=Math.max(Math.round(de)*1.5,6),_e="",$e=CSS_TRANSFORM_VENDOR+":",Ie;indexOf(["left","right"],pe)>-1?(_e+="top:50%",$e+="translateY(-50%) rotate("+(Ie=pe==="left"?-225:-45)+"deg)"):(_e+="left:50%",$e+="translateX(-50%) rotate("+(Ie=pe==="top"?225:45)+"deg)");var Ve=Ie*Math.PI/180,Fe=he+de,Ue=Fe*Math.abs(Math.cos(Ve))+Fe*Math.abs(Math.sin(Ve)),qe=Math.round(((Ue-Math.SQRT2*de)/2+Math.SQRT2*de-(Ue-Fe)/2)*100)/100;_e+=";"+pe+":-"+qe+"px";var Et=ie+" solid "+de+"px;",At=["position:absolute;width:"+he+"px;height:"+he+"px;z-index:-1;",_e+";"+$e+";","border-bottom:"+Et,"border-right:"+Et,"background-color:"+ue+";"];return'<div style="'+At.join("")+'"></div>'}function assembleTransition(oe,ie){var le="cubic-bezier(0.23,1,0.32,1)",ue=" "+oe/2+"s "+le,de="opacity"+ue+",visibility"+ue;return ie||(ue=" "+oe+"s "+le,de+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+ue:",left"+ue+",top"+ue),CSS_TRANSITION_VENDOR+":"+de}function assembleTransform(oe,ie,le){var ue=oe.toFixed(0)+"px",de=ie.toFixed(0)+"px";if(!env$1.transformSupported)return le?"top:"+de+";left:"+ue+";":[["top",de],["left",ue]];var pe=env$1.transform3dSupported,he="translate"+(pe?"3d":"")+"("+ue+","+de+(pe?",0":"")+")";return le?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+he+";":[["top",0],["left",0],[TRANSFORM_VENDOR,he]]}function assembleFont(oe){var ie=[],le=oe.get("fontSize"),ue=oe.getTextColor();ue&&ie.push("color:"+ue),ie.push("font:"+oe.getFont()),le&&ie.push("line-height:"+Math.round(le*3/2)+"px");var de=oe.get("textShadowColor"),pe=oe.get("textShadowBlur")||0,he=oe.get("textShadowOffsetX")||0,_e=oe.get("textShadowOffsetY")||0;return de&&pe&&ie.push("text-shadow:"+he+"px "+_e+"px "+pe+"px "+de),each$c(["decoration","align"],function($e){var Ie=oe.get($e);Ie&&ie.push("text-"+$e+":"+Ie)}),ie.join(";")}function assembleCssText(oe,ie,le){var ue=[],de=oe.get("transitionDuration"),pe=oe.get("backgroundColor"),he=oe.get("shadowBlur"),_e=oe.get("shadowColor"),$e=oe.get("shadowOffsetX"),Ie=oe.get("shadowOffsetY"),Ve=oe.getModel("textStyle"),Fe=getPaddingFromTooltipModel(oe,"html"),Ue=$e+"px "+Ie+"px "+he+"px "+_e;return ue.push("box-shadow:"+Ue),ie&&de&&ue.push(assembleTransition(de,le)),pe&&ue.push("background-color:"+pe),each$c(["width","color","radius"],function(qe){var Et="border-"+qe,At=toCamelCase(Et),Lt=oe.get(At);Lt!=null&&ue.push(Et+":"+Lt+(qe==="color"?"":"px"))}),ue.push(assembleFont(Ve)),Fe!=null&&ue.push("padding:"+normalizeCssArray(Fe).join("px ")+"px"),ue.join(";")+";"}function makeStyleCoord$1(oe,ie,le,ue,de){var pe=ie&&ie.painter;if(le){var he=pe&&pe.getViewportRoot();he&&transformLocalCoord(oe,he,document.body,ue,de)}else{oe[0]=ue,oe[1]=de;var _e=pe&&pe.getViewportRootOffset();_e&&(oe[0]+=_e.offsetLeft,oe[1]+=_e.offsetTop)}oe[2]=oe[0]/ie.getWidth(),oe[3]=oe[1]/ie.getHeight()}var TooltipHTMLContent=function(){function oe(ie,le,ue){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env$1.wxa)return null;var de=document.createElement("div");de.domBelongToZr=!0,this.el=de;var pe=this._zr=le.getZr(),he=this._appendToBody=ue&&ue.appendToBody;makeStyleCoord$1(this._styleCoord,pe,he,le.getWidth()/2,le.getHeight()/2),he?document.body.appendChild(de):ie.appendChild(de),this._container=ie;var _e=this;de.onmouseenter=function(){_e._enterable&&(clearTimeout(_e._hideTimeout),_e._show=!0),_e._inContent=!0},de.onmousemove=function($e){if($e=$e||window.event,!_e._enterable){var Ie=pe.handler,Ve=pe.painter.getViewportRoot();normalizeEvent(Ve,$e,!0),Ie.dispatch("mousemove",$e)}},de.onmouseleave=function(){_e._inContent=!1,_e._enterable&&_e._show&&_e.hideLater(_e._hideDelay)}}return oe.prototype.update=function(ie){var le=this._container,ue=getComputedStyle$1(le,"position"),de=le.style;de.position!=="absolute"&&ue!=="absolute"&&(de.position="relative");var pe=ie.get("alwaysShowContent");pe&&this._moveIfResized(),this._alwaysShowContent=pe,this.el.className=ie.get("className")||""},oe.prototype.show=function(ie,le){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var ue=this.el,de=ue.style,pe=this._styleCoord;ue.innerHTML?de.cssText=gCssText+assembleCssText(ie,!this._firstShow,this._longHide)+assembleTransform(pe[0],pe[1],!0)+("border-color:"+convertToColorString(le)+";")+(ie.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):de.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},oe.prototype.setContent=function(ie,le,ue,de,pe){var he=this.el;if(ie==null){he.innerHTML="";return}var _e="";if(isString(pe)&&ue.get("trigger")==="item"&&!shouldTooltipConfine(ue)&&(_e=assembleArrow(ue,de,pe)),isString(ie))he.innerHTML=ie+_e;else if(ie){he.innerHTML="",isArray$1(ie)||(ie=[ie]);for(var $e=0;$e<ie.length;$e++)isDom(ie[$e])&&ie[$e].parentNode!==he&&he.appendChild(ie[$e]);if(_e&&he.childNodes.length){var Ie=document.createElement("div");Ie.innerHTML=_e,he.appendChild(Ie)}}},oe.prototype.setEnterable=function(ie){this._enterable=ie},oe.prototype.getSize=function(){var ie=this.el;return[ie.offsetWidth,ie.offsetHeight]},oe.prototype.moveTo=function(ie,le){var ue=this._styleCoord;if(makeStyleCoord$1(ue,this._zr,this._appendToBody,ie,le),ue[0]!=null&&ue[1]!=null){var de=this.el.style,pe=assembleTransform(ue[0],ue[1]);each$c(pe,function(he){de[he[0]]=he[1]})}},oe.prototype._moveIfResized=function(){var ie=this._styleCoord[2],le=this._styleCoord[3];this.moveTo(ie*this._zr.getWidth(),le*this._zr.getHeight())},oe.prototype.hide=function(){var ie=this,le=this.el.style;le.visibility="hidden",le.opacity="0",env$1.transform3dSupported&&(le.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return ie._longHide=!0},500)},oe.prototype.hideLater=function(ie){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(ie?(this._hideDelay=ie,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),ie)):this.hide())},oe.prototype.isShow=function(){return this._show},oe.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},oe}();const TooltipHTMLContent$1=TooltipHTMLContent;var TooltipRichContent=function(){function oe(ie){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=ie.getZr(),makeStyleCoord(this._styleCoord,this._zr,ie.getWidth()/2,ie.getHeight()/2)}return oe.prototype.update=function(ie){var le=ie.get("alwaysShowContent");le&&this._moveIfResized(),this._alwaysShowContent=le},oe.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},oe.prototype.setContent=function(ie,le,ue,de,pe){var he=this;isObject$3(ie)&&throwError(""),this.el&&this._zr.remove(this.el);var _e=ue.getModel("textStyle");this.el=new ZRText$1({style:{rich:le.richTextStyles,text:ie,lineHeight:22,borderWidth:1,borderColor:de,textShadowColor:_e.get("textShadowColor"),fill:ue.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(ue,"richText"),verticalAlign:"top",align:"left"},z:ue.get("z")}),each$c(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(Ie){he.el.style[Ie]=ue.get(Ie)}),each$c(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(Ie){he.el.style[Ie]=_e.get(Ie)||0}),this._zr.add(this.el);var $e=this;this.el.on("mouseover",function(){$e._enterable&&(clearTimeout($e._hideTimeout),$e._show=!0),$e._inContent=!0}),this.el.on("mouseout",function(){$e._enterable&&$e._show&&$e.hideLater($e._hideDelay),$e._inContent=!1})},oe.prototype.setEnterable=function(ie){this._enterable=ie},oe.prototype.getSize=function(){var ie=this.el,le=this.el.getBoundingRect(),ue=calcShadowOuterSize(ie.style);return[le.width+ue.left+ue.right,le.height+ue.top+ue.bottom]},oe.prototype.moveTo=function(ie,le){var ue=this.el;if(ue){var de=this._styleCoord;makeStyleCoord(de,this._zr,ie,le),ie=de[0],le=de[1];var pe=ue.style,he=mathMaxWith0(pe.borderWidth||0),_e=calcShadowOuterSize(pe);ue.x=ie+he+_e.left,ue.y=le+he+_e.top,ue.markRedraw()}},oe.prototype._moveIfResized=function(){var ie=this._styleCoord[2],le=this._styleCoord[3];this.moveTo(ie*this._zr.getWidth(),le*this._zr.getHeight())},oe.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},oe.prototype.hideLater=function(ie){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(ie?(this._hideDelay=ie,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),ie)):this.hide())},oe.prototype.isShow=function(){return this._show},oe.prototype.dispose=function(){this._zr.remove(this.el)},oe}();function mathMaxWith0(oe){return Math.max(0,oe)}function calcShadowOuterSize(oe){var ie=mathMaxWith0(oe.shadowBlur||0),le=mathMaxWith0(oe.shadowOffsetX||0),ue=mathMaxWith0(oe.shadowOffsetY||0);return{left:mathMaxWith0(ie-le),right:mathMaxWith0(ie+le),top:mathMaxWith0(ie-ue),bottom:mathMaxWith0(ie+ue)}}function makeStyleCoord(oe,ie,le,ue){oe[0]=le,oe[1]=ue,oe[2]=oe[0]/ie.getWidth(),oe[3]=oe[1]/ie.getHeight()}const TooltipRichContent$1=TooltipRichContent;var proxyRect=new Rect$2({shape:{x:-1,y:-1,width:2,height:2}}),TooltipView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.init=function(le,ue){if(!(env$1.node||!ue.getDom())){var de=le.getComponent("tooltip"),pe=this._renderMode=getTooltipRenderMode(de.get("renderMode"));this._tooltipContent=pe==="richText"?new TooltipRichContent$1(ue):new TooltipHTMLContent$1(ue.getDom(),ue,{appendToBody:de.get("appendToBody",!0)})}},ie.prototype.render=function(le,ue,de){if(!(env$1.node||!de.getDom())){this.group.removeAll(),this._tooltipModel=le,this._ecModel=ue,this._api=de;var pe=this._tooltipContent;pe.update(le),pe.setEnterable(le.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&le.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},ie.prototype._initGlobalListener=function(){var le=this._tooltipModel,ue=le.get("triggerOn");register("itemTooltip",this._api,bind$1(function(de,pe,he){ue!=="none"&&(ue.indexOf(de)>=0?this._tryShow(pe,he):de==="leave"&&this._hide(he))},this))},ie.prototype._keepShow=function(){var le=this._tooltipModel,ue=this._ecModel,de=this._api,pe=le.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&pe!=="none"&&pe!=="click"){var he=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!de.isDisposed()&&he.manuallyShowTip(le,ue,de,{x:he._lastX,y:he._lastY,dataByCoordSys:he._lastDataByCoordSys})})}},ie.prototype.manuallyShowTip=function(le,ue,de,pe){if(!(pe.from===this.uid||env$1.node||!de.getDom())){var he=makeDispatchAction(pe,de);this._ticket="";var _e=pe.dataByCoordSys,$e=findComponentReference(pe,ue,de);if($e){var Ie=$e.el.getBoundingRect().clone();Ie.applyTransform($e.el.transform),this._tryShow({offsetX:Ie.x+Ie.width/2,offsetY:Ie.y+Ie.height/2,target:$e.el,position:pe.position,positionDefault:"bottom"},he)}else if(pe.tooltip&&pe.x!=null&&pe.y!=null){var Ve=proxyRect;Ve.x=pe.x,Ve.y=pe.y,Ve.update(),getECData(Ve).tooltipConfig={name:null,option:pe.tooltip},this._tryShow({offsetX:pe.x,offsetY:pe.y,target:Ve},he)}else if(_e)this._tryShow({offsetX:pe.x,offsetY:pe.y,position:pe.position,dataByCoordSys:_e,tooltipOption:pe.tooltipOption},he);else if(pe.seriesIndex!=null){if(this._manuallyAxisShowTip(le,ue,de,pe))return;var Fe=findPointFromSeries(pe,ue),Ue=Fe.point[0],qe=Fe.point[1];Ue!=null&&qe!=null&&this._tryShow({offsetX:Ue,offsetY:qe,target:Fe.el,position:pe.position,positionDefault:"bottom"},he)}else pe.x!=null&&pe.y!=null&&(de.dispatchAction({type:"updateAxisPointer",x:pe.x,y:pe.y}),this._tryShow({offsetX:pe.x,offsetY:pe.y,position:pe.position,target:de.getZr().findHover(pe.x,pe.y).target},he))}},ie.prototype.manuallyHideTip=function(le,ue,de,pe){var he=this._tooltipContent;this._tooltipModel&&he.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,pe.from!==this.uid&&this._hide(makeDispatchAction(pe,de))},ie.prototype._manuallyAxisShowTip=function(le,ue,de,pe){var he=pe.seriesIndex,_e=pe.dataIndex,$e=ue.getComponent("axisPointer").coordSysAxesInfo;if(!(he==null||_e==null||$e==null)){var Ie=ue.getSeriesByIndex(he);if(Ie){var Ve=Ie.getData(),Fe=buildTooltipModel([Ve.getItemModel(_e),Ie,(Ie.coordinateSystem||{}).model],this._tooltipModel);if(Fe.get("trigger")==="axis")return de.dispatchAction({type:"updateAxisPointer",seriesIndex:he,dataIndex:_e,position:pe.position}),!0}}},ie.prototype._tryShow=function(le,ue){var de=le.target,pe=this._tooltipModel;if(pe){this._lastX=le.offsetX,this._lastY=le.offsetY;var he=le.dataByCoordSys;if(he&&he.length)this._showAxisTooltip(he,le);else if(de){this._lastDataByCoordSys=null;var _e,$e;findEventDispatcher(de,function(Ie){if(getECData(Ie).dataIndex!=null)return _e=Ie,!0;if(getECData(Ie).tooltipConfig!=null)return $e=Ie,!0},!0),_e?this._showSeriesItemTooltip(le,_e,ue):$e?this._showComponentItemTooltip(le,$e,ue):this._hide(ue)}else this._lastDataByCoordSys=null,this._hide(ue)}},ie.prototype._showOrMove=function(le,ue){var de=le.get("showDelay");ue=bind$1(ue,this),clearTimeout(this._showTimout),de>0?this._showTimout=setTimeout(ue,de):ue()},ie.prototype._showAxisTooltip=function(le,ue){var de=this._ecModel,pe=this._tooltipModel,he=[ue.offsetX,ue.offsetY],_e=buildTooltipModel([ue.tooltipOption],pe),$e=this._renderMode,Ie=[],Ve=createTooltipMarkup("section",{blocks:[],noHeader:!0}),Fe=[],Ue=new TooltipMarkupStyleCreator;each$c(le,function(vn){each$c(vn.dataByAxis,function(_n){var bn=de.getComponent(_n.axisDim+"Axis",_n.axisIndex),Sn=_n.value;if(!(!bn||Sn==null)){var Cn=getValueLabel(Sn,bn.axis,de,_n.seriesDataIndices,_n.valueLabelOpt),En=createTooltipMarkup("section",{header:Cn,noHeader:!trim$1(Cn),sortBlocks:!0,blocks:[]});Ve.blocks.push(En),each$c(_n.seriesDataIndices,function(wn){var xn=de.getSeriesByIndex(wn.seriesIndex),kn=wn.dataIndexInside,Pn=xn.getDataParams(kn);if(!(Pn.dataIndex<0)){Pn.axisDim=_n.axisDim,Pn.axisIndex=_n.axisIndex,Pn.axisType=_n.axisType,Pn.axisId=_n.axisId,Pn.axisValue=getAxisRawValue(bn.axis,{value:Sn}),Pn.axisValueLabel=Cn,Pn.marker=Ue.makeTooltipMarker("item",convertToColorString(Pn.color),$e);var An=normalizeTooltipFormatResult(xn.formatTooltip(kn,!0,null)),In=An.frag;if(In){var Nn=buildTooltipModel([xn],pe).get("valueFormatter");En.blocks.push(Nn?extend({valueFormatter:Nn},In):In)}An.text&&Fe.push(An.text),Ie.push(Pn)}})}})}),Ve.blocks.reverse(),Fe.reverse();var qe=ue.position,Et=_e.get("order"),At=buildTooltipMarkup(Ve,Ue,$e,Et,de.get("useUTC"),_e.get("textStyle"));At&&Fe.unshift(At);var Lt=$e==="richText"?`
`:"<br/>",hn=Fe.join(Lt);this._showOrMove(_e,function(){this._updateContentNotChangedOnAxis(le,Ie)?this._updatePosition(_e,qe,he[0],he[1],this._tooltipContent,Ie):this._showTooltipContent(_e,hn,Ie,Math.random()+"",he[0],he[1],qe,null,Ue)})},ie.prototype._showSeriesItemTooltip=function(le,ue,de){var pe=this._ecModel,he=getECData(ue),_e=he.seriesIndex,$e=pe.getSeriesByIndex(_e),Ie=he.dataModel||$e,Ve=he.dataIndex,Fe=he.dataType,Ue=Ie.getData(Fe),qe=this._renderMode,Et=le.positionDefault,At=buildTooltipModel([Ue.getItemModel(Ve),Ie,$e&&($e.coordinateSystem||{}).model],this._tooltipModel,Et?{position:Et}:null),Lt=At.get("trigger");if(!(Lt!=null&&Lt!=="item")){var hn=Ie.getDataParams(Ve,Fe),vn=new TooltipMarkupStyleCreator;hn.marker=vn.makeTooltipMarker("item",convertToColorString(hn.color),qe);var _n=normalizeTooltipFormatResult(Ie.formatTooltip(Ve,!1,Fe)),bn=At.get("order"),Sn=At.get("valueFormatter"),Cn=_n.frag,En=Cn?buildTooltipMarkup(Sn?extend({valueFormatter:Sn},Cn):Cn,vn,qe,bn,pe.get("useUTC"),At.get("textStyle")):_n.text,wn="item_"+Ie.name+"_"+Ve;this._showOrMove(At,function(){this._showTooltipContent(At,En,hn,wn,le.offsetX,le.offsetY,le.position,le.target,vn)}),de({type:"showTip",dataIndexInside:Ve,dataIndex:Ue.getRawIndex(Ve),seriesIndex:_e,from:this.uid})}},ie.prototype._showComponentItemTooltip=function(le,ue,de){var pe=getECData(ue),he=pe.tooltipConfig,_e=he.option||{};if(isString(_e)){var $e=_e;_e={content:$e,formatter:$e}}var Ie=[_e],Ve=this._ecModel.getComponent(pe.componentMainType,pe.componentIndex);Ve&&Ie.push(Ve),Ie.push({formatter:_e.content});var Fe=le.positionDefault,Ue=buildTooltipModel(Ie,this._tooltipModel,Fe?{position:Fe}:null),qe=Ue.get("content"),Et=Math.random()+"",At=new TooltipMarkupStyleCreator;this._showOrMove(Ue,function(){var Lt=clone$3(Ue.get("formatterParams")||{});this._showTooltipContent(Ue,qe,Lt,Et,le.offsetX,le.offsetY,le.position,ue,At)}),de({type:"showTip",from:this.uid})},ie.prototype._showTooltipContent=function(le,ue,de,pe,he,_e,$e,Ie,Ve){if(this._ticket="",!(!le.get("showContent")||!le.get("show"))){var Fe=this._tooltipContent;Fe.setEnterable(le.get("enterable"));var Ue=le.get("formatter");$e=$e||le.get("position");var qe=ue,Et=this._getNearestPoint([he,_e],de,le.get("trigger"),le.get("borderColor")),At=Et.color;if(Ue)if(isString(Ue)){var Lt=le.ecModel.get("useUTC"),hn=isArray$1(de)?de[0]:de,vn=hn&&hn.axisType&&hn.axisType.indexOf("time")>=0;qe=Ue,vn&&(qe=format$1(hn.axisValue,qe,Lt)),qe=formatTpl(qe,de,!0)}else if(isFunction(Ue)){var _n=bind$1(function(bn,Sn){bn===this._ticket&&(Fe.setContent(Sn,Ve,le,At,$e),this._updatePosition(le,$e,he,_e,Fe,de,Ie))},this);this._ticket=pe,qe=Ue(de,pe,_n)}else qe=Ue;Fe.setContent(qe,Ve,le,At,$e),Fe.show(le,At),this._updatePosition(le,$e,he,_e,Fe,de,Ie)}},ie.prototype._getNearestPoint=function(le,ue,de,pe){if(de==="axis"||isArray$1(ue))return{color:pe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(ue))return{color:pe||ue.color||ue.borderColor}},ie.prototype._updatePosition=function(le,ue,de,pe,he,_e,$e){var Ie=this._api.getWidth(),Ve=this._api.getHeight();ue=ue||le.get("position");var Fe=he.getSize(),Ue=le.get("align"),qe=le.get("verticalAlign"),Et=$e&&$e.getBoundingRect().clone();if($e&&Et.applyTransform($e.transform),isFunction(ue)&&(ue=ue([de,pe],_e,he.el,Et,{viewSize:[Ie,Ve],contentSize:Fe.slice()})),isArray$1(ue))de=parsePercent(ue[0],Ie),pe=parsePercent(ue[1],Ve);else if(isObject$3(ue)){var At=ue;At.width=Fe[0],At.height=Fe[1];var Lt=getLayoutRect(At,{width:Ie,height:Ve});de=Lt.x,pe=Lt.y,Ue=null,qe=null}else if(isString(ue)&&$e){var hn=calcTooltipPosition(ue,Et,Fe,le.get("borderWidth"));de=hn[0],pe=hn[1]}else{var hn=refixTooltipPosition(de,pe,he,Ie,Ve,Ue?null:20,qe?null:20);de=hn[0],pe=hn[1]}if(Ue&&(de-=isCenterAlign(Ue)?Fe[0]/2:Ue==="right"?Fe[0]:0),qe&&(pe-=isCenterAlign(qe)?Fe[1]/2:qe==="bottom"?Fe[1]:0),shouldTooltipConfine(le)){var hn=confineTooltipPosition(de,pe,he,Ie,Ve);de=hn[0],pe=hn[1]}he.moveTo(de,pe)},ie.prototype._updateContentNotChangedOnAxis=function(le,ue){var de=this._lastDataByCoordSys,pe=this._cbParamsList,he=!!de&&de.length===le.length;return he&&each$c(de,function(_e,$e){var Ie=_e.dataByAxis||[],Ve=le[$e]||{},Fe=Ve.dataByAxis||[];he=he&&Ie.length===Fe.length,he&&each$c(Ie,function(Ue,qe){var Et=Fe[qe]||{},At=Ue.seriesDataIndices||[],Lt=Et.seriesDataIndices||[];he=he&&Ue.value===Et.value&&Ue.axisType===Et.axisType&&Ue.axisId===Et.axisId&&At.length===Lt.length,he&&each$c(At,function(hn,vn){var _n=Lt[vn];he=he&&hn.seriesIndex===_n.seriesIndex&&hn.dataIndex===_n.dataIndex}),pe&&each$c(Ue.seriesDataIndices,function(hn){var vn=hn.seriesIndex,_n=ue[vn],bn=pe[vn];_n&&bn&&bn.data!==_n.data&&(he=!1)})})}),this._lastDataByCoordSys=le,this._cbParamsList=ue,!!he},ie.prototype._hide=function(le){this._lastDataByCoordSys=null,le({type:"hideTip",from:this.uid})},ie.prototype.dispose=function(le,ue){env$1.node||!ue.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",ue))},ie.type="tooltip",ie}(ComponentView$1);function buildTooltipModel(oe,ie,le){var ue=ie.ecModel,de;le?(de=new Model$1(le,ue,ue),de=new Model$1(ie.option,de,ue)):de=ie;for(var pe=oe.length-1;pe>=0;pe--){var he=oe[pe];he&&(he instanceof Model$1&&(he=he.get("tooltip",!0)),isString(he)&&(he={formatter:he}),he&&(de=new Model$1(he,de,ue)))}return de}function makeDispatchAction(oe,ie){return oe.dispatchAction||bind$1(ie.dispatchAction,ie)}function refixTooltipPosition(oe,ie,le,ue,de,pe,he){var _e=le.getSize(),$e=_e[0],Ie=_e[1];return pe!=null&&(oe+$e+pe+2>ue?oe-=$e+pe:oe+=pe),he!=null&&(ie+Ie+he>de?ie-=Ie+he:ie+=he),[oe,ie]}function confineTooltipPosition(oe,ie,le,ue,de){var pe=le.getSize(),he=pe[0],_e=pe[1];return oe=Math.min(oe+he,ue)-he,ie=Math.min(ie+_e,de)-_e,oe=Math.max(oe,0),ie=Math.max(ie,0),[oe,ie]}function calcTooltipPosition(oe,ie,le,ue){var de=le[0],pe=le[1],he=Math.ceil(Math.SQRT2*ue)+8,_e=0,$e=0,Ie=ie.width,Ve=ie.height;switch(oe){case"inside":_e=ie.x+Ie/2-de/2,$e=ie.y+Ve/2-pe/2;break;case"top":_e=ie.x+Ie/2-de/2,$e=ie.y-pe-he;break;case"bottom":_e=ie.x+Ie/2-de/2,$e=ie.y+Ve+he;break;case"left":_e=ie.x-de-he,$e=ie.y+Ve/2-pe/2;break;case"right":_e=ie.x+Ie+he,$e=ie.y+Ve/2-pe/2}return[_e,$e]}function isCenterAlign(oe){return oe==="center"||oe==="middle"}function findComponentReference(oe,ie,le){var ue=preParseFinder(oe).queryOptionMap,de=ue.keys()[0];if(!(!de||de==="series")){var pe=queryReferringComponents(ie,de,ue.get(de),{useDefault:!1,enableAll:!1,enableNone:!1}),he=pe.models[0];if(he){var _e=le.getViewOfComponentModel(he),$e;if(_e.group.traverse(function(Ie){var Ve=getECData(Ie).tooltipConfig;if(Ve&&Ve.name===oe.name)return $e=Ie,!0}),$e)return{componentMainType:de,componentIndex:he.componentIndex,el:$e}}}}const TooltipView$1=TooltipView;function install$a(oe){use$1(install$f),oe.registerComponentModel(TooltipModel$1),oe.registerComponentView(TooltipView$1),oe.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),oe.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var each$4=each$c;function hasKeys(oe){if(oe){for(var ie in oe)if(oe.hasOwnProperty(ie))return!0}}function createVisualMappings(oe,ie,le){var ue={};return each$4(ie,function(pe){var he=ue[pe]=de();each$4(oe[pe],function(_e,$e){if(VisualMapping$1.isValidType($e)){var Ie={type:$e,visual:_e};le&&le(Ie,pe),he[$e]=new VisualMapping$1(Ie),$e==="opacity"&&(Ie=clone$3(Ie),Ie.type="colorAlpha",he.__hidden.__alphaForOpacity=new VisualMapping$1(Ie))}})}),ue;function de(){var pe=function(){};pe.prototype.__hidden=pe.prototype;var he=new pe;return he}}function replaceVisualOption(oe,ie,le){var ue;each$c(le,function(de){ie.hasOwnProperty(de)&&hasKeys(ie[de])&&(ue=!0)}),ue&&each$c(le,function(de){ie.hasOwnProperty(de)&&hasKeys(ie[de])?oe[de]=clone$3(ie[de]):delete oe[de]})}function incrementalApplyVisual(oe,ie,le,ue){var de={};return each$c(oe,function(pe){var he=VisualMapping$1.prepareVisualTypes(ie[pe]);de[pe]=he}),{progress:function(he,_e){var $e;ue!=null&&($e=_e.getDimensionIndex(ue));function Ie(Sn){return getItemVisualFromData(_e,Fe,Sn)}function Ve(Sn,Cn){setItemVisualFromData(_e,Fe,Sn,Cn)}for(var Fe,Ue=_e.getStore();(Fe=he.next())!=null;){var qe=_e.getRawDataItem(Fe);if(!(qe&&qe.visualMap===!1))for(var Et=ue!=null?Ue.get($e,Fe):Fe,At=le(Et),Lt=ie[At],hn=de[At],vn=0,_n=hn.length;vn<_n;vn++){var bn=hn[vn];Lt[bn]&&Lt[bn].applyVisual(Et,Ie,Ve)}}}}}var TitleModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.layoutMode={type:"box",ignoreSize:!0},le}return ie.type="title",ie.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},ie}(ComponentModel$1),TitleView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.render=function(le,ue,de){if(this.group.removeAll(),!!le.get("show")){var pe=this.group,he=le.getModel("textStyle"),_e=le.getModel("subtextStyle"),$e=le.get("textAlign"),Ie=retrieve2(le.get("textBaseline"),le.get("textVerticalAlign")),Ve=new ZRText$1({style:createTextStyle$1(he,{text:le.get("text"),fill:he.getTextColor()},{disableBox:!0}),z2:10}),Fe=Ve.getBoundingRect(),Ue=le.get("subtext"),qe=new ZRText$1({style:createTextStyle$1(_e,{text:Ue,fill:_e.getTextColor(),y:Fe.height+le.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),Et=le.get("link"),At=le.get("sublink"),Lt=le.get("triggerEvent",!0);Ve.silent=!Et&&!Lt,qe.silent=!At&&!Lt,Et&&Ve.on("click",function(){windowOpen(Et,"_"+le.get("target"))}),At&&qe.on("click",function(){windowOpen(At,"_"+le.get("subtarget"))}),getECData(Ve).eventData=getECData(qe).eventData=Lt?{componentType:"title",componentIndex:le.componentIndex}:null,pe.add(Ve),Ue&&pe.add(qe);var hn=pe.getBoundingRect(),vn=le.getBoxLayoutParams();vn.width=hn.width,vn.height=hn.height;var _n=getLayoutRect(vn,{width:de.getWidth(),height:de.getHeight()},le.get("padding"));$e||($e=le.get("left")||le.get("right"),$e==="middle"&&($e="center"),$e==="right"?_n.x+=_n.width:$e==="center"&&(_n.x+=_n.width/2)),Ie||(Ie=le.get("top")||le.get("bottom"),Ie==="center"&&(Ie="middle"),Ie==="bottom"?_n.y+=_n.height:Ie==="middle"&&(_n.y+=_n.height/2),Ie=Ie||"top"),pe.x=_n.x,pe.y=_n.y,pe.markRedraw();var bn={align:$e,verticalAlign:Ie};Ve.setStyle(bn),qe.setStyle(bn),hn=pe.getBoundingRect();var Sn=_n.margin,Cn=le.getItemStyle(["color","opacity"]);Cn.fill=le.get("backgroundColor");var En=new Rect$2({shape:{x:hn.x-Sn[3],y:hn.y-Sn[0],width:hn.width+Sn[1]+Sn[3],height:hn.height+Sn[0]+Sn[2],r:le.get("borderRadius")},style:Cn,subPixelOptimize:!0,silent:!0});pe.add(En)}},ie.type="title",ie}(ComponentView$1);function install$9(oe){oe.registerComponentModel(TitleModel),oe.registerComponentView(TitleView)}var getDefaultSelectorOptions=function(oe,ie){if(ie==="all")return{type:"all",title:oe.getLocaleModel().get(["legend","selector","all"])};if(ie==="inverse")return{type:"inverse",title:oe.getLocaleModel().get(["legend","selector","inverse"])}},LegendModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.layoutMode={type:"box",ignoreSize:!0},le}return ie.prototype.init=function(le,ue,de){this.mergeDefaultAndTheme(le,de),le.selected=le.selected||{},this._updateSelector(le)},ie.prototype.mergeOption=function(le,ue){oe.prototype.mergeOption.call(this,le,ue),this._updateSelector(le)},ie.prototype._updateSelector=function(le){var ue=le.selector,de=this.ecModel;ue===!0&&(ue=le.selector=["all","inverse"]),isArray$1(ue)&&each$c(ue,function(pe,he){isString(pe)&&(pe={type:pe}),ue[he]=merge(pe,getDefaultSelectorOptions(de,pe.type))})},ie.prototype.optionUpdated=function(){this._updateData(this.ecModel);var le=this._data;if(le[0]&&this.get("selectedMode")==="single"){for(var ue=!1,de=0;de<le.length;de++){var pe=le[de].get("name");if(this.isSelected(pe)){this.select(pe),ue=!0;break}}!ue&&this.select(le[0].get("name"))}},ie.prototype._updateData=function(le){var ue=[],de=[];le.eachRawSeries(function($e){var Ie=$e.name;de.push(Ie);var Ve;if($e.legendVisualProvider){var Fe=$e.legendVisualProvider,Ue=Fe.getAllNames();le.isSeriesFiltered($e)||(de=de.concat(Ue)),Ue.length?ue=ue.concat(Ue):Ve=!0}else Ve=!0;Ve&&isNameSpecified($e)&&ue.push($e.name)}),this._availableNames=de;var pe=this.get("data")||ue,he=createHashMap(),_e=map$2(pe,function($e){return(isString($e)||isNumber($e))&&($e={name:$e}),he.get($e.name)?null:(he.set($e.name,!0),new Model$1($e,this,this.ecModel))},this);this._data=filter(_e,function($e){return!!$e})},ie.prototype.getData=function(){return this._data},ie.prototype.select=function(le){var ue=this.option.selected,de=this.get("selectedMode");if(de==="single"){var pe=this._data;each$c(pe,function(he){ue[he.get("name")]=!1})}ue[le]=!0},ie.prototype.unSelect=function(le){this.get("selectedMode")!=="single"&&(this.option.selected[le]=!1)},ie.prototype.toggleSelected=function(le){var ue=this.option.selected;ue.hasOwnProperty(le)||(ue[le]=!0),this[ue[le]?"unSelect":"select"](le)},ie.prototype.allSelect=function(){var le=this._data,ue=this.option.selected;each$c(le,function(de){ue[de.get("name",!0)]=!0})},ie.prototype.inverseSelect=function(){var le=this._data,ue=this.option.selected;each$c(le,function(de){var pe=de.get("name",!0);ue.hasOwnProperty(pe)||(ue[pe]=!0),ue[pe]=!ue[pe]})},ie.prototype.isSelected=function(le){var ue=this.option.selected;return!(ue.hasOwnProperty(le)&&!ue[le])&&indexOf(this._availableNames,le)>=0},ie.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},ie.type="legend.plain",ie.dependencies=["series"],ie.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},ie}(ComponentModel$1);const LegendModel$1=LegendModel;var curry=curry$1,each$3=each$c,Group$1=Group$3,LegendView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.newlineDisabled=!1,le}return ie.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},ie.prototype.getContentGroup=function(){return this._contentGroup},ie.prototype.getSelectorGroup=function(){return this._selectorGroup},ie.prototype.render=function(le,ue,de){var pe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!le.get("show",!0)){var he=le.get("align"),_e=le.get("orient");(!he||he==="auto")&&(he=le.get("left")==="right"&&_e==="vertical"?"right":"left");var $e=le.get("selector",!0),Ie=le.get("selectorPosition",!0);$e&&(!Ie||Ie==="auto")&&(Ie=_e==="horizontal"?"end":"start"),this.renderInner(he,le,ue,de,$e,_e,Ie);var Ve=le.getBoxLayoutParams(),Fe={width:de.getWidth(),height:de.getHeight()},Ue=le.get("padding"),qe=getLayoutRect(Ve,Fe,Ue),Et=this.layoutInner(le,he,qe,pe,$e,Ie),At=getLayoutRect(defaults({width:Et.width,height:Et.height},Ve),Fe,Ue);this.group.x=At.x-Et.x,this.group.y=At.y-Et.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(Et,le))}},ie.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},ie.prototype.renderInner=function(le,ue,de,pe,he,_e,$e){var Ie=this.getContentGroup(),Ve=createHashMap(),Fe=ue.get("selectedMode"),Ue=[];de.eachRawSeries(function(qe){!qe.get("legendHoverLink")&&Ue.push(qe.id)}),each$3(ue.getData(),function(qe,Et){var At=qe.get("name");if(!this.newlineDisabled&&(At===""||At===`
`)){var Lt=new Group$1;Lt.newline=!0,Ie.add(Lt);return}var hn=de.getSeriesByName(At)[0];if(!Ve.get(At))if(hn){var vn=hn.getData(),_n=vn.getVisual("legendLineStyle")||{},bn=vn.getVisual("legendIcon"),Sn=vn.getVisual("style"),Cn=this._createItem(hn,At,Et,qe,ue,le,_n,Sn,bn,Fe,pe);Cn.on("click",curry(dispatchSelectAction,At,null,pe,Ue)).on("mouseover",curry(dispatchHighlightAction,hn.name,null,pe,Ue)).on("mouseout",curry(dispatchDownplayAction,hn.name,null,pe,Ue)),Ve.set(At,!0)}else de.eachRawSeries(function(En){if(!Ve.get(At)&&En.legendVisualProvider){var wn=En.legendVisualProvider;if(!wn.containName(At))return;var xn=wn.indexOfName(At),kn=wn.getItemVisual(xn,"style"),Pn=wn.getItemVisual(xn,"legendIcon"),An=parse$1(kn.fill);An&&An[3]===0&&(An[3]=.2,kn=extend(extend({},kn),{fill:stringify(An,"rgba")}));var In=this._createItem(En,At,Et,qe,ue,le,{},kn,Pn,Fe,pe);In.on("click",curry(dispatchSelectAction,null,At,pe,Ue)).on("mouseover",curry(dispatchHighlightAction,null,At,pe,Ue)).on("mouseout",curry(dispatchDownplayAction,null,At,pe,Ue)),Ve.set(At,!0)}},this)},this),he&&this._createSelector(he,ue,pe,_e,$e)},ie.prototype._createSelector=function(le,ue,de,pe,he){var _e=this.getSelectorGroup();each$3(le,function(Ie){var Ve=Ie.type,Fe=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){de.dispatchAction({type:Ve==="all"?"legendAllSelect":"legendInverseSelect"})}});_e.add(Fe);var Ue=ue.getModel("selectorLabel"),qe=ue.getModel(["emphasis","selectorLabel"]);setLabelStyle(Fe,{normal:Ue,emphasis:qe},{defaultText:Ie.title}),enableHoverEmphasis(Fe)})},ie.prototype._createItem=function(le,ue,de,pe,he,_e,$e,Ie,Ve,Fe,Ue){var qe=le.visualDrawType,Et=he.get("itemWidth"),At=he.get("itemHeight"),Lt=he.isSelected(ue),hn=pe.get("symbolRotate"),vn=pe.get("symbolKeepAspect"),_n=pe.get("icon");Ve=_n||Ve||"roundRect";var bn=getLegendStyle(Ve,pe,$e,Ie,qe,Lt,Ue),Sn=new Group$1,Cn=pe.getModel("textStyle");if(isFunction(le.getLegendIcon)&&(!_n||_n==="inherit"))Sn.add(le.getLegendIcon({itemWidth:Et,itemHeight:At,icon:Ve,iconRotate:hn,itemStyle:bn.itemStyle,lineStyle:bn.lineStyle,symbolKeepAspect:vn}));else{var En=_n==="inherit"&&le.getData().getVisual("symbol")?hn==="inherit"?le.getData().getVisual("symbolRotate"):hn:0;Sn.add(getDefaultLegendIcon({itemWidth:Et,itemHeight:At,icon:Ve,iconRotate:En,itemStyle:bn.itemStyle,lineStyle:bn.lineStyle,symbolKeepAspect:vn}))}var wn=_e==="left"?Et+5:-5,xn=_e,kn=he.get("formatter"),Pn=ue;isString(kn)&&kn?Pn=kn.replace("{name}",ue??""):isFunction(kn)&&(Pn=kn(ue));var An=pe.get("inactiveColor");Sn.add(new ZRText$1({style:createTextStyle$1(Cn,{text:Pn,x:wn,y:At/2,fill:Lt?Cn.getTextColor():An,align:xn,verticalAlign:"middle"})}));var In=new Rect$2({shape:Sn.getBoundingRect(),invisible:!0}),Nn=pe.getModel("tooltip");return Nn.get("show")&&setTooltipConfig({el:In,componentModel:he,itemName:ue,itemTooltipOption:Nn.option}),Sn.add(In),Sn.eachChild(function(Un){Un.silent=!0}),In.silent=!Fe,this.getContentGroup().add(Sn),enableHoverEmphasis(Sn),Sn.__legendDataIndex=de,Sn},ie.prototype.layoutInner=function(le,ue,de,pe,he,_e){var $e=this.getContentGroup(),Ie=this.getSelectorGroup();box(le.get("orient"),$e,le.get("itemGap"),de.width,de.height);var Ve=$e.getBoundingRect(),Fe=[-Ve.x,-Ve.y];if(Ie.markRedraw(),$e.markRedraw(),he){box("horizontal",Ie,le.get("selectorItemGap",!0));var Ue=Ie.getBoundingRect(),qe=[-Ue.x,-Ue.y],Et=le.get("selectorButtonGap",!0),At=le.getOrient().index,Lt=At===0?"width":"height",hn=At===0?"height":"width",vn=At===0?"y":"x";_e==="end"?qe[At]+=Ve[Lt]+Et:Fe[At]+=Ue[Lt]+Et,qe[1-At]+=Ve[hn]/2-Ue[hn]/2,Ie.x=qe[0],Ie.y=qe[1],$e.x=Fe[0],$e.y=Fe[1];var _n={x:0,y:0};return _n[Lt]=Ve[Lt]+Et+Ue[Lt],_n[hn]=Math.max(Ve[hn],Ue[hn]),_n[vn]=Math.min(0,Ue[vn]+qe[1-At]),_n}else return $e.x=Fe[0],$e.y=Fe[1],this.group.getBoundingRect()},ie.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},ie.type="legend.plain",ie}(ComponentView$1);function getLegendStyle(oe,ie,le,ue,de,pe,he){function _e(Lt,hn){Lt.lineWidth==="auto"&&(Lt.lineWidth=hn.lineWidth>0?2:0),each$3(Lt,function(vn,_n){Lt[_n]==="inherit"&&(Lt[_n]=hn[_n])})}var $e=ie.getModel("itemStyle"),Ie=$e.getItemStyle(),Ve=oe.lastIndexOf("empty",0)===0?"fill":"stroke",Fe=$e.getShallow("decal");Ie.decal=!Fe||Fe==="inherit"?ue.decal:createOrUpdatePatternFromDecal(Fe,he),Ie.fill==="inherit"&&(Ie.fill=ue[de]),Ie.stroke==="inherit"&&(Ie.stroke=ue[Ve]),Ie.opacity==="inherit"&&(Ie.opacity=(de==="fill"?ue:le).opacity),_e(Ie,ue);var Ue=ie.getModel("lineStyle"),qe=Ue.getLineStyle();if(_e(qe,le),Ie.fill==="auto"&&(Ie.fill=ue.fill),Ie.stroke==="auto"&&(Ie.stroke=ue.fill),qe.stroke==="auto"&&(qe.stroke=ue.fill),!pe){var Et=ie.get("inactiveBorderWidth"),At=Ie[Ve];Ie.lineWidth=Et==="auto"?ue.lineWidth>0&&At?2:0:Ie.lineWidth,Ie.fill=ie.get("inactiveColor"),Ie.stroke=ie.get("inactiveBorderColor"),qe.stroke=Ue.get("inactiveColor"),qe.lineWidth=Ue.get("inactiveWidth")}return{itemStyle:Ie,lineStyle:qe}}function getDefaultLegendIcon(oe){var ie=oe.icon||"roundRect",le=createSymbol(ie,0,0,oe.itemWidth,oe.itemHeight,oe.itemStyle.fill,oe.symbolKeepAspect);return le.setStyle(oe.itemStyle),le.rotation=(oe.iconRotate||0)*Math.PI/180,le.setOrigin([oe.itemWidth/2,oe.itemHeight/2]),ie.indexOf("empty")>-1&&(le.style.stroke=le.style.fill,le.style.fill="#fff",le.style.lineWidth=2),le}function dispatchSelectAction(oe,ie,le,ue){dispatchDownplayAction(oe,ie,le,ue),le.dispatchAction({type:"legendToggleSelect",name:oe??ie}),dispatchHighlightAction(oe,ie,le,ue)}function isUseHoverLayer(oe){for(var ie=oe.getZr().storage.getDisplayList(),le,ue=0,de=ie.length;ue<de&&!(le=ie[ue].states.emphasis);)ue++;return le&&le.hoverLayer}function dispatchHighlightAction(oe,ie,le,ue){isUseHoverLayer(le)||le.dispatchAction({type:"highlight",seriesName:oe,name:ie,excludeSeriesId:ue})}function dispatchDownplayAction(oe,ie,le,ue){isUseHoverLayer(le)||le.dispatchAction({type:"downplay",seriesName:oe,name:ie,excludeSeriesId:ue})}const LegendView$1=LegendView;function legendFilter(oe){var ie=oe.findComponents({mainType:"legend"});ie&&ie.length&&oe.filterSeries(function(le){for(var ue=0;ue<ie.length;ue++)if(!ie[ue].isSelected(le.name))return!1;return!0})}function legendSelectActionHandler(oe,ie,le){var ue={},de=oe==="toggleSelected",pe;return le.eachComponent("legend",function(he){de&&pe!=null?he[pe?"select":"unSelect"](ie.name):oe==="allSelect"||oe==="inverseSelect"?he[oe]():(he[oe](ie.name),pe=he.isSelected(ie.name));var _e=he.getData();each$c(_e,function($e){var Ie=$e.get("name");if(!(Ie===`
`||Ie==="")){var Ve=he.isSelected(Ie);ue.hasOwnProperty(Ie)?ue[Ie]=ue[Ie]&&Ve:ue[Ie]=Ve}})}),oe==="allSelect"||oe==="inverseSelect"?{selected:ue}:{name:ie.name,selected:ue}}function installLegendAction(oe){oe.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),oe.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),oe.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),oe.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),oe.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$8(oe){oe.registerComponentModel(LegendModel$1),oe.registerComponentView(LegendView$1),oe.registerProcessor(oe.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),oe.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction(oe)}var ScrollableLegendModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.setScrollDataIndex=function(le){this.option.scrollDataIndex=le},ie.prototype.init=function(le,ue,de){var pe=getLayoutParams(le);oe.prototype.init.call(this,le,ue,de),mergeAndNormalizeLayoutParams(this,le,pe)},ie.prototype.mergeOption=function(le,ue){oe.prototype.mergeOption.call(this,le,ue),mergeAndNormalizeLayoutParams(this,this.option,le)},ie.type="legend.scroll",ie.defaultOption=inheritDefaultOption(LegendModel$1.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),ie}(LegendModel$1);function mergeAndNormalizeLayoutParams(oe,ie,le){var ue=oe.getOrient(),de=[1,1];de[ue.index]=0,mergeLayoutParam(ie,le,{type:"box",ignoreSize:!!de})}const ScrollableLegendModel$1=ScrollableLegendModel;var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.newlineDisabled=!0,le._currentIndex=0,le}return ie.prototype.init=function(){oe.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},ie.prototype.resetInner=function(){oe.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},ie.prototype.renderInner=function(le,ue,de,pe,he,_e,$e){var Ie=this;oe.prototype.renderInner.call(this,le,ue,de,pe,he,_e,$e);var Ve=this._controllerGroup,Fe=ue.get("pageIconSize",!0),Ue=isArray$1(Fe)?Fe:[Fe,Fe];Et("pagePrev",0);var qe=ue.getModel("pageTextStyle");Ve.add(new ZRText$1({name:"pageText",style:{text:"xx/xx",fill:qe.getTextColor(),font:qe.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),Et("pageNext",1);function Et(At,Lt){var hn=At+"DataIndex",vn=createIcon(ue.get("pageIcons",!0)[ue.getOrient().name][Lt],{onclick:bind$1(Ie._pageGo,Ie,hn,ue,pe)},{x:-Ue[0]/2,y:-Ue[1]/2,width:Ue[0],height:Ue[1]});vn.name=At,Ve.add(vn)}},ie.prototype.layoutInner=function(le,ue,de,pe,he,_e){var $e=this.getSelectorGroup(),Ie=le.getOrient().index,Ve=WH[Ie],Fe=XY[Ie],Ue=WH[1-Ie],qe=XY[1-Ie];he&&box("horizontal",$e,le.get("selectorItemGap",!0));var Et=le.get("selectorButtonGap",!0),At=$e.getBoundingRect(),Lt=[-At.x,-At.y],hn=clone$3(de);he&&(hn[Ve]=de[Ve]-At[Ve]-Et);var vn=this._layoutContentAndController(le,pe,hn,Ie,Ve,Ue,qe,Fe);if(he){if(_e==="end")Lt[Ie]+=vn[Ve]+Et;else{var _n=At[Ve]+Et;Lt[Ie]-=_n,vn[Fe]-=_n}vn[Ve]+=At[Ve]+Et,Lt[1-Ie]+=vn[qe]+vn[Ue]/2-At[Ue]/2,vn[Ue]=Math.max(vn[Ue],At[Ue]),vn[qe]=Math.min(vn[qe],At[qe]+Lt[1-Ie]),$e.x=Lt[0],$e.y=Lt[1],$e.markRedraw()}return vn},ie.prototype._layoutContentAndController=function(le,ue,de,pe,he,_e,$e,Ie){var Ve=this.getContentGroup(),Fe=this._containerGroup,Ue=this._controllerGroup;box(le.get("orient"),Ve,le.get("itemGap"),pe?de.width:null,pe?null:de.height),box("horizontal",Ue,le.get("pageButtonItemGap",!0));var qe=Ve.getBoundingRect(),Et=Ue.getBoundingRect(),At=this._showController=qe[he]>de[he],Lt=[-qe.x,-qe.y];ue||(Lt[pe]=Ve[Ie]);var hn=[0,0],vn=[-Et.x,-Et.y],_n=retrieve2(le.get("pageButtonGap",!0),le.get("itemGap",!0));if(At){var bn=le.get("pageButtonPosition",!0);bn==="end"?vn[pe]+=de[he]-Et[he]:hn[pe]+=Et[he]+_n}vn[1-pe]+=qe[_e]/2-Et[_e]/2,Ve.setPosition(Lt),Fe.setPosition(hn),Ue.setPosition(vn);var Sn={x:0,y:0};if(Sn[he]=At?de[he]:qe[he],Sn[_e]=Math.max(qe[_e],Et[_e]),Sn[$e]=Math.min(0,Et[$e]+vn[1-pe]),Fe.__rectSize=de[he],At){var Cn={x:0,y:0};Cn[he]=Math.max(de[he]-Et[he]-_n,0),Cn[_e]=Sn[_e],Fe.setClipPath(new Rect$2({shape:Cn})),Fe.__rectSize=Cn[he]}else Ue.eachChild(function(wn){wn.attr({invisible:!0,silent:!0})});var En=this._getPageInfo(le);return En.pageIndex!=null&&updateProps$1(Ve,{x:En.contentPosition[0],y:En.contentPosition[1]},At?le:null),this._updatePageInfoView(le,En),Sn},ie.prototype._pageGo=function(le,ue,de){var pe=this._getPageInfo(ue)[le];pe!=null&&de.dispatchAction({type:"legendScroll",scrollDataIndex:pe,legendId:ue.id})},ie.prototype._updatePageInfoView=function(le,ue){var de=this._controllerGroup;each$c(["pagePrev","pageNext"],function(Ve){var Fe=Ve+"DataIndex",Ue=ue[Fe]!=null,qe=de.childOfName(Ve);qe&&(qe.setStyle("fill",Ue?le.get("pageIconColor",!0):le.get("pageIconInactiveColor",!0)),qe.cursor=Ue?"pointer":"default")});var pe=de.childOfName("pageText"),he=le.get("pageFormatter"),_e=ue.pageIndex,$e=_e!=null?_e+1:0,Ie=ue.pageCount;pe&&he&&pe.setStyle("text",isString(he)?he.replace("{current}",$e==null?"":$e+"").replace("{total}",Ie==null?"":Ie+""):he({current:$e,total:Ie}))},ie.prototype._getPageInfo=function(le){var ue=le.get("scrollDataIndex",!0),de=this.getContentGroup(),pe=this._containerGroup.__rectSize,he=le.getOrient().index,_e=WH[he],$e=XY[he],Ie=this._findTargetItemIndex(ue),Ve=de.children(),Fe=Ve[Ie],Ue=Ve.length,qe=Ue?1:0,Et={contentPosition:[de.x,de.y],pageCount:qe,pageIndex:qe-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!Fe)return Et;var At=bn(Fe);Et.contentPosition[he]=-At.s;for(var Lt=Ie+1,hn=At,vn=At,_n=null;Lt<=Ue;++Lt)_n=bn(Ve[Lt]),(!_n&&vn.e>hn.s+pe||_n&&!Sn(_n,hn.s))&&(vn.i>hn.i?hn=vn:hn=_n,hn&&(Et.pageNextDataIndex==null&&(Et.pageNextDataIndex=hn.i),++Et.pageCount)),vn=_n;for(var Lt=Ie-1,hn=At,vn=At,_n=null;Lt>=-1;--Lt)_n=bn(Ve[Lt]),(!_n||!Sn(vn,_n.s))&&hn.i<vn.i&&(vn=hn,Et.pagePrevDataIndex==null&&(Et.pagePrevDataIndex=hn.i),++Et.pageCount,++Et.pageIndex),hn=_n;return Et;function bn(Cn){if(Cn){var En=Cn.getBoundingRect(),wn=En[$e]+Cn[$e];return{s:wn,e:wn+En[_e],i:Cn.__legendDataIndex}}}function Sn(Cn,En){return Cn.e>=En&&Cn.s<=En+pe}},ie.prototype._findTargetItemIndex=function(le){if(!this._showController)return 0;var ue,de=this.getContentGroup(),pe;return de.eachChild(function(he,_e){var $e=he.__legendDataIndex;pe==null&&$e!=null&&(pe=_e),$e===le&&(ue=_e)}),ue??pe},ie.type="legend.scroll",ie}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(oe){oe.registerAction("legendScroll","legendscroll",function(ie,le){var ue=ie.scrollDataIndex;ue!=null&&le.eachComponent({mainType:"legend",subType:"scroll",query:ie},function(de){de.setScrollDataIndex(ue)})})}function install$7(oe){use$1(install$8),oe.registerComponentModel(ScrollableLegendModel$1),oe.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(oe)}function install$6(oe){use$1(install$8),use$1(install$7)}var InsideZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.inside",ie.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),ie}(DataZoomModel$1);const InsideZoomModel$1=InsideZoomModel;var inner=makeInner();function setViewInfoToCoordSysRecord(oe,ie,le){inner(oe).coordSysRecordMap.each(function(ue){var de=ue.dataZoomInfoMap.get(ie.uid);de&&(de.getRange=le)})}function disposeCoordSysRecordIfNeeded(oe,ie){for(var le=inner(oe).coordSysRecordMap,ue=le.keys(),de=0;de<ue.length;de++){var pe=ue[de],he=le.get(pe),_e=he.dataZoomInfoMap;if(_e){var $e=ie.uid,Ie=_e.get($e);Ie&&(_e.removeKey($e),_e.keys().length||disposeCoordSysRecord(le,he))}}}function disposeCoordSysRecord(oe,ie){if(ie){oe.removeKey(ie.model.uid);var le=ie.controller;le&&le.dispose()}}function createCoordSysRecord(oe,ie){var le={model:ie,containsPoint:curry$1(containsPoint,ie),dispatchAction:curry$1(dispatchAction,oe),dataZoomInfoMap:null,controller:null},ue=le.controller=new RoamController$1(oe.getZr());return each$c(["pan","zoom","scrollMove"],function(de){ue.on(de,function(pe){var he=[];le.dataZoomInfoMap.each(function(_e){if(pe.isAvailableBehavior(_e.model.option)){var $e=(_e.getRange||{})[de],Ie=$e&&$e(_e.dzReferCoordSysInfo,le.model.mainType,le.controller,pe);!_e.model.get("disabled",!0)&&Ie&&he.push({dataZoomId:_e.model.id,start:Ie[0],end:Ie[1]})}}),he.length&&le.dispatchAction(he)})}),le}function dispatchAction(oe,ie){oe.isDisposed()||oe.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:ie})}function containsPoint(oe,ie,le,ue){return oe.coordinateSystem.containPoint([le,ue])}function mergeControllerParams(oe){var ie,le="type_",ue={type_true:2,type_move:1,type_false:0,type_undefined:-1},de=!0;return oe.each(function(pe){var he=pe.model,_e=he.get("disabled",!0)?!1:he.get("zoomLock",!0)?"move":!0;ue[le+_e]>ue[le+ie]&&(ie=_e),de=de&&he.get("preventDefaultMouseMove",!0)}),{controlType:ie,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!de}}}function installDataZoomRoamProcessor(oe){oe.registerProcessor(oe.PRIORITY.PROCESSOR.FILTER,function(ie,le){var ue=inner(le),de=ue.coordSysRecordMap||(ue.coordSysRecordMap=createHashMap());de.each(function(pe){pe.dataZoomInfoMap=null}),ie.eachComponent({mainType:"dataZoom",subType:"inside"},function(pe){var he=collectReferCoordSysModelInfo(pe);each$c(he.infoList,function(_e){var $e=_e.model.uid,Ie=de.get($e)||de.set($e,createCoordSysRecord(le,_e.model)),Ve=Ie.dataZoomInfoMap||(Ie.dataZoomInfoMap=createHashMap());Ve.set(pe.uid,{dzReferCoordSysInfo:_e,model:pe,getRange:null})})}),de.each(function(pe){var he=pe.controller,_e,$e=pe.dataZoomInfoMap;if($e){var Ie=$e.keys()[0];Ie!=null&&(_e=$e.get(Ie))}if(!_e){disposeCoordSysRecord(de,pe);return}var Ve=mergeControllerParams($e);he.enable(Ve.controlType,Ve.opt),he.setPointerChecker(pe.containsPoint),createOrUpdate(pe,"dispatchAction",_e.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="dataZoom.inside",le}return ie.prototype.render=function(le,ue,de){if(oe.prototype.render.apply(this,arguments),le.noTarget()){this._clear();return}this.range=le.getPercentRange(),setViewInfoToCoordSysRecord(de,le,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},ie.prototype.dispose=function(){this._clear(),oe.prototype.dispose.apply(this,arguments)},ie.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},ie.type="dataZoom.inside",ie}(DataZoomView$1),getRangeHandlers={zoom:function(oe,ie,le,ue){var de=this.range,pe=de.slice(),he=oe.axisModels[0];if(he){var _e=getDirectionInfo[ie](null,[ue.originX,ue.originY],he,le,oe),$e=(_e.signal>0?_e.pixelStart+_e.pixelLength-_e.pixel:_e.pixel-_e.pixelStart)/_e.pixelLength*(pe[1]-pe[0])+pe[0],Ie=Math.max(1/ue.scale,0);pe[0]=(pe[0]-$e)*Ie+$e,pe[1]=(pe[1]-$e)*Ie+$e;var Ve=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,pe,[0,100],0,Ve.minSpan,Ve.maxSpan),this.range=pe,de[0]!==pe[0]||de[1]!==pe[1])return pe}},pan:makeMover(function(oe,ie,le,ue,de,pe){var he=getDirectionInfo[ue]([pe.oldX,pe.oldY],[pe.newX,pe.newY],ie,de,le);return he.signal*(oe[1]-oe[0])*he.pixel/he.pixelLength}),scrollMove:makeMover(function(oe,ie,le,ue,de,pe){var he=getDirectionInfo[ue]([0,0],[pe.scrollDelta,pe.scrollDelta],ie,de,le);return he.signal*(oe[1]-oe[0])*pe.scrollDelta})};function makeMover(oe){return function(ie,le,ue,de){var pe=this.range,he=pe.slice(),_e=ie.axisModels[0];if(_e){var $e=oe(he,_e,ie,le,ue,de);if(sliderMove($e,he,[0,100],"all"),this.range=he,pe[0]!==he[0]||pe[1]!==he[1])return he}}}var getDirectionInfo={grid:function(oe,ie,le,ue,de){var pe=le.axis,he={},_e=de.model.coordinateSystem.getRect();return oe=oe||[0,0],pe.dim==="x"?(he.pixel=ie[0]-oe[0],he.pixelLength=_e.width,he.pixelStart=_e.x,he.signal=pe.inverse?1:-1):(he.pixel=ie[1]-oe[1],he.pixelLength=_e.height,he.pixelStart=_e.y,he.signal=pe.inverse?-1:1),he},polar:function(oe,ie,le,ue,de){var pe=le.axis,he={},_e=de.model.coordinateSystem,$e=_e.getRadiusAxis().getExtent(),Ie=_e.getAngleAxis().getExtent();return oe=oe?_e.pointToCoord(oe):[0,0],ie=_e.pointToCoord(ie),le.mainType==="radiusAxis"?(he.pixel=ie[0]-oe[0],he.pixelLength=$e[1]-$e[0],he.pixelStart=$e[0],he.signal=pe.inverse?1:-1):(he.pixel=ie[1]-oe[1],he.pixelLength=Ie[1]-Ie[0],he.pixelStart=Ie[0],he.signal=pe.inverse?-1:1),he},singleAxis:function(oe,ie,le,ue,de){var pe=le.axis,he=de.model.coordinateSystem.getRect(),_e={};return oe=oe||[0,0],pe.orient==="horizontal"?(_e.pixel=ie[0]-oe[0],_e.pixelLength=he.width,_e.pixelStart=he.x,_e.signal=pe.inverse?1:-1):(_e.pixel=ie[1]-oe[1],_e.pixelLength=he.height,_e.pixelStart=he.y,_e.signal=pe.inverse?-1:1),_e}};const InsideZoomView$1=InsideZoomView;function install$5(oe){installCommon$1(oe),oe.registerComponentModel(InsideZoomModel$1),oe.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(oe)}var SliderZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.slider",ie.layoutMode="box",ie.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),ie}(DataZoomModel$1);const SliderZoomModel$1=SliderZoomModel;var Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._displayables={},le}return ie.prototype.init=function(le,ue){this.api=ue,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},ie.prototype.render=function(le,ue,de,pe){if(oe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",le.get("throttle"),"fixRate"),this._orient=le.getOrient(),le.get("show")===!1){this.group.removeAll();return}if(le.noTarget()){this._clear(),this.group.removeAll();return}(!pe||pe.type!=="dataZoom"||pe.from!==this.uid)&&this._buildView(),this._updateView()},ie.prototype.dispose=function(){this._clear(),oe.prototype.dispose.apply(this,arguments)},ie.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var le=this.api.getZr();le.off("mousemove",this._onBrush),le.off("mouseup",this._onBrushEnd)},ie.prototype._buildView=function(){var le=this.group;le.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var ue=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),le.add(ue),this._positionGroup()},ie.prototype._resetLocation=function(){var le=this.dataZoomModel,ue=this.api,de=le.get("brushSelect"),pe=de?DEFAULT_MOVE_HANDLE_SIZE:0,he=this._findCoordRect(),_e={width:ue.getWidth(),height:ue.getHeight()},$e=this._orient===HORIZONTAL?{right:_e.width-he.x-he.width,top:_e.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-pe,width:he.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:he.y,width:DEFAULT_FILLER_SIZE,height:he.height},Ie=getLayoutParams(le.option);each$c(["right","top","width","height"],function(Fe){Ie[Fe]==="ph"&&(Ie[Fe]=$e[Fe])});var Ve=getLayoutRect(Ie,_e);this._location={x:Ve.x,y:Ve.y},this._size=[Ve.width,Ve.height],this._orient===VERTICAL&&this._size.reverse()},ie.prototype._positionGroup=function(){var le=this.group,ue=this._location,de=this._orient,pe=this.dataZoomModel.getFirstTargetAxisModel(),he=pe&&pe.get("inverse"),_e=this._displayables.sliderGroup,$e=(this._dataShadowInfo||{}).otherAxisInverse;_e.attr(de===HORIZONTAL&&!he?{scaleY:$e?1:-1,scaleX:1}:de===HORIZONTAL&&he?{scaleY:$e?1:-1,scaleX:-1}:de===VERTICAL&&!he?{scaleY:$e?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:$e?-1:1,scaleX:-1,rotation:Math.PI/2});var Ie=le.getBoundingRect([_e]);le.x=ue.x-Ie.x,le.y=ue.y-Ie.y,le.markRedraw()},ie.prototype._getViewExtent=function(){return[0,this._size[0]]},ie.prototype._renderBackground=function(){var le=this.dataZoomModel,ue=this._size,de=this._displayables.sliderGroup,pe=le.get("brushSelect");de.add(new Rect({silent:!0,shape:{x:0,y:0,width:ue[0],height:ue[1]},style:{fill:le.get("backgroundColor")},z2:-40}));var he=new Rect({shape:{x:0,y:0,width:ue[0],height:ue[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),_e=this.api.getZr();pe?(he.on("mousedown",this._onBrushStart,this),he.cursor="crosshair",_e.on("mousemove",this._onBrush),_e.on("mouseup",this._onBrushEnd)):(_e.off("mousemove",this._onBrush),_e.off("mouseup",this._onBrushEnd)),de.add(he)},ie.prototype._renderDataShadow=function(){var le=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!le)return;var ue=this._size,de=this._shadowSize||[],pe=le.series,he=pe.getRawData(),_e=pe.getShadowDim&&pe.getShadowDim(),$e=_e&&he.getDimensionInfo(_e)?pe.getShadowDim():le.otherDim;if($e==null)return;var Ie=this._shadowPolygonPts,Ve=this._shadowPolylinePts;if(he!==this._shadowData||$e!==this._shadowDim||ue[0]!==de[0]||ue[1]!==de[1]){var Fe=he.getDataExtent($e),Ue=(Fe[1]-Fe[0])*.3;Fe=[Fe[0]-Ue,Fe[1]+Ue];var qe=[0,ue[1]],Et=[0,ue[0]],At=[[ue[0],0],[0,0]],Lt=[],hn=Et[1]/(he.count()-1),vn=0,_n=Math.round(he.count()/ue[0]),bn;he.each([$e],function(xn,kn){if(_n>0&&kn%_n){vn+=hn;return}var Pn=xn==null||isNaN(xn)||xn==="",An=Pn?0:linearMap$2(xn,Fe,qe,!0);Pn&&!bn&&kn?(At.push([At[At.length-1][0],0]),Lt.push([Lt[Lt.length-1][0],0])):!Pn&&bn&&(At.push([vn,0]),Lt.push([vn,0])),At.push([vn,An]),Lt.push([vn,An]),vn+=hn,bn=Pn}),Ie=this._shadowPolygonPts=At,Ve=this._shadowPolylinePts=Lt}this._shadowData=he,this._shadowDim=$e,this._shadowSize=[ue[0],ue[1]];var Sn=this.dataZoomModel;function Cn(xn){var kn=Sn.getModel(xn?"selectedDataBackground":"dataBackground"),Pn=new Group$3,An=new Polygon$1({shape:{points:Ie},segmentIgnoreThreshold:1,style:kn.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),In=new Polyline$1({shape:{points:Ve},segmentIgnoreThreshold:1,style:kn.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return Pn.add(An),Pn.add(In),Pn}for(var En=0;En<3;En++){var wn=Cn(En===1);this._displayables.sliderGroup.add(wn),this._displayables.dataShadowSegs.push(wn)}},ie.prototype._prepareDataShadowInfo=function(){var le=this.dataZoomModel,ue=le.get("showDataShadow");if(ue!==!1){var de,pe=this.ecModel;return le.eachTargetAxis(function(he,_e){var $e=le.getAxisProxy(he,_e).getTargetSeriesModels();each$c($e,function(Ie){if(!de&&!(ue!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,Ie.get("type"))<0)){var Ve=pe.getComponent(getAxisMainType(he),_e).axis,Fe=getOtherDim(he),Ue,qe=Ie.coordinateSystem;Fe!=null&&qe.getOtherAxis&&(Ue=qe.getOtherAxis(Ve).inverse),Fe=Ie.getData().mapDimension(Fe),de={thisAxis:Ve,series:Ie,thisDim:he,otherDim:Fe,otherAxisInverse:Ue}}},this)},this),de}},ie.prototype._renderHandle=function(){var le=this.group,ue=this._displayables,de=ue.handles=[null,null],pe=ue.handleLabels=[null,null],he=this._displayables.sliderGroup,_e=this._size,$e=this.dataZoomModel,Ie=this.api,Ve=$e.get("borderRadius")||0,Fe=$e.get("brushSelect"),Ue=ue.filler=new Rect({silent:Fe,style:{fill:$e.get("fillerColor")},textConfig:{position:"inside"}});he.add(Ue),he.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:_e[0],height:_e[1],r:Ve},style:{stroke:$e.get("dataBackgroundColor")||$e.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$c([0,1],function(_n){var bn=$e.get("handleIcon");!symbolBuildProxies[bn]&&bn.indexOf("path://")<0&&bn.indexOf("image://")<0&&(bn="path://"+bn);var Sn=createSymbol(bn,-1,0,2,2,null,!0);Sn.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,_n),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var Cn=Sn.getBoundingRect(),En=$e.get("handleSize");this._handleHeight=parsePercent(En,this._size[1]),this._handleWidth=Cn.width/Cn.height*this._handleHeight,Sn.setStyle($e.getModel("handleStyle").getItemStyle()),Sn.style.strokeNoScale=!0,Sn.rectHover=!0,Sn.ensureState("emphasis").style=$e.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(Sn);var wn=$e.get("handleColor");wn!=null&&(Sn.style.fill=wn),he.add(de[_n]=Sn);var xn=$e.getModel("textStyle");le.add(pe[_n]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(xn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:xn.getTextColor(),font:xn.getFont()}),z2:10}))},this);var qe=Ue;if(Fe){var Et=parsePercent($e.get("moveHandleSize"),_e[1]),At=ue.moveHandle=new Rect$2({style:$e.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:_e[1]-.5,height:Et}}),Lt=Et*.8,hn=ue.moveHandleIcon=createSymbol($e.get("moveHandleIcon"),-Lt/2,-Lt/2,Lt,Lt,"#fff",!0);hn.silent=!0,hn.y=_e[1]+Et/2-.5,At.ensureState("emphasis").style=$e.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var vn=Math.min(_e[1]/2,Math.max(Et,10));qe=ue.moveZone=new Rect$2({invisible:!0,shape:{y:_e[1]-vn,height:Et+vn}}),qe.on("mouseover",function(){Ie.enterEmphasis(At)}).on("mouseout",function(){Ie.leaveEmphasis(At)}),he.add(At),he.add(hn),he.add(qe)}qe.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},ie.prototype._resetInterval=function(){var le=this._range=this.dataZoomModel.getPercentRange(),ue=this._getViewExtent();this._handleEnds=[linearMap$2(le[0],[0,100],ue,!0),linearMap$2(le[1],[0,100],ue,!0)]},ie.prototype._updateInterval=function(le,ue){var de=this.dataZoomModel,pe=this._handleEnds,he=this._getViewExtent(),_e=de.findRepresentativeAxisProxy().getMinMaxSpan(),$e=[0,100];sliderMove(ue,pe,he,de.get("zoomLock")?"all":le,_e.minSpan!=null?linearMap$2(_e.minSpan,$e,he,!0):null,_e.maxSpan!=null?linearMap$2(_e.maxSpan,$e,he,!0):null);var Ie=this._range,Ve=this._range=asc$2([linearMap$2(pe[0],he,$e,!0),linearMap$2(pe[1],he,$e,!0)]);return!Ie||Ie[0]!==Ve[0]||Ie[1]!==Ve[1]},ie.prototype._updateView=function(le){var ue=this._displayables,de=this._handleEnds,pe=asc$2(de.slice()),he=this._size;each$c([0,1],function(qe){var Et=ue.handles[qe],At=this._handleHeight;Et.attr({scaleX:At/2,scaleY:At/2,x:de[qe]+(qe?-1:1),y:he[1]/2-At/2})},this),ue.filler.setShape({x:pe[0],y:0,width:pe[1]-pe[0],height:he[1]});var _e={x:pe[0],width:pe[1]-pe[0]};ue.moveHandle&&(ue.moveHandle.setShape(_e),ue.moveZone.setShape(_e),ue.moveZone.getBoundingRect(),ue.moveHandleIcon&&ue.moveHandleIcon.attr("x",_e.x+_e.width/2));for(var $e=ue.dataShadowSegs,Ie=[0,pe[0],pe[1],he[0]],Ve=0;Ve<$e.length;Ve++){var Fe=$e[Ve],Ue=Fe.getClipPath();Ue||(Ue=new Rect$2,Fe.setClipPath(Ue)),Ue.setShape({x:Ie[Ve],y:0,width:Ie[Ve+1]-Ie[Ve],height:he[1]})}this._updateDataInfo(le)},ie.prototype._updateDataInfo=function(le){var ue=this.dataZoomModel,de=this._displayables,pe=de.handleLabels,he=this._orient,_e=["",""];if(ue.get("showDetail")){var $e=ue.findRepresentativeAxisProxy();if($e){var Ie=$e.getAxisModel().axis,Ve=this._range,Fe=le?$e.calculateDataWindow({start:Ve[0],end:Ve[1]}).valueWindow:$e.getDataValueWindow();_e=[this._formatLabel(Fe[0],Ie),this._formatLabel(Fe[1],Ie)]}}var Ue=asc$2(this._handleEnds.slice());qe.call(this,0),qe.call(this,1);function qe(Et){var At=getTransform$1(de.handles[Et].parent,this.group),Lt=transformDirection(Et===0?"right":"left",At),hn=this._handleWidth/2+LABEL_GAP,vn=applyTransform([Ue[Et]+(Et===0?-hn:hn),this._size[1]/2],At);pe[Et].setStyle({x:vn[0],y:vn[1],verticalAlign:he===HORIZONTAL?"middle":Lt,align:he===HORIZONTAL?Lt:"center",text:_e[Et]})}},ie.prototype._formatLabel=function(le,ue){var de=this.dataZoomModel,pe=de.get("labelFormatter"),he=de.get("labelPrecision");(he==null||he==="auto")&&(he=ue.getPixelPrecision());var _e=le==null||isNaN(le)?"":ue.type==="category"||ue.type==="time"?ue.scale.getLabel({value:Math.round(le)}):le.toFixed(Math.min(he,20));return isFunction(pe)?pe(le,_e):isString(pe)?pe.replace("{value}",_e):_e},ie.prototype._showDataInfo=function(le){le=this._dragging||le;var ue=this._displayables,de=ue.handleLabels;de[0].attr("invisible",!le),de[1].attr("invisible",!le),ue.moveHandle&&this.api[le?"enterEmphasis":"leaveEmphasis"](ue.moveHandle,1)},ie.prototype._onDragMove=function(le,ue,de,pe){this._dragging=!0,stop(pe.event);var he=this._displayables.sliderGroup.getLocalTransform(),_e=applyTransform([ue,de],he,!0),$e=this._updateInterval(le,_e[0]),Ie=this.dataZoomModel.get("realtime");this._updateView(!Ie),$e&&Ie&&this._dispatchZoomAction(!0)},ie.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var le=this.dataZoomModel.get("realtime");!le&&this._dispatchZoomAction(!1)},ie.prototype._onClickPanel=function(le){var ue=this._size,de=this._displayables.sliderGroup.transformCoordToLocal(le.offsetX,le.offsetY);if(!(de[0]<0||de[0]>ue[0]||de[1]<0||de[1]>ue[1])){var pe=this._handleEnds,he=(pe[0]+pe[1])/2,_e=this._updateInterval("all",de[0]-he);this._updateView(),_e&&this._dispatchZoomAction(!1)}},ie.prototype._onBrushStart=function(le){var ue=le.offsetX,de=le.offsetY;this._brushStart=new Point$1(ue,de),this._brushing=!0,this._brushStartTime=+new Date},ie.prototype._onBrushEnd=function(le){if(this._brushing){var ue=this._displayables.brushRect;if(this._brushing=!1,!!ue){ue.attr("ignore",!0);var de=ue.shape,pe=+new Date;if(!(pe-this._brushStartTime<200&&Math.abs(de.width)<5)){var he=this._getViewExtent(),_e=[0,100];this._range=asc$2([linearMap$2(de.x,he,_e,!0),linearMap$2(de.x+de.width,he,_e,!0)]),this._handleEnds=[de.x,de.x+de.width],this._updateView(),this._dispatchZoomAction(!1)}}}},ie.prototype._onBrush=function(le){this._brushing&&(stop(le.event),this._updateBrushRect(le.offsetX,le.offsetY))},ie.prototype._updateBrushRect=function(le,ue){var de=this._displayables,pe=this.dataZoomModel,he=de.brushRect;he||(he=de.brushRect=new Rect({silent:!0,style:pe.getModel("brushStyle").getItemStyle()}),de.sliderGroup.add(he)),he.attr("ignore",!1);var _e=this._brushStart,$e=this._displayables.sliderGroup,Ie=$e.transformCoordToLocal(le,ue),Ve=$e.transformCoordToLocal(_e.x,_e.y),Fe=this._size;Ie[0]=Math.max(Math.min(Fe[0],Ie[0]),0),he.setShape({x:Ve[0],y:0,width:Ie[0]-Ve[0],height:Fe[1]})},ie.prototype._dispatchZoomAction=function(le){var ue=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:le?REALTIME_ANIMATION_CONFIG:null,start:ue[0],end:ue[1]})},ie.prototype._findCoordRect=function(){var le,ue=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!le&&ue.length){var de=ue[0].model.coordinateSystem;le=de.getRect&&de.getRect()}if(!le){var pe=this.api.getWidth(),he=this.api.getHeight();le={x:pe*.2,y:he*.2,width:pe*.6,height:he*.6}}return le},ie.type="dataZoom.slider",ie}(DataZoomView$1);function getOtherDim(oe){var ie={x:"y",y:"x",radius:"angle",angle:"radius"};return ie[oe]}function getCursor$1(oe){return oe==="vertical"?"ns-resize":"ew-resize"}const SliderZoomView$1=SliderZoomView;function install$4(oe){oe.registerComponentModel(SliderZoomModel$1),oe.registerComponentView(SliderZoomView$1),installCommon$1(oe)}function install$3(oe){use$1(install$5),use$1(install$4)}var visualDefault={get:function(oe,ie,le){var ue=clone$3((defaultOption[oe]||{})[ie]);return le&&isArray$1(ue)?ue[ue.length-1]:ue}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const visualDefault$1=visualDefault;var mapVisual=VisualMapping$1.mapVisual,eachVisual=VisualMapping$1.eachVisual,isArray=isArray$1,each$2=each$c,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.stateList=["inRange","outOfRange"],le.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],le.layoutMode={type:"box",ignoreSize:!0},le.dataBound=[-1/0,1/0],le.targetVisuals={},le.controllerVisuals={},le}return ie.prototype.init=function(le,ue,de){this.mergeDefaultAndTheme(le,de)},ie.prototype.optionUpdated=function(le,ue){var de=this.option;!ue&&replaceVisualOption(de,le,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},ie.prototype.resetVisual=function(le){var ue=this.stateList;le=bind$1(le,this),this.controllerVisuals=createVisualMappings(this.option.controller,ue,le),this.targetVisuals=createVisualMappings(this.option.target,ue,le)},ie.prototype.getItemSymbol=function(){return null},ie.prototype.getTargetSeriesIndices=function(){var le=this.option.seriesIndex,ue=[];return le==null||le==="all"?this.ecModel.eachSeries(function(de,pe){ue.push(pe)}):ue=normalizeToArray(le),ue},ie.prototype.eachTargetSeries=function(le,ue){each$c(this.getTargetSeriesIndices(),function(de){var pe=this.ecModel.getSeriesByIndex(de);pe&&le.call(ue,pe)},this)},ie.prototype.isTargetSeries=function(le){var ue=!1;return this.eachTargetSeries(function(de){de===le&&(ue=!0)}),ue},ie.prototype.formatValueText=function(le,ue,de){var pe=this.option,he=pe.precision,_e=this.dataBound,$e=pe.formatter,Ie;de=de||["<",">"],isArray$1(le)&&(le=le.slice(),Ie=!0);var Ve=ue?le:Ie?[Fe(le[0]),Fe(le[1])]:Fe(le);if(isString($e))return $e.replace("{value}",Ie?Ve[0]:Ve).replace("{value2}",Ie?Ve[1]:Ve);if(isFunction($e))return Ie?$e(le[0],le[1]):$e(le);if(Ie)return le[0]===_e[0]?de[0]+" "+Ve[1]:le[1]===_e[1]?de[1]+" "+Ve[0]:Ve[0]+" - "+Ve[1];return Ve;function Fe(Ue){return Ue===_e[0]?"min":Ue===_e[1]?"max":(+Ue).toFixed(Math.min(he,20))}},ie.prototype.resetExtent=function(){var le=this.option,ue=asc([le.min,le.max]);this._dataExtent=ue},ie.prototype.getDataDimensionIndex=function(le){var ue=this.option.dimension;if(ue!=null)return le.getDimensionIndex(ue);for(var de=le.dimensions,pe=de.length-1;pe>=0;pe--){var he=de[pe],_e=le.getDimensionInfo(he);if(!_e.isCalculationCoord)return _e.storeDimIndex}},ie.prototype.getExtent=function(){return this._dataExtent.slice()},ie.prototype.completeVisualOption=function(){var le=this.ecModel,ue=this.option,de={inRange:ue.inRange,outOfRange:ue.outOfRange},pe=ue.target||(ue.target={}),he=ue.controller||(ue.controller={});merge(pe,de),merge(he,de);var _e=this.isCategory();$e.call(this,pe),$e.call(this,he),Ie.call(this,pe,"inRange","outOfRange"),Ve.call(this,he);function $e(Fe){isArray(ue.color)&&!Fe.inRange&&(Fe.inRange={color:ue.color.slice().reverse()}),Fe.inRange=Fe.inRange||{color:le.get("gradientColor")}}function Ie(Fe,Ue,qe){var Et=Fe[Ue],At=Fe[qe];Et&&!At&&(At=Fe[qe]={},each$2(Et,function(Lt,hn){if(VisualMapping$1.isValidType(hn)){var vn=visualDefault$1.get(hn,"inactive",_e);vn!=null&&(At[hn]=vn,hn==="color"&&!At.hasOwnProperty("opacity")&&!At.hasOwnProperty("colorAlpha")&&(At.opacity=[0,0]))}}))}function Ve(Fe){var Ue=(Fe.inRange||{}).symbol||(Fe.outOfRange||{}).symbol,qe=(Fe.inRange||{}).symbolSize||(Fe.outOfRange||{}).symbolSize,Et=this.get("inactiveColor"),At=this.getItemSymbol(),Lt=At||"roundRect";each$2(this.stateList,function(hn){var vn=this.itemSize,_n=Fe[hn];_n||(_n=Fe[hn]={color:_e?Et:[Et]}),_n.symbol==null&&(_n.symbol=Ue&&clone$3(Ue)||(_e?Lt:[Lt])),_n.symbolSize==null&&(_n.symbolSize=qe&&clone$3(qe)||(_e?vn[0]:[vn[0],vn[0]])),_n.symbol=mapVisual(_n.symbol,function(Cn){return Cn==="none"?Lt:Cn});var bn=_n.symbolSize;if(bn!=null){var Sn=-1/0;eachVisual(bn,function(Cn){Cn>Sn&&(Sn=Cn)}),_n.symbolSize=mapVisual(bn,function(Cn){return linearMap$1(Cn,[0,Sn],[0,vn[0]],!0)})}},this)}},ie.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},ie.prototype.isCategory=function(){return!!this.option.categories},ie.prototype.setSelected=function(le){},ie.prototype.getSelected=function(){return null},ie.prototype.getValueState=function(le){return null},ie.prototype.getVisualMeta=function(le){return null},ie.type="visualMap",ie.dependencies=["series"],ie.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},ie}(ComponentModel$1);const VisualMapModel$1=VisualMapModel;var DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.optionUpdated=function(le,ue){oe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(de){de.mappingMethod="linear",de.dataExtent=this.getExtent()}),this._resetRange()},ie.prototype.resetItemSize=function(){oe.prototype.resetItemSize.apply(this,arguments);var le=this.itemSize;(le[0]==null||isNaN(le[0]))&&(le[0]=DEFAULT_BAR_BOUND[0]),(le[1]==null||isNaN(le[1]))&&(le[1]=DEFAULT_BAR_BOUND[1])},ie.prototype._resetRange=function(){var le=this.getExtent(),ue=this.option.range;!ue||ue.auto?(le.auto=1,this.option.range=le):isArray$1(ue)&&(ue[0]>ue[1]&&ue.reverse(),ue[0]=Math.max(ue[0],le[0]),ue[1]=Math.min(ue[1],le[1]))},ie.prototype.completeVisualOption=function(){oe.prototype.completeVisualOption.apply(this,arguments),each$c(this.stateList,function(le){var ue=this.option.controller[le].symbolSize;ue&&ue[0]!==ue[1]&&(ue[0]=ue[1]/3)},this)},ie.prototype.setSelected=function(le){this.option.range=le.slice(),this._resetRange()},ie.prototype.getSelected=function(){var le=this.getExtent(),ue=asc$2((this.get("range")||[]).slice());return ue[0]>le[1]&&(ue[0]=le[1]),ue[1]>le[1]&&(ue[1]=le[1]),ue[0]<le[0]&&(ue[0]=le[0]),ue[1]<le[0]&&(ue[1]=le[0]),ue},ie.prototype.getValueState=function(le){var ue=this.option.range,de=this.getExtent();return(ue[0]<=de[0]||ue[0]<=le)&&(ue[1]>=de[1]||le<=ue[1])?"inRange":"outOfRange"},ie.prototype.findTargetDataIndices=function(le){var ue=[];return this.eachTargetSeries(function(de){var pe=[],he=de.getData();he.each(this.getDataDimensionIndex(he),function(_e,$e){le[0]<=_e&&_e<=le[1]&&pe.push($e)},this),ue.push({seriesId:de.id,dataIndex:pe})},this),ue},ie.prototype.getVisualMeta=function(le){var ue=getColorStopValues(this,"outOfRange",this.getExtent()),de=getColorStopValues(this,"inRange",this.option.range.slice()),pe=[];function he(qe,Et){pe.push({value:qe,color:le(qe,Et)})}for(var _e=0,$e=0,Ie=de.length,Ve=ue.length;$e<Ve&&(!de.length||ue[$e]<=de[0]);$e++)ue[$e]<de[_e]&&he(ue[$e],"outOfRange");for(var Fe=1;_e<Ie;_e++,Fe=0)Fe&&pe.length&&he(de[_e],"outOfRange"),he(de[_e],"inRange");for(var Fe=1;$e<Ve;$e++)(!de.length||de[de.length-1]<ue[$e])&&(Fe&&(pe.length&&he(pe[pe.length-1].value,"outOfRange"),Fe=0),he(ue[$e],"outOfRange"));var Ue=pe.length;return{stops:pe,outerColors:[Ue?pe[0].color:"transparent",Ue?pe[Ue-1].color:"transparent"]}},ie.type="visualMap.continuous",ie.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),ie}(VisualMapModel$1);function getColorStopValues(oe,ie,le){if(le[0]===le[1])return le.slice();for(var ue=200,de=(le[1]-le[0])/ue,pe=le[0],he=[],_e=0;_e<=ue&&pe<le[1];_e++)he.push(pe),pe+=de;return he.push(le[1]),he}const ContinuousModel$1=ContinuousModel;var VisualMapView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.autoPositionValues={left:1,right:1,top:1,bottom:1},le}return ie.prototype.init=function(le,ue){this.ecModel=le,this.api=ue},ie.prototype.render=function(le,ue,de,pe){if(this.visualMapModel=le,le.get("show")===!1){this.group.removeAll();return}this.doRender(le,ue,de,pe)},ie.prototype.renderBackground=function(le){var ue=this.visualMapModel,de=normalizeCssArray(ue.get("padding")||0),pe=le.getBoundingRect();le.add(new Rect$2({z2:-1,silent:!0,shape:{x:pe.x-de[3],y:pe.y-de[0],width:pe.width+de[3]+de[1],height:pe.height+de[0]+de[2]},style:{fill:ue.get("backgroundColor"),stroke:ue.get("borderColor"),lineWidth:ue.get("borderWidth")}}))},ie.prototype.getControllerVisual=function(le,ue,de){de=de||{};var pe=de.forceState,he=this.visualMapModel,_e={};if(ue==="color"){var $e=he.get("contentColor");_e.color=$e}function Ie(qe){return _e[qe]}function Ve(qe,Et){_e[qe]=Et}var Fe=he.controllerVisuals[pe||he.getValueState(le)],Ue=VisualMapping$1.prepareVisualTypes(Fe);return each$c(Ue,function(qe){var Et=Fe[qe];de.convertOpacityToAlpha&&qe==="opacity"&&(qe="colorAlpha",Et=Fe.__alphaForOpacity),VisualMapping$1.dependsOn(qe,ue)&&Et&&Et.applyVisual(le,Ie,Ve)}),_e[ue]},ie.prototype.positionGroup=function(le){var ue=this.visualMapModel,de=this.api;positionElement(le,ue.getBoxLayoutParams(),{width:de.getWidth(),height:de.getHeight()})},ie.prototype.doRender=function(le,ue,de,pe){},ie.type="visualMap",ie}(ComponentView$1);const VisualMapView$1=VisualMapView;var paramsSet=[["left","right","width"],["top","bottom","height"]];function getItemAlign(oe,ie,le){var ue=oe.option,de=ue.align;if(de!=null&&de!=="auto")return de;for(var pe={width:ie.getWidth(),height:ie.getHeight()},he=ue.orient==="horizontal"?1:0,_e=paramsSet[he],$e=[0,null,10],Ie={},Ve=0;Ve<3;Ve++)Ie[paramsSet[1-he][Ve]]=$e[Ve],Ie[_e[Ve]]=Ve===2?le[0]:ue[_e[Ve]];var Fe=[["x","width",3],["y","height",0]][he],Ue=getLayoutRect(Ie,pe,ue.padding);return _e[(Ue.margin[Fe[2]]||0)+Ue[Fe[0]]+Ue[Fe[1]]*.5<pe[Fe[1]]*.5?0:1]}function makeHighDownBatch(oe,ie){return each$c(oe||[],function(le){le.dataIndex!=null&&(le.dataIndexInside=le.dataIndex,le.dataIndex=null),le.highlightKey="visualMap"+(ie?ie.componentIndex:"")}),oe}var linearMap=linearMap$2,each$1=each$c,mathMin=Math.min,mathMax=Math.max,HOVER_LINK_SIZE=12,HOVER_LINK_OUT=6,ContinuousView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._shapes={},le._dataInterval=[],le._handleEnds=[],le._hoverLinkDataIndices=[],le}return ie.prototype.doRender=function(le,ue,de,pe){this._api=de,(!pe||pe.type!=="selectDataRange"||pe.from!==this.uid)&&this._buildView()},ie.prototype._buildView=function(){this.group.removeAll();var le=this.visualMapModel,ue=this.group;this._orient=le.get("orient"),this._useHandle=le.get("calculable"),this._resetInterval(),this._renderBar(ue);var de=le.get("text");this._renderEndsText(ue,de,0),this._renderEndsText(ue,de,1),this._updateView(!0),this.renderBackground(ue),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(ue)},ie.prototype._renderEndsText=function(le,ue,de){if(ue){var pe=ue[1-de];pe=pe!=null?pe+"":"";var he=this.visualMapModel,_e=he.get("textGap"),$e=he.itemSize,Ie=this._shapes.mainGroup,Ve=this._applyTransform([$e[0]/2,de===0?-_e:$e[1]+_e],Ie),Fe=this._applyTransform(de===0?"bottom":"top",Ie),Ue=this._orient,qe=this.visualMapModel.textStyleModel;this.group.add(new ZRText$1({style:createTextStyle$1(qe,{x:Ve[0],y:Ve[1],verticalAlign:Ue==="horizontal"?"middle":Fe,align:Ue==="horizontal"?Fe:"center",text:pe})}))}},ie.prototype._renderBar=function(le){var ue=this.visualMapModel,de=this._shapes,pe=ue.itemSize,he=this._orient,_e=this._useHandle,$e=getItemAlign(ue,this.api,pe),Ie=de.mainGroup=this._createBarGroup($e),Ve=new Group$3;Ie.add(Ve),Ve.add(de.outOfRange=createPolygon()),Ve.add(de.inRange=createPolygon(null,_e?getCursor(this._orient):null,bind$1(this._dragHandle,this,"all",!1),bind$1(this._dragHandle,this,"all",!0))),Ve.setClipPath(new Rect$2({shape:{x:0,y:0,width:pe[0],height:pe[1],r:3}}));var Fe=ue.textStyleModel.getTextRect("国"),Ue=mathMax(Fe.width,Fe.height);_e&&(de.handleThumbs=[],de.handleLabels=[],de.handleLabelPoints=[],this._createHandle(ue,Ie,0,pe,Ue,he),this._createHandle(ue,Ie,1,pe,Ue,he)),this._createIndicator(ue,Ie,pe,Ue,he),le.add(Ie)},ie.prototype._createHandle=function(le,ue,de,pe,he,_e){var $e=bind$1(this._dragHandle,this,de,!1),Ie=bind$1(this._dragHandle,this,de,!0),Ve=parsePercent$1(le.get("handleSize"),pe[0]),Fe=createSymbol(le.get("handleIcon"),-Ve/2,-Ve/2,Ve,Ve,null,!0),Ue=getCursor(this._orient);Fe.attr({cursor:Ue,draggable:!0,drift:$e,ondragend:Ie,onmousemove:function(hn){stop(hn.event)}}),Fe.x=pe[0]/2,Fe.useStyle(le.getModel("handleStyle").getItemStyle()),Fe.setStyle({strokeNoScale:!0,strokeFirst:!0}),Fe.style.lineWidth*=2,Fe.ensureState("emphasis").style=le.getModel(["emphasis","handleStyle"]).getItemStyle(),setAsHighDownDispatcher(Fe,!0),ue.add(Fe);var qe=this.visualMapModel.textStyleModel,Et=new ZRText$1({cursor:Ue,draggable:!0,drift:$e,onmousemove:function(hn){stop(hn.event)},ondragend:Ie,style:createTextStyle$1(qe,{x:0,y:0,text:""})});Et.ensureState("blur").style={opacity:.1},Et.stateTransition={duration:200},this.group.add(Et);var At=[Ve,0],Lt=this._shapes;Lt.handleThumbs[de]=Fe,Lt.handleLabelPoints[de]=At,Lt.handleLabels[de]=Et},ie.prototype._createIndicator=function(le,ue,de,pe,he){var _e=parsePercent$1(le.get("indicatorSize"),de[0]),$e=createSymbol(le.get("indicatorIcon"),-_e/2,-_e/2,_e,_e,null,!0);$e.attr({cursor:"move",invisible:!0,silent:!0,x:de[0]/2});var Ie=le.getModel("indicatorStyle").getItemStyle();if($e instanceof ZRImage$1){var Ve=$e.style;$e.useStyle(extend({image:Ve.image,x:Ve.x,y:Ve.y,width:Ve.width,height:Ve.height},Ie))}else $e.useStyle(Ie);ue.add($e);var Fe=this.visualMapModel.textStyleModel,Ue=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(Fe,{x:0,y:0,text:""})});this.group.add(Ue);var qe=[(he==="horizontal"?pe/2:HOVER_LINK_OUT)+de[0]/2,0],Et=this._shapes;Et.indicator=$e,Et.indicatorLabel=Ue,Et.indicatorLabelPoint=qe,this._firstShowIndicator=!0},ie.prototype._dragHandle=function(le,ue,de,pe){if(this._useHandle){if(this._dragging=!ue,!ue){var he=this._applyTransform([de,pe],this._shapes.mainGroup,!0);this._updateInterval(le,he[1]),this._hideIndicator(),this._updateView()}ue===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),ue?!this._hovering&&this._clearHoverLinkToSeries():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[le],!1)}},ie.prototype._resetInterval=function(){var le=this.visualMapModel,ue=this._dataInterval=le.getSelected(),de=le.getExtent(),pe=[0,le.itemSize[1]];this._handleEnds=[linearMap(ue[0],de,pe,!0),linearMap(ue[1],de,pe,!0)]},ie.prototype._updateInterval=function(le,ue){ue=ue||0;var de=this.visualMapModel,pe=this._handleEnds,he=[0,de.itemSize[1]];sliderMove(ue,pe,he,le,0);var _e=de.getExtent();this._dataInterval=[linearMap(pe[0],he,_e,!0),linearMap(pe[1],he,_e,!0)]},ie.prototype._updateView=function(le){var ue=this.visualMapModel,de=ue.getExtent(),pe=this._shapes,he=[0,ue.itemSize[1]],_e=le?he:this._handleEnds,$e=this._createBarVisual(this._dataInterval,de,_e,"inRange"),Ie=this._createBarVisual(de,de,he,"outOfRange");pe.inRange.setStyle({fill:$e.barColor}).setShape("points",$e.barPoints),pe.outOfRange.setStyle({fill:Ie.barColor}).setShape("points",Ie.barPoints),this._updateHandle(_e,$e)},ie.prototype._createBarVisual=function(le,ue,de,pe){var he={forceState:pe,convertOpacityToAlpha:!0},_e=this._makeColorGradient(le,he),$e=[this.getControllerVisual(le[0],"symbolSize",he),this.getControllerVisual(le[1],"symbolSize",he)],Ie=this._createBarPoints(de,$e);return{barColor:new LinearGradient$1(0,0,0,1,_e),barPoints:Ie,handlesColor:[_e[0].color,_e[_e.length-1].color]}},ie.prototype._makeColorGradient=function(le,ue){var de=100,pe=[],he=(le[1]-le[0])/de;pe.push({color:this.getControllerVisual(le[0],"color",ue),offset:0});for(var _e=1;_e<de;_e++){var $e=le[0]+he*_e;if($e>le[1])break;pe.push({color:this.getControllerVisual($e,"color",ue),offset:_e/de})}return pe.push({color:this.getControllerVisual(le[1],"color",ue),offset:1}),pe},ie.prototype._createBarPoints=function(le,ue){var de=this.visualMapModel.itemSize;return[[de[0]-ue[0],le[0]],[de[0],le[0]],[de[0],le[1]],[de[0]-ue[1],le[1]]]},ie.prototype._createBarGroup=function(le){var ue=this._orient,de=this.visualMapModel.get("inverse");return new Group$3(ue==="horizontal"&&!de?{scaleX:le==="bottom"?1:-1,rotation:Math.PI/2}:ue==="horizontal"&&de?{scaleX:le==="bottom"?-1:1,rotation:-Math.PI/2}:ue==="vertical"&&!de?{scaleX:le==="left"?1:-1,scaleY:-1}:{scaleX:le==="left"?1:-1})},ie.prototype._updateHandle=function(le,ue){if(this._useHandle){var de=this._shapes,pe=this.visualMapModel,he=de.handleThumbs,_e=de.handleLabels,$e=pe.itemSize,Ie=pe.getExtent();each$1([0,1],function(Ve){var Fe=he[Ve];Fe.setStyle("fill",ue.handlesColor[Ve]),Fe.y=le[Ve];var Ue=linearMap(le[Ve],[0,$e[1]],Ie,!0),qe=this.getControllerVisual(Ue,"symbolSize");Fe.scaleX=Fe.scaleY=qe/$e[0],Fe.x=$e[0]-qe/2;var Et=applyTransform(de.handleLabelPoints[Ve],getTransform$1(Fe,this.group));_e[Ve].setStyle({x:Et[0],y:Et[1],text:pe.formatValueText(this._dataInterval[Ve]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",de.mainGroup):"center"})},this)}},ie.prototype._showIndicator=function(le,ue,de,pe){var he=this.visualMapModel,_e=he.getExtent(),$e=he.itemSize,Ie=[0,$e[1]],Ve=this._shapes,Fe=Ve.indicator;if(Fe){Fe.attr("invisible",!1);var Ue={convertOpacityToAlpha:!0},qe=this.getControllerVisual(le,"color",Ue),Et=this.getControllerVisual(le,"symbolSize"),At=linearMap(le,_e,Ie,!0),Lt=$e[0]-Et/2,hn={x:Fe.x,y:Fe.y};Fe.y=At,Fe.x=Lt;var vn=applyTransform(Ve.indicatorLabelPoint,getTransform$1(Fe,this.group)),_n=Ve.indicatorLabel;_n.attr("invisible",!1);var bn=this._applyTransform("left",Ve.mainGroup),Sn=this._orient,Cn=Sn==="horizontal";_n.setStyle({text:(de||"")+he.formatValueText(ue),verticalAlign:Cn?bn:"middle",align:Cn?"center":bn});var En={x:Lt,y:At,style:{fill:qe}},wn={style:{x:vn[0],y:vn[1]}};if(he.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var xn={duration:100,easing:"cubicInOut",additive:!0};Fe.x=hn.x,Fe.y=hn.y,Fe.animateTo(En,xn),_n.animateTo(wn,xn)}else Fe.attr(En),_n.attr(wn);this._firstShowIndicator=!1;var kn=this._shapes.handleLabels;if(kn)for(var Pn=0;Pn<kn.length;Pn++)this._api.enterBlur(kn[Pn])}},ie.prototype._enableHoverLinkToSeries=function(){var le=this;this._shapes.mainGroup.on("mousemove",function(ue){if(le._hovering=!0,!le._dragging){var de=le.visualMapModel.itemSize,pe=le._applyTransform([ue.offsetX,ue.offsetY],le._shapes.mainGroup,!0,!0);pe[1]=mathMin(mathMax(0,pe[1]),de[1]),le._doHoverLinkToSeries(pe[1],0<=pe[0]&&pe[0]<=de[0])}}).on("mouseout",function(){le._hovering=!1,!le._dragging&&le._clearHoverLinkToSeries()})},ie.prototype._enableHoverLinkFromSeries=function(){var le=this.api.getZr();this.visualMapModel.option.hoverLink?(le.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),le.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},ie.prototype._doHoverLinkToSeries=function(le,ue){var de=this.visualMapModel,pe=de.itemSize;if(de.option.hoverLink){var he=[0,pe[1]],_e=de.getExtent();le=mathMin(mathMax(he[0],le),he[1]);var $e=getHalfHoverLinkSize(de,_e,he),Ie=[le-$e,le+$e],Ve=linearMap(le,he,_e,!0),Fe=[linearMap(Ie[0],he,_e,!0),linearMap(Ie[1],he,_e,!0)];Ie[0]<he[0]&&(Fe[0]=-1/0),Ie[1]>he[1]&&(Fe[1]=1/0),ue&&(Fe[0]===-1/0?this._showIndicator(Ve,Fe[1],"< ",$e):Fe[1]===1/0?this._showIndicator(Ve,Fe[0],"> ",$e):this._showIndicator(Ve,Ve,"≈ ",$e));var Ue=this._hoverLinkDataIndices,qe=[];(ue||useHoverLinkOnHandle(de))&&(qe=this._hoverLinkDataIndices=de.findTargetDataIndices(Fe));var Et=compressBatches(Ue,qe);this._dispatchHighDown("downplay",makeHighDownBatch(Et[0],de)),this._dispatchHighDown("highlight",makeHighDownBatch(Et[1],de))}},ie.prototype._hoverLinkFromSeriesMouseOver=function(le){var ue;if(findEventDispatcher(le.target,function($e){var Ie=getECData($e);if(Ie.dataIndex!=null)return ue=Ie,!0},!0),!!ue){var de=this.ecModel.getSeriesByIndex(ue.seriesIndex),pe=this.visualMapModel;if(pe.isTargetSeries(de)){var he=de.getData(ue.dataType),_e=he.getStore().get(pe.getDataDimensionIndex(he),ue.dataIndex);isNaN(_e)||this._showIndicator(_e,_e)}}},ie.prototype._hideIndicator=function(){var le=this._shapes;le.indicator&&le.indicator.attr("invisible",!0),le.indicatorLabel&&le.indicatorLabel.attr("invisible",!0);var ue=this._shapes.handleLabels;if(ue)for(var de=0;de<ue.length;de++)this._api.leaveBlur(ue[de])},ie.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var le=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",makeHighDownBatch(le,this.visualMapModel)),le.length=0},ie.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var le=this.api.getZr();le.off("mouseover",this._hoverLinkFromSeriesMouseOver),le.off("mouseout",this._hideIndicator)},ie.prototype._applyTransform=function(le,ue,de,pe){var he=getTransform$1(ue,pe?null:this.group);return isArray$1(le)?applyTransform(le,he,de):transformDirection(le,he,de)},ie.prototype._dispatchHighDown=function(le,ue){ue&&ue.length&&this.api.dispatchAction({type:le,batch:ue})},ie.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},ie.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},ie.type="visualMap.continuous",ie}(VisualMapView$1);function createPolygon(oe,ie,le,ue){return new Polygon$1({shape:{points:oe},draggable:!!le,cursor:ie,drift:le,onmousemove:function(de){stop(de.event)},ondragend:ue})}function getHalfHoverLinkSize(oe,ie,le){var ue=HOVER_LINK_SIZE/2,de=oe.get("hoverLinkDataSize");return de&&(ue=linearMap(de,ie,le,!0)/2),ue}function useHoverLinkOnHandle(oe){var ie=oe.get("hoverLinkOnHandle");return!!(ie??oe.get("realtime"))}function getCursor(oe){return oe==="vertical"?"ns-resize":"ew-resize"}const ContinuousView$1=ContinuousView;var visualMapActionInfo={type:"selectDataRange",event:"dataRangeSelected",update:"update"},visualMapActionHander=function(oe,ie){ie.eachComponent({mainType:"visualMap",query:oe},function(le){le.setSelected(oe.selected)})},visualMapEncodingHandlers=[{createOnAllSeries:!0,reset:function(oe,ie){var le=[];return ie.eachComponent("visualMap",function(ue){var de=oe.pipelineContext;!ue.isTargetSeries(oe)||de&&de.large||le.push(incrementalApplyVisual(ue.stateList,ue.targetVisuals,bind$1(ue.getValueState,ue),ue.getDataDimensionIndex(oe.getData())))}),le}},{createOnAllSeries:!0,reset:function(oe,ie){var le=oe.getData(),ue=[];ie.eachComponent("visualMap",function(de){if(de.isTargetSeries(oe)){var pe=de.getVisualMeta(bind$1(getColorVisual,null,oe,de))||{stops:[],outerColors:[]},he=de.getDataDimensionIndex(le);he>=0&&(pe.dimension=he,ue.push(pe))}}),oe.getData().setVisual("visualMeta",ue)}}];function getColorVisual(oe,ie,le,ue){for(var de=ie.targetVisuals[ue],pe=VisualMapping$1.prepareVisualTypes(de),he={color:getVisualFromData(oe.getData(),"color")},_e=0,$e=pe.length;_e<$e;_e++){var Ie=pe[_e],Ve=de[Ie==="opacity"?"__alphaForOpacity":Ie];Ve&&Ve.applyVisual(le,Fe,Ue)}return he.color;function Fe(qe){return he[qe]}function Ue(qe,Et){he[qe]=Et}}var each=each$c;function visualMapPreprocessor(oe){var ie=oe&&oe.visualMap;isArray$1(ie)||(ie=ie?[ie]:[]),each(ie,function(le){if(le){has(le,"splitList")&&!has(le,"pieces")&&(le.pieces=le.splitList,delete le.splitList);var ue=le.pieces;ue&&isArray$1(ue)&&each(ue,function(de){isObject$3(de)&&(has(de,"start")&&!has(de,"min")&&(de.min=de.start),has(de,"end")&&!has(de,"max")&&(de.max=de.end))})}})}function has(oe,ie){return oe&&oe.hasOwnProperty&&oe.hasOwnProperty(ie)}var installed=!1;function installCommon(oe){installed||(installed=!0,oe.registerSubTypeDefaulter("visualMap",function(ie){return!ie.categories&&(!(ie.pieces?ie.pieces.length>0:ie.splitNumber>0)||ie.calculable)?"continuous":"piecewise"}),oe.registerAction(visualMapActionInfo,visualMapActionHander),each$c(visualMapEncodingHandlers,function(ie){oe.registerVisual(oe.PRIORITY.VISUAL.COMPONENT,ie)}),oe.registerPreprocessor(visualMapPreprocessor))}function install$2(oe){oe.registerComponentModel(ContinuousModel$1),oe.registerComponentView(ContinuousView$1),installCommon(oe)}var PiecewiseModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._pieceList=[],le}return ie.prototype.optionUpdated=function(le,ue){oe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var de=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(le,ue);var pe=this.option.categories;this.resetVisual(function(he,_e){de==="categories"?(he.mappingMethod="category",he.categories=clone$3(pe)):(he.dataExtent=this.getExtent(),he.mappingMethod="piecewise",he.pieceList=map$2(this._pieceList,function($e){return $e=clone$3($e),_e!=="inRange"&&($e.visual=null),$e}))})},ie.prototype.completeVisualOption=function(){var le=this.option,ue={},de=VisualMapping$1.listVisualTypes(),pe=this.isCategory();each$c(le.pieces,function(_e){each$c(de,function($e){_e.hasOwnProperty($e)&&(ue[$e]=1)})}),each$c(ue,function(_e,$e){var Ie=!1;each$c(this.stateList,function(Ve){Ie=Ie||he(le,Ve,$e)||he(le.target,Ve,$e)},this),!Ie&&each$c(this.stateList,function(Ve){(le[Ve]||(le[Ve]={}))[$e]=visualDefault$1.get($e,Ve==="inRange"?"active":"inactive",pe)})},this);function he(_e,$e,Ie){return _e&&_e[$e]&&_e[$e].hasOwnProperty(Ie)}oe.prototype.completeVisualOption.apply(this,arguments)},ie.prototype._resetSelected=function(le,ue){var de=this.option,pe=this._pieceList,he=(ue?de:le).selected||{};if(de.selected=he,each$c(pe,function($e,Ie){var Ve=this.getSelectedMapKey($e);he.hasOwnProperty(Ve)||(he[Ve]=!0)},this),de.selectedMode==="single"){var _e=!1;each$c(pe,function($e,Ie){var Ve=this.getSelectedMapKey($e);he[Ve]&&(_e?he[Ve]=!1:_e=!0)},this)}},ie.prototype.getItemSymbol=function(){return this.get("itemSymbol")},ie.prototype.getSelectedMapKey=function(le){return this._mode==="categories"?le.value+"":le.index+""},ie.prototype.getPieceList=function(){return this._pieceList},ie.prototype._determineMode=function(){var le=this.option;return le.pieces&&le.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},ie.prototype.setSelected=function(le){this.option.selected=clone$3(le)},ie.prototype.getValueState=function(le){var ue=VisualMapping$1.findPieceIndex(le,this._pieceList);return ue!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[ue])]?"inRange":"outOfRange"},ie.prototype.findTargetDataIndices=function(le){var ue=[],de=this._pieceList;return this.eachTargetSeries(function(pe){var he=[],_e=pe.getData();_e.each(this.getDataDimensionIndex(_e),function($e,Ie){var Ve=VisualMapping$1.findPieceIndex($e,de);Ve===le&&he.push(Ie)},this),ue.push({seriesId:pe.id,dataIndex:he})},this),ue},ie.prototype.getRepresentValue=function(le){var ue;if(this.isCategory())ue=le.value;else if(le.value!=null)ue=le.value;else{var de=le.interval||[];ue=de[0]===-1/0&&de[1]===1/0?0:(de[0]+de[1])/2}return ue},ie.prototype.getVisualMeta=function(le){if(this.isCategory())return;var ue=[],de=["",""],pe=this;function he(Ve,Fe){var Ue=pe.getRepresentValue({interval:Ve});Fe||(Fe=pe.getValueState(Ue));var qe=le(Ue,Fe);Ve[0]===-1/0?de[0]=qe:Ve[1]===1/0?de[1]=qe:ue.push({value:Ve[0],color:qe},{value:Ve[1],color:qe})}var _e=this._pieceList.slice();if(!_e.length)_e.push({interval:[-1/0,1/0]});else{var $e=_e[0].interval[0];$e!==-1/0&&_e.unshift({interval:[-1/0,$e]}),$e=_e[_e.length-1].interval[1],$e!==1/0&&_e.push({interval:[$e,1/0]})}var Ie=-1/0;return each$c(_e,function(Ve){var Fe=Ve.interval;Fe&&(Fe[0]>Ie&&he([Ie,Fe[0]],"outOfRange"),he(Fe.slice()),Ie=Fe[1])},this),{stops:ue,outerColors:de}},ie.type="visualMap.piecewise",ie.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),ie}(VisualMapModel$1),resetMethods={splitNumber:function(oe){var ie=this.option,le=Math.min(ie.precision,20),ue=this.getExtent(),de=ie.splitNumber;de=Math.max(parseInt(de,10),1),ie.splitNumber=de;for(var pe=(ue[1]-ue[0])/de;+pe.toFixed(le)!==pe&&le<5;)le++;ie.precision=le,pe=+pe.toFixed(le),ie.minOpen&&oe.push({interval:[-1/0,ue[0]],close:[0,0]});for(var he=0,_e=ue[0];he<de;_e+=pe,he++){var $e=he===de-1?ue[1]:_e+pe;oe.push({interval:[_e,$e],close:[1,1]})}ie.maxOpen&&oe.push({interval:[ue[1],1/0],close:[0,0]}),reformIntervals(oe),each$c(oe,function(Ie,Ve){Ie.index=Ve,Ie.text=this.formatValueText(Ie.interval)},this)},categories:function(oe){var ie=this.option;each$c(ie.categories,function(le){oe.push({text:this.formatValueText(le,!0),value:le})},this),normalizeReverse(ie,oe)},pieces:function(oe){var ie=this.option;each$c(ie.pieces,function(le,ue){isObject$3(le)||(le={value:le});var de={text:"",index:ue};if(le.label!=null&&(de.text=le.label),le.hasOwnProperty("value")){var pe=de.value=le.value;de.interval=[pe,pe],de.close=[1,1]}else{for(var he=de.interval=[],_e=de.close=[0,0],$e=[1,0,1],Ie=[-1/0,1/0],Ve=[],Fe=0;Fe<2;Fe++){for(var Ue=[["gte","gt","min"],["lte","lt","max"]][Fe],qe=0;qe<3&&he[Fe]==null;qe++)he[Fe]=le[Ue[qe]],_e[Fe]=$e[qe],Ve[Fe]=qe===2;he[Fe]==null&&(he[Fe]=Ie[Fe])}Ve[0]&&he[1]===1/0&&(_e[0]=0),Ve[1]&&he[0]===-1/0&&(_e[1]=0),he[0]===he[1]&&_e[0]&&_e[1]&&(de.value=he[0])}de.visual=VisualMapping$1.retrieveVisuals(le),oe.push(de)},this),normalizeReverse(ie,oe),reformIntervals(oe),each$c(oe,function(le){var ue=le.close,de=[["<","≤"][ue[1]],[">","≥"][ue[0]]];le.text=le.text||this.formatValueText(le.value!=null?le.value:le.interval,!1,de)},this)}};function normalizeReverse(oe,ie){var le=oe.inverse;(oe.orient==="vertical"?!le:le)&&ie.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.doRender=function(){var le=this.group;le.removeAll();var ue=this.visualMapModel,de=ue.get("textGap"),pe=ue.textStyleModel,he=pe.getFont(),_e=pe.getTextColor(),$e=this._getItemAlign(),Ie=ue.itemSize,Ve=this._getViewData(),Fe=Ve.endsText,Ue=retrieve(ue.get("showLabel",!0),!Fe);Fe&&this._renderEndsText(le,Fe[0],Ie,Ue,$e),each$c(Ve.viewPieceList,function(qe){var Et=qe.piece,At=new Group$3;At.onclick=bind$1(this._onItemClick,this,Et),this._enableHoverLink(At,qe.indexInModelPieceList);var Lt=ue.getRepresentValue(Et);if(this._createItemSymbol(At,Lt,[0,0,Ie[0],Ie[1]]),Ue){var hn=this.visualMapModel.getValueState(Lt);At.add(new ZRText$1({style:{x:$e==="right"?-de:Ie[0]+de,y:Ie[1]/2,text:Et.text,verticalAlign:"middle",align:$e,font:he,fill:_e,opacity:hn==="outOfRange"?.5:1}}))}le.add(At)},this),Fe&&this._renderEndsText(le,Fe[1],Ie,Ue,$e),box(ue.get("orient"),le,ue.get("itemGap")),this.renderBackground(le),this.positionGroup(le)},ie.prototype._enableHoverLink=function(le,ue){var de=this;le.on("mouseover",function(){return pe("highlight")}).on("mouseout",function(){return pe("downplay")});var pe=function(he){var _e=de.visualMapModel;_e.option.hoverLink&&de.api.dispatchAction({type:he,batch:makeHighDownBatch(_e.findTargetDataIndices(ue),_e)})}},ie.prototype._getItemAlign=function(){var le=this.visualMapModel,ue=le.option;if(ue.orient==="vertical")return getItemAlign(le,this.api,le.itemSize);var de=ue.align;return(!de||de==="auto")&&(de="left"),de},ie.prototype._renderEndsText=function(le,ue,de,pe,he){if(ue){var _e=new Group$3,$e=this.visualMapModel.textStyleModel;_e.add(new ZRText$1({style:createTextStyle$1($e,{x:pe?he==="right"?de[0]:0:de[0]/2,y:de[1]/2,verticalAlign:"middle",align:pe?he:"center",text:ue})})),le.add(_e)}},ie.prototype._getViewData=function(){var le=this.visualMapModel,ue=map$2(le.getPieceList(),function(_e,$e){return{piece:_e,indexInModelPieceList:$e}}),de=le.get("text"),pe=le.get("orient"),he=le.get("inverse");return(pe==="horizontal"?he:!he)?ue.reverse():de&&(de=de.slice().reverse()),{viewPieceList:ue,endsText:de}},ie.prototype._createItemSymbol=function(le,ue,de){le.add(createSymbol(this.getControllerVisual(ue,"symbol"),de[0],de[1],de[2],de[3],this.getControllerVisual(ue,"color")))},ie.prototype._onItemClick=function(le){var ue=this.visualMapModel,de=ue.option,pe=de.selectedMode;if(pe){var he=clone$3(de.selected),_e=ue.getSelectedMapKey(le);pe==="single"||pe===!0?(he[_e]=!0,each$c(he,function($e,Ie){he[Ie]=Ie===_e})):he[_e]=!he[_e],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:he})}},ie.type="visualMap.piecewise",ie}(VisualMapView$1);const PiecewiseView=PiecewiseVisualMapView;function install$1(oe){oe.registerComponentModel(PiecewiseModel$1),oe.registerComponentView(PiecewiseView),installCommon(oe)}function install(oe){use$1(install$2),use$1(install$1)}const{use}=echarts;use([install$h,install$i,install$j,install$k,install$e,install$9,install$6,install$d,install$b,install$a,install$3,install]);function useEcharts(oe){oe.config.globalProperties.$echarts=echarts}var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,j$1=Object.prototype.hasOwnProperty,_=(oe,ie,le)=>ie in oe?p(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ie]=le,P=(oe,ie)=>{for(var le in ie)p(oe,le,{get:ie[le],enumerable:!0})},y=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of u(ie))!j$1.call(oe,de)&&de!==le&&p(oe,de,{get:()=>ie[de],enumerable:!(ue=d(ie,de))||ue.enumerable});return oe},m$1=(oe,ie,le)=>(y(oe,ie,"default"),le&&y(le,ie,"default")),f=(oe,ie,le)=>(_(oe,typeof ie!="symbol"?ie+"":ie,le),le),c={};P(c,{Vue:()=>vue_runtime_esmBundler});m$1(c,vue_runtime_esmBundler);var g=class{static install(oe,ie){let{nameSpace:le=this._nameSpace,memory:ue}=ie;return ue&&this.clearAll(le,ue),new g(oe,ie)}static clearAll(oe,ie){Object.keys(ie).forEach(le=>{let ue=oe+le;Object.prototype.hasOwnProperty.call(window.localStorage,ue)&&window.localStorage.removeItem(ue)})}static get(oe){return JSON.parse(window.localStorage.getItem(oe))}static set(oe,ie){ie=typeof ie=="object"?JSON.stringify(ie):ie,window.localStorage.setItem(oe,ie)}static getData(oe,ie){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(ie,oe)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(ie,oe)))}constructor(oe,ie){let le=g,{version:ue=3,nameSpace:de=le._nameSpace,memory:pe}=ie,he=Ie=>de+Ie,_e=ue===3?(0,c.reactive)(pe):pe;Object.keys(_e).length===0&&console.warn("key cannot be empty"),Object.keys(_e).forEach(Ie=>{let Ve=_e[Ie];le.set(he(Ie),Ve),Reflect.defineProperty(_e,Ie,{get:()=>le.get(he(Ie)),set:Fe=>le.set(he(Ie),Fe),configurable:!0}),ue===2&&oe.util.defineReactive(_e,Ie,_e[Ie])});let $e=ue===3?oe.config.globalProperties:oe.prototype;Reflect.defineProperty($e,"$storage",{get:()=>_e})}},n=g;f(n,"_nameSpace","rs-"),f(n,"_getStaticKey",(oe,ie)=>`${oe??g._nameSpace}${ie}`);const injectResponsiveStorage=(oe,ie)=>{const le=responsiveStorageNameSpace(),ue=Object.assign({locale:n.getData("locale",le)??{locale:ie.Locale??"zh"},layout:n.getData("layout",le)??{layout:ie.Layout??"vertical",theme:ie.Theme??"default",darkMode:ie.DarkMode??!1,sidebarStatus:ie.SidebarStatus??!0,epThemeColor:ie.EpThemeColor??"#409EFF"},configure:n.getData("configure",le)??{grey:ie.Grey??!1,weak:ie.Weak??!1,hideTabs:ie.HideTabs??!1,showLogo:ie.ShowLogo??!0,showModel:ie.ShowModel??"smart",multiTagsCache:ie.MultiTagsCache??!1}},ie.MultiTagsCache?{tags:n.getData("tags",le)??routerArrays}:{});oe.use(n,{nameSpace:le,memory:ue})},we=Object.prototype.hasOwnProperty,W=(oe,ie)=>we.call(oe,ie),q=oe=>oe!==null&&typeof oe=="object",Oe=((oe,ie)=>{if(!q(oe)||q(le=oe)&&le.__epPropKey)return oe;var le;const{values:ue,required:de,default:pe,type:he,validator:_e}=oe,$e=ue||_e?Ve=>{let Fe=!1,Ue=[];if(ue&&(Ue=Array.from(ue),W(oe,"default")&&Ue.push(pe),Fe||(Fe=Ue.includes(Ve))),_e&&(Fe||(Fe=_e(Ve))),!Fe&&Ue.length>0){const qe=[...new Set(Ue)].map(Et=>JSON.stringify(Et)).join(", ");warn$2(`Invalid prop: validation failed${ie?` for prop "${ie}"`:""}. Expected one of [${qe}], got value ${JSON.stringify(Ve)}.`)}return Fe}:void 0,Ie={type:he,required:!!de,validator:$e,__epPropKey:!0};return W(oe,"default")&&(Ie.default=pe),Ie})({type:String,values:["","default","small","large"],required:!1});var Se={data:{type:Array,default:()=>[]},size:Oe,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"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const xe={key:{type:String||Number,default:"0"},columns:{type:Array,default:[]},loading:{type:Boolean,default:!1},loadingConfig:{type:Object,default:()=>{}},alignWhole:{type:String,default:"left"},headerAlign:{type:String,default:""},showOverflowTooltip:{type:Boolean,default:!1},rowHoverBgColor:{type:String,default:""},pagination:{type:Object,default:{total:0,pageSize:5,align:"right",background:!1,pageSizes:[5,10,15,20],layout:"total, sizes, prev, pager, next, jumper"}},paginationSmall:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},adaptiveConfig:{type:Object,default:{offsetBottom:96,fixHeader:!0,timeout:60,zIndex:100}},...Se},J=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:oe=>()=>createVNode(Fragment,null,[oe.render(oe.params)])});var ee=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Ce=Object.getOwnPropertyNames,Be=Object.prototype.hasOwnProperty,U=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of Ce(ie))!Be.call(oe,de)&&de!==le&&ee(oe,de,{get:()=>ie[de],enumerable:!(ue=je(ie,de))||ue.enumerable});return oe},ze=Object.prototype.toString;function G(oe){return typeof oe=="function"}function Ne(oe){return function(ie,le){return ze.call(ie)===`[object ${le}]`}(oe,"Boolean")}var h={};((oe,ie)=>{for(var le in ie)ee(oe,le,{get:ie[le],enumerable:!0})})(h,{Vue:()=>vue_runtime_esmBundler}),U(h,vue_runtime_esmBundler,"default");var Te=()=>{let oe,ie=(0,h.shallowRef)(!1),le=()=>{ie.value=document.documentElement.classList.contains("dark")};return function(ue){(0,h.getCurrentInstance)()&&(0,h.onUnmounted)(ue)}(()=>{oe.takeRecords(),oe.disconnect()}),(0,h.onBeforeMount)(()=>{le(),oe=new MutationObserver(le),oe.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:ie}};const D=defineComponent({name:"PureTable",props:xe,emits:["page-size-change","page-current-change"],setup(oe,{slots:ie,attrs:le,emit:ue,expose:de}){var pe;const{key:he,columns:_e,loading:$e,adaptive:Ie,pagination:Ve,alignWhole:Fe,headerAlign:Ue,loadingConfig:qe,adaptiveConfig:Et,rowHoverBgColor:At,showOverflowTooltip:Lt}=toRefs(oe),{isDark:hn}=Te(),vn=getCurrentInstance();let _n=unref(Ve)&&unref(Ve).currentPage&&unref(Ve).pageSize,bn=computed(()=>{if(!unref(qe))return;let{text:Nn,spinner:Un,svg:Vn,viewBox:Mn}=unref(qe);return{"element-loading-text":Nn,"element-loading-spinner":Un,"element-loading-svg":Vn,"element-loading-svg-view-box":Mn}});const Sn=computed(()=>{var Nn,Un;if(unref($e))return{"element-loading-background":((Un=(Nn=unref(qe))==null?void 0:Nn.background)!=null?Un:hn.value)?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),Cn=computed(()=>{var Nn;return Object.assign({width:"100%",margin:"16px 0",display:"flex",justifyContent:unref(Ve).align==="left"?"flex-start":unref(Ve).align==="center"?"center":"flex-end"},(Nn=unref(Ve).style)!=null?Nn:{})}),En=(Nn,Un)=>{const{cellRenderer:Vn,slot:Mn,headerRenderer:Fn,headerSlot:Ln,hide:jn,children:Zn,prop:Gn,...Jn}=Nn;if(G(jn)&&jn(le))return jn(le);if(Ne(jn)&&jn)return jn;const lr={default:qn=>{var Yn;return Vn?createVNode(J,{render:Vn,params:Object.assign(qn,{index:qn.$index,props:oe,attrs:le})},null):Mn?(Yn=ie==null?void 0:ie[Mn])==null?void 0:Yn.call(ie,Object.assign(qn,{index:qn.$index,props:oe,attrs:le})):void 0}};let yr=Fn?{header:qn=>createVNode(J,{render:Fn,params:Object.assign(qn,{index:qn.$index,props:oe,attrs:le})},null),...lr}:ie!=null&&ie[Ln]?{header:qn=>{var Yn;return(Yn=ie==null?void 0:ie[Ln])==null?void 0:Yn.call(ie,Object.assign(qn,{index:qn.$index,props:oe,attrs:le}))},...lr}:lr;return(Zn==null?void 0:Zn.length)>0&&(yr=Zn.map(En)),createVNode(ElTableColumn,mergeProps({key:Un},Jn,{prop:G(Gn)&&Gn(Un)?Gn(Un):Gn,align:Nn!=null&&Nn.align?Nn.align:unref(Fe),headerAlign:Nn!=null&&Nn.headerAlign?Nn.headerAlign:unref(Ue),showOverflowTooltip:Nn!=null&&Nn.showOverflowTooltip?Nn.showOverflowTooltip:unref(Lt)}),typeof(ir=yr)=="function"||Object.prototype.toString.call(ir)==="[object Object]"&&!isVNode$1(ir)?yr:{default:()=>[yr]});var ir},wn=()=>{var Nn;return(Nn=vn==null?void 0:vn.proxy)==null?void 0:Nn.$refs[`TableRef${unref(he)}`]},xn=()=>wn().$refs,kn=async()=>{var Nn;await nextTick();const Un=xn().tableWrapper,Vn=(Nn=unref(Et).offsetBottom)!=null?Nn:96;Un.style.height=window.innerHeight-Un.getBoundingClientRect().top-Vn+"px"},Pn=((Nn,Un=200,Vn=!1)=>{let Mn,Fn,Ln=Un;return function(){Mn&&clearTimeout(Mn),Vn?(Mn||Nn.call(Fn,...arguments),Mn=setTimeout(()=>Mn=null,Ln)):Mn=setTimeout(()=>Nn.call(Fn,...arguments),Ln)}})(kn,(pe=unref(Et).timeout)!=null?pe:60),An=async(Nn=100)=>{await nextTick();const Un=xn().tableHeaderRef.$el.style;Un.position="sticky",Un.top=0,Un.zIndex=Nn};onMounted(()=>{nextTick(()=>{var Nn;if(unref(At)&&xn().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",unref(At),"important"),unref(Ie)){if(kn(),window.addEventListener("resize",Pn),Reflect.has(unref(Et),"fixHeader")&&!unref(Et).fixHeader)return;An((Nn=unref(Et).zIndex)!=null?Nn:100)}})}),onBeforeUnmount(()=>{unref(Ie)&&window.removeEventListener("resize",Pn)}),de({getTableRef:wn,getTableDoms:xn,setAdaptive:kn,setHeaderSticky:An});let In=()=>{var Nn,Un;return createVNode(Fragment,null,[createVNode(ElTable,mergeProps(oe,le,{ref:`TableRef${unref(he)}`}),{default:()=>unref(_e).map(En),append:()=>ie.append&&ie.append(),empty:()=>ie.empty&&ie.empty()}),_n?createVNode(ElPagination,mergeProps(le,{class:"pure-pagination",style:unref(Cn)},unref(Ve),{small:oe!=null&&oe.paginationSmall?oe==null?void 0:oe.paginationSmall:!!unref(Ve).small&&unref(Ve).small,layout:(Nn=unref(Ve).layout)!=null?Nn:"total, sizes, prev, pager, next, jumper",pageSizes:(Un=unref(Ve).pageSizes)!=null?Un:[5,10,15,20],onSizeChange:Vn=>(Mn=>{unref(Ve).pageSize=Mn,ue("page-size-change",Mn)})(Vn),onCurrentChange:Vn=>(Mn=>{unref(Ve).currentPage=Mn,ue("page-current-change",Mn)})(Vn)}),null):null])};return()=>withDirectives(createVNode("div",mergeProps({class:"pure-table",style:"width:100%"},unref(Sn),unref(bn)),[In()]),[[resolveDirective("loading"),unref($e)]])}}),Pe=Object.assign(D,{install:function(oe){oe.component(D.name,D)}}),L={data:{type:Array,default:[]},columns:{type:Array,default:[]},loading:{type:Object,default:()=>({load:!1,text:"Loading...",svg:"",spinner:"",svgViewBox:"",background:""})},align:{type:String,default:"left"},labelAlign:{type:String,default:""},...ElDescriptions.props},j=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:oe=>()=>createVNode(Fragment,null,[oe.render(oe.params)])}),m=defineComponent({name:"PureDescriptions",props:L,setup(oe,{slots:ie,attrs:le}){const{data:ue,columns:de,align:pe,labelAlign:he,loading:_e}=toRefs(oe),$e={title:()=>(ie==null?void 0:ie.title)&&ie.title({props:oe,attrs:le})},Ie={extra:()=>(ie==null?void 0:ie.extra)&&ie.extra({props:oe,attrs:le})},Ve=ie!=null&&ie.title&&!(ie!=null&&ie.extra)?$e:ie!=null&&ie.extra&&!(ie!=null&&ie.title)?Ie:ie!=null&&ie.title&&(ie!=null&&ie.extra)?Object.assign($e,Ie):null;return()=>{var Fe;return withDirectives(createVNode(ElDescriptions,mergeProps(oe,le,{"element-loading-text":(Fe=unref(_e).text)!=null?Fe:"Loading...","element-loading-svg":unref(_e).svg,"element-loading-spinner":unref(_e).spinner,"element-loading-svg-view-box":unref(_e).svgViewBox,"element-loading-background":unref(_e).background}),{default:()=>[unref(de).map((Ue,qe)=>{let Et=unref(ue).map(_n=>_n[Ue==null?void 0:Ue.prop]);const At={default:()=>{var _n;return Ue!=null&&Ue.cellRenderer?createVNode(j,{render:Ue.cellRenderer,params:{props:oe,attrs:le,index:qe,value:Et[0]}},null):Ue!=null&&Ue.slot?(_n=ie==null?void 0:ie[Ue.slot])==null?void 0:_n.call(ie,{props:oe,attrs:le,index:qe,value:Et[0]}):createVNode(Fragment,null,Ue!=null&&Ue.value?[unref(Ue.value)]:[Et])}},Lt=Ue!=null&&Ue.labelRenderer?{label:()=>createVNode(j,{render:Ue.labelRenderer,params:{props:oe,attrs:le,index:qe,value:Et[0]}},null),...At}:At;return hn=Ue==null?void 0:Ue.hide,typeof hn=="function"&&(Ue!=null&&Ue.hide(le))?Ue==null?void 0:Ue.hide(le):createVNode(ElDescriptionsItem,mergeProps(Ue,{key:qe,align:Ue.align?Ue.align:unref(pe),labelAlign:Ue.labelAlign?Ue.labelAlign:unref(he)}),typeof(vn=Lt)=="function"||Object.prototype.toString.call(vn)==="[object Object]"&&!isVNode$1(vn)?Lt:{default:()=>[Lt]});var hn,vn})],...Ve}),[[resolveDirective("loading"),unref(_e).load]])}}}),I=Object.assign(m,{install:function(oe){oe.component(m.name,m)}}),reset="",index$1="",tailwind="",index="";window._iconfont_svg_string_2208059='<svg><symbol id="pure-iconfont-tabs" viewBox="0 0 1024 1024"><path d="M400.43383789 497.82763673c4.20227051 3.95507813 6.50939942 9.64050293 6.26220703 15.40832519 0.32958983 5.85021973-2.05993653 11.53564453-6.26220703 15.40832519-4.36706543 3.87268067-10.1348877 5.93261719-15.90270996 5.6854248h-57.3486328v193.71643067c0.16479492 6.09741211-2.38952637 11.86523438-6.92138672 15.73791504-4.53186037 4.44946289-10.62927247 6.83898926-16.8914795 6.67419433-6.26220703 0.24719239-12.4420166-2.22473145-16.89147949-6.67419436-4.36706543-4.03747559-6.7565918-9.80529786-6.67419434-15.73791501v-193.6340332H222.78491211c-5.93261719 0.24719239-11.70043946-1.89514161-15.90270997-6.01501466-4.28466797-3.95507813-6.59179689-9.64050293-6.26220701-15.40832519-0.24719239-5.76782227 2.05993653-11.28845215 6.26220702-15.07873536 4.36706543-3.95507813 10.05249023-6.01501465 15.90270996-5.76782224h163.4765625c5.19104004 0 10.21728516 2.05993653 14.17236328 5.6854248z m177.73132325 57.76062011c4.28466797 4.20227051 6.59179689 10.05249023 6.34460448 16.14990234v156.47277832c0.24719239 5.93261719-2.05993653 11.70043946-6.34460449 15.73791504-3.95507813 4.36706543-9.64050293 6.83898926-15.57312011 6.67419433-5.85021973 0.08239747-11.45324708-2.22473145-15.57312013-6.34460449-3.95507813-4.28466797-6.26220703-9.8876953-6.26220703-15.73791504-14.83154297 16.06750489-35.34851075 25.37841797-57.01904297 25.87280274-16.23229981 0.24719239-32.05261231-4.36706543-45.7305908-13.1011963-14.17236327-8.81652833-25.70800781-21.50573731-33.20617677-36.58447265-15.90270997-33.28857422-15.90270997-72.18017578 0-105.46875 7.33337403-15.16113281 18.86901856-27.85034179 33.20617677-36.58447266 13.18359375-8.6517334 28.67431641-13.26599122 44.41223145-13.10119628 21.67053223-0.08239747 42.68188475 8.07495117 58.66699218 22.82409667-0.16479492-6.01501465 2.14233398-11.86523438 6.34460448-16.14990234 8.73413086-8.40454102 22.41210938-8.40454102 31.14624024 0l-0.41198731-0.65917969z m-50.42724611 139.0045166c19.85778809-26.03759766 19.85778809-62.29248047 0-88.33007813-9.47570801-11.78283692-23.81286622-18.37463379-38.80920409-17.79785156-14.7491455-0.41198731-28.92150879 6.09741211-38.15002442 17.79785156-9.97009278 12.35961914-15.24353028 28.01513673-14.91394043 44.00024414-0.49438477 16.06750489 4.69665529 31.80541991 14.58435058 44.32983399 9.55810548 11.45324708 23.73046875 17.88024903 38.47961427 17.46826172 14.91394043 0.32958983 29.08630372-6.09741211 38.8092041-17.46826172zM778.47338867 562.26245117c14.08996583 8.81652833 25.54321289 21.34094239 33.20617676 36.25488281 8.15734864 16.31469727 12.27722169 34.44213867 11.94763184 52.734375 0.32958983 18.37463379-3.7902832 36.58447265-11.94763184 53.06396485-7.41577148 15.07873536-18.95141602 27.76794434-33.20617676 36.58447266-13.18359375 8.73413086-28.67431641 13.26599122-44.41223144 13.10119629-11.45324708 0.16479492-22.82409669-2.38952637-33.20617676-7.41577149-9.55810548-4.11987305-18.20983887-10.05249023-25.54321289-17.46826171v2.30712889c0.16479492 5.93261719-2.05993653 11.70043946-6.17980957 15.98510744-4.11987305 4.20227051-9.80529786 6.59179689-15.73791506 6.5093994-5.85021973 0.24719239-11.53564453-2.05993653-15.5731201-6.34460449-4.28466797-4.20227051-6.59179689-10.05249023-6.26220704-16.14990233V499.80517578c-0.16479492-6.01501465 2.05993653-11.86523438 6.26220705-16.14990234 8.73413086-8.48693847 22.41210938-8.48693847 31.14624023 0 4.20227051 4.28466797 6.50939942 10.05249023 6.26220703 16.14990234v76.87683106c6.59179689-8.07495117 14.83154297-14.58435059 24.22485352-19.11621094 10.21728516-5.60302734 21.58813477-8.48693847 33.20617675-8.40454102 16.23229981-0.16479492 32.13500977 4.36706543 45.81298828 13.10119629z m-12.93640137 134.30786133c10.05249023-12.4420166 15.32592773-28.26232911 14.91394043-44.32983398 0.49438477-15.98510742-4.69665529-31.55822755-14.58435059-44.00024415-9.8876953-11.04125977-23.89526367-17.38586426-38.64440917-17.38586426s-28.75671387 6.3446045-38.64440918 17.38586426c-19.85778809 26.03759766-19.85778809 62.29248047 0 88.33007813 9.55810548 11.61804201 23.89526367 18.20983887 38.8092041 17.79785156 15.07873536-0.16479492 29.16870117-7.49816895 38.15002442-19.77539062v1.97753906zM673.5814209 299.00256347c-12.77160645 0-23.07128906-10.29968262-23.07128907-23.07128905V183.5637207c-0.08239747-6.59179689 0-13.10119629 0-19.6105957V154.31262207c0-12.77160645 10.29968262-23.07128906 23.07128906-23.07128906H820.16650391c14.00756836 0 27.10876465 5.43823242 37.07885742 15.32592773 9.31091309 9.31091309 14.66674805 21.42333983 15.32592773 34.44213868 0.08239747 0.57678223 0.08239747 1.15356445 0.08239746 1.73034667v93.27392579c0 12.77160645-10.29968262 23.07128906-23.07128906 23.07128906H673.5814209z m23.07128906-46.1425781h129.69360352v-69.29626467c0-1.64794922-0.65917969-3.21350098-1.81274415-4.44946289-1.15356445-1.15356445-2.80151367-1.81274414-4.44946289-1.81274414H696.65270999v75.5584717zM396.56115722 299.90893555c-12.77160645 0-23.07128906-10.29968262-23.07128905-23.07128908V155.13659668c0-12.68920898 10.29968262-22.98889161 22.9888916-23.07128906l175.83618164-0.90637207h0.08239746c14.00756836 0 27.10876465 5.43823242 37.07885742 15.32592774 9.8876953 9.97009278 15.32592773 23.07128906 15.32592775 37.07885741v93.27392579c0 12.77160645-10.29968262 23.07128906-23.07128907 23.07128906h-205.16967775z m23.07128907-46.22497559h159.0270996v-70.20263671c0-1.64794922-0.65917969-3.21350098-1.81274413-4.44946289-1.15356445-1.15356445-2.71911623-1.81274414-4.36706543-1.81274414l-152.84729005 0.74157713v75.72326662z" ></path><path d="M149.78076171 892.84106445c-14.25476075 0-27.60314942-5.52062989-37.65563964-15.40832519-10.05249023-9.97009278-15.57312012-23.15368653-15.57312012-37.16125488V183.72851562c0-29.00390624 23.89526367-52.56958007 53.22875978-52.56958007h139.25170897c14.25476075 0 27.60314942 5.43823242 37.65563966 15.40832519 10.05249023 9.8876953 15.57312012 23.15368653 15.57312011 37.16125489V323.30981445c0 1.64794922 0.65917969 3.21350098 1.89514162 4.44946289 1.23596192 1.15356445 2.80151367 1.81274414 4.44946288 1.81274414h525.61340332c14.25476075 0 27.60314942 5.43823242 37.65563964 15.4083252 10.05249023 9.8876953 15.57312012 23.07128906 15.57312012 37.16125488v458.12988281c0 14.08996583-5.52062989 27.27355958-15.57312012 37.16125489s-23.40087891 15.40832519-37.65563964 15.40832519H149.78076171z m6.34460451-709.11254882c-3.54309083 0-6.3446045 2.80151367-6.34460449 6.26220703v649.86877441c0 1.64794922 0.65917969 3.29589844 1.8951416 4.4494629 1.15356445 1.15356445 2.80151367 1.81274414 4.44946288 1.81274415h718.09387208c1.73034668 0 3.29589844-0.65917969 4.44946288-1.81274415 1.23596192-1.15356445 1.89514161-2.71911623 1.89514161-4.4494629V379.01049805c0-1.64794922-0.65917969-3.21350098-1.81274413-4.36706544-1.23596192-1.23596192-2.80151367-1.89514161-4.44946291-1.89514159h-525.69580077c-14.25476075 0-27.60314942-5.52062989-37.65563966-15.4083252-10.05249023-9.8876953-15.57312012-23.15368653-15.57312012-37.16125488V189.90832519c0-1.64794922-0.65917969-3.21350098-1.8951416-4.44946288-1.15356445-1.15356445-2.80151367-1.81274414-4.44946289-1.81274416H156.12536621z" ></path></symbol><symbol id="pure-iconfont-logo" viewBox="0 0 1024 1024"><path d="M410.558481 0.10861C410.558481 211.083075 109.682285 361.860579 109.682285 633.656511c0 174.943176 134.703259 316.787527 300.876196 316.787527s300.876197-141.817198 300.876197-316.787527C711.407525 361.751969 410.558481 210.974465 410.558481 0.10861z" fill="#386BF3" ></path><path d="M613.468671 73.664572c0 211.055922-300.876197 361.914883-300.876196 633.547901 0 174.943176 134.703259 316.787527 300.876196 316.787527s300.876197-141.817198 300.876197-316.787527c-0.054305-271.633018-300.876197-422.491979-300.876197-633.547901z" fill="#C3D2FB" ></path><path d="M312.592475 707.212473c0-183.713414 137.635722-312.171612 226.72288-441.390078 81.701694 106.111739 172.119322 218.740063 172.119323 367.725506a309.755045 309.755045 0 0 1-291.074166 316.516003 323.114046 323.114046 0 0 1-107.768037-242.851431z" fill="#303F5B" ></path></symbol><symbol id="pure-iconfont-new" viewBox="0 0 1024 1024"><path d="M466.73632812 228.81640625l-33.31054687 255.41015625c34.36523438 20.21484375 78.31054688 42.62695313 131.22070313 62.2265625 55.1953125 20.47851563 105.1171875 32.43164063 145.54687499 39.46289063 127.44140625-161.27929688 147.39257813-224.38476563 141.59179688-215.59570313-10.45898438 15.99609375-62.05078125 20.390625-76.20117188 15.29296875-28.30078125-10.10742188-53.4375-37.52929688-65.30273437-81.29882813-14.85351563-54.66796875-43.50585938-50.53710938-94.5703125-21.35742187-58.88671875 33.48632813-121.46484375 4.39453125-148.97460938-54.140625z" fill="#FFFFFF" ></path><path d="M444.76367187 228.81640625c-3.77929688 28.828125-7.55859375 57.74414063-11.33789062 86.57226563l-17.9296875 137.37304687c-1.40625 10.45898438-2.72460938 21.00585938-4.13085937 31.46484375-0.96679688 7.3828125 4.83398438 15.46875 10.8984375 18.984375 69.78515625 40.86914063 145.63476563 71.98242188 224.12109374 91.66992188 19.16015625 4.83398438 38.49609375 8.87695313 57.91992188 12.30468749 7.20703125 1.23046875 16.34765625 0.703125 21.35742188-5.625C767.49804688 548.65039063 808.3671875 494.421875 843.34765625 436.58984375c7.91015625-13.09570313 15.55664063-26.3671875 22.1484375-40.16601563 2.4609375-5.09765625 4.74609375-10.37109375 6.85546875-15.64453125 1.31835938-3.33984375 2.37304688-7.11914063 2.28515625-10.72265625-0.43945313-12.04101563-9.4921875-22.32421875-22.06054688-22.32421875-8.4375 0-14.94140625 4.5703125-19.42382812 11.33789063-1.93359375 2.8125 3.33984375-3.42773438 1.58203125-2.109375-0.43945313 0.3515625-0.87890625 0.79101563-1.23046875 1.14257812-1.31835938 1.49414063-3.33984375 1.14257813 2.54882813-1.84570312-1.23046875 0.61523438-2.37304688 1.58203125-3.60351563 2.28515625-1.14257813 0.61523438-2.28515625 1.14257813-3.33984375 1.66992187-3.33984375 1.66992188 5.53710938-2.109375 1.93359375-0.87890625-0.61523438 0.17578125-1.14257813 0.43945313-1.7578125 0.61523438-3.07617188 1.0546875-6.24023438 1.93359375-9.40429688 2.72460937-3.33984375 0.79101563-6.76757813 1.40625-10.10742187 2.02148438-5.625 0.87890625 5.36132813-0.61523438-0.3515625 0.08789062-1.66992188 0.17578125-3.42773438 0.3515625-5.09765625 0.52734375-6.15234375 0.52734375-12.3046875 0.703125-18.45703125 0.26367188-2.28515625-0.17578125-7.03125-1.40625 1.40625 0.3515625-1.0546875-0.17578125-2.109375-0.3515625-3.1640625-0.61523438-0.703125-0.17578125-1.40625-0.3515625-2.109375-0.61523437-0.79101563-0.26367188-1.58203125-0.61523438-2.37304688-0.87890625-3.42773438-1.23046875 5.09765625 2.37304688 1.49414063 0.61523437-2.98828125-1.40625-5.88867188-2.8125-8.70117188-4.48242187-1.31835938-0.79101563-2.72460938-1.66992188-3.95507812-2.54882813l-2.63671875-1.84570312c-1.40625-1.0546875-3.69140625-3.69140625 1.0546875 0.79101562-2.37304688-2.28515625-5.09765625-4.30664063-7.47070313-6.59179687-2.98828125-2.98828125-5.44921875-6.59179688-8.52539062-9.4921875 0.17578125 0.17578125 3.33984375 4.48242188 1.23046875 1.58203125-0.61523438-0.79101563-1.23046875-1.66992188-1.7578125-2.4609375-1.0546875-1.49414063-2.109375-3.07617188-3.07617188-4.65820313-2.4609375-3.77929688-4.65820313-7.734375-6.67968749-11.77734375-0.87890625-1.7578125-1.7578125-3.60351563-2.63671875-5.44921875-0.17578125-0.43945313-0.3515625-0.79101563-0.52734375-1.23046875-0.96679688-2.19726563-0.703125-1.66992188 0.61523437 1.40625 0.08789063-0.3515625-0.96679688-2.54882813-1.0546875-2.63671875-1.7578125-4.48242188-3.25195313-9.140625-4.65820313-13.7109375-2.72460938-9.22851563-5.625-18.19335938-9.66796874-26.89453125-6.85546875-14.50195313-18.19335938-26.10351563-33.31054688-31.640625-13.18359375-4.83398438-28.38867188-3.07617188-41.484375 1.0546875-16.171875 5.09765625-30.84960938 13.44726563-45.61523438 21.4453125-2.02148438 1.0546875-3.95507813 2.109375-6.06445312 3.07617188-0.52734375 0.26367188-4.65820313 1.84570313-0.96679688 0.52734375 3.60351563-1.40625-0.43945313 0.17578125-0.96679687 0.3515625-3.95507813 1.49414063-7.99804688 2.8125-12.04101563 3.8671875-2.02148438 0.52734375-3.95507813 0.96679688-5.9765625 1.31835937-0.79101563 0.17578125-1.58203125 0.26367188-2.37304687 0.43945313-4.48242188 0.79101563 5.625-0.52734375 1.0546875-0.17578125-3.95507813 0.3515625-7.91015625 0.61523438-11.86523438 0.52734375-1.93359375 0-3.8671875-0.08789063-5.88867187-0.26367188-0.79101563-0.08789063-1.58203125-0.17578125-2.28515625-0.17578125-4.30664063-0.3515625 4.74609375 0.79101563 1.84570312 0.26367188-3.95507813-0.79101563-7.99804688-1.40625-11.86523437-2.54882813-3.515625-0.96679688-6.94335938-2.37304688-10.37109375-3.60351562-2.72460938-0.96679688 5.2734375 2.4609375 1.49414062 0.61523437-0.703125-0.3515625-1.40625-0.61523438-2.109375-0.96679687-2.109375-1.0546875-4.13085938-2.109375-6.24023437-3.25195313-3.07617188-1.7578125-6.06445313-3.69140625-8.96484375-5.71289062-0.96679688-0.703125-1.84570313-1.49414063-2.90039063-2.109375 0.26367188 0.17578125 4.30664063 3.515625 1.58203125 1.23046875-1.66992188-1.40625-3.42773438-2.8125-5.00976562-4.30664063-2.90039063-2.63671875-5.625-5.36132813-8.17382813-8.17382812-1.40625-1.49414063-2.72460938-3.07617188-4.04296875-4.65820313-0.52734375-0.61523438-0.96679688-1.40625-1.58203125-1.93359375 4.39453125 4.39453125 1.14257813 1.40625 0-0.08789062-4.921875-6.85546875-9.140625-14.0625-12.65625-21.70898438-4.921875-10.37109375-20.65429688-13.97460938-30.05859375-7.91015625-10.72265625 6.94335938-13.18359375 18.89648438-7.91015625 30.05859375 15.8203125 33.31054688 43.68164063 60.20507813 78.48632813 72.68554688 15.55664063 5.625 33.13476563 7.734375 49.5703125 5.80078125 9.58007813-1.14257813 18.984375-2.8125 28.125-6.15234375 9.66796875-3.515625 18.54492188-8.0859375 27.421875-13.0078125 6.85546875-3.77929688 14.23828125-8.52539063 21.70898437-10.8984375-0.08789063 0-5.44921875 2.19726563-2.28515625 0.96679688 0.79101563-0.3515625 1.58203125-0.61523438 2.4609375-0.96679688 1.40625-0.52734375 2.8125-1.0546875 4.30664063-1.58203125 2.90039063-0.96679688 5.88867188-1.84570313 8.96484375-2.54882813 1.40625-0.26367188 2.8125-0.43945313 4.21875-0.79101562-7.64648438 1.84570313-3.42773438 0.43945313-1.0546875 0.3515625 1.14257813-0.08789063 2.28515625-0.08789063 3.42773437 0 0.61523438 0 1.23046875 0.08789063 1.84570313 0.08789063 3.25195313 0.08789063-6.06445313-1.31835938-2.98828125-0.3515625 1.14257813 0.3515625 2.28515625 0.52734375 3.42773437 0.87890625 0.43945313 0.17578125 0.87890625 0.3515625 1.31835938 0.43945312 3.07617188 0.87890625-5.09765625-2.4609375-2.98828125-1.23046875 0.96679688 0.52734375 1.93359375 0.96679688 2.8125 1.49414063 0.52734375 0.3515625 0.96679688 0.703125 1.49414062 0.96679687 1.93359375 1.14257813-5.00976563-4.21875-2.109375-1.58203125 0.87890625 0.79101563 1.7578125 1.58203125 2.54882813 2.37304688 1.93359375 2.02148438 2.90039063 5.00976563-0.26367188-0.703125 1.49414063 2.63671875 3.42773438 5.00976563 4.83398438 7.73437499 0.79101563 1.49414063 1.40625 3.07617188 2.19726562 4.5703125-3.42773438-6.59179688-0.43945313-1.0546875 0.26367188 0.96679688 1.40625 3.95507813 2.63671875 8.0859375 3.77929687 12.12890625 5.09765625 18.10546875 12.83203125 36.12304688 23.90625 51.41601563 10.37109375 14.23828125 22.76367188 26.80664063 38.14453125 35.59570312 6.41601563 3.69140625 13.53515625 7.29492188 20.7421875 8.96484375 6.41601563 1.49414063 13.27148438 2.02148438 19.86328125 2.02148438 14.67773438 0.08789063 30.05859375-1.7578125 44.12109375-5.88867188 6.85546875-2.02148438 13.88671875-4.5703125 19.95117188-8.34960938 6.59179688-4.13085938 9.84375-8.4375 14.67773437-14.23828124-3.515625 4.21875-2.90039063 4.48242188-7.47070312 7.47070312-2.63671875 1.66992188-7.734375 3.1640625-10.98632813 2.98828125-1.84570313-0.52734375-3.69140625-0.96679688-5.53710937-1.49414063-5.88867188-0.61523438-10.37109375-3.69140625-13.359375-9.31640624-1.84570313-3.1640625-3.07617188-7.47070313-2.98828125-10.81054688 0-0.26367188 1.7578125-7.99804688 0.43945312-4.13085938-0.3515625 1.0546875-0.703125 2.109375-1.14257812 3.16406251-0.26367188 0.61523438-0.52734375 1.31835938-0.79101563 1.93359375-1.0546875 2.72460938 2.90039063-6.59179688 1.58203125-3.77929688-0.17578125 0.43945313-0.3515625 0.87890625-0.61523437 1.31835938-5.18554688 11.68945313-11.33789063 22.8515625-17.75390625 33.92578125-29.53125 51.15234375-64.59960938 99.140625-100.546875 145.81054687-0.703125 0.87890625-1.31835938 1.7578125-2.02148438 2.54882813-2.37304688 3.1640625 0 0 0.43945313-0.52734375-1.66992188 2.19726563-3.42773438 4.39453125-5.09765625 6.59179687-3.515625 4.5703125-7.11914063 9.05273438-10.63476563 13.53515625 7.11914063-1.84570313 14.23828125-3.77929688 21.35742188-5.625-36.82617188-6.50390625-73.125-15.46875-108.72070313-26.80664063-20.65429688-6.59179688-40.95703125-13.97460938-60.99609375-22.14843749-2.28515625-0.87890625-4.48242188-1.84570313-6.76757812-2.81250001-4.921875-2.02148438 3.1640625 1.40625 0.08789062 0l-3.69140625-1.58203125c-4.74609375-2.109375-9.58007813-4.21875-14.32617187-6.328125-8.61328125-3.8671875-17.13867188-7.99804688-25.6640625-12.12890624-17.49023438-8.61328125-34.62890625-17.9296875-51.41601563-27.77343751 3.60351563 6.328125 7.29492188 12.65625 10.8984375 18.98437501 3.77929688-28.828125 7.55859375-57.74414063 11.33789063-86.57226563l17.9296875-137.37304688c1.40625-10.45898438 2.72460938-21.00585938 4.13085937-31.46484374 0.703125-5.18554688-2.90039063-12.04101563-6.41601562-15.55664063-3.77929688-3.77929688-10.10742188-6.6796875-15.55664063-6.41601562-5.71289063 0.26367188-11.6015625 2.109375-15.55664062 6.41601562-4.04296875 4.65820313-5.44921875 9.4921875-6.24023438 15.64453125z" fill="#FFCB40" ></path><path d="M496.61914062 458.73828125c47.54882813 31.640625 101.07421875 54.75585938 156.70898438 67.58789063 11.16210938 2.54882813 24.34570313-3.42773438 27.0703125-15.38085938 2.54882813-11.25-3.33984375-24.2578125-15.38085938-27.0703125-13.18359375-3.07617188-26.27929688-6.6796875-39.19921874-10.8984375-6.41601563-2.109375-12.83203125-4.30664063-19.16015625-6.76757813-3.42773438-1.31835938-6.85546875-2.63671875-10.1953125-3.95507812-1.49414063-0.61523438-2.90039063-1.14257813-4.30664063-1.7578125-4.13085938-1.7578125 4.04296875 1.7578125-1.23046875-0.52734375-25.13671875-10.8984375-49.21875-24.08203125-72.0703125-39.28710938-9.58007813-6.41601563-24.69726563-2.19726563-30.05859375 7.91015625-5.88867188 11.07421875-2.37304688 23.29101563 7.82226563 30.14648438z" fill="#FFCB40" ></path><path d="M245.77929687 729.6171875v-72.50976563-115.04882812V515.515625c-13.62304688 3.69140625-27.33398438 7.3828125-40.95703124 11.07421875 11.42578125 24.16992188 22.8515625 48.42773438 34.18945312 72.59765625 18.01757813 38.23242188 36.12304688 76.55273438 54.140625 114.78515625 4.21875 8.87695313 8.34960938 17.75390625 12.56835938 26.54296875 3.95507813 8.34960938 16.171875 12.91992188 24.78515624 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.17187501-21.18164063v-72.50976563V541.8828125v-26.54296875c0-11.51367188-10.10742188-22.5-21.97265626-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265624 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703124-11.07421875-11.42578125-24.16992188-22.8515625-48.42773438-34.18945312-72.59765625-18.01757813-38.23242188-36.12304688-76.55273438-54.140625-114.78515625-4.21875-8.87695313-8.34960938-17.75390625-12.56835938-26.54296875-3.95507813-8.34960938-16.171875-12.91992188-24.78515624-10.10742188-9.22851563 2.98828125-16.171875 11.25-16.17187501 21.18164063v214.1015625c0 11.51367188 10.10742188 22.5 21.97265626 21.97265625 11.953125-0.52734375 21.97265625-9.66796875 21.97265624-21.97265625zM501.8046875 493.63085937H400.90625c-11.86523438 0-21.97265625 10.10742188-21.97265625 21.97265626v211.55273437c0 11.86523438 10.10742188 21.97265625 21.97265625 21.97265625h100.8984375c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625H400.90625l21.97265625 21.97265625v-71.27929688-114.16992187-26.10351563l-21.97265625 21.97265626h100.8984375c11.51367188 0 22.5-10.10742188 21.97265625-21.97265626-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265624z" fill="#4381FF" ></path><path d="M478.16210937 595.75976563c-25.75195313 0.17578125-51.50390625 0.43945313-77.25585937-1e-8-11.51367188-0.17578125-22.5 10.1953125-21.97265625 21.97265625 0.52734375 12.04101563 9.66796875 21.796875 21.97265625 21.97265625 25.75195313 0.43945313 51.50390625 0.17578125 77.25585938 0 11.51367188-0.08789063 22.5-10.01953125 21.97265624-21.97265625-0.52734375-11.86523438-9.58007813-22.06054688-21.97265625-21.97265625zM553.57226563 515.60351563v214.10156249c0 9.31640625 6.76757813 19.07226563 16.171875 21.18164063 9.58007813 2.19726563 19.59960938-1.49414063 24.78515625-10.10742187 18.72070313-31.20117188 37.44140625-62.40234375 56.25-93.69140626 2.63671875-4.48242188 5.36132813-8.87695313 7.99804687-13.359375h-37.96875c18.72070313 31.20117188 37.44140625 62.40234375 56.25 93.69140625 2.63671875 4.48242188 5.36132813 8.87695313 7.99804688 13.359375 4.83398438 7.99804688 15.55664063 13.09570313 24.78515624 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.17187501-21.18164063v-72.50976562-115.04882813-26.54296875c0-11.51367188-10.10742188-22.5-21.97265626-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265624 21.97265625v214.10156251c13.62304688-3.69140625 27.33398438-7.3828125 40.95703124-11.07421876-18.72070313-31.20117188-37.44140625-62.40234375-56.25-93.69140624-2.63671875-4.48242188-5.36132813-8.87695313-7.99804687-13.359375-8.52539063-14.23828125-29.44335938-14.23828125-37.96875 0-18.72070313 31.20117188-37.44140625 62.40234375-56.25 93.69140625-2.63671875 4.48242188-5.36132813 8.87695313-7.99804688 13.359375 13.62304688 3.69140625 27.33398438 7.3828125 40.95703126 11.07421875v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625z" fill="#4381FF" ></path><path d="M225.30078125 709.49023438v-72.50976563-115.04882813-26.54296874c-13.62304688 3.69140625-27.33398438 7.3828125-40.95703125 11.07421875 11.42578125 24.08203125 22.76367188 48.1640625 34.18945313 72.33398437 18.19335938 38.40820313 36.38671875 76.81640625 54.4921875 115.22460938 4.13085938 8.7890625 8.34960938 17.66601563 12.48046875 26.45507812 3.95507813 8.34960938 16.171875 12.91992188 24.78515625 10.10742187 9.22851563-2.98828125 16.171875-11.25 16.171875-21.18164062v-72.50976563-115.04882812V495.30078125c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703125-11.07421875-11.42578125-24.08203125-22.76367188-48.1640625-34.18945313-72.33398438-18.19335938-38.40820313-36.38671875-76.81640625-54.4921875-115.22460937-4.13085938-8.7890625-8.34960938-17.66601563-12.48046875-26.45507813-3.95507813-8.34960938-16.171875-12.91992188-24.78515625-10.10742187-9.22851563 2.98828125-16.171875 11.25-16.171875 21.18164063v214.10156249c0 11.51367188 10.10742188 22.5 21.97265625 21.97265626 11.86523438-0.52734375 21.97265625-9.66796875 21.97265625-21.97265625zM482.29296875 473.50390625H381.04296875c-11.86523438 0-21.97265625 10.10742188-21.97265625 21.97265625v211.55273438c0 11.86523438 10.10742188 21.97265625 21.97265625 21.97265624h101.25c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625H381.04296875l21.97265625 21.97265625v-71.27929687-114.16992188-26.10351562l-21.97265625 21.97265625h101.25c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625z" fill="#FF642E" ></path><path d="M458.5625 575.6328125c-25.83984375 0.17578125-51.76757813 0.43945313-77.60742188 0-11.51367188-0.17578125-22.5 10.1953125-21.97265624 21.97265625 0.52734375 12.04101563 9.66796875 21.796875 21.97265625 21.97265625 25.83984375 0.43945313 51.76757813 0.17578125 77.60742187 0 11.51367188-0.08789063 22.5-10.01953125 21.97265625-21.97265625-0.52734375-11.86523438-9.58007813-21.97265625-21.97265625-21.97265625zM534.32421875 495.4765625v214.1015625c0 9.31640625 6.76757813 19.07226563 16.171875 21.18164063 9.58007813 2.19726563 19.59960938-1.49414063 24.78515625-10.10742188 18.80859375-31.2890625 37.6171875-62.49023438 56.51367188-93.77929688 2.63671875-4.39453125 5.2734375-8.7890625 7.99804687-13.18359374h-37.96875c18.80859375 31.2890625 37.6171875 62.49023438 56.51367188 93.77929687 2.63671875 4.39453125 5.2734375 8.7890625 7.99804687 13.18359375 4.83398438 7.99804688 15.55664063 13.09570313 24.78515625 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.171875-21.18164063v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703125-11.07421875-18.80859375-31.2890625-37.6171875-62.49023438-56.51367188-93.77929688-2.63671875-4.39453125-5.2734375-8.7890625-7.99804687-13.18359374-8.52539063-14.23828125-29.35546875-14.23828125-37.96875 0-18.80859375 31.2890625-37.6171875 62.49023438-56.51367188 93.77929687-2.63671875 4.39453125-5.2734375 8.7890625-7.99804687 13.18359375 13.62304688 3.69140625 27.33398438 7.3828125 40.95703125 11.07421875v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625z" fill="#FF642E" ></path><path d="M629.0703125 793.77734375h74.8828125" fill="#FFFFFF" ></path><path d="M629.0703125 815.75h74.97070313c11.51367188 0 22.5-10.10742188 21.97265624-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625h-74.97070312c-11.51367188 0-22.5 10.10742188-21.97265625 21.97265625 0.52734375 11.86523438 9.66796875 21.97265625 21.97265625 21.97265625z" fill="#FFCB40" ></path><path d="M552.16601563 793.77734375h5.71289062" fill="#FFFFFF" ></path><path d="M552.16601563 815.75h5.71289062c2.98828125 0.08789063 5.88867188-0.52734375 8.4375-1.93359375 2.72460938-0.87890625 5.09765625-2.37304688 7.03125-4.5703125 2.109375-2.02148438 3.69140625-4.30664063 4.5703125-7.03125 1.40625-2.63671875 2.02148438-5.44921875 1.93359375-8.4375l-0.79101562-5.80078125c-1.0546875-3.69140625-2.90039063-6.94335938-5.625-9.66796875-4.30664063-3.95507813-9.58007813-6.41601563-15.55664063-6.41601563h-5.71289062c-2.98828125-0.08789063-5.88867188 0.52734375-8.4375 1.93359376-2.72460938 0.87890625-5.09765625 2.37304688-7.03125 4.5703125-2.109375 2.02148438-3.69140625 4.30664063-4.5703125 7.03125-1.40625 2.63671875-2.02148438 5.44921875-1.93359375 8.43749999l0.79101562 5.80078126c1.0546875 3.69140625 2.90039063 6.94335938 5.625 9.66796874 4.30664063 3.95507813 9.58007813 6.41601563 15.55664063 6.41601563z" fill="#FFCB40" ></path></symbol></svg>',function(oe){var le=(le=document.getElementsByTagName("script"))[le.length-1],ie=le.getAttribute("data-injectcss"),le=le.getAttribute("data-disable-injectsvg");if(!le){var ue,de,pe,he,_e,$e=function(Fe,Ue){Ue.parentNode.insertBefore(Fe,Ue)};if(ie&&!oe.__iconfont__svg__cssinject__){oe.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(Fe){console&&console.log(Fe)}}ue=function(){var Fe,Ue=document.createElement("div");Ue.innerHTML=oe._iconfont_svg_string_2208059,(Ue=Ue.getElementsByTagName("svg")[0])&&(Ue.setAttribute("aria-hidden","true"),Ue.style.position="absolute",Ue.style.width=0,Ue.style.height=0,Ue.style.overflow="hidden",Ue=Ue,(Fe=document.body).firstChild?$e(Ue,Fe.firstChild):Fe.appendChild(Ue))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(ue,0):(de=function(){document.removeEventListener("DOMContentLoaded",de,!1),ue()},document.addEventListener("DOMContentLoaded",de,!1)):document.attachEvent&&(pe=ue,he=oe.document,_e=!1,Ve(),he.onreadystatechange=function(){he.readyState=="complete"&&(he.onreadystatechange=null,Ie())})}function Ie(){_e||(_e=!0,pe())}function Ve(){try{he.documentElement.doScroll("left")}catch{return void setTimeout(Ve,50)}Ie()}}(window);const iconfont="",auth$1={mounted(oe,ie){var ue;const{value:le}=ie;if(le)!hasAuth(le)&&((ue=oe.parentNode)==null||ue.removeChild(oe));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},message=(oe,ie)=>{if(ie){const{icon:le,type:ue="info",dangerouslyUseHTMLString:de=!1,customClass:pe="antd",duration:he=2e3,showClose:_e=!1,center:$e=!1,offset:Ie=20,appendTo:Ve=document.body,grouping:Fe=!1,onClose:Ue}=ie;return ElMessage({message:oe,type:ue,icon:le,dangerouslyUseHTMLString:de,duration:he,showClose:_e,center:$e,offset:Ie,appendTo:Ve,grouping:Fe,customClass:pe==="antd"?"pure-message":"",onClose:()=>q$1(Ue)?Ue():null})}else return ElMessage({message:oe,customClass:"pure-message"})},closeAllMessage=()=>ElMessage.closeAll(),copy={mounted(oe,ie){const{value:le}=ie;if(le){oe.copyValue=le;const ue=ie.arg??"dblclick";useEventListener(oe,ue,()=>{se(oe.copyValue)?message("复制成功",{type:"success"}):message("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(oe,ie){oe.copyValue=ie.value}},longpress={mounted(oe,ie){var ue;const le=ie.value;if(le&&q$1(le)){let de=null,pe=null,he=500,_e=null;const $e=((ue=ie==null?void 0:ie.arg)==null?void 0:ue.includes(":"))??!1;$e?(he=Number(Vt(ie.arg,":")),_e=Number(Zt(ie.arg,":"))):ie.arg&&(he=Number(ie.arg));const Ie=()=>{de&&(clearTimeout(de),de=null),pe&&(clearInterval(pe),pe=null)},Ve=Ue=>{Ue.preventDefault(),pe===null&&(pe=setInterval(()=>le(),_e))};useEventListener(oe,"pointerdown",Ue=>{Ie(),Ue.preventDefault(),de===null&&(de=setTimeout($e?()=>{le(),Ve(Ue)}:()=>le(),he))}),useEventListener(oe,"pointerup",Ie),useEventListener(oe,"pointerleave",Ie)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},optimize={mounted(oe,ie){const{value:le}=ie,ue=ie.arg??"debounce",de=["debounce","throttle"].find(pe=>pe===ue);if(de)if(le&&le.event&&q$1(le.fn)){let pe=le==null?void 0:le.params;if(pe)if($(pe)||k(pe))pe=k(pe)?Array.of(pe):pe;else throw new Error("[Directive: optimize]: `params` must be an array or object");useEventListener(oe,le.event,de==="debounce"?vt(pe?()=>le.fn(...pe):le.fn,(le==null?void 0:le.timeout)??200,(le==null?void 0:le.immediate)??!1):Rn(pe?()=>le.fn(...pe):le.fn,(le==null?void 0:le.timeout)??1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},directives=Object.freeze(Object.defineProperty({__proto__:null,auth:auth$1,copy,longpress,optimize},Symbol.toStringTag,{value:"Module"})),defaultIconDimensions$1=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations$1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps$1=Object.freeze({...defaultIconDimensions$1,...defaultIconTransformations$1});Object.freeze({...defaultIconProps$1,body:"",hidden:!1});({...defaultIconDimensions$1});const defaultIconSizeCustomisations$1=Object.freeze({width:null,height:null}),defaultIconCustomisations$1=Object.freeze({...defaultIconSizeCustomisations$1,...defaultIconTransformations$1});function mergeCustomisations$1(oe,ie){const le={...oe};for(const ue in ie){const de=ie[ue],pe=typeof de;ue in defaultIconSizeCustomisations$1?(de===null||de&&(pe==="string"||pe==="number"))&&(le[ue]=de):pe===typeof le[ue]&&(le[ue]=ue==="rotate"?de%4:de)}return le}const separator$1=/[\s,]+/;function flipFromString$1(oe,ie){ie.split(separator$1).forEach(le=>{switch(le.trim()){case"horizontal":oe.hFlip=!0;break;case"vertical":oe.vFlip=!0;break}})}function rotateFromString$1(oe,ie=0){const le=oe.replace(/^-?[0-9.]*/,"");function ue(de){for(;de<0;)de+=4;return de%4}if(le===""){const de=parseInt(oe);return isNaN(de)?0:ue(de)}else if(le!==oe){let de=0;switch(le){case"%":de=25;break;case"deg":de=90}if(de){let pe=parseFloat(oe.slice(0,oe.length-le.length));return isNaN(pe)?0:(pe=pe/de,pe%1===0?ue(pe):0)}}return ie}const unitsSplit$1=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest$1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize$1(oe,ie,le){if(ie===1)return oe;if(le=le||100,typeof oe=="number")return Math.ceil(oe*ie*le)/le;if(typeof oe!="string")return oe;const ue=oe.split(unitsSplit$1);if(ue===null||!ue.length)return oe;const de=[];let pe=ue.shift(),he=unitsTest$1.test(pe);for(;;){if(he){const _e=parseFloat(pe);isNaN(_e)?de.push(pe):de.push(Math.ceil(_e*ie*le)/le)}else de.push(pe);if(pe=ue.shift(),pe===void 0)return de.join("");he=!he}}const isUnsetKeyword$1=oe=>oe==="unset"||oe==="undefined"||oe==="none";function iconToSVG$1(oe,ie){const le={...defaultIconProps$1,...oe},ue={...defaultIconCustomisations$1,...ie},de={left:le.left,top:le.top,width:le.width,height:le.height};let pe=le.body;[le,ue].forEach(Et=>{const At=[],Lt=Et.hFlip,hn=Et.vFlip;let vn=Et.rotate;Lt?hn?vn+=2:(At.push("translate("+(de.width+de.left).toString()+" "+(0-de.top).toString()+")"),At.push("scale(-1 1)"),de.top=de.left=0):hn&&(At.push("translate("+(0-de.left).toString()+" "+(de.height+de.top).toString()+")"),At.push("scale(1 -1)"),de.top=de.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=de.height/2+de.top,At.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:At.unshift("rotate(180 "+(de.width/2+de.left).toString()+" "+(de.height/2+de.top).toString()+")");break;case 3:_n=de.width/2+de.left,At.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(de.left!==de.top&&(_n=de.left,de.left=de.top,de.top=_n),de.width!==de.height&&(_n=de.width,de.width=de.height,de.height=_n)),At.length&&(pe='<g transform="'+At.join(" ")+'">'+pe+"</g>")});const he=ue.width,_e=ue.height,$e=de.width,Ie=de.height;let Ve,Fe;he===null?(Fe=_e===null?"1em":_e==="auto"?Ie:_e,Ve=calculateSize$1(Fe,$e/Ie)):(Ve=he==="auto"?$e:he,Fe=_e===null?calculateSize$1(Ve,Ie/$e):_e==="auto"?Ie:_e);const Ue={},qe=(Et,At)=>{isUnsetKeyword$1(At)||(Ue[Et]=At.toString())};return qe("width",Ve),qe("height",Fe),Ue.viewBox=de.left.toString()+" "+de.top.toString()+" "+$e.toString()+" "+Ie.toString(),{attributes:Ue,body:pe}}const regex$1=/\sid="(\S+)"/g,randomPrefix$1="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter$1=0;function replaceIDs$1(oe,ie=randomPrefix$1){const le=[];let ue;for(;ue=regex$1.exec(oe);)le.push(ue[1]);if(!le.length)return oe;const de="suffix"+(Math.random()*16777216|Date.now()).toString(16);return le.forEach(pe=>{const he=typeof ie=="function"?ie(pe):ie+(counter$1++).toString(),_e=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");oe=oe.replace(new RegExp('([#;"])('+_e+')([")]|\\.[a-z])',"g"),"$1"+he+de+"$3")}),oe=oe.replace(new RegExp(de,"g"),""),oe}function iconToHTML$1(oe,ie){let le=oe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const ue in ie)le+=" "+ue+'="'+ie[ue]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+le+">"+oe+"</svg>"}function encodeSVGforURL$1(oe){return oe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData$1(oe){return"data:image/svg+xml,"+encodeSVGforURL$1(oe)}function svgToURL$1(oe){return'url("'+svgToData$1(oe)+'")'}const defaultExtendedIconCustomisations$1={...defaultIconCustomisations$1,inline:!1},svgDefaults$1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps$1={display:"inline-block"},monotoneProps$1={backgroundColor:"currentColor"},coloredProps$1={backgroundColor:"transparent"},propsToAdd$1={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo$1={webkitMask:monotoneProps$1,mask:monotoneProps$1,background:coloredProps$1};for(const oe in propsToAddTo$1){const ie=propsToAddTo$1[oe];for(const le in propsToAdd$1)ie[oe+le]=propsToAdd$1[le]}const customisationAliases$1={};["horizontal","vertical"].forEach(oe=>{const ie=oe.slice(0,1)+"Flip";customisationAliases$1[oe+"-flip"]=ie,customisationAliases$1[oe.slice(0,1)+"-flip"]=ie,customisationAliases$1[oe+"Flip"]=ie});function fixSize$1(oe){return oe+(oe.match(/^[-0-9.]+$/)?"px":"")}const render$1=(oe,ie)=>{const le=mergeCustomisations$1(defaultExtendedIconCustomisations$1,ie),ue={...svgDefaults$1},de=ie.mode||"svg",pe={},he=ie.style,_e=typeof he=="object"&&!(he instanceof Array)?he:{};for(let At in ie){const Lt=ie[At];if(Lt!==void 0)switch(At){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":le[At]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString$1(le,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?le[At]=rotateFromString$1(Lt):typeof Lt=="number"&&(le[At]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete ue["aria-hidden"];break;default:{const hn=customisationAliases$1[At];hn?(Lt===!0||Lt==="true"||Lt===1)&&(le[hn]=!0):defaultExtendedIconCustomisations$1[At]===void 0&&(ue[At]=Lt)}}}const $e=iconToSVG$1(oe,le),Ie=$e.attributes;if(le.inline&&(pe.verticalAlign="-0.125em"),de==="svg"){ue.style={...pe,..._e},Object.assign(ue,Ie);let At=0,Lt=ie.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),ue.innerHTML=replaceIDs$1($e.body,Lt?()=>Lt+"ID"+At++:"iconifyVue"),h$3("svg",ue)}const{body:Ve,width:Fe,height:Ue}=oe,qe=de==="mask"||(de==="bg"?!1:Ve.indexOf("currentColor")!==-1),Et=iconToHTML$1(Ve,{...Ie,width:Fe+"",height:Ue+""});return ue.style={...pe,"--svg":svgToURL$1(Et),width:fixSize$1(Ie.width),height:fixSize$1(Ie.height),...commonProps$1,...qe?monotoneProps$1:coloredProps$1,..._e},h$3("span",ue)},storage$1=Object.create(null);function addIcon$1(oe,ie){storage$1[oe]=ie}const Icon$1=defineComponent({inheritAttrs:!1,render(){const oe=this.$attrs,ie=oe.icon,le=typeof ie=="string"?storage$1[ie]:typeof ie=="object"?ie:null;return le===null||typeof le!="object"||typeof le.body!="string"?this.$slots.default?this.$slots.default():null:render$1({...defaultIconProps$1,...le},oe)}}),iconifyIconOffline=defineComponent({name:"IconifyIconOffline",components:{IconifyIcon:Icon$1},props:{icon:{default:null}},render(){typeof this.icon=="object"&&addIcon$1(this.icon,this.icon);const oe=this.$attrs;return h$3(Icon$1,{icon:this.icon,style:oe!=null&&oe.style?Object.assign(oe.style,{outline:"none"}):{outline:"none"},...oe},{default:()=>[]})}}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(oe,ie,le,ue="")=>{const de=oe.split(":");if(oe.slice(0,1)==="@"){if(de.length<2||de.length>3)return null;ue=de.shift().slice(1)}if(de.length>3||!de.length)return null;if(de.length>1){const _e=de.pop(),$e=de.pop(),Ie={provider:de.length>0?de[0]:ue,prefix:$e,name:_e};return ie&&!validateIconName(Ie)?null:Ie}const pe=de[0],he=pe.split("-");if(he.length>1){const _e={provider:ue,prefix:he.shift(),name:he.join("-")};return ie&&!validateIconName(_e)?null:_e}if(le&&ue===""){const _e={provider:ue,prefix:"",name:pe};return ie&&!validateIconName(_e,le)?null:_e}return null},validateIconName=(oe,ie)=>oe?!!((oe.provider===""||oe.provider.match(matchIconName))&&(ie&&oe.prefix===""||oe.prefix.match(matchIconName))&&oe.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(oe,ie){const le={};!oe.hFlip!=!ie.hFlip&&(le.hFlip=!0),!oe.vFlip!=!ie.vFlip&&(le.vFlip=!0);const ue=((oe.rotate||0)+(ie.rotate||0))%4;return ue&&(le.rotate=ue),le}function mergeIconData(oe,ie){const le=mergeIconTransformations(oe,ie);for(const ue in defaultExtendedIconProps)ue in defaultIconTransformations?ue in oe&&!(ue in le)&&(le[ue]=defaultIconTransformations[ue]):ue in ie?le[ue]=ie[ue]:ue in oe&&(le[ue]=oe[ue]);return le}function getIconsTree(oe,ie){const le=oe.icons,ue=oe.aliases||Object.create(null),de=Object.create(null);function pe(he){if(le[he])return de[he]=[];if(!(he in de)){de[he]=null;const _e=ue[he]&&ue[he].parent,$e=_e&&pe(_e);$e&&(de[he]=[_e].concat($e))}return de[he]}return(ie||Object.keys(le).concat(Object.keys(ue))).forEach(pe),de}function internalGetIconData(oe,ie,le){const ue=oe.icons,de=oe.aliases||Object.create(null);let pe={};function he(_e){pe=mergeIconData(ue[_e]||de[_e],pe)}return he(ie),le.forEach(he),mergeIconData(oe,pe)}function parseIconSet(oe,ie){const le=[];if(typeof oe!="object"||typeof oe.icons!="object")return le;oe.not_found instanceof Array&&oe.not_found.forEach(de=>{ie(de,null),le.push(de)});const ue=getIconsTree(oe);for(const de in ue){const pe=ue[de];pe&&(ie(de,internalGetIconData(oe,de,pe)),le.push(de))}return le}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(oe,ie){for(const le in ie)if(le in oe&&typeof oe[le]!=typeof ie[le])return!1;return!0}function quicklyValidateIconSet(oe){if(typeof oe!="object"||oe===null)return null;const ie=oe;if(typeof ie.prefix!="string"||!oe.icons||typeof oe.icons!="object"||!checkOptionalProps(oe,optionalPropertyDefaults))return null;const le=ie.icons;for(const de in le){const pe=le[de];if(!de.match(matchIconName)||typeof pe.body!="string"||!checkOptionalProps(pe,defaultExtendedIconProps))return null}const ue=ie.aliases||Object.create(null);for(const de in ue){const pe=ue[de],he=pe.parent;if(!de.match(matchIconName)||typeof he!="string"||!le[he]&&!ue[he]||!checkOptionalProps(pe,defaultExtendedIconProps))return null}return ie}const dataStorage=Object.create(null);function newStorage(oe,ie){return{provider:oe,prefix:ie,icons:Object.create(null),missing:new Set}}function getStorage(oe,ie){const le=dataStorage[oe]||(dataStorage[oe]=Object.create(null));return le[ie]||(le[ie]=newStorage(oe,ie))}function addIconSet(oe,ie){return quicklyValidateIconSet(ie)?parseIconSet(ie,(le,ue)=>{ue?oe.icons[le]=ue:oe.missing.add(le)}):[]}function addIconToStorage(oe,ie,le){try{if(typeof le.body=="string")return oe.icons[ie]={...le},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(oe){return typeof oe=="boolean"&&(simpleNames=oe),simpleNames}function getIconData(oe){const ie=typeof oe=="string"?stringToIcon(oe,!0,simpleNames):oe;if(ie){const le=getStorage(ie.provider,ie.prefix),ue=ie.name;return le.icons[ue]||(le.missing.has(ue)?null:void 0)}}function addIcon(oe,ie){const le=stringToIcon(oe,!0,simpleNames);if(!le)return!1;const ue=getStorage(le.provider,le.prefix);return addIconToStorage(ue,le.name,ie)}function addCollection(oe,ie){if(typeof oe!="object")return!1;if(typeof ie!="string"&&(ie=oe.provider||""),simpleNames&&!ie&&!oe.prefix){let de=!1;return quicklyValidateIconSet(oe)&&(oe.prefix="",parseIconSet(oe,(pe,he)=>{he&&addIcon(pe,he)&&(de=!0)})),de}const le=oe.prefix;if(!validateIconName({provider:ie,prefix:le,name:"a"}))return!1;const ue=getStorage(ie,le);return!!addIconSet(ue,oe)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(oe,ie,le){if(ie===1)return oe;if(le=le||100,typeof oe=="number")return Math.ceil(oe*ie*le)/le;if(typeof oe!="string")return oe;const ue=oe.split(unitsSplit);if(ue===null||!ue.length)return oe;const de=[];let pe=ue.shift(),he=unitsTest.test(pe);for(;;){if(he){const _e=parseFloat(pe);isNaN(_e)?de.push(pe):de.push(Math.ceil(_e*ie*le)/le)}else de.push(pe);if(pe=ue.shift(),pe===void 0)return de.join("");he=!he}}const isUnsetKeyword=oe=>oe==="unset"||oe==="undefined"||oe==="none";function iconToSVG(oe,ie){const le={...defaultIconProps,...oe},ue={...defaultIconCustomisations,...ie},de={left:le.left,top:le.top,width:le.width,height:le.height};let pe=le.body;[le,ue].forEach(Et=>{const At=[],Lt=Et.hFlip,hn=Et.vFlip;let vn=Et.rotate;Lt?hn?vn+=2:(At.push("translate("+(de.width+de.left).toString()+" "+(0-de.top).toString()+")"),At.push("scale(-1 1)"),de.top=de.left=0):hn&&(At.push("translate("+(0-de.left).toString()+" "+(de.height+de.top).toString()+")"),At.push("scale(1 -1)"),de.top=de.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=de.height/2+de.top,At.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:At.unshift("rotate(180 "+(de.width/2+de.left).toString()+" "+(de.height/2+de.top).toString()+")");break;case 3:_n=de.width/2+de.left,At.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(de.left!==de.top&&(_n=de.left,de.left=de.top,de.top=_n),de.width!==de.height&&(_n=de.width,de.width=de.height,de.height=_n)),At.length&&(pe='<g transform="'+At.join(" ")+'">'+pe+"</g>")});const he=ue.width,_e=ue.height,$e=de.width,Ie=de.height;let Ve,Fe;he===null?(Fe=_e===null?"1em":_e==="auto"?Ie:_e,Ve=calculateSize(Fe,$e/Ie)):(Ve=he==="auto"?$e:he,Fe=_e===null?calculateSize(Ve,Ie/$e):_e==="auto"?Ie:_e);const Ue={},qe=(Et,At)=>{isUnsetKeyword(At)||(Ue[Et]=At.toString())};return qe("width",Ve),qe("height",Fe),Ue.viewBox=de.left.toString()+" "+de.top.toString()+" "+$e.toString()+" "+Ie.toString(),{attributes:Ue,body:pe}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(oe,ie=randomPrefix){const le=[];let ue;for(;ue=regex.exec(oe);)le.push(ue[1]);if(!le.length)return oe;const de="suffix"+(Math.random()*16777216|Date.now()).toString(16);return le.forEach(pe=>{const he=typeof ie=="function"?ie(pe):ie+(counter++).toString(),_e=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");oe=oe.replace(new RegExp('([#;"])('+_e+')([")]|\\.[a-z])',"g"),"$1"+he+de+"$3")}),oe=oe.replace(new RegExp(de,"g"),""),oe}const storage=Object.create(null);function setAPIModule(oe,ie){storage[oe]=ie}function getAPIModule(oe){return storage[oe]||storage[""]}function createAPIConfig(oe){let ie;if(typeof oe.resources=="string")ie=[oe.resources];else if(ie=oe.resources,!(ie instanceof Array)||!ie.length)return null;return{resources:ie,path:oe.path||"/",maxURL:oe.maxURL||500,rotate:oe.rotate||750,timeout:oe.timeout||5e3,random:oe.random===!0,index:oe.index||0,dataAfterTimeout:oe.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(oe,ie){const le=createAPIConfig(ie);return le===null?!1:(configStorage[oe]=le,!0)}function getAPIConfig(oe){return configStorage[oe]}const detectFetch=()=>{let oe;try{if(oe=fetch,typeof oe=="function")return oe}catch{}};let fetchModule=detectFetch();function calculateMaxLength(oe,ie){const le=getAPIConfig(oe);if(!le)return 0;let ue;if(!le.maxURL)ue=0;else{let de=0;le.resources.forEach(he=>{de=Math.max(de,he.length)});const pe=ie+".json?icons=";ue=le.maxURL-de-le.path.length-pe.length}return ue}function shouldAbort(oe){return oe===404}const prepare=(oe,ie,le)=>{const ue=[],de=calculateMaxLength(oe,ie),pe="icons";let he={type:pe,provider:oe,prefix:ie,icons:[]},_e=0;return le.forEach(($e,Ie)=>{_e+=$e.length+1,_e>=de&&Ie>0&&(ue.push(he),he={type:pe,provider:oe,prefix:ie,icons:[]},_e=$e.length),he.icons.push($e)}),ue.push(he),ue};function getPath(oe){if(typeof oe=="string"){const ie=getAPIConfig(oe);if(ie)return ie.path}return"/"}const send=(oe,ie,le)=>{if(!fetchModule){le("abort",424);return}let ue=getPath(ie.provider);switch(ie.type){case"icons":{const pe=ie.prefix,_e=ie.icons.join(","),$e=new URLSearchParams({icons:_e});ue+=pe+".json?"+$e.toString();break}case"custom":{const pe=ie.uri;ue+=pe.slice(0,1)==="/"?pe.slice(1):pe;break}default:le("abort",400);return}let de=503;fetchModule(oe+ue).then(pe=>{const he=pe.status;if(he!==200){setTimeout(()=>{le(shouldAbort(he)?"abort":"next",he)});return}return de=501,pe.json()}).then(pe=>{if(typeof pe!="object"||pe===null){setTimeout(()=>{pe===404?le("abort",pe):le("next",de)});return}setTimeout(()=>{le("success",pe)})}).catch(()=>{le("next",de)})},fetchAPIModule={prepare,send};function sortIcons(oe){const ie={loaded:[],missing:[],pending:[]},le=Object.create(null);oe.sort((de,pe)=>de.provider!==pe.provider?de.provider.localeCompare(pe.provider):de.prefix!==pe.prefix?de.prefix.localeCompare(pe.prefix):de.name.localeCompare(pe.name));let ue={provider:"",prefix:"",name:""};return oe.forEach(de=>{if(ue.name===de.name&&ue.prefix===de.prefix&&ue.provider===de.provider)return;ue=de;const pe=de.provider,he=de.prefix,_e=de.name,$e=le[pe]||(le[pe]=Object.create(null)),Ie=$e[he]||($e[he]=getStorage(pe,he));let Ve;_e in Ie.icons?Ve=ie.loaded:he===""||Ie.missing.has(_e)?Ve=ie.missing:Ve=ie.pending;const Fe={provider:pe,prefix:he,name:_e};Ve.push(Fe)}),ie}function removeCallback(oe,ie){oe.forEach(le=>{const ue=le.loaderCallbacks;ue&&(le.loaderCallbacks=ue.filter(de=>de.id!==ie))})}function updateCallbacks(oe){oe.pendingCallbacksFlag||(oe.pendingCallbacksFlag=!0,setTimeout(()=>{oe.pendingCallbacksFlag=!1;const ie=oe.loaderCallbacks?oe.loaderCallbacks.slice(0):[];if(!ie.length)return;let le=!1;const ue=oe.provider,de=oe.prefix;ie.forEach(pe=>{const he=pe.icons,_e=he.pending.length;he.pending=he.pending.filter($e=>{if($e.prefix!==de)return!0;const Ie=$e.name;if(oe.icons[Ie])he.loaded.push({provider:ue,prefix:de,name:Ie});else if(oe.missing.has(Ie))he.missing.push({provider:ue,prefix:de,name:Ie});else return le=!0,!0;return!1}),he.pending.length!==_e&&(le||removeCallback([oe],pe.id),pe.callback(he.loaded.slice(0),he.missing.slice(0),he.pending.slice(0),pe.abort))})}))}let idCounter=0;function storeCallback(oe,ie,le){const ue=idCounter++,de=removeCallback.bind(null,le,ue);if(!ie.pending.length)return de;const pe={id:ue,icons:ie,callback:oe,abort:de};return le.forEach(he=>{(he.loaderCallbacks||(he.loaderCallbacks=[])).push(pe)}),de}function listToIcons(oe,ie=!0,le=!1){const ue=[];return oe.forEach(de=>{const pe=typeof de=="string"?stringToIcon(de,ie,le):de;pe&&ue.push(pe)}),ue}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(oe,ie,le,ue){const de=oe.resources.length,pe=oe.random?Math.floor(Math.random()*de):oe.index;let he;if(oe.random){let Cn=oe.resources.slice(0);for(he=[];Cn.length>1;){const En=Math.floor(Math.random()*Cn.length);he.push(Cn[En]),Cn=Cn.slice(0,En).concat(Cn.slice(En+1))}he=he.concat(Cn)}else he=oe.resources.slice(pe).concat(oe.resources.slice(0,pe));const _e=Date.now();let $e="pending",Ie=0,Ve,Fe=null,Ue=[],qe=[];typeof ue=="function"&&qe.push(ue);function Et(){Fe&&(clearTimeout(Fe),Fe=null)}function At(){$e==="pending"&&($e="aborted"),Et(),Ue.forEach(Cn=>{Cn.status==="pending"&&(Cn.status="aborted")}),Ue=[]}function Lt(Cn,En){En&&(qe=[]),typeof Cn=="function"&&qe.push(Cn)}function hn(){return{startTime:_e,payload:ie,status:$e,queriesSent:Ie,queriesPending:Ue.length,subscribe:Lt,abort:At}}function vn(){$e="failed",qe.forEach(Cn=>{Cn(void 0,Ve)})}function _n(){Ue.forEach(Cn=>{Cn.status==="pending"&&(Cn.status="aborted")}),Ue=[]}function bn(Cn,En,wn){const xn=En!=="success";switch(Ue=Ue.filter(kn=>kn!==Cn),$e){case"pending":break;case"failed":if(xn||!oe.dataAfterTimeout)return;break;default:return}if(En==="abort"){Ve=wn,vn();return}if(xn){Ve=wn,Ue.length||(he.length?Sn():vn());return}if(Et(),_n(),!oe.random){const kn=oe.resources.indexOf(Cn.resource);kn!==-1&&kn!==oe.index&&(oe.index=kn)}$e="completed",qe.forEach(kn=>{kn(wn)})}function Sn(){if($e!=="pending")return;Et();const Cn=he.shift();if(Cn===void 0){if(Ue.length){Fe=setTimeout(()=>{Et(),$e==="pending"&&(_n(),vn())},oe.timeout);return}vn();return}const En={status:"pending",resource:Cn,callback:(wn,xn)=>{bn(En,wn,xn)}};Ue.push(En),Ie++,Fe=setTimeout(Sn,oe.rotate),le(Cn,ie,En.callback)}return setTimeout(Sn),hn}function initRedundancy(oe){const ie={...defaultConfig,...oe};let le=[];function ue(){le=le.filter(_e=>_e().status==="pending")}function de(_e,$e,Ie){const Ve=sendQuery(ie,_e,$e,(Fe,Ue)=>{ue(),Ie&&Ie(Fe,Ue)});return le.push(Ve),Ve}function pe(_e){return le.find($e=>_e($e))||null}return{query:de,find:pe,setIndex:_e=>{ie.index=_e},getIndex:()=>ie.index,cleanup:ue}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(oe){if(!redundancyCache[oe]){const ie=getAPIConfig(oe);if(!ie)return;const le=initRedundancy(ie),ue={config:ie,redundancy:le};redundancyCache[oe]=ue}return redundancyCache[oe]}function sendAPIQuery(oe,ie,le){let ue,de;if(typeof oe=="string"){const pe=getAPIModule(oe);if(!pe)return le(void 0,424),emptyCallback$1;de=pe.send;const he=getRedundancyCache(oe);he&&(ue=he.redundancy)}else{const pe=createAPIConfig(oe);if(pe){ue=initRedundancy(pe);const he=oe.resources?oe.resources[0]:"",_e=getAPIModule(he);_e&&(de=_e.send)}}return!ue||!de?(le(void 0,424),emptyCallback$1):ue.query(ie,de,le)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(oe,ie){try{return oe.getItem(ie)}catch{}}function setStoredItem(oe,ie,le){try{return oe.setItem(ie,le),!0}catch{}}function removeStoredItem(oe,ie){try{oe.removeItem(ie)}catch{}}function setBrowserStorageItemsCount(oe,ie){return setStoredItem(oe,browserCacheCountKey,ie.toString())}function getBrowserStorageItemsCount(oe){return parseInt(getStoredItem(oe,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(oe){browserStorageStatus=oe}let _window=typeof window>"u"?{}:window;function getBrowserStorage(oe){const ie=oe+"Storage";try{if(_window&&_window[ie]&&typeof _window[ie].length=="number")return _window[ie]}catch{}browserStorageConfig[oe]=!1}function iterateBrowserStorage(oe,ie){const le=getBrowserStorage(oe);if(!le)return;const ue=getStoredItem(le,browserCacheVersionKey);if(ue!==browserCacheVersion){if(ue){const _e=getBrowserStorageItemsCount(le);for(let $e=0;$e<_e;$e++)removeStoredItem(le,browserCachePrefix+$e.toString())}setStoredItem(le,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(le,0);return}const de=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,pe=_e=>{const $e=browserCachePrefix+_e.toString(),Ie=getStoredItem(le,$e);if(typeof Ie=="string"){try{const Ve=JSON.parse(Ie);if(typeof Ve=="object"&&typeof Ve.cached=="number"&&Ve.cached>de&&typeof Ve.provider=="string"&&typeof Ve.data=="object"&&typeof Ve.data.prefix=="string"&&ie(Ve,_e))return!0}catch{}removeStoredItem(le,$e)}};let he=getBrowserStorageItemsCount(le);for(let _e=he-1;_e>=0;_e--)pe(_e)||(_e===he-1?(he--,setBrowserStorageItemsCount(le,he)):browserStorageEmptyItems[oe].add(_e))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const oe in browserStorageConfig)iterateBrowserStorage(oe,ie=>{const le=ie.data,ue=ie.provider,de=le.prefix,pe=getStorage(ue,de);if(!addIconSet(pe,le).length)return!1;const he=le.lastModified||-1;return pe.lastModifiedCached=pe.lastModifiedCached?Math.min(pe.lastModifiedCached,he):he,!0})}}function updateLastModified(oe,ie){const le=oe.lastModifiedCached;if(le&&le>=ie)return le===ie;if(oe.lastModifiedCached=ie,le)for(const ue in browserStorageConfig)iterateBrowserStorage(ue,de=>{const pe=de.data;return de.provider!==oe.provider||pe.prefix!==oe.prefix||pe.lastModified===ie});return!0}function storeInBrowserStorage(oe,ie){browserStorageStatus||initBrowserStorage();function le(ue){let de;if(!browserStorageConfig[ue]||!(de=getBrowserStorage(ue)))return;const pe=browserStorageEmptyItems[ue];let he;if(pe.size)pe.delete(he=Array.from(pe).shift());else if(he=getBrowserStorageItemsCount(de),!setBrowserStorageItemsCount(de,he+1))return;const _e={cached:Math.floor(Date.now()/browserStorageHour),provider:oe.provider,data:ie};return setStoredItem(de,browserCachePrefix+he.toString(),JSON.stringify(_e))}ie.lastModified&&!updateLastModified(oe,ie.lastModified)||Object.keys(ie.icons).length&&(ie.not_found&&(ie=Object.assign({},ie),delete ie.not_found),le("local")||le("session"))}function emptyCallback(){}function loadedNewIcons(oe){oe.iconsLoaderFlag||(oe.iconsLoaderFlag=!0,setTimeout(()=>{oe.iconsLoaderFlag=!1,updateCallbacks(oe)}))}function loadNewIcons(oe,ie){oe.iconsToLoad?oe.iconsToLoad=oe.iconsToLoad.concat(ie).sort():oe.iconsToLoad=ie,oe.iconsQueueFlag||(oe.iconsQueueFlag=!0,setTimeout(()=>{oe.iconsQueueFlag=!1;const{provider:le,prefix:ue}=oe,de=oe.iconsToLoad;delete oe.iconsToLoad;let pe;if(!de||!(pe=getAPIModule(le)))return;pe.prepare(le,ue,de).forEach(_e=>{sendAPIQuery(le,_e,$e=>{if(typeof $e!="object")_e.icons.forEach(Ie=>{oe.missing.add(Ie)});else try{const Ie=addIconSet(oe,$e);if(!Ie.length)return;const Ve=oe.pendingIcons;Ve&&Ie.forEach(Fe=>{Ve.delete(Fe)}),storeInBrowserStorage(oe,$e)}catch(Ie){console.error(Ie)}loadedNewIcons(oe)})})}))}const loadIcons=(oe,ie)=>{const le=listToIcons(oe,!0,allowSimpleNames()),ue=sortIcons(le);if(!ue.pending.length){let $e=!0;return ie&&setTimeout(()=>{$e&&ie(ue.loaded,ue.missing,ue.pending,emptyCallback)}),()=>{$e=!1}}const de=Object.create(null),pe=[];let he,_e;return ue.pending.forEach($e=>{const{provider:Ie,prefix:Ve}=$e;if(Ve===_e&&Ie===he)return;he=Ie,_e=Ve,pe.push(getStorage(Ie,Ve));const Fe=de[Ie]||(de[Ie]=Object.create(null));Fe[Ve]||(Fe[Ve]=[])}),ue.pending.forEach($e=>{const{provider:Ie,prefix:Ve,name:Fe}=$e,Ue=getStorage(Ie,Ve),qe=Ue.pendingIcons||(Ue.pendingIcons=new Set);qe.has(Fe)||(qe.add(Fe),de[Ie][Ve].push(Fe))}),pe.forEach($e=>{const{provider:Ie,prefix:Ve}=$e;de[Ie][Ve].length&&loadNewIcons($e,de[Ie][Ve])}),ie?storeCallback(ie,ue,pe):emptyCallback};function mergeCustomisations(oe,ie){const le={...oe};for(const ue in ie){const de=ie[ue],pe=typeof de;ue in defaultIconSizeCustomisations?(de===null||de&&(pe==="string"||pe==="number"))&&(le[ue]=de):pe===typeof le[ue]&&(le[ue]=ue==="rotate"?de%4:de)}return le}const separator=/[\s,]+/;function flipFromString(oe,ie){ie.split(separator).forEach(le=>{switch(le.trim()){case"horizontal":oe.hFlip=!0;break;case"vertical":oe.vFlip=!0;break}})}function rotateFromString(oe,ie=0){const le=oe.replace(/^-?[0-9.]*/,"");function ue(de){for(;de<0;)de+=4;return de%4}if(le===""){const de=parseInt(oe);return isNaN(de)?0:ue(de)}else if(le!==oe){let de=0;switch(le){case"%":de=25;break;case"deg":de=90}if(de){let pe=parseFloat(oe.slice(0,oe.length-le.length));return isNaN(pe)?0:(pe=pe/de,pe%1===0?ue(pe):0)}}return ie}function iconToHTML(oe,ie){let le=oe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const ue in ie)le+=" "+ue+'="'+ie[ue]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+le+">"+oe+"</svg>"}function encodeSVGforURL(oe){return oe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(oe){return"data:image/svg+xml,"+encodeSVGforURL(oe)}function svgToURL(oe){return'url("'+svgToData(oe)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const oe in propsToAddTo){const ie=propsToAddTo[oe];for(const le in propsToAdd)ie[oe+le]=propsToAdd[le]}const customisationAliases={};["horizontal","vertical"].forEach(oe=>{const ie=oe.slice(0,1)+"Flip";customisationAliases[oe+"-flip"]=ie,customisationAliases[oe.slice(0,1)+"-flip"]=ie,customisationAliases[oe+"Flip"]=ie});function fixSize(oe){return oe+(oe.match(/^[-0-9.]+$/)?"px":"")}const render=(oe,ie)=>{const le=mergeCustomisations(defaultExtendedIconCustomisations,ie),ue={...svgDefaults},de=ie.mode||"svg",pe={},he=ie.style,_e=typeof he=="object"&&!(he instanceof Array)?he:{};for(let At in ie){const Lt=ie[At];if(Lt!==void 0)switch(At){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":le[At]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString(le,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?le[At]=rotateFromString(Lt):typeof Lt=="number"&&(le[At]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete ue["aria-hidden"];break;default:{const hn=customisationAliases[At];hn?(Lt===!0||Lt==="true"||Lt===1)&&(le[hn]=!0):defaultExtendedIconCustomisations[At]===void 0&&(ue[At]=Lt)}}}const $e=iconToSVG(oe,le),Ie=$e.attributes;if(le.inline&&(pe.verticalAlign="-0.125em"),de==="svg"){ue.style={...pe,..._e},Object.assign(ue,Ie);let At=0,Lt=ie.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),ue.innerHTML=replaceIDs($e.body,Lt?()=>Lt+"ID"+At++:"iconifyVue"),h$3("svg",ue)}const{body:Ve,width:Fe,height:Ue}=oe,qe=de==="mask"||(de==="bg"?!1:Ve.indexOf("currentColor")!==-1),Et=iconToHTML(Ve,{...Ie,width:Fe+"",height:Ue+""});return ue.style={...pe,"--svg":svgToURL(Et),width:fixSize(Ie.width),height:fixSize(Ie.height),...commonProps,...qe?monotoneProps:coloredProps,..._e},h$3("span",ue)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const oe=window;if(oe.IconifyPreload!==void 0){const ie=oe.IconifyPreload,le="Invalid IconifyPreload syntax.";typeof ie=="object"&&ie!==null&&(ie instanceof Array?ie:[ie]).forEach(ue=>{try{(typeof ue!="object"||ue===null||ue instanceof Array||typeof ue.icons!="object"||typeof ue.prefix!="string"||!addCollection(ue))&&console.error(le)}catch{console.error(le)}})}if(oe.IconifyProviders!==void 0){const ie=oe.IconifyProviders;if(typeof ie=="object"&&ie!==null)for(let le in ie){const ue="IconifyProviders["+le+"] is invalid.";try{const de=ie[le];if(typeof de!="object"||!de||de.resources===void 0)continue;addAPIProvider(le,de)||console.error(ue)}catch{console.error(ue)}}}}const emptyIcon={...defaultIconProps,body:""},Icon=defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(oe,ie){if(typeof oe=="object"&&oe!==null&&typeof oe.body=="string")return this._name="",this.abortLoading(),{data:oe};let le;if(typeof oe!="string"||(le=stringToIcon(oe,!1,!0))===null)return this.abortLoading(),null;const ue=getIconData(le);if(!ue)return(!this._loadingIcon||this._loadingIcon.name!==oe)&&(this.abortLoading(),this._name="",ue!==null&&(this._loadingIcon={name:oe,abort:loadIcons([le],()=>{this.counter++})})),null;this.abortLoading(),this._name!==oe&&(this._name=oe,ie&&ie(oe));const de=["iconify"];return le.prefix!==""&&de.push("iconify--"+le.prefix),le.provider!==""&&de.push("iconify--"+le.provider),{data:ue,classes:de}}},render(){this.counter;const oe=this.$attrs,ie=this.iconMounted?this.getIcon(oe.icon,oe.onLoad):null;if(!ie)return render(emptyIcon,oe);let le=oe;return ie.classes&&(le={...oe,class:(typeof oe.class=="string"?oe.class+" ":"")+ie.classes.join(" ")}),render({...defaultIconProps,...ie.data},le)}}),iconifyIconOnline=defineComponent({name:"IconifyIconOnline",components:{IconifyIcon:Icon},props:{icon:{type:String,default:""}},render(){const oe=this.$attrs;return h$3(Icon,{icon:`${this.icon}`,style:oe!=null&&oe.style?Object.assign(oe.style,{outline:"none"}):{outline:"none"},...oe},{default:()=>[]})}}),fontIcon=defineComponent({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const oe=this.$attrs;return Object.keys(oe).includes("uni")||(oe==null?void 0:oe.iconType)==="uni"?h$3("i",{class:"iconfont",...oe},this.icon):Object.keys(oe).includes("svg")||(oe==null?void 0:oe.iconType)==="svg"?h$3("svg",{class:"icon-svg","aria-hidden":!0},{default:()=>[h$3("use",{"xlink:href":`#${this.icon}`})]}):h$3("i",{class:`iconfont ${this.icon}`,...oe})}}),IconifyIconOffline=iconifyIconOffline,IconifyIconOnline=iconifyIconOnline,FontIcon=fontIcon,auth=defineComponent({name:"Auth",props:{value:{type:void 0,default:[]}},setup(oe,{slots:ie}){return()=>{var le;return ie&&hasAuth(oe.value)?createVNode(Fragment,null,[(le=ie.default)==null?void 0:le.call(ie)]):null}}}),Auth=auth,systemRouter={path:"/system",meta:{icon:"setting",title:"menus.hssysManagement",rank:system$1},children:[{path:"/system/user/index",name:"User",meta:{icon:"flUser",title:"menus.hsUser",roles:["admin"]}},{path:"/system/role/index",name:"Role",meta:{icon:"role",title:"menus.hsRole",roles:["admin"]}},{path:"/system/dept/index",name:"Dept",meta:{icon:"dept",title:"menus.hsDept",roles:["admin"]}}]},permissionRouter={path:"/permission",meta:{title:"menus.permission",icon:"lollipop",rank:permission},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"menus.permissionPage",roles:["admin","common"]}},{path:"/permission/button/index",name:"PermissionButton",meta:{title:"menus.permissionButton",roles:["admin","common"],auths:["btn_add","btn_edit","btn_delete"]}}]},frameRouter={path:"/iframe",meta:{icon:"monitor",title:"menus.hsExternalPage",rank:frame$1},children:[{path:"/iframe/pure",name:"FramePure",meta:{title:"menus.hsPureDocument",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc",roles:["admin","common"]}},{path:"/external",name:"https://yiming_chang.gitee.io/pure-admin-doc",meta:{title:"menus.externalLink",roles:["admin","common"]}},{path:"/iframe/ep",name:"FrameEp",meta:{title:"menus.hsEpDocument",frameSrc:"https://element-plus.org/zh-CN/",roles:["admin","common"]}},{path:"/iframe/vue3",name:"FrameVue",meta:{title:"menus.hsVueDocument",frameSrc:"https://cn.vuejs.org/",roles:["admin","common"]}},{path:"/iframe/vite",name:"FrameVite",meta:{title:"menus.hsViteDocument",frameSrc:"https://cn.vitejs.dev/",roles:["admin","common"]}},{path:"/iframe/pinia",name:"FramePinia",meta:{title:"menus.hsPiniaDocument",frameSrc:"https://pinia.vuejs.org/zh/index.html",roles:["admin","common"]}},{path:"/iframe/vue-router",name:"FrameRouter",meta:{title:"menus.hsRouterDocument",frameSrc:"https://router.vuejs.org/zh/",roles:["admin","common"]}},{path:"/iframe/tailwindcss",name:"FrameTailwindcss",meta:{title:"menus.hsTailwindcssDocument",frameSrc:"https://tailwindcss.com/docs/installation",roles:["admin","common"]}}]},tabsRouter={path:"/tabs",meta:{icon:"IF-pure-iconfont-tabs",title:"menus.hstabs",rank:tabs},children:[{path:"/tabs/index",name:"Tabs",meta:{title:"menus.hstabs",roles:["admin","common"]}},{path:"/tabs/query-detail",name:"TabQueryDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}}]},asyncRoutes=[{url:"/getAsyncRoutes",method:"get",response:()=>({success:!0,data:[systemRouter,permissionRouter,frameRouter,tabsRouter]})}],__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:asyncRoutes},Symbol.toStringTag,{value:"Module"})),list=[{url:"/getCardList",method:"post",response:()=>({success:!0,data:{list:[{index:1,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:2,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:3,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:4,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠性能卓越、易于维护的企业级云数据库服务。"},{index:5,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠性能卓越、易于维护的企业级云数据库服务。"},{index:6,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:7,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:8,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:9,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:10,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠性能卓越、易于维护的企业级云数据库服务。"},{index:11,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:12,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:13,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"云数据库",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:14,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:15,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:16,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:17,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:18,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:19,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:20,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:21,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:22,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:23,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:24,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:25,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:26,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:27,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:28,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:29,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:30,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:31,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:32,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:33,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠性能卓越、易于维护的企业级云数据库服务。"},{index:34,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:35,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:36,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:37,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠性能卓越、易于维护的企业级云数据库服务。"},{index:38,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:39,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:40,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:41,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:42,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:43,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:44,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:45,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:46,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"},{index:47,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品是腾讯云安全团队结合云原生的优势自主研发的SaaS化防火墙产品无需客无需客无需客无需客无需客无需客无需客"},{index:48,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书腾讯云为您提供证书的一站式服务包括免费、付费证书的申请、管理及部"}]}})},{url:"/releases",method:"get",response:()=>({success:!0,data:{list:[{created_at:"2023-06-26T03:14:25Z",published_at:"2023-06-26T03:17:23Z",body:"# 4.5.0 (2023-06-26)\r\n\r\n### ✔️ refactor\r\n\r\n- 重构图片裁剪 `ReCropper` 组件,添加更多实用功能\r\n\r\n### 🎫 Feat\r\n\r\n- 菜单搜索功能支持拼音搜索,比如搜图片裁剪,输入 `tp` 或 `tupian` 等对应拼音即可\r\n- 添加长按指令及使用示例,该长按指令支持自定义时长的持续回调\r\n- 添加敏感词过滤功能示例\r\n- 添加汉语拼音功能示例\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复 `V4.4.0` 版本,页面开启 `keepAlive` 缓存后第一次加载并未缓存页面的问题\r\n- 修复 `RePureTableBar` 组件初始化时列设置勾选项未根据 `hide` 属性正确初始化\r\n\r\n### 🍏 Perf\r\n\r\n- 将 `VITE_PUBLIC_PATH` 默认改为 `./` 兼容更多路径场景,\r\n- 兼容 `VITE_PUBLIC_PATH` 为 `url` 的 `OSS` 场景,需将 `@pureadmin/theme` 升级至最新版"},{created_at:"2023-06-14T02:52:19Z",published_at:"2023-06-14T02:54:41Z",body:"# 4.4.0 (2023-06-14)\r\n\r\n### 🎫 Feat\r\n\r\n- 路由 `meta` 添加 `activePath` 属性,可将某个菜单激活(主要用于通过 `query` 或 `params` 传参的路由,当它们通过配置 `showLink: false` 后不在菜单中显示,就不会有任何菜单高亮,而通过设置 `activePath` 指定激活菜单即可获得高亮,`activePath` 为指定激活菜单的 `path` [查看详情](https://github.com/pure-admin/vue-pure-admin/commit/58cafbc73ffa27253446ee93077e1e382519ce8a#commitcomment-117834411)\r\n- `pure-admin-table` 高级用法添加自适应内容区高度示例\r\n- 添加防抖、节流和文本复制指令并规范自定义指令用法错误时的提示以及添加使用示例\r\n- `notice` 消息提示组件空数据时添加 `el-empty` 组件\r\n- 函数式弹窗示例代码添加子组件 `prop` 为 `primitive` 类型的示例\r\n- 添加 `vscode-docker` 插件\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复国际化切换到英文模式刷新会回到中文模式\r\n- 修复搜索菜单功能的弹框遮罩未覆盖左侧菜单的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 页面切换性能优化,不考虑网络的情况下,页面切换逻辑的速度差不多比之前快 `3-4` 倍 [查看优化详情](https://github.com/pure-admin/vue-pure-admin/pull/600#issuecomment-1586094078)\r\n- 优化标签页操作-路由传参模式用法\r\n- 系统管理中表格均改为自适应内容区高度,需将 `@pureadmin/table` 升级到最新版\r\n- 使用 `vueuse` 的 `useResizeObserver` 函数替换 `v-resize` 自定义指令,从测试后的表现来看性能会更好\r\n- 对未解绑的公共事件,在页面销毁时解绑"},{created_at:"2023-06-04T04:11:51Z",published_at:"2023-06-04T04:13:24Z",body:"# 4.3.0 (2023-06-04)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `docker` 支持\r\n- 添加项目版本实时更新检测功能\r\n- 完善系统管理-角色管理页面\r\n- 瀑布流组件添加无限滚动\r\n- 函数式弹框添加 `updateDialog` 更改弹框自身属性值方法\r\n- `wangeditor` 富文本添加多个富文本和自定义图片上传示例\r\n- `pure-table` 表格高级用法添加保留已选中的 `CheckBox` 选项示例\r\n- `RePureTableBar` 组件添加 `title` 插槽\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复获取验证码倒计时会有 `1s` 延时禁用的问题\r\n- 修复图标选择器未正确初始化预览问题\r\n- 修复动态路由重定向造成标签页出现重复内容\r\n- 修复强制刷新页面 `getTopMenu()` 函数获取不到 `path` 报错的问题\r\n- 修复左侧菜单折叠后突然拉升造成左侧菜单整体不显示的问题\r\n- 修复 `RePureTableBar` 关闭列设置后在 `windows` 出现滚动条的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化标签页操作-路由传参模式用法\r\n- 优化菜单搜索功能和样式\r\n- 更新 `vscode` 代码片段\r\n- 优化 `dataThemeChange` 主题设置的初始化调用时机"},{created_at:"2023-05-15T07:03:57Z",published_at:"2023-05-15T07:04:54Z",body:"# 4.2.0 (2023-05-15)\r\n\r\n### 🎫 Feat\r\n\r\n- 新增分段控制器组件并适配暗黑模式\r\n- 静态路由支持配置数组格式\r\n- 函数式弹框组件添加全屏、退出全屏操作按钮\r\n- 新增组件-瀑布流 `demo`\r\n- 添加 `Exclusive` 类型互斥语法糖\r\n\r\n### 🍏 Perf\r\n\r\n- 规范 `template` 模版中路由写法,不再使用 `$route` 和 `$router`,此写法 `vue-tsc` 编译不通过"},{created_at:"2023-05-11T17:45:43Z",published_at:"2023-05-11T17:47:10Z",body:"# 4.1.0 (2023-05-12)\r\n\r\n### 🎫 Feat\r\n\r\n- 函数式弹框组件添加结合 `Form` 的 `demo` 示例\r\n- 封装 `element-plus` 的 `el-col` 组件\r\n- 函数式弹框组件添加 `beforeCancel` 和 `beforeSure` 回调,可暂停弹框的关闭\r\n- 完善 `系统管理-部门管理` 页面\r\n- 优化 `PureTableBar` 组件,列展示添加拖拽功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复开启 `keepAlive` 后点击标签页的重新加载,页面缓存还存在的问题\r\n- 修复混合模式菜单下刷新页签后左侧菜单会闪烁一下的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化首页布局\r\n- 依赖更新到 `vue3.3+` 以及删除 `unplugin-vue-define-options` 插件"},{created_at:"2023-05-09T08:11:28Z",published_at:"2023-05-09T08:14:55Z",body:'# 4.0.0 (2023-05-09)\r\n\r\n[查看 4.0.0 版本优化细节](https://github.com/pure-admin/vue-pure-admin/issues/428#issuecomment-1422191158)\r\n\r\n### ✔️ refactor\r\n\r\n- 采用 `css` 伪类 `before` 写法重构菜单的激活背景,类似于 [ant.design-menu](https://ant.design/components/menu-cn#components-menu-demo-inline-collapsed)\r\n\r\n### 🎫 Feat\r\n\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 可配置首页菜单显示与隐藏\r\n- 将本地响应式存储的命名空间提升到全局配置中\r\n- 新增函数式弹框组件以及 `demo` 示例,使用更便捷\r\n- `PureTableBar` 组件添加列展示功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复当菜单折叠或展开时首页 `echarts` 图表未自适应容器\r\n- 修复当只有一个子菜单时,搜索功能搜索不到该子菜单问题\r\n- 修复全局配置 `Theme` 为 `light` 清空缓存重新登录主题配置不生效的问题\r\n- 修复菜单搜索功能弹框打开后搜索框未自动聚集的问题\r\n- 修复按 `ESC` 退出全屏后,工具栏按钮文案展示问题\r\n- 修复移动端通知栏 `tooltip` 点击穿透问题\r\n- 修复当左侧菜单收起后,切换到 `horizontal` 导航模式时文字不展示的问题\r\n- 修复导航 `tab` 关闭其他标签页无法重置状态问题\r\n- 修复 `getHistoryMode` 函数中环境变量未初始化带来的页面热更新报错\r\n- 修复导航 `tab` 过多导致关闭左侧标签页无法正常显示\r\n- 修复点击内容区全屏报错问题\r\n- 修复混合导航下打开 `showLink:false` 页面并刷新后,左侧导航栏一直处于加载状态的问题\r\n- 修复混合模式导航下调用 `initRouter` 函数导致左侧导航内存溢出问题\r\n- 修复关闭左侧、右侧、其他、全部标签页操作时缓存页面并没有销毁问题\r\n- 修复路由通过 `query` 或 `params` 传参,开启缓存后关闭标签页缓存失效问题\r\n- 修复 `params` 路由传参模式下,面包屑无法找到父级路径问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化 `RePureTableBar` 组件的 `buttons` 具名插槽\r\n- 优化导航样式以及菜单折叠动画\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 优化 `logo` 图和文字布局以及统一配置\r\n- 路由信息 `showLink` 设置成 `false` 后,当前路由信息不添加到标签页\r\n- 导出 `addPathMatch` 函数\r\n- `pinia` 中所有 `getters` 改为官方推荐写法,`this` 改成 `state` 可自动推导类型\r\n- 适配最新版 `pure-table` 的 `api`\r\n- 忽略 `sourcemap-codec` 和 `stable` 依赖包的 `deprecation` 警告\r\n- 从 `tsconfig.json` 文件中移除 `"incremental": true`\r\n- 更新 `stylelint` 以及相关配置至最新,强化样式校验\r\n- 面包屑去首页化,根据选择的菜单对应显示,首页不在固定到面包屑里,并优化面包屑页面的路由监听'},{created_at:"2022-12-26T06:31:04Z",published_at:"2022-12-26T06:32:38Z",body:"# 3.9.7 (2022-12-26)\r\n\r\n### 🍏 Perf\r\n\r\n- 使用 `path.posix.resolve` 替代 `path.resolve` 避免 `windows` 环境下使用 `electron` 出现盘符问题\r\n- 默认关闭 `CachingAsyncRoutes` 动态路由缓存本地,使其在开发环境下调试更方便,不用每次修改动态路由都要先清空本地缓存的动态路由,更推荐在生产环境开启"},{created_at:"2022-12-19T04:14:18Z",published_at:"2022-12-19T04:15:41Z",body:`# 3.9.6 (2022-12-19)\r
\r
### 🎫 Chores\r
\r
- 升级 \`vite4\` 版本\r
\r
### 🐞 Bug fixes\r
\r
- 修复 \`tailwind.css\` 错误的引入方式导致 \`vite\` 的 \`hmr\` 慢的问题\r
\r
### 🍏 Perf\r
\r
- 更新 [@pureadmin/theme](https://github.com/pure-admin/pure-admin-theme) 至最新版,带来更友好的类型提示\r
- 优化 [PureTableBar](https://github.com/xiaoxian521/vue-pure-admin/tree/main/src/components/RePureTableBar) 组件\r
- 优化系统管理页面业务代码,带来更好的代码参考`},{created_at:"2022-12-13T06:19:31Z",published_at:"2022-12-13T06:20:30Z",body:`# 3.9.5 (2022-12-13)\r
\r
### ✔️ refactor\r
\r
- 完全移除了 \`lodash\` 和其相关库\r
[点击此处查看为什么移除?如何自行集成?](https://yiming_chang.gitee.io/pure-admin-doc/pages/FAQ/#%E5%B9%B3%E5%8F%B0%E5%9C%A8-v3-9-5-%E7%89%88%E6%9C%AC%E5%AE%8C%E5%85%A8%E7%A7%BB%E9%99%A4%E4%BA%86-lodash-%E5%92%8C%E5%85%B6%E7%9B%B8%E5%85%B3%E5%BA%93-%E4%B8%BA%E4%BB%80%E4%B9%88%E7%A7%BB%E9%99%A4-%E5%A6%82%E4%BD%95%E8%87%AA%E8%A1%8C%E9%9B%86%E6%88%90)\r
\r
### 🎫 Feat\r
\r
- 添加 \`@pureadmin/table\` 表格动态列示例\r
\r
### 🐞 Bug fixes\r
\r
- 修复动态路由 \`rank\` 问题\r
- 修复暗黑主题样式问题\r
\r
### 🍏 Perf\r
\r
- 优化路由 \`rank\` ,当 \`rank\` 不存在时,根据顺序自动创建,首页路由永远在第一位`},{created_at:"2022-12-05T05:59:54Z",published_at:"2022-12-05T06:04:01Z",body:`# 3.9.4 (2022-12-05)\r
\r
### ✔️ refactor\r
\r
- 完全移除了 \`vxe-table\`,移除后,完整版整体打包大小减少 \`1.82MB\`,首启动时长基本和精简版持平 🐮\r
[点击此处查看为什么移除?如何自行集成?](https://yiming_chang.gitee.io/pure-admin-doc/pages/FAQ/#%E5%B9%B3%E5%8F%B0%E5%9C%A8-v3-9-4-%E7%89%88%E6%9C%AC%E5%AE%8C%E5%85%A8%E7%A7%BB%E9%99%A4%E4%BA%86-vxe-table-%E4%B8%BA%E4%BB%80%E4%B9%88%E7%A7%BB%E9%99%A4-%E5%A6%82%E4%BD%95%E8%87%AA%E8%A1%8C%E9%9B%86%E6%88%90)\r
\r
### 🎫 Feat\r
\r
- 添加 \`@pureadmin/table\` 表格选择器(单选、多选)示例`},{created_at:"2022-12-04T08:45:47Z",published_at:"2022-12-04T08:46:59Z",body:`# 3.9.3 (2022-12-04)\r
\r
### 🎫 Feat\r
\r
- 添加 \`@pureadmin/table\` 分页和加载动画示例\r
\r
### 🐞 Bug fixes\r
\r
- 修复开启 \`CachingAsyncRoutes\` 后,存入本地存储的动态路由改变造成刷新页面空白的问题\r
- 修复菜单折叠后 \`Tooltip\` 显示异常\r
\r
### 🍏 Perf\r
\r
- 扩展本地图标使用方式,完整版首启动再次减少 \`13\` 个请求\r
- 当菜单加载慢时,添加 \`loading\` 动画,优化用户体验\r
- 主题初始化放在 \`onBeforeMount\` 里,避免初始化页面闪烁`},{created_at:"2022-12-03T07:02:17Z",published_at:"2022-12-03T07:03:09Z",body:"# 3.9.2 (2022-12-03)\r\n\r\n### 🍏 Perf\r\n\r\n- 全局覆盖 `element-plus` 的 `el-dialog`、`el-drawer`、`el-message-box`、`el-notification` 组件右上角关闭图标的样式,使其表现更鲜明 [具体代码修改记录](https://github.com/xiaoxian521/vue-pure-admin/commit/c80818d792276666aaea4b18413a0f08777f2ed1)\r\n- 打包输出信息兼容不同打包输出路径\r\n- 优化一些动画"},{created_at:"2022-12-02T11:32:48Z",published_at:"2022-12-02T11:33:45Z",body:"# 3.9.1 (2022-12-02)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `CachingAsyncRoutes` 是否开启动态路由缓存本地的全局配置,默认 `true`\r\n- 添加 `TooltipEffect` 全局配置,可配置平台主体所有 `el-tooltip` 的 `effect` 属性,默认 `light`,不影响业务代码\r\n- 添加目录、菜单文字超出显示 `Tooltip` 文字提示演示\r\n\r\n### 🍏 Perf\r\n\r\n- 优化 `initRouter` 方法,兼容 `sso` 场景\r\n- 面包屑动画样式优化"},{created_at:"2022-11-30T06:11:08Z",published_at:"2022-11-30T06:12:32Z",body:`# 3.9.0 (2022-11-30)\r
\r
### 🐞 Bug fixes\r
\r
- 修复退出全屏时文字过长导致页面出现滚动条后带来的抖动问题\r
- 修复一些类型错误\r
\r
### 🍏 Perf\r
\r
- perf: 首屏加载大优化,对比 \`3.9.0\` 之前版本,首屏请求减少 \`71\` 个,首屏加载资源减少 \`4.1 MB\``},{created_at:"2022-11-27T17:25:43Z",published_at:"2022-11-27T17:27:59Z",body:"# 3.8.7 (2022-11-28)\r\n\r\n### 🍏 Perf\r\n\r\n- perf: 打包大优化,请务必升级!使用 `unplugin-vue-define-options` 替换 `unplugin-vue-macros` ,打包速度提升数倍,使用 `unplugin-vue-macros` 以性能中等偏上的 `mac` 为例完整版打包时长为 `6` 分钟 😭,使用 `unplugin-vue-define-options` 替换后,相同电脑下打包时长为 `50` 秒 ☺️"},{created_at:"2022-11-27T08:34:46Z",published_at:"2022-11-27T08:35:49Z",body:"# 3.8.6 (2022-11-27)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `message` 消息提示函数,兼容 `Element Plus` 和 `Ant Design` 两种 `Message` 样式风格,使用和打包大小成本极低并适配暗黑模式,真香 😂\r\n\r\n### 🍏 Perf\r\n\r\n- perf: 无需安装 `@vue/runtime-core` ,兼容所有 `element-plus` 组件的 `volar` 提示"},{created_at:"2022-11-26T16:03:19Z",published_at:"2022-11-26T16:04:41Z",body:"# 3.8.5 (2022-11-26)\r\n\r\n### 🍏 Perf\r\n\r\n- 大优化,移除 `@pureadmin/components` 并采用兼容写法,平台打包大小在未启用压缩前对比优化前减少 `0.4` MB , 首屏请求减少 `2.3` MB 的资源,这对于 [精简版](https://github.com/xiaoxian521/pure-admin-thin) 来说是非常大的优化,精简版已经同步代码"},{created_at:"2022-11-26T07:07:07Z",published_at:"2022-11-26T07:08:11Z",body:"# 3.8.0 (2022-11-26)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `@pureadmin/table` 多种数据格式(深层结构)示例\r\n- 添加 `@pureadmin/table` 图像预览示例\r\n- 添加 `@pureadmin/table` 行、列拖拽示例\r\n- 添加 `@pureadmin/table` 右键菜单示例\r\n- 添加 `@pureadmin/table` 导出 `Excel` 示例\r\n- 添加 `@pureadmin/table` 编辑单元格示例\r\n- 添加 `@pureadmin/table` 水印示例\r\n- 添加 `@pureadmin/table` 打印示例\r\n- 添加 `@pureadmin/table` 内嵌 `echarts` 图表示例\r\n- 添加 `svgo` 压缩平台所有 `svg` 文件,减少体积\r\n\r\n### 🍏 Perf\r\n\r\n- 静态路由平台自动导入,无需手动引入\r\n- 更完善的全局类型提示\r\n- 优化 `vite` 依赖预构建在平台里的配置,页面切换加载速度显著加快"},{created_at:"2022-11-21T17:00:04Z",published_at:"2022-11-21T17:00:42Z",body:`# 3.7.1 (2022-11-22)\r
\r
### 🔥 hotfix\r
\r
- 修复在未开启标签页缓存时退出登录,可能存在标签页未重置的问题`},{created_at:"2022-11-21T09:14:22Z",published_at:"2022-11-21T09:15:24Z",body:"# 3.7.0 (2022-11-21)\r\n\r\n### ✔️ refactor\r\n\r\n- 使用 `intro.js` 替换 `driver.js`\r\n\r\n### 🎫 Feat\r\n\r\n- 添加前端单点登录,测试地址 https://yiming_chang.gitee.io/vue-pure-admin/#/pure-table/index?username=sso&roles=admin&accessToken=eyJhbGciOiJIUzUxMiJ9.admin\r\n- 为 [@pureadmin/table](https://github.com/xiaoxian521/pure-admin-table) 添加更多的示例和 `element-plus` 的 [table](https://element-plus.org/zh-CN/component/table.html) 示例保持一致\r\n- 丰富水印功能页面(支持自定义各种颜色、阴影、文字、额外属性、设置不可删除水印以及给指定元素设置水印)\r\n- 优化菜单,添加 `MenuArrowIconNoTransition` 全局配置,在 `public/serverConfig.json` 中配置即可,对于出现左侧菜单模式,菜单展开卡顿的可设置 `MenuArrowIconNoTransition: true` 即可解决\r\n- 更换表单设计器组件演示\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复页内菜单带参互相跳转,标签没有选中高亮\r\n\r\n### 🍏 Perf\r\n\r\n- 删除已废弃的 `$baseUrl`\r\n- 兼容引入某个库导致 `global is not defined` 报错,将 `src/utils/globalPolyfills.ts` 文件引入 `src/main.ts` 即可解决\r\n- 删除 `@vitejs/plugin-legacy``vue3` 无法通过任何工具使其支持 `ie`"},{created_at:"2022-11-10T04:17:05Z",published_at:"2022-11-10T04:18:18Z",body:`# 3.6.4 (2022-11-10)\r
\r
### 🎫 Feat\r
\r
- 菜单图标 \`icon\` 支持使用在线图标\r
\r
### 🐞 Bug fixes\r
\r
- 修复 \`vxe-button\` 鼠标覆盖后字体颜色问题以及一些别的样式问题\r
\r
### 🍏 Perf\r
\r
- 优化路由守卫,如果已经登录并存在登录信息后不能跳转到路由白名单,而是继续保持在当前页面\r
- 将 \`baseURL\` 和全局环境代理删除,可直接在 \`vite.config.ts\` 编写,即方便又支持多个代理地址`},{created_at:"2022-11-01T08:18:12Z",published_at:"2022-11-01T08:19:22Z",body:"# 3.6.3 (2022-11-01)\r\n\r\n### 🎫 Feat\r\n\r\n- 静态资源分类打包\r\n- 添加弹幕组件 `demo`\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复 `tailwindcss` 最新版新增的 `collapse` 属性与平台 `class` 类名冲突\r\n- 修复当 `token` 过期后,如果页面有多个请求会重复刷新 `token`"},{created_at:"2022-10-27T04:58:44Z",published_at:"2022-10-27T04:59:32Z",body:"# 3.6.2 (2022-10-27)\r\n\r\n### ✔️ refactor\r\n\r\n- 使用`@/`别名替换`/@/`别名"},{created_at:"2022-10-26T18:42:33Z",published_at:"2022-10-26T18:43:31Z",body:"# 3.6.1 (2022-10-27)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加打包是否启动`cdn`替换本地库配置,默认`false`不启动\r\n- 添加打包构建可选`gzip`与`brotli`压缩模式\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复`title`过长显示样式问题\r\n- 修复路由中父级`name`不应和子级`name`重复,会造成重定向跳转`404`问题\r\n\r\n### 🍏 Perf\r\n\r\n- 升级`axios`至最新版"},{created_at:"2022-10-25T05:07:18Z",published_at:"2022-10-25T05:08:18Z",body:"# 3.6.0 (2022-10-25)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加文件下载`demo`\r\n- 添加打字机组件`demo`\r\n- 添加`json`编辑器`demo`\r\n\r\n### ✔️ refactor\r\n\r\n- 重构权限模块,采用目前最常用的`RBAC`Role-Based Access List: 基于角色的权限控制( 用户 -> 角色 -> 权限 ),并更新页面权限和按钮权限`demo`示例,按钮权限支持三种操作模式(组件方式判断权限、函数方式判断权限、指令方式判断权限)\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复清空缓存并返回登录页时未清空主题\r\n- 修复`horizontal`模式下`menu`在生产环境显示问题\r\n- 修复`mix`混合模式导航在生产环境左侧菜单一定机率不显示的问题\r\n- `token`过期后调用刷新`token`接口会无限循环的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 从`tailwind.css`中移除不常用的`@apply`\r\n- 使用`/** */`替换`//`注释,对编辑器的智能提示更友好\r\n- 优化登录回车事件\r\n- 简化了一些函数,剔除了无用函数,优化了页面加载速度"},{created_at:"2022-09-10T13:44:17Z",published_at:"2022-09-10T13:46:11Z",body:"# 3.5.0 (2022-9-10)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `cssnano` ,打包时压缩 `css` 体积\r\n- 添加 `element-plus` 无缝滚动 `Table` 页面 demo\r\n- 开启 `vscode` 括号对指南\r\n\r\n### ✔️ refactor\r\n\r\n- 使用 `tailwindcss` 替换 `unocss`,新增 `tailwindcss` [使用文档](http://yiming_chang.gitee.io/pure-admin-doc/pages/39156f/)\r\n\r\n### 🐞 Bug fixes\r\n\r\n- `token` 过期,刷新死循环\r\n\r\n### 🍏 Perf\r\n\r\n- 重置路由时,清空缓存页面"},{created_at:"2022-08-23T02:31:44Z",published_at:"2022-08-23T02:32:49Z",body:"# 3.4.6 (2022-8-23)\r\n\r\n### 🐞 Bug fixes\r\n\r\n- `process` is not defined in path\r\n- 修复动态路由`children`为空数组时报错\r\n- 修复`iframe`加载失败"},{created_at:"2022-08-22T12:21:53Z",published_at:"2022-08-22T12:23:21Z",body:`# 3.4.5 (2022-8-22)\r
\r
### 🐞 Bug fixes\r
\r
- 修复本地响应式存储对象设置问题`},{created_at:"2022-08-22T09:21:18Z",published_at:"2022-08-22T09:22:26Z",body:"# 3.4.0 (2022-8-22)\r\n\r\n### 🍏 Perf\r\n\r\n- 优化路由\r\n- 优化移动端兼容性\r\n- 优化路由传参(`query`、`params` 方式刷新页面不需要再开启标签页缓存也能保留参数在`url`和`标签页`上)"},{created_at:"2022-08-19T07:29:06Z",published_at:"2022-08-19T07:31:08Z",body:`# 3.3.5 (2022-8-19)\r
\r
### 🎫 Feat\r
\r
- 将 \`element-plus\` 的 \`Table\` 二次封装到[@pureadmin/table](https://github.com/xiaoxian521/pure-admin-table),提供灵活的配置项并集成到平台里\r
- 将 \`element-plus\` 的 \`Descriptions\` 二次封装到[@pureadmin/descriptions](https://github.com/xiaoxian521/pure-admin-descriptions),提供灵活的配置项并集成到平台里\r
- 将平台的大部分工具以及 hooks 都集中到[@pureadmin/utils](https://pure-admin-utils-docs.vercel.app/),并删除集中到这个库里的代码,减少平台体积\r
- 添加[unplugin-vue-define-options](https://www.npmjs.com/package/unplugin-vue-define-options)插件,页面可直接写 \`defineOptions({name: 自定义名称})\`\r
- 添加项目文件、语言分析工具 [cloc](https://www.npmjs.com/package/cloc)\r
- 添加登陆页国际化\r
- 添加完整路由配置表类型声明\r
- 添加虚拟列表页面 demo\r
- 添加 \`PDF\` 预览页面 demo\r
- 添加导出 \`execl\` 页面 demo\r
- 添加无 \`Layout\` 的空白页面 demo\r
\r
### ✔️ refactor\r
\r
- 重构主题色,适配 \`element-plus\` 暗黑模式(同时也解决了 \`3.3.0\` 及更低版本中同样的元素 \`css\` 被多次覆盖,导致样式不好调试的问题)\r
- 重构路由重置功能\r
\r
### 🍏 Perf\r
\r
- 兼容项目存放目录以中文命名,但我们真心不推荐中文命名,因为可能某个库没有对中文路径做转义处理,导致项目奔溃\r
- 优化接口类型\r
\r
### 🐞 Bug fixes\r
\r
- 修复路由 \`showlink\` 为 \`false\` 的异步路由,刷新后不显示\r
- 修复当没有 \`icon\` 时,垂直导航菜单折叠后文字被隐藏`},{created_at:"2022-05-11T07:51:38Z",published_at:"2022-05-11T07:52:31Z",body:`# 3.3.0 (2022-5-11)\r
\r
### 🎫 Feat\r
\r
- 添加用户管理页面 demo\r
- 添加角色管理页面 demo\r
- 添加部门管理页面 demo\r
- 添加卡片列表页面 demo\r
- 集成表单设计器\r
- 新增\`PPT\`demo\r
- 在功能菜单中新增防抖截流 demo\r
- 升级\`wangeditorV5\`(并支持国际化和自定义主题)\r
- 集成\`tauri\`版本\r
- 新增条形码功能\r
- 新增二维码功能\r
- 使用\`element-plus\`中的\`Cascader\`级联选择器编写中国省市区三级、二级联动 demo\r
- 集成\`Swiper\`插件\r
- 路由支持传\`component\`,代表组件路径\r
- 添加预发布打包模式\r
- 添加关闭某个标签的[hooks](https://github.com/xiaoxian521/vue-pure-admin/commit/5e8723a031923e79f507e5a17151d3bd88a51523)\r
\r
### ✔️ refactor\r
\r
- 重构登陆页,更偏向实际业务场景\r
- 使用\`unocss\`替换\`windicss\`\`unocss\`开发环境下性能更好,没有内存泄露,而且\`api\`使用上兼容\`windicss\`\r
\r
### 🍏 Perf\r
\r
- 优化平台的\`split-pane\`组件样式\r
- 优化国际化,路由不再传\`i18n\`字段,平台自动读取根目录\`locales\`文件夹下文件进行国际化匹配\r
- 优化图标选择器\r
- 优化\`layout\`显示用户信息[commit](https://github.com/xiaoxian521/vue-pure-admin/commit/56f9dc85e7fbe0637605c43577c794de9f8968aa)\r
\r
### 🐞 Bug fixes\r
\r
- 修复路由初始化问题Cannot access 'constantRoutes' before initialization`},{created_at:"2022-03-21T16:25:55Z",published_at:"2022-03-21T16:27:00Z",body:`# 3.2.0 (2022-3-22)\r
\r
### 🎫 Feat\r
\r
- 图标选择组件\r
- 菜单搜索功能\r
- 添加结果页面\r
- 扩展\`element-plus\`时间线组件\r
- 扩展\`element-plus\`树组件,支持连接线\r
- 添加树形选择器,支持单选和多选\r
\r
### 🍏 Perf\r
\r
- 优化错误页面 UI\r
- 优化国际化功能\r
- 优化路由\`rank\`排序,兼容路由\`meta\`中\`rank\`字段值为\`null\`的情况\r
\r
### 🐞 Bug fixes\r
\r
- 修复菜单展开折叠在部分电脑出现卡顿的情况`},{created_at:"2022-03-03T14:57:11Z",published_at:"2022-03-03T14:57:55Z",body:`# 3.1.0 (2022-3-3)\r
\r
### 🎫 Feat\r
\r
- iframe 支持动态加载\r
- 水印示例\r
- 打印示例图片、表格、echarts\r
- 添加运行、打包信息, 使用\`lodash-unified\`替换\`lodash-es\`,\`lodash-unified\`支持\`ESM\`同时兼容\`CJS\`\r
\r
### 🐞 Bug fixes\r
\r
- 修复在一个菜单页面内单独跳转到另一个菜单页面,路由页面跳转了但是标签页不显示的情况\r
- 修复后台返回动态三级及以上的路由,出现菜单与页面不对应的情况`},{created_at:"2022-02-14T15:19:32Z",published_at:"2022-02-14T15:20:32Z",body:`# 3.0 (2022-2-14)\r
\r
### 🎫 Feat\r
\r
- 添加混合导航\r
\r
### 🐞 Bug fixes\r
\r
- 修复标签页 bug`},{created_at:"2022-02-05T09:36:21Z",published_at:"2022-02-05T09:38:09Z",body:`# 2.9.0(2022-2-5)\r
\r
### 🎫 Feat\r
\r
- 添加打包大小分析,命令\`pnpm report\`\r
\r
### 🍏 Perf\r
\r
- 采用\`iconify\`按需引入图标,优化图标大小,减少网络请求\r
- 优化路由,路由可不传\`showLink: true\`,默认显示`},{created_at:"2022-01-21T08:46:48Z",published_at:"2022-01-21T08:49:38Z",body:`# 2.8.5(2022-1-21)\r
\r
### 🎫 Feat\r
\r
- 添加 \`WindiCSS\` 支持\r
- 添加线上环境删 console 插件\`vite-plugin-remove-console\`\r
\r
### ✔️ refactor\r
\r
- 使用\`@iconify-icons/ep\`替换\`@element-plus/icons-vue\``},{created_at:"2022-01-04T11:52:05Z",published_at:"2022-01-04T11:53:17Z",body:`# 2.8.0(2022-1-4)\r
\r
### 🎫 Feat\r
\r
- 添加暗黑主题\r
- 添加 element-plus 自定义主题\r
- 添加引导页\r
\r
### 🍏 Perf\r
\r
- 优化国际化,兼容 vscode 插件 i18n Ally 智能提醒\r
- 优化后端返回路由结构\r
- 优化本地存储,内置四个键\`responsive-configure\`、\`responsive-locale\`、\`responsive-layout\`、\`responsive-tags\`,分别为基本配置、国际化配置、布局配置、标签页持久化配置`},{created_at:"2021-12-18T05:56:21Z",published_at:"2021-12-18T05:57:55Z",body:`# 2.7.0(2021-12-18)\r
\r
### 🎫 Feat\r
\r
- 新增标签页复用\r
- 新增消息提醒模版\r
- 新增前端菜单树结构例子\r
- 重构路由,优化权限模块,带来更方便的体验\r
- 重构 env 环境和 http 请求,带来更方便的体验\r
- 目前平台的标签页强制关联了本地存储,下一步标签页默认放到内存中并支持可配置持久化标签页\r
- 导航菜单图标支持 fontawesome、iconfont、remixicon、element-plus/icons、自定义 svg\r
- 更新 font-awesome 到 5.0 版本,因为 5.0 以下的版本官方不再维护,但平台依旧会兼容 font-awesome4 版本\r
\r
### 🍏 Perf\r
\r
- 优化标签页,带来更好的交互体验\r
- 路由 title 支持直接写中文,可脱离国际化\r
- 路由历史模式从 env 读取并支持 base 参数\r
- 打包后的文件提供传统浏览器兼容性支持,配置 VITE_LEGACY 为 true`},{created_at:"2021-11-10T05:30:48Z",published_at:"2021-11-10T05:33:37Z",body:`# 2.6.0(2021-11-10)\r
\r
### 🎫 Feat\r
\r
- 重构导航主题色,支持多种配色\r
- 重构登录页,插画风格\r
\r
### 🍏 Perf\r
\r
- 优化导航样式\r
- 剔除导航强依赖 vxe-table\r
- 同步更新 element-plus使用 SVG Icon 替换 Font Icon`},{created_at:"2021-10-14T09:50:03Z",published_at:"2021-10-14T09:52:01Z",body:`# 2.1.0(2021-10-14)\r
\r
### 🎫 Feat\r
\r
- 路由动画(每个路由都可添加不同动画)\r
- 额外图标(比如这个是新加的页面,路由菜单右上角显示个新图标)\r
- 抽离默认配置选项\r
- 完善类型文件\r
\r
### 🐞 Bug fixes\r
\r
- 修复 element-plus 国际化使用问题\r
- 修复路由问题\r
- 修复导航适配问题`},{created_at:"2021-09-28T18:32:30Z",published_at:"2021-09-28T18:35:41Z",body:`# 2.0.1(2021-9-29)\r
\r
### 🎫 Feat\r
\r
- 添加 horizontal 水平模式导航`},{created_at:"2021-04-13T10:53:29Z",published_at:"2021-04-13T10:57:50Z",body:`# 2.0.0(2021-4-13)\r
\r
### 🎫 Chores\r
\r
- 发布 2.0.0 版本`}]}})}],__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:list},Symbol.toStringTag,{value:"Module"})),login=[{url:"/login",method:"post",response:({body:oe})=>oe.username==="admin"?{success:!0,data:{username:"admin",roles:["admin"],accessToken:"eyJhbGciOiJIUzUxMiJ9.admin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.adminRefresh",expires:"2023/10/30 00:00:00"}}:{success:!0,data:{username:"common",roles:["common"],accessToken:"eyJhbGciOiJIUzUxMiJ9.common",refreshToken:"eyJhbGciOiJIUzUxMiJ9.commonRefresh",expires:"2023/10/30 00:00:00"}}}],__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:login},Symbol.toStringTag,{value:"Module"})),mapList=()=>{const oe=[];for(let ie=0;ie<200;ie++)oe.push({plateNumber:"豫A@natural(11111, 99999)@character('upper')",driver:"@cname()","orientation|1-360":100,"lng|113-114.1-10":1,"lat|34-35.1-10":1});return oe},map=[{url:"/getMapInfo",method:"get",response:()=>({success:!0,data:mapList()})}],__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:map},Symbol.toStringTag,{value:"Module"})),refreshToken=[{url:"/refreshToken",method:"post",response:({body:oe})=>oe.refreshToken?{success:!0,data:{accessToken:"eyJhbGciOiJIUzUxMiJ9.newAdmin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.newAdminRefresh",expires:"2023/10/30 23:59:59"}}:{success:!1,data:{}}}],__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:refreshToken},Symbol.toStringTag,{value:"Module"})),system=[{url:"/user",method:"post",response:()=>({success:!0,data:{list:[{username:"admin",nickname:"admin",remark:"管理员",deptId:103,postIds:[1],mobile:"15888888888",sex:0,id:1,status:0,createTime:1605456e6,dept:{id:103,name:"研发部门"}},{username:"pure",nickname:"pure",remark:"不要吓我",deptId:104,postIds:[1],mobile:"15888888888",sex:0,id:100,status:1,createTime:1605456e6,dept:{id:104,name:"市场部门"}},{username:"小姐姐",nickname:"girl",remark:null,deptId:106,postIds:null,mobile:"15888888888",sex:1,id:103,status:1,createTime:1605456e6,dept:{id:106,name:"财务部门"}},{username:"小哥哥",nickname:"boy",remark:null,deptId:107,postIds:[],mobile:"15888888888",sex:0,id:104,status:0,createTime:1605456e6,dept:{id:107,name:"运维部门"}}],total:4}})},{url:"/role",method:"post",response:({body:oe})=>{let ie=[{createTime:1605456e6,updateTime:1684512e6,creator:"admin",id:1,name:"超级管理员",code:"admin",status:1,remark:"超级管理员拥有最高权限"},{createTime:1605456e6,updateTime:1684512e6,creator:"admin",id:2,name:"普通角色",code:"common",status:1,remark:"普通角色拥有部分权限"}];return ie=ie.filter(le=>le.name.includes(oe==null?void 0:oe.name)),ie=ie.filter(le=>String(le.status).includes(String(oe==null?void 0:oe.status))),oe.code&&(ie=ie.filter(le=>le.code===oe.code)),{success:!0,data:{list:ie,total:ie.length,pageSize:10,currentPage:1}}}},{url:"/dept",method:"post",response:()=>({success:!0,data:[{name:"杭州总公司",parentId:0,id:100,sort:0,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:1,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"郑州分公司",parentId:100,id:101,sort:1,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:2,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"研发部门",parentId:101,id:103,sort:1,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"市场部门",parentId:102,id:108,sort:1,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"深圳分公司",parentId:100,id:102,sort:2,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:2,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"市场部门",parentId:101,id:104,sort:2,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"财务部门",parentId:102,id:109,sort:2,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"测试部门",parentId:101,id:105,sort:3,phone:"15888888888",principal:"@cname()",email:"@email",status:0,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"财务部门",parentId:101,id:106,sort:4,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"运维部门",parentId:101,id:107,sort:5,phone:"15888888888",principal:"@cname()",email:"@email",status:0,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"}]})}],__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:system},Symbol.toStringTag,{value:"Module"}));var mock={exports:{}};(function(module,exports){(function(ie,le){module.exports=le()})(commonjsGlobal,function(){return function(oe){var ie={};function le(ue){if(ie[ue])return ie[ue].exports;var de=ie[ue]={exports:{},id:ue,loaded:!1};return oe[ue].call(de.exports,de,de.exports,le),de.loaded=!0,de.exports}return le.m=oe,le.c=ie,le.p="",le(0)}([function(oe,ie,le){var ue=le(1),de=le(3),pe=le(5),he=le(20),_e=le(23),$e=le(25),Ie;typeof window<"u"&&(Ie=le(27));/*!
Mock - 模拟请求 & 模拟数据
https://github.com/nuysoft/Mock
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
*/var Ve={Handler:ue,Random:pe,Util:de,XHR:Ie,RE:he,toJSONSchema:_e,valid:$e,heredoc:de.heredoc,setup:function(Fe){return Ie.setup(Fe)},_mocked:{}};Ve.version="1.0.1-beta3",Ie&&(Ie.Mock=Ve),Ve.mock=function(Fe,Ue,qe){return arguments.length===1?ue.gen(Fe):(arguments.length===2&&(qe=Ue,Ue=void 0),Ie&&(window.XMLHttpRequest=Ie),Ve._mocked[Fe+(Ue||"")]={rurl:Fe,rtype:Ue,template:qe},Ve)},oe.exports=Ve},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function(oe,ie,le){ie=ie==null?"":ie+"",le=le||{},le={path:le.path||[Constant.GUID],templatePath:le.templatePath||[Constant.GUID++],currentContext:le.currentContext,templateCurrentContext:le.templateCurrentContext||oe,root:le.root||le.currentContext,templateRoot:le.templateRoot||le.templateCurrentContext||oe};var ue=Parser.parse(ie),de=Util.type(oe),pe;return Handler[de]?(pe=Handler[de]({type:de,template:oe,name:ie,parsedName:ie&&ie.replace(Constant.RE_KEY,"$1"),rule:ue,context:le}),le.root||(le.root=pe),pe):oe},Handler.extend({array:function(oe){var ie=[],le,ue;if(oe.template.length===0)return ie;if(oe.rule.parameters)if(oe.rule.min===1&&oe.rule.max===void 0)oe.context.path.push(oe.name),oe.context.templatePath.push(oe.name),ie=Random.pick(Handler.gen(oe.template,void 0,{path:oe.context.path,templatePath:oe.context.templatePath,currentContext:ie,templateCurrentContext:oe.template,root:oe.context.root||ie,templateRoot:oe.context.templateRoot||oe.template})),oe.context.path.pop(),oe.context.templatePath.pop();else if(oe.rule.parameters[2])oe.template.__order_index=oe.template.__order_index||0,oe.context.path.push(oe.name),oe.context.templatePath.push(oe.name),ie=Handler.gen(oe.template,void 0,{path:oe.context.path,templatePath:oe.context.templatePath,currentContext:ie,templateCurrentContext:oe.template,root:oe.context.root||ie,templateRoot:oe.context.templateRoot||oe.template})[oe.template.__order_index%oe.template.length],oe.template.__order_index+=+oe.rule.parameters[2],oe.context.path.pop(),oe.context.templatePath.pop();else for(le=0;le<oe.rule.count;le++)for(ue=0;ue<oe.template.length;ue++)oe.context.path.push(ie.length),oe.context.templatePath.push(ue),ie.push(Handler.gen(oe.template[ue],ie.length,{path:oe.context.path,templatePath:oe.context.templatePath,currentContext:ie,templateCurrentContext:oe.template,root:oe.context.root||ie,templateRoot:oe.context.templateRoot||oe.template})),oe.context.path.pop(),oe.context.templatePath.pop();else for(le=0;le<oe.template.length;le++)oe.context.path.push(le),oe.context.templatePath.push(le),ie.push(Handler.gen(oe.template[le],le,{path:oe.context.path,templatePath:oe.context.templatePath,currentContext:ie,templateCurrentContext:oe.template,root:oe.context.root||ie,templateRoot:oe.context.templateRoot||oe.template})),oe.context.path.pop(),oe.context.templatePath.pop();return ie},object:function(oe){var ie={},le,ue,de,pe,he,_e;if(oe.rule.min!=null)for(le=Util.keys(oe.template),le=Random.shuffle(le),le=le.slice(0,oe.rule.count),_e=0;_e<le.length;_e++)de=le[_e],pe=de.replace(Constant.RE_KEY,"$1"),oe.context.path.push(pe),oe.context.templatePath.push(de),ie[pe]=Handler.gen(oe.template[de],de,{path:oe.context.path,templatePath:oe.context.templatePath,currentContext:ie,templateCurrentContext:oe.template,root:oe.context.root||ie,templateRoot:oe.context.templateRoot||oe.template}),oe.context.path.pop(),oe.context.templatePath.pop();else{le=[],ue=[];for(de in oe.template)(typeof oe.template[de]=="function"?ue:le).push(de);for(le=le.concat(ue),_e=0;_e<le.length;_e++)de=le[_e],pe=de.replace(Constant.RE_KEY,"$1"),oe.context.path.push(pe),oe.context.templatePath.push(de),ie[pe]=Handler.gen(oe.template[de],de,{path:oe.context.path,templatePath:oe.context.templatePath,currentContext:ie,templateCurrentContext:oe.template,root:oe.context.root||ie,templateRoot:oe.context.templateRoot||oe.template}),oe.context.path.pop(),oe.context.templatePath.pop(),he=de.match(Constant.RE_KEY),he&&he[2]&&Util.type(oe.template[de])==="number"&&(oe.template[de]+=parseInt(he[2],10))}return ie},number:function(oe){var ie,le;if(oe.rule.decimal){for(oe.template+="",le=oe.template.split("."),le[0]=oe.rule.range?oe.rule.count:le[0],le[1]=(le[1]||"").slice(0,oe.rule.dcount);le[1].length<oe.rule.dcount;)le[1]+=le[1].length<oe.rule.dcount-1?Random.character("number"):Random.character("123456789");ie=parseFloat(le.join("."),10)}else ie=oe.rule.range&&!oe.rule.parameters[2]?oe.rule.count:oe.template;return ie},boolean:function(oe){var ie;return ie=oe.rule.parameters?Random.bool(oe.rule.min,oe.rule.max,oe.template):oe.template,ie},string:function(oe){var ie="",le,ue,de,pe;if(oe.template.length){for(oe.rule.count==null&&(ie+=oe.template),le=0;le<oe.rule.count;le++)ie+=oe.template;for(ue=ie.match(Constant.RE_PLACEHOLDER)||[],le=0;le<ue.length;le++){if(de=ue[le],/^\\/.test(de)){ue.splice(le--,1);continue}if(pe=Handler.placeholder(de,oe.context.currentContext,oe.context.templateCurrentContext,oe),ue.length===1&&de===ie&&typeof pe!=typeof ie){ie=pe;break}ie=ie.replace(de,pe)}}else ie=oe.rule.range?Random.string(oe.rule.count):oe.template;return ie},function:function(oe){return oe.template.call(oe.context.currentContext,oe)},regexp:function(oe){var ie="";oe.rule.count==null&&(ie+=oe.template.source);for(var le=0;le<oe.rule.count;le++)ie+=oe.template.source;return RE.Handler.gen(RE.Parser.parse(ie))}}),Handler.extend({_all:function(){var oe={};for(var ie in Random)oe[ie.toLowerCase()]=ie;return oe},placeholder:function(placeholder,obj,templateContext,options){Constant.RE_PLACEHOLDER.exec("");var parts=Constant.RE_PLACEHOLDER.exec(placeholder),key=parts&&parts[1],lkey=key&&key.toLowerCase(),okey=this._all()[lkey],params=parts&&parts[2]||"",pathParts=this.splitPathToArray(key);try{params=eval("(function(){ return [].splice.call(arguments, 0 ) })("+params+")")}catch(oe){params=parts[2].split(/,\s*/)}if(obj&&key in obj)return obj[key];if(key.charAt(0)==="/"||pathParts.length>1)return this.getValueByKeyPath(key,options);if(templateContext&&typeof templateContext=="object"&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random)&&!(lkey in Random)&&!(okey in Random))return placeholder;for(var i=0;i<params.length;i++)Constant.RE_PLACEHOLDER.exec(""),Constant.RE_PLACEHOLDER.test(params[i])&&(params[i]=Handler.placeholder(params[i],obj,templateContext,options));var handle=Random[key]||Random[lkey]||Random[okey];switch(Util.type(handle)){case"array":return Random.pick(handle);case"function":handle.options=options;var re=handle.apply(Random,params);return re===void 0&&(re=""),delete handle.options,re}},getValueByKeyPath:function(oe,ie){var le=oe,ue=this.splitPathToArray(oe),de=[];oe.charAt(0)==="/"?de=[ie.context.path[0]].concat(this.normalizePath(ue)):ue.length>1&&(de=ie.context.path.slice(0),de.pop(),de=this.normalizePath(de.concat(ue)));try{oe=ue[ue.length-1];for(var pe=ie.context.root,he=ie.context.templateRoot,_e=1;_e<de.length-1;_e++)pe=pe[de[_e]],he=he[de[_e]];if(pe&&oe in pe)return pe[oe];if(he&&typeof he=="object"&&oe in he&&le!==he[oe])return he[oe]=Handler.gen(he[oe],oe,{currentContext:pe,templateCurrentContext:he}),he[oe]}catch{}return"@"+ue.join("/")},normalizePath:function(oe){for(var ie=[],le=0;le<oe.length;le++)switch(oe[le]){case"..":ie.pop();break;case".":break;default:ie.push(oe[le])}return ie},splitPathToArray:function(oe){var ie=oe.split(/\/+/);return ie[ie.length-1]||(ie=ie.slice(0,-1)),ie[0]||(ie=ie.slice(1)),ie}}),module.exports=Handler},function(oe,ie){oe.exports={GUID:1,RE_KEY:/(.+)\|(?:\+(\d+)|([\+\-]?\d+-?[\+\-]?\d*)?(?:\.(\d+-?\d*))?)/,RE_RANGE:/([\+\-]?\d+)-?([\+\-]?\d+)?/,RE_PLACEHOLDER:/\\*@([^@#%&()\?\s]+)(?:\((.*?)\))?/g}},function(oe,ie){var le={};le.extend=function(){var de=arguments[0]||{},pe=1,he=arguments.length,_e,$e,Ie,Ve,Fe;for(he===1&&(de=this,pe=0);pe<he;pe++)if(_e=arguments[pe],!!_e)for($e in _e)Ie=de[$e],Ve=_e[$e],de!==Ve&&Ve!==void 0&&(le.isArray(Ve)||le.isObject(Ve)?(le.isArray(Ve)&&(Fe=Ie&&le.isArray(Ie)?Ie:[]),le.isObject(Ve)&&(Fe=Ie&&le.isObject(Ie)?Ie:{}),de[$e]=le.extend(Fe,Ve)):de[$e]=Ve);return de},le.each=function(de,pe,he){var _e,$e;if(this.type(de)==="number")for(_e=0;_e<de;_e++)pe(_e,_e);else if(de.length===+de.length)for(_e=0;_e<de.length&&pe.call(he,de[_e],_e,de)!==!1;_e++);else for($e in de)if(pe.call(he,de[$e],$e,de)===!1)break},le.type=function(de){return de==null?String(de):Object.prototype.toString.call(de).match(/\[object (\w+)\]/)[1].toLowerCase()},le.each("String Object Array RegExp Function".split(" "),function(ue){le["is"+ue]=function(de){return le.type(de)===ue.toLowerCase()}}),le.isObjectOrArray=function(ue){return le.isObject(ue)||le.isArray(ue)},le.isNumeric=function(ue){return!isNaN(parseFloat(ue))&&isFinite(ue)},le.keys=function(ue){var de=[];for(var pe in ue)ue.hasOwnProperty(pe)&&de.push(pe);return de},le.values=function(ue){var de=[];for(var pe in ue)ue.hasOwnProperty(pe)&&de.push(ue[pe]);return de},le.heredoc=function(de){return de.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},le.noop=function(){},oe.exports=le},function(oe,ie,le){var ue=le(2),de=le(5);oe.exports={parse:function(pe){pe=pe==null?"":pe+"";var he=(pe||"").match(ue.RE_KEY),_e=he&&he[3]&&he[3].match(ue.RE_RANGE),$e=_e&&_e[1]&&parseInt(_e[1],10),Ie=_e&&_e[2]&&parseInt(_e[2],10),Ve=_e?_e[2]?de.integer($e,Ie):parseInt(_e[1],10):void 0,Fe=he&&he[4]&&he[4].match(ue.RE_RANGE),Ue=Fe&&Fe[1]&&parseInt(Fe[1],10),qe=Fe&&Fe[2]&&parseInt(Fe[2],10),Et=Fe?!Fe[2]&&parseInt(Fe[1],10)||de.integer(Ue,qe):void 0,At={parameters:he,range:_e,min:$e,max:Ie,count:Ve,decimal:Fe,dmin:Ue,dmax:qe,dcount:Et};for(var Lt in At)if(At[Lt]!=null)return At;return{}}}},function(oe,ie,le){var ue=le(3),de={extend:ue.extend};de.extend(le(6)),de.extend(le(7)),de.extend(le(8)),de.extend(le(10)),de.extend(le(13)),de.extend(le(15)),de.extend(le(16)),de.extend(le(17)),de.extend(le(14)),de.extend(le(19)),oe.exports=de},function(oe,ie){oe.exports={boolean:function(le,ue,de){return de!==void 0?(le=typeof le<"u"&&!isNaN(le)?parseInt(le,10):1,ue=typeof ue<"u"&&!isNaN(ue)?parseInt(ue,10):1,Math.random()>1/(le+ue)*le?!de:de):Math.random()>=.5},bool:function(le,ue,de){return this.boolean(le,ue,de)},natural:function(le,ue){return le=typeof le<"u"?parseInt(le,10):0,ue=typeof ue<"u"?parseInt(ue,10):9007199254740992,Math.round(Math.random()*(ue-le))+le},integer:function(le,ue){return le=typeof le<"u"?parseInt(le,10):-9007199254740992,ue=typeof ue<"u"?parseInt(ue,10):9007199254740992,Math.round(Math.random()*(ue-le))+le},int:function(le,ue){return this.integer(le,ue)},float:function(le,ue,de,pe){de=de===void 0?0:de,de=Math.max(Math.min(de,17),0),pe=pe===void 0?17:pe,pe=Math.max(Math.min(pe,17),0);for(var he=this.integer(le,ue)+".",_e=0,$e=this.natural(de,pe);_e<$e;_e++)he+=_e<$e-1?this.character("number"):this.character("123456789");return parseFloat(he,10)},character:function(le){var ue={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return ue.alpha=ue.lower+ue.upper,ue.undefined=ue.lower+ue.upper+ue.number+ue.symbol,le=ue[(""+le).toLowerCase()]||le,le.charAt(this.natural(0,le.length-1))},char:function(le){return this.character(le)},string:function(le,ue,de){var pe;switch(arguments.length){case 0:pe=this.natural(3,7);break;case 1:pe=le,le=void 0;break;case 2:typeof arguments[0]=="string"?pe=ue:(pe=this.natural(le,ue),le=void 0);break;case 3:pe=this.natural(ue,de);break}for(var he="",_e=0;_e<pe;_e++)he+=this.character(le);return he},str:function(){return this.string.apply(this,arguments)},range:function(le,ue,de){arguments.length<=1&&(ue=le||0,le=0),de=arguments[2]||1,le=+le,ue=+ue,de=+de;for(var pe=Math.max(Math.ceil((ue-le)/de),0),he=0,_e=new Array(pe);he<pe;)_e[he++]=le,le+=de;return _e}}},function(oe,ie){var le={yyyy:"getFullYear",yy:function(ue){return(""+ue.getFullYear()).slice(2)},y:"yy",MM:function(ue){var de=ue.getMonth()+1;return de<10?"0"+de:de},M:function(ue){return ue.getMonth()+1},dd:function(ue){var de=ue.getDate();return de<10?"0"+de:de},d:"getDate",HH:function(ue){var de=ue.getHours();return de<10?"0"+de:de},H:"getHours",hh:function(ue){var de=ue.getHours()%12;return de<10?"0"+de:de},h:function(ue){return ue.getHours()%12},mm:function(ue){var de=ue.getMinutes();return de<10?"0"+de:de},m:"getMinutes",ss:function(ue){var de=ue.getSeconds();return de<10?"0"+de:de},s:"getSeconds",SS:function(ue){var de=ue.getMilliseconds();return de<10&&"00"+de||de<100&&"0"+de||de},S:"getMilliseconds",A:function(ue){return ue.getHours()<12?"AM":"PM"},a:function(ue){return ue.getHours()<12?"am":"pm"},T:"getTime"};oe.exports={_patternLetters:le,_rformat:new RegExp(function(){var ue=[];for(var de in le)ue.push(de);return"("+ue.join("|")+")"}(),"g"),_formatDate:function(ue,de){return de.replace(this._rformat,function pe(he,_e){return typeof le[_e]=="function"?le[_e](ue):le[_e]in le?pe(he,le[_e]):ue[le[_e]]()})},_randomDate:function(ue,de){return ue=ue===void 0?new Date(0):ue,de=de===void 0?new Date:de,new Date(Math.random()*(de.getTime()-ue.getTime()))},date:function(ue){return ue=ue||"yyyy-MM-dd",this._formatDate(this._randomDate(),ue)},time:function(ue){return ue=ue||"HH:mm:ss",this._formatDate(this._randomDate(),ue)},datetime:function(ue){return ue=ue||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),ue)},now:function(ue,de){arguments.length===1&&(/year|month|day|hour|minute|second|week/.test(ue)||(de=ue,ue="")),ue=(ue||"").toLowerCase(),de=de||"yyyy-MM-dd HH:mm:ss";var pe=new Date;switch(ue){case"year":pe.setMonth(0);case"month":pe.setDate(1);case"week":case"day":pe.setHours(0);case"hour":pe.setMinutes(0);case"minute":pe.setSeconds(0);case"second":pe.setMilliseconds(0)}switch(ue){case"week":pe.setDate(pe.getDate()-pe.getDay())}return this._formatDate(pe,de)}}},function(oe,ie,le){(function(ue){ue.exports={_adSize:["300x250","250x250","240x400","336x280","180x150","720x300","468x60","234x60","88x31","120x90","120x60","120x240","125x125","728x90","160x600","120x600","300x600"],_screenSize:["320x200","320x240","640x480","800x480","800x480","1024x600","1024x768","1280x800","1440x900","1920x1200","2560x1600"],_videoSize:["720x480","768x576","1280x720","1920x1080"],image:function(de,pe,he,_e,$e){return arguments.length===4&&($e=_e,_e=void 0),arguments.length===3&&($e=he,he=void 0),de||(de=this.pick(this._adSize)),pe&&~pe.indexOf("#")&&(pe=pe.slice(1)),he&&~he.indexOf("#")&&(he=he.slice(1)),"http://dummyimage.com/"+de+(pe?"/"+pe:"")+(he?"/"+he:"")+(_e?"."+_e:"")+($e?"&text="+$e:"")},img:function(){return this.image.apply(this,arguments)},_brandColors:{"4ormat":"#fb0a2a","500px":"#02adea","About.me (blue)":"#00405d","About.me (yellow)":"#ffcc33",Addvocate:"#ff6138",Adobe:"#ff0000",Aim:"#fcd20b",Amazon:"#e47911",Android:"#a4c639","Angie's List":"#7fbb00",AOL:"#0060a3",Atlassian:"#003366",Behance:"#053eff","Big Cartel":"#97b538",bitly:"#ee6123",Blogger:"#fc4f08",Boeing:"#0039a6","Booking.com":"#003580",Carbonmade:"#613854",Cheddar:"#ff7243","Code School":"#3d4944",Delicious:"#205cc0",Dell:"#3287c1",Designmoo:"#e54a4f",Deviantart:"#4e6252","Designer News":"#2d72da",Devour:"#fd0001",DEWALT:"#febd17","Disqus (blue)":"#59a3fc","Disqus (orange)":"#db7132",Dribbble:"#ea4c89",Dropbox:"#3d9ae8",Drupal:"#0c76ab",Dunked:"#2a323a",eBay:"#89c507",Ember:"#f05e1b",Engadget:"#00bdf6",Envato:"#528036",Etsy:"#eb6d20",Evernote:"#5ba525","Fab.com":"#dd0017",Facebook:"#3b5998",Firefox:"#e66000","Flickr (blue)":"#0063dc","Flickr (pink)":"#ff0084",Forrst:"#5b9a68",Foursquare:"#25a0ca",Garmin:"#007cc3",GetGlue:"#2d75a2",Gimmebar:"#f70078",GitHub:"#171515","Google Blue":"#0140ca","Google Green":"#16a61e","Google Red":"#dd1812","Google Yellow":"#fcca03","Google+":"#dd4b39",Grooveshark:"#f77f00",Groupon:"#82b548","Hacker News":"#ff6600",HelloWallet:"#0085ca","Heroku (light)":"#c7c5e6","Heroku (dark)":"#6567a5",HootSuite:"#003366",Houzz:"#73ba37",HTML5:"#ec6231",IKEA:"#ffcc33",IMDb:"#f3ce13",Instagram:"#3f729b",Intel:"#0071c5",Intuit:"#365ebf",Kickstarter:"#76cc1e",kippt:"#e03500",Kodery:"#00af81",LastFM:"#c3000d",LinkedIn:"#0e76a8",Livestream:"#cf0005",Lumo:"#576396",Mixpanel:"#a086d3",Meetup:"#e51937",Nokia:"#183693",NVIDIA:"#76b900",Opera:"#cc0f16",Path:"#e41f11","PayPal (dark)":"#1e477a","PayPal (light)":"#3b7bbf",Pinboard:"#0000e6",Pinterest:"#c8232c",PlayStation:"#665cbe",Pocket:"#ee4056",Prezi:"#318bff",Pusha:"#0f71b4",Quora:"#a82400","QUOTE.fm":"#66ceff",Rdio:"#008fd5",Readability:"#9c0000","Red Hat":"#cc0000",Resource:"#7eb400",Rockpack:"#0ba6ab",Roon:"#62b0d9",RSS:"#ee802f",Salesforce:"#1798c1",Samsung:"#0c4da2",Shopify:"#96bf48",Skype:"#00aff0",Snagajob:"#f47a20",Softonic:"#008ace",SoundCloud:"#ff7700","Space Box":"#f86960",Spotify:"#81b71a",Sprint:"#fee100",Squarespace:"#121212",StackOverflow:"#ef8236",Staples:"#cc0000","Status Chart":"#d7584f",Stripe:"#008cdd",StudyBlue:"#00afe1",StumbleUpon:"#f74425","T-Mobile":"#ea0a8e",Technorati:"#40a800","The Next Web":"#ef4423",Treehouse:"#5cb868",Trulia:"#5eab1f",Tumblr:"#34526f","Twitch.tv":"#6441a5",Twitter:"#00acee",TYPO3:"#ff8700",Ubuntu:"#dd4814",Ustream:"#3388ff",Verizon:"#ef1d1d",Vimeo:"#86c9ef",Vine:"#00a478",Virb:"#06afd8","Virgin Media":"#cc0000",Wooga:"#5b009c","WordPress (blue)":"#21759b","WordPress (orange)":"#d54e21","WordPress (grey)":"#464646",Wunderlist:"#2b88d9",XBOX:"#9bc848",XING:"#126567","Yahoo!":"#720e9e",Yandex:"#ffcc00",Yelp:"#c41200",YouTube:"#c4302b",Zalongo:"#5498dc",Zendesk:"#78a300",Zerply:"#9dcc7a",Zootool:"#5e8b1d"},_brandNames:function(){var de=[];for(var pe in this._brandColors)de.push(pe);return de},dataImage:function(de,pe){var he;if(typeof document<"u")he=document.createElement("canvas");else{var _e=ue.require("canvas");he=new _e}var $e=he&&he.getContext&&he.getContext("2d");if(!he||!$e)return"";de||(de=this.pick(this._adSize)),pe=pe!==void 0?pe:de,de=de.split("x");var Ie=parseInt(de[0],10),Ve=parseInt(de[1],10),Fe=this._brandColors[this.pick(this._brandNames())],Ue="#FFF",qe=14,Et="sans-serif";return he.width=Ie,he.height=Ve,$e.textAlign="center",$e.textBaseline="middle",$e.fillStyle=Fe,$e.fillRect(0,0,Ie,Ve),$e.fillStyle=Ue,$e.font="bold "+qe+"px "+Et,$e.fillText(pe,Ie/2,Ve/2,Ie),he.toDataURL("image/png")}}}).call(ie,le(9)(oe))},function(oe,ie){oe.exports=function(le){return le.webpackPolyfill||(le.deprecate=function(){},le.paths=[],le.children=[],le.webpackPolyfill=1),le}},function(oe,ie,le){var ue=le(11),de=le(12);oe.exports={color:function(pe){return pe||de[pe]?de[pe].nicer:this.hex()},hex:function(){var pe=this._goldenRatioColor(),he=ue.hsv2rgb(pe),_e=ue.rgb2hex(he[0],he[1],he[2]);return _e},rgb:function(){var pe=this._goldenRatioColor(),he=ue.hsv2rgb(pe);return"rgb("+parseInt(he[0],10)+", "+parseInt(he[1],10)+", "+parseInt(he[2],10)+")"},rgba:function(){var pe=this._goldenRatioColor(),he=ue.hsv2rgb(pe);return"rgba("+parseInt(he[0],10)+", "+parseInt(he[1],10)+", "+parseInt(he[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var pe=this._goldenRatioColor(),he=ue.hsv2hsl(pe);return"hsl("+parseInt(he[0],10)+", "+parseInt(he[1],10)+", "+parseInt(he[2],10)+")"},_goldenRatioColor:function(pe,he){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,typeof pe!="number"&&(pe=.5),typeof he!="number"&&(he=.95),[this._hue*360,pe*100,he*100]}}},function(oe,ie){oe.exports={rgb2hsl:function(ue){var de=ue[0]/255,pe=ue[1]/255,he=ue[2]/255,_e=Math.min(de,pe,he),$e=Math.max(de,pe,he),Ie=$e-_e,Ve,Fe,Ue;return $e==_e?Ve=0:de==$e?Ve=(pe-he)/Ie:pe==$e?Ve=2+(he-de)/Ie:he==$e&&(Ve=4+(de-pe)/Ie),Ve=Math.min(Ve*60,360),Ve<0&&(Ve+=360),Ue=(_e+$e)/2,$e==_e?Fe=0:Ue<=.5?Fe=Ie/($e+_e):Fe=Ie/(2-$e-_e),[Ve,Fe*100,Ue*100]},rgb2hsv:function(ue){var de=ue[0],pe=ue[1],he=ue[2],_e=Math.min(de,pe,he),$e=Math.max(de,pe,he),Ie=$e-_e,Ve,Fe,Ue;return $e===0?Fe=0:Fe=Ie/$e*1e3/10,$e==_e?Ve=0:de==$e?Ve=(pe-he)/Ie:pe==$e?Ve=2+(he-de)/Ie:he==$e&&(Ve=4+(de-pe)/Ie),Ve=Math.min(Ve*60,360),Ve<0&&(Ve+=360),Ue=$e/255*1e3/10,[Ve,Fe,Ue]},hsl2rgb:function(ue){var de=ue[0]/360,pe=ue[1]/100,he=ue[2]/100,_e,$e,Ie,Ve,Fe;if(pe===0)return Fe=he*255,[Fe,Fe,Fe];he<.5?$e=he*(1+pe):$e=he+pe-he*pe,_e=2*he-$e,Ve=[0,0,0];for(var Ue=0;Ue<3;Ue++)Ie=de+1/3*-(Ue-1),Ie<0&&Ie++,Ie>1&&Ie--,6*Ie<1?Fe=_e+($e-_e)*6*Ie:2*Ie<1?Fe=$e:3*Ie<2?Fe=_e+($e-_e)*(2/3-Ie)*6:Fe=_e,Ve[Ue]=Fe*255;return Ve},hsl2hsv:function(ue){var de=ue[0],pe=ue[1]/100,he=ue[2]/100,_e,$e;return he*=2,pe*=he<=1?he:2-he,$e=(he+pe)/2,_e=2*pe/(he+pe),[de,_e*100,$e*100]},hsv2rgb:function(ue){var de=ue[0]/60,pe=ue[1]/100,he=ue[2]/100,_e=Math.floor(de)%6,$e=de-Math.floor(de),Ie=255*he*(1-pe),Ve=255*he*(1-pe*$e),Fe=255*he*(1-pe*(1-$e));switch(he=255*he,_e){case 0:return[he,Fe,Ie];case 1:return[Ve,he,Ie];case 2:return[Ie,he,Fe];case 3:return[Ie,Ve,he];case 4:return[Fe,Ie,he];case 5:return[he,Ie,Ve]}},hsv2hsl:function(ue){var de=ue[0],pe=ue[1]/100,he=ue[2]/100,_e,$e;return $e=(2-pe)*he,_e=pe*he,_e/=$e<=1?$e:2-$e,$e/=2,[de,_e*100,$e*100]},rgb2hex:function(le,ue,de){return"#"+((256+le<<8|ue)<<8|de).toString(16).slice(1)},hex2rgb:function(le){return le="0x"+le.slice(1).replace(le.length>4?le:/./g,"$&$&")|0,[le>>16,le>>8&255,le&255]}}},function(oe,ie){oe.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function(oe,ie,le){var ue=le(6),de=le(14);function pe(he,_e,$e,Ie){return $e===void 0?ue.natural(he,_e):Ie===void 0?$e:ue.natural(parseInt($e,10),parseInt(Ie,10))}oe.exports={paragraph:function(he,_e){for(var $e=pe(3,7,he,_e),Ie=[],Ve=0;Ve<$e;Ve++)Ie.push(this.sentence());return Ie.join(" ")},cparagraph:function(he,_e){for(var $e=pe(3,7,he,_e),Ie=[],Ve=0;Ve<$e;Ve++)Ie.push(this.csentence());return Ie.join("")},sentence:function(he,_e){for(var $e=pe(12,18,he,_e),Ie=[],Ve=0;Ve<$e;Ve++)Ie.push(this.word());return de.capitalize(Ie.join(" "))+"."},csentence:function(he,_e){for(var $e=pe(12,18,he,_e),Ie=[],Ve=0;Ve<$e;Ve++)Ie.push(this.cword());return Ie.join("")+"。"},word:function(he,_e){for(var $e=pe(3,10,he,_e),Ie="",Ve=0;Ve<$e;Ve++)Ie+=ue.character("lower");return Ie},cword:function(he,_e,$e){var Ie="的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞",Ve;switch(arguments.length){case 0:he=Ie,Ve=1;break;case 1:typeof arguments[0]=="string"?Ve=1:(Ve=he,he=Ie);break;case 2:typeof arguments[0]=="string"?Ve=_e:(Ve=this.natural(he,_e),he=Ie);break;case 3:Ve=this.natural(_e,$e);break}for(var Fe="",Ue=0;Ue<Ve;Ue++)Fe+=he.charAt(this.natural(0,he.length-1));return Fe},title:function(he,_e){for(var $e=pe(3,7,he,_e),Ie=[],Ve=0;Ve<$e;Ve++)Ie.push(this.capitalize(this.word()));return Ie.join(" ")},ctitle:function(he,_e){for(var $e=pe(3,7,he,_e),Ie=[],Ve=0;Ve<$e;Ve++)Ie.push(this.cword());return Ie.join("")}}},function(oe,ie,le){var ue=le(3);oe.exports={capitalize:function(de){return(de+"").charAt(0).toUpperCase()+(de+"").substr(1)},upper:function(de){return(de+"").toUpperCase()},lower:function(de){return(de+"").toLowerCase()},pick:function(pe,he,_e){return ue.isArray(pe)?(he===void 0&&(he=1),_e===void 0&&(_e=he)):(pe=[].slice.call(arguments),he=1,_e=1),he===1&&_e===1?pe[this.natural(0,pe.length-1)]:this.shuffle(pe,he,_e)},shuffle:function(pe,he,_e){pe=pe||[];for(var $e=pe.slice(0),Ie=[],Ve=0,Fe=$e.length,Ue=0;Ue<Fe;Ue++)Ve=this.natural(0,$e.length-1),Ie.push($e[Ve]),$e.splice(Ve,1);switch(arguments.length){case 0:case 1:return Ie;case 2:_e=he;case 3:return he=parseInt(he,10),_e=parseInt(_e,10),Ie.slice(0,this.natural(he,_e))}},order:function de(pe){de.cache=de.cache||{},arguments.length>1&&(pe=[].slice.call(arguments,0));var he=de.options,_e=he.context.templatePath.join("."),$e=de.cache[_e]=de.cache[_e]||{index:0,array:pe};return $e.array[$e.index++%$e.array.length]}}},function(oe,ie){oe.exports={first:function(){var le=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(le)},last:function(){var le=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(le)},name:function(le){return this.first()+" "+(le?this.first()+" ":"")+this.last()},cfirst:function(){var le="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(le)},clast:function(){var le="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(le)},cname:function(){return this.cfirst()+this.clast()}}},function(oe,ie){oe.exports={url:function(le,ue){return(le||this.protocol())+"://"+(ue||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(le){return this.word()+"."+(le||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn 中国 中国互联.公司 中国互联.网络 tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(le){return this.character("lower")+"."+this.word()+"@"+(le||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function(oe,ie,le){var ue=le(18),de=["东北","华北","华东","华中","华南","西南","西北"];oe.exports={region:function(){return this.pick(de)},province:function(){return this.pick(ue).name},city:function(pe){var he=this.pick(ue),_e=this.pick(he.children);return pe?[he.name,_e.name].join(" "):_e.name},county:function(pe){var he=this.pick(ue),_e=this.pick(he.children),$e=this.pick(_e.children)||{name:"-"};return pe?[he.name,_e.name,$e.name].join(" "):$e.name},zip:function(pe){for(var he="",_e=0;_e<(pe||6);_e++)he+=this.natural(0,9);return he}}},function(oe,ie){var le={11e4:"北京",110100:"北京市",110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110228:"密云县",110229:"延庆县",110230:"其它区",12e4:"天津",120100:"天津市",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120221:"宁河县",120223:"静海县",120225:"蓟县",120226:"其它区",13e4:"河北省",130100:"石家庄市",130102:"长安区",130103:"桥东区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130121:"井陉县",130123:"正定县",130124:"栾城县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集市",130182:"藁城市",130183:"晋州市",130184:"新乐市",130185:"鹿泉市",130186:"其它区",130200:"唐山市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130223:"滦县",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130230:"曹妃甸区",130281:"遵化市",130283:"迁安市",130284:"其它区",130300:"秦皇岛市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130321:"青龙满族自治县",130322:"昌黎县",130323:"抚宁县",130324:"卢龙县",130398:"其它区",130400:"邯郸市",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130421:"邯郸县",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130428:"肥乡县",130429:"永年县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安市",130482:"其它区",130500:"邢台市",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫市",130582:"沙河市",130583:"其它区",130600:"保定市",130602:"新市区",130603:"北市区",130604:"南市区",130621:"满城县",130622:"清苑县",130623:"涞水县",130624:"阜平县",130625:"徐水县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130699:"其它区",130700:"张家口市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130721:"宣化县",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130729:"万全县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130733:"崇礼县",130734:"其它区",130800:"承德市",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130823:"平泉县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130829:"其它区",130900:"沧州市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",130985:"其它区",131e3:"廊坊市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州市",131082:"三河市",131083:"其它区",131100:"衡水市",131102:"桃城区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131181:"冀州市",131182:"深州市",131183:"其它区",14e4:"山西省",140100:"太原市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140182:"其它区",140200:"大同市",140202:"城区",140203:"矿区",140211:"南郊区",140212:"新荣区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140227:"大同县",140228:"其它区",140300:"阳泉市",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140323:"其它区",140400:"长治市",140421:"长治县",140423:"襄垣县",140424:"屯留县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140481:"潞城市",140482:"城区",140483:"郊区",140485:"其它区",140500:"晋城市",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140582:"其它区",140600:"朔州市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140624:"怀仁县",140625:"其它区",140700:"晋中市",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140782:"其它区",140800:"运城市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140883:"其它区",140900:"忻州市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平市",140982:"其它区",141e3:"临汾市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141083:"其它区",141100:"吕梁市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",141183:"其它区",15e4:"内蒙古自治区",150100:"呼和浩特市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150126:"其它区",150200:"包头市",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150224:"其它区",150300:"乌海市",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150305:"其它区",150400:"赤峰市",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150431:"其它区",150500:"通辽市",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒市",150582:"其它区",150600:"鄂尔多斯市",150602:"东胜区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150628:"其它区",150700:"呼伦贝尔市",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150786:"其它区",150800:"巴彦淖尔市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150827:"其它区",150900:"乌兰察布市",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",150982:"其它区",152200:"兴安盟",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152225:"其它区",152500:"锡林郭勒盟",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152532:"其它区",152900:"阿拉善盟",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152924:"其它区",21e4:"辽宁省",210100:"沈阳市",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"东陵区",210113:"新城子区",210114:"于洪区",210122:"辽中县",210123:"康平县",210124:"法库县",210181:"新民市",210184:"沈北新区",210185:"其它区",210200:"大连市",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210224:"长海县",210281:"瓦房店市",210282:"普兰店市",210283:"庄河市",210298:"其它区",210300:"鞍山市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210382:"其它区",210400:"抚顺市",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210424:"其它区",210500:"本溪市",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210523:"其它区",210600:"丹东市",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210683:"其它区",210700:"锦州市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210783:"其它区",210800:"营口市",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210883:"其它区",210900:"阜新市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",210923:"其它区",211e3:"辽阳市",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211082:"其它区",211100:"盘锦市",211102:"双台子区",211103:"兴隆台区",211121:"大洼县",211122:"盘山县",211123:"其它区",211200:"铁岭市",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211283:"其它区",211300:"朝阳市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211383:"其它区",211400:"葫芦岛市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",211482:"其它区",22e4:"吉林省",220100:"长春市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220122:"农安县",220181:"九台市",220182:"榆树市",220183:"德惠市",220188:"其它区",220200:"吉林市",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220285:"其它区",220300:"四平市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市",220383:"其它区",220400:"辽源市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220423:"其它区",220500:"通化市",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220583:"其它区",220600:"白山市",220602:"浑江区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220625:"江源区",220681:"临江市",220682:"其它区",220700:"松原市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220724:"扶余市",220725:"其它区",220800:"白城市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南市",220882:"大安市",220883:"其它区",222400:"延边朝鲜族自治州",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",222427:"其它区",23e4:"黑龙江省",230100:"哈尔滨市",230102:"道里区",230103:"南岗区",230104:"道外区",230106:"香坊区",230108:"平房区",230109:"松北区",230111:"呼兰区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230181:"阿城区",230182:"双城市",230183:"尚志市",230184:"五常市",230186:"其它区",230200:"齐齐哈尔市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230282:"其它区",230300:"鸡西市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230383:"其它区",230400:"鹤岗市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230423:"其它区",230500:"双鸭山市",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230525:"其它区",230600:"大庆市",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230625:"其它区",230700:"伊春市",230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力市",230782:"其它区",230800:"佳木斯市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230833:"抚远县",230881:"同江市",230882:"富锦市",230883:"其它区",230900:"七台河市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",230922:"其它区",231e3:"牡丹江市",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231024:"东宁县",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"其它区",231100:"黑河市",231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"其它区",231200:"绥化市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",231284:"其它区",232700:"大兴安岭地区",232702:"松岭区",232703:"新林区",232704:"呼中区",232721:"呼玛县",232722:"塔河县",232723:"漠河县",232724:"加格达奇区",232725:"其它区",31e4:"上海",310100:"上海市",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310108:"闸北区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310230:"崇明县",310231:"其它区",32e4:"江苏省",320100:"南京市",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320124:"溧水区",320125:"高淳区",320126:"其它区",320200:"无锡市",320202:"崇安区",320203:"南长区",320204:"北塘区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320281:"江阴市",320282:"宜兴市",320297:"其它区",320300:"徐州市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320321:"丰县",320322:"沛县",320323:"铜山区",320324:"睢宁县",320381:"新沂市",320382:"邳州市",320383:"其它区",320400:"常州市",320402:"天宁区",320404:"钟楼区",320405:"戚墅堰区",320411:"新北区",320412:"武进区",320481:"溧阳市",320482:"金坛市",320483:"其它区",320500:"苏州市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320584:"吴江区",320585:"太仓市",320596:"其它区",320600:"南通市",320602:"崇川区",320611:"港闸区",320612:"通州区",320621:"海安县",320623:"如东县",320681:"启东市",320682:"如皋市",320684:"海门市",320694:"其它区",320700:"连云港市",320703:"连云区",320705:"新浦区",320706:"海州区",320721:"赣榆县",320722:"东海县",320723:"灌云县",320724:"灌南县",320725:"其它区",320800:"淮安市",320802:"清河区",320803:"淮安区",320804:"淮阴区",320811:"清浦区",320826:"涟水县",320829:"洪泽县",320830:"盱眙县",320831:"金湖县",320832:"其它区",320900:"盐城市",320902:"亭湖区",320903:"盐都区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台市",320982:"大丰市",320983:"其它区",321e3:"扬州市",321002:"广陵区",321003:"邗江区",321023:"宝应县",321081:"仪征市",321084:"高邮市",321088:"江都区",321093:"其它区",321100:"镇江市",321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321184:"其它区",321200:"泰州市",321202:"海陵区",321203:"高港区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321284:"姜堰区",321285:"其它区",321300:"宿迁市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321325:"其它区",33e4:"浙江省",330100:"杭州市",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330183:"富阳市",330185:"临安市",330186:"其它区",330200:"宁波市",330203:"海曙区",330204:"江东区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330283:"奉化市",330284:"其它区",330300:"温州市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330322:"洞头县",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"其它区",330400:"嘉兴市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330484:"其它区",330500:"湖州市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330524:"其它区",330600:"绍兴市",330602:"越城区",330621:"绍兴县",330624:"新昌县",330681:"诸暨市",330682:"上虞市",330683:"嵊州市",330684:"其它区",330700:"金华市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330785:"其它区",330800:"衢州市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330882:"其它区",330900:"舟山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",330923:"其它区",331e3:"台州市",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331021:"玉环县",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"其它区",331100:"丽水市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",331182:"其它区",34e4:"安徽省",340100:"合肥市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340192:"其它区",340200:"芜湖市",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340224:"其它区",340300:"蚌埠市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340324:"其它区",340400:"淮南市",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"其它区",340500:"马鞍山市",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"其它区",340600:"淮北市",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340622:"其它区",340700:"铜陵市",340702:"铜官山区",340703:"狮子山区",340711:"郊区",340721:"铜陵县",340722:"其它区",340800:"安庆市",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340823:"枞阳县",340824:"潜山县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"其它区",341e3:"黄山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341025:"其它区",341100:"滁州市",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341183:"其它区",341200:"阜阳市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首市",341283:"其它区",341300:"宿州市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341325:"其它区",341400:"巢湖市",341421:"庐江县",341422:"无为县",341423:"含山县",341424:"和县",341500:"六安市",341502:"金安区",341503:"裕安区",341521:"寿县",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341526:"其它区",341600:"亳州市",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341624:"其它区",341700:"池州市",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341724:"其它区",341800:"宣城市",341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国市",341882:"其它区",35e4:"福建省",350100:"福州市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350182:"长乐市",350183:"其它区",350200:"厦门市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350214:"其它区",350300:"莆田市",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350323:"其它区",350400:"三明市",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350482:"其它区",350500:"泉州市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350584:"其它区",350600:"漳州市",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市",350682:"其它区",350700:"南平市",350702:"延平区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350784:"建阳市",350785:"其它区",350800:"龙岩市",350802:"新罗区",350821:"长汀县",350822:"永定县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350882:"其它区",350900:"宁德市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",350983:"其它区",36e4:"江西省",360100:"南昌市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360121:"南昌县",360122:"新建县",360123:"安义县",360124:"进贤县",360128:"其它区",360200:"景德镇市",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360282:"其它区",360300:"萍乡市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360324:"其它区",360400:"九江市",360402:"庐山区",360403:"浔阳区",360421:"九江县",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360427:"星子县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"其它区",360483:"共青城市",360500:"新余市",360502:"渝水区",360521:"分宜县",360522:"其它区",360600:"鹰潭市",360602:"月湖区",360622:"余江县",360681:"贵溪市",360682:"其它区",360700:"赣州市",360702:"章贡区",360721:"赣县",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360782:"南康市",360783:"其它区",360800:"吉安市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360882:"其它区",360900:"宜春市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",360984:"其它区",361e3:"抚州市",361002:"临川区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361029:"东乡县",361030:"广昌县",361031:"其它区",361100:"上饶市",361102:"信州区",361121:"上饶县",361122:"广丰县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",361182:"其它区",37e4:"山东省",370100:"济南市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370124:"平阴县",370125:"济阳县",370126:"商河县",370181:"章丘市",370182:"其它区",370200:"青岛市",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370281:"胶州市",370282:"即墨市",370283:"平度市",370285:"莱西市",370286:"其它区",370300:"淄博市",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370324:"其它区",370400:"枣庄市",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370482:"其它区",370500:"东营市",370502:"东营区",370503:"河口区",370521:"垦利县",370522:"利津县",370523:"广饶县",370591:"其它区",370600:"烟台市",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370688:"其它区",370700:"潍坊市",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370787:"其它区",370800:"济宁市",370802:"市中区",370811:"任城区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜市",370882:"兖州市",370883:"邹城市",370884:"其它区",370900:"泰安市",370902:"泰山区",370903:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",370984:"其它区",371e3:"威海市",371002:"环翠区",371081:"文登市",371082:"荣成市",371083:"乳山市",371084:"其它区",371100:"日照市",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371123:"其它区",371200:"莱芜市",371202:"莱城区",371203:"钢城区",371204:"其它区",371300:"临沂市",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"苍山县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371330:"其它区",371400:"德州市",371402:"德城区",371421:"陵县",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵市",371482:"禹城市",371483:"其它区",371500:"聊城市",371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371582:"其它区",371600:"滨州市",371602:"滨城区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371624:"沾化县",371625:"博兴县",371626:"邹平县",371627:"其它区",371700:"菏泽市",371702:"牡丹区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371727:"定陶县",371728:"东明县",371729:"其它区",41e4:"河南省",410100:"郑州市",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410188:"其它区",410200:"开封市",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410211:"金明区",410221:"杞县",410222:"通许县",410223:"尉氏县",410224:"开封县",410225:"兰考县",410226:"其它区",410300:"洛阳市",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410307:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师市",410400:"平顶山市",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢市",410482:"汝州市",410483:"其它区",410500:"安阳市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410582:"其它区",410600:"鹤壁市",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410623:"其它区",410700:"新乡市",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉市",410782:"辉县市",410783:"其它区",410800:"焦作市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410881:"济源市",410882:"沁阳市",410883:"孟州市",410884:"其它区",410900:"濮阳市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410929:"其它区",411e3:"许昌市",411002:"魏都区",411023:"许昌县",411024:"鄢陵县",411025:"襄城县",411081:"禹州市",411082:"长葛市",411083:"其它区",411100:"漯河市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411123:"其它区",411200:"三门峡市",411202:"湖滨区",411221:"渑池县",411222:"陕县",411224:"卢氏县",411281:"义马市",411282:"灵宝市",411283:"其它区",411300:"南阳市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州市",411382:"其它区",411400:"商丘市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411482:"其它区",411500:"信阳市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411529:"其它区",411600:"周口市",411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城市",411682:"其它区",411700:"驻马店市",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411730:"其它区",42e4:"湖北省",420100:"武汉市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420118:"其它区",420200:"黄石市",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420282:"其它区",420300:"十堰市",420302:"茅箭区",420303:"张湾区",420321:"郧县",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420383:"其它区",420500:"宜昌市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420584:"其它区",420600:"襄阳市",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420685:"其它区",420700:"鄂州市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420705:"其它区",420800:"荆门市",420802:"东宝区",420804:"掇刀区",420821:"京山县",420822:"沙洋县",420881:"钟祥市",420882:"其它区",420900:"孝感市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",420985:"其它区",421e3:"荆州市",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"其它区",421100:"黄冈市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城市",421182:"武穴市",421183:"其它区",421200:"咸宁市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421283:"其它区",421300:"随州市",421302:"曾都区",421321:"随县",421381:"广水市",421382:"其它区",422800:"恩施土家族苗族自治州",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",422829:"其它区",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",43e4:"湖南省",430100:"长沙市",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430121:"长沙县",430122:"望城区",430124:"宁乡县",430181:"浏阳市",430182:"其它区",430200:"株洲市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430221:"株洲县",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵市",430282:"其它区",430300:"湘潭市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡市",430382:"韶山市",430383:"其它区",430400:"衡阳市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430483:"其它区",430500:"邵阳市",430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"其它区",430600:"岳阳市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430683:"其它区",430700:"常德市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430782:"其它区",430800:"张家界市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430823:"其它区",430900:"益阳市",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江市",430982:"其它区",431e3:"郴州市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431082:"其它区",431100:"永州市",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431130:"其它区",431200:"怀化市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江市",431282:"其它区",431300:"娄底市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",431383:"其它区",433100:"湘西土家族苗族自治州",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433131:"其它区",44e4:"广东省",440100:"广州市",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440116:"萝岗区",440183:"增城市",440184:"从化市",440189:"其它区",440200:"韶关市",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440283:"其它区",440300:"深圳市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"其它区",440320:"光明新区",440321:"坪山新区",440322:"大鹏新区",440323:"龙华新区",440400:"珠海市",440402:"香洲区",440403:"斗门区",440404:"金湾区",440488:"其它区",440500:"汕头市",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440524:"其它区",440600:"佛山市",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440609:"其它区",440700:"江门市",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440786:"其它区",440800:"湛江市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440884:"其它区",440900:"茂名市",440902:"茂南区",440903:"茂港区",440923:"电白县",440981:"高州市",440982:"化州市",440983:"信宜市",440984:"其它区",441200:"肇庆市",441202:"端州区",441203:"鼎湖区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441283:"高要市",441284:"四会市",441285:"其它区",441300:"惠州市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441325:"其它区",441400:"梅州市",441402:"梅江区",441421:"梅县",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441482:"其它区",441500:"汕尾市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441582:"其它区",441600:"河源市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441626:"其它区",441700:"阳江市",441702:"江城区",441721:"阳西县",441723:"阳东县",441781:"阳春市",441782:"其它区",441800:"清远市",441802:"清城区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441827:"清新区",441881:"英德市",441882:"连州市",441883:"其它区",441900:"东莞市",442e3:"中山市",442101:"东沙群岛",445100:"潮州市",445102:"湘桥区",445121:"潮安区",445122:"饶平县",445186:"其它区",445200:"揭阳市",445202:"榕城区",445221:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445285:"其它区",445300:"云浮市",445302:"云城区",445321:"新兴县",445322:"郁南县",445323:"云安县",445381:"罗定市",445382:"其它区",45e4:"广西壮族自治区",450100:"南宁市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450122:"武鸣县",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县",450128:"其它区",450200:"柳州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450221:"柳江县",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450227:"其它区",450300:"桂林市",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450321:"阳朔县",450322:"临桂区",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450331:"荔浦县",450332:"恭城瑶族自治县",450333:"其它区",450400:"梧州市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450482:"其它区",450500:"北海市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450522:"其它区",450600:"防城港市",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450682:"其它区",450700:"钦州市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450723:"其它区",450800:"贵港市",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450882:"其它区",450900:"玉林市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",450982:"其它区",451e3:"百色市",451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451025:"靖西县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451032:"其它区",451100:"贺州市",451102:"八步区",451119:"平桂管理区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451124:"其它区",451200:"河池市",451202:"金城江区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451281:"宜州市",451282:"其它区",451300:"来宾市",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451382:"其它区",451400:"崇左市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",451482:"其它区",46e4:"海南省",460100:"海口市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460109:"其它区",460200:"三亚市",460300:"三沙市",460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",469001:"五指山市",469002:"琼海市",469003:"儋州市",469005:"文昌市",469006:"万宁市",469007:"东方市",469025:"定安县",469026:"屯昌县",469027:"澄迈县",469028:"临高县",469030:"白沙黎族自治县",469031:"昌江黎族自治县",469033:"乐东黎族自治县",469034:"陵水黎族自治县",469035:"保亭黎族苗族自治县",469036:"琼中黎族苗族自治县",471005:"其它区",5e5:"重庆",500100:"重庆市",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"万盛区",500111:"双桥区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500222:"綦江区",500223:"潼南县",500224:"铜梁县",500225:"大足区",500226:"荣昌县",500227:"璧山县",500228:"梁平县",500229:"城口县",500230:"丰都县",500231:"垫江县",500232:"武隆县",500233:"忠县",500234:"开县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",500381:"江津区",500382:"合川区",500383:"永川区",500384:"南川区",500385:"其它区",51e4:"四川省",510100:"成都市",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510121:"金堂县",510122:"双流县",510124:"郫县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"其它区",510300:"自贡市",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510323:"其它区",510400:"攀枝花市",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510423:"其它区",510500:"泸州市",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510526:"其它区",510600:"德阳市",510603:"旌阳区",510623:"中江县",510626:"罗江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510684:"其它区",510700:"绵阳市",510703:"涪城区",510704:"游仙区",510722:"三台县",510723:"盐亭县",510724:"安县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510782:"其它区",510800:"广元市",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510825:"其它区",510900:"遂宁市",510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县",510924:"其它区",511e3:"内江市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511028:"隆昌县",511029:"其它区",511100:"乐山市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511182:"其它区",511300:"南充市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511382:"其它区",511400:"眉山市",511402:"东坡区",511421:"仁寿县",511422:"彭山县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511426:"其它区",511500:"宜宾市",511502:"翠屏区",511521:"宜宾县",511522:"南溪区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511530:"其它区",511600:"广安市",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511683:"其它区",511700:"达州市",511702:"通川区",511721:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511782:"其它区",511800:"雅安市",511802:"雨城区",511821:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511828:"其它区",511900:"巴中市",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511924:"其它区",512e3:"资阳市",512002:"雁江区",512021:"安岳县",512022:"乐至县",512081:"简阳市",512082:"其它区",513200:"阿坝藏族羌族自治州",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513229:"马尔康县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513234:"其它区",513300:"甘孜藏族自治州",513321:"康定县",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513339:"其它区",513400:"凉山彝族自治州",513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",513438:"其它区",52e4:"贵州省",520100:"贵阳市",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520121:"开阳县",520122:"息烽县",520123:"修文县",520151:"观山湖区",520181:"清镇市",520182:"其它区",520200:"六盘水市",520201:"钟山区",520203:"六枝特区",520221:"水城县",520222:"盘县",520223:"其它区",520300:"遵义市",520302:"红花岗区",520303:"汇川区",520321:"遵义县",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520383:"其它区",520400:"安顺市",520402:"西秀区",520421:"平坝县",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520426:"其它区",522200:"铜仁市",522201:"碧江区",522222:"江口县",522223:"玉屏侗族自治县",522224:"石阡县",522225:"思南县",522226:"印江土家族苗族自治县",522227:"德江县",522228:"沿河土家族自治县",522229:"松桃苗族自治县",522230:"万山区",522231:"其它区",522300:"黔西南布依族苗族自治州",522301:"兴义市",522322:"兴仁县",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522329:"其它区",522400:"毕节市",522401:"七星关区",522422:"大方县",522423:"黔西县",522424:"金沙县",522425:"织金县",522426:"纳雍县",522427:"威宁彝族回族苗族自治县",522428:"赫章县",522429:"其它区",522600:"黔东南苗族侗族自治州",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522637:"其它区",522700:"黔南布依族苗族自治州",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",522733:"其它区",53e4:"云南省",530100:"昆明市",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530121:"呈贡区",530122:"晋宁县",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530182:"其它区",530300:"曲靖市",530302:"麒麟区",530321:"马龙县",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530328:"沾益县",530381:"宣威市",530382:"其它区",530400:"玉溪市",530402:"红塔区",530421:"江川县",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530429:"其它区",530500:"保山市",530502:"隆阳区",530521:"施甸县",530522:"腾冲县",530523:"龙陵县",530524:"昌宁县",530525:"其它区",530600:"昭通市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530630:"水富县",530631:"其它区",530700:"丽江市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530725:"其它区",530800:"普洱市",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530830:"其它区",530900:"临沧市",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",530928:"其它区",532300:"楚雄彝族自治州",532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县",532332:"其它区",532500:"红河哈尼族彝族自治州",532501:"个旧市",532502:"开远市",532522:"蒙自市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532526:"弥勒市",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532533:"其它区",532600:"文山壮族苗族自治州",532621:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532629:"其它区",532800:"西双版纳傣族自治州",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532824:"其它区",532900:"大理白族自治州",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",532933:"其它区",533100:"德宏傣族景颇族自治州",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533125:"其它区",533300:"怒江傈僳族自治州",533321:"泸水县",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533326:"其它区",533400:"迪庆藏族自治州",533421:"香格里拉县",533422:"德钦县",533423:"维西傈僳族自治县",533424:"其它区",54e4:"西藏自治区",540100:"拉萨市",540102:"城关区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540125:"堆龙德庆县",540126:"达孜县",540127:"墨竹工卡县",540128:"其它区",542100:"昌都地区",542121:"昌都县",542122:"江达县",542123:"贡觉县",542124:"类乌齐县",542125:"丁青县",542126:"察雅县",542127:"八宿县",542128:"左贡县",542129:"芒康县",542132:"洛隆县",542133:"边坝县",542134:"其它区",542200:"山南地区",542221:"乃东县",542222:"扎囊县",542223:"贡嘎县",542224:"桑日县",542225:"琼结县",542226:"曲松县",542227:"措美县",542228:"洛扎县",542229:"加查县",542231:"隆子县",542232:"错那县",542233:"浪卡子县",542234:"其它区",542300:"日喀则地区",542301:"日喀则市",542322:"南木林县",542323:"江孜县",542324:"定日县",542325:"萨迦县",542326:"拉孜县",542327:"昂仁县",542328:"谢通门县",542329:"白朗县",542330:"仁布县",542331:"康马县",542332:"定结县",542333:"仲巴县",542334:"亚东县",542335:"吉隆县",542336:"聂拉木县",542337:"萨嘎县",542338:"岗巴县",542339:"其它区",542400:"那曲地区",542421:"那曲县",542422:"嘉黎县",542423:"比如县",542424:"聂荣县",542425:"安多县",542426:"申扎县",542427:"索县",542428:"班戈县",542429:"巴青县",542430:"尼玛县",542431:"其它区",542432:"双湖县",542500:"阿里地区",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",542528:"其它区",542600:"林芝地区",542621:"林芝县",542622:"工布江达县",542623:"米林县",542624:"墨脱县",542625:"波密县",542626:"察隅县",542627:"朗县",542628:"其它区",61e4:"陕西省",610100:"西安市",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610122:"蓝田县",610124:"周至县",610125:"户县",610126:"高陵县",610127:"其它区",610200:"铜川市",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610223:"其它区",610300:"宝鸡市",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610332:"其它区",610400:"咸阳市",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610427:"彬县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"其它区",610500:"渭南市",610502:"临渭区",610521:"华县",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610583:"其它区",610600:"延安市",610602:"宝塔区",610621:"延长县",610622:"延川县",610623:"子长县",610624:"安塞县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610633:"其它区",610700:"汉中市",610702:"汉台区",610721:"南郑县",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610731:"其它区",610800:"榆林市",610802:"榆阳区",610821:"神木县",610822:"府谷县",610823:"横山县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610832:"其它区",610900:"安康市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县",610930:"其它区",611e3:"商洛市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",611027:"其它区",62e4:"甘肃省",620100:"兰州市",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620124:"其它区",620200:"嘉峪关市",620300:"金昌市",620302:"金川区",620321:"永昌县",620322:"其它区",620400:"白银市",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620424:"其它区",620500:"天水市",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620526:"其它区",620600:"武威市",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620624:"其它区",620700:"张掖市",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620726:"其它区",620800:"平凉市",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620824:"华亭县",620825:"庄浪县",620826:"静宁县",620827:"其它区",620900:"酒泉市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",620983:"其它区",621e3:"庆阳市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621028:"其它区",621100:"定西市",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621127:"其它区",621200:"陇南市",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",621229:"其它区",622900:"临夏回族自治州",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",622928:"其它区",623e3:"甘南藏族自治州",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",623028:"其它区",63e4:"青海省",630100:"西宁市",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县",630124:"其它区",632100:"海东市",632121:"平安县",632122:"民和回族土族自治县",632123:"乐都区",632126:"互助土族自治县",632127:"化隆回族自治县",632128:"循化撒拉族自治县",632129:"其它区",632200:"海北藏族自治州",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632225:"其它区",632300:"黄南藏族自治州",632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632325:"其它区",632500:"海南藏族自治州",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632526:"其它区",632600:"果洛藏族自治州",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632627:"其它区",632700:"玉树藏族自治州",632721:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632727:"其它区",632800:"海西蒙古族藏族自治州",632801:"格尔木市",632802:"德令哈市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632824:"其它区",64e4:"宁夏回族自治区",640100:"银川市",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640182:"其它区",640200:"石嘴山市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640222:"其它区",640300:"吴忠市",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640382:"其它区",640400:"固原市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640426:"其它区",640500:"中卫市",640502:"沙坡头区",640521:"中宁县",640522:"海原县",640523:"其它区",65e4:"新疆维吾尔自治区",650100:"乌鲁木齐市",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650122:"其它区",650200:"克拉玛依市",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650206:"其它区",652100:"吐鲁番地区",652101:"吐鲁番市",652122:"鄯善县",652123:"托克逊县",652124:"其它区",652200:"哈密地区",652201:"哈密市",652222:"巴里坤哈萨克自治县",652223:"伊吾县",652224:"其它区",652300:"昌吉回族自治州",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652329:"其它区",652700:"博尔塔拉蒙古自治州",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652724:"其它区",652800:"巴音郭楞蒙古自治州",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652830:"其它区",652900:"阿克苏地区",652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",652930:"其它区",653e3:"克孜勒苏柯尔克孜自治州",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653025:"其它区",653100:"喀什地区",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653132:"其它区",653200:"和田地区",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",653228:"其它区",654e3:"伊犁哈萨克自治州",654002:"伊宁市",654003:"奎屯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654029:"其它区",654200:"塔城地区",654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654227:"其它区",654300:"阿勒泰地区",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",654327:"其它区",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",71e4:"台湾",710100:"台北市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710113:"其它区",710200:"高雄市",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710212:"其它区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710300:"台南市",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710307:"其它区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710400:"台中市",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710409:"其它区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710500:"金门县",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710600:"南投县",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710700:"基隆市",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710708:"其它区",710800:"新竹市",710801:"东区",710802:"北区",710803:"香山区",710804:"其它区",710900:"嘉义市",710901:"东区",710902:"西区",710903:"其它区",711100:"新北市",711130:"万里区",711131:"金山区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711200:"宜兰县",711214:"宜兰市",711215:"头城镇",711216:"礁溪乡",711217:"壮围乡",711218:"员山乡",711219:"罗东镇",711220:"三星乡",711221:"大同乡",711222:"五结乡",711223:"冬山乡",711224:"苏澳镇",711225:"南澳乡",711226:"钓鱼台",711300:"新竹县",711314:"竹北市",711315:"湖口乡",711316:"新丰乡",711317:"新埔镇",711318:"关西镇",711319:"芎林乡",711320:"宝山乡",711321:"竹东镇",711322:"五峰乡",711323:"横山乡",711324:"尖石乡",711325:"北埔乡",711326:"峨眉乡",711400:"桃园县",711414:"中坜市",711415:"平镇市",711416:"龙潭乡",711417:"杨梅市",711418:"新屋乡",711419:"观音乡",711420:"桃园市",711421:"龟山乡",711422:"八德市",711423:"大溪镇",711424:"复兴乡",711425:"大园乡",711426:"芦竹乡",711500:"苗栗县",711519:"竹南镇",711520:"头份镇",711521:"三湾乡",711522:"南庄乡",711523:"狮潭乡",711524:"后龙镇",711525:"通霄镇",711526:"苑里镇",711527:"苗栗市",711528:"造桥乡",711529:"头屋乡",711530:"公馆乡",711531:"大湖乡",711532:"泰安乡",711533:"铜锣乡",711534:"三义乡",711535:"西湖乡",711536:"卓兰镇",711700:"彰化县",711727:"彰化市",711728:"芬园乡",711729:"花坛乡",711730:"秀水乡",711731:"鹿港镇",711732:"福兴乡",711733:"线西乡",711734:"和美镇",711735:"伸港乡",711736:"员林镇",711737:"社头乡",711738:"永靖乡",711739:"埔心乡",711740:"溪湖镇",711741:"大村乡",711742:"埔盐乡",711743:"田中镇",711744:"北斗镇",711745:"田尾乡",711746:"埤头乡",711747:"溪州乡",711748:"竹塘乡",711749:"二林镇",711750:"大城乡",711751:"芳苑乡",711752:"二水乡",711900:"嘉义县",711919:"番路乡",711920:"梅山乡",711921:"竹崎乡",711922:"阿里山乡",711923:"中埔乡",711924:"大埔乡",711925:"水上乡",711926:"鹿草乡",711927:"太保市",711928:"朴子市",711929:"东石乡",711930:"六脚乡",711931:"新港乡",711932:"民雄乡",711933:"大林镇",711934:"溪口乡",711935:"义竹乡",711936:"布袋镇",712100:"云林县",712121:"斗南镇",712122:"大埤乡",712123:"虎尾镇",712124:"土库镇",712125:"褒忠乡",712126:"东势乡",712127:"台西乡",712128:"仑背乡",712129:"麦寮乡",712130:"斗六市",712131:"林内乡",712132:"古坑乡",712133:"莿桐乡",712134:"西螺镇",712135:"二仑乡",712136:"北港镇",712137:"水林乡",712138:"口湖乡",712139:"四湖乡",712140:"元长乡",712400:"屏东县",712434:"屏东市",712435:"三地门乡",712436:"雾台乡",712437:"玛家乡",712438:"九如乡",712439:"里港乡",712440:"高树乡",712441:"盐埔乡",712442:"长治乡",712443:"麟洛乡",712444:"竹田乡",712445:"内埔乡",712446:"万丹乡",712447:"潮州镇",712448:"泰武乡",712449:"来义乡",712450:"万峦乡",712451:"崁顶乡",712452:"新埤乡",712453:"南州乡",712454:"林边乡",712455:"东港镇",712456:"琉球乡",712457:"佳冬乡",712458:"新园乡",712459:"枋寮乡",712460:"枋山乡",712461:"春日乡",712462:"狮子乡",712463:"车城乡",712464:"牡丹乡",712465:"恒春镇",712466:"满州乡",712500:"台东县",712517:"台东市",712518:"绿岛乡",712519:"兰屿乡",712520:"延平乡",712521:"卑南乡",712522:"鹿野乡",712523:"关山镇",712524:"海端乡",712525:"池上乡",712526:"东河乡",712527:"成功镇",712528:"长滨乡",712529:"金峰乡",712530:"大武乡",712531:"达仁乡",712532:"太麻里乡",712600:"花莲县",712615:"花莲市",712616:"新城乡",712617:"太鲁阁",712618:"秀林乡",712619:"吉安乡",712620:"寿丰乡",712621:"凤林镇",712622:"光复乡",712623:"丰滨乡",712624:"瑞穗乡",712625:"万荣乡",712626:"玉里镇",712627:"卓溪乡",712628:"富里乡",712700:"澎湖县",712707:"马公市",712708:"西屿乡",712709:"望安乡",712710:"七美乡",712711:"白沙乡",712712:"湖西乡",712800:"连江县",712805:"南竿乡",712806:"北竿乡",712807:"莒光乡",712808:"东引乡",81e4:"香港特别行政区",810100:"香港岛",810101:"中西区",810102:"湾仔",810103:"东区",810104:"南区",810200:"九龙",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810300:"新界",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",82e4:"澳门特别行政区",820100:"澳门半岛",820200:"离岛",99e4:"海外",990100:"海外"};function ue(pe){for(var he={},_e=0,$e;_e<pe.length;_e++)$e=pe[_e],!(!$e||!$e.id)&&(he[$e.id]=$e);for(var Ie=[],Ve=0;Ve<pe.length;Ve++)if($e=pe[Ve],!!$e){if($e.pid==null&&$e.parentId==null){Ie.push($e);continue}var Fe=he[$e.pid]||he[$e.parentId];Fe&&(Fe.children||(Fe.children=[]),Fe.children.push($e))}return Ie}var de=function(){var pe=[];for(var he in le){var _e=he.slice(2,6)==="0000"?void 0:he.slice(4,6)=="00"?he.slice(0,2)+"0000":he.slice(0,4)+"00";pe.push({id:he,pid:_e,name:le[he]})}return ue(pe)}();oe.exports=de},function(oe,ie,le){var ue=le(18);oe.exports={d4:function(){return this.natural(1,4)},d6:function(){return this.natural(1,6)},d8:function(){return this.natural(1,8)},d12:function(){return this.natural(1,12)},d20:function(){return this.natural(1,20)},d100:function(){return this.natural(1,100)},guid:function(){var de="abcdefABCDEF1234567890",pe=this.string(de,8)+"-"+this.string(de,4)+"-"+this.string(de,4)+"-"+this.string(de,4)+"-"+this.string(de,12);return pe},uuid:function(){return this.guid()},id:function(){var de,pe=0,he=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],_e=["1","0","X","9","8","7","6","5","4","3","2"];de=this.pick(ue).id+this.date("yyyyMMdd")+this.string("number",3);for(var $e=0;$e<de.length;$e++)pe+=de[$e]*he[$e];return de+=_e[pe%11],de},increment:function(){var de=0;return function(pe){return de+=+pe||1}}(),inc:function(de){return this.increment(de)}}},function(oe,ie,le){var ue=le(21),de=le(22);oe.exports={Parser:ue,Handler:de}},function(oe,ie){function le(bn){this.type=bn,this.offset=le.offset(),this.text=le.text()}function ue(bn,Sn){le.call(this,"alternate"),this.left=bn,this.right=Sn}function de(bn){le.call(this,"match"),this.body=bn.filter(Boolean)}function pe(bn,Sn){le.call(this,bn),this.body=Sn}function he(bn){pe.call(this,"capture-group"),this.index=_n[this.offset]||(_n[this.offset]=vn++),this.body=bn}function _e(bn,Sn){le.call(this,"quantified"),this.body=bn,this.quantifier=Sn}function $e(bn,Sn){le.call(this,"quantifier"),this.min=bn,this.max=Sn,this.greedy=!0}function Ie(bn,Sn){le.call(this,"charset"),this.invert=bn,this.body=Sn}function Ve(bn,Sn){le.call(this,"range"),this.start=bn,this.end=Sn}function Fe(bn){le.call(this,"literal"),this.body=bn,this.escaped=this.body!=this.text}function Ue(bn){le.call(this,"unicode"),this.code=bn.toUpperCase()}function qe(bn){le.call(this,"hex"),this.code=bn.toUpperCase()}function Et(bn){le.call(this,"octal"),this.code=bn.toUpperCase()}function At(bn){le.call(this,"back-reference"),this.code=bn.toUpperCase()}function Lt(bn){le.call(this,"control-character"),this.code=bn.toUpperCase()}var hn=function(){function bn(En,wn){function xn(){this.constructor=En}xn.prototype=wn.prototype,En.prototype=new xn}function Sn(En,wn,xn,kn,Pn){function An(In,Nn){function Un(Fn){function Ln(jn){return jn.charCodeAt(0).toString(16).toUpperCase()}return Fn.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(jn){return"\\x0"+Ln(jn)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(jn){return"\\x"+Ln(jn)}).replace(/[\u0180-\u0FFF]/g,function(jn){return"\\u0"+Ln(jn)}).replace(/[\u1080-\uFFFF]/g,function(jn){return"\\u"+Ln(jn)})}var Vn,Mn;switch(In.length){case 0:Vn="end of input";break;case 1:Vn=In[0];break;default:Vn=In.slice(0,-1).join(", ")+" or "+In[In.length-1]}return Mn=Nn?'"'+Un(Nn)+'"':"end of input","Expected "+Vn+" but "+Mn+" found."}this.expected=En,this.found=wn,this.offset=xn,this.line=kn,this.column=Pn,this.name="SyntaxError",this.message=An(En,wn)}function Cn(En){function wn(){return En.substring(Kr,tr)}function xn(){return Kr}function kn(Dn){function Wn(Mr,Ur,Zr){var no,so;for(no=Ur;Zr>no;no++)so=En.charAt(no),so===`
`?(Mr.seenCR||Mr.line++,Mr.column=1,Mr.seenCR=!1):so==="\r"||so==="\u2028"||so==="\u2029"?(Mr.line++,Mr.column=1,Mr.seenCR=!0):(Mr.column++,Mr.seenCR=!1)}return io!==Dn&&(io>Dn&&(io=0,_o={line:1,column:1,seenCR:!1}),Wn(_o,io,Dn),io=Dn),_o}function Pn(Dn){po>tr||(tr>po&&(po=tr,ho=[]),ho.push(Dn))}function An(Dn){var Wn=0;for(Dn.sort();Wn<Dn.length;)Dn[Wn-1]===Dn[Wn]?Dn.splice(Wn,1):Wn++}function In(){var Dn,Wn,Mr,Ur,Zr;return Dn=tr,Wn=Nn(),Wn!==null?(Mr=tr,En.charCodeAt(tr)===124?(Ur=oo,tr++):(Ur=null,Br===0&&Pn(na)),Ur!==null?(Zr=In(),Zr!==null?(Ur=[Ur,Zr],Mr=Ur):(tr=Mr,Mr=Hr)):(tr=Mr,Mr=Hr),Mr===null&&(Mr=Qr),Mr!==null?(Kr=Dn,Wn=ra(Wn,Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Nn(){var Dn,Wn,Mr,Ur,Zr;if(Dn=tr,Wn=Vn(),Wn===null&&(Wn=Qr),Wn!==null)if(Mr=tr,Br++,Ur=Ln(),Br--,Ur===null?Mr=Qr:(tr=Mr,Mr=Hr),Mr!==null){for(Ur=[],Zr=Fn(),Zr===null&&(Zr=Un());Zr!==null;)Ur.push(Zr),Zr=Fn(),Zr===null&&(Zr=Un());Ur!==null?(Zr=Mn(),Zr===null&&(Zr=Qr),Zr!==null?(Kr=Dn,Wn=oa(Wn,Ur,Zr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)}else tr=Dn,Dn=Hr;else tr=Dn,Dn=Hr;return Dn}function Un(){var Dn;return Dn=Xn(),Dn===null&&(Dn=ar(),Dn===null&&(Dn=br())),Dn}function Vn(){var Dn,Wn;return Dn=tr,En.charCodeAt(tr)===94?(Wn=Co,tr++):(Wn=null,Br===0&&Pn(So)),Wn!==null&&(Kr=Dn,Wn=aa()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Mn(){var Dn,Wn;return Dn=tr,En.charCodeAt(tr)===36?(Wn=ia,tr++):(Wn=null,Br===0&&Pn(sa)),Wn!==null&&(Kr=Dn,Wn=la()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Fn(){var Dn,Wn,Mr;return Dn=tr,Wn=Un(),Wn!==null?(Mr=Ln(),Mr!==null?(Kr=Dn,Wn=ua(Wn,Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Ln(){var Dn,Wn,Mr;return Br++,Dn=tr,Wn=jn(),Wn!==null?(Mr=qn(),Mr===null&&(Mr=Qr),Mr!==null?(Kr=Dn,Wn=fa(Wn,Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Br--,Dn===null&&(Wn=null,Br===0&&Pn(da)),Dn}function jn(){var Dn;return Dn=Zn(),Dn===null&&(Dn=Gn(),Dn===null&&(Dn=Jn(),Dn===null&&(Dn=lr(),Dn===null&&(Dn=yr(),Dn===null&&(Dn=ir()))))),Dn}function Zn(){var Dn,Wn,Mr,Ur,Zr,no;return Dn=tr,En.charCodeAt(tr)===123?(Wn=vo,tr++):(Wn=null,Br===0&&Pn(go)),Wn!==null?(Mr=Yn(),Mr!==null?(En.charCodeAt(tr)===44?(Ur=pa,tr++):(Ur=null,Br===0&&Pn(ha)),Ur!==null?(Zr=Yn(),Zr!==null?(En.charCodeAt(tr)===125?(no=Eo,tr++):(no=null,Br===0&&Pn($o)),no!==null?(Kr=Dn,Wn=ma(Mr,Zr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Gn(){var Dn,Wn,Mr,Ur;return Dn=tr,En.charCodeAt(tr)===123?(Wn=vo,tr++):(Wn=null,Br===0&&Pn(go)),Wn!==null?(Mr=Yn(),Mr!==null?(En.substr(tr,2)===wo?(Ur=wo,tr+=2):(Ur=null,Br===0&&Pn(va)),Ur!==null?(Kr=Dn,Wn=ga(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Jn(){var Dn,Wn,Mr,Ur;return Dn=tr,En.charCodeAt(tr)===123?(Wn=vo,tr++):(Wn=null,Br===0&&Pn(go)),Wn!==null?(Mr=Yn(),Mr!==null?(En.charCodeAt(tr)===125?(Ur=Eo,tr++):(Ur=null,Br===0&&Pn($o)),Ur!==null?(Kr=Dn,Wn=ya(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function lr(){var Dn,Wn;return Dn=tr,En.charCodeAt(tr)===43?(Wn=ba,tr++):(Wn=null,Br===0&&Pn(Ca)),Wn!==null&&(Kr=Dn,Wn=Sa()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function yr(){var Dn,Wn;return Dn=tr,En.charCodeAt(tr)===42?(Wn=Ea,tr++):(Wn=null,Br===0&&Pn($a)),Wn!==null&&(Kr=Dn,Wn=wa()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function ir(){var Dn,Wn;return Dn=tr,En.charCodeAt(tr)===63?(Wn=To,tr++):(Wn=null,Br===0&&Pn(xo)),Wn!==null&&(Kr=Dn,Wn=Ta()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function qn(){var Dn;return En.charCodeAt(tr)===63?(Dn=To,tr++):(Dn=null,Br===0&&Pn(xo)),Dn}function Yn(){var Dn,Wn,Mr;if(Dn=tr,Wn=[],Po.test(En.charAt(tr))?(Mr=En.charAt(tr),tr++):(Mr=null,Br===0&&Pn(ko)),Mr!==null)for(;Mr!==null;)Wn.push(Mr),Po.test(En.charAt(tr))?(Mr=En.charAt(tr),tr++):(Mr=null,Br===0&&Pn(ko));else Wn=Hr;return Wn!==null&&(Kr=Dn,Wn=xa(Wn)),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Xn(){var Dn,Wn,Mr,Ur;return Dn=tr,En.charCodeAt(tr)===40?(Wn=Pa,tr++):(Wn=null,Br===0&&Pn(ka)),Wn!==null?(Mr=Kn(),Mr===null&&(Mr=er(),Mr===null&&(Mr=_r(),Mr===null&&(Mr=or()))),Mr!==null?(En.charCodeAt(tr)===41?(Ur=Aa,tr++):(Ur=null,Br===0&&Pn(Oa)),Ur!==null?(Kr=Dn,Wn=Ia(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function or(){var Dn,Wn;return Dn=tr,Wn=In(),Wn!==null&&(Kr=Dn,Wn=Ma(Wn)),Wn===null&&(tr=Dn),Dn=Wn,Dn}function _r(){var Dn,Wn,Mr;return Dn=tr,En.substr(tr,2)===Ao?(Wn=Ao,tr+=2):(Wn=null,Br===0&&Pn(Na)),Wn!==null?(Mr=In(),Mr!==null?(Kr=Dn,Wn=Ra(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Kn(){var Dn,Wn,Mr;return Dn=tr,En.substr(tr,2)===Oo?(Wn=Oo,tr+=2):(Wn=null,Br===0&&Pn(Da)),Wn!==null?(Mr=In(),Mr!==null?(Kr=Dn,Wn=La(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function er(){var Dn,Wn,Mr;return Dn=tr,En.substr(tr,2)===Io?(Wn=Io,tr+=2):(Wn=null,Br===0&&Pn(Ba)),Wn!==null?(Mr=In(),Mr!==null?(Kr=Dn,Wn=Va(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function ar(){var Dn,Wn,Mr,Ur,Zr;if(Br++,Dn=tr,En.charCodeAt(tr)===91?(Wn=za,tr++):(Wn=null,Br===0&&Pn(Ha)),Wn!==null)if(En.charCodeAt(tr)===94?(Mr=Co,tr++):(Mr=null,Br===0&&Pn(So)),Mr===null&&(Mr=Qr),Mr!==null){for(Ur=[],Zr=gr(),Zr===null&&(Zr=Er());Zr!==null;)Ur.push(Zr),Zr=gr(),Zr===null&&(Zr=Er());Ur!==null?(En.charCodeAt(tr)===93?(Zr=Ua,tr++):(Zr=null,Br===0&&Pn(ja)),Zr!==null?(Kr=Dn,Wn=Ga(Mr,Ur),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)}else tr=Dn,Dn=Hr;else tr=Dn,Dn=Hr;return Br--,Dn===null&&(Wn=null,Br===0&&Pn(Fa)),Dn}function gr(){var Dn,Wn,Mr,Ur;return Br++,Dn=tr,Wn=Er(),Wn!==null?(En.charCodeAt(tr)===45?(Mr=Ka,tr++):(Mr=null,Br===0&&Pn(Ya)),Mr!==null?(Ur=Er(),Ur!==null?(Kr=Dn,Wn=qa(Wn,Ur),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Br--,Dn===null&&(Wn=null,Br===0&&Pn(Wa)),Dn}function Er(){var Dn;return Br++,Dn=Ar(),Dn===null&&(Dn=cr()),Br--,Dn===null&&Br===0&&Pn(Za),Dn}function cr(){var Dn,Wn;return Dn=tr,Xa.test(En.charAt(tr))?(Wn=En.charAt(tr),tr++):(Wn=null,Br===0&&Pn(Ja)),Wn!==null&&(Kr=Dn,Wn=yo(Wn)),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Ar(){var Dn;return Dn=fr(),Dn===null&&(Dn=Cr(),Dn===null&&(Dn=Lr(),Dn===null&&(Dn=Vr(),Dn===null&&(Dn=Dr(),Dn===null&&(Dn=$r(),Dn===null&&(Dn=xr(),Dn===null&&(Dn=dr(),Dn===null&&(Dn=Qn(),Dn===null&&(Dn=sr(),Dn===null&&(Dn=wr(),Dn===null&&(Dn=Ir(),Dn===null&&(Dn=zr(),Dn===null&&(Dn=Fr(),Dn===null&&(Dn=jr(),Dn===null&&(Dn=Wr(),Dn===null&&(Dn=qr(),Dn===null&&(Dn=Jr()))))))))))))))))),Dn}function br(){var Dn;return Dn=kr(),Dn===null&&(Dn=ur(),Dn===null&&(Dn=mr())),Dn}function kr(){var Dn,Wn;return Dn=tr,En.charCodeAt(tr)===46?(Wn=Qa,tr++):(Wn=null,Br===0&&Pn(ei)),Wn!==null&&(Kr=Dn,Wn=ti()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function mr(){var Dn,Wn;return Br++,Dn=tr,ri.test(En.charAt(tr))?(Wn=En.charAt(tr),tr++):(Wn=null,Br===0&&Pn(oi)),Wn!==null&&(Kr=Dn,Wn=yo(Wn)),Wn===null&&(tr=Dn),Dn=Wn,Br--,Dn===null&&(Wn=null,Br===0&&Pn(ni)),Dn}function ur(){var Dn;return Dn=pr(),Dn===null&&(Dn=Or(),Dn===null&&(Dn=Cr(),Dn===null&&(Dn=Lr(),Dn===null&&(Dn=Vr(),Dn===null&&(Dn=Dr(),Dn===null&&(Dn=$r(),Dn===null&&(Dn=xr(),Dn===null&&(Dn=dr(),Dn===null&&(Dn=Qn(),Dn===null&&(Dn=sr(),Dn===null&&(Dn=wr(),Dn===null&&(Dn=Ir(),Dn===null&&(Dn=zr(),Dn===null&&(Dn=Nr(),Dn===null&&(Dn=Fr(),Dn===null&&(Dn=jr(),Dn===null&&(Dn=Wr(),Dn===null&&(Dn=qr(),Dn===null&&(Dn=Jr()))))))))))))))))))),Dn}function fr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===lo?(Wn=lo,tr+=2):(Wn=null,Br===0&&Pn(Mo)),Wn!==null&&(Kr=Dn,Wn=ai()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function pr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===lo?(Wn=lo,tr+=2):(Wn=null,Br===0&&Pn(Mo)),Wn!==null&&(Kr=Dn,Wn=ii()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Or(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===No?(Wn=No,tr+=2):(Wn=null,Br===0&&Pn(si)),Wn!==null&&(Kr=Dn,Wn=li()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Lr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Ro?(Wn=Ro,tr+=2):(Wn=null,Br===0&&Pn(ui)),Wn!==null&&(Kr=Dn,Wn=ci()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Vr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Do?(Wn=Do,tr+=2):(Wn=null,Br===0&&Pn(di)),Wn!==null&&(Kr=Dn,Wn=fi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Dr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Lo?(Wn=Lo,tr+=2):(Wn=null,Br===0&&Pn(pi)),Wn!==null&&(Kr=Dn,Wn=hi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function $r(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Bo?(Wn=Bo,tr+=2):(Wn=null,Br===0&&Pn(mi)),Wn!==null&&(Kr=Dn,Wn=vi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function xr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Vo?(Wn=Vo,tr+=2):(Wn=null,Br===0&&Pn(gi)),Wn!==null&&(Kr=Dn,Wn=yi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function dr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Fo?(Wn=Fo,tr+=2):(Wn=null,Br===0&&Pn(_i)),Wn!==null&&(Kr=Dn,Wn=bi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Qn(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===zo?(Wn=zo,tr+=2):(Wn=null,Br===0&&Pn(Ci)),Wn!==null&&(Kr=Dn,Wn=Si()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function sr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Ho?(Wn=Ho,tr+=2):(Wn=null,Br===0&&Pn(Ei)),Wn!==null&&(Kr=Dn,Wn=$i()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function wr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Uo?(Wn=Uo,tr+=2):(Wn=null,Br===0&&Pn(wi)),Wn!==null&&(Kr=Dn,Wn=Ti()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Ir(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===jo?(Wn=jo,tr+=2):(Wn=null,Br===0&&Pn(xi)),Wn!==null&&(Kr=Dn,Wn=Pi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function zr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===Go?(Wn=Go,tr+=2):(Wn=null,Br===0&&Pn(ki)),Wn!==null&&(Kr=Dn,Wn=Ai()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Cr(){var Dn,Wn,Mr;return Dn=tr,En.substr(tr,2)===Wo?(Wn=Wo,tr+=2):(Wn=null,Br===0&&Pn(Oi)),Wn!==null?(En.length>tr?(Mr=En.charAt(tr),tr++):(Mr=null,Br===0&&Pn(Ko)),Mr!==null?(Kr=Dn,Wn=Ii(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Nr(){var Dn,Wn,Mr;return Dn=tr,En.charCodeAt(tr)===92?(Wn=Yo,tr++):(Wn=null,Br===0&&Pn(qo)),Wn!==null?(Mi.test(En.charAt(tr))?(Mr=En.charAt(tr),tr++):(Mr=null,Br===0&&Pn(Ni)),Mr!==null?(Kr=Dn,Wn=Ri(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}function Fr(){var Dn,Wn,Mr,Ur;if(Dn=tr,En.substr(tr,2)===uo?(Wn=uo,tr+=2):(Wn=null,Br===0&&Pn(Zo)),Wn!==null){if(Mr=[],Xo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&Pn(Jo)),Ur!==null)for(;Ur!==null;)Mr.push(Ur),Xo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&Pn(Jo));else Mr=Hr;Mr!==null?(Kr=Dn,Wn=Di(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)}else tr=Dn,Dn=Hr;return Dn}function jr(){var Dn,Wn,Mr,Ur;if(Dn=tr,En.substr(tr,2)===Qo?(Wn=Qo,tr+=2):(Wn=null,Br===0&&Pn(Li)),Wn!==null){if(Mr=[],co.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&Pn(fo)),Ur!==null)for(;Ur!==null;)Mr.push(Ur),co.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&Pn(fo));else Mr=Hr;Mr!==null?(Kr=Dn,Wn=Bi(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)}else tr=Dn,Dn=Hr;return Dn}function Wr(){var Dn,Wn,Mr,Ur;if(Dn=tr,En.substr(tr,2)===ea?(Wn=ea,tr+=2):(Wn=null,Br===0&&Pn(Vi)),Wn!==null){if(Mr=[],co.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&Pn(fo)),Ur!==null)for(;Ur!==null;)Mr.push(Ur),co.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&Pn(fo));else Mr=Hr;Mr!==null?(Kr=Dn,Wn=Fi(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)}else tr=Dn,Dn=Hr;return Dn}function qr(){var Dn,Wn;return Dn=tr,En.substr(tr,2)===uo?(Wn=uo,tr+=2):(Wn=null,Br===0&&Pn(Zo)),Wn!==null&&(Kr=Dn,Wn=zi()),Wn===null&&(tr=Dn),Dn=Wn,Dn}function Jr(){var Dn,Wn,Mr;return Dn=tr,En.charCodeAt(tr)===92?(Wn=Yo,tr++):(Wn=null,Br===0&&Pn(qo)),Wn!==null?(En.length>tr?(Mr=En.charAt(tr),tr++):(Mr=null,Br===0&&Pn(Ko)),Mr!==null?(Kr=Dn,Wn=yo(Mr),Wn===null&&(tr=Dn),Dn=Wn):(tr=Dn,Dn=Hr)):(tr=Dn,Dn=Hr),Dn}var Pr,Rr=arguments.length>1?arguments[1]:{},Gr={regexp:In},Xr=In,Hr=null,Qr="",oo="|",na='"|"',ra=function(Dn,Wn){return Wn?new ue(Dn,Wn[1]):Dn},oa=function(Dn,Wn,Mr){return new de([Dn].concat(Wn).concat([Mr]))},Co="^",So='"^"',aa=function(){return new le("start")},ia="$",sa='"$"',la=function(){return new le("end")},ua=function(Dn,Wn){return new _e(Dn,Wn)},da="Quantifier",fa=function(Dn,Wn){return Wn&&(Dn.greedy=!1),Dn},vo="{",go='"{"',pa=",",ha='","',Eo="}",$o='"}"',ma=function(Dn,Wn){return new $e(Dn,Wn)},wo=",}",va='",}"',ga=function(Dn){return new $e(Dn,1/0)},ya=function(Dn){return new $e(Dn,Dn)},ba="+",Ca='"+"',Sa=function(){return new $e(1,1/0)},Ea="*",$a='"*"',wa=function(){return new $e(0,1/0)},To="?",xo='"?"',Ta=function(){return new $e(0,1)},Po=/^[0-9]/,ko="[0-9]",xa=function(Dn){return+Dn.join("")},Pa="(",ka='"("',Aa=")",Oa='")"',Ia=function(Dn){return Dn},Ma=function(Dn){return new he(Dn)},Ao="?:",Na='"?:"',Ra=function(Dn){return new pe("non-capture-group",Dn)},Oo="?=",Da='"?="',La=function(Dn){return new pe("positive-lookahead",Dn)},Io="?!",Ba='"?!"',Va=function(Dn){return new pe("negative-lookahead",Dn)},Fa="CharacterSet",za="[",Ha='"["',Ua="]",ja='"]"',Ga=function(Dn,Wn){return new Ie(!!Dn,Wn)},Wa="CharacterRange",Ka="-",Ya='"-"',qa=function(Dn,Wn){return new Ve(Dn,Wn)},Za="Character",Xa=/^[^\\\]]/,Ja="[^\\\\\\]]",yo=function(Dn){return new Fe(Dn)},Qa=".",ei='"."',ti=function(){return new le("any-character")},ni="Literal",ri=/^[^|\\\/.[()?+*$\^]/,oi="[^|\\\\\\/.[()?+*$\\^]",lo="\\b",Mo='"\\\\b"',ai=function(){return new le("backspace")},ii=function(){return new le("word-boundary")},No="\\B",si='"\\\\B"',li=function(){return new le("non-word-boundary")},Ro="\\d",ui='"\\\\d"',ci=function(){return new le("digit")},Do="\\D",di='"\\\\D"',fi=function(){return new le("non-digit")},Lo="\\f",pi='"\\\\f"',hi=function(){return new le("form-feed")},Bo="\\n",mi='"\\\\n"',vi=function(){return new le("line-feed")},Vo="\\r",gi='"\\\\r"',yi=function(){return new le("carriage-return")},Fo="\\s",_i='"\\\\s"',bi=function(){return new le("white-space")},zo="\\S",Ci='"\\\\S"',Si=function(){return new le("non-white-space")},Ho="\\t",Ei='"\\\\t"',$i=function(){return new le("tab")},Uo="\\v",wi='"\\\\v"',Ti=function(){return new le("vertical-tab")},jo="\\w",xi='"\\\\w"',Pi=function(){return new le("word")},Go="\\W",ki='"\\\\W"',Ai=function(){return new le("non-word")},Wo="\\c",Oi='"\\\\c"',Ko="any character",Ii=function(Dn){return new Lt(Dn)},Yo="\\",qo='"\\\\"',Mi=/^[1-9]/,Ni="[1-9]",Ri=function(Dn){return new At(Dn)},uo="\\0",Zo='"\\\\0"',Xo=/^[0-7]/,Jo="[0-7]",Di=function(Dn){return new Et(Dn.join(""))},Qo="\\x",Li='"\\\\x"',co=/^[0-9a-fA-F]/,fo="[0-9a-fA-F]",Bi=function(Dn){return new qe(Dn.join(""))},ea="\\u",Vi='"\\\\u"',Fi=function(Dn){return new Ue(Dn.join(""))},zi=function(){return new le("null-character")},tr=0,Kr=0,io=0,_o={line:1,column:1,seenCR:!1},po=0,ho=[],Br=0;if("startRule"in Rr){if(!(Rr.startRule in Gr))throw new Error(`Can't start parsing from rule "`+Rr.startRule+'".');Xr=Gr[Rr.startRule]}if(le.offset=xn,le.text=wn,Pr=Xr(),Pr!==null&&tr===En.length)return Pr;throw An(ho),Kr=Math.max(tr,po),new Sn(ho,Kr<En.length?En.charAt(Kr):null,Kr,kn(Kr).line,kn(Kr).column)}return bn(Sn,Error),{SyntaxError:Sn,parse:Cn}}(),vn=1,_n={};oe.exports=hn},function(oe,ie,le){var ue=le(3),de=le(5),pe={extend:ue.extend},he=qe(97,122),_e=qe(65,90),$e=qe(48,57),Ie=qe(32,47)+qe(58,64)+qe(91,96)+qe(123,126),Ve=qe(32,126),Fe=` \f
\r \v \u2028\u2029`,Ue={"\\w":he+_e+$e+"_","\\W":Ie.replace("_",""),"\\s":Fe,"\\S":function(){for(var Et=Ve,At=0;At<Fe.length;At++)Et=Et.replace(Fe[At],"");return Et}(),"\\d":$e,"\\D":he+_e+Ie};function qe(Et,At){for(var Lt="",hn=Et;hn<=At;hn++)Lt+=String.fromCharCode(hn);return Lt}pe.gen=function(Et,At,Lt){return Lt=Lt||{guid:1},pe[Et.type]?pe[Et.type](Et,At,Lt):pe.token(Et,At,Lt)},pe.extend({token:function(Et,At,Lt){switch(Et.type){case"start":case"end":return"";case"any-character":return de.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return de.pick($e.split(""));case"non-digit":return de.pick((he+_e+Ie).split(""));case"form-feed":break;case"line-feed":return Et.body||Et.text;case"carriage-return":break;case"white-space":return de.pick(Fe.split(""));case"non-white-space":return de.pick((he+_e+$e).split(""));case"tab":break;case"vertical-tab":break;case"word":return de.pick((he+_e+$e).split(""));case"non-word":return de.pick(Ie.replace("_","").split(""))}return Et.body||Et.text},alternate:function(Et,At,Lt){return this.gen(de.boolean()?Et.left:Et.right,At,Lt)},match:function(Et,At,Lt){At="";for(var hn=0;hn<Et.body.length;hn++)At+=this.gen(Et.body[hn],At,Lt);return At},"capture-group":function(Et,At,Lt){return At=this.gen(Et.body,At,Lt),Lt[Lt.guid++]=At,At},"non-capture-group":function(Et,At,Lt){return this.gen(Et.body,At,Lt)},"positive-lookahead":function(Et,At,Lt){return this.gen(Et.body,At,Lt)},"negative-lookahead":function(Et,At,Lt){return""},quantified:function(Et,At,Lt){At="";for(var hn=this.quantifier(Et.quantifier),vn=0;vn<hn;vn++)At+=this.gen(Et.body,At,Lt);return At},quantifier:function(Et,At,Lt){var hn=Math.max(Et.min,0),vn=isFinite(Et.max)?Et.max:hn+de.integer(3,7);return de.integer(hn,vn)},charset:function(Et,At,Lt){if(Et.invert)return this["invert-charset"](Et,At,Lt);var hn=de.pick(Et.body);return this.gen(hn,At,Lt)},"invert-charset":function(Et,At,Lt){for(var hn=Ve,vn=0,_n;vn<Et.body.length;vn++)switch(_n=Et.body[vn],_n.type){case"literal":hn=hn.replace(_n.body,"");break;case"range":for(var bn=this.gen(_n.start,At,Lt).charCodeAt(),Sn=this.gen(_n.end,At,Lt).charCodeAt(),Cn=bn;Cn<=Sn;Cn++)hn=hn.replace(String.fromCharCode(Cn),"");default:var En=Ue[_n.text];if(En)for(var wn=0;wn<=En.length;wn++)hn=hn.replace(En[wn],"")}return de.pick(hn.split(""))},range:function(Et,At,Lt){var hn=this.gen(Et.start,At,Lt).charCodeAt(),vn=this.gen(Et.end,At,Lt).charCodeAt();return String.fromCharCode(de.integer(hn,vn))},literal:function(Et,At,Lt){return Et.escaped?Et.body:Et.text},unicode:function(Et,At,Lt){return String.fromCharCode(parseInt(Et.code,16))},hex:function(Et,At,Lt){return String.fromCharCode(parseInt(Et.code,16))},octal:function(Et,At,Lt){return String.fromCharCode(parseInt(Et.code,8))},"back-reference":function(Et,At,Lt){return Lt[Et.code]||""},CONTROL_CHARACTER_MAP:function(){for(var Et="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),At=`\0       \x07 \b
\v \f \r              \x1B    `.split(" "),Lt={},hn=0;hn<Et.length;hn++)Lt[Et[hn]]=At[hn];return Lt}(),"control-character":function(Et,At,Lt){return this.CONTROL_CHARACTER_MAP[Et.code]}}),oe.exports=pe},function(oe,ie,le){oe.exports=le(24)},function(oe,ie,le){var ue=le(2),de=le(3),pe=le(4);function he(_e,$e,Ie){Ie=Ie||[];var Ve={name:typeof $e=="string"?$e.replace(ue.RE_KEY,"$1"):$e,template:_e,type:de.type(_e),rule:pe.parse($e)};switch(Ve.path=Ie.slice(0),Ve.path.push($e===void 0?"ROOT":Ve.name),Ve.type){case"array":Ve.items=[],de.each(_e,function(Fe,Ue){Ve.items.push(he(Fe,Ue,Ve.path))});break;case"object":Ve.properties=[],de.each(_e,function(Fe,Ue){Ve.properties.push(he(Fe,Ue,Ve.path))});break}return Ve}oe.exports=he},function(oe,ie,le){oe.exports=le(26)},function(oe,ie,le){var ue=le(2),de=le(3),pe=le(23);function he(Ie,Ve){for(var Fe=pe(Ie),Ue=_e.diff(Fe,Ve),qe=0;qe<Ue.length;qe++);return Ue}var _e={diff:function(Ve,Fe,Ue){var qe=[];return this.name(Ve,Fe,Ue,qe)&&this.type(Ve,Fe,Ue,qe)&&(this.value(Ve,Fe,Ue,qe),this.properties(Ve,Fe,Ue,qe),this.items(Ve,Fe,Ue,qe)),qe},name:function(Ie,Ve,Fe,Ue){var qe=Ue.length;return $e.equal("name",Ie.path,Fe+"",Ie.name+"",Ue),Ue.length===qe},type:function(Ie,Ve,Fe,Ue){var qe=Ue.length;switch(Ie.type){case"string":if(Ie.template.match(ue.RE_PLACEHOLDER))return!0;break;case"array":if(Ie.rule.parameters&&(Ie.rule.min!==void 0&&Ie.rule.max===void 0&&Ie.rule.count===1||Ie.rule.parameters[2]))return!0;break;case"function":return!0}return $e.equal("type",Ie.path,de.type(Ve),Ie.type,Ue),Ue.length===qe},value:function(Ie,Ve,Fe,Ue){var qe=Ue.length,Et=Ie.rule,At=Ie.type;if(At==="object"||At==="array"||At==="function")return!0;if(!Et.parameters){switch(At){case"regexp":return $e.match("value",Ie.path,Ve,Ie.template,Ue),Ue.length===qe;case"string":if(Ie.template.match(ue.RE_PLACEHOLDER))return Ue.length===qe;break}return $e.equal("value",Ie.path,Ve,Ie.template,Ue),Ue.length===qe}var Lt;switch(At){case"number":var hn=(Ve+"").split(".");hn[0]=+hn[0],Et.min!==void 0&&Et.max!==void 0&&($e.greaterThanOrEqualTo("value",Ie.path,hn[0],Math.min(Et.min,Et.max),Ue),$e.lessThanOrEqualTo("value",Ie.path,hn[0],Math.max(Et.min,Et.max),Ue)),Et.min!==void 0&&Et.max===void 0&&$e.equal("value",Ie.path,hn[0],Et.min,Ue,"[value] "+Fe),Et.decimal&&(Et.dmin!==void 0&&Et.dmax!==void 0&&($e.greaterThanOrEqualTo("value",Ie.path,hn[1].length,Et.dmin,Ue),$e.lessThanOrEqualTo("value",Ie.path,hn[1].length,Et.dmax,Ue)),Et.dmin!==void 0&&Et.dmax===void 0&&$e.equal("value",Ie.path,hn[1].length,Et.dmin,Ue));break;case"boolean":break;case"string":Lt=Ve.match(new RegExp(Ie.template,"g")),Lt=Lt?Lt.length:0,Et.min!==void 0&&Et.max!==void 0&&($e.greaterThanOrEqualTo("repeat count",Ie.path,Lt,Et.min,Ue),$e.lessThanOrEqualTo("repeat count",Ie.path,Lt,Et.max,Ue)),Et.min!==void 0&&Et.max===void 0&&$e.equal("repeat count",Ie.path,Lt,Et.min,Ue);break;case"regexp":Lt=Ve.match(new RegExp(Ie.template.source.replace(/^\^|\$$/g,""),"g")),Lt=Lt?Lt.length:0,Et.min!==void 0&&Et.max!==void 0&&($e.greaterThanOrEqualTo("repeat count",Ie.path,Lt,Et.min,Ue),$e.lessThanOrEqualTo("repeat count",Ie.path,Lt,Et.max,Ue)),Et.min!==void 0&&Et.max===void 0&&$e.equal("repeat count",Ie.path,Lt,Et.min,Ue);break}return Ue.length===qe},properties:function(Ie,Ve,Fe,Ue){var qe=Ue.length,Et=Ie.rule,At=de.keys(Ve);if(Ie.properties){if(Ie.rule.parameters?(Et.min!==void 0&&Et.max!==void 0&&($e.greaterThanOrEqualTo("properties length",Ie.path,At.length,Math.min(Et.min,Et.max),Ue),$e.lessThanOrEqualTo("properties length",Ie.path,At.length,Math.max(Et.min,Et.max),Ue)),Et.min!==void 0&&Et.max===void 0&&Et.count!==1&&$e.equal("properties length",Ie.path,At.length,Et.min,Ue)):$e.equal("properties length",Ie.path,At.length,Ie.properties.length,Ue),Ue.length!==qe)return!1;for(var Lt=0;Lt<At.length;Lt++)Ue.push.apply(Ue,this.diff(function(){var hn;return de.each(Ie.properties,function(vn){vn.name===At[Lt]&&(hn=vn)}),hn||Ie.properties[Lt]}(),Ve[At[Lt]],At[Lt]));return Ue.length===qe}},items:function(Ie,Ve,Fe,Ue){var qe=Ue.length;if(Ie.items){var Et=Ie.rule;if(!Ie.rule.parameters)$e.equal("items length",Ie.path,Ve.length,Ie.items.length,Ue);else{if(Et.min!==void 0&&Et.max!==void 0&&($e.greaterThanOrEqualTo("items",Ie.path,Ve.length,Math.min(Et.min,Et.max)*Ie.items.length,Ue,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),$e.lessThanOrEqualTo("items",Ie.path,Ve.length,Math.max(Et.min,Et.max)*Ie.items.length,Ue,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),Et.min!==void 0&&Et.max===void 0){if(Et.count===1)return Ue.length===qe;$e.equal("items length",Ie.path,Ve.length,Et.min*Ie.items.length,Ue)}if(Et.parameters[2])return Ue.length===qe}if(Ue.length!==qe)return!1;for(var At=0;At<Ve.length;At++)Ue.push.apply(Ue,this.diff(Ie.items[At%Ie.items.length],Ve[At],At%Ie.items.length));return Ue.length===qe}}},$e={message:function(Ie){return(Ie.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",Ie.type.toUpperCase()).replace("{ltype}",Ie.type.toLowerCase()).replace("{path}",de.isArray(Ie.path)&&Ie.path.join(".")||Ie.path).replace("{action}",Ie.action).replace("{expected}",Ie.expected).replace("{actual}",Ie.actual)},equal:function(Ie,Ve,Fe,Ue,qe,Et){if(Fe===Ue)return!0;switch(Ie){case"type":if(Ue==="regexp"&&Fe==="string")return!0;break}var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"is equal to",message:Et};return At.message=$e.message(At),qe.push(At),!1},match:function(Ie,Ve,Fe,Ue,qe,Et){if(Ue.test(Fe))return!0;var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"matches",message:Et};return At.message=$e.message(At),qe.push(At),!1},notEqual:function(Ie,Ve,Fe,Ue,qe,Et){if(Fe!==Ue)return!0;var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"is not equal to",message:Et};return At.message=$e.message(At),qe.push(At),!1},greaterThan:function(Ie,Ve,Fe,Ue,qe,Et){if(Fe>Ue)return!0;var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"is greater than",message:Et};return At.message=$e.message(At),qe.push(At),!1},lessThan:function(Ie,Ve,Fe,Ue,qe,Et){if(Fe<Ue)return!0;var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"is less to",message:Et};return At.message=$e.message(At),qe.push(At),!1},greaterThanOrEqualTo:function(Ie,Ve,Fe,Ue,qe,Et){if(Fe>=Ue)return!0;var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"is greater than or equal to",message:Et};return At.message=$e.message(At),qe.push(At),!1},lessThanOrEqualTo:function(Ie,Ve,Fe,Ue,qe,Et){if(Fe<=Ue)return!0;var At={path:Ve,type:Ie,actual:Fe,expected:Ue,action:"is less than or equal to",message:Et};return At.message=$e.message(At),qe.push(At),!1}};he.Diff=_e,he.Assert=$e,oe.exports=he},function(oe,ie,le){oe.exports=le(28)},function(oe,ie,le){var ue=le(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(Et,At,Lt,hn){var vn=document.createEvent("CustomEvent");return vn.initCustomEvent(Et,At,Lt,hn),vn}}var de={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},pe="readystatechange loadstart progress abort error load timeout loadend".split(" "),he="timeout withCredentials".split(" "),_e="readyState responseURL status statusText responseType response responseText responseXML".split(" "),$e={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function Ie(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}Ie._settings={timeout:"10-100"},Ie.setup=function(qe){return ue.extend(Ie._settings,qe),Ie._settings},ue.extend(Ie,de),ue.extend(Ie.prototype,de),Ie.prototype.mock=!0,Ie.prototype.match=!1,ue.extend(Ie.prototype,{open:function(qe,Et,At,Lt,hn){var vn=this;ue.extend(this.custom,{method:qe,url:Et,async:typeof At=="boolean"?At:!0,username:Lt,password:hn,options:{url:Et,type:qe}}),this.custom.timeout=function(wn){if(typeof wn=="number")return wn;if(typeof wn=="string"&&!~wn.indexOf("-"))return parseInt(wn,10);if(typeof wn=="string"&&~wn.indexOf("-")){var xn=wn.split("-"),kn=parseInt(xn[0],10),Pn=parseInt(xn[1],10);return Math.round(Math.random()*(Pn-kn))+kn}}(Ie._settings.timeout);var _n=Fe(this.custom.options);function bn(wn){for(var xn=0;xn<_e.length;xn++)try{vn[_e[xn]]=Sn[_e[xn]]}catch{}vn.dispatchEvent(new Event(wn.type))}if(!_n){var Sn=Ve();this.custom.xhr=Sn;for(var Cn=0;Cn<pe.length;Cn++)Sn.addEventListener(pe[Cn],bn);Lt?Sn.open(qe,Et,At,Lt,hn):Sn.open(qe,Et,At);for(var En=0;En<he.length;En++)try{Sn[he[En]]=vn[he[En]]}catch{}return}this.match=!0,this.custom.template=_n,this.readyState=Ie.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(qe,Et){if(!this.match){this.custom.xhr.setRequestHeader(qe,Et);return}var At=this.custom.requestHeaders;At[qe]?At[qe]+=","+Et:At[qe]=Et},timeout:0,withCredentials:!1,upload:{},send:function(Et){var At=this;if(this.custom.options.body=Et,!this.match){this.custom.xhr.send(Et);return}this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(Lt,this.custom.timeout):Lt();function Lt(){At.readyState=Ie.HEADERS_RECEIVED,At.dispatchEvent(new Event("readystatechange")),At.readyState=Ie.LOADING,At.dispatchEvent(new Event("readystatechange")),At.status=200,At.statusText=$e[200],At.response=At.responseText=JSON.stringify(Ue(At.custom.template,At.custom.options),null,4),At.readyState=Ie.DONE,At.dispatchEvent(new Event("readystatechange")),At.dispatchEvent(new Event("load")),At.dispatchEvent(new Event("loadend"))}},abort:function(){if(!this.match){this.custom.xhr.abort();return}this.readyState=Ie.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))}}),ue.extend(Ie.prototype,{responseURL:"",status:Ie.UNSENT,statusText:"",getResponseHeader:function(qe){return this.match?this.custom.responseHeaders[qe.toLowerCase()]:this.custom.xhr.getResponseHeader(qe)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var qe=this.custom.responseHeaders,Et="";for(var At in qe)qe.hasOwnProperty(At)&&(Et+=At+": "+qe[At]+`\r
`);return Et},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),ue.extend(Ie.prototype,{addEventListener:function(Et,At){var Lt=this.custom.events;Lt[Et]||(Lt[Et]=[]),Lt[Et].push(At)},removeEventListener:function(Et,At){for(var Lt=this.custom.events[Et]||[],hn=0;hn<Lt.length;hn++)Lt[hn]===At&&Lt.splice(hn--,1)},dispatchEvent:function(Et){for(var At=this.custom.events[Et.type]||[],Lt=0;Lt<At.length;Lt++)At[Lt].call(this,Et);var hn="on"+Et.type;this[hn]&&this[hn](Et)}});function Ve(){var qe=function(){var Lt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,hn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,vn=location.href,_n=hn.exec(vn.toLowerCase())||[];return Lt.test(_n[1])}();return window.ActiveXObject?!qe&&Et()||At():Et();function Et(){try{return new window._XMLHttpRequest}catch{}}function At(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function Fe(qe){for(var Et in Ie.Mock._mocked){var At=Ie.Mock._mocked[Et];if((!At.rurl||Lt(At.rurl,qe.url))&&(!At.rtype||Lt(At.rtype,qe.type.toLowerCase())))return At}function Lt(hn,vn){if(ue.type(hn)==="string")return hn===vn;if(ue.type(hn)==="regexp")return hn.test(vn)}}function Ue(qe,Et){return ue.isFunction(qe.template)?qe.template(Et):Ie.Mock.mock(qe.template)}oe.exports=Ie}])})})(mock);var mockExports=mock.exports;const mockJs=getDefaultExportFromCjs(mockExports);function lexer(oe){for(var ie=[],le=0;le<oe.length;){var ue=oe[le];if(ue==="*"||ue==="+"||ue==="?"){ie.push({type:"MODIFIER",index:le,value:oe[le++]});continue}if(ue==="\\"){ie.push({type:"ESCAPED_CHAR",index:le++,value:oe[le++]});continue}if(ue==="{"){ie.push({type:"OPEN",index:le,value:oe[le++]});continue}if(ue==="}"){ie.push({type:"CLOSE",index:le,value:oe[le++]});continue}if(ue===":"){for(var de="",pe=le+1;pe<oe.length;){var he=oe.charCodeAt(pe);if(he>=48&&he<=57||he>=65&&he<=90||he>=97&&he<=122||he===95){de+=oe[pe++];continue}break}if(!de)throw new TypeError("Missing parameter name at ".concat(le));ie.push({type:"NAME",index:le,value:de}),le=pe;continue}if(ue==="("){var _e=1,$e="",pe=le+1;if(oe[pe]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(pe));for(;pe<oe.length;){if(oe[pe]==="\\"){$e+=oe[pe++]+oe[pe++];continue}if(oe[pe]===")"){if(_e--,_e===0){pe++;break}}else if(oe[pe]==="("&&(_e++,oe[pe+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(pe));$e+=oe[pe++]}if(_e)throw new TypeError("Unbalanced pattern at ".concat(le));if(!$e)throw new TypeError("Missing pattern at ".concat(le));ie.push({type:"PATTERN",index:le,value:$e}),le=pe;continue}ie.push({type:"CHAR",index:le,value:oe[le++]})}return ie.push({type:"END",index:le,value:""}),ie}function parse(oe,ie){ie===void 0&&(ie={});for(var le=lexer(oe),ue=ie.prefixes,de=ue===void 0?"./":ue,pe="[^".concat(escapeString(ie.delimiter||"/#?"),"]+?"),he=[],_e=0,$e=0,Ie="",Ve=function(Cn){if($e<le.length&&le[$e].type===Cn)return le[$e++].value},Fe=function(Cn){var En=Ve(Cn);if(En!==void 0)return En;var wn=le[$e],xn=wn.type,kn=wn.index;throw new TypeError("Unexpected ".concat(xn," at ").concat(kn,", expected ").concat(Cn))},Ue=function(){for(var Cn="",En;En=Ve("CHAR")||Ve("ESCAPED_CHAR");)Cn+=En;return Cn};$e<le.length;){var qe=Ve("CHAR"),Et=Ve("NAME"),At=Ve("PATTERN");if(Et||At){var Lt=qe||"";de.indexOf(Lt)===-1&&(Ie+=Lt,Lt=""),Ie&&(he.push(Ie),Ie=""),he.push({name:Et||_e++,prefix:Lt,suffix:"",pattern:At||pe,modifier:Ve("MODIFIER")||""});continue}var hn=qe||Ve("ESCAPED_CHAR");if(hn){Ie+=hn;continue}Ie&&(he.push(Ie),Ie="");var vn=Ve("OPEN");if(vn){var Lt=Ue(),_n=Ve("NAME")||"",bn=Ve("PATTERN")||"",Sn=Ue();Fe("CLOSE"),he.push({name:_n||(bn?_e++:""),pattern:_n&&!bn?pe:bn,prefix:Lt,suffix:Sn,modifier:Ve("MODIFIER")||""});continue}Fe("END")}return he}function escapeString(oe){return oe.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(oe){return oe&&oe.sensitive?"":"i"}function regexpToRegexp(oe,ie){if(!ie)return oe;for(var le=/\((?:\?<(.*?)>)?(?!\?)/g,ue=0,de=le.exec(oe.source);de;)ie.push({name:de[1]||ue++,prefix:"",suffix:"",modifier:"",pattern:""}),de=le.exec(oe.source);return oe}function arrayToRegexp(oe,ie,le){var ue=oe.map(function(de){return pathToRegexp(de,ie,le).source});return new RegExp("(?:".concat(ue.join("|"),")"),flags(le))}function stringToRegexp(oe,ie,le){return tokensToRegexp(parse(oe,le),ie,le)}function tokensToRegexp(oe,ie,le){le===void 0&&(le={});for(var ue=le.strict,de=ue===void 0?!1:ue,pe=le.start,he=pe===void 0?!0:pe,_e=le.end,$e=_e===void 0?!0:_e,Ie=le.encode,Ve=Ie===void 0?function(kn){return kn}:Ie,Fe=le.delimiter,Ue=Fe===void 0?"/#?":Fe,qe=le.endsWith,Et=qe===void 0?"":qe,At="[".concat(escapeString(Et),"]|$"),Lt="[".concat(escapeString(Ue),"]"),hn=he?"^":"",vn=0,_n=oe;vn<_n.length;vn++){var bn=_n[vn];if(typeof bn=="string")hn+=escapeString(Ve(bn));else{var Sn=escapeString(Ve(bn.prefix)),Cn=escapeString(Ve(bn.suffix));if(bn.pattern)if(ie&&ie.push(bn),Sn||Cn)if(bn.modifier==="+"||bn.modifier==="*"){var En=bn.modifier==="*"?"?":"";hn+="(?:".concat(Sn,"((?:").concat(bn.pattern,")(?:").concat(Cn).concat(Sn,"(?:").concat(bn.pattern,"))*)").concat(Cn,")").concat(En)}else hn+="(?:".concat(Sn,"(").concat(bn.pattern,")").concat(Cn,")").concat(bn.modifier);else bn.modifier==="+"||bn.modifier==="*"?hn+="((?:".concat(bn.pattern,")").concat(bn.modifier,")"):hn+="(".concat(bn.pattern,")").concat(bn.modifier);else hn+="(?:".concat(Sn).concat(Cn,")").concat(bn.modifier)}}if($e)de||(hn+="".concat(Lt,"?")),hn+=le.endsWith?"(?=".concat(At,")"):"$";else{var wn=oe[oe.length-1],xn=typeof wn=="string"?Lt.indexOf(wn[wn.length-1])>-1:wn===void 0;de||(hn+="(?:".concat(Lt,"(?=").concat(At,"))?")),xn||(hn+="(?=".concat(Lt,"|").concat(At,")"))}return new RegExp(hn,flags(le))}function pathToRegexp(oe,ie,le){return oe instanceof RegExp?regexpToRegexp(oe,ie):Array.isArray(oe)?arrayToRegexp(oe,ie,le):stringToRegexp(oe,ie,le)}const Mock=mockJs;function createProdMockServer(oe){Mock.XHR.prototype.__send=Mock.XHR.prototype.send,Mock.XHR.prototype.send=function(){if(this.custom.xhr&&(this.custom.xhr.withCredentials=this.withCredentials||!1,this.responseType&&(this.custom.xhr.responseType=this.responseType)),this.custom.requestHeaders){const ie={};for(let le in this.custom.requestHeaders)ie[le.toString().toLowerCase()]=this.custom.requestHeaders[le];this.custom.options=Object.assign({},this.custom.options,{headers:ie})}this.__send.apply(this,arguments)},Mock.XHR.prototype.proxy_open=Mock.XHR.prototype.open,Mock.XHR.prototype.open=function(){let ie=this.responseType;this.proxy_open(...arguments),this.custom.xhr&&ie&&(this.custom.xhr.responseType=ie)};for(const{url:ie,method:le,response:ue,timeout:de}of oe)__setupMock__(de),Mock.mock(pathToRegexp(ie,void 0,{end:!1}),le||"get",__XHR2ExpressReqWrapper__(ue))}function __param2Obj__(oe){const ie=oe.split("?")[1];return ie?JSON.parse('{"'+decodeURIComponent(ie).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"').replace(/\+/g," ")+'"}'):{}}function __XHR2ExpressReqWrapper__(oe){return function(ie){let le=null;if(typeof oe=="function"){const{body:ue,type:de,url:pe,headers:he}=ie;let _e=ue;try{_e=JSON.parse(ue)}catch{}le=oe({method:de,body:_e,query:__param2Obj__(pe),headers:he})}else le=oe;return Mock.mock(le)}}function __setupMock__(oe=0){oe&&Mock.setup({timeout:oe})}const modules=Object.assign({"../mock/asyncRoutes.ts":__vite_glob_0_0,"../mock/list.ts":__vite_glob_0_1,"../mock/login.ts":__vite_glob_0_2,"../mock/map.ts":__vite_glob_0_3,"../mock/refreshToken.ts":__vite_glob_0_4,"../mock/system.ts":__vite_glob_0_5}),mockModules=[];Object.keys(modules).forEach(oe=>{mockModules.push(...modules[oe].default)});function setupProdMockServer(){createProdMockServer(mockModules)}const app=createApp(App);Object.keys(directives).forEach(oe=>{app.directive(oe,directives[oe])});app.component("IconifyIconOffline",IconifyIconOffline);app.component("IconifyIconOnline",IconifyIconOnline);app.component("FontIcon",FontIcon);app.component("Auth",Auth);getServerConfig(app).then(async oe=>{app.use(router),await router.isReady(),injectResponsiveStorage(app,oe),setupStore(app),app.use(MotionPlugin).use(useI18n).use(installer).use(Pe).use(I).use(useEcharts),app.mount("#app")});setupProdMockServer();export{onBeforeUpdate as $,axios$1 as A,Bn as B,_t as C,toRef$1 as D,en as E,Fragment as F,computed as G,Hn as H,watch as I,normalizeStyle$1 as J,markRaw as K,tn as L,usePermissionStoreHook as M,extractPathList as N,On as O,transformI18n as P,deleteChildren as Q,h$3 as R,q$1 as S,vt as T,Rn as U,getDefaultExportFromCjs as V,resolveDynamicComponent as W,zn as X,onUpdated as Y,provide as Z,_export_sfc as _,ro as a,tryOnMounted as a$,normalizeProps as a0,guardReactiveProps as a1,useI18n$1 as a2,commonjsGlobal as a3,ElInfiniteScroll as a4,useRouter as a5,addDialog as a6,updateDialog as a7,closeDialog as a8,closeAllDialog as a9,D$1 as aA,defineStore as aB,nr as aC,responsiveStorageNameSpace as aD,getConfig as aE,store as aF,FontIcon as aG,IconifyIconOffline as aH,IconifyIconOnline as aI,A as aJ,withScopeId as aK,shallowReactive as aL,toHandlers as aM,getAugmentedNamespace as aN,vue_runtime_esmBundler as aO,useVModel as aP,createStaticVNode as aQ,useResizeObserver as aR,$ as aS,longpress as aT,ElUpload as aU,Tn as aV,B as aW,Qe as aX,Ze as aY,Ge as aZ,templateRef as a_,hot as aa,closeAllMessage as ab,Yr as ac,getCurrentInstance as ad,toRefs as ae,onUnmounted as af,renderSlot as ag,useCssVars as ah,getCurrentScope as ai,onScopeDispose as aj,inject as ak,reactive as al,ElLoading as am,withModifiers as an,mergeProps as ao,$n as ap,http as aq,onBeforeMount as ar,TransitionGroup as as,normalizeClass as at,isRef as au,isReactive as av,isVNode$1 as aw,render$4 as ax,to as ay,useIntervalFn as az,onBeforeUnmount as b,tryOnUnmounted as b0,useDebounceFn as b1,Teleport as b2,createApp as b3,withKeys as b4,shallowRef as b5,watchEffect as b6,toRaw as b7,ElCol as b8,useRoute as b9,useUserStoreHook as bA,router as bB,remainingPaths as bC,cloneVNode as bD,useWindowSize as bE,dayjs as bF,rn as bG,LinearGradient$1 as bH,ElMessageBox as bI,Be$1 as bJ,initRouter as bK,getAuths as bL,hasAuth as bM,He as bN,handleTree as bO,Sr as bP,appendFieldByUniqueId as bQ,getNodeByUniqueId as bR,Nt as bS,addIcon$1 as ba,onKeyStroke as bb,N as bc,getParentPaths as bd,findRouteByPath as be,useMultiTagsStoreHook as bf,Xt as bg,$t as bh,data$1 as bi,useEventListener as bj,Le as bk,z as bl,getTopMenu as bm,useFullscreen as bn,Transition as bo,handleAliveRoute as bp,data as bq,routerArrays as br,Ct as bs,KeepAlive as bt,onClickOutside as bu,removeToken as bv,rr as bw,resetRouter as bx,useMultiTagsStore as by,storeToRefs as bz,resolveComponent as c,defineComponent as d,resolveDirective as e,createBlock as f,openBlock as g,createBaseVNode as h,createTextVNode as i,createVNode as j,createCommentVNode as k,withDirectives as l,popScopeId as m,createElementBlock as n,onMounted as o,pushScopeId as p,message as q,ref as r,mo as s,toDisplayString$1 as t,unref as u,vShow as v,withCtx as w,nextTick as x,renderList as y,zt as z};