mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 17:37:24 +08:00
527 lines
2.5 MiB
527 lines
2.5 MiB
var Fi=Object.defineProperty;var zi=($,z,ie)=>z in $?Fi($,z,{enumerable:!0,configurable:!0,writable:!0,value:ie}):$[z]=ie;var ro=($,z,ie)=>(zi($,typeof z!="symbol"?z+"":z,ie),ie);(function(){const z=document.createElement("link").relList;if(z&&z.supports&&z.supports("modulepreload"))return;for(const ue of document.querySelectorAll('link[rel="modulepreload"]'))le(ue);new MutationObserver(ue=>{for(const pe of ue)if(pe.type==="childList")for(const _e of pe.addedNodes)_e.tagName==="LINK"&&_e.rel==="modulepreload"&&le(_e)}).observe(document,{childList:!0,subtree:!0});function ie(ue){const pe={};return ue.integrity&&(pe.integrity=ue.integrity),ue.referrerPolicy&&(pe.referrerPolicy=ue.referrerPolicy),ue.crossOrigin==="use-credentials"?pe.credentials="include":ue.crossOrigin==="anonymous"?pe.credentials="omit":pe.credentials="same-origin",pe}function le(ue){if(ue.ep)return;ue.ep=!0;const pe=ie(ue);fetch(ue.href,pe)}})();function makeMap($,z){const ie=Object.create(null),le=$.split(",");for(let ue=0;ue<le.length;ue++)ie[le[ue]]=!0;return z?ue=>!!ie[ue.toLowerCase()]:ue=>!!ie[ue]}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=$=>onRE.test($),isModelListener=$=>$.startsWith("onUpdate:"),extend$2=Object.assign,remove=($,z)=>{const ie=$.indexOf(z);ie>-1&&$.splice(ie,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$4=($,z)=>hasOwnProperty$g.call($,z),isArray$c=Array.isArray,isMap$3=$=>toTypeString$1($)==="[object Map]",isSet$3=$=>toTypeString$1($)==="[object Set]",isDate$3=$=>toTypeString$1($)==="[object Date]",isRegExp$5=$=>toTypeString$1($)==="[object RegExp]",isFunction$5=$=>typeof $=="function",isString$6=$=>typeof $=="string",isSymbol$2=$=>typeof $=="symbol",isObject$9=$=>$!==null&&typeof $=="object",isPromise=$=>isObject$9($)&&isFunction$5($.then)&&isFunction$5($.catch),objectToString$3=Object.prototype.toString,toTypeString$1=$=>objectToString$3.call($),toRawType=$=>toTypeString$1($).slice(8,-1),isPlainObject$4=$=>toTypeString$1($)==="[object Object]",isIntegerKey=$=>isString$6($)&&$!=="NaN"&&$[0]!=="-"&&""+parseInt($,10)===$,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=$=>{const z=Object.create(null);return ie=>z[ie]||(z[ie]=$(ie))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction($=>$.replace(camelizeRE,(z,ie)=>ie?ie.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction($=>$.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$2=cacheStringFunction($=>$.charAt(0).toUpperCase()+$.slice(1)),toHandlerKey=cacheStringFunction($=>$?`on${capitalize$2($)}`:""),hasChanged=($,z)=>!Object.is($,z),invokeArrayFns=($,z)=>{for(let ie=0;ie<$.length;ie++)$[ie](z)},def=($,z,ie)=>{Object.defineProperty($,z,{configurable:!0,enumerable:!1,value:ie})},looseToNumber=$=>{const z=parseFloat($);return isNaN(z)?$:z},toNumber$1=$=>{const z=isString$6($)?Number($):NaN;return isNaN(z)?$:z};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($){if(isArray$c($)){const z={};for(let ie=0;ie<$.length;ie++){const le=$[ie],ue=isString$6(le)?parseStringStyle(le):normalizeStyle$1(le);if(ue)for(const pe in ue)z[pe]=ue[pe]}return z}else{if(isString$6($))return $;if(isObject$9($))return $}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle($){const z={};return $.replace(styleCommentRE,"").split(listDelimiterRE).forEach(ie=>{if(ie){const le=ie.split(propertyDelimiterRE);le.length>1&&(z[le[0].trim()]=le[1].trim())}}),z}function normalizeClass($){let z="";if(isString$6($))z=$;else if(isArray$c($))for(let ie=0;ie<$.length;ie++){const le=normalizeClass($[ie]);le&&(z+=le+" ")}else if(isObject$9($))for(const ie in $)$[ie]&&(z+=ie+" ");return z.trim()}function normalizeProps($){if(!$)return null;let{class:z,style:ie}=$;return z&&!isString$6(z)&&($.class=normalizeClass(z)),ie&&($.style=normalizeStyle$1(ie)),$}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($){return!!$||$===""}function looseCompareArrays($,z){if($.length!==z.length)return!1;let ie=!0;for(let le=0;ie&&le<$.length;le++)ie=looseEqual($[le],z[le]);return ie}function looseEqual($,z){if($===z)return!0;let ie=isDate$3($),le=isDate$3(z);if(ie||le)return ie&&le?$.getTime()===z.getTime():!1;if(ie=isSymbol$2($),le=isSymbol$2(z),ie||le)return $===z;if(ie=isArray$c($),le=isArray$c(z),ie||le)return ie&&le?looseCompareArrays($,z):!1;if(ie=isObject$9($),le=isObject$9(z),ie||le){if(!ie||!le)return!1;const ue=Object.keys($).length,pe=Object.keys(z).length;if(ue!==pe)return!1;for(const _e in $){const Ce=$.hasOwnProperty(_e),$e=z.hasOwnProperty(_e);if(Ce&&!$e||!Ce&&$e||!looseEqual($[_e],z[_e]))return!1}}return String($)===String(z)}function looseIndexOf($,z){return $.findIndex(ie=>looseEqual(ie,z))}const toDisplayString$1=$=>isString$6($)?$:$==null?"":isArray$c($)||isObject$9($)&&($.toString===objectToString$3||!isFunction$5($.toString))?JSON.stringify($,replacer,2):String($),replacer=($,z)=>z&&z.__v_isRef?replacer($,z.value):isMap$3(z)?{[`Map(${z.size})`]:[...z.entries()].reduce((ie,[le,ue])=>(ie[`${le} =>`]=ue,ie),{})}:isSet$3(z)?{[`Set(${z.size})`]:[...z.values()]}:isObject$9(z)&&!isArray$c(z)&&!isPlainObject$4(z)?String(z):z;let activeEffectScope;class EffectScope{constructor(z=!1){this.detached=z,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!z&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(z){if(this._active){const ie=activeEffectScope;try{return activeEffectScope=this,z()}finally{activeEffectScope=ie}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(z){if(this._active){let ie,le;for(ie=0,le=this.effects.length;ie<le;ie++)this.effects[ie].stop();for(ie=0,le=this.cleanups.length;ie<le;ie++)this.cleanups[ie]();if(this.scopes)for(ie=0,le=this.scopes.length;ie<le;ie++)this.scopes[ie].stop(!0);if(!this.detached&&this.parent&&!z){const ue=this.parent.scopes.pop();ue&&ue!==this&&(this.parent.scopes[this.index]=ue,ue.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope($){return new EffectScope($)}function recordEffectScope($,z=activeEffectScope){z&&z.active&&z.effects.push($)}function getCurrentScope(){return activeEffectScope}function onScopeDispose($){activeEffectScope&&activeEffectScope.cleanups.push($)}const createDep=$=>{const z=new Set($);return z.w=0,z.n=0,z},wasTracked=$=>($.w&trackOpBit)>0,newTracked=$=>($.n&trackOpBit)>0,initDepMarkers=({deps:$})=>{if($.length)for(let z=0;z<$.length;z++)$[z].w|=trackOpBit},finalizeDepMarkers=$=>{const{deps:z}=$;if(z.length){let ie=0;for(let le=0;le<z.length;le++){const ue=z[le];wasTracked(ue)&&!newTracked(ue)?ue.delete($):z[ie++]=ue,ue.w&=~trackOpBit,ue.n&=~trackOpBit}z.length=ie}},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(z,ie=null,le){this.fn=z,this.scheduler=ie,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,le)}run(){if(!this.active)return this.fn();let z=activeEffect,ie=shouldTrack;for(;z;){if(z===this)return;z=z.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=ie,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($){const{deps:z}=$;if(z.length){for(let ie=0;ie<z.length;ie++)z[ie].delete($);z.length=0}}function effect($,z){$.effect&&($=$.effect.fn);const ie=new ReactiveEffect($);z&&(extend$2(ie,z),z.scope&&recordEffectScope(ie,z.scope)),(!z||!z.lazy)&&ie.run();const le=ie.run.bind(ie);return le.effect=ie,le}function stop$1($){$.effect.stop()}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const $=trackStack.pop();shouldTrack=$===void 0?!0:$}function track($,z,ie){if(shouldTrack&&activeEffect){let le=targetMap.get($);le||targetMap.set($,le=new Map);let ue=le.get(ie);ue||le.set(ie,ue=createDep()),trackEffects(ue)}}function trackEffects($,z){let ie=!1;effectTrackDepth<=maxMarkerBits?newTracked($)||($.n|=trackOpBit,ie=!wasTracked($)):ie=!$.has(activeEffect),ie&&($.add(activeEffect),activeEffect.deps.push($))}function trigger$2($,z,ie,le,ue,pe){const _e=targetMap.get($);if(!_e)return;let Ce=[];if(z==="clear")Ce=[..._e.values()];else if(ie==="length"&&isArray$c($)){const $e=Number(le);_e.forEach((xe,Ie)=>{(Ie==="length"||Ie>=$e)&&Ce.push(xe)})}else switch(ie!==void 0&&Ce.push(_e.get(ie)),z){case"add":isArray$c($)?isIntegerKey(ie)&&Ce.push(_e.get("length")):(Ce.push(_e.get(ITERATE_KEY)),isMap$3($)&&Ce.push(_e.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$c($)||(Ce.push(_e.get(ITERATE_KEY)),isMap$3($)&&Ce.push(_e.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$3($)&&Ce.push(_e.get(ITERATE_KEY));break}if(Ce.length===1)Ce[0]&&triggerEffects(Ce[0]);else{const $e=[];for(const xe of Ce)xe&&$e.push(...xe);triggerEffects(createDep($e))}}function triggerEffects($,z){const ie=isArray$c($)?$:[...$];for(const le of ie)le.computed&&triggerEffect(le);for(const le of ie)le.computed||triggerEffect(le)}function triggerEffect($,z){($!==activeEffect||$.allowRecurse)&&($.scheduler?$.scheduler():$.run())}function getDepFromReactive($,z){var ie;return(ie=targetMap.get($))==null?void 0:ie.get(z)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter($=>$!=="arguments"&&$!=="caller").map($=>Symbol[$]).filter(isSymbol$2)),get$1$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),shallowReadonlyGet=createGetter(!0,!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const $={};return["includes","indexOf","lastIndexOf"].forEach(z=>{$[z]=function(...ie){const le=toRaw(this);for(let pe=0,_e=this.length;pe<_e;pe++)track(le,"get",pe+"");const ue=le[z](...ie);return ue===-1||ue===!1?le[z](...ie.map(toRaw)):ue}}),["push","pop","shift","unshift","splice"].forEach(z=>{$[z]=function(...ie){pauseTracking();const le=toRaw(this)[z].apply(this,ie);return resetTracking(),le}}),$}function hasOwnProperty$f($){const z=toRaw(this);return track(z,"has",$),z.hasOwnProperty($)}function createGetter($=!1,z=!1){return function(le,ue,pe){if(ue==="__v_isReactive")return!$;if(ue==="__v_isReadonly")return $;if(ue==="__v_isShallow")return z;if(ue==="__v_raw"&&pe===($?z?shallowReadonlyMap:readonlyMap:z?shallowReactiveMap:reactiveMap).get(le))return le;const _e=isArray$c(le);if(!$){if(_e&&hasOwn$4(arrayInstrumentations,ue))return Reflect.get(arrayInstrumentations,ue,pe);if(ue==="hasOwnProperty")return hasOwnProperty$f}const Ce=Reflect.get(le,ue,pe);return(isSymbol$2(ue)?builtInSymbols.has(ue):isNonTrackableKeys(ue))||($||track(le,"get",ue),z)?Ce:isRef(Ce)?_e&&isIntegerKey(ue)?Ce:Ce.value:isObject$9(Ce)?$?readonly(Ce):reactive(Ce):Ce}}const set$1$1=createSetter(),shallowSet=createSetter(!0);function createSetter($=!1){return function(ie,le,ue,pe){let _e=ie[le];if(isReadonly(_e)&&isRef(_e)&&!isRef(ue))return!1;if(!$&&(!isShallow(ue)&&!isReadonly(ue)&&(_e=toRaw(_e),ue=toRaw(ue)),!isArray$c(ie)&&isRef(_e)&&!isRef(ue)))return _e.value=ue,!0;const Ce=isArray$c(ie)&&isIntegerKey(le)?Number(le)<ie.length:hasOwn$4(ie,le),$e=Reflect.set(ie,le,ue,pe);return ie===toRaw(pe)&&(Ce?hasChanged(ue,_e)&&trigger$2(ie,"set",le,ue):trigger$2(ie,"add",le,ue)),$e}}function deleteProperty($,z){const ie=hasOwn$4($,z);$[z];const le=Reflect.deleteProperty($,z);return le&&ie&&trigger$2($,"delete",z,void 0),le}function has$1$1($,z){const ie=Reflect.has($,z);return(!isSymbol$2(z)||!builtInSymbols.has(z))&&track($,"has",z),ie}function ownKeys($){return track($,"iterate",isArray$c($)?"length":ITERATE_KEY),Reflect.ownKeys($)}const mutableHandlers={get:get$1$1,set:set$1$1,deleteProperty,has:has$1$1,ownKeys},readonlyHandlers={get:readonlyGet,set($,z){return!0},deleteProperty($,z){return!0}},shallowReactiveHandlers=extend$2({},mutableHandlers,{get:shallowGet,set:shallowSet}),shallowReadonlyHandlers=extend$2({},readonlyHandlers,{get:shallowReadonlyGet}),toShallow=$=>$,getProto$1=$=>Reflect.getPrototypeOf($);function get$2($,z,ie=!1,le=!1){$=$.__v_raw;const ue=toRaw($),pe=toRaw(z);ie||(z!==pe&&track(ue,"get",z),track(ue,"get",pe));const{has:_e}=getProto$1(ue),Ce=le?toShallow:ie?toReadonly:toReactive;if(_e.call(ue,z))return Ce($.get(z));if(_e.call(ue,pe))return Ce($.get(pe));$!==ue&&$.get(z)}function has$5($,z=!1){const ie=this.__v_raw,le=toRaw(ie),ue=toRaw($);return z||($!==ue&&track(le,"has",$),track(le,"has",ue)),$===ue?ie.has($):ie.has($)||ie.has(ue)}function size($,z=!1){return $=$.__v_raw,!z&&track(toRaw($),"iterate",ITERATE_KEY),Reflect.get($,"size",$)}function add$1($){$=toRaw($);const z=toRaw(this);return getProto$1(z).has.call(z,$)||(z.add($),trigger$2(z,"add",$,$)),this}function set$3($,z){z=toRaw(z);const ie=toRaw(this),{has:le,get:ue}=getProto$1(ie);let pe=le.call(ie,$);pe||($=toRaw($),pe=le.call(ie,$));const _e=ue.call(ie,$);return ie.set($,z),pe?hasChanged(z,_e)&&trigger$2(ie,"set",$,z):trigger$2(ie,"add",$,z),this}function deleteEntry($){const z=toRaw(this),{has:ie,get:le}=getProto$1(z);let ue=ie.call(z,$);ue||($=toRaw($),ue=ie.call(z,$)),le&&le.call(z,$);const pe=z.delete($);return ue&&trigger$2(z,"delete",$,void 0),pe}function clear$2(){const $=toRaw(this),z=$.size!==0,ie=$.clear();return z&&trigger$2($,"clear",void 0,void 0),ie}function createForEach($,z){return function(le,ue){const pe=this,_e=pe.__v_raw,Ce=toRaw(_e),$e=z?toShallow:$?toReadonly:toReactive;return!$&&track(Ce,"iterate",ITERATE_KEY),_e.forEach((xe,Ie)=>le.call(ue,$e(xe),$e(Ie),pe))}}function createIterableMethod($,z,ie){return function(...le){const ue=this.__v_raw,pe=toRaw(ue),_e=isMap$3(pe),Ce=$==="entries"||$===Symbol.iterator&&_e,$e=$==="keys"&&_e,xe=ue[$](...le),Ie=ie?toShallow:z?toReadonly:toReactive;return!z&&track(pe,"iterate",$e?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:Ve,done:ze}=xe.next();return ze?{value:Ve,done:ze}:{value:Ce?[Ie(Ve[0]),Ie(Ve[1])]:Ie(Ve),done:ze}},[Symbol.iterator](){return this}}}}function createReadonlyMethod($){return function(...z){return $==="delete"?!1:this}}function createInstrumentations(){const $={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)},z={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)},ie={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)},le={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=>{$[pe]=createIterableMethod(pe,!1,!1),ie[pe]=createIterableMethod(pe,!0,!1),z[pe]=createIterableMethod(pe,!1,!0),le[pe]=createIterableMethod(pe,!0,!0)}),[$,ie,z,le]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter($,z){const ie=z?$?shallowReadonlyInstrumentations:shallowInstrumentations:$?readonlyInstrumentations:mutableInstrumentations;return(le,ue,pe)=>ue==="__v_isReactive"?!$:ue==="__v_isReadonly"?$:ue==="__v_raw"?le:Reflect.get(hasOwn$4(ie,ue)&&ue in le?ie:le,ue,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($){switch($){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType($){return $.__v_skip||!Object.isExtensible($)?0:targetTypeMap(toRawType($))}function reactive($){return isReadonly($)?$:createReactiveObject($,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive($){return createReactiveObject($,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly($){return createReactiveObject($,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly($){return createReactiveObject($,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject($,z,ie,le,ue){if(!isObject$9($)||$.__v_raw&&!(z&&$.__v_isReactive))return $;const pe=ue.get($);if(pe)return pe;const _e=getTargetType($);if(_e===0)return $;const Ce=new Proxy($,_e===2?le:ie);return ue.set($,Ce),Ce}function isReactive($){return isReadonly($)?isReactive($.__v_raw):!!($&&$.__v_isReactive)}function isReadonly($){return!!($&&$.__v_isReadonly)}function isShallow($){return!!($&&$.__v_isShallow)}function isProxy($){return isReactive($)||isReadonly($)}function toRaw($){const z=$&&$.__v_raw;return z?toRaw(z):$}function markRaw($){return def($,"__v_skip",!0),$}const toReactive=$=>isObject$9($)?reactive($):$,toReadonly=$=>isObject$9($)?readonly($):$;function trackRefValue($){shouldTrack&&activeEffect&&($=toRaw($),trackEffects($.dep||($.dep=createDep())))}function triggerRefValue($,z){$=toRaw($);const ie=$.dep;ie&&triggerEffects(ie)}function isRef($){return!!($&&$.__v_isRef===!0)}function ref($){return createRef($,!1)}function shallowRef($){return createRef($,!0)}function createRef($,z){return isRef($)?$:new RefImpl($,z)}class RefImpl{constructor(z,ie){this.__v_isShallow=ie,this.dep=void 0,this.__v_isRef=!0,this._rawValue=ie?z:toRaw(z),this._value=ie?z:toReactive(z)}get value(){return trackRefValue(this),this._value}set value(z){const ie=this.__v_isShallow||isShallow(z)||isReadonly(z);z=ie?z:toRaw(z),hasChanged(z,this._rawValue)&&(this._rawValue=z,this._value=ie?z:toReactive(z),triggerRefValue(this))}}function triggerRef($){triggerRefValue($)}function unref($){return isRef($)?$.value:$}function toValue$1($){return isFunction$5($)?$():unref($)}const shallowUnwrapHandlers={get:($,z,ie)=>unref(Reflect.get($,z,ie)),set:($,z,ie,le)=>{const ue=$[z];return isRef(ue)&&!isRef(ie)?(ue.value=ie,!0):Reflect.set($,z,ie,le)}};function proxyRefs($){return isReactive($)?$:new Proxy($,shallowUnwrapHandlers)}class CustomRefImpl{constructor(z){this.dep=void 0,this.__v_isRef=!0;const{get:ie,set:le}=z(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=ie,this._set=le}get value(){return this._get()}set value(z){this._set(z)}}function customRef($){return new CustomRefImpl($)}function toRefs($){const z=isArray$c($)?new Array($.length):{};for(const ie in $)z[ie]=propertyToRef($,ie);return z}class ObjectRefImpl{constructor(z,ie,le){this._object=z,this._key=ie,this._defaultValue=le,this.__v_isRef=!0}get value(){const z=this._object[this._key];return z===void 0?this._defaultValue:z}set value(z){this._object[this._key]=z}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(z){this._getter=z,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef$1($,z,ie){return isRef($)?$:isFunction$5($)?new GetterRefImpl($):isObject$9($)&&arguments.length>1?propertyToRef($,z,ie):ref($)}function propertyToRef($,z,ie){const le=$[z];return isRef(le)?le:new ObjectRefImpl($,z,ie)}class ComputedRefImpl{constructor(z,ie,le,ue){this._setter=ie,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ReactiveEffect(z,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!ue,this.__v_isReadonly=le}get value(){const z=toRaw(this);return trackRefValue(z),(z._dirty||!z._cacheable)&&(z._dirty=!1,z._value=z.effect.run()),z._value}set value(z){this._setter(z)}}function computed$1($,z,ie=!1){let le,ue;const pe=isFunction$5($);return pe?(le=$,ue=NOOP):(le=$.get,ue=$.set),new ComputedRefImpl(le,ue,pe||!ue,ie)}function warn$2($,...z){}function assertNumber($,z){}function callWithErrorHandling($,z,ie,le){let ue;try{ue=le?$(...le):$()}catch(pe){handleError(pe,z,ie)}return ue}function callWithAsyncErrorHandling($,z,ie,le){if(isFunction$5($)){const pe=callWithErrorHandling($,z,ie,le);return pe&&isPromise(pe)&&pe.catch(_e=>{handleError(_e,z,ie)}),pe}const ue=[];for(let pe=0;pe<$.length;pe++)ue.push(callWithAsyncErrorHandling($[pe],z,ie,le));return ue}function handleError($,z,ie,le=!0){const ue=z?z.vnode:null;if(z){let pe=z.parent;const _e=z.proxy,Ce=ie;for(;pe;){const xe=pe.ec;if(xe){for(let Ie=0;Ie<xe.length;Ie++)if(xe[Ie]($,_e,Ce)===!1)return}pe=pe.parent}const $e=z.appContext.config.errorHandler;if($e){callWithErrorHandling($e,null,10,[$,_e,Ce]);return}}logError$1($,ie,ue,le)}function logError$1($,z,ie,le=!0){console.error($)}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($){const z=currentFlushPromise||resolvedPromise;return $?z.then(this?$.bind(this):$):z}function findInsertionIndex($){let z=flushIndex+1,ie=queue.length;for(;z<ie;){const le=z+ie>>>1;getId$1(queue[le])<$?z=le+1:ie=le}return z}function queueJob($){(!queue.length||!queue.includes($,isFlushing&&$.allowRecurse?flushIndex+1:flushIndex))&&($.id==null?queue.push($):queue.splice(findInsertionIndex($.id),0,$),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob($){const z=queue.indexOf($);z>flushIndex&&queue.splice(z,1)}function queuePostFlushCb($){isArray$c($)?pendingPostFlushCbs.push(...$):(!activePostFlushCbs||!activePostFlushCbs.includes($,$.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push($),queueFlush()}function flushPreFlushCbs($,z=isFlushing?flushIndex+1:0){for(;z<queue.length;z++){const ie=queue[z];ie&&ie.pre&&(queue.splice(z,1),z--,ie())}}function flushPostFlushCbs($){if(pendingPostFlushCbs.length){const z=[...new Set(pendingPostFlushCbs)];if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...z);return}for(activePostFlushCbs=z,activePostFlushCbs.sort((ie,le)=>getId$1(ie)-getId$1(le)),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId$1=$=>$.id==null?1/0:$.id,comparator=($,z)=>{const ie=getId$1($)-getId$1(z);if(ie===0){if($.pre&&!z.pre)return-1;if(z.pre&&!$.pre)return 1}return ie};function flushJobs($){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const z=NOOP;try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const ie=queue[flushIndex];ie&&ie.active!==!1&&callWithErrorHandling(ie,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools,buffer=[];function setDevtoolsHook($,z){var ie,le;devtools=$,devtools?(devtools.enabled=!0,buffer.forEach(({event:ue,args:pe})=>devtools.emit(ue,...pe)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((le=(ie=window.navigator)==null?void 0:ie.userAgent)!=null&&le.includes("jsdom"))?((z.__VUE_DEVTOOLS_HOOK_REPLAY__=z.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(pe=>{setDevtoolsHook(pe,z)}),setTimeout(()=>{devtools||(z.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit($,z,...ie){if($.isUnmounted)return;const le=$.vnode.props||EMPTY_OBJ$1;let ue=ie;const pe=z.startsWith("update:"),_e=pe&&z.slice(7);if(_e&&_e in le){const Ie=`${_e==="modelValue"?"model":_e}Modifiers`,{number:Ve,trim:ze}=le[Ie]||EMPTY_OBJ$1;ze&&(ue=ie.map(Ue=>isString$6(Ue)?Ue.trim():Ue)),Ve&&(ue=ie.map(looseToNumber))}let Ce,$e=le[Ce=toHandlerKey(z)]||le[Ce=toHandlerKey(camelize(z))];!$e&&pe&&($e=le[Ce=toHandlerKey(hyphenate(z))]),$e&&callWithAsyncErrorHandling($e,$,6,ue);const xe=le[Ce+"Once"];if(xe){if(!$.emitted)$.emitted={};else if($.emitted[Ce])return;$.emitted[Ce]=!0,callWithAsyncErrorHandling(xe,$,6,ue)}}function normalizeEmitsOptions($,z,ie=!1){const le=z.emitsCache,ue=le.get($);if(ue!==void 0)return ue;const pe=$.emits;let _e={},Ce=!1;if(!isFunction$5($)){const $e=xe=>{const Ie=normalizeEmitsOptions(xe,z,!0);Ie&&(Ce=!0,extend$2(_e,Ie))};!ie&&z.mixins.length&&z.mixins.forEach($e),$.extends&&$e($.extends),$.mixins&&$.mixins.forEach($e)}return!pe&&!Ce?(isObject$9($)&&le.set($,null),null):(isArray$c(pe)?pe.forEach($e=>_e[$e]=null):extend$2(_e,pe),isObject$9($)&&le.set($,_e),_e)}function isEmitListener($,z){return!$||!isOn(z)?!1:(z=z.slice(2).replace(/Once$/,""),hasOwn$4($,z[0].toLowerCase()+z.slice(1))||hasOwn$4($,hyphenate(z))||hasOwn$4($,z))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance($){const z=currentRenderingInstance;return currentRenderingInstance=$,currentScopeId=$&&$.type.__scopeId||null,z}function pushScopeId($){currentScopeId=$}function popScopeId(){currentScopeId=null}const withScopeId=$=>withCtx;function withCtx($,z=currentRenderingInstance,ie){if(!z||$._n)return $;const le=(...ue)=>{le._d&&setBlockTracking(-1);const pe=setCurrentRenderingInstance(z);let _e;try{_e=$(...ue)}finally{setCurrentRenderingInstance(pe),le._d&&setBlockTracking(1)}return _e};return le._n=!0,le._c=!0,le._d=!0,le}function markAttrsAccessed(){}function renderComponentRoot($){const{type:z,vnode:ie,proxy:le,withProxy:ue,props:pe,propsOptions:[_e],slots:Ce,attrs:$e,emit:xe,render:Ie,renderCache:Ve,data:ze,setupState:Ue,ctx:qe,inheritAttrs:Et}=$;let Lt,hn;const vn=setCurrentRenderingInstance($);try{if(ie.shapeFlag&4){const bn=ue||le;Lt=normalizeVNode(Ie.call(bn,bn,Ve,pe,Ue,ze,qe)),hn=$e}else{const bn=z;Lt=normalizeVNode(bn.length>1?bn(pe,{attrs:$e,slots:Ce,emit:xe}):bn(pe,null)),hn=z.props?$e:getFunctionalFallthrough($e)}}catch(bn){blockStack.length=0,handleError(bn,$,1),Lt=createVNode(Comment)}let _n=Lt;if(hn&&Et!==!1){const bn=Object.keys(hn),{shapeFlag:Cn}=_n;bn.length&&Cn&7&&(_e&&bn.some(isModelListener)&&(hn=filterModelListeners(hn,_e)),_n=cloneVNode(_n,hn))}return ie.dirs&&(_n=cloneVNode(_n),_n.dirs=_n.dirs?_n.dirs.concat(ie.dirs):ie.dirs),ie.transition&&(_n.transition=ie.transition),Lt=_n,setCurrentRenderingInstance(vn),Lt}function filterSingleRoot($){let z;for(let ie=0;ie<$.length;ie++){const le=$[ie];if(isVNode$1(le)){if(le.type!==Comment||le.children==="v-if"){if(z)return;z=le}}else return}return z}const getFunctionalFallthrough=$=>{let z;for(const ie in $)(ie==="class"||ie==="style"||isOn(ie))&&((z||(z={}))[ie]=$[ie]);return z},filterModelListeners=($,z)=>{const ie={};for(const le in $)(!isModelListener(le)||!(le.slice(9)in z))&&(ie[le]=$[le]);return ie};function shouldUpdateComponent($,z,ie){const{props:le,children:ue,component:pe}=$,{props:_e,children:Ce,patchFlag:$e}=z,xe=pe.emitsOptions;if(z.dirs||z.transition)return!0;if(ie&&$e>=0){if($e&1024)return!0;if($e&16)return le?hasPropsChanged(le,_e,xe):!!_e;if($e&8){const Ie=z.dynamicProps;for(let Ve=0;Ve<Ie.length;Ve++){const ze=Ie[Ve];if(_e[ze]!==le[ze]&&!isEmitListener(xe,ze))return!0}}}else return(ue||Ce)&&(!Ce||!Ce.$stable)?!0:le===_e?!1:le?_e?hasPropsChanged(le,_e,xe):!0:!!_e;return!1}function hasPropsChanged($,z,ie){const le=Object.keys(z);if(le.length!==Object.keys($).length)return!0;for(let ue=0;ue<le.length;ue++){const pe=le[ue];if(z[pe]!==$[pe]&&!isEmitListener(ie,pe))return!0}return!1}function updateHOCHostEl({vnode:$,parent:z},ie){for(;z&&z.subTree===$;)($=z.vnode).el=ie,z=z.parent}const isSuspense=$=>$.__isSuspense,SuspenseImpl={name:"Suspense",__isSuspense:!0,process($,z,ie,le,ue,pe,_e,Ce,$e,xe){$==null?mountSuspense(z,ie,le,ue,pe,_e,Ce,$e,xe):patchSuspense($,z,ie,le,ue,_e,Ce,$e,xe)},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1($,z){const ie=$.props&&$.props[z];isFunction$5(ie)&&ie()}function mountSuspense($,z,ie,le,ue,pe,_e,Ce,$e){const{p:xe,o:{createElement:Ie}}=$e,Ve=Ie("div"),ze=$.suspense=createSuspenseBoundary($,ue,le,z,Ve,ie,pe,_e,Ce,$e);xe(null,ze.pendingBranch=$.ssContent,Ve,null,le,ze,pe,_e),ze.deps>0?(triggerEvent$1($,"onPending"),triggerEvent$1($,"onFallback"),xe(null,$.ssFallback,z,ie,le,null,pe,_e),setActiveBranch(ze,$.ssFallback)):ze.resolve(!1,!0)}function patchSuspense($,z,ie,le,ue,pe,_e,Ce,{p:$e,um:xe,o:{createElement:Ie}}){const Ve=z.suspense=$.suspense;Ve.vnode=z,z.el=$.el;const ze=z.ssContent,Ue=z.ssFallback,{activeBranch:qe,pendingBranch:Et,isInFallback:Lt,isHydrating:hn}=Ve;if(Et)Ve.pendingBranch=ze,isSameVNodeType(ze,Et)?($e(Et,ze,Ve.hiddenContainer,null,ue,Ve,pe,_e,Ce),Ve.deps<=0?Ve.resolve():Lt&&($e(qe,Ue,ie,le,ue,null,pe,_e,Ce),setActiveBranch(Ve,Ue))):(Ve.pendingId++,hn?(Ve.isHydrating=!1,Ve.activeBranch=Et):xe(Et,ue,Ve),Ve.deps=0,Ve.effects.length=0,Ve.hiddenContainer=Ie("div"),Lt?($e(null,ze,Ve.hiddenContainer,null,ue,Ve,pe,_e,Ce),Ve.deps<=0?Ve.resolve():($e(qe,Ue,ie,le,ue,null,pe,_e,Ce),setActiveBranch(Ve,Ue))):qe&&isSameVNodeType(ze,qe)?($e(qe,ze,ie,le,ue,Ve,pe,_e,Ce),Ve.resolve(!0)):($e(null,ze,Ve.hiddenContainer,null,ue,Ve,pe,_e,Ce),Ve.deps<=0&&Ve.resolve()));else if(qe&&isSameVNodeType(ze,qe))$e(qe,ze,ie,le,ue,Ve,pe,_e,Ce),setActiveBranch(Ve,ze);else if(triggerEvent$1(z,"onPending"),Ve.pendingBranch=ze,Ve.pendingId++,$e(null,ze,Ve.hiddenContainer,null,ue,Ve,pe,_e,Ce),Ve.deps<=0)Ve.resolve();else{const{timeout:vn,pendingId:_n}=Ve;vn>0?setTimeout(()=>{Ve.pendingId===_n&&Ve.fallback(Ue)},vn):vn===0&&Ve.fallback(Ue)}}function createSuspenseBoundary($,z,ie,le,ue,pe,_e,Ce,$e,xe,Ie=!1){const{p:Ve,m:ze,um:Ue,n:qe,o:{parentNode:Et,remove:Lt}}=xe;let hn;const vn=isVNodeSuspensible($);vn&&z!=null&&z.pendingBranch&&(hn=z.pendingId,z.deps++);const _n=$.props?toNumber$1($.props.timeout):void 0,bn={vnode:$,parent:z,parentComponent:ie,isSVG:_e,container:le,hiddenContainer:ue,anchor:pe,deps:0,pendingId:0,timeout:typeof _n=="number"?_n:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:Ie,isUnmounted:!1,effects:[],resolve(Cn=!1,Sn=!1){const{vnode:En,activeBranch:wn,pendingBranch:Tn,pendingId:kn,effects:xn,parentComponent:Pn,container:An}=bn;if(bn.isHydrating)bn.isHydrating=!1;else if(!Cn){const Dn=wn&&Tn.transition&&Tn.transition.mode==="out-in";Dn&&(wn.transition.afterLeave=()=>{kn===bn.pendingId&&ze(Tn,An,On,0)});let{anchor:On}=bn;wn&&(On=qe(wn),Ue(wn,Pn,bn,!0)),Dn||ze(Tn,An,On,0)}setActiveBranch(bn,Tn),bn.pendingBranch=null,bn.isInFallback=!1;let In=bn.parent,Fn=!1;for(;In;){if(In.pendingBranch){In.effects.push(...xn),Fn=!0;break}In=In.parent}Fn||queuePostFlushCb(xn),bn.effects=[],vn&&z&&z.pendingBranch&&hn===z.pendingId&&(z.deps--,z.deps===0&&!Sn&&z.resolve()),triggerEvent$1(En,"onResolve")},fallback(Cn){if(!bn.pendingBranch)return;const{vnode:Sn,activeBranch:En,parentComponent:wn,container:Tn,isSVG:kn}=bn;triggerEvent$1(Sn,"onFallback");const xn=qe(En),Pn=()=>{bn.isInFallback&&(Ve(null,Cn,Tn,xn,wn,null,kn,Ce,$e),setActiveBranch(bn,Cn))},An=Cn.transition&&Cn.transition.mode==="out-in";An&&(En.transition.afterLeave=Pn),bn.isInFallback=!0,Ue(En,wn,null,!0),An||Pn()},move(Cn,Sn,En){bn.activeBranch&&ze(bn.activeBranch,Cn,Sn,En),bn.container=Cn},next(){return bn.activeBranch&&qe(bn.activeBranch)},registerDep(Cn,Sn){const En=!!bn.pendingBranch;En&&bn.deps++;const wn=Cn.vnode.el;Cn.asyncDep.catch(Tn=>{handleError(Tn,Cn,0)}).then(Tn=>{if(Cn.isUnmounted||bn.isUnmounted||bn.pendingId!==Cn.suspenseId)return;Cn.asyncResolved=!0;const{vnode:kn}=Cn;handleSetupResult(Cn,Tn,!1),wn&&(kn.el=wn);const xn=!wn&&Cn.subTree.el;Sn(Cn,kn,Et(wn||Cn.subTree.el),wn?null:qe(Cn.subTree),bn,_e,$e),xn&&Lt(xn),updateHOCHostEl(Cn,kn.el),En&&--bn.deps===0&&bn.resolve()})},unmount(Cn,Sn){bn.isUnmounted=!0,bn.activeBranch&&Ue(bn.activeBranch,ie,Cn,Sn),bn.pendingBranch&&Ue(bn.pendingBranch,ie,Cn,Sn)}};return bn}function hydrateSuspense($,z,ie,le,ue,pe,_e,Ce,$e){const xe=z.suspense=createSuspenseBoundary(z,le,ie,$.parentNode,document.createElement("div"),null,ue,pe,_e,Ce,!0),Ie=$e($,xe.pendingBranch=z.ssContent,ie,xe,pe,_e);return xe.deps===0&&xe.resolve(!1,!0),Ie}function normalizeSuspenseChildren($){const{shapeFlag:z,children:ie}=$,le=z&32;$.ssContent=normalizeSuspenseSlot(le?ie.default:ie),$.ssFallback=le?normalizeSuspenseSlot(ie.fallback):createVNode(Comment)}function normalizeSuspenseSlot($){let z;if(isFunction$5($)){const ie=isBlockTreeEnabled&&$._c;ie&&($._d=!1,openBlock()),$=$(),ie&&($._d=!0,z=currentBlock,closeBlock())}return isArray$c($)&&($=filterSingleRoot($)),$=normalizeVNode($),z&&!$.dynamicChildren&&($.dynamicChildren=z.filter(ie=>ie!==$)),$}function queueEffectWithSuspense($,z){z&&z.pendingBranch?isArray$c($)?z.effects.push(...$):z.effects.push($):queuePostFlushCb($)}function setActiveBranch($,z){$.activeBranch=z;const{vnode:ie,parentComponent:le}=$,ue=ie.el=z.el;le&&le.subTree===ie&&(le.vnode.el=ue,updateHOCHostEl(le,ue))}function isVNodeSuspensible($){var z;return((z=$.props)==null?void 0:z.suspensible)!=null&&$.props.suspensible!==!1}function watchEffect($,z){return doWatch($,null,z)}function watchPostEffect($,z){return doWatch($,null,{flush:"post"})}function watchSyncEffect($,z){return doWatch($,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch($,z,ie){return doWatch($,z,ie)}function doWatch($,z,{immediate:ie,deep:le,flush:ue,onTrack:pe,onTrigger:_e}=EMPTY_OBJ$1){var Ce;const $e=getCurrentScope()===((Ce=currentInstance)==null?void 0:Ce.scope)?currentInstance:null;let xe,Ie=!1,Ve=!1;if(isRef($)?(xe=()=>$.value,Ie=isShallow($)):isReactive($)?(xe=()=>$,le=!0):isArray$c($)?(Ve=!0,Ie=$.some(bn=>isReactive(bn)||isShallow(bn)),xe=()=>$.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($)?z?xe=()=>callWithErrorHandling($,$e,2):xe=()=>{if(!($e&&$e.isUnmounted))return ze&&ze(),callWithAsyncErrorHandling($,$e,3,[Ue])}:xe=NOOP,z&&le){const bn=xe;xe=()=>traverse(bn())}let ze,Ue=bn=>{ze=vn.onStop=()=>{callWithErrorHandling(bn,$e,4)}},qe;if(isInSSRComponentSetup)if(Ue=NOOP,z?ie&&callWithAsyncErrorHandling(z,$e,3,[xe(),Ve?[]:void 0,Ue]):xe(),ue==="sync"){const bn=useSSRContext();qe=bn.__watcherHandles||(bn.__watcherHandles=[])}else return NOOP;let Et=Ve?new Array($.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Lt=()=>{if(vn.active)if(z){const bn=vn.run();(le||Ie||(Ve?bn.some((Cn,Sn)=>hasChanged(Cn,Et[Sn])):hasChanged(bn,Et)))&&(ze&&ze(),callWithAsyncErrorHandling(z,$e,3,[bn,Et===INITIAL_WATCHER_VALUE?void 0:Ve&&Et[0]===INITIAL_WATCHER_VALUE?[]:Et,Ue]),Et=bn)}else vn.run()};Lt.allowRecurse=!!z;let hn;ue==="sync"?hn=Lt:ue==="post"?hn=()=>queuePostRenderEffect(Lt,$e&&$e.suspense):(Lt.pre=!0,$e&&(Lt.id=$e.uid),hn=()=>queueJob(Lt));const vn=new ReactiveEffect(xe,hn);z?ie?Lt():Et=vn.run():ue==="post"?queuePostRenderEffect(vn.run.bind(vn),$e&&$e.suspense):vn.run();const _n=()=>{vn.stop(),$e&&$e.scope&&remove($e.scope.effects,vn)};return qe&&qe.push(_n),_n}function instanceWatch($,z,ie){const le=this.proxy,ue=isString$6($)?$.includes(".")?createPathGetter(le,$):()=>le[$]:$.bind(le,le);let pe;isFunction$5(z)?pe=z:(pe=z.handler,ie=z);const _e=currentInstance;setCurrentInstance(this);const Ce=doWatch(ue,pe.bind(le),ie);return _e?setCurrentInstance(_e):unsetCurrentInstance(),Ce}function createPathGetter($,z){const ie=z.split(".");return()=>{let le=$;for(let ue=0;ue<ie.length&≤ue++)le=le[ie[ue]];return le}}function traverse($,z){if(!isObject$9($)||$.__v_skip||(z=z||new Set,z.has($)))return $;if(z.add($),isRef($))traverse($.value,z);else if(isArray$c($))for(let ie=0;ie<$.length;ie++)traverse($[ie],z);else if(isSet$3($)||isMap$3($))$.forEach(ie=>{traverse(ie,z)});else if(isPlainObject$4($))for(const ie in $)traverse($[ie],z);return $}function withDirectives($,z){const ie=currentRenderingInstance;if(ie===null)return $;const le=getExposeProxy(ie)||ie.proxy,ue=$.dirs||($.dirs=[]);for(let pe=0;pe<z.length;pe++){let[_e,Ce,$e,xe=EMPTY_OBJ$1]=z[pe];_e&&(isFunction$5(_e)&&(_e={mounted:_e,updated:_e}),_e.deep&&traverse(Ce),ue.push({dir:_e,instance:le,value:Ce,oldValue:void 0,arg:$e,modifiers:xe}))}return $}function invokeDirectiveHook($,z,ie,le){const ue=$.dirs,pe=z&&z.dirs;for(let _e=0;_e<ue.length;_e++){const Ce=ue[_e];pe&&(Ce.oldValue=pe[_e].value);let $e=Ce.dir[le];$e&&(pauseTracking(),callWithAsyncErrorHandling($e,ie,8,[$.el,Ce,$,z]),resetTracking())}}function useTransitionState(){const $={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{$.isMounted=!0}),onBeforeUnmount(()=>{$.isUnmounting=!0}),$}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($,{slots:z}){const ie=getCurrentInstance(),le=useTransitionState();let ue;return()=>{const pe=z.default&&getTransitionRawChildren(z.default(),!0);if(!pe||!pe.length)return;let _e=pe[0];if(pe.length>1){for(const Et of pe)if(Et.type!==Comment){_e=Et;break}}const Ce=toRaw($),{mode:$e}=Ce;if(le.isLeaving)return emptyPlaceholder(_e);const xe=getKeepAliveChild(_e);if(!xe)return emptyPlaceholder(_e);const Ie=resolveTransitionHooks(xe,Ce,le,ie);setTransitionHooks(xe,Ie);const Ve=ie.subTree,ze=Ve&&getKeepAliveChild(Ve);let Ue=!1;const{getTransitionKey:qe}=xe.type;if(qe){const Et=qe();ue===void 0?ue=Et:Et!==ue&&(ue=Et,Ue=!0)}if(ze&&ze.type!==Comment&&(!isSameVNodeType(xe,ze)||Ue)){const Et=resolveTransitionHooks(ze,Ce,le,ie);if(setTransitionHooks(ze,Et),$e==="out-in")return le.isLeaving=!0,Et.afterLeave=()=>{le.isLeaving=!1,ie.update.active!==!1&&ie.update()},emptyPlaceholder(_e);$e==="in-out"&&xe.type!==Comment&&(Et.delayLeave=(Lt,hn,vn)=>{const _n=getLeavingNodesForType(le,ze);_n[String(ze.key)]=ze,Lt._leaveCb=()=>{hn(),Lt._leaveCb=void 0,delete Ie.delayedLeave},Ie.delayedLeave=vn})}return _e}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType($,z){const{leavingVNodes:ie}=$;let le=ie.get(z.type);return le||(le=Object.create(null),ie.set(z.type,le)),le}function resolveTransitionHooks($,z,ie,le){const{appear:ue,mode:pe,persisted:_e=!1,onBeforeEnter:Ce,onEnter:$e,onAfterEnter:xe,onEnterCancelled:Ie,onBeforeLeave:Ve,onLeave:ze,onAfterLeave:Ue,onLeaveCancelled:qe,onBeforeAppear:Et,onAppear:Lt,onAfterAppear:hn,onAppearCancelled:vn}=z,_n=String($.key),bn=getLeavingNodesForType(ie,$),Cn=(wn,Tn)=>{wn&&callWithAsyncErrorHandling(wn,le,9,Tn)},Sn=(wn,Tn)=>{const kn=Tn[1];Cn(wn,Tn),isArray$c(wn)?wn.every(xn=>xn.length<=1)&&kn():wn.length<=1&&kn()},En={mode:pe,persisted:_e,beforeEnter(wn){let Tn=Ce;if(!ie.isMounted)if(ue)Tn=Et||Ce;else return;wn._leaveCb&&wn._leaveCb(!0);const kn=bn[_n];kn&&isSameVNodeType($,kn)&&kn.el._leaveCb&&kn.el._leaveCb(),Cn(Tn,[wn])},enter(wn){let Tn=$e,kn=xe,xn=Ie;if(!ie.isMounted)if(ue)Tn=Lt||$e,kn=hn||xe,xn=vn||Ie;else return;let Pn=!1;const An=wn._enterCb=In=>{Pn||(Pn=!0,In?Cn(xn,[wn]):Cn(kn,[wn]),En.delayedLeave&&En.delayedLeave(),wn._enterCb=void 0)};Tn?Sn(Tn,[wn,An]):An()},leave(wn,Tn){const kn=String($.key);if(wn._enterCb&&wn._enterCb(!0),ie.isUnmounting)return Tn();Cn(Ve,[wn]);let xn=!1;const Pn=wn._leaveCb=An=>{xn||(xn=!0,Tn(),An?Cn(qe,[wn]):Cn(Ue,[wn]),wn._leaveCb=void 0,bn[kn]===$&&delete bn[kn])};bn[kn]=$,ze?Sn(ze,[wn,Pn]):Pn()},clone(wn){return resolveTransitionHooks(wn,z,ie,le)}};return En}function emptyPlaceholder($){if(isKeepAlive($))return $=cloneVNode($),$.children=null,$}function getKeepAliveChild($){return isKeepAlive($)?$.children?$.children[0]:void 0:$}function setTransitionHooks($,z){$.shapeFlag&6&&$.component?setTransitionHooks($.component.subTree,z):$.shapeFlag&128?($.ssContent.transition=z.clone($.ssContent),$.ssFallback.transition=z.clone($.ssFallback)):$.transition=z}function getTransitionRawChildren($,z=!1,ie){let le=[],ue=0;for(let pe=0;pe<$.length;pe++){let _e=$[pe];const Ce=ie==null?_e.key:String(ie)+String(_e.key!=null?_e.key:pe);_e.type===Fragment?(_e.patchFlag&128&&ue++,le=le.concat(getTransitionRawChildren(_e.children,z,Ce))):(z||_e.type!==Comment)&&le.push(Ce!=null?cloneVNode(_e,{key:Ce}):_e)}if(ue>1)for(let pe=0;pe<le.length;pe++)le[pe].patchFlag=-2;return le}function defineComponent($,z){return isFunction$5($)?(()=>extend$2({name:$.name},z,{setup:$}))():$}const isAsyncWrapper=$=>!!$.type.__asyncLoader;function defineAsyncComponent($){isFunction$5($)&&($={loader:$});const{loader:z,loadingComponent:ie,errorComponent:le,delay:ue=200,timeout:pe,suspensible:_e=!0,onError:Ce}=$;let $e=null,xe,Ie=0;const Ve=()=>(Ie++,$e=null,ze()),ze=()=>{let Ue;return $e||(Ue=$e=z().catch(qe=>{if(qe=qe instanceof Error?qe:new Error(String(qe)),Ce)return new Promise((Et,Lt)=>{Ce(qe,()=>Et(Ve()),()=>Lt(qe),Ie+1)});throw qe}).then(qe=>Ue!==$e&&$e?$e:(qe&&(qe.__esModule||qe[Symbol.toStringTag]==="Module")&&(qe=qe.default),xe=qe,qe)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:ze,get __asyncResolved(){return xe},setup(){const Ue=currentInstance;if(xe)return()=>createInnerComp(xe,Ue);const qe=vn=>{$e=null,handleError(vn,Ue,13,!le)};if(_e&&Ue.suspense||isInSSRComponentSetup)return ze().then(vn=>()=>createInnerComp(vn,Ue)).catch(vn=>(qe(vn),()=>le?createVNode(le,{error:vn}):null));const Et=ref(!1),Lt=ref(),hn=ref(!!ue);return ue&&setTimeout(()=>{hn.value=!1},ue),pe!=null&&setTimeout(()=>{if(!Et.value&&!Lt.value){const vn=new Error(`Async component timed out after ${pe}ms.`);qe(vn),Lt.value=vn}},pe),ze().then(()=>{Et.value=!0,Ue.parent&&isKeepAlive(Ue.parent.vnode)&&queueJob(Ue.parent.update)}).catch(vn=>{qe(vn),Lt.value=vn}),()=>{if(Et.value&&xe)return createInnerComp(xe,Ue);if(Lt.value&&le)return createVNode(le,{error:Lt.value});if(ie&&!hn.value)return createVNode(ie)}}})}function createInnerComp($,z){const{ref:ie,props:le,children:ue,ce:pe}=z.vnode,_e=createVNode($,le,ue);return _e.ref=ie,_e.ce=pe,delete z.vnode.ce,_e}const isKeepAlive=$=>$.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup($,{slots:z}){const ie=getCurrentInstance(),le=ie.ctx;if(!le.renderer)return()=>{const vn=z.default&&z.default();return vn&&vn.length===1?vn[0]:vn};const ue=new Map,pe=new Set;let _e=null;const Ce=ie.suspense,{renderer:{p:$e,m:xe,um:Ie,o:{createElement:Ve}}}=le,ze=Ve("div");le.activate=(vn,_n,bn,Cn,Sn)=>{const En=vn.component;xe(vn,_n,bn,0,Ce),$e(En.vnode,vn,_n,bn,En,Ce,Cn,vn.slotScopeIds,Sn),queuePostRenderEffect(()=>{En.isDeactivated=!1,En.a&&invokeArrayFns(En.a);const wn=vn.props&&vn.props.onVnodeMounted;wn&&invokeVNodeHook(wn,En.parent,vn)},Ce)},le.deactivate=vn=>{const _n=vn.component;xe(vn,ze,null,1,Ce),queuePostRenderEffect(()=>{_n.da&&invokeArrayFns(_n.da);const bn=vn.props&&vn.props.onVnodeUnmounted;bn&&invokeVNodeHook(bn,_n.parent,vn),_n.isDeactivated=!0},Ce)};function Ue(vn){resetShapeFlag(vn),Ie(vn,ie,Ce,!0)}function qe(vn){ue.forEach((_n,bn)=>{const Cn=getComponentName(_n.type);Cn&&(!vn||!vn(Cn))&&Et(bn)})}function Et(vn){const _n=ue.get(vn);!_e||!isSameVNodeType(_n,_e)?Ue(_n):_e&&resetShapeFlag(_e),ue.delete(vn),pe.delete(vn)}watch(()=>[$.include,$.exclude],([vn,_n])=>{vn&&qe(bn=>matches(vn,bn)),_n&&qe(bn=>!matches(_n,bn))},{flush:"post",deep:!0});let Lt=null;const hn=()=>{Lt!=null&&ue.set(Lt,getInnerChild(ie.subTree))};return onMounted(hn),onUpdated(hn),onBeforeUnmount(()=>{ue.forEach(vn=>{const{subTree:_n,suspense:bn}=ie,Cn=getInnerChild(_n);if(vn.type===Cn.type&&vn.key===Cn.key){resetShapeFlag(Cn);const Sn=Cn.component.da;Sn&&queuePostRenderEffect(Sn,bn);return}Ue(vn)})}),()=>{if(Lt=null,!z.default)return null;const vn=z.default(),_n=vn[0];if(vn.length>1)return _e=null,vn;if(!isVNode$1(_n)||!(_n.shapeFlag&4)&&!(_n.shapeFlag&128))return _e=null,_n;let bn=getInnerChild(_n);const Cn=bn.type,Sn=getComponentName(isAsyncWrapper(bn)?bn.type.__asyncResolved||{}:Cn),{include:En,exclude:wn,max:Tn}=$;if(En&&(!Sn||!matches(En,Sn))||wn&&Sn&&matches(wn,Sn))return _e=bn,_n;const kn=bn.key==null?Cn:bn.key,xn=ue.get(kn);return bn.el&&(bn=cloneVNode(bn),_n.shapeFlag&128&&(_n.ssContent=bn)),Lt=kn,xn?(bn.el=xn.el,bn.component=xn.component,bn.transition&&setTransitionHooks(bn,bn.transition),bn.shapeFlag|=512,pe.delete(kn),pe.add(kn)):(pe.add(kn),Tn&&pe.size>parseInt(Tn,10)&&Et(pe.values().next().value)),bn.shapeFlag|=256,_e=bn,isSuspense(_n.type)?_n:bn}}},KeepAlive=KeepAliveImpl;function matches($,z){return isArray$c($)?$.some(ie=>matches(ie,z)):isString$6($)?$.split(",").includes(z):isRegExp$5($)?$.test(z):!1}function onActivated($,z){registerKeepAliveHook($,"a",z)}function onDeactivated($,z){registerKeepAliveHook($,"da",z)}function registerKeepAliveHook($,z,ie=currentInstance){const le=$.__wdc||($.__wdc=()=>{let ue=ie;for(;ue;){if(ue.isDeactivated)return;ue=ue.parent}return $()});if(injectHook(z,le,ie),ie){let ue=ie.parent;for(;ue&&ue.parent;)isKeepAlive(ue.parent.vnode)&&injectToKeepAliveRoot(le,z,ie,ue),ue=ue.parent}}function injectToKeepAliveRoot($,z,ie,le){const ue=injectHook(z,$,le,!0);onUnmounted(()=>{remove(le[z],ue)},ie)}function resetShapeFlag($){$.shapeFlag&=-257,$.shapeFlag&=-513}function getInnerChild($){return $.shapeFlag&128?$.ssContent:$}function injectHook($,z,ie=currentInstance,le=!1){if(ie){const ue=ie[$]||(ie[$]=[]),pe=z.__weh||(z.__weh=(..._e)=>{if(ie.isUnmounted)return;pauseTracking(),setCurrentInstance(ie);const Ce=callWithAsyncErrorHandling(z,ie,$,_e);return unsetCurrentInstance(),resetTracking(),Ce});return le?ue.unshift(pe):ue.push(pe),pe}}const createHook=$=>(z,ie=currentInstance)=>(!isInSSRComponentSetup||$==="sp")&&injectHook($,(...le)=>z(...le),ie),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($,z=currentInstance){injectHook("ec",$,z)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent($,z){return resolveAsset(COMPONENTS,$,!0,z)||$}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent($){return isString$6($)?resolveAsset(COMPONENTS,$,!1)||$:$||NULL_DYNAMIC_COMPONENT}function resolveDirective($){return resolveAsset(DIRECTIVES,$)}function resolveAsset($,z,ie=!0,le=!1){const ue=currentRenderingInstance||currentInstance;if(ue){const pe=ue.type;if($===COMPONENTS){const Ce=getComponentName(pe,!1);if(Ce&&(Ce===z||Ce===camelize(z)||Ce===capitalize$2(camelize(z))))return pe}const _e=resolve(ue[$]||pe[$],z)||resolve(ue.appContext[$],z);return!_e&&le?pe:_e}}function resolve($,z){return $&&($[z]||$[camelize(z)]||$[capitalize$2(camelize(z))])}function renderList($,z,ie,le){let ue;const pe=ie&&ie[le];if(isArray$c($)||isString$6($)){ue=new Array($.length);for(let _e=0,Ce=$.length;_e<Ce;_e++)ue[_e]=z($[_e],_e,void 0,pe&&pe[_e])}else if(typeof $=="number"){ue=new Array($);for(let _e=0;_e<$;_e++)ue[_e]=z(_e+1,_e,void 0,pe&&pe[_e])}else if(isObject$9($))if($[Symbol.iterator])ue=Array.from($,(_e,Ce)=>z(_e,Ce,void 0,pe&&pe[Ce]));else{const _e=Object.keys($);ue=new Array(_e.length);for(let Ce=0,$e=_e.length;Ce<$e;Ce++){const xe=_e[Ce];ue[Ce]=z($[xe],xe,Ce,pe&&pe[Ce])}}else ue=[];return ie&&(ie[le]=ue),ue}function createSlots($,z){for(let ie=0;ie<z.length;ie++){const le=z[ie];if(isArray$c(le))for(let ue=0;ue<le.length;ue++)$[le[ue].name]=le[ue].fn;else le&&($[le.name]=le.key?(...ue)=>{const pe=le.fn(...ue);return pe&&(pe.key=le.key),pe}:le.fn)}return $}function renderSlot($,z,ie={},le,ue){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return z!=="default"&&(ie.name=z),createVNode("slot",ie,le&&le());let pe=$[z];pe&&pe._c&&(pe._d=!1),openBlock();const _e=pe&&ensureValidVNode(pe(ie)),Ce=createBlock(Fragment,{key:ie.key||_e&&_e.key||`_${z}`},_e||(le?le():[]),_e&&$._===1?64:-2);return!ue&&Ce.scopeId&&(Ce.slotScopeIds=[Ce.scopeId+"-s"]),pe&&pe._c&&(pe._d=!0),Ce}function ensureValidVNode($){return $.some(z=>isVNode$1(z)?!(z.type===Comment||z.type===Fragment&&!ensureValidVNode(z.children)):!0)?$:null}function toHandlers($,z){const ie={};for(const le in $)ie[z&&/[A-Z]/.test(le)?`on:${le}`:toHandlerKey(le)]=$[le];return ie}const getPublicInstance=$=>$?isStatefulComponent($)?getExposeProxy($)||$.proxy:getPublicInstance($.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:$=>$,$el:$=>$.vnode.el,$data:$=>$.data,$props:$=>$.props,$attrs:$=>$.attrs,$slots:$=>$.slots,$refs:$=>$.refs,$parent:$=>getPublicInstance($.parent),$root:$=>getPublicInstance($.root),$emit:$=>$.emit,$options:$=>resolveMergedOptions($),$forceUpdate:$=>$.f||($.f=()=>queueJob($.update)),$nextTick:$=>$.n||($.n=nextTick.bind($.proxy)),$watch:$=>instanceWatch.bind($)}),hasSetupBinding=($,z)=>$!==EMPTY_OBJ$1&&!$.__isScriptSetup&&hasOwn$4($,z),PublicInstanceProxyHandlers={get({_:$},z){const{ctx:ie,setupState:le,data:ue,props:pe,accessCache:_e,type:Ce,appContext:$e}=$;let xe;if(z[0]!=="$"){const Ue=_e[z];if(Ue!==void 0)switch(Ue){case 1:return le[z];case 2:return ue[z];case 4:return ie[z];case 3:return pe[z]}else{if(hasSetupBinding(le,z))return _e[z]=1,le[z];if(ue!==EMPTY_OBJ$1&&hasOwn$4(ue,z))return _e[z]=2,ue[z];if((xe=$.propsOptions[0])&&hasOwn$4(xe,z))return _e[z]=3,pe[z];if(ie!==EMPTY_OBJ$1&&hasOwn$4(ie,z))return _e[z]=4,ie[z];shouldCacheAccess&&(_e[z]=0)}}const Ie=publicPropertiesMap[z];let Ve,ze;if(Ie)return z==="$attrs"&&track($,"get",z),Ie($);if((Ve=Ce.__cssModules)&&(Ve=Ve[z]))return Ve;if(ie!==EMPTY_OBJ$1&&hasOwn$4(ie,z))return _e[z]=4,ie[z];if(ze=$e.config.globalProperties,hasOwn$4(ze,z))return ze[z]},set({_:$},z,ie){const{data:le,setupState:ue,ctx:pe}=$;return hasSetupBinding(ue,z)?(ue[z]=ie,!0):le!==EMPTY_OBJ$1&&hasOwn$4(le,z)?(le[z]=ie,!0):hasOwn$4($.props,z)||z[0]==="$"&&z.slice(1)in $?!1:(pe[z]=ie,!0)},has({_:{data:$,setupState:z,accessCache:ie,ctx:le,appContext:ue,propsOptions:pe}},_e){let Ce;return!!ie[_e]||$!==EMPTY_OBJ$1&&hasOwn$4($,_e)||hasSetupBinding(z,_e)||(Ce=pe[0])&&hasOwn$4(Ce,_e)||hasOwn$4(le,_e)||hasOwn$4(publicPropertiesMap,_e)||hasOwn$4(ue.config.globalProperties,_e)},defineProperty($,z,ie){return ie.get!=null?$._.accessCache[z]=0:hasOwn$4(ie,"value")&&this.set($,z,ie.value,null),Reflect.defineProperty($,z,ie)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get($,z){if(z!==Symbol.unscopables)return PublicInstanceProxyHandlers.get($,z,$)},has($,z){return z[0]!=="_"&&!isGloballyWhitelisted(z)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose($){}function defineOptions($){}function defineSlots(){return null}function defineModel(){}function withDefaults($,z){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function useModel($,z,ie){const le=getCurrentInstance();if(ie&&ie.local){const ue=ref($[z]);return watch(()=>$[z],pe=>ue.value=pe),watch(ue,pe=>{pe!==$[z]&&le.emit(`update:${z}`,pe)}),ue}else return{__v_isRef:!0,get value(){return $[z]},set value(ue){le.emit(`update:${z}`,ue)}}}function getContext(){const $=getCurrentInstance();return $.setupContext||($.setupContext=createSetupContext($))}function normalizePropsOrEmits($){return isArray$c($)?$.reduce((z,ie)=>(z[ie]=null,z),{}):$}function mergeDefaults($,z){const ie=normalizePropsOrEmits($);for(const le in z){if(le.startsWith("__skip"))continue;let ue=ie[le];ue?isArray$c(ue)||isFunction$5(ue)?ue=ie[le]={type:ue,default:z[le]}:ue.default=z[le]:ue===null&&(ue=ie[le]={default:z[le]}),ue&&z[`__skip_${le}`]&&(ue.skipFactory=!0)}return ie}function mergeModels($,z){return!$||!z?$||z:isArray$c($)&&isArray$c(z)?$.concat(z):extend$2({},normalizePropsOrEmits($),normalizePropsOrEmits(z))}function createPropsRestProxy($,z){const ie={};for(const le in $)z.includes(le)||Object.defineProperty(ie,le,{enumerable:!0,get:()=>$[le]});return ie}function withAsyncContext($){const z=getCurrentInstance();let ie=$();return unsetCurrentInstance(),isPromise(ie)&&(ie=ie.catch(le=>{throw setCurrentInstance(z),le})),[ie,()=>setCurrentInstance(z)]}let shouldCacheAccess=!0;function applyOptions($){const z=resolveMergedOptions($),ie=$.proxy,le=$.ctx;shouldCacheAccess=!1,z.beforeCreate&&callHook$1(z.beforeCreate,$,"bc");const{data:ue,computed:pe,methods:_e,watch:Ce,provide:$e,inject:xe,created:Ie,beforeMount:Ve,mounted:ze,beforeUpdate:Ue,updated:qe,activated:Et,deactivated:Lt,beforeDestroy:hn,beforeUnmount:vn,destroyed:_n,unmounted:bn,render:Cn,renderTracked:Sn,renderTriggered:En,errorCaptured:wn,serverPrefetch:Tn,expose:kn,inheritAttrs:xn,components:Pn,directives:An,filters:In}=z;if(xe&&resolveInjections(xe,le,null),_e)for(const On in _e){const Vn=_e[On];isFunction$5(Vn)&&(le[On]=Vn.bind(ie))}if(ue){const On=ue.call(ie,ie);isObject$9(On)&&($.data=reactive(On))}if(shouldCacheAccess=!0,pe)for(const On in pe){const Vn=pe[On],Mn=isFunction$5(Vn)?Vn.bind(ie,ie):isFunction$5(Vn.get)?Vn.get.bind(ie,ie):NOOP,zn=!isFunction$5(Vn)&&isFunction$5(Vn.set)?Vn.set.bind(ie):NOOP,Kn=computed({get:Mn,set:zn});Object.defineProperty(le,On,{enumerable:!0,configurable:!0,get:()=>Kn.value,set:Hn=>Kn.value=Hn})}if(Ce)for(const On in Ce)createWatcher(Ce[On],le,ie,On);if($e){const On=isFunction$5($e)?$e.call(ie):$e;Reflect.ownKeys(On).forEach(Vn=>{provide(Vn,On[Vn])})}Ie&&callHook$1(Ie,$,"c");function Dn(On,Vn){isArray$c(Vn)?Vn.forEach(Mn=>On(Mn.bind(ie))):Vn&&On(Vn.bind(ie))}if(Dn(onBeforeMount,Ve),Dn(onMounted,ze),Dn(onBeforeUpdate,Ue),Dn(onUpdated,qe),Dn(onActivated,Et),Dn(onDeactivated,Lt),Dn(onErrorCaptured,wn),Dn(onRenderTracked,Sn),Dn(onRenderTriggered,En),Dn(onBeforeUnmount,vn),Dn(onUnmounted,bn),Dn(onServerPrefetch,Tn),isArray$c(kn))if(kn.length){const On=$.exposed||($.exposed={});kn.forEach(Vn=>{Object.defineProperty(On,Vn,{get:()=>ie[Vn],set:Mn=>ie[Vn]=Mn})})}else $.exposed||($.exposed={});Cn&&$.render===NOOP&&($.render=Cn),xn!=null&&($.inheritAttrs=xn),Pn&&($.components=Pn),An&&($.directives=An)}function resolveInjections($,z,ie=NOOP){isArray$c($)&&($=normalizeInject($));for(const le in $){const ue=$[le];let pe;isObject$9(ue)?"default"in ue?pe=inject(ue.from||le,ue.default,!0):pe=inject(ue.from||le):pe=inject(ue),isRef(pe)?Object.defineProperty(z,le,{enumerable:!0,configurable:!0,get:()=>pe.value,set:_e=>pe.value=_e}):z[le]=pe}}function callHook$1($,z,ie){callWithAsyncErrorHandling(isArray$c($)?$.map(le=>le.bind(z.proxy)):$.bind(z.proxy),z,ie)}function createWatcher($,z,ie,le){const ue=le.includes(".")?createPathGetter(ie,le):()=>ie[le];if(isString$6($)){const pe=z[$];isFunction$5(pe)&&watch(ue,pe)}else if(isFunction$5($))watch(ue,$.bind(ie));else if(isObject$9($))if(isArray$c($))$.forEach(pe=>createWatcher(pe,z,ie,le));else{const pe=isFunction$5($.handler)?$.handler.bind(ie):z[$.handler];isFunction$5(pe)&&watch(ue,pe,$)}}function resolveMergedOptions($){const z=$.type,{mixins:ie,extends:le}=z,{mixins:ue,optionsCache:pe,config:{optionMergeStrategies:_e}}=$.appContext,Ce=pe.get(z);let $e;return Ce?$e=Ce:!ue.length&&!ie&&!le?$e=z:($e={},ue.length&&ue.forEach(xe=>mergeOptions$2($e,xe,_e,!0)),mergeOptions$2($e,z,_e)),isObject$9(z)&&pe.set(z,$e),$e}function mergeOptions$2($,z,ie,le=!1){const{mixins:ue,extends:pe}=z;pe&&mergeOptions$2($,pe,ie,!0),ue&&ue.forEach(_e=>mergeOptions$2($,_e,ie,!0));for(const _e in z)if(!(le&&_e==="expose")){const Ce=internalOptionMergeStrats[_e]||ie&&ie[_e];$[_e]=Ce?Ce($[_e],z[_e]):z[_e]}return $}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($,z){return z?$?function(){return extend$2(isFunction$5($)?$.call(this,this):$,isFunction$5(z)?z.call(this,this):z)}:z:$}function mergeInject($,z){return mergeObjectOptions(normalizeInject($),normalizeInject(z))}function normalizeInject($){if(isArray$c($)){const z={};for(let ie=0;ie<$.length;ie++)z[$[ie]]=$[ie];return z}return $}function mergeAsArray($,z){return $?[...new Set([].concat($,z))]:z}function mergeObjectOptions($,z){return $?extend$2(Object.create(null),$,z):z}function mergeEmitsOrPropsOptions($,z){return $?isArray$c($)&&isArray$c(z)?[...new Set([...$,...z])]:extend$2(Object.create(null),normalizePropsOrEmits($),normalizePropsOrEmits(z??{})):z}function mergeWatchOptions($,z){if(!$)return z;if(!z)return $;const ie=extend$2(Object.create(null),$);for(const le in z)ie[le]=mergeAsArray($[le],z[le]);return ie}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($,z){return function(le,ue=null){isFunction$5(le)||(le=extend$2({},le)),ue!=null&&!isObject$9(ue)&&(ue=null);const pe=createAppContext(),_e=new Set;let Ce=!1;const $e=pe.app={_uid:uid$1++,_component:le,_props:ue,_container:null,_context:pe,_instance:null,version:version$3,get config(){return pe.config},set config(xe){},use(xe,...Ie){return _e.has(xe)||(xe&&isFunction$5(xe.install)?(_e.add(xe),xe.install($e,...Ie)):isFunction$5(xe)&&(_e.add(xe),xe($e,...Ie))),$e},mixin(xe){return pe.mixins.includes(xe)||pe.mixins.push(xe),$e},component(xe,Ie){return Ie?(pe.components[xe]=Ie,$e):pe.components[xe]},directive(xe,Ie){return Ie?(pe.directives[xe]=Ie,$e):pe.directives[xe]},mount(xe,Ie,Ve){if(!Ce){const ze=createVNode(le,ue);return ze.appContext=pe,Ie&&z?z(ze,xe):$(ze,xe,Ve),Ce=!0,$e._container=xe,xe.__vue_app__=$e,getExposeProxy(ze.component)||ze.component.proxy}},unmount(){Ce&&($(null,$e._container),delete $e._container.__vue_app__)},provide(xe,Ie){return pe.provides[xe]=Ie,$e},runWithContext(xe){currentApp=$e;try{return xe()}finally{currentApp=null}}};return $e}}let currentApp=null;function provide($,z){if(currentInstance){let ie=currentInstance.provides;const le=currentInstance.parent&¤tInstance.parent.provides;le===ie&&(ie=currentInstance.provides=Object.create(le)),ie[$]=z}}function inject($,z,ie=!1){const le=currentInstance||currentRenderingInstance;if(le||currentApp){const ue=le?le.parent==null?le.vnode.appContext&&le.vnode.appContext.provides:le.parent.provides:currentApp._context.provides;if(ue&&$ in ue)return ue[$];if(arguments.length>1)return ie&&isFunction$5(z)?z.call(le&&le.proxy):z}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps$1($,z,ie,le=!1){const ue={},pe={};def(pe,InternalObjectKey,1),$.propsDefaults=Object.create(null),setFullProps($,z,ue,pe);for(const _e in $.propsOptions[0])_e in ue||(ue[_e]=void 0);ie?$.props=le?ue:shallowReactive(ue):$.type.props?$.props=ue:$.props=pe,$.attrs=pe}function updateProps$2($,z,ie,le){const{props:ue,attrs:pe,vnode:{patchFlag:_e}}=$,Ce=toRaw(ue),[$e]=$.propsOptions;let xe=!1;if((le||_e>0)&&!(_e&16)){if(_e&8){const Ie=$.vnode.dynamicProps;for(let Ve=0;Ve<Ie.length;Ve++){let ze=Ie[Ve];if(isEmitListener($.emitsOptions,ze))continue;const Ue=z[ze];if($e)if(hasOwn$4(pe,ze))Ue!==pe[ze]&&(pe[ze]=Ue,xe=!0);else{const qe=camelize(ze);ue[qe]=resolvePropValue($e,Ce,qe,Ue,$,!1)}else Ue!==pe[ze]&&(pe[ze]=Ue,xe=!0)}}}else{setFullProps($,z,ue,pe)&&(xe=!0);let Ie;for(const Ve in Ce)(!z||!hasOwn$4(z,Ve)&&((Ie=hyphenate(Ve))===Ve||!hasOwn$4(z,Ie)))&&($e?ie&&(ie[Ve]!==void 0||ie[Ie]!==void 0)&&(ue[Ve]=resolvePropValue($e,Ce,Ve,void 0,$,!0)):delete ue[Ve]);if(pe!==Ce)for(const Ve in pe)(!z||!hasOwn$4(z,Ve))&&(delete pe[Ve],xe=!0)}xe&&trigger$2($,"set","$attrs")}function setFullProps($,z,ie,le){const[ue,pe]=$.propsOptions;let _e=!1,Ce;if(z)for(let $e in z){if(isReservedProp($e))continue;const xe=z[$e];let Ie;ue&&hasOwn$4(ue,Ie=camelize($e))?!pe||!pe.includes(Ie)?ie[Ie]=xe:(Ce||(Ce={}))[Ie]=xe:isEmitListener($.emitsOptions,$e)||(!($e in le)||xe!==le[$e])&&(le[$e]=xe,_e=!0)}if(pe){const $e=toRaw(ie),xe=Ce||EMPTY_OBJ$1;for(let Ie=0;Ie<pe.length;Ie++){const Ve=pe[Ie];ie[Ve]=resolvePropValue(ue,$e,Ve,xe[Ve],$,!hasOwn$4(xe,Ve))}}return _e}function resolvePropValue($,z,ie,le,ue,pe){const _e=$[ie];if(_e!=null){const Ce=hasOwn$4(_e,"default");if(Ce&&le===void 0){const $e=_e.default;if(_e.type!==Function&&!_e.skipFactory&&isFunction$5($e)){const{propsDefaults:xe}=ue;ie in xe?le=xe[ie]:(setCurrentInstance(ue),le=xe[ie]=$e.call(null,z),unsetCurrentInstance())}else le=$e}_e[0]&&(pe&&!Ce?le=!1:_e[1]&&(le===""||le===hyphenate(ie))&&(le=!0))}return le}function normalizePropsOptions($,z,ie=!1){const le=z.propsCache,ue=le.get($);if(ue)return ue;const pe=$.props,_e={},Ce=[];let $e=!1;if(!isFunction$5($)){const Ie=Ve=>{$e=!0;const[ze,Ue]=normalizePropsOptions(Ve,z,!0);extend$2(_e,ze),Ue&&Ce.push(...Ue)};!ie&&z.mixins.length&&z.mixins.forEach(Ie),$.extends&&Ie($.extends),$.mixins&&$.mixins.forEach(Ie)}if(!pe&&!$e)return isObject$9($)&&le.set($,EMPTY_ARR),EMPTY_ARR;if(isArray$c(pe))for(let Ie=0;Ie<pe.length;Ie++){const Ve=camelize(pe[Ie]);validatePropName(Ve)&&(_e[Ve]=EMPTY_OBJ$1)}else if(pe)for(const Ie in pe){const Ve=camelize(Ie);if(validatePropName(Ve)){const ze=pe[Ie],Ue=_e[Ve]=isArray$c(ze)||isFunction$5(ze)?{type:ze}:extend$2({},ze);if(Ue){const qe=getTypeIndex(Boolean,Ue.type),Et=getTypeIndex(String,Ue.type);Ue[0]=qe>-1,Ue[1]=Et<0||qe<Et,(qe>-1||hasOwn$4(Ue,"default"))&&Ce.push(Ve)}}}const xe=[_e,Ce];return isObject$9($)&&le.set($,xe),xe}function validatePropName($){return $[0]!=="$"}function getType($){const z=$&&$.toString().match(/^\s*(function|class) (\w+)/);return z?z[2]:$===null?"null":""}function isSameType($,z){return getType($)===getType(z)}function getTypeIndex($,z){return isArray$c(z)?z.findIndex(ie=>isSameType(ie,$)):isFunction$5(z)&&isSameType(z,$)?0:-1}const isInternalKey=$=>$[0]==="_"||$==="$stable",normalizeSlotValue=$=>isArray$c($)?$.map(normalizeVNode):[normalizeVNode($)],normalizeSlot$1=($,z,ie)=>{if(z._n)return z;const le=withCtx((...ue)=>normalizeSlotValue(z(...ue)),ie);return le._c=!1,le},normalizeObjectSlots=($,z,ie)=>{const le=$._ctx;for(const ue in $){if(isInternalKey(ue))continue;const pe=$[ue];if(isFunction$5(pe))z[ue]=normalizeSlot$1(ue,pe,le);else if(pe!=null){const _e=normalizeSlotValue(pe);z[ue]=()=>_e}}},normalizeVNodeSlots=($,z)=>{const ie=normalizeSlotValue(z);$.slots.default=()=>ie},initSlots=($,z)=>{if($.vnode.shapeFlag&32){const ie=z._;ie?($.slots=toRaw(z),def(z,"_",ie)):normalizeObjectSlots(z,$.slots={})}else $.slots={},z&&normalizeVNodeSlots($,z);def($.slots,InternalObjectKey,1)},updateSlots=($,z,ie)=>{const{vnode:le,slots:ue}=$;let pe=!0,_e=EMPTY_OBJ$1;if(le.shapeFlag&32){const Ce=z._;Ce?ie&&Ce===1?pe=!1:(extend$2(ue,z),!ie&&Ce===1&&delete ue._):(pe=!z.$stable,normalizeObjectSlots(z,ue)),_e=z}else z&&(normalizeVNodeSlots($,z),_e={default:1});if(pe)for(const Ce in ue)!isInternalKey(Ce)&&!(Ce in _e)&&delete ue[Ce]};function setRef($,z,ie,le,ue=!1){if(isArray$c($)){$.forEach((ze,Ue)=>setRef(ze,z&&(isArray$c(z)?z[Ue]:z),ie,le,ue));return}if(isAsyncWrapper(le)&&!ue)return;const pe=le.shapeFlag&4?getExposeProxy(le.component)||le.component.proxy:le.el,_e=ue?null:pe,{i:Ce,r:$e}=$,xe=z&&z.r,Ie=Ce.refs===EMPTY_OBJ$1?Ce.refs={}:Ce.refs,Ve=Ce.setupState;if(xe!=null&&xe!==$e&&(isString$6(xe)?(Ie[xe]=null,hasOwn$4(Ve,xe)&&(Ve[xe]=null)):isRef(xe)&&(xe.value=null)),isFunction$5($e))callWithErrorHandling($e,Ce,12,[_e,Ie]);else{const ze=isString$6($e),Ue=isRef($e);if(ze||Ue){const qe=()=>{if($.f){const Et=ze?hasOwn$4(Ve,$e)?Ve[$e]:Ie[$e]:$e.value;ue?isArray$c(Et)&&remove(Et,pe):isArray$c(Et)?Et.includes(pe)||Et.push(pe):ze?(Ie[$e]=[pe],hasOwn$4(Ve,$e)&&(Ve[$e]=Ie[$e])):($e.value=[pe],$.k&&(Ie[$.k]=$e.value))}else ze?(Ie[$e]=_e,hasOwn$4(Ve,$e)&&(Ve[$e]=_e)):Ue&&($e.value=_e,$.k&&(Ie[$.k]=_e))};_e?(qe.id=-1,queuePostRenderEffect(qe,ie)):qe()}}}let hasMismatch=!1;const isSVGContainer=$=>/svg/.test($.namespaceURI)&&$.tagName!=="foreignObject",isComment$1=$=>$.nodeType===8;function createHydrationFunctions($){const{mt:z,p:ie,o:{patchProp:le,createText:ue,nextSibling:pe,parentNode:_e,remove:Ce,insert:$e,createComment:xe}}=$,Ie=(hn,vn)=>{if(!vn.hasChildNodes()){ie(null,hn,vn),flushPostFlushCbs(),vn._vnode=hn;return}hasMismatch=!1,Ve(vn.firstChild,hn,null,null,null),flushPostFlushCbs(),vn._vnode=hn,hasMismatch&&console.error("Hydration completed but contains mismatches.")},Ve=(hn,vn,_n,bn,Cn,Sn=!1)=>{const En=isComment$1(hn)&&hn.data==="[",wn=()=>Et(hn,vn,_n,bn,Cn,En),{type:Tn,ref:kn,shapeFlag:xn,patchFlag:Pn}=vn;let An=hn.nodeType;vn.el=hn,Pn===-2&&(Sn=!1,vn.dynamicChildren=null);let In=null;switch(Tn){case Text$1:An!==3?vn.children===""?($e(vn.el=ue(""),_e(hn),hn),In=hn):In=wn():(hn.data!==vn.children&&(hasMismatch=!0,hn.data=vn.children),In=pe(hn));break;case Comment:An!==8||En?In=wn():In=pe(hn);break;case Static:if(En&&(hn=pe(hn),An=hn.nodeType),An===1||An===3){In=hn;const Fn=!vn.children.length;for(let Dn=0;Dn<vn.staticCount;Dn++)Fn&&(vn.children+=In.nodeType===1?In.outerHTML:In.data),Dn===vn.staticCount-1&&(vn.anchor=In),In=pe(In);return En?pe(In):In}else wn();break;case Fragment:En?In=qe(hn,vn,_n,bn,Cn,Sn):In=wn();break;default:if(xn&1)An!==1||vn.type.toLowerCase()!==hn.tagName.toLowerCase()?In=wn():In=ze(hn,vn,_n,bn,Cn,Sn);else if(xn&6){vn.slotScopeIds=Cn;const Fn=_e(hn);if(z(vn,Fn,null,_n,bn,isSVGContainer(Fn),Sn),In=En?Lt(hn):pe(hn),In&&isComment$1(In)&&In.data==="teleport end"&&(In=pe(In)),isAsyncWrapper(vn)){let Dn;En?(Dn=createVNode(Fragment),Dn.anchor=In?In.previousSibling:Fn.lastChild):Dn=hn.nodeType===3?createTextVNode(""):createVNode("div"),Dn.el=hn,vn.component.subTree=Dn}}else xn&64?An!==8?In=wn():In=vn.type.hydrate(hn,vn,_n,bn,Cn,Sn,$,Ue):xn&128&&(In=vn.type.hydrate(hn,vn,_n,bn,isSVGContainer(_e(hn)),Cn,Sn,$,Ve))}return kn!=null&&setRef(kn,null,bn,vn),In},ze=(hn,vn,_n,bn,Cn,Sn)=>{Sn=Sn||!!vn.dynamicChildren;const{type:En,props:wn,patchFlag:Tn,shapeFlag:kn,dirs:xn}=vn,Pn=En==="input"&&xn||En==="option";if(Pn||Tn!==-1){if(xn&&invokeDirectiveHook(vn,null,_n,"created"),wn)if(Pn||!Sn||Tn&48)for(const In in wn)(Pn&&In.endsWith("value")||isOn(In)&&!isReservedProp(In))&&le(hn,In,null,wn[In],!1,void 0,_n);else wn.onClick&&le(hn,"onClick",null,wn.onClick,!1,void 0,_n);let An;if((An=wn&&wn.onVnodeBeforeMount)&&invokeVNodeHook(An,_n,vn),xn&&invokeDirectiveHook(vn,null,_n,"beforeMount"),((An=wn&&wn.onVnodeMounted)||xn)&&queueEffectWithSuspense(()=>{An&&invokeVNodeHook(An,_n,vn),xn&&invokeDirectiveHook(vn,null,_n,"mounted")},bn),kn&16&&!(wn&&(wn.innerHTML||wn.textContent))){let In=Ue(hn.firstChild,vn,hn,_n,bn,Cn,Sn);for(;In;){hasMismatch=!0;const Fn=In;In=In.nextSibling,Ce(Fn)}}else kn&8&&hn.textContent!==vn.children&&(hasMismatch=!0,hn.textContent=vn.children)}return hn.nextSibling},Ue=(hn,vn,_n,bn,Cn,Sn,En)=>{En=En||!!vn.dynamicChildren;const wn=vn.children,Tn=wn.length;for(let kn=0;kn<Tn;kn++){const xn=En?wn[kn]:wn[kn]=normalizeVNode(wn[kn]);if(hn)hn=Ve(hn,xn,bn,Cn,Sn,En);else{if(xn.type===Text$1&&!xn.children)continue;hasMismatch=!0,ie(null,xn,_n,null,bn,Cn,isSVGContainer(_n),Sn)}}return hn},qe=(hn,vn,_n,bn,Cn,Sn)=>{const{slotScopeIds:En}=vn;En&&(Cn=Cn?Cn.concat(En):En);const wn=_e(hn),Tn=Ue(pe(hn),vn,wn,_n,bn,Cn,Sn);return Tn&&isComment$1(Tn)&&Tn.data==="]"?pe(vn.anchor=Tn):(hasMismatch=!0,$e(vn.anchor=xe("]"),wn,Tn),Tn)},Et=(hn,vn,_n,bn,Cn,Sn)=>{if(hasMismatch=!0,vn.el=null,Sn){const Tn=Lt(hn);for(;;){const kn=pe(hn);if(kn&&kn!==Tn)Ce(kn);else break}}const En=pe(hn),wn=_e(hn);return Ce(hn),ie(null,vn,wn,En,_n,bn,isSVGContainer(wn),Cn),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[Ie,Ve]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer($){return baseCreateRenderer($)}function createHydrationRenderer($){return baseCreateRenderer($,createHydrationFunctions)}function baseCreateRenderer($,z){const ie=getGlobalThis();ie.__VUE__=!0;const{insert:le,remove:ue,patchProp:pe,createElement:_e,createText:Ce,createComment:$e,setText:xe,setElementText:Ie,parentNode:Ve,nextSibling:ze,setScopeId:Ue=NOOP,insertStaticContent:qe}=$,Et=(jn,Zn,rr,mr=null,_r=null,or=null,$r=!1,gr=null,xr=!!Zn.dynamicChildren)=>{if(jn===Zn)return;jn&&!isSameVNodeType(jn,Zn)&&(mr=Yn(jn),Hn(jn,_r,or,!0),jn=null),Zn.patchFlag===-2&&(xr=!1,Zn.dynamicChildren=null);const{type:pr,ref:sr,shapeFlag:cr}=Zn;switch(pr){case Text$1:Lt(jn,Zn,rr,mr);break;case Comment:hn(jn,Zn,rr,mr);break;case Static:jn==null&&vn(Zn,rr,mr,$r);break;case Fragment:Pn(jn,Zn,rr,mr,_r,or,$r,gr,xr);break;default:cr&1?Cn(jn,Zn,rr,mr,_r,or,$r,gr,xr):cr&6?An(jn,Zn,rr,mr,_r,or,$r,gr,xr):(cr&64||cr&128)&&pr.process(jn,Zn,rr,mr,_r,or,$r,gr,xr,Wn)}sr!=null&&_r&&setRef(sr,jn&&jn.ref,or,Zn||jn,!Zn)},Lt=(jn,Zn,rr,mr)=>{if(jn==null)le(Zn.el=Ce(Zn.children),rr,mr);else{const _r=Zn.el=jn.el;Zn.children!==jn.children&&xe(_r,Zn.children)}},hn=(jn,Zn,rr,mr)=>{jn==null?le(Zn.el=$e(Zn.children||""),rr,mr):Zn.el=jn.el},vn=(jn,Zn,rr,mr)=>{[jn.el,jn.anchor]=qe(jn.children,Zn,rr,mr,jn.el,jn.anchor)},_n=({el:jn,anchor:Zn},rr,mr)=>{let _r;for(;jn&&jn!==Zn;)_r=ze(jn),le(jn,rr,mr),jn=_r;le(Zn,rr,mr)},bn=({el:jn,anchor:Zn})=>{let rr;for(;jn&&jn!==Zn;)rr=ze(jn),ue(jn),jn=rr;ue(Zn)},Cn=(jn,Zn,rr,mr,_r,or,$r,gr,xr)=>{$r=$r||Zn.type==="svg",jn==null?Sn(Zn,rr,mr,_r,or,$r,gr,xr):Tn(jn,Zn,_r,or,$r,gr,xr)},Sn=(jn,Zn,rr,mr,_r,or,$r,gr)=>{let xr,pr;const{type:sr,props:cr,shapeFlag:hr,transition:Pr,dirs:Dr}=jn;if(xr=jn.el=_e(jn.type,or,cr&&cr.is,cr),hr&8?Ie(xr,jn.children):hr&16&&wn(jn.children,xr,null,mr,_r,or&&sr!=="foreignObject",$r,gr),Dr&&invokeDirectiveHook(jn,null,mr,"created"),En(xr,jn,jn.scopeId,$r,mr),cr){for(const Nr in cr)Nr!=="value"&&!isReservedProp(Nr)&&pe(xr,Nr,null,cr[Nr],or,jn.children,mr,_r,ir);"value"in cr&&pe(xr,"value",null,cr.value),(pr=cr.onVnodeBeforeMount)&&invokeVNodeHook(pr,mr,jn)}Dr&&invokeDirectiveHook(jn,null,mr,"beforeMount");const Lr=(!_r||_r&&!_r.pendingBranch)&&Pr&&!Pr.persisted;Lr&&Pr.beforeEnter(xr),le(xr,Zn,rr),((pr=cr&&cr.onVnodeMounted)||Lr||Dr)&&queuePostRenderEffect(()=>{pr&&invokeVNodeHook(pr,mr,jn),Lr&&Pr.enter(xr),Dr&&invokeDirectiveHook(jn,null,mr,"mounted")},_r)},En=(jn,Zn,rr,mr,_r)=>{if(rr&&Ue(jn,rr),mr)for(let or=0;or<mr.length;or++)Ue(jn,mr[or]);if(_r){let or=_r.subTree;if(Zn===or){const $r=_r.vnode;En(jn,$r,$r.scopeId,$r.slotScopeIds,_r.parent)}}},wn=(jn,Zn,rr,mr,_r,or,$r,gr,xr=0)=>{for(let pr=xr;pr<jn.length;pr++){const sr=jn[pr]=gr?cloneIfMounted(jn[pr]):normalizeVNode(jn[pr]);Et(null,sr,Zn,rr,mr,_r,or,$r,gr)}},Tn=(jn,Zn,rr,mr,_r,or,$r)=>{const gr=Zn.el=jn.el;let{patchFlag:xr,dynamicChildren:pr,dirs:sr}=Zn;xr|=jn.patchFlag&16;const cr=jn.props||EMPTY_OBJ$1,hr=Zn.props||EMPTY_OBJ$1;let Pr;rr&&toggleRecurse(rr,!1),(Pr=hr.onVnodeBeforeUpdate)&&invokeVNodeHook(Pr,rr,Zn,jn),sr&&invokeDirectiveHook(Zn,jn,rr,"beforeUpdate"),rr&&toggleRecurse(rr,!0);const Dr=_r&&Zn.type!=="foreignObject";if(pr?kn(jn.dynamicChildren,pr,gr,rr,mr,Dr,or):$r||Vn(jn,Zn,gr,null,rr,mr,Dr,or,!1),xr>0){if(xr&16)xn(gr,Zn,cr,hr,rr,mr,_r);else if(xr&2&&cr.class!==hr.class&&pe(gr,"class",null,hr.class,_r),xr&4&&pe(gr,"style",cr.style,hr.style,_r),xr&8){const Lr=Zn.dynamicProps;for(let Nr=0;Nr<Lr.length;Nr++){const br=Lr[Nr],Tr=cr[br],ur=hr[br];(ur!==Tr||br==="value")&&pe(gr,br,Tr,ur,_r,jn.children,rr,mr,ir)}}xr&1&&jn.children!==Zn.children&&Ie(gr,Zn.children)}else!$r&&pr==null&&xn(gr,Zn,cr,hr,rr,mr,_r);((Pr=hr.onVnodeUpdated)||sr)&&queuePostRenderEffect(()=>{Pr&&invokeVNodeHook(Pr,rr,Zn,jn),sr&&invokeDirectiveHook(Zn,jn,rr,"updated")},mr)},kn=(jn,Zn,rr,mr,_r,or,$r)=>{for(let gr=0;gr<Zn.length;gr++){const xr=jn[gr],pr=Zn[gr],sr=xr.el&&(xr.type===Fragment||!isSameVNodeType(xr,pr)||xr.shapeFlag&70)?Ve(xr.el):rr;Et(xr,pr,sr,null,mr,_r,or,$r,!0)}},xn=(jn,Zn,rr,mr,_r,or,$r)=>{if(rr!==mr){if(rr!==EMPTY_OBJ$1)for(const gr in rr)!isReservedProp(gr)&&!(gr in mr)&&pe(jn,gr,rr[gr],null,$r,Zn.children,_r,or,ir);for(const gr in mr){if(isReservedProp(gr))continue;const xr=mr[gr],pr=rr[gr];xr!==pr&&gr!=="value"&&pe(jn,gr,pr,xr,$r,Zn.children,_r,or,ir)}"value"in mr&&pe(jn,"value",rr.value,mr.value)}},Pn=(jn,Zn,rr,mr,_r,or,$r,gr,xr)=>{const pr=Zn.el=jn?jn.el:Ce(""),sr=Zn.anchor=jn?jn.anchor:Ce("");let{patchFlag:cr,dynamicChildren:hr,slotScopeIds:Pr}=Zn;Pr&&(gr=gr?gr.concat(Pr):Pr),jn==null?(le(pr,rr,mr),le(sr,rr,mr),wn(Zn.children,rr,sr,_r,or,$r,gr,xr)):cr>0&&cr&64&&hr&&jn.dynamicChildren?(kn(jn.dynamicChildren,hr,rr,_r,or,$r,gr),(Zn.key!=null||_r&&Zn===_r.subTree)&&traverseStaticChildren(jn,Zn,!0)):Vn(jn,Zn,rr,sr,_r,or,$r,gr,xr)},An=(jn,Zn,rr,mr,_r,or,$r,gr,xr)=>{Zn.slotScopeIds=gr,jn==null?Zn.shapeFlag&512?_r.ctx.activate(Zn,rr,mr,$r,xr):In(Zn,rr,mr,_r,or,$r,xr):Fn(jn,Zn,xr)},In=(jn,Zn,rr,mr,_r,or,$r)=>{const gr=jn.component=createComponentInstance(jn,mr,_r);if(isKeepAlive(jn)&&(gr.ctx.renderer=Wn),setupComponent(gr),gr.asyncDep){if(_r&&_r.registerDep(gr,Dn),!jn.el){const xr=gr.subTree=createVNode(Comment);hn(null,xr,Zn,rr)}return}Dn(gr,jn,Zn,rr,_r,or,$r)},Fn=(jn,Zn,rr)=>{const mr=Zn.component=jn.component;if(shouldUpdateComponent(jn,Zn,rr))if(mr.asyncDep&&!mr.asyncResolved){On(mr,Zn,rr);return}else mr.next=Zn,invalidateJob(mr.update),mr.update();else Zn.el=jn.el,mr.vnode=Zn},Dn=(jn,Zn,rr,mr,_r,or,$r)=>{const gr=()=>{if(jn.isMounted){let{next:sr,bu:cr,u:hr,parent:Pr,vnode:Dr}=jn,Lr=sr,Nr;toggleRecurse(jn,!1),sr?(sr.el=Dr.el,On(jn,sr,$r)):sr=Dr,cr&&invokeArrayFns(cr),(Nr=sr.props&&sr.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Nr,Pr,sr,Dr),toggleRecurse(jn,!0);const br=renderComponentRoot(jn),Tr=jn.subTree;jn.subTree=br,Et(Tr,br,Ve(Tr.el),Yn(Tr),jn,_r,or),sr.el=br.el,Lr===null&&updateHOCHostEl(jn,br.el),hr&&queuePostRenderEffect(hr,_r),(Nr=sr.props&&sr.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Nr,Pr,sr,Dr),_r)}else{let sr;const{el:cr,props:hr}=Zn,{bm:Pr,m:Dr,parent:Lr}=jn,Nr=isAsyncWrapper(Zn);if(toggleRecurse(jn,!1),Pr&&invokeArrayFns(Pr),!Nr&&(sr=hr&&hr.onVnodeBeforeMount)&&invokeVNodeHook(sr,Lr,Zn),toggleRecurse(jn,!0),cr&&fr){const br=()=>{jn.subTree=renderComponentRoot(jn),fr(cr,jn.subTree,jn,_r,null)};Nr?Zn.type.__asyncLoader().then(()=>!jn.isUnmounted&&br()):br()}else{const br=jn.subTree=renderComponentRoot(jn);Et(null,br,rr,mr,jn,_r,or),Zn.el=br.el}if(Dr&&queuePostRenderEffect(Dr,_r),!Nr&&(sr=hr&&hr.onVnodeMounted)){const br=Zn;queuePostRenderEffect(()=>invokeVNodeHook(sr,Lr,br),_r)}(Zn.shapeFlag&256||Lr&&isAsyncWrapper(Lr.vnode)&&Lr.vnode.shapeFlag&256)&&jn.a&&queuePostRenderEffect(jn.a,_r),jn.isMounted=!0,Zn=rr=mr=null}},xr=jn.effect=new ReactiveEffect(gr,()=>queueJob(pr),jn.scope),pr=jn.update=()=>xr.run();pr.id=jn.uid,toggleRecurse(jn,!0),pr()},On=(jn,Zn,rr)=>{Zn.component=jn;const mr=jn.vnode.props;jn.vnode=Zn,jn.next=null,updateProps$2(jn,Zn.props,mr,rr),updateSlots(jn,Zn.children,rr),pauseTracking(),flushPreFlushCbs(),resetTracking()},Vn=(jn,Zn,rr,mr,_r,or,$r,gr,xr=!1)=>{const pr=jn&&jn.children,sr=jn?jn.shapeFlag:0,cr=Zn.children,{patchFlag:hr,shapeFlag:Pr}=Zn;if(hr>0){if(hr&128){zn(pr,cr,rr,mr,_r,or,$r,gr,xr);return}else if(hr&256){Mn(pr,cr,rr,mr,_r,or,$r,gr,xr);return}}Pr&8?(sr&16&&ir(pr,_r,or),cr!==pr&&Ie(rr,cr)):sr&16?Pr&16?zn(pr,cr,rr,mr,_r,or,$r,gr,xr):ir(pr,_r,or,!0):(sr&8&&Ie(rr,""),Pr&16&&wn(cr,rr,mr,_r,or,$r,gr,xr))},Mn=(jn,Zn,rr,mr,_r,or,$r,gr,xr)=>{jn=jn||EMPTY_ARR,Zn=Zn||EMPTY_ARR;const pr=jn.length,sr=Zn.length,cr=Math.min(pr,sr);let hr;for(hr=0;hr<cr;hr++){const Pr=Zn[hr]=xr?cloneIfMounted(Zn[hr]):normalizeVNode(Zn[hr]);Et(jn[hr],Pr,rr,null,_r,or,$r,gr,xr)}pr>sr?ir(jn,_r,or,!0,!1,cr):wn(Zn,rr,mr,_r,or,$r,gr,xr,cr)},zn=(jn,Zn,rr,mr,_r,or,$r,gr,xr)=>{let pr=0;const sr=Zn.length;let cr=jn.length-1,hr=sr-1;for(;pr<=cr&&pr<=hr;){const Pr=jn[pr],Dr=Zn[pr]=xr?cloneIfMounted(Zn[pr]):normalizeVNode(Zn[pr]);if(isSameVNodeType(Pr,Dr))Et(Pr,Dr,rr,null,_r,or,$r,gr,xr);else break;pr++}for(;pr<=cr&&pr<=hr;){const Pr=jn[cr],Dr=Zn[hr]=xr?cloneIfMounted(Zn[hr]):normalizeVNode(Zn[hr]);if(isSameVNodeType(Pr,Dr))Et(Pr,Dr,rr,null,_r,or,$r,gr,xr);else break;cr--,hr--}if(pr>cr){if(pr<=hr){const Pr=hr+1,Dr=Pr<sr?Zn[Pr].el:mr;for(;pr<=hr;)Et(null,Zn[pr]=xr?cloneIfMounted(Zn[pr]):normalizeVNode(Zn[pr]),rr,Dr,_r,or,$r,gr,xr),pr++}}else if(pr>hr)for(;pr<=cr;)Hn(jn[pr],_r,or,!0),pr++;else{const Pr=pr,Dr=pr,Lr=new Map;for(pr=Dr;pr<=hr;pr++){const Or=Zn[pr]=xr?cloneIfMounted(Zn[pr]):normalizeVNode(Zn[pr]);Or.key!=null&&Lr.set(Or.key,pr)}let Nr,br=0;const Tr=hr-Dr+1;let ur=!1,Jn=0;const ar=new Array(Tr);for(pr=0;pr<Tr;pr++)ar[pr]=0;for(pr=Pr;pr<=cr;pr++){const Or=jn[pr];if(br>=Tr){Hn(Or,_r,or,!0);continue}let Vr;if(Or.key!=null)Vr=Lr.get(Or.key);else for(Nr=Dr;Nr<=hr;Nr++)if(ar[Nr-Dr]===0&&isSameVNodeType(Or,Zn[Nr])){Vr=Nr;break}Vr===void 0?Hn(Or,_r,or,!0):(ar[Vr-Dr]=pr+1,Vr>=Jn?Jn=Vr:ur=!0,Et(Or,Zn[Vr],rr,null,_r,or,$r,gr,xr),br++)}const Sr=ur?getSequence(ar):EMPTY_ARR;for(Nr=Sr.length-1,pr=Tr-1;pr>=0;pr--){const Or=Dr+pr,Vr=Zn[Or],Cr=Or+1<sr?Zn[Or+1].el:mr;ar[pr]===0?Et(null,Vr,rr,Cr,_r,or,$r,gr,xr):ur&&(Nr<0||pr!==Sr[Nr]?Kn(Vr,rr,Cr,2):Nr--)}}},Kn=(jn,Zn,rr,mr,_r=null)=>{const{el:or,type:$r,transition:gr,children:xr,shapeFlag:pr}=jn;if(pr&6){Kn(jn.component.subTree,Zn,rr,mr);return}if(pr&128){jn.suspense.move(Zn,rr,mr);return}if(pr&64){$r.move(jn,Zn,rr,Wn);return}if($r===Fragment){le(or,Zn,rr);for(let cr=0;cr<xr.length;cr++)Kn(xr[cr],Zn,rr,mr);le(jn.anchor,Zn,rr);return}if($r===Static){_n(jn,Zn,rr);return}if(mr!==2&&pr&1&&gr)if(mr===0)gr.beforeEnter(or),le(or,Zn,rr),queuePostRenderEffect(()=>gr.enter(or),_r);else{const{leave:cr,delayLeave:hr,afterLeave:Pr}=gr,Dr=()=>le(or,Zn,rr),Lr=()=>{cr(or,()=>{Dr(),Pr&&Pr()})};hr?hr(or,Dr,Lr):Lr()}else le(or,Zn,rr)},Hn=(jn,Zn,rr,mr=!1,_r=!1)=>{const{type:or,props:$r,ref:gr,children:xr,dynamicChildren:pr,shapeFlag:sr,patchFlag:cr,dirs:hr}=jn;if(gr!=null&&setRef(gr,null,rr,jn,!0),sr&256){Zn.ctx.deactivate(jn);return}const Pr=sr&1&&hr,Dr=!isAsyncWrapper(jn);let Lr;if(Dr&&(Lr=$r&&$r.onVnodeBeforeUnmount)&&invokeVNodeHook(Lr,Zn,jn),sr&6)yr(jn.component,rr,mr);else{if(sr&128){jn.suspense.unmount(rr,mr);return}Pr&&invokeDirectiveHook(jn,null,Zn,"beforeUnmount"),sr&64?jn.type.remove(jn,Zn,rr,_r,Wn,mr):pr&&(or!==Fragment||cr>0&&cr&64)?ir(pr,Zn,rr,!1,!0):(or===Fragment&&cr&384||!_r&&sr&16)&&ir(xr,Zn,rr),mr&&Xn(jn)}(Dr&&(Lr=$r&&$r.onVnodeUnmounted)||Pr)&&queuePostRenderEffect(()=>{Lr&&invokeVNodeHook(Lr,Zn,jn),Pr&&invokeDirectiveHook(jn,null,Zn,"unmounted")},rr)},Xn=jn=>{const{type:Zn,el:rr,anchor:mr,transition:_r}=jn;if(Zn===Fragment){lr(rr,mr);return}if(Zn===Static){bn(jn);return}const or=()=>{ue(rr),_r&&!_r.persisted&&_r.afterLeave&&_r.afterLeave()};if(jn.shapeFlag&1&&_r&&!_r.persisted){const{leave:$r,delayLeave:gr}=_r,xr=()=>$r(rr,or);gr?gr(jn.el,or,xr):xr()}else or()},lr=(jn,Zn)=>{let rr;for(;jn!==Zn;)rr=ze(jn),ue(jn),jn=rr;ue(Zn)},yr=(jn,Zn,rr)=>{const{bum:mr,scope:_r,update:or,subTree:$r,um:gr}=jn;mr&&invokeArrayFns(mr),_r.stop(),or&&(or.active=!1,Hn($r,jn,Zn,rr)),gr&&queuePostRenderEffect(gr,Zn),queuePostRenderEffect(()=>{jn.isUnmounted=!0},Zn),Zn&&Zn.pendingBranch&&!Zn.isUnmounted&&jn.asyncDep&&!jn.asyncResolved&&jn.suspenseId===Zn.pendingId&&(Zn.deps--,Zn.deps===0&&Zn.resolve())},ir=(jn,Zn,rr,mr=!1,_r=!1,or=0)=>{for(let $r=or;$r<jn.length;$r++)Hn(jn[$r],Zn,rr,mr,_r)},Yn=jn=>jn.shapeFlag&6?Yn(jn.component.subTree):jn.shapeFlag&128?jn.suspense.next():ze(jn.anchor||jn.el),Gn=(jn,Zn,rr)=>{jn==null?Zn._vnode&&Hn(Zn._vnode,null,null,!0):Et(Zn._vnode||null,jn,Zn,null,null,null,rr),flushPreFlushCbs(),flushPostFlushCbs(),Zn._vnode=jn},Wn={p:Et,um:Hn,m:Kn,r:Xn,mt:In,mc:wn,pc:Vn,pbc:kn,n:Yn,o:$};let Qn,fr;return z&&([Qn,fr]=z(Wn)),{render:Gn,hydrate:Qn,createApp:createAppAPI(Gn,Qn)}}function toggleRecurse({effect:$,update:z},ie){$.allowRecurse=z.allowRecurse=ie}function traverseStaticChildren($,z,ie=!1){const le=$.children,ue=z.children;if(isArray$c(le)&&isArray$c(ue))for(let pe=0;pe<le.length;pe++){const _e=le[pe];let Ce=ue[pe];Ce.shapeFlag&1&&!Ce.dynamicChildren&&((Ce.patchFlag<=0||Ce.patchFlag===32)&&(Ce=ue[pe]=cloneIfMounted(ue[pe]),Ce.el=_e.el),ie||traverseStaticChildren(_e,Ce)),Ce.type===Text$1&&(Ce.el=_e.el)}}function getSequence($){const z=$.slice(),ie=[0];let le,ue,pe,_e,Ce;const $e=$.length;for(le=0;le<$e;le++){const xe=$[le];if(xe!==0){if(ue=ie[ie.length-1],$[ue]<xe){z[le]=ue,ie.push(le);continue}for(pe=0,_e=ie.length-1;pe<_e;)Ce=pe+_e>>1,$[ie[Ce]]<xe?pe=Ce+1:_e=Ce;xe<$[ie[pe]]&&(pe>0&&(z[le]=ie[pe-1]),ie[pe]=le)}}for(pe=ie.length,_e=ie[pe-1];pe-- >0;)ie[pe]=_e,_e=z[_e];return ie}const isTeleport=$=>$.__isTeleport,isTeleportDisabled=$=>$&&($.disabled||$.disabled===""),isTargetSVG=$=>typeof SVGElement<"u"&&$ instanceof SVGElement,resolveTarget=($,z)=>{const ie=$&&$.to;return isString$6(ie)?z?z(ie):null:ie},TeleportImpl={__isTeleport:!0,process($,z,ie,le,ue,pe,_e,Ce,$e,xe){const{mc:Ie,pc:Ve,pbc:ze,o:{insert:Ue,querySelector:qe,createText:Et,createComment:Lt}}=xe,hn=isTeleportDisabled(z.props);let{shapeFlag:vn,children:_n,dynamicChildren:bn}=z;if($==null){const Cn=z.el=Et(""),Sn=z.anchor=Et("");Ue(Cn,ie,le),Ue(Sn,ie,le);const En=z.target=resolveTarget(z.props,qe),wn=z.targetAnchor=Et("");En&&(Ue(wn,En),_e=_e||isTargetSVG(En));const Tn=(kn,xn)=>{vn&16&&Ie(_n,kn,xn,ue,pe,_e,Ce,$e)};hn?Tn(ie,Sn):En&&Tn(En,wn)}else{z.el=$.el;const Cn=z.anchor=$.anchor,Sn=z.target=$.target,En=z.targetAnchor=$.targetAnchor,wn=isTeleportDisabled($.props),Tn=wn?ie:Sn,kn=wn?Cn:En;if(_e=_e||isTargetSVG(Sn),bn?(ze($.dynamicChildren,bn,Tn,ue,pe,_e,Ce),traverseStaticChildren($,z,!0)):$e||Ve($,z,Tn,kn,ue,pe,_e,Ce,!1),hn)wn||moveTeleport(z,ie,Cn,xe,1);else if((z.props&&z.props.to)!==($.props&&$.props.to)){const xn=z.target=resolveTarget(z.props,qe);xn&&moveTeleport(z,xn,null,xe,0)}else wn&&moveTeleport(z,Sn,En,xe,1)}updateCssVars(z)},remove($,z,ie,le,{um:ue,o:{remove:pe}},_e){const{shapeFlag:Ce,children:$e,anchor:xe,targetAnchor:Ie,target:Ve,props:ze}=$;if(Ve&&pe(Ie),(_e||!isTeleportDisabled(ze))&&(pe(xe),Ce&16))for(let Ue=0;Ue<$e.length;Ue++){const qe=$e[Ue];ue(qe,z,ie,!0,!!qe.dynamicChildren)}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport($,z,ie,{o:{insert:le},m:ue},pe=2){pe===0&&le($.targetAnchor,z,ie);const{el:_e,anchor:Ce,shapeFlag:$e,children:xe,props:Ie}=$,Ve=pe===2;if(Ve&&le(_e,z,ie),(!Ve||isTeleportDisabled(Ie))&&$e&16)for(let ze=0;ze<xe.length;ze++)ue(xe[ze],z,ie,2);Ve&&le(Ce,z,ie)}function hydrateTeleport($,z,ie,le,ue,pe,{o:{nextSibling:_e,parentNode:Ce,querySelector:$e}},xe){const Ie=z.target=resolveTarget(z.props,$e);if(Ie){const Ve=Ie._lpa||Ie.firstChild;if(z.shapeFlag&16)if(isTeleportDisabled(z.props))z.anchor=xe(_e($),z,Ce($),ie,le,ue,pe),z.targetAnchor=Ve;else{z.anchor=_e($);let ze=Ve;for(;ze;)if(ze=_e(ze),ze&&ze.nodeType===8&&ze.data==="teleport anchor"){z.targetAnchor=ze,Ie._lpa=z.targetAnchor&&_e(z.targetAnchor);break}xe(Ve,z,Ie,ie,le,ue,pe)}updateCssVars(z)}return z.anchor&&_e(z.anchor)}const Teleport=TeleportImpl;function updateCssVars($){const z=$.ctx;if(z&&z.ut){let ie=$.children[0].el;for(;ie!==$.targetAnchor;)ie.nodeType===1&&ie.setAttribute("data-v-owner",z.uid),ie=ie.nextSibling;z.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($=!1){blockStack.push(currentBlock=$?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking($){isBlockTreeEnabled+=$}function setupBlock($){return $.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push($),$}function createElementBlock($,z,ie,le,ue,pe){return setupBlock(createBaseVNode($,z,ie,le,ue,pe,!0))}function createBlock($,z,ie,le,ue){return setupBlock(createVNode($,z,ie,le,ue,!0))}function isVNode$1($){return $?$.__v_isVNode===!0:!1}function isSameVNodeType($,z){return $.type===z.type&&$.key===z.key}function transformVNodeArgs($){}const InternalObjectKey="__vInternal",normalizeKey=({key:$})=>$??null,normalizeRef=({ref:$,ref_key:z,ref_for:ie})=>(typeof $=="number"&&($=""+$),$!=null?isString$6($)||isRef($)||isFunction$5($)?{i:currentRenderingInstance,r:$,k:z,f:!!ie}:$:null);function createBaseVNode($,z=null,ie=null,le=0,ue=null,pe=$===Fragment?0:1,_e=!1,Ce=!1){const $e={__v_isVNode:!0,__v_skip:!0,type:$,props:z,key:z&&normalizeKey(z),ref:z&&normalizeRef(z),scopeId:currentScopeId,slotScopeIds:null,children:ie,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:le,dynamicProps:ue,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Ce?(normalizeChildren($e,ie),pe&128&&$.normalize($e)):ie&&($e.shapeFlag|=isString$6(ie)?8:16),isBlockTreeEnabled>0&&!_e&¤tBlock&&($e.patchFlag>0||pe&6)&&$e.patchFlag!==32&¤tBlock.push($e),$e}const createVNode=_createVNode;function _createVNode($,z=null,ie=null,le=0,ue=null,pe=!1){if((!$||$===NULL_DYNAMIC_COMPONENT)&&($=Comment),isVNode$1($)){const Ce=cloneVNode($,z,!0);return ie&&normalizeChildren(Ce,ie),isBlockTreeEnabled>0&&!pe&¤tBlock&&(Ce.shapeFlag&6?currentBlock[currentBlock.indexOf($)]=Ce:currentBlock.push(Ce)),Ce.patchFlag|=-2,Ce}if(isClassComponent($)&&($=$.__vccOpts),z){z=guardReactiveProps(z);let{class:Ce,style:$e}=z;Ce&&!isString$6(Ce)&&(z.class=normalizeClass(Ce)),isObject$9($e)&&(isProxy($e)&&!isArray$c($e)&&($e=extend$2({},$e)),z.style=normalizeStyle$1($e))}const _e=isString$6($)?1:isSuspense($)?128:isTeleport($)?64:isObject$9($)?4:isFunction$5($)?2:0;return createBaseVNode($,z,ie,le,ue,_e,pe,!0)}function guardReactiveProps($){return $?isProxy($)||InternalObjectKey in $?extend$2({},$):$:null}function cloneVNode($,z,ie=!1){const{props:le,ref:ue,patchFlag:pe,children:_e}=$,Ce=z?mergeProps(le||{},z):le;return{__v_isVNode:!0,__v_skip:!0,type:$.type,props:Ce,key:Ce&&normalizeKey(Ce),ref:z&&z.ref?ie&&ue?isArray$c(ue)?ue.concat(normalizeRef(z)):[ue,normalizeRef(z)]:normalizeRef(z):ue,scopeId:$.scopeId,slotScopeIds:$.slotScopeIds,children:_e,target:$.target,targetAnchor:$.targetAnchor,staticCount:$.staticCount,shapeFlag:$.shapeFlag,patchFlag:z&&$.type!==Fragment?pe===-1?16:pe|16:pe,dynamicProps:$.dynamicProps,dynamicChildren:$.dynamicChildren,appContext:$.appContext,dirs:$.dirs,transition:$.transition,component:$.component,suspense:$.suspense,ssContent:$.ssContent&&cloneVNode($.ssContent),ssFallback:$.ssFallback&&cloneVNode($.ssFallback),el:$.el,anchor:$.anchor,ctx:$.ctx,ce:$.ce}}function createTextVNode($=" ",z=0){return createVNode(Text$1,null,$,z)}function createStaticVNode($,z){const ie=createVNode(Static,null,$);return ie.staticCount=z,ie}function createCommentVNode($="",z=!1){return z?(openBlock(),createBlock(Comment,null,$)):createVNode(Comment,null,$)}function normalizeVNode($){return $==null||typeof $=="boolean"?createVNode(Comment):isArray$c($)?createVNode(Fragment,null,$.slice()):typeof $=="object"?cloneIfMounted($):createVNode(Text$1,null,String($))}function cloneIfMounted($){return $.el===null&&$.patchFlag!==-1||$.memo?$:cloneVNode($)}function normalizeChildren($,z){let ie=0;const{shapeFlag:le}=$;if(z==null)z=null;else if(isArray$c(z))ie=16;else if(typeof z=="object")if(le&65){const ue=z.default;ue&&(ue._c&&(ue._d=!1),normalizeChildren($,ue()),ue._c&&(ue._d=!0));return}else{ie=32;const ue=z._;!ue&&!(InternalObjectKey in z)?z._ctx=currentRenderingInstance:ue===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?z._=1:(z._=2,$.patchFlag|=1024))}else isFunction$5(z)?(z={default:z,_ctx:currentRenderingInstance},ie=32):(z=String(z),le&64?(ie=16,z=[createTextVNode(z)]):ie=8);$.children=z,$.shapeFlag|=ie}function mergeProps(...$){const z={};for(let ie=0;ie<$.length;ie++){const le=$[ie];for(const ue in le)if(ue==="class")z.class!==le.class&&(z.class=normalizeClass([z.class,le.class]));else if(ue==="style")z.style=normalizeStyle$1([z.style,le.style]);else if(isOn(ue)){const pe=z[ue],_e=le[ue];_e&&pe!==_e&&!(isArray$c(pe)&&pe.includes(_e))&&(z[ue]=pe?[].concat(pe,_e):_e)}else ue!==""&&(z[ue]=le[ue])}return z}function invokeVNodeHook($,z,ie,le=null){callWithAsyncErrorHandling($,z,7,[ie,le])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance($,z,ie){const le=$.type,ue=(z?z.appContext:$.appContext)||emptyAppContext,pe={uid:uid$2++,vnode:$,type:le,parent:z,appContext:ue,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:z?z.provides:Object.create(ue.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(le,ue),emitsOptions:normalizeEmitsOptions(le,ue),emit:null,emitted:null,propsDefaults:EMPTY_OBJ$1,inheritAttrs:le.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:ie,suspenseId:ie?ie.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=z?z.root:pe,pe.emit=emit.bind(null,pe),$.ce&&$.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($=>currentInstance=$),internalSetCurrentInstance=$=>{globalCurrentInstanceSetters.length>1?globalCurrentInstanceSetters.forEach(z=>z($)):globalCurrentInstanceSetters[0]($)};const setCurrentInstance=$=>{internalSetCurrentInstance($),$.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent($){return $.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent($,z=!1){isInSSRComponentSetup=z;const{props:ie,children:le}=$.vnode,ue=isStatefulComponent($);initProps$1($,ie,ue,z),initSlots($,le);const pe=ue?setupStatefulComponent($,z):void 0;return isInSSRComponentSetup=!1,pe}function setupStatefulComponent($,z){const ie=$.type;$.accessCache=Object.create(null),$.proxy=markRaw(new Proxy($.ctx,PublicInstanceProxyHandlers));const{setup:le}=ie;if(le){const ue=$.setupContext=le.length>1?createSetupContext($):null;setCurrentInstance($),pauseTracking();const pe=callWithErrorHandling(le,$,0,[$.props,ue]);if(resetTracking(),unsetCurrentInstance(),isPromise(pe)){if(pe.then(unsetCurrentInstance,unsetCurrentInstance),z)return pe.then(_e=>{handleSetupResult($,_e,z)}).catch(_e=>{handleError(_e,$,0)});$.asyncDep=pe}else handleSetupResult($,pe,z)}else finishComponentSetup($,z)}function handleSetupResult($,z,ie){isFunction$5(z)?$.type.__ssrInlineRender?$.ssrRender=z:$.render=z:isObject$9(z)&&($.setupState=proxyRefs(z)),finishComponentSetup($,ie)}let compile$1,installWithProxy;function registerRuntimeCompiler($){compile$1=$,installWithProxy=z=>{z.render._rc&&(z.withProxy=new Proxy(z.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup($,z,ie){const le=$.type;if(!$.render){if(!z&&compile$1&&!le.render){const ue=le.template||resolveMergedOptions($).template;if(ue){const{isCustomElement:pe,compilerOptions:_e}=$.appContext.config,{delimiters:Ce,compilerOptions:$e}=le,xe=extend$2(extend$2({isCustomElement:pe,delimiters:Ce},_e),$e);le.render=compile$1(ue,xe)}}$.render=le.render||NOOP,installWithProxy&&installWithProxy($)}setCurrentInstance($),pauseTracking(),applyOptions($),resetTracking(),unsetCurrentInstance()}function getAttrsProxy($){return $.attrsProxy||($.attrsProxy=new Proxy($.attrs,{get(z,ie){return track($,"get","$attrs"),z[ie]}}))}function createSetupContext($){const z=ie=>{$.exposed=ie||{}};return{get attrs(){return getAttrsProxy($)},slots:$.slots,emit:$.emit,expose:z}}function getExposeProxy($){if($.exposed)return $.exposeProxy||($.exposeProxy=new Proxy(proxyRefs(markRaw($.exposed)),{get(z,ie){if(ie in z)return z[ie];if(ie in publicPropertiesMap)return publicPropertiesMap[ie]($)},has(z,ie){return ie in z||ie in publicPropertiesMap}}))}function getComponentName($,z=!0){return isFunction$5($)?$.displayName||$.name:$.name||z&&$.__name}function isClassComponent($){return isFunction$5($)&&"__vccOpts"in $}const computed=($,z)=>computed$1($,z,isInSSRComponentSetup);function h$3($,z,ie){const le=arguments.length;return le===2?isObject$9(z)&&!isArray$c(z)?isVNode$1(z)?createVNode($,null,[z]):createVNode($,z):createVNode($,null,z):(le>3?ie=Array.prototype.slice.call(arguments,2):le===3&&isVNode$1(ie)&&(ie=[ie]),createVNode($,z,ie))}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function initCustomFormatter(){}function withMemo($,z,ie,le){const ue=ie[le];if(ue&&isMemoSame(ue,$))return ue;const pe=z();return pe.memo=$.slice(),ie[le]=pe}function isMemoSame($,z){const ie=$.memo;if(ie.length!=z.length)return!1;for(let le=0;le<ie.length;le++)if(hasChanged(ie[le],z[le]))return!1;return isBlockTreeEnabled>0&¤tBlock&¤tBlock.push($),!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:($,z,ie)=>{z.insertBefore($,ie||null)},remove:$=>{const z=$.parentNode;z&&z.removeChild($)},createElement:($,z,ie,le)=>{const ue=z?doc$1.createElementNS(svgNS,$):doc$1.createElement($,ie?{is:ie}:void 0);return $==="select"&&le&&le.multiple!=null&&ue.setAttribute("multiple",le.multiple),ue},createText:$=>doc$1.createTextNode($),createComment:$=>doc$1.createComment($),setText:($,z)=>{$.nodeValue=z},setElementText:($,z)=>{$.textContent=z},parentNode:$=>$.parentNode,nextSibling:$=>$.nextSibling,querySelector:$=>doc$1.querySelector($),setScopeId($,z){$.setAttribute(z,"")},insertStaticContent($,z,ie,le,ue,pe){const _e=ie?ie.previousSibling:z.lastChild;if(ue&&(ue===pe||ue.nextSibling))for(;z.insertBefore(ue.cloneNode(!0),ie),!(ue===pe||!(ue=ue.nextSibling)););else{templateContainer.innerHTML=le?`<svg>${$}</svg>`:$;const Ce=templateContainer.content;if(le){const $e=Ce.firstChild;for(;$e.firstChild;)Ce.appendChild($e.firstChild);Ce.removeChild($e)}z.insertBefore(Ce,ie)}return[_e?_e.nextSibling:z.firstChild,ie?ie.previousSibling:z.lastChild]}};function patchClass($,z,ie){const le=$._vtc;le&&(z=(z?[z,...le]:[...le]).join(" ")),z==null?$.removeAttribute("class"):ie?$.setAttribute("class",z):$.className=z}function patchStyle($,z,ie){const le=$.style,ue=isString$6(ie);if(ie&&!ue){if(z&&!isString$6(z))for(const pe in z)ie[pe]==null&&setStyle(le,pe,"");for(const pe in ie)setStyle(le,pe,ie[pe])}else{const pe=le.display;ue?z!==ie&&(le.cssText=ie):z&&$.removeAttribute("style"),"_vod"in $&&(le.display=pe)}}const importantRE=/\s*!important$/;function setStyle($,z,ie){if(isArray$c(ie))ie.forEach(le=>setStyle($,z,le));else if(ie==null&&(ie=""),z.startsWith("--"))$.setProperty(z,ie);else{const le=autoPrefix($,z);importantRE.test(ie)?$.setProperty(hyphenate(le),ie.replace(importantRE,""),"important"):$[le]=ie}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix($,z){const ie=prefixCache[z];if(ie)return ie;let le=camelize(z);if(le!=="filter"&&le in $)return prefixCache[z]=le;le=capitalize$2(le);for(let ue=0;ue<prefixes.length;ue++){const pe=prefixes[ue]+le;if(pe in $)return prefixCache[z]=pe}return z}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr($,z,ie,le,ue){if(le&&z.startsWith("xlink:"))ie==null?$.removeAttributeNS(xlinkNS,z.slice(6,z.length)):$.setAttributeNS(xlinkNS,z,ie);else{const pe=isSpecialBooleanAttr(z);ie==null||pe&&!includeBooleanAttr(ie)?$.removeAttribute(z):$.setAttribute(z,pe?"":ie)}}function patchDOMProp($,z,ie,le,ue,pe,_e){if(z==="innerHTML"||z==="textContent"){le&&_e(le,ue,pe),$[z]=ie??"";return}const Ce=$.tagName;if(z==="value"&&Ce!=="PROGRESS"&&!Ce.includes("-")){$._value=ie;const xe=Ce==="OPTION"?$.getAttribute("value"):$.value,Ie=ie??"";xe!==Ie&&($.value=Ie),ie==null&&$.removeAttribute(z);return}let $e=!1;if(ie===""||ie==null){const xe=typeof $[z];xe==="boolean"?ie=includeBooleanAttr(ie):ie==null&&xe==="string"?(ie="",$e=!0):xe==="number"&&(ie=0,$e=!0)}try{$[z]=ie}catch{}$e&&$.removeAttribute(z)}function addEventListener$1($,z,ie,le){$.addEventListener(z,ie,le)}function removeEventListener$1($,z,ie,le){$.removeEventListener(z,ie,le)}function patchEvent($,z,ie,le,ue=null){const pe=$._vei||($._vei={}),_e=pe[z];if(le&&_e)_e.value=le;else{const[Ce,$e]=parseName(z);if(le){const xe=pe[z]=createInvoker(le,ue);addEventListener$1($,Ce,xe,$e)}else _e&&(removeEventListener$1($,Ce,_e,$e),pe[z]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName($){let z;if(optionsModifierRE.test($)){z={};let le;for(;le=$.match(optionsModifierRE);)$=$.slice(0,$.length-le[0].length),z[le[0].toLowerCase()]=!0}return[$[2]===":"?$.slice(3):hyphenate($.slice(2)),z]}let cachedNow=0;const p$3=Promise.resolve(),getNow=()=>cachedNow||(p$3.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker($,z){const ie=le=>{if(!le._vts)le._vts=Date.now();else if(le._vts<=ie.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(le,ie.value),z,5,[le])};return ie.value=$,ie.attached=getNow(),ie}function patchStopImmediatePropagation($,z){if(isArray$c(z)){const ie=$.stopImmediatePropagation;return $.stopImmediatePropagation=()=>{ie.call($),$._stopped=!0},z.map(le=>ue=>!ue._stopped&&le&&le(ue))}else return z}const nativeOnRE=/^on[a-z]/,patchProp=($,z,ie,le,ue=!1,pe,_e,Ce,$e)=>{z==="class"?patchClass($,le,ue):z==="style"?patchStyle($,ie,le):isOn(z)?isModelListener(z)||patchEvent($,z,ie,le,_e):(z[0]==="."?(z=z.slice(1),!0):z[0]==="^"?(z=z.slice(1),!1):shouldSetAsProp($,z,le,ue))?patchDOMProp($,z,le,pe,_e,Ce,$e):(z==="true-value"?$._trueValue=le:z==="false-value"&&($._falseValue=le),patchAttr($,z,le,ue))};function shouldSetAsProp($,z,ie,le){return le?!!(z==="innerHTML"||z==="textContent"||z in $&&nativeOnRE.test(z)&&isFunction$5(ie)):z==="spellcheck"||z==="draggable"||z==="translate"||z==="form"||z==="list"&&$.tagName==="INPUT"||z==="type"&&$.tagName==="TEXTAREA"||nativeOnRE.test(z)&&isString$6(ie)?!1:z in $}function defineCustomElement($,z){const ie=defineComponent($);class le extends VueElement{constructor(pe){super(ie,pe,z)}}return le.def=ie,le}const defineSSRCustomElement=$=>defineCustomElement($,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(z,ie={},le){super(),this._def=z,this._props=ie,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&le?le(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 le=0;le<this.attributes.length;le++)this._setAttr(this.attributes[le].name);new MutationObserver(le=>{for(const ue of le)this._setAttr(ue.attributeName)}).observe(this,{attributes:!0});const z=(le,ue=!1)=>{const{props:pe,styles:_e}=le;let Ce;if(pe&&!isArray$c(pe))for(const $e in pe){const xe=pe[$e];(xe===Number||xe&&xe.type===Number)&&($e in this._props&&(this._props[$e]=toNumber$1(this._props[$e])),(Ce||(Ce=Object.create(null)))[camelize($e)]=!0)}this._numberProps=Ce,ue&&this._resolveProps(le),this._applyStyles(_e),this._update()},ie=this._def.__asyncLoader;ie?ie().then(le=>z(le,!0)):z(this._def)}_resolveProps(z){const{props:ie}=z,le=isArray$c(ie)?ie:Object.keys(ie||{});for(const ue of Object.keys(this))ue[0]!=="_"&&le.includes(ue)&&this._setProp(ue,this[ue],!0,!1);for(const ue of le.map(camelize))Object.defineProperty(this,ue,{get(){return this._getProp(ue)},set(pe){this._setProp(ue,pe)}})}_setAttr(z){let ie=this.getAttribute(z);const le=camelize(z);this._numberProps&&this._numberProps[le]&&(ie=toNumber$1(ie)),this._setProp(le,ie,!1)}_getProp(z){return this._props[z]}_setProp(z,ie,le=!0,ue=!0){ie!==this._props[z]&&(this._props[z]=ie,ue&&this._instance&&this._update(),le&&(ie===!0?this.setAttribute(hyphenate(z),""):typeof ie=="string"||typeof ie=="number"?this.setAttribute(hyphenate(z),ie+""):ie||this.removeAttribute(hyphenate(z))))}_update(){render$4(this._createVNode(),this.shadowRoot)}_createVNode(){const z=createVNode(this._def,extend$2({},this._props));return this._instance||(z.ce=ie=>{this._instance=ie,ie.isCE=!0;const le=(pe,_e)=>{this.dispatchEvent(new CustomEvent(pe,{detail:_e}))};ie.emit=(pe,..._e)=>{le(pe,_e),hyphenate(pe)!==pe&&le(hyphenate(pe),_e)};let ue=this;for(;ue=ue&&(ue.parentNode||ue.host);)if(ue instanceof VueElement){ie.parent=ue._instance,ie.provides=ue._instance.provides;break}}),z}_applyStyles(z){z&&z.forEach(ie=>{const le=document.createElement("style");le.textContent=ie,this.shadowRoot.appendChild(le)})}}function useCssModule($="$style"){{const z=getCurrentInstance();if(!z)return EMPTY_OBJ$1;const ie=z.type.__cssModules;if(!ie)return EMPTY_OBJ$1;const le=ie[$];return le||EMPTY_OBJ$1}}function useCssVars($){const z=getCurrentInstance();if(!z)return;const ie=z.ut=(ue=$(z.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${z.uid}"]`)).forEach(pe=>setVarsOnNode(pe,ue))},le=()=>{const ue=$(z.proxy);setVarsOnVNode(z.subTree,ue),ie(ue)};watchPostEffect(le),onMounted(()=>{const ue=new MutationObserver(le);ue.observe(z.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ue.disconnect())})}function setVarsOnVNode($,z){if($.shapeFlag&128){const ie=$.suspense;$=ie.activeBranch,ie.pendingBranch&&!ie.isHydrating&&ie.effects.push(()=>{setVarsOnVNode(ie.activeBranch,z)})}for(;$.component;)$=$.component.subTree;if($.shapeFlag&1&&$.el)setVarsOnNode($.el,z);else if($.type===Fragment)$.children.forEach(ie=>setVarsOnVNode(ie,z));else if($.type===Static){let{el:ie,anchor:le}=$;for(;ie&&(setVarsOnNode(ie,z),ie!==le);)ie=ie.nextSibling}}function setVarsOnNode($,z){if($.nodeType===1){const ie=$.style;for(const le in z)ie.setProperty(`--${le}`,z[le])}}const TRANSITION="transition",ANIMATION="animation",Transition=($,{slots:z})=>h$3(BaseTransition,resolveTransitionProps($),z);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=($,z=[])=>{isArray$c($)?$.forEach(ie=>ie(...z)):$&&$(...z)},hasExplicitCallback=$=>$?isArray$c($)?$.some(z=>z.length>1):$.length>1:!1;function resolveTransitionProps($){const z={};for(const Pn in $)Pn in DOMTransitionPropsValidators||(z[Pn]=$[Pn]);if($.css===!1)return z;const{name:ie="v",type:le,duration:ue,enterFromClass:pe=`${ie}-enter-from`,enterActiveClass:_e=`${ie}-enter-active`,enterToClass:Ce=`${ie}-enter-to`,appearFromClass:$e=pe,appearActiveClass:xe=_e,appearToClass:Ie=Ce,leaveFromClass:Ve=`${ie}-leave-from`,leaveActiveClass:ze=`${ie}-leave-active`,leaveToClass:Ue=`${ie}-leave-to`}=$,qe=normalizeDuration(ue),Et=qe&&qe[0],Lt=qe&&qe[1],{onBeforeEnter:hn,onEnter:vn,onEnterCancelled:_n,onLeave:bn,onLeaveCancelled:Cn,onBeforeAppear:Sn=hn,onAppear:En=vn,onAppearCancelled:wn=_n}=z,Tn=(Pn,An,In)=>{removeTransitionClass(Pn,An?Ie:Ce),removeTransitionClass(Pn,An?xe:_e),In&&In()},kn=(Pn,An)=>{Pn._isLeaving=!1,removeTransitionClass(Pn,Ve),removeTransitionClass(Pn,Ue),removeTransitionClass(Pn,ze),An&&An()},xn=Pn=>(An,In)=>{const Fn=Pn?En:vn,Dn=()=>Tn(An,Pn,In);callHook(Fn,[An,Dn]),nextFrame(()=>{removeTransitionClass(An,Pn?$e:pe),addTransitionClass(An,Pn?Ie:Ce),hasExplicitCallback(Fn)||whenTransitionEnds(An,le,Et,Dn)})};return extend$2(z,{onBeforeEnter(Pn){callHook(hn,[Pn]),addTransitionClass(Pn,pe),addTransitionClass(Pn,_e)},onBeforeAppear(Pn){callHook(Sn,[Pn]),addTransitionClass(Pn,$e),addTransitionClass(Pn,xe)},onEnter:xn(!1),onAppear:xn(!0),onLeave(Pn,An){Pn._isLeaving=!0;const In=()=>kn(Pn,An);addTransitionClass(Pn,Ve),forceReflow(),addTransitionClass(Pn,ze),nextFrame(()=>{Pn._isLeaving&&(removeTransitionClass(Pn,Ve),addTransitionClass(Pn,Ue),hasExplicitCallback(bn)||whenTransitionEnds(Pn,le,Lt,In))}),callHook(bn,[Pn,In])},onEnterCancelled(Pn){Tn(Pn,!1),callHook(_n,[Pn])},onAppearCancelled(Pn){Tn(Pn,!0),callHook(wn,[Pn])},onLeaveCancelled(Pn){kn(Pn),callHook(Cn,[Pn])}})}function normalizeDuration($){if($==null)return null;if(isObject$9($))return[NumberOf($.enter),NumberOf($.leave)];{const z=NumberOf($);return[z,z]}}function NumberOf($){return toNumber$1($)}function addTransitionClass($,z){z.split(/\s+/).forEach(ie=>ie&&$.classList.add(ie)),($._vtc||($._vtc=new Set)).add(z)}function removeTransitionClass($,z){z.split(/\s+/).forEach(le=>le&&$.classList.remove(le));const{_vtc:ie}=$;ie&&(ie.delete(z),ie.size||($._vtc=void 0))}function nextFrame($){requestAnimationFrame(()=>{requestAnimationFrame($)})}let endId=0;function whenTransitionEnds($,z,ie,le){const ue=$._endId=++endId,pe=()=>{ue===$._endId&&le()};if(ie)return setTimeout(pe,ie);const{type:_e,timeout:Ce,propCount:$e}=getTransitionInfo($,z);if(!_e)return le();const xe=_e+"end";let Ie=0;const Ve=()=>{$.removeEventListener(xe,ze),pe()},ze=Ue=>{Ue.target===$&&++Ie>=$e&&Ve()};setTimeout(()=>{Ie<$e&&Ve()},Ce+1),$.addEventListener(xe,ze)}function getTransitionInfo($,z){const ie=window.getComputedStyle($),le=qe=>(ie[qe]||"").split(", "),ue=le(`${TRANSITION}Delay`),pe=le(`${TRANSITION}Duration`),_e=getTimeout(ue,pe),Ce=le(`${ANIMATION}Delay`),$e=le(`${ANIMATION}Duration`),xe=getTimeout(Ce,$e);let Ie=null,Ve=0,ze=0;z===TRANSITION?_e>0&&(Ie=TRANSITION,Ve=_e,ze=pe.length):z===ANIMATION?xe>0&&(Ie=ANIMATION,Ve=xe,ze=$e.length):(Ve=Math.max(_e,xe),Ie=Ve>0?_e>xe?TRANSITION:ANIMATION:null,ze=Ie?Ie===TRANSITION?pe.length:$e.length:0);const Ue=Ie===TRANSITION&&/\b(transform|all)(,|$)/.test(le(`${TRANSITION}Property`).toString());return{type:Ie,timeout:Ve,propCount:ze,hasTransform:Ue}}function getTimeout($,z){for(;$.length<z.length;)$=$.concat($);return Math.max(...z.map((ie,le)=>toMs(ie)+toMs($[le])))}function toMs($){return Number($.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($,{slots:z}){const ie=getCurrentInstance(),le=useTransitionState();let ue,pe;return onUpdated(()=>{if(!ue.length)return;const _e=$.moveClass||`${$.name||"v"}-move`;if(!hasCSSTransform(ue[0].el,ie.vnode.el,_e))return;ue.forEach(callPendingCbs),ue.forEach(recordPosition);const Ce=ue.filter(applyTranslation);forceReflow(),Ce.forEach($e=>{const xe=$e.el,Ie=xe.style;addTransitionClass(xe,_e),Ie.transform=Ie.webkitTransform=Ie.transitionDuration="";const Ve=xe._moveCb=ze=>{ze&&ze.target!==xe||(!ze||/transform$/.test(ze.propertyName))&&(xe.removeEventListener("transitionend",Ve),xe._moveCb=null,removeTransitionClass(xe,_e))};xe.addEventListener("transitionend",Ve)})}),()=>{const _e=toRaw($),Ce=resolveTransitionProps(_e);let $e=_e.tag||Fragment;ue=pe,pe=z.default?getTransitionRawChildren(z.default()):[];for(let xe=0;xe<pe.length;xe++){const Ie=pe[xe];Ie.key!=null&&setTransitionHooks(Ie,resolveTransitionHooks(Ie,Ce,le,ie))}if(ue)for(let xe=0;xe<ue.length;xe++){const Ie=ue[xe];setTransitionHooks(Ie,resolveTransitionHooks(Ie,Ce,le,ie)),positionMap.set(Ie,Ie.el.getBoundingClientRect())}return createVNode($e,null,pe)}}},removeMode=$=>delete $.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs($){const z=$.el;z._moveCb&&z._moveCb(),z._enterCb&&z._enterCb()}function recordPosition($){newPositionMap.set($,$.el.getBoundingClientRect())}function applyTranslation($){const z=positionMap.get($),ie=newPositionMap.get($),le=z.left-ie.left,ue=z.top-ie.top;if(le||ue){const pe=$.el.style;return pe.transform=pe.webkitTransform=`translate(${le}px,${ue}px)`,pe.transitionDuration="0s",$}}function hasCSSTransform($,z,ie){const le=$.cloneNode();$._vtc&&$._vtc.forEach(_e=>{_e.split(/\s+/).forEach(Ce=>Ce&&le.classList.remove(Ce))}),ie.split(/\s+/).forEach(_e=>_e&&le.classList.add(_e)),le.style.display="none";const ue=z.nodeType===1?z:z.parentNode;ue.appendChild(le);const{hasTransform:pe}=getTransitionInfo(le);return ue.removeChild(le),pe}const getModelAssigner=$=>{const z=$.props["onUpdate:modelValue"]||!1;return isArray$c(z)?ie=>invokeArrayFns(z,ie):z};function onCompositionStart($){$.target.composing=!0}function onCompositionEnd($){const z=$.target;z.composing&&(z.composing=!1,z.dispatchEvent(new Event("input")))}const vModelText={created($,{modifiers:{lazy:z,trim:ie,number:le}},ue){$._assign=getModelAssigner(ue);const pe=le||ue.props&&ue.props.type==="number";addEventListener$1($,z?"change":"input",_e=>{if(_e.target.composing)return;let Ce=$.value;ie&&(Ce=Ce.trim()),pe&&(Ce=looseToNumber(Ce)),$._assign(Ce)}),ie&&addEventListener$1($,"change",()=>{$.value=$.value.trim()}),z||(addEventListener$1($,"compositionstart",onCompositionStart),addEventListener$1($,"compositionend",onCompositionEnd),addEventListener$1($,"change",onCompositionEnd))},mounted($,{value:z}){$.value=z??""},beforeUpdate($,{value:z,modifiers:{lazy:ie,trim:le,number:ue}},pe){if($._assign=getModelAssigner(pe),$.composing||document.activeElement===$&&$.type!=="range"&&(ie||le&&$.value.trim()===z||(ue||$.type==="number")&&looseToNumber($.value)===z))return;const _e=z??"";$.value!==_e&&($.value=_e)}},vModelCheckbox={deep:!0,created($,z,ie){$._assign=getModelAssigner(ie),addEventListener$1($,"change",()=>{const le=$._modelValue,ue=getValue$2($),pe=$.checked,_e=$._assign;if(isArray$c(le)){const Ce=looseIndexOf(le,ue),$e=Ce!==-1;if(pe&&!$e)_e(le.concat(ue));else if(!pe&&$e){const xe=[...le];xe.splice(Ce,1),_e(xe)}}else if(isSet$3(le)){const Ce=new Set(le);pe?Ce.add(ue):Ce.delete(ue),_e(Ce)}else _e(getCheckboxValue($,pe))})},mounted:setChecked,beforeUpdate($,z,ie){$._assign=getModelAssigner(ie),setChecked($,z,ie)}};function setChecked($,{value:z,oldValue:ie},le){$._modelValue=z,isArray$c(z)?$.checked=looseIndexOf(z,le.props.value)>-1:isSet$3(z)?$.checked=z.has(le.props.value):z!==ie&&($.checked=looseEqual(z,getCheckboxValue($,!0)))}const vModelRadio={created($,{value:z},ie){$.checked=looseEqual(z,ie.props.value),$._assign=getModelAssigner(ie),addEventListener$1($,"change",()=>{$._assign(getValue$2($))})},beforeUpdate($,{value:z,oldValue:ie},le){$._assign=getModelAssigner(le),z!==ie&&($.checked=looseEqual(z,le.props.value))}},vModelSelect={deep:!0,created($,{value:z,modifiers:{number:ie}},le){const ue=isSet$3(z);addEventListener$1($,"change",()=>{const pe=Array.prototype.filter.call($.options,_e=>_e.selected).map(_e=>ie?looseToNumber(getValue$2(_e)):getValue$2(_e));$._assign($.multiple?ue?new Set(pe):pe:pe[0])}),$._assign=getModelAssigner(le)},mounted($,{value:z}){setSelected($,z)},beforeUpdate($,z,ie){$._assign=getModelAssigner(ie)},updated($,{value:z}){setSelected($,z)}};function setSelected($,z){const ie=$.multiple;if(!(ie&&!isArray$c(z)&&!isSet$3(z))){for(let le=0,ue=$.options.length;le<ue;le++){const pe=$.options[le],_e=getValue$2(pe);if(ie)isArray$c(z)?pe.selected=looseIndexOf(z,_e)>-1:pe.selected=z.has(_e);else if(looseEqual(getValue$2(pe),z)){$.selectedIndex!==le&&($.selectedIndex=le);return}}!ie&&$.selectedIndex!==-1&&($.selectedIndex=-1)}}function getValue$2($){return"_value"in $?$._value:$.value}function getCheckboxValue($,z){const ie=z?"_trueValue":"_falseValue";return ie in $?$[ie]:z}const vModelDynamic={created($,z,ie){callModelHook($,z,ie,null,"created")},mounted($,z,ie){callModelHook($,z,ie,null,"mounted")},beforeUpdate($,z,ie,le){callModelHook($,z,ie,le,"beforeUpdate")},updated($,z,ie,le){callModelHook($,z,ie,le,"updated")}};function resolveDynamicModel($,z){switch($){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(z){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook($,z,ie,le,ue){const _e=resolveDynamicModel($.tagName,ie.props&&ie.props.type)[ue];_e&&_e($,z,ie,le)}function initVModelForSSR(){vModelText.getSSRProps=({value:$})=>({value:$}),vModelRadio.getSSRProps=({value:$},z)=>{if(z.props&&looseEqual(z.props.value,$))return{checked:!0}},vModelCheckbox.getSSRProps=({value:$},z)=>{if(isArray$c($)){if(z.props&&looseIndexOf($,z.props.value)>-1)return{checked:!0}}else if(isSet$3($)){if(z.props&&$.has(z.props.value))return{checked:!0}}else if($)return{checked:!0}},vModelDynamic.getSSRProps=($,z)=>{if(typeof z.type!="string")return;const ie=resolveDynamicModel(z.type.toUpperCase(),z.props&&z.props.type);if(ie.getSSRProps)return ie.getSSRProps($,z)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:$=>$.stopPropagation(),prevent:$=>$.preventDefault(),self:$=>$.target!==$.currentTarget,ctrl:$=>!$.ctrlKey,shift:$=>!$.shiftKey,alt:$=>!$.altKey,meta:$=>!$.metaKey,left:$=>"button"in $&&$.button!==0,middle:$=>"button"in $&&$.button!==1,right:$=>"button"in $&&$.button!==2,exact:($,z)=>systemModifiers.some(ie=>$[`${ie}Key`]&&!z.includes(ie))},withModifiers=($,z)=>(ie,...le)=>{for(let ue=0;ue<z.length;ue++){const pe=modifierGuards[z[ue]];if(pe&&pe(ie,z))return}return $(ie,...le)},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=($,z)=>ie=>{if(!("key"in ie))return;const le=hyphenate(ie.key);if(z.some(ue=>ue===le||keyNames[ue]===le))return $(ie)},vShow={beforeMount($,{value:z},{transition:ie}){$._vod=$.style.display==="none"?"":$.style.display,ie&&z?ie.beforeEnter($):setDisplay($,z)},mounted($,{value:z},{transition:ie}){ie&&z&&ie.enter($)},updated($,{value:z,oldValue:ie},{transition:le}){!z!=!ie&&(le?z?(le.beforeEnter($),setDisplay($,!0),le.enter($)):le.leave($,()=>{setDisplay($,!1)}):setDisplay($,z))},beforeUnmount($,{value:z}){setDisplay($,z)}};function setDisplay($,z){$.style.display=z?$._vod:"none"}function initVShowForSSR(){vShow.getSSRProps=({value:$})=>{if(!$)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=(...$)=>{ensureRenderer().render(...$)},hydrate=(...$)=>{ensureHydrationRenderer().hydrate(...$)},createApp=(...$)=>{const z=ensureRenderer().createApp(...$),{mount:ie}=z;return z.mount=le=>{const ue=normalizeContainer(le);if(!ue)return;const pe=z._component;!isFunction$5(pe)&&!pe.render&&!pe.template&&(pe.template=ue.innerHTML),ue.innerHTML="";const _e=ie(ue,!1,ue instanceof SVGElement);return ue instanceof Element&&(ue.removeAttribute("v-cloak"),ue.setAttribute("data-v-app","")),_e},z},createSSRApp=(...$)=>{const z=ensureHydrationRenderer().createApp(...$),{mount:ie}=z;return z.mount=le=>{const ue=normalizeContainer(le);if(ue)return ie(ue,!0,ue instanceof SVGElement)},z};function normalizeContainer($){return isString$6($)?document.querySelector($):$}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-5f16c4e0.png",versionTipDialog$1="",setVersionTipTheme=($="#FA8D88",z="#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="${$}" offset="0%"></stop>
|
||
<stop stop-color="${$}" 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="${$}">
|
||
<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="${z}"
|
||
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=$=>{if(document.querySelector("#version-rocket"))return;const ie=`
|
||
<div id="version-rocket">
|
||
<div class="version-area">
|
||
${$.primaryColor||$.rocketColor?`<div class="version-img">${setVersionTipTheme($.primaryColor,$.rocketColor)}</div>`:`<img class="version-img" src="${$.imageUrl||versionBg}" alt="version" />`}
|
||
<div class="version-content">
|
||
<div class="version-title">
|
||
${$.title||defaultParams.title}
|
||
</div>
|
||
<div class="version-subtitle">
|
||
${$.description||`V ${$.newVersion} ${defaultParams.description}`}
|
||
</div>
|
||
<div style="${$.primaryColor?`background-color: ${$.primaryColor};`:""} ${$.buttonStyle||""}" class="refresh-button">
|
||
${$.buttonText||defaultParams.buttonText}
|
||
</div>
|
||
${$.cancelButtonText?`<div class="cancel-button">
|
||
${$.cancelButtonText}
|
||
</div>`:""}
|
||
</div>
|
||
</div>
|
||
</div>`;let le=document.createElement("div");le.innerHTML=ie,document.body.appendChild(le);const ue=document.querySelector("#version-rocket .refresh-button");ue.onclick=()=>{typeof($==null?void 0:$.onRefresh)=="function"?$.onRefresh({newVersion:$.newVersion}):window.location.reload()};const pe=document.querySelector("#version-rocket .cancel-button");pe&&(pe.onclick=()=>{if(typeof($==null?void 0:$.onCancel)=="function"){$.onCancel({newVersion:$.newVersion});return}switch(($==null?void 0:$.cancelMode)||"ignore-current-version"){case"ignore-current-version":localStorage.setItem("version-rocket:cancelled",$.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=$=>{const z=new Blob(["("+$.toString()+")()"]),ie=window.URL.createObjectURL(z);return new Worker(ie)},createWorkerFunc=()=>{let $="",z=5e3,ie=!1,le="";const ue=self;return ue.onmessage=pe=>{$=pe.data["version-key"],z=pe.data["polling-time"],ie=pe.data.immediate,le=pe.data["origin-version-file-url"];const _e=()=>{fetch(`${le}?${+new Date}`).then(Ce=>Ce.json()).then(Ce=>{$!==Ce.version&&ue.postMessage({refreshPageVersion:`${Ce.version}`,external:Ce.external})})};ie&&_e(),setInterval(_e,z)},ue},cancelUpdateFunc=($,z,ie,le)=>{const ue=$||"ignore-current-version",pe=localStorage.getItem("version-rocket:cancelled")||"",_e=new Date().toLocaleDateString(),Ce=sessionStorage.getItem("version-rocket:cancelled")||"",$e=ie||!1;switch(ue){case"ignore-current-version":if(pe===z)return $e&&(le==null||le.terminate()),!0;break;case"ignore-today":if(pe===_e)return $e&&(le==null||le.terminate()),!0;break;case"ignore-current-window":if(Ce)return $e&&(le==null||le.terminate()),!0;break}return!1};let worker;const checkVersion=($,z)=>{worker||(worker=createWorker(createWorkerFunc)),worker.postMessage({"version-key":$.localPackageVersion,"polling-time":$.pollingTime||5e3,immediate:$.immediate||!1,"origin-version-file-url":$.originVersionFileUrl}),worker.onmessage=ie=>{var le;if(!cancelUpdateFunc(z==null?void 0:z.cancelMode,(le=ie.data)===null||le===void 0?void 0:le.refreshPageVersion,z==null?void 0:z.cancelUpdateAndStopWorker,worker))if(localStorage.removeItem("version-rocket:cancelled"),sessionStorage.removeItem("version-rocket:cancelled"),typeof $.onVersionUpdate=="function")$.onVersionUpdate(ie.data);else{const{title:pe,description:_e,buttonText:Ce,cancelButtonText:$e,cancelMode:xe,imageUrl:Ie,rocketColor:Ve,primaryColor:ze,buttonStyle:Ue}=z||{},{onRefresh:qe,onCancel:Et}=$||{};versionTipDialog({title:pe,description:_e,buttonText:Ce,cancelButtonText:$e,cancelMode:xe,imageUrl:Ie,rocketColor:Ve,primaryColor:ze,buttonStyle:Ue,newVersion:ie.data.refreshPageVersion,onRefresh:qe,onCancel:Et})}}},unCheckVersion=({closeDialog:$=!1,closeWorker:z=!0})=>{if(z&&(worker==null||worker.terminate()),$){const ie=document.querySelector("#version-rocket"),le=ie==null?void 0:ie.parentElement;ie&&le&&le.removeChild(ie)}},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=$=>getComputedStyle($).position==="fixed"?!1:$.offsetParent!==null,obtainAllFocusableElements$1=$=>Array.from($.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(z=>isFocusable(z)&&isVisible(z)),isFocusable=$=>{if($.tabIndex>0||$.tabIndex===0&&$.getAttribute("tabIndex")!==null)return!0;if($.disabled)return!1;switch($.nodeName){case"A":return!!$.href&&$.rel!=="ignore";case"INPUT":return!($.type==="hidden"||$.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function($,z,...ie){let le;z.includes("mouse")||z.includes("click")?le="MouseEvents":z.includes("key")?le="KeyboardEvent":le="HTMLEvents";const ue=document.createEvent(le);return ue.initEvent(z,...ie),$.dispatchEvent(ue),$},isLeaf=$=>!$.getAttribute("aria-owns"),getSibling=($,z,ie)=>{const{parentNode:le}=$;if(!le)return null;const ue=le.querySelectorAll(ie),pe=Array.prototype.indexOf.call(ue,$);return ue[pe+z]||null},focusNode=$=>{$&&($.focus(),!isLeaf($)&&$.click())},composeEventHandlers=($,z,{checkForDefaultPrevented:ie=!0}={})=>ue=>{const pe=$==null?void 0:$(ue);if(ie===!1||!pe)return z==null?void 0:z(ue)},whenMouse=$=>z=>z.pointerType==="mouse"?$(z):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=($,z,ie)=>z in $?__defProp$9($,z,{enumerable:!0,configurable:!0,writable:!0,value:ie}):$[z]=ie,__spreadValues$9=($,z)=>{for(var ie in z||(z={}))__hasOwnProp$b.call(z,ie)&&__defNormalProp$9($,ie,z[ie]);if(__getOwnPropSymbols$b)for(var ie of __getOwnPropSymbols$b(z))__propIsEnum$b.call(z,ie)&&__defNormalProp$9($,ie,z[ie]);return $},__spreadProps$6=($,z)=>__defProps$6($,__getOwnPropDescs$6(z));function computedEager($,z){var ie;const le=shallowRef();return watchEffect(()=>{le.value=$()},__spreadProps$6(__spreadValues$9({},z),{flush:(ie=z==null?void 0:z.flush)!=null?ie:"sync"})),readonly(le)}var _a$1;const isClient$1=typeof window<"u",isDef=$=>typeof $<"u",isFunction$4=$=>typeof $=="function",isString$5=$=>typeof $=="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($){return typeof $=="function"?$():unref($)}function createFilterWrapper$1($,z){function ie(...le){return new Promise((ue,pe)=>{Promise.resolve($(()=>z.apply(this,le),{fn:z,thisArg:this,args:le})).then(ue).catch(pe)})}return ie}function debounceFilter$1($,z={}){let ie,le,ue=noop$6;const pe=Ce=>{clearTimeout(Ce),ue(),ue=noop$6};return Ce=>{const $e=resolveUnref($),xe=resolveUnref(z.maxWait);return ie&&pe(ie),$e<=0||xe!==void 0&&xe<=0?(le&&(pe(le),le=null),Promise.resolve(Ce())):new Promise((Ie,Ve)=>{ue=z.rejectOnCancel?Ve:Ie,xe&&!le&&(le=setTimeout(()=>{ie&&pe(ie),le=null,Ie(Ce())},xe)),ie=setTimeout(()=>{le&&pe(le),le=null,Ie(Ce())},$e)})}}function throttleFilter($,z=!0,ie=!0,le=!1){let ue=0,pe,_e=!0,Ce=noop$6,$e;const xe=()=>{pe&&(clearTimeout(pe),pe=void 0,Ce(),Ce=noop$6)};return Ve=>{const ze=resolveUnref($),Ue=Date.now()-ue,qe=()=>$e=Ve();return xe(),ze<=0?(ue=Date.now(),qe()):(Ue>ze&&(ie||!_e)?(ue=Date.now(),qe()):z&&($e=new Promise((Et,Lt)=>{Ce=le?Lt:Et,pe=setTimeout(()=>{ue=Date.now(),_e=!0,Et(qe()),xe()},Math.max(0,ze-Ue))})),!ie&&!pe&&(pe=setTimeout(()=>_e=!0,ze)),_e=!1,$e)}}function identity$2($){return $}function tryOnScopeDispose$1($){return getCurrentScope()?(onScopeDispose($),!0):!1}function useDebounceFn$1($,z=200,ie={}){return createFilterWrapper$1(debounceFilter$1(z,ie),$)}function refDebounced($,z=200,ie={}){const le=ref($.value),ue=useDebounceFn$1(()=>{le.value=$.value},z,ie);return watch($,()=>ue()),le}function useThrottleFn($,z=200,ie=!1,le=!0,ue=!1){return createFilterWrapper$1(throttleFilter(z,ie,le,ue),$)}function tryOnMounted$1($,z=!0){getCurrentInstance()?onMounted($):z?$():nextTick($)}function useTimeoutFn$1($,z,ie={}){const{immediate:le=!0}=ie,ue=ref(!1);let pe=null;function _e(){pe&&(clearTimeout(pe),pe=null)}function Ce(){ue.value=!1,_e()}function $e(...xe){_e(),ue.value=!0,pe=setTimeout(()=>{ue.value=!1,pe=null,$(...xe)},resolveUnref(z))}return le&&(ue.value=!0,isClient$1&&$e()),tryOnScopeDispose$1(Ce),{isPending:readonly(ue),start:$e,stop:Ce}}function unrefElement$1($){var z;const ie=resolveUnref($);return(z=ie==null?void 0:ie.$el)!=null?z:ie}const defaultWindow$1=isClient$1?window:void 0,defaultDocument$1=isClient$1?window.document:void 0;function useEventListener$1(...$){let z,ie,le,ue;if(isString$5($[0])||Array.isArray($[0])?([ie,le,ue]=$,z=defaultWindow$1):[z,ie,le,ue]=$,!z)return noop$6;Array.isArray(ie)||(ie=[ie]),Array.isArray(le)||(le=[le]);const pe=[],_e=()=>{pe.forEach(Ie=>Ie()),pe.length=0},Ce=(Ie,Ve,ze,Ue)=>(Ie.addEventListener(Ve,ze,Ue),()=>Ie.removeEventListener(Ve,ze,Ue)),$e=watch(()=>[unrefElement$1(z),resolveUnref(ue)],([Ie,Ve])=>{_e(),Ie&&pe.push(...ie.flatMap(ze=>le.map(Ue=>Ce(Ie,ze,Ue,Ve))))},{immediate:!0,flush:"post"}),xe=()=>{$e(),_e()};return tryOnScopeDispose$1(xe),xe}let _iOSWorkaround$1=!1;function onClickOutside$1($,z,ie={}){const{window:le=defaultWindow$1,ignore:ue=[],capture:pe=!0,detectIframe:_e=!1}=ie;if(!le)return;isIOS$1&&!_iOSWorkaround$1&&(_iOSWorkaround$1=!0,Array.from(le.document.body.children).forEach(ze=>ze.addEventListener("click",noop$6)));let Ce=!0;const $e=ze=>ue.some(Ue=>{if(typeof Ue=="string")return Array.from(le.document.querySelectorAll(Ue)).some(qe=>qe===ze.target||ze.composedPath().includes(qe));{const qe=unrefElement$1(Ue);return qe&&(ze.target===qe||ze.composedPath().includes(qe))}}),Ie=[useEventListener$1(le,"click",ze=>{const Ue=unrefElement$1($);if(!(!Ue||Ue===ze.target||ze.composedPath().includes(Ue))){if(ze.detail===0&&(Ce=!$e(ze)),!Ce){Ce=!0;return}z(ze)}},{passive:!0,capture:pe}),useEventListener$1(le,"pointerdown",ze=>{const Ue=unrefElement$1($);Ue&&(Ce=!ze.composedPath().includes(Ue)&&!$e(ze))},{passive:!0}),_e&&useEventListener$1(le,"blur",ze=>{var Ue;const qe=unrefElement$1($);((Ue=le.document.activeElement)==null?void 0:Ue.tagName)==="IFRAME"&&!(qe!=null&&qe.contains(le.document.activeElement))&&z(ze)})].filter(Boolean);return()=>Ie.forEach(ze=>ze())}function useSupported$1($,z=!1){const ie=ref(),le=()=>ie.value=!!$();return le(),tryOnMounted$1(le,z),ie}function cloneFnJSON($){return JSON.parse(JSON.stringify($))}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($,z,{window:ie=defaultWindow$1,initialValue:le=""}={}){const ue=ref(le),pe=computed(()=>{var _e;return unrefElement$1(z)||((_e=ie==null?void 0:ie.document)==null?void 0:_e.documentElement)});return watch([pe,()=>resolveUnref($)],([_e,Ce])=>{var $e;if(_e&&ie){const xe=($e=ie.getComputedStyle(_e).getPropertyValue(Ce))==null?void 0:$e.trim();ue.value=xe||le}},{immediate:!0}),watch(ue,_e=>{var Ce;(Ce=pe.value)!=null&&Ce.style&&pe.value.style.setProperty(resolveUnref($),_e)}),ue}function useDocumentVisibility({document:$=defaultDocument$1}={}){if(!$)return ref("visible");const z=ref($.visibilityState);return useEventListener$1($,"visibilitychange",()=>{z.value=$.visibilityState}),z}var __getOwnPropSymbols$g$1=Object.getOwnPropertySymbols,__hasOwnProp$g$1=Object.prototype.hasOwnProperty,__propIsEnum$g$1=Object.prototype.propertyIsEnumerable,__objRest$2$1=($,z)=>{var ie={};for(var le in $)__hasOwnProp$g$1.call($,le)&&z.indexOf(le)<0&&(ie[le]=$[le]);if($!=null&&__getOwnPropSymbols$g$1)for(var le of __getOwnPropSymbols$g$1($))z.indexOf(le)<0&&__propIsEnum$g$1.call($,le)&&(ie[le]=$[le]);return ie};function useResizeObserver$1($,z,ie={}){const le=ie,{window:ue=defaultWindow$1}=le,pe=__objRest$2$1(le,["window"]);let _e;const Ce=useSupported$1(()=>ue&&"ResizeObserver"in ue),$e=()=>{_e&&(_e.disconnect(),_e=void 0)},xe=watch(()=>unrefElement$1($),Ve=>{$e(),Ce.value&&ue&&Ve&&(_e=new ResizeObserver(z),_e.observe(Ve,pe))},{immediate:!0,flush:"post"}),Ie=()=>{$e(),xe()};return tryOnScopeDispose$1(Ie),{isSupported:Ce,stop:Ie}}function useElementBounding($,z={}){const{reset:ie=!0,windowResize:le=!0,windowScroll:ue=!0,immediate:pe=!0}=z,_e=ref(0),Ce=ref(0),$e=ref(0),xe=ref(0),Ie=ref(0),Ve=ref(0),ze=ref(0),Ue=ref(0);function qe(){const Et=unrefElement$1($);if(!Et){ie&&(_e.value=0,Ce.value=0,$e.value=0,xe.value=0,Ie.value=0,Ve.value=0,ze.value=0,Ue.value=0);return}const Lt=Et.getBoundingClientRect();_e.value=Lt.height,Ce.value=Lt.bottom,$e.value=Lt.left,xe.value=Lt.right,Ie.value=Lt.top,Ve.value=Lt.width,ze.value=Lt.x,Ue.value=Lt.y}return useResizeObserver$1($,qe),watch(()=>unrefElement$1($),Et=>!Et&&qe()),ue&&useEventListener$1("scroll",qe,{capture:!0,passive:!0}),le&&useEventListener$1("resize",qe,{passive:!0}),tryOnMounted$1(()=>{pe&&qe()}),{height:_e,bottom:Ce,left:$e,right:xe,top:Ie,width:Ve,x:ze,y:Ue,update:qe}}var SwipeDirection;(function($){$.UP="UP",$.RIGHT="RIGHT",$.DOWN="DOWN",$.LEFT="LEFT",$.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=($,z,ie)=>z in $?__defProp($,z,{enumerable:!0,configurable:!0,writable:!0,value:ie}):$[z]=ie,__spreadValues=($,z)=>{for(var ie in z||(z={}))__hasOwnProp.call(z,ie)&&__defNormalProp($,ie,z[ie]);if(__getOwnPropSymbols)for(var ie of __getOwnPropSymbols(z))__propIsEnum.call(z,ie)&&__defNormalProp($,ie,z[ie]);return $};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($,z,ie,le={}){var ue,pe,_e;const{clone:Ce=!1,passive:$e=!1,eventName:xe,deep:Ie=!1,defaultValue:Ve}=le,ze=getCurrentInstance(),Ue=ie||(ze==null?void 0:ze.emit)||((ue=ze==null?void 0:ze.$emit)==null?void 0:ue.bind(ze))||((_e=(pe=ze==null?void 0:ze.proxy)==null?void 0:pe.$emit)==null?void 0:_e.bind(ze==null?void 0:ze.proxy));let qe=xe;z||(z="modelValue"),qe=xe||qe||`update:${z.toString()}`;const Et=hn=>Ce?isFunction$4(Ce)?Ce(hn):cloneFnJSON(hn):hn,Lt=()=>isDef($[z])?Et($[z]):Ve;if($e){const hn=Lt(),vn=ref(hn);return watch(()=>$[z],_n=>vn.value=Et(_n)),watch(vn,_n=>{(_n!==$[z]||Ie)&&Ue(qe,_n)},{deep:Ie}),vn}else return computed({get(){return Lt()},set(hn){Ue(qe,hn)}})}function useWindowFocus({window:$=defaultWindow$1}={}){if(!$)return ref(!1);const z=ref($.document.hasFocus());return useEventListener$1($,"blur",()=>{z.value=!1}),useEventListener$1($,"focus",()=>{z.value=!0}),z}function useWindowSize$1($={}){const{window:z=defaultWindow$1,initialWidth:ie=1/0,initialHeight:le=1/0,listenOrientation:ue=!0,includeScrollbar:pe=!0}=$,_e=ref(ie),Ce=ref(le),$e=()=>{z&&(pe?(_e.value=z.innerWidth,Ce.value=z.innerHeight):(_e.value=z.document.documentElement.clientWidth,Ce.value=z.document.documentElement.clientHeight))};return $e(),tryOnMounted$1($e),useEventListener$1("resize",$e,{passive:!0}),ue&&useEventListener$1("orientationchange",$e,{passive:!0}),{width:_e,height:Ce}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=($,z)=>{if(!isClient$1||!$||!z)return!1;const ie=$.getBoundingClientRect();let le;return z instanceof Element?le=z.getBoundingClientRect():le={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},ie.top<le.bottom&&ie.bottom>le.top&&ie.right>le.left&&ie.left<le.right},getOffsetTop=$=>{let z=0,ie=$;for(;ie;)z+=ie.offsetTop,ie=ie.offsetParent;return z},getOffsetTopDistance=($,z)=>Math.abs(getOffsetTop($)-getOffsetTop(z)),getClientXY=$=>{let z,ie;return $.type==="touchend"?(ie=$.changedTouches[0].clientY,z=$.changedTouches[0].clientX):$.type.startsWith("touch")?(ie=$.touches[0].clientY,z=$.touches[0].clientX):(ie=$.clientY,z=$.clientX),{clientX:z,clientY:ie}};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($){var z=hasOwnProperty$e.call($,symToStringTag$1),ie=$[symToStringTag$1];try{$[symToStringTag$1]=void 0;var le=!0}catch{}var ue=nativeObjectToString$1.call($);return le&&(z?$[symToStringTag$1]=ie:delete $[symToStringTag$1]),ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$2($){return nativeObjectToString.call($)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$3?Symbol$3.toStringTag:void 0;function baseGetTag($){return $==null?$===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object($)?getRawTag($):objectToString$2($)}function isObjectLike($){return $!=null&&typeof $=="object"}var symbolTag$3="[object Symbol]";function isSymbol$1($){return typeof $=="symbol"||isObjectLike($)&&baseGetTag($)==symbolTag$3}function arrayMap($,z){for(var ie=-1,le=$==null?0:$.length,ue=Array(le);++ie<le;)ue[ie]=z($[ie],ie,$);return ue}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($){if(typeof $=="string")return $;if(isArray$b($))return arrayMap($,baseToString)+"";if(isSymbol$1($))return symbolToString?symbolToString.call($):"";var z=$+"";return z=="0"&&1/$==-INFINITY$3?"-0":z}var reWhitespace=/\s/;function trimmedEndIndex($){for(var z=$.length;z--&&reWhitespace.test($.charAt(z)););return z}var reTrimStart=/^\s+/;function baseTrim($){return $&&$.slice(0,trimmedEndIndex($)+1).replace(reTrimStart,"")}function isObject$8($){var z=typeof $;return $!=null&&(z=="object"||z=="function")}var NAN=0/0,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber($){if(typeof $=="number")return $;if(isSymbol$1($))return NAN;if(isObject$8($)){var z=typeof $.valueOf=="function"?$.valueOf():$;$=isObject$8(z)?z+"":z}if(typeof $!="string")return $===0?$:+$;$=baseTrim($);var ie=reIsBinary.test($);return ie||reIsOctal.test($)?freeParseInt($.slice(2),ie?2:8):reIsBadHex.test($)?NAN:+$}function identity$1($){return $}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3($){if(!isObject$8($))return!1;var z=baseGetTag($);return z==funcTag$2||z==genTag$1||z==asyncTag||z==proxyTag}var coreJsData=root$1["__core-js_shared__"];const coreJsData$1=coreJsData;var maskSrcKey=function(){var $=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}();function isMasked($){return!!maskSrcKey&&maskSrcKey in $}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource($){if($!=null){try{return funcToString$2.call($)}catch{}try{return $+""}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($){if(!isObject$8($)||isMasked($))return!1;var z=isFunction$3($)?reIsNative:reIsHostCtor;return z.test(toSource($))}function getValue$1($,z){return $==null?void 0:$[z]}function getNative($,z){var ie=getValue$1($,z);return baseIsNative(ie)?ie:void 0}var WeakMap$3=getNative(root$1,"WeakMap");const WeakMap$4=WeakMap$3;var objectCreate=Object.create,baseCreate=function(){function $(){}return function(z){if(!isObject$8(z))return{};if(objectCreate)return objectCreate(z);$.prototype=z;var ie=new $;return $.prototype=void 0,ie}}();const baseCreate$1=baseCreate;function apply$1($,z,ie){switch(ie.length){case 0:return $.call(z);case 1:return $.call(z,ie[0]);case 2:return $.call(z,ie[0],ie[1]);case 3:return $.call(z,ie[0],ie[1],ie[2])}return $.apply(z,ie)}function noop$5(){}function copyArray($,z){var ie=-1,le=$.length;for(z||(z=Array(le));++ie<le;)z[ie]=$[ie];return z}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut($){var z=0,ie=0;return function(){var le=nativeNow(),ue=HOT_SPAN-(le-ie);if(ie=le,ue>0){if(++z>=HOT_COUNT)return arguments[0]}else z=0;return $.apply(void 0,arguments)}}function constant($){return function(){return $}}var defineProperty=function(){try{var $=getNative(Object,"defineProperty");return $({},"",{}),$}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function($,z){return defineProperty$1($,"toString",{configurable:!0,enumerable:!1,value:constant(z),writable:!0})}:identity$1;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach($,z){for(var ie=-1,le=$==null?0:$.length;++ie<le&&z($[ie],ie,$)!==!1;);return $}function baseFindIndex($,z,ie,le){for(var ue=$.length,pe=ie+(le?1:-1);le?pe--:++pe<ue;)if(z($[pe],pe,$))return pe;return-1}function baseIsNaN($){return $!==$}function strictIndexOf($,z,ie){for(var le=ie-1,ue=$.length;++le<ue;)if($[le]===z)return le;return-1}function baseIndexOf($,z,ie){return z===z?strictIndexOf($,z,ie):baseFindIndex($,baseIsNaN,ie)}function arrayIncludes($,z){var ie=$==null?0:$.length;return!!ie&&baseIndexOf($,z,0)>-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex($,z){var ie=typeof $;return z=z??MAX_SAFE_INTEGER$2,!!z&&(ie=="number"||ie!="symbol"&&reIsUint.test($))&&$>-1&&$%1==0&&$<z}function baseAssignValue($,z,ie){z=="__proto__"&&defineProperty$1?defineProperty$1($,z,{configurable:!0,enumerable:!0,value:ie,writable:!0}):$[z]=ie}function eq($,z){return $===z||$!==$&&z!==z}var objectProto$c=Object.prototype,hasOwnProperty$c=objectProto$c.hasOwnProperty;function assignValue($,z,ie){var le=$[z];(!(hasOwnProperty$c.call($,z)&&eq(le,ie))||ie===void 0&&!(z in $))&&baseAssignValue($,z,ie)}function copyObject($,z,ie,le){var ue=!ie;ie||(ie={});for(var pe=-1,_e=z.length;++pe<_e;){var Ce=z[pe],$e=le?le(ie[Ce],$[Ce],Ce,ie,$):void 0;$e===void 0&&($e=$[Ce]),ue?baseAssignValue(ie,Ce,$e):assignValue(ie,Ce,$e)}return ie}var nativeMax$1=Math.max;function overRest($,z,ie){return z=nativeMax$1(z===void 0?$.length-1:z,0),function(){for(var le=arguments,ue=-1,pe=nativeMax$1(le.length-z,0),_e=Array(pe);++ue<pe;)_e[ue]=le[z+ue];ue=-1;for(var Ce=Array(z+1);++ue<z;)Ce[ue]=le[ue];return Ce[z]=ie(_e),apply$1($,this,Ce)}}function baseRest($,z){return setToString$1(overRest($,z,identity$1),$+"")}var MAX_SAFE_INTEGER$1=9007199254740991;function isLength($){return typeof $=="number"&&$>-1&&$%1==0&&$<=MAX_SAFE_INTEGER$1}function isArrayLike$1($){return $!=null&&isLength($.length)&&!isFunction$3($)}function isIterateeCall($,z,ie){if(!isObject$8(ie))return!1;var le=typeof z;return(le=="number"?isArrayLike$1(ie)&&isIndex(z,ie.length):le=="string"&&z in ie)?eq(ie[z],$):!1}function createAssigner($){return baseRest(function(z,ie){var le=-1,ue=ie.length,pe=ue>1?ie[ue-1]:void 0,_e=ue>2?ie[2]:void 0;for(pe=$.length>3&&typeof pe=="function"?(ue--,pe):void 0,_e&&isIterateeCall(ie[0],ie[1],_e)&&(pe=ue<3?void 0:pe,ue=1),z=Object(z);++le<ue;){var Ce=ie[le];Ce&&$(z,Ce,le,pe)}return z})}var objectProto$b=Object.prototype;function isPrototype($){var z=$&&$.constructor,ie=typeof z=="function"&&z.prototype||objectProto$b;return $===ie}function baseTimes($,z){for(var ie=-1,le=Array($);++ie<$;)le[ie]=z(ie);return le}var argsTag$3="[object Arguments]";function baseIsArguments($){return isObjectLike($)&&baseGetTag($)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$b=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function($){return isObjectLike($)&&hasOwnProperty$b.call($,"callee")&&!propertyIsEnumerable$1.call($,"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($){return isObjectLike($)&&isLength($.length)&&!!typedArrayTags[baseGetTag($)]}function baseUnary($){return function(z){return $(z)}}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 $=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return $||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($,z){var ie=isArray$b($),le=!ie&&isArguments$1($),ue=!ie&&!le&&isBuffer$3($),pe=!ie&&!le&&!ue&&isTypedArray$3($),_e=ie||le||ue||pe,Ce=_e?baseTimes($.length,String):[],$e=Ce.length;for(var xe in $)(z||hasOwnProperty$a.call($,xe))&&!(_e&&(xe=="length"||ue&&(xe=="offset"||xe=="parent")||pe&&(xe=="buffer"||xe=="byteLength"||xe=="byteOffset")||isIndex(xe,$e)))&&Ce.push(xe);return Ce}function overArg($,z){return function(ie){return $(z(ie))}}var nativeKeys=overArg(Object.keys,Object);const nativeKeys$1=nativeKeys;var objectProto$8=Object.prototype,hasOwnProperty$9=objectProto$8.hasOwnProperty;function baseKeys($){if(!isPrototype($))return nativeKeys$1($);var z=[];for(var ie in Object($))hasOwnProperty$9.call($,ie)&&ie!="constructor"&&z.push(ie);return z}function keys$1($){return isArrayLike$1($)?arrayLikeKeys($):baseKeys($)}function nativeKeysIn($){var z=[];if($!=null)for(var ie in Object($))z.push(ie);return z}var objectProto$7=Object.prototype,hasOwnProperty$8=objectProto$7.hasOwnProperty;function baseKeysIn($){if(!isObject$8($))return nativeKeysIn($);var z=isPrototype($),ie=[];for(var le in $)le=="constructor"&&(z||!hasOwnProperty$8.call($,le))||ie.push(le);return ie}function keysIn($){return isArrayLike$1($)?arrayLikeKeys($,!0):baseKeysIn($)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey($,z){if(isArray$b($))return!1;var ie=typeof $;return ie=="number"||ie=="symbol"||ie=="boolean"||$==null||isSymbol$1($)?!0:reIsPlainProp.test($)||!reIsDeepProp.test($)||z!=null&&$ in Object(z)}var nativeCreate=getNative(Object,"create");const nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete($){var z=this.has($)&&delete this.__data__[$];return this.size-=z?1:0,z}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$7=objectProto$6.hasOwnProperty;function hashGet($){var z=this.__data__;if(nativeCreate$1){var ie=z[$];return ie===HASH_UNDEFINED$2?void 0:ie}return hasOwnProperty$7.call(z,$)?z[$]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function hashHas($){var z=this.__data__;return nativeCreate$1?z[$]!==void 0:hasOwnProperty$6.call(z,$)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet($,z){var ie=this.__data__;return this.size+=this.has($)?0:1,ie[$]=nativeCreate$1&&z===void 0?HASH_UNDEFINED$1:z,this}function Hash($){var z=-1,ie=$==null?0:$.length;for(this.clear();++z<ie;){var le=$[z];this.set(le[0],le[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($,z){for(var ie=$.length;ie--;)if(eq($[ie][0],z))return ie;return-1}var arrayProto$1=Array.prototype,splice=arrayProto$1.splice;function listCacheDelete($){var z=this.__data__,ie=assocIndexOf(z,$);if(ie<0)return!1;var le=z.length-1;return ie==le?z.pop():splice.call(z,ie,1),--this.size,!0}function listCacheGet$1($){var z=this.__data__,ie=assocIndexOf(z,$);return ie<0?void 0:z[ie][1]}function listCacheHas($){return assocIndexOf(this.__data__,$)>-1}function listCacheSet$1($,z){var ie=this.__data__,le=assocIndexOf(ie,$);return le<0?(++this.size,ie.push([$,z])):ie[le][1]=z,this}function ListCache($){var z=-1,ie=$==null?0:$.length;for(this.clear();++z<ie;){var le=$[z];this.set(le[0],le[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($){var z=typeof $;return z=="string"||z=="number"||z=="symbol"||z=="boolean"?$!=="__proto__":$===null}function getMapData($,z){var ie=$.__data__;return isKeyable(z)?ie[typeof z=="string"?"string":"hash"]:ie.map}function mapCacheDelete($){var z=getMapData(this,$).delete($);return this.size-=z?1:0,z}function mapCacheGet($){return getMapData(this,$).get($)}function mapCacheHas($){return getMapData(this,$).has($)}function mapCacheSet($,z){var ie=getMapData(this,$),le=ie.size;return ie.set($,z),this.size+=ie.size==le?0:1,this}function MapCache($){var z=-1,ie=$==null?0:$.length;for(this.clear();++z<ie;){var le=$[z];this.set(le[0],le[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($,z){if(typeof $!="function"||z!=null&&typeof z!="function")throw new TypeError(FUNC_ERROR_TEXT$2);var ie=function(){var le=arguments,ue=z?z.apply(this,le):le[0],pe=ie.cache;if(pe.has(ue))return pe.get(ue);var _e=$.apply(this,le);return ie.cache=pe.set(ue,_e)||pe,_e};return ie.cache=new(memoize.Cache||MapCache),ie}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped($){var z=memoize($,function(le){return ie.size===MAX_MEMOIZE_SIZE&&ie.clear(),le}),ie=z.cache;return z}var rePropName$1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar$1=/\\(\\)?/g,stringToPath$1=memoizeCapped(function($){var z=[];return $.charCodeAt(0)===46&&z.push(""),$.replace(rePropName$1,function(ie,le,ue,pe){z.push(ue?pe.replace(reEscapeChar$1,"$1"):le||ie)}),z});const stringToPath$2=stringToPath$1;function toString$2($){return $==null?"":baseToString($)}function castPath($,z){return isArray$b($)?$:isKey($,z)?[$]:stringToPath$2(toString$2($))}var INFINITY$2=1/0;function toKey($){if(typeof $=="string"||isSymbol$1($))return $;var z=$+"";return z=="0"&&1/$==-INFINITY$2?"-0":z}function baseGet($,z){z=castPath(z,$);for(var ie=0,le=z.length;$!=null&&ie<le;)$=$[toKey(z[ie++])];return ie&&ie==le?$:void 0}function get$1($,z,ie){var le=$==null?void 0:baseGet($,z);return le===void 0?ie:le}function arrayPush($,z){for(var ie=-1,le=z.length,ue=$.length;++ie<le;)$[ue+ie]=z[ie];return $}var spreadableSymbol=Symbol$3?Symbol$3.isConcatSpreadable:void 0;function isFlattenable($){return isArray$b($)||isArguments$1($)||!!(spreadableSymbol&&$&&$[spreadableSymbol])}function baseFlatten($,z,ie,le,ue){var pe=-1,_e=$.length;for(ie||(ie=isFlattenable),ue||(ue=[]);++pe<_e;){var Ce=$[pe];z>0&&ie(Ce)?z>1?baseFlatten(Ce,z-1,ie,le,ue):arrayPush(ue,Ce):le||(ue[ue.length]=Ce)}return ue}function flatten($){var z=$==null?0:$.length;return z?baseFlatten($,1):[]}function flatRest($){return setToString$1(overRest($,void 0,flatten),$+"")}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($){if(!isObjectLike($)||baseGetTag($)!=objectTag$3)return!1;var z=getPrototype$1($);if(z===null)return!0;var ie=hasOwnProperty$5.call(z,"constructor")&&z.constructor;return typeof ie=="function"&&ie instanceof ie&&funcToString.call(ie)==objectCtorString}function castArray$1(){if(!arguments.length)return[];var $=arguments[0];return isArray$b($)?$:[$]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete($){var z=this.__data__,ie=z.delete($);return this.size=z.size,ie}function stackGet($){return this.__data__.get($)}function stackHas($){return this.__data__.has($)}var LARGE_ARRAY_SIZE$1=200;function stackSet($,z){var ie=this.__data__;if(ie instanceof ListCache){var le=ie.__data__;if(!Map$2||le.length<LARGE_ARRAY_SIZE$1-1)return le.push([$,z]),this.size=++ie.size,this;ie=this.__data__=new MapCache(le)}return ie.set($,z),this.size=ie.size,this}function Stack($){var z=this.__data__=new ListCache($);this.size=z.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign($,z){return $&©Object(z,keys$1(z),$)}function baseAssignIn($,z){return $&©Object(z,keysIn(z),$)}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($,z){if(z)return $.slice();var ie=$.length,le=allocUnsafe?allocUnsafe(ie):new $.constructor(ie);return $.copy(le),le}function arrayFilter($,z){for(var ie=-1,le=$==null?0:$.length,ue=0,pe=[];++ie<le;){var _e=$[ie];z(_e,ie,$)&&(pe[ue++]=_e)}return pe}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function($){return $==null?[]:($=Object($),arrayFilter(nativeGetSymbols$1($),function(z){return propertyIsEnumerable.call($,z)}))}:stubArray;const getSymbols$1=getSymbols;function copySymbols($,z){return copyObject($,getSymbols$1($),z)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function($){for(var z=[];$;)arrayPush(z,getSymbols$1($)),$=getPrototype$1($);return z}:stubArray;const getSymbolsIn$1=getSymbolsIn;function copySymbolsIn($,z){return copyObject($,getSymbolsIn$1($),z)}function baseGetAllKeys($,z,ie){var le=z($);return isArray$b($)?le:arrayPush(le,ie($))}function getAllKeys($){return baseGetAllKeys($,keys$1,getSymbols$1)}function getAllKeysIn($){return baseGetAllKeys($,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($){var z=baseGetTag($),ie=z==objectTag$2?$.constructor:void 0,le=ie?toSource(ie):"";if(le)switch(le){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 z});const getTag$1=getTag;var objectProto$2=Object.prototype,hasOwnProperty$4=objectProto$2.hasOwnProperty;function initCloneArray($){var z=$.length,ie=new $.constructor(z);return z&&typeof $[0]=="string"&&hasOwnProperty$4.call($,"index")&&(ie.index=$.index,ie.input=$.input),ie}var Uint8Array$1=root$1.Uint8Array;const Uint8Array$2=Uint8Array$1;function cloneArrayBuffer($){var z=new $.constructor($.byteLength);return new Uint8Array$2(z).set(new Uint8Array$2($)),z}function cloneDataView($,z){var ie=z?cloneArrayBuffer($.buffer):$.buffer;return new $.constructor(ie,$.byteOffset,$.byteLength)}var reFlags=/\w*$/;function cloneRegExp($){var z=new $.constructor($.source,reFlags.exec($));return z.lastIndex=$.lastIndex,z}var symbolProto$1=Symbol$3?Symbol$3.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol($){return symbolValueOf$1?Object(symbolValueOf$1.call($)):{}}function cloneTypedArray($,z){var ie=z?cloneArrayBuffer($.buffer):$.buffer;return new $.constructor(ie,$.byteOffset,$.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($,z,ie){var le=$.constructor;switch(z){case arrayBufferTag$2:return cloneArrayBuffer($);case boolTag$2:case dateTag$2:return new le(+$);case dataViewTag$2:return cloneDataView($,ie);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($,ie);case mapTag$3:return new le;case numberTag$2:case stringTag$2:return new le($);case regexpTag$2:return cloneRegExp($);case setTag$3:return new le;case symbolTag$2:return cloneSymbol($)}}function initCloneObject($){return typeof $.constructor=="function"&&!isPrototype($)?baseCreate$1(getPrototype$1($)):{}}var mapTag$2="[object Map]";function baseIsMap($){return isObjectLike($)&&getTag$1($)==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($){return isObjectLike($)&&getTag$1($)==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($,z,ie,le,ue,pe){var _e,Ce=z&CLONE_DEEP_FLAG$1,$e=z&CLONE_FLAT_FLAG,xe=z&CLONE_SYMBOLS_FLAG$2;if(ie&&(_e=ue?ie($,le,ue,pe):ie($)),_e!==void 0)return _e;if(!isObject$8($))return $;var Ie=isArray$b($);if(Ie){if(_e=initCloneArray($),!Ce)return copyArray($,_e)}else{var Ve=getTag$1($),ze=Ve==funcTag||Ve==genTag;if(isBuffer$3($))return cloneBuffer($,Ce);if(Ve==objectTag$1||Ve==argsTag$1||ze&&!ue){if(_e=$e||ze?{}:initCloneObject($),!Ce)return $e?copySymbolsIn($,baseAssignIn(_e,$)):copySymbols($,baseAssign(_e,$))}else{if(!cloneableTags[Ve])return ue?$:{};_e=initCloneByTag($,Ve,Ce)}}pe||(pe=new Stack);var Ue=pe.get($);if(Ue)return Ue;pe.set($,_e),isSet$2($)?$.forEach(function(Lt){_e.add(baseClone(Lt,z,ie,Lt,$,pe))}):isMap$2($)&&$.forEach(function(Lt,hn){_e.set(hn,baseClone(Lt,z,ie,hn,$,pe))});var qe=xe?$e?getAllKeysIn:getAllKeys:$e?keysIn:keys$1,Et=Ie?void 0:qe($);return arrayEach(Et||$,function(Lt,hn){Et&&(hn=Lt,Lt=$[hn]),assignValue(_e,hn,baseClone(Lt,z,ie,hn,$,pe))}),_e}var CLONE_SYMBOLS_FLAG$1=4;function clone$4($){return baseClone($,CLONE_SYMBOLS_FLAG$1)}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep($){return baseClone($,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd($){return this.__data__.set($,HASH_UNDEFINED),this}function setCacheHas($){return this.__data__.has($)}function SetCache($){var z=-1,ie=$==null?0:$.length;for(this.__data__=new MapCache;++z<ie;)this.add($[z])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome($,z){for(var ie=-1,le=$==null?0:$.length;++ie<le;)if(z($[ie],ie,$))return!0;return!1}function cacheHas($,z){return $.has(z)}var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays($,z,ie,le,ue,pe){var _e=ie&COMPARE_PARTIAL_FLAG$5,Ce=$.length,$e=z.length;if(Ce!=$e&&!(_e&&$e>Ce))return!1;var xe=pe.get($),Ie=pe.get(z);if(xe&&Ie)return xe==z&&Ie==$;var Ve=-1,ze=!0,Ue=ie&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(pe.set($,z),pe.set(z,$);++Ve<Ce;){var qe=$[Ve],Et=z[Ve];if(le)var Lt=_e?le(Et,qe,Ve,z,$,pe):le(qe,Et,Ve,$,z,pe);if(Lt!==void 0){if(Lt)continue;ze=!1;break}if(Ue){if(!arraySome(z,function(hn,vn){if(!cacheHas(Ue,vn)&&(qe===hn||ue(qe,hn,ie,le,pe)))return Ue.push(vn)})){ze=!1;break}}else if(!(qe===Et||ue(qe,Et,ie,le,pe))){ze=!1;break}}return pe.delete($),pe.delete(z),ze}function mapToArray($){var z=-1,ie=Array($.size);return $.forEach(function(le,ue){ie[++z]=[ue,le]}),ie}function setToArray($){var z=-1,ie=Array($.size);return $.forEach(function(le){ie[++z]=le}),ie}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($,z,ie,le,ue,pe,_e){switch(ie){case dataViewTag:if($.byteLength!=z.byteLength||$.byteOffset!=z.byteOffset)return!1;$=$.buffer,z=z.buffer;case arrayBufferTag:return!($.byteLength!=z.byteLength||!pe(new Uint8Array$2($),new Uint8Array$2(z)));case boolTag:case dateTag:case numberTag:return eq(+$,+z);case errorTag:return $.name==z.name&&$.message==z.message;case regexpTag:case stringTag:return $==z+"";case mapTag:var Ce=mapToArray;case setTag:var $e=le&COMPARE_PARTIAL_FLAG$4;if(Ce||(Ce=setToArray),$.size!=z.size&&!$e)return!1;var xe=_e.get($);if(xe)return xe==z;le|=COMPARE_UNORDERED_FLAG$2,_e.set($,z);var Ie=equalArrays(Ce($),Ce(z),le,ue,pe,_e);return _e.delete($),Ie;case symbolTag:if(symbolValueOf)return symbolValueOf.call($)==symbolValueOf.call(z)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$3=objectProto$1.hasOwnProperty;function equalObjects($,z,ie,le,ue,pe){var _e=ie&COMPARE_PARTIAL_FLAG$3,Ce=getAllKeys($),$e=Ce.length,xe=getAllKeys(z),Ie=xe.length;if($e!=Ie&&!_e)return!1;for(var Ve=$e;Ve--;){var ze=Ce[Ve];if(!(_e?ze in z:hasOwnProperty$3.call(z,ze)))return!1}var Ue=pe.get($),qe=pe.get(z);if(Ue&&qe)return Ue==z&&qe==$;var Et=!0;pe.set($,z),pe.set(z,$);for(var Lt=_e;++Ve<$e;){ze=Ce[Ve];var hn=$[ze],vn=z[ze];if(le)var _n=_e?le(vn,hn,ze,z,$,pe):le(hn,vn,ze,$,z,pe);if(!(_n===void 0?hn===vn||ue(hn,vn,ie,le,pe):_n)){Et=!1;break}Lt||(Lt=ze=="constructor")}if(Et&&!Lt){var bn=$.constructor,Cn=z.constructor;bn!=Cn&&"constructor"in $&&"constructor"in z&&!(typeof bn=="function"&&bn instanceof bn&&typeof Cn=="function"&&Cn instanceof Cn)&&(Et=!1)}return pe.delete($),pe.delete(z),Et}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty$2=objectProto.hasOwnProperty;function baseIsEqualDeep($,z,ie,le,ue,pe){var _e=isArray$b($),Ce=isArray$b(z),$e=_e?arrayTag:getTag$1($),xe=Ce?arrayTag:getTag$1(z);$e=$e==argsTag?objectTag:$e,xe=xe==argsTag?objectTag:xe;var Ie=$e==objectTag,Ve=xe==objectTag,ze=$e==xe;if(ze&&isBuffer$3($)){if(!isBuffer$3(z))return!1;_e=!0,Ie=!1}if(ze&&!Ie)return pe||(pe=new Stack),_e||isTypedArray$3($)?equalArrays($,z,ie,le,ue,pe):equalByTag($,z,$e,ie,le,ue,pe);if(!(ie&COMPARE_PARTIAL_FLAG$2)){var Ue=Ie&&hasOwnProperty$2.call($,"__wrapped__"),qe=Ve&&hasOwnProperty$2.call(z,"__wrapped__");if(Ue||qe){var Et=Ue?$.value():$,Lt=qe?z.value():z;return pe||(pe=new Stack),ue(Et,Lt,ie,le,pe)}}return ze?(pe||(pe=new Stack),equalObjects($,z,ie,le,ue,pe)):!1}function baseIsEqual($,z,ie,le,ue){return $===z?!0:$==null||z==null||!isObjectLike($)&&!isObjectLike(z)?$!==$&&z!==z:baseIsEqualDeep($,z,ie,le,baseIsEqual,ue)}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch($,z,ie,le){var ue=ie.length,pe=ue,_e=!le;if($==null)return!pe;for($=Object($);ue--;){var Ce=ie[ue];if(_e&&Ce[2]?Ce[1]!==$[Ce[0]]:!(Ce[0]in $))return!1}for(;++ue<pe;){Ce=ie[ue];var $e=Ce[0],xe=$[$e],Ie=Ce[1];if(_e&&Ce[2]){if(xe===void 0&&!($e in $))return!1}else{var Ve=new Stack;if(le)var ze=le(xe,Ie,$e,$,z,Ve);if(!(ze===void 0?baseIsEqual(Ie,xe,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,le,Ve):ze))return!1}}return!0}function isStrictComparable($){return $===$&&!isObject$8($)}function getMatchData($){for(var z=keys$1($),ie=z.length;ie--;){var le=z[ie],ue=$[le];z[ie]=[le,ue,isStrictComparable(ue)]}return z}function matchesStrictComparable($,z){return function(ie){return ie==null?!1:ie[$]===z&&(z!==void 0||$ in Object(ie))}}function baseMatches($){var z=getMatchData($);return z.length==1&&z[0][2]?matchesStrictComparable(z[0][0],z[0][1]):function(ie){return ie===$||baseIsMatch(ie,$,z)}}function baseHasIn($,z){return $!=null&&z in Object($)}function hasPath($,z,ie){z=castPath(z,$);for(var le=-1,ue=z.length,pe=!1;++le<ue;){var _e=toKey(z[le]);if(!(pe=$!=null&&ie($,_e)))break;$=$[_e]}return pe||++le!=ue?pe:(ue=$==null?0:$.length,!!ue&&isLength(ue)&&isIndex(_e,ue)&&(isArray$b($)||isArguments$1($)))}function hasIn($,z){return $!=null&&hasPath($,z,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty($,z){return isKey($)&&isStrictComparable(z)?matchesStrictComparable(toKey($),z):function(ie){var le=get$1(ie,$);return le===void 0&&le===z?hasIn(ie,$):baseIsEqual(z,le,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty($){return function(z){return z==null?void 0:z[$]}}function basePropertyDeep($){return function(z){return baseGet(z,$)}}function property($){return isKey($)?baseProperty(toKey($)):basePropertyDeep($)}function baseIteratee($){return typeof $=="function"?$:$==null?identity$1:typeof $=="object"?isArray$b($)?baseMatchesProperty($[0],$[1]):baseMatches($):property($)}function createBaseFor($){return function(z,ie,le){for(var ue=-1,pe=Object(z),_e=le(z),Ce=_e.length;Ce--;){var $e=_e[$?Ce:++ue];if(ie(pe[$e],$e,pe)===!1)break}return z}}var baseFor=createBaseFor();const baseFor$1=baseFor;function baseForOwn($,z){return $&&baseFor$1($,z,keys$1)}function createBaseEach($,z){return function(ie,le){if(ie==null)return ie;if(!isArrayLike$1(ie))return $(ie,le);for(var ue=ie.length,pe=z?ue:-1,_e=Object(ie);(z?pe--:++pe<ue)&&le(_e[pe],pe,_e)!==!1;);return ie}}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($,z,ie){var le,ue,pe,_e,Ce,$e,xe=0,Ie=!1,Ve=!1,ze=!0;if(typeof $!="function")throw new TypeError(FUNC_ERROR_TEXT$1);z=toNumber(z)||0,isObject$8(ie)&&(Ie=!!ie.leading,Ve="maxWait"in ie,pe=Ve?nativeMax(toNumber(ie.maxWait)||0,z):pe,ze="trailing"in ie?!!ie.trailing:ze);function Ue(Sn){var En=le,wn=ue;return le=ue=void 0,xe=Sn,_e=$.apply(wn,En),_e}function qe(Sn){return xe=Sn,Ce=setTimeout(hn,z),Ie?Ue(Sn):_e}function Et(Sn){var En=Sn-$e,wn=Sn-xe,Tn=z-En;return Ve?nativeMin(Tn,pe-wn):Tn}function Lt(Sn){var En=Sn-$e,wn=Sn-xe;return $e===void 0||En>=z||En<0||Ve&&wn>=pe}function hn(){var Sn=now$1();if(Lt(Sn))return vn(Sn);Ce=setTimeout(hn,Et(Sn))}function vn(Sn){return Ce=void 0,ze&&le?Ue(Sn):(le=ue=void 0,_e)}function _n(){Ce!==void 0&&clearTimeout(Ce),xe=0,le=$e=ue=Ce=void 0}function bn(){return Ce===void 0?_e:vn(now$1())}function Cn(){var Sn=now$1(),En=Lt(Sn);if(le=arguments,ue=this,$e=Sn,En){if(Ce===void 0)return qe($e);if(Ve)return clearTimeout(Ce),Ce=setTimeout(hn,z),Ue($e)}return Ce===void 0&&(Ce=setTimeout(hn,z)),_e}return Cn.cancel=_n,Cn.flush=bn,Cn}function assignMergeValue($,z,ie){(ie!==void 0&&!eq($[z],ie)||ie===void 0&&!(z in $))&&baseAssignValue($,z,ie)}function isArrayLikeObject($){return isObjectLike($)&&isArrayLike$1($)}function safeGet($,z){if(!(z==="constructor"&&typeof $[z]=="function")&&z!="__proto__")return $[z]}function toPlainObject($){return copyObject($,keysIn($))}function baseMergeDeep($,z,ie,le,ue,pe,_e){var Ce=safeGet($,ie),$e=safeGet(z,ie),xe=_e.get($e);if(xe){assignMergeValue($,ie,xe);return}var Ie=pe?pe(Ce,$e,ie+"",$,z,_e):void 0,Ve=Ie===void 0;if(Ve){var ze=isArray$b($e),Ue=!ze&&isBuffer$3($e),qe=!ze&&!Ue&&isTypedArray$3($e);Ie=$e,ze||Ue||qe?isArray$b(Ce)?Ie=Ce:isArrayLikeObject(Ce)?Ie=copyArray(Ce):Ue?(Ve=!1,Ie=cloneBuffer($e,!0)):qe?(Ve=!1,Ie=cloneTypedArray($e,!0)):Ie=[]:isPlainObject$3($e)||isArguments$1($e)?(Ie=Ce,isArguments$1(Ce)?Ie=toPlainObject(Ce):(!isObject$8(Ce)||isFunction$3(Ce))&&(Ie=initCloneObject($e))):Ve=!1}Ve&&(_e.set($e,Ie),ue(Ie,$e,le,pe,_e),_e.delete($e)),assignMergeValue($,ie,Ie)}function baseMerge($,z,ie,le,ue){$!==z&&baseFor$1(z,function(pe,_e){if(ue||(ue=new Stack),isObject$8(pe))baseMergeDeep($,z,_e,ie,baseMerge,le,ue);else{var Ce=le?le(safeGet($,_e),pe,_e+"",$,z,ue):void 0;Ce===void 0&&(Ce=pe),assignMergeValue($,_e,Ce)}},keysIn)}function arrayIncludesWith($,z,ie){for(var le=-1,ue=$==null?0:$.length;++le<ue;)if(ie(z,$[le]))return!0;return!1}function baseMap($,z){var ie=-1,le=isArrayLike$1($)?Array($.length):[];return baseEach$1($,function(ue,pe,_e){le[++ie]=z(ue,pe,_e)}),le}function map$3($,z){var ie=isArray$b($)?arrayMap:baseMap;return ie($,baseIteratee(z))}function flatMap($,z){return baseFlatten(map$3($,z),1)}var INFINITY$1=1/0;function flattenDeep($){var z=$==null?0:$.length;return z?baseFlatten($,INFINITY$1):[]}function fromPairs($){for(var z=-1,ie=$==null?0:$.length,le={};++z<ie;){var ue=$[z];le[ue[0]]=ue[1]}return le}function isEqual$1($,z){return baseIsEqual($,z)}function isNil($){return $==null}function isUndefined$2($){return $===void 0}var merge$3=createAssigner(function($,z,ie){baseMerge($,z,ie)});const merge$4=merge$3;function baseSet($,z,ie,le){if(!isObject$8($))return $;z=castPath(z,$);for(var ue=-1,pe=z.length,_e=pe-1,Ce=$;Ce!=null&&++ue<pe;){var $e=toKey(z[ue]),xe=ie;if($e==="__proto__"||$e==="constructor"||$e==="prototype")return $;if(ue!=_e){var Ie=Ce[$e];xe=le?le(Ie,$e,Ce):void 0,xe===void 0&&(xe=isObject$8(Ie)?Ie:isIndex(z[ue+1])?[]:{})}assignValue(Ce,$e,xe),Ce=Ce[$e]}return $}function basePickBy($,z,ie){for(var le=-1,ue=z.length,pe={};++le<ue;){var _e=z[le],Ce=baseGet($,_e);ie(Ce,_e)&&baseSet(pe,castPath(_e,$),Ce)}return pe}function basePick($,z){return basePickBy($,z,function(ie,le){return hasIn($,le)})}var pick=flatRest(function($,z){return $==null?{}:basePick($,z)});const pick$1=pick;function set$2($,z,ie){return $==null?$:baseSet($,z,ie)}var FUNC_ERROR_TEXT="Expected a function";function throttle$1($,z,ie){var le=!0,ue=!0;if(typeof $!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$8(ie)&&(le="leading"in ie?!!ie.leading:le,ue="trailing"in ie?!!ie.trailing:ue),debounce($,z,{leading:le,maxWait:z,trailing:ue})}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function($){return new Set$2($)}:noop$5;const createSet$1=createSet;var LARGE_ARRAY_SIZE=200;function baseUniq($,z,ie){var le=-1,ue=arrayIncludes,pe=$.length,_e=!0,Ce=[],$e=Ce;if(ie)_e=!1,ue=arrayIncludesWith;else if(pe>=LARGE_ARRAY_SIZE){var xe=z?null:createSet$1($);if(xe)return setToArray(xe);_e=!1,ue=cacheHas,$e=new SetCache}else $e=z?[]:Ce;e:for(;++le<pe;){var Ie=$[le],Ve=z?z(Ie):Ie;if(Ie=ie||Ie!==0?Ie:0,_e&&Ve===Ve){for(var ze=$e.length;ze--;)if($e[ze]===Ve)continue e;z&&$e.push(Ve),Ce.push(Ie)}else ue($e,Ve,ie)||($e!==Ce&&$e.push(Ve),Ce.push(Ie))}return Ce}var union=baseRest(function($){return baseUniq(baseFlatten($,1,isArrayLikeObject,!0))});const union$1=union,isUndefined$1=$=>$===void 0,isBoolean$3=$=>typeof $=="boolean",isNumber$4=$=>typeof $=="number",isEmpty=$=>!$&&$!==0||isArray$c($)&&$.length===0||isObject$9($)&&!Object.keys($).length,isElement$2=$=>typeof Element>"u"?!1:$ instanceof Element,isPropAbsent=$=>isNil($),isStringNumber=$=>isString$6($)?!Number.isNaN(Number($)):!1,escapeStringRegexp=($="")=>$.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize$1=$=>capitalize$2($),keysOf=$=>Object.keys($),entriesOf=$=>Object.entries($),getProp=($,z,ie)=>({get value(){return get$1($,z,ie)},set value(le){set$2($,z,le)}});class ElementPlusError extends Error{constructor(z){super(z),this.name="ElementPlusError"}}function throwError$1($,z){throw new ElementPlusError(`[${$}] ${z}`)}function debugWarn($,z){}const classNameToArray=($="")=>$.split(" ").filter(z=>!!z.trim()),hasClass=($,z)=>{if(!$||!z)return!1;if(z.includes(" "))throw new Error("className should not contain space.");return $.classList.contains(z)},addClass=($,z)=>{!$||!z.trim()||$.classList.add(...classNameToArray(z))},removeClass=($,z)=>{!$||!z.trim()||$.classList.remove(...classNameToArray(z))},getStyle$1=($,z)=>{var ie;if(!isClient$1||!$||!z)return"";let le=camelize(z);le==="float"&&(le="cssFloat");try{const ue=$.style[le];if(ue)return ue;const pe=(ie=document.defaultView)==null?void 0:ie.getComputedStyle($,"");return pe?pe[le]:""}catch{return $.style[le]}};function addUnit($,z="px"){if(!$)return"";if(isNumber$4($)||isStringNumber($))return`${$}${z}`;if(isString$6($))return $}const isScroll=($,z)=>{if(!isClient$1)return!1;const ie={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(z)],le=getStyle$1($,ie);return["scroll","auto","overlay"].some(ue=>le.includes(ue))},getScrollContainer=($,z)=>{if(!isClient$1)return;let ie=$;for(;ie;){if([window,document,document.documentElement].includes(ie))return window;if(isScroll(ie,z))return ie;ie=ie.parentNode}return ie};let scrollBarWidth;const getScrollBarWidth=$=>{var z;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const ie=document.createElement("div");ie.className=`${$}-scrollbar__wrap`,ie.style.visibility="hidden",ie.style.width="100px",ie.style.position="absolute",ie.style.top="-9999px",document.body.appendChild(ie);const le=ie.offsetWidth;ie.style.overflow="scroll";const ue=document.createElement("div");ue.style.width="100%",ie.appendChild(ue);const pe=ue.offsetWidth;return(z=ie.parentNode)==null||z.removeChild(ie),scrollBarWidth=le-pe,scrollBarWidth};function scrollIntoView($,z){if(!isClient$1)return;if(!z){$.scrollTop=0;return}const ie=[];let le=z.offsetParent;for(;le!==null&&$!==le&&$.contains(le);)ie.push(le),le=le.offsetParent;const ue=z.offsetTop+ie.reduce(($e,xe)=>$e+xe.offsetTop,0),pe=ue+z.offsetHeight,_e=$.scrollTop,Ce=_e+$.clientHeight;ue<_e?$.scrollTop=ue:pe>Ce&&($.scrollTop=pe-$.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var export_helper_default=($,z)=>{let ie=$.__vccOpts||$;for(let[le,ue]of z)ie[le]=ue;return ie},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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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($,z,ie,le,ue,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=$=>$,isEpProp=$=>isObject$9($)&&!!$[epPropKey],buildProp=($,z)=>{if(!isObject$9($)||isEpProp($))return $;const{values:ie,required:le,default:ue,type:pe,validator:_e}=$,$e={type:pe,required:!!le,validator:ie||_e?xe=>{let Ie=!1,Ve=[];if(ie&&(Ve=Array.from(ie),hasOwn$4($,"default")&&Ve.push(ue),Ie||(Ie=Ve.includes(xe))),_e&&(Ie||(Ie=_e(xe))),!Ie&&Ve.length>0){const ze=[...new Set(Ve)].map(Ue=>JSON.stringify(Ue)).join(", ");warn$2(`Invalid prop: validation failed${z?` for prop "${z}"`:""}. Expected one of [${ze}], got value ${JSON.stringify(xe)}.`)}return Ie}:void 0,[epPropKey]:!0};return hasOwn$4($,"default")&&($e.default=ue),$e},buildProps=$=>fromPairs(Object.entries($).map(([z,ie])=>[z,buildProp(ie,z)])),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=($,z)=>{if($.install=ie=>{for(const le of[$,...Object.values(z??{})])ie.component(le.name,le)},z)for(const[ie,le]of Object.entries(z))$[ie]=le;return $},withInstallFunction=($,z)=>($.install=ie=>{$._context=ie._context,ie.config.globalProperties[z]=$},$),withInstallDirective=($,z)=>($.install=ie=>{ie.directive(z,$)},$),withNoopInstall=$=>($.install=NOOP,$),composeRefs=(...$)=>z=>{$.forEach(ie=>{isFunction$5(ie)?ie(z):ie.value=z})},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=$=>componentSizeMap[$||"default"],isValidComponentSize=$=>["",...componentSizes].includes($);var PatchFlags=($=>($[$.TEXT=1]="TEXT",$[$.CLASS=2]="CLASS",$[$.STYLE=4]="STYLE",$[$.PROPS=8]="PROPS",$[$.FULL_PROPS=16]="FULL_PROPS",$[$.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",$[$.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",$[$.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",$[$.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",$[$.NEED_PATCH=512]="NEED_PATCH",$[$.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",$[$.HOISTED=-1]="HOISTED",$[$.BAIL=-2]="BAIL",$))(PatchFlags||{});function isFragment($){return isVNode$1($)&&$.type===Fragment}function isComment($){return isVNode$1($)&&$.type===Comment}function isValidElementNode($){return isVNode$1($)&&!isFragment($)&&!isComment($)}const getNormalizedProps=$=>{if(!isVNode$1($))return{};const z=$.props||{},ie=(isVNode$1($.type)?$.type.props:void 0)||{},le={};return Object.keys(ie).forEach(ue=>{hasOwn$4(ie[ue],"default")&&(le[ue]=ie[ue].default)}),Object.keys(z).forEach(ue=>{le[camelize(ue)]=z[ue]}),le},ensureOnlyChild=$=>{if(!isArray$c($)||$.length>1)throw new Error("expect to receive a single Vue element child");return $[0]},flattedChildren=$=>{const z=isArray$c($)?$:[$],ie=[];return z.forEach(le=>{var ue;isArray$c(le)?ie.push(...flattedChildren(le)):isVNode$1(le)&&isArray$c(le.children)?ie.push(...flattedChildren(le.children)):(ie.push(le),isVNode$1(le)&&((ue=le.component)!=null&&ue.subTree)&&ie.push(...flattedChildren(le.component.subTree)))}),ie},unique=$=>[...new Set($)],castArray=$=>!$&&$!==0?[]:Array.isArray($)?$:[$],isKorean=$=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test($),rAF=$=>isClient$1?window.requestAnimationFrame($):setTimeout($,16),cAF=$=>isClient$1?window.cancelAnimationFrame($):clearTimeout($),generateId=()=>Math.floor(Math.random()*1e4),mutable=$=>$,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=($={})=>{const{excludeListeners:z=!1,excludeKeys:ie}=$,le=computed(()=>((ie==null?void 0:ie.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),ue=getCurrentInstance();return computed(ue?()=>{var pe;return fromPairs(Object.entries((pe=ue.proxy)==null?void 0:pe.$attrs).filter(([_e])=>!le.value.includes(_e)&&!(z&&LISTENER_PREFIX.test(_e))))}:()=>({}))},useDeprecated=({from:$,replacement:z,scope:ie,version:le,ref:ue,type:pe="API"},_e)=>{watch(()=>unref(_e),Ce=>{},{immediate:!0})},useDraggable=($,z,ie)=>{let le={offsetX:0,offsetY:0};const ue=Ce=>{const $e=Ce.clientX,xe=Ce.clientY,{offsetX:Ie,offsetY:Ve}=le,ze=$.value.getBoundingClientRect(),Ue=ze.left,qe=ze.top,Et=ze.width,Lt=ze.height,hn=document.documentElement.clientWidth,vn=document.documentElement.clientHeight,_n=-Ue+Ie,bn=-qe+Ve,Cn=hn-Ue-Et+Ie,Sn=vn-qe-Lt+Ve,En=Tn=>{const kn=Math.min(Math.max(Ie+Tn.clientX-$e,_n),Cn),xn=Math.min(Math.max(Ve+Tn.clientY-xe,bn),Sn);le={offsetX:kn,offsetY:xn},$.value.style.transform=`translate(${addUnit(kn)}, ${addUnit(xn)})`},wn=()=>{document.removeEventListener("mousemove",En),document.removeEventListener("mouseup",wn)};document.addEventListener("mousemove",En),document.addEventListener("mouseup",wn)},pe=()=>{z.value&&$.value&&z.value.addEventListener("mousedown",ue)},_e=()=>{z.value&&$.value&&z.value.removeEventListener("mousedown",ue)};onMounted(()=>{watchEffect(()=>{ie.value?pe():_e()})}),onBeforeUnmount(()=>{_e()})},useFocus=$=>({focus:()=>{var z,ie;(ie=(z=$.value)==null?void 0:z.focus)==null||ie.call(z)}});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=$=>(z,ie)=>translate$2(z,ie,unref($)),translate$2=($,z,ie)=>get$1(ie,$,$).replace(/\{(\w+)\}/g,(le,ue)=>{var pe;return`${(pe=z==null?void 0:z[ue])!=null?pe:`{${ue}}`}`}),buildLocaleContext=$=>{const z=computed(()=>unref($).name),ie=isRef($)?$:ref($);return{lang:z,locale:ie,t:buildTranslator($)}},localeContextKey=Symbol("localeContextKey"),useLocale=$=>{const z=$||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>z.value||English))},defaultNamespace="el",statePrefix="is-",_bem=($,z,ie,le,ue)=>{let pe=`${$}-${z}`;return ie&&(pe+=`-${ie}`),le&&(pe+=`__${le}`),ue&&(pe+=`--${ue}`),pe},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=$=>{const z=$||inject(namespaceContextKey,ref(defaultNamespace));return computed(()=>unref(z)||defaultNamespace)},useNamespace=($,z)=>{const ie=useGetDerivedNamespace(z);return{namespace:ie,b:(Et="")=>_bem(ie.value,$,Et,"",""),e:Et=>Et?_bem(ie.value,$,"",Et,""):"",m:Et=>Et?_bem(ie.value,$,"","",Et):"",be:(Et,Lt)=>Et&&Lt?_bem(ie.value,$,Et,Lt,""):"",em:(Et,Lt)=>Et&&Lt?_bem(ie.value,$,"",Et,Lt):"",bm:(Et,Lt)=>Et&&Lt?_bem(ie.value,$,Et,"",Lt):"",bem:(Et,Lt,hn)=>Et&&Lt&&hn?_bem(ie.value,$,Et,Lt,hn):"",is:(Et,...Lt)=>{const hn=Lt.length>=1?Lt[0]:!0;return Et&&hn?`${statePrefix}${Et}`:""},cssVar:Et=>{const Lt={};for(const hn in Et)Et[hn]&&(Lt[`--${ie.value}-${hn}`]=Et[hn]);return Lt},cssVarName:Et=>`--${ie.value}-${Et}`,cssVarBlock:Et=>{const Lt={};for(const hn in Et)Et[hn]&&(Lt[`--${ie.value}-${$}-${hn}`]=Et[hn]);return Lt},cssVarBlockName:Et=>`--${ie.value}-${$}-${Et}`}},useLockscreen=($,z={})=>{isRef($)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const ie=z.ns||useNamespace("popup"),le=computed$1(()=>ie.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,le.value))return;let ue=0,pe=!1,_e="0";const Ce=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,le.value),pe&&document&&(document.body.style.width=_e)},200)};watch($,$e=>{if(!$e){Ce();return}pe=!hasClass(document.body,le.value),pe&&(_e=document.body.style.width),ue=getScrollBarWidth(ie.namespace.value);const xe=document.documentElement.clientHeight<document.body.scrollHeight,Ie=getStyle$1(document.body,"overflowY");ue>0&&(xe||Ie==="scroll")&&pe&&(document.body.style.width=`calc(100% - ${ue}px)`),addClass(document.body,le.value)}),onScopeDispose(()=>Ce())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=$=>{const z=`update:${$}`,ie=`onUpdate:${$}`,le=[z],ue={[$]:_prop,[ie]:_event};return{useModelToggle:({indicator:_e,toggleReason:Ce,shouldHideWhenRouteChanges:$e,shouldProceed:xe,onShow:Ie,onHide:Ve})=>{const ze=getCurrentInstance(),{emit:Ue}=ze,qe=ze.props,Et=computed(()=>isFunction$5(qe[ie])),Lt=computed(()=>qe[$]===null),hn=En=>{_e.value!==!0&&(_e.value=!0,Ce&&(Ce.value=En),isFunction$5(Ie)&&Ie(En))},vn=En=>{_e.value!==!1&&(_e.value=!1,Ce&&(Ce.value=En),isFunction$5(Ve)&&Ve(En))},_n=En=>{if(qe.disabled===!0||isFunction$5(xe)&&!xe())return;const wn=Et.value&&isClient$1;wn&&Ue(z,!0),(Lt.value||!wn)&&hn(En)},bn=En=>{if(qe.disabled===!0||!isClient$1)return;const wn=Et.value&&isClient$1;wn&&Ue(z,!1),(Lt.value||!wn)&&vn(En)},Cn=En=>{isBoolean$3(En)&&(qe.disabled&&En?Et.value&&Ue(z,!1):_e.value!==En&&(En?hn():vn()))},Sn=()=>{_e.value?bn():_n()};return watch(()=>qe[$],Cn),$e&&ze.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...ze.proxy.$route}),()=>{$e.value&&_e.value&&bn()}),onMounted(()=>{Cn(qe[$])}),{hide:bn,show:_n,toggle:Sn,hasUpdateHandler:Et}},useModelToggleProps:ue,useModelToggleEmits:le}};createModelToggleComposable("modelValue");const useProp=$=>{const z=getCurrentInstance();return computed(()=>{var ie,le;return(le=(ie=z==null?void 0:z.proxy)==null?void 0:ie.$props)==null?void 0:le[$]})};var E$2="top",R$2="bottom",W$1="right",P$4="left",me$1="auto",G=[E$2,R$2,W$1,P$4],U$2="start",J="end",Xe="clippingParents",je$1="viewport",K$2="popper",Ye="reference",De=G.reduce(function($,z){return $.concat([z+"-"+U$2,z+"-"+J])},[]),Ee=[].concat(G,[me$1]).reduce(function($,z){return $.concat([z,z+"-"+U$2,z+"-"+J])},[]),Ge$1="beforeRead",Je="read",Ke="afterRead",Qe$1="beforeMain",Ze$1="main",et$1="afterMain",tt$1="beforeWrite",nt$1="write",rt$2="afterWrite",ot$1=[Ge$1,Je,Ke,Qe$1,Ze$1,et$1,tt$1,nt$1,rt$2];function C$2($){return $?($.nodeName||"").toLowerCase():null}function H$3($){if($==null)return window;if($.toString()!=="[object Window]"){var z=$.ownerDocument;return z&&z.defaultView||window}return $}function Q($){var z=H$3($).Element;return $ instanceof z||$ instanceof Element}function B($){var z=H$3($).HTMLElement;return $ instanceof z||$ instanceof HTMLElement}function Pe($){if(typeof ShadowRoot>"u")return!1;var z=H$3($).ShadowRoot;return $ instanceof z||$ instanceof ShadowRoot}function Mt$1($){var z=$.state;Object.keys(z.elements).forEach(function(ie){var le=z.styles[ie]||{},ue=z.attributes[ie]||{},pe=z.elements[ie];!B(pe)||!C$2(pe)||(Object.assign(pe.style,le),Object.keys(ue).forEach(function(_e){var Ce=ue[_e];Ce===!1?pe.removeAttribute(_e):pe.setAttribute(_e,Ce===!0?"":Ce)}))})}function Rt($){var z=$.state,ie={popper:{position:z.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(z.elements.popper.style,ie.popper),z.styles=ie,z.elements.arrow&&Object.assign(z.elements.arrow.style,ie.arrow),function(){Object.keys(z.elements).forEach(function(le){var ue=z.elements[le],pe=z.attributes[le]||{},_e=Object.keys(z.styles.hasOwnProperty(le)?z.styles[le]:ie[le]),Ce=_e.reduce(function($e,xe){return $e[xe]="",$e},{});!B(ue)||!C$2(ue)||(Object.assign(ue.style,Ce),Object.keys(pe).forEach(function($e){ue.removeAttribute($e)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$1,effect:Rt,requires:["computeStyles"]};function q$1($){return $.split("-")[0]}var X$1=Math.max,ve$1=Math.min,Z$1=Math.round;function ee($,z){z===void 0&&(z=!1);var ie=$.getBoundingClientRect(),le=1,ue=1;if(B($)&&z){var pe=$.offsetHeight,_e=$.offsetWidth;_e>0&&(le=Z$1(ie.width)/_e||1),pe>0&&(ue=Z$1(ie.height)/pe||1)}return{width:ie.width/le,height:ie.height/ue,top:ie.top/ue,right:ie.right/le,bottom:ie.bottom/ue,left:ie.left/le,x:ie.left/le,y:ie.top/ue}}function ke($){var z=ee($),ie=$.offsetWidth,le=$.offsetHeight;return Math.abs(z.width-ie)<=1&&(ie=z.width),Math.abs(z.height-le)<=1&&(le=z.height),{x:$.offsetLeft,y:$.offsetTop,width:ie,height:le}}function it$1($,z){var ie=z.getRootNode&&z.getRootNode();if($.contains(z))return!0;if(ie&&Pe(ie)){var le=z;do{if(le&&$.isSameNode(le))return!0;le=le.parentNode||le.host}while(le)}return!1}function N$1($){return H$3($).getComputedStyle($)}function Wt$1($){return["table","td","th"].indexOf(C$2($))>=0}function I$2($){return((Q($)?$.ownerDocument:$.document)||window.document).documentElement}function ge$1($){return C$2($)==="html"?$:$.assignedSlot||$.parentNode||(Pe($)?$.host:null)||I$2($)}function at$1($){return!B($)||N$1($).position==="fixed"?null:$.offsetParent}function Bt$1($){var z=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,ie=navigator.userAgent.indexOf("Trident")!==-1;if(ie&&B($)){var le=N$1($);if(le.position==="fixed")return null}var ue=ge$1($);for(Pe(ue)&&(ue=ue.host);B(ue)&&["html","body"].indexOf(C$2(ue))<0;){var pe=N$1(ue);if(pe.transform!=="none"||pe.perspective!=="none"||pe.contain==="paint"||["transform","perspective"].indexOf(pe.willChange)!==-1||z&&pe.willChange==="filter"||z&&pe.filter&&pe.filter!=="none")return ue;ue=ue.parentNode}return null}function se($){for(var z=H$3($),ie=at$1($);ie&&Wt$1(ie)&&N$1(ie).position==="static";)ie=at$1(ie);return ie&&(C$2(ie)==="html"||C$2(ie)==="body"&&N$1(ie).position==="static")?z:ie||Bt$1($)||z}function Le$1($){return["top","bottom"].indexOf($)>=0?"x":"y"}function fe$1($,z,ie){return X$1($,ve$1(z,ie))}function St$1($,z,ie){var le=fe$1($,z,ie);return le>ie?ie:le}function st(){return{top:0,right:0,bottom:0,left:0}}function ft($){return Object.assign({},st(),$)}function ct($,z){return z.reduce(function(ie,le){return ie[le]=$,ie},{})}var Tt=function($,z){return $=typeof $=="function"?$(Object.assign({},z.rects,{placement:z.placement})):$,ft(typeof $!="number"?$:ct($,G))};function Ht$1($){var z,ie=$.state,le=$.name,ue=$.options,pe=ie.elements.arrow,_e=ie.modifiersData.popperOffsets,Ce=q$1(ie.placement),$e=Le$1(Ce),xe=[P$4,W$1].indexOf(Ce)>=0,Ie=xe?"height":"width";if(!(!pe||!_e)){var Ve=Tt(ue.padding,ie),ze=ke(pe),Ue=$e==="y"?E$2:P$4,qe=$e==="y"?R$2:W$1,Et=ie.rects.reference[Ie]+ie.rects.reference[$e]-_e[$e]-ie.rects.popper[Ie],Lt=_e[$e]-ie.rects.reference[$e],hn=se(pe),vn=hn?$e==="y"?hn.clientHeight||0:hn.clientWidth||0:0,_n=Et/2-Lt/2,bn=Ve[Ue],Cn=vn-ze[Ie]-Ve[qe],Sn=vn/2-ze[Ie]/2+_n,En=fe$1(bn,Sn,Cn),wn=$e;ie.modifiersData[le]=(z={},z[wn]=En,z.centerOffset=En-Sn,z)}}function Ct($){var z=$.state,ie=$.options,le=ie.element,ue=le===void 0?"[data-popper-arrow]":le;ue!=null&&(typeof ue=="string"&&(ue=z.elements.popper.querySelector(ue),!ue)||!it$1(z.elements.popper,ue)||(z.elements.arrow=ue))}var pt$1={name:"arrow",enabled:!0,phase:"main",fn:Ht$1,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te($){return $.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt$1($){var z=$.x,ie=$.y,le=window,ue=le.devicePixelRatio||1;return{x:Z$1(z*ue)/ue||0,y:Z$1(ie*ue)/ue||0}}function ut$1($){var z,ie=$.popper,le=$.popperRect,ue=$.placement,pe=$.variation,_e=$.offsets,Ce=$.position,$e=$.gpuAcceleration,xe=$.adaptive,Ie=$.roundOffsets,Ve=$.isFixed,ze=_e.x,Ue=ze===void 0?0:ze,qe=_e.y,Et=qe===void 0?0:qe,Lt=typeof Ie=="function"?Ie({x:Ue,y:Et}):{x:Ue,y:Et};Ue=Lt.x,Et=Lt.y;var hn=_e.hasOwnProperty("x"),vn=_e.hasOwnProperty("y"),_n=P$4,bn=E$2,Cn=window;if(xe){var Sn=se(ie),En="clientHeight",wn="clientWidth";if(Sn===H$3(ie)&&(Sn=I$2(ie),N$1(Sn).position!=="static"&&Ce==="absolute"&&(En="scrollHeight",wn="scrollWidth")),Sn=Sn,ue===E$2||(ue===P$4||ue===W$1)&&pe===J){bn=R$2;var Tn=Ve&&Sn===Cn&&Cn.visualViewport?Cn.visualViewport.height:Sn[En];Et-=Tn-le.height,Et*=$e?1:-1}if(ue===P$4||(ue===E$2||ue===R$2)&&pe===J){_n=W$1;var kn=Ve&&Sn===Cn&&Cn.visualViewport?Cn.visualViewport.width:Sn[wn];Ue-=kn-le.width,Ue*=$e?1:-1}}var xn=Object.assign({position:Ce},xe&&qt),Pn=Ie===!0?Vt$1({x:Ue,y:Et}):{x:Ue,y:Et};if(Ue=Pn.x,Et=Pn.y,$e){var An;return Object.assign({},xn,(An={},An[bn]=vn?"0":"",An[_n]=hn?"0":"",An.transform=(Cn.devicePixelRatio||1)<=1?"translate("+Ue+"px, "+Et+"px)":"translate3d("+Ue+"px, "+Et+"px, 0)",An))}return Object.assign({},xn,(z={},z[bn]=vn?Et+"px":"",z[_n]=hn?Ue+"px":"",z.transform="",z))}function Nt$1($){var z=$.state,ie=$.options,le=ie.gpuAcceleration,ue=le===void 0?!0:le,pe=ie.adaptive,_e=pe===void 0?!0:pe,Ce=ie.roundOffsets,$e=Ce===void 0?!0:Ce,xe={placement:q$1(z.placement),variation:te(z.placement),popper:z.elements.popper,popperRect:z.rects.popper,gpuAcceleration:ue,isFixed:z.options.strategy==="fixed"};z.modifiersData.popperOffsets!=null&&(z.styles.popper=Object.assign({},z.styles.popper,ut$1(Object.assign({},xe,{offsets:z.modifiersData.popperOffsets,position:z.options.strategy,adaptive:_e,roundOffsets:$e})))),z.modifiersData.arrow!=null&&(z.styles.arrow=Object.assign({},z.styles.arrow,ut$1(Object.assign({},xe,{offsets:z.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:$e})))),z.attributes.popper=Object.assign({},z.attributes.popper,{"data-popper-placement":z.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt$1,data:{}},ye$1={passive:!0};function It$1($){var z=$.state,ie=$.instance,le=$.options,ue=le.scroll,pe=ue===void 0?!0:ue,_e=le.resize,Ce=_e===void 0?!0:_e,$e=H$3(z.elements.popper),xe=[].concat(z.scrollParents.reference,z.scrollParents.popper);return pe&&xe.forEach(function(Ie){Ie.addEventListener("scroll",ie.update,ye$1)}),Ce&&$e.addEventListener("resize",ie.update,ye$1),function(){pe&&xe.forEach(function(Ie){Ie.removeEventListener("scroll",ie.update,ye$1)}),Ce&&$e.removeEventListener("resize",ie.update,ye$1)}}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$1($){return $.replace(/left|right|bottom|top/g,function(z){return _t$1[z]})}var zt$1={start:"end",end:"start"};function lt$2($){return $.replace(/start|end/g,function(z){return zt$1[z]})}function We($){var z=H$3($),ie=z.pageXOffset,le=z.pageYOffset;return{scrollLeft:ie,scrollTop:le}}function Be($){return ee(I$2($)).left+We($).scrollLeft}function Ft$1($){var z=H$3($),ie=I$2($),le=z.visualViewport,ue=ie.clientWidth,pe=ie.clientHeight,_e=0,Ce=0;return le&&(ue=le.width,pe=le.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(_e=le.offsetLeft,Ce=le.offsetTop)),{width:ue,height:pe,x:_e+Be($),y:Ce}}function Ut$1($){var z,ie=I$2($),le=We($),ue=(z=$.ownerDocument)==null?void 0:z.body,pe=X$1(ie.scrollWidth,ie.clientWidth,ue?ue.scrollWidth:0,ue?ue.clientWidth:0),_e=X$1(ie.scrollHeight,ie.clientHeight,ue?ue.scrollHeight:0,ue?ue.clientHeight:0),Ce=-le.scrollLeft+Be($),$e=-le.scrollTop;return N$1(ue||ie).direction==="rtl"&&(Ce+=X$1(ie.clientWidth,ue?ue.clientWidth:0)-pe),{width:pe,height:_e,x:Ce,y:$e}}function Se($){var z=N$1($),ie=z.overflow,le=z.overflowX,ue=z.overflowY;return/auto|scroll|overlay|hidden/.test(ie+ue+le)}function dt$1($){return["html","body","#document"].indexOf(C$2($))>=0?$.ownerDocument.body:B($)&&Se($)?$:dt$1(ge$1($))}function ce$1($,z){var ie;z===void 0&&(z=[]);var le=dt$1($),ue=le===((ie=$.ownerDocument)==null?void 0:ie.body),pe=H$3(le),_e=ue?[pe].concat(pe.visualViewport||[],Se(le)?le:[]):le,Ce=z.concat(_e);return ue?Ce:Ce.concat(ce$1(ge$1(_e)))}function Te($){return Object.assign({},$,{left:$.x,top:$.y,right:$.x+$.width,bottom:$.y+$.height})}function Xt$1($){var z=ee($);return z.top=z.top+$.clientTop,z.left=z.left+$.clientLeft,z.bottom=z.top+$.clientHeight,z.right=z.left+$.clientWidth,z.width=$.clientWidth,z.height=$.clientHeight,z.x=z.left,z.y=z.top,z}function ht($,z){return z===je$1?Te(Ft$1($)):Q(z)?Xt$1(z):Te(Ut$1(I$2($)))}function Yt($){var z=ce$1(ge$1($)),ie=["absolute","fixed"].indexOf(N$1($).position)>=0,le=ie&&B($)?se($):$;return Q(le)?z.filter(function(ue){return Q(ue)&&it$1(ue,le)&&C$2(ue)!=="body"}):[]}function Gt($,z,ie){var le=z==="clippingParents"?Yt($):[].concat(z),ue=[].concat(le,[ie]),pe=ue[0],_e=ue.reduce(function(Ce,$e){var xe=ht($,$e);return Ce.top=X$1(xe.top,Ce.top),Ce.right=ve$1(xe.right,Ce.right),Ce.bottom=ve$1(xe.bottom,Ce.bottom),Ce.left=X$1(xe.left,Ce.left),Ce},ht($,pe));return _e.width=_e.right-_e.left,_e.height=_e.bottom-_e.top,_e.x=_e.left,_e.y=_e.top,_e}function mt$1($){var z=$.reference,ie=$.element,le=$.placement,ue=le?q$1(le):null,pe=le?te(le):null,_e=z.x+z.width/2-ie.width/2,Ce=z.y+z.height/2-ie.height/2,$e;switch(ue){case E$2:$e={x:_e,y:z.y-ie.height};break;case R$2:$e={x:_e,y:z.y+z.height};break;case W$1:$e={x:z.x+z.width,y:Ce};break;case P$4:$e={x:z.x-ie.width,y:Ce};break;default:$e={x:z.x,y:z.y}}var xe=ue?Le$1(ue):null;if(xe!=null){var Ie=xe==="y"?"height":"width";switch(pe){case U$2:$e[xe]=$e[xe]-(z[Ie]/2-ie[Ie]/2);break;case J:$e[xe]=$e[xe]+(z[Ie]/2-ie[Ie]/2);break}}return $e}function ne$1($,z){z===void 0&&(z={});var ie=z,le=ie.placement,ue=le===void 0?$.placement:le,pe=ie.boundary,_e=pe===void 0?Xe:pe,Ce=ie.rootBoundary,$e=Ce===void 0?je$1:Ce,xe=ie.elementContext,Ie=xe===void 0?K$2:xe,Ve=ie.altBoundary,ze=Ve===void 0?!1:Ve,Ue=ie.padding,qe=Ue===void 0?0:Ue,Et=ft(typeof qe!="number"?qe:ct(qe,G)),Lt=Ie===K$2?Ye:K$2,hn=$.rects.popper,vn=$.elements[ze?Lt:Ie],_n=Gt(Q(vn)?vn:vn.contextElement||I$2($.elements.popper),_e,$e),bn=ee($.elements.reference),Cn=mt$1({reference:bn,element:hn,strategy:"absolute",placement:ue}),Sn=Te(Object.assign({},hn,Cn)),En=Ie===K$2?Sn:bn,wn={top:_n.top-En.top+Et.top,bottom:En.bottom-_n.bottom+Et.bottom,left:_n.left-En.left+Et.left,right:En.right-_n.right+Et.right},Tn=$.modifiersData.offset;if(Ie===K$2&&Tn){var kn=Tn[ue];Object.keys(wn).forEach(function(xn){var Pn=[W$1,R$2].indexOf(xn)>=0?1:-1,An=[E$2,R$2].indexOf(xn)>=0?"y":"x";wn[xn]+=kn[An]*Pn})}return wn}function Jt($,z){z===void 0&&(z={});var ie=z,le=ie.placement,ue=ie.boundary,pe=ie.rootBoundary,_e=ie.padding,Ce=ie.flipVariations,$e=ie.allowedAutoPlacements,xe=$e===void 0?Ee:$e,Ie=te(le),Ve=Ie?Ce?De:De.filter(function(qe){return te(qe)===Ie}):G,ze=Ve.filter(function(qe){return xe.indexOf(qe)>=0});ze.length===0&&(ze=Ve);var Ue=ze.reduce(function(qe,Et){return qe[Et]=ne$1($,{placement:Et,boundary:ue,rootBoundary:pe,padding:_e})[q$1(Et)],qe},{});return Object.keys(Ue).sort(function(qe,Et){return Ue[qe]-Ue[Et]})}function Kt($){if(q$1($)===me$1)return[];var z=be$1($);return[lt$2($),z,lt$2(z)]}function Qt($){var z=$.state,ie=$.options,le=$.name;if(!z.modifiersData[le]._skip){for(var ue=ie.mainAxis,pe=ue===void 0?!0:ue,_e=ie.altAxis,Ce=_e===void 0?!0:_e,$e=ie.fallbackPlacements,xe=ie.padding,Ie=ie.boundary,Ve=ie.rootBoundary,ze=ie.altBoundary,Ue=ie.flipVariations,qe=Ue===void 0?!0:Ue,Et=ie.allowedAutoPlacements,Lt=z.options.placement,hn=q$1(Lt),vn=hn===Lt,_n=$e||(vn||!qe?[be$1(Lt)]:Kt(Lt)),bn=[Lt].concat(_n).reduce(function(lr,yr){return lr.concat(q$1(yr)===me$1?Jt(z,{placement:yr,boundary:Ie,rootBoundary:Ve,padding:xe,flipVariations:qe,allowedAutoPlacements:Et}):yr)},[]),Cn=z.rects.reference,Sn=z.rects.popper,En=new Map,wn=!0,Tn=bn[0],kn=0;kn<bn.length;kn++){var xn=bn[kn],Pn=q$1(xn),An=te(xn)===U$2,In=[E$2,R$2].indexOf(Pn)>=0,Fn=In?"width":"height",Dn=ne$1(z,{placement:xn,boundary:Ie,rootBoundary:Ve,altBoundary:ze,padding:xe}),On=In?An?W$1:P$4:An?R$2:E$2;Cn[Fn]>Sn[Fn]&&(On=be$1(On));var Vn=be$1(On),Mn=[];if(pe&&Mn.push(Dn[Pn]<=0),Ce&&Mn.push(Dn[On]<=0,Dn[Vn]<=0),Mn.every(function(lr){return lr})){Tn=xn,wn=!1;break}En.set(xn,Mn)}if(wn)for(var zn=qe?3:1,Kn=function(lr){var yr=bn.find(function(ir){var Yn=En.get(ir);if(Yn)return Yn.slice(0,lr).every(function(Gn){return Gn})});if(yr)return Tn=yr,"break"},Hn=zn;Hn>0;Hn--){var Xn=Kn(Hn);if(Xn==="break")break}z.placement!==Tn&&(z.modifiersData[le]._skip=!0,z.placement=Tn,z.reset=!0)}}var vt$1={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt$1($,z,ie){return ie===void 0&&(ie={x:0,y:0}),{top:$.top-z.height-ie.y,right:$.right-z.width+ie.x,bottom:$.bottom-z.height+ie.y,left:$.left-z.width-ie.x}}function yt($){return[E$2,W$1,R$2,P$4].some(function(z){return $[z]>=0})}function Zt($){var z=$.state,ie=$.name,le=z.rects.reference,ue=z.rects.popper,pe=z.modifiersData.preventOverflow,_e=ne$1(z,{elementContext:"reference"}),Ce=ne$1(z,{altBoundary:!0}),$e=gt$1(_e,le),xe=gt$1(Ce,ue,pe),Ie=yt($e),Ve=yt(xe);z.modifiersData[ie]={referenceClippingOffsets:$e,popperEscapeOffsets:xe,isReferenceHidden:Ie,hasPopperEscaped:Ve},z.attributes.popper=Object.assign({},z.attributes.popper,{"data-popper-reference-hidden":Ie,"data-popper-escaped":Ve})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en$2($,z,ie){var le=q$1($),ue=[P$4,E$2].indexOf(le)>=0?-1:1,pe=typeof ie=="function"?ie(Object.assign({},z,{placement:$})):ie,_e=pe[0],Ce=pe[1];return _e=_e||0,Ce=(Ce||0)*ue,[P$4,W$1].indexOf(le)>=0?{x:Ce,y:_e}:{x:_e,y:Ce}}function tn$1($){var z=$.state,ie=$.options,le=$.name,ue=ie.offset,pe=ue===void 0?[0,0]:ue,_e=Ee.reduce(function(Ie,Ve){return Ie[Ve]=en$2(Ve,z.rects,pe),Ie},{}),Ce=_e[z.placement],$e=Ce.x,xe=Ce.y;z.modifiersData.popperOffsets!=null&&(z.modifiersData.popperOffsets.x+=$e,z.modifiersData.popperOffsets.y+=xe),z.modifiersData[le]=_e}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn$1};function nn($){var z=$.state,ie=$.name;z.modifiersData[ie]=mt$1({reference:z.rects.reference,element:z.rects.popper,strategy:"absolute",placement:z.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn$1($){return $==="x"?"y":"x"}function on($){var z=$.state,ie=$.options,le=$.name,ue=ie.mainAxis,pe=ue===void 0?!0:ue,_e=ie.altAxis,Ce=_e===void 0?!1:_e,$e=ie.boundary,xe=ie.rootBoundary,Ie=ie.altBoundary,Ve=ie.padding,ze=ie.tether,Ue=ze===void 0?!0:ze,qe=ie.tetherOffset,Et=qe===void 0?0:qe,Lt=ne$1(z,{boundary:$e,rootBoundary:xe,padding:Ve,altBoundary:Ie}),hn=q$1(z.placement),vn=te(z.placement),_n=!vn,bn=Le$1(hn),Cn=rn$1(bn),Sn=z.modifiersData.popperOffsets,En=z.rects.reference,wn=z.rects.popper,Tn=typeof Et=="function"?Et(Object.assign({},z.rects,{placement:z.placement})):Et,kn=typeof Tn=="number"?{mainAxis:Tn,altAxis:Tn}:Object.assign({mainAxis:0,altAxis:0},Tn),xn=z.modifiersData.offset?z.modifiersData.offset[z.placement]:null,Pn={x:0,y:0};if(Sn){if(pe){var An,In=bn==="y"?E$2:P$4,Fn=bn==="y"?R$2:W$1,Dn=bn==="y"?"height":"width",On=Sn[bn],Vn=On+Lt[In],Mn=On-Lt[Fn],zn=Ue?-wn[Dn]/2:0,Kn=vn===U$2?En[Dn]:wn[Dn],Hn=vn===U$2?-wn[Dn]:-En[Dn],Xn=z.elements.arrow,lr=Ue&&Xn?ke(Xn):{width:0,height:0},yr=z.modifiersData["arrow#persistent"]?z.modifiersData["arrow#persistent"].padding:st(),ir=yr[In],Yn=yr[Fn],Gn=fe$1(0,En[Dn],lr[Dn]),Wn=_n?En[Dn]/2-zn-Gn-ir-kn.mainAxis:Kn-Gn-ir-kn.mainAxis,Qn=_n?-En[Dn]/2+zn+Gn+Yn+kn.mainAxis:Hn+Gn+Yn+kn.mainAxis,fr=z.elements.arrow&&se(z.elements.arrow),jn=fr?bn==="y"?fr.clientTop||0:fr.clientLeft||0:0,Zn=(An=xn==null?void 0:xn[bn])!=null?An:0,rr=On+Wn-Zn-jn,mr=On+Qn-Zn,_r=fe$1(Ue?ve$1(Vn,rr):Vn,On,Ue?X$1(Mn,mr):Mn);Sn[bn]=_r,Pn[bn]=_r-On}if(Ce){var or,$r=bn==="x"?E$2:P$4,gr=bn==="x"?R$2:W$1,xr=Sn[Cn],pr=Cn==="y"?"height":"width",sr=xr+Lt[$r],cr=xr-Lt[gr],hr=[E$2,P$4].indexOf(hn)!==-1,Pr=(or=xn==null?void 0:xn[Cn])!=null?or:0,Dr=hr?sr:xr-En[pr]-wn[pr]-Pr+kn.altAxis,Lr=hr?xr+En[pr]+wn[pr]-Pr-kn.altAxis:cr,Nr=Ue&&hr?St$1(Dr,xr,Lr):fe$1(Ue?Dr:sr,xr,Ue?Lr:cr);Sn[Cn]=Nr,Pn[Cn]=Nr-xr}z.modifiersData[le]=Pn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an($){return{scrollLeft:$.scrollLeft,scrollTop:$.scrollTop}}function sn($){return $===H$3($)||!B($)?We($):an($)}function fn($){var z=$.getBoundingClientRect(),ie=Z$1(z.width)/$.offsetWidth||1,le=Z$1(z.height)/$.offsetHeight||1;return ie!==1||le!==1}function cn($,z,ie){ie===void 0&&(ie=!1);var le=B(z),ue=B(z)&&fn(z),pe=I$2(z),_e=ee($,ue),Ce={scrollLeft:0,scrollTop:0},$e={x:0,y:0};return(le||!le&&!ie)&&((C$2(z)!=="body"||Se(pe))&&(Ce=sn(z)),B(z)?($e=ee(z,!0),$e.x+=z.clientLeft,$e.y+=z.clientTop):pe&&($e.x=Be(pe))),{x:_e.left+Ce.scrollLeft-$e.x,y:_e.top+Ce.scrollTop-$e.y,width:_e.width,height:_e.height}}function pn($){var z=new Map,ie=new Set,le=[];$.forEach(function(pe){z.set(pe.name,pe)});function ue(pe){ie.add(pe.name);var _e=[].concat(pe.requires||[],pe.requiresIfExists||[]);_e.forEach(function(Ce){if(!ie.has(Ce)){var $e=z.get(Ce);$e&&ue($e)}}),le.push(pe)}return $.forEach(function(pe){ie.has(pe.name)||ue(pe)}),le}function un($){var z=pn($);return ot$1.reduce(function(ie,le){return ie.concat(z.filter(function(ue){return ue.phase===le}))},[])}function ln($){var z;return function(){return z||(z=new Promise(function(ie){Promise.resolve().then(function(){z=void 0,ie($())})})),z}}function dn($){var z=$.reduce(function(ie,le){var ue=ie[le.name];return ie[le.name]=ue?Object.assign({},ue,le,{options:Object.assign({},ue.options,le.options),data:Object.assign({},ue.data,le.data)}):le,ie},{});return Object.keys(z).map(function(ie){return z[ie]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$2(){for(var $=arguments.length,z=new Array($),ie=0;ie<$;ie++)z[ie]=arguments[ie];return!z.some(function(le){return!(le&&typeof le.getBoundingClientRect=="function")})}function we($){$===void 0&&($={});var z=$,ie=z.defaultModifiers,le=ie===void 0?[]:ie,ue=z.defaultOptions,pe=ue===void 0?Ot:ue;return function(_e,Ce,$e){$e===void 0&&($e=pe);var xe={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,pe),modifiersData:{},elements:{reference:_e,popper:Ce},attributes:{},styles:{}},Ie=[],Ve=!1,ze={state:xe,setOptions:function(Et){var Lt=typeof Et=="function"?Et(xe.options):Et;qe(),xe.options=Object.assign({},pe,xe.options,Lt),xe.scrollParents={reference:Q(_e)?ce$1(_e):_e.contextElement?ce$1(_e.contextElement):[],popper:ce$1(Ce)};var hn=un(dn([].concat(le,xe.options.modifiers)));return xe.orderedModifiers=hn.filter(function(vn){return vn.enabled}),Ue(),ze.update()},forceUpdate:function(){if(!Ve){var Et=xe.elements,Lt=Et.reference,hn=Et.popper;if($t$2(Lt,hn)){xe.rects={reference:cn(Lt,se(hn),xe.options.strategy==="fixed"),popper:ke(hn)},xe.reset=!1,xe.placement=xe.options.placement,xe.orderedModifiers.forEach(function(wn){return xe.modifiersData[wn.name]=Object.assign({},wn.data)});for(var vn=0;vn<xe.orderedModifiers.length;vn++){if(xe.reset===!0){xe.reset=!1,vn=-1;continue}var _n=xe.orderedModifiers[vn],bn=_n.fn,Cn=_n.options,Sn=Cn===void 0?{}:Cn,En=_n.name;typeof bn=="function"&&(xe=bn({state:xe,options:Sn,name:En,instance:ze})||xe)}}}},update:ln(function(){return new Promise(function(Et){ze.forceUpdate(),Et(xe)})}),destroy:function(){qe(),Ve=!0}};if(!$t$2(_e,Ce))return ze;ze.setOptions($e).then(function(Et){!Ve&&$e.onFirstUpdate&&$e.onFirstUpdate(Et)});function Ue(){xe.orderedModifiers.forEach(function(Et){var Lt=Et.name,hn=Et.options,vn=hn===void 0?{}:hn,_n=Et.effect;if(typeof _n=="function"){var bn=_n({state:xe,name:Lt,instance:ze,options:vn}),Cn=function(){};Ie.push(bn||Cn)}})}function qe(){Ie.forEach(function(Et){return Et()}),Ie=[]}return ze}}we();var mn=[Re,He,Me,Ae];we({defaultModifiers:mn});var gn=[Re,He,Me,Ae,wt,vt$1,xt,pt$1,bt],yn=we({defaultModifiers:gn});const usePopper=($,z,ie={})=>{const le={name:"updateState",enabled:!0,phase:"write",fn:({state:$e})=>{const xe=deriveState($e);Object.assign(_e.value,xe)},requires:["computeStyles"]},ue=computed(()=>{const{onFirstUpdate:$e,placement:xe,strategy:Ie,modifiers:Ve}=unref(ie);return{onFirstUpdate:$e,placement:xe||"bottom",strategy:Ie||"absolute",modifiers:[...Ve||[],le,{name:"applyStyles",enabled:!1}]}}),pe=shallowRef(),_e=ref({styles:{popper:{position:unref(ue).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),Ce=()=>{pe.value&&(pe.value.destroy(),pe.value=void 0)};return watch(ue,$e=>{const xe=unref(pe);xe&&xe.setOptions($e)},{deep:!0}),watch([$,z],([$e,xe])=>{Ce(),!(!$e||!xe)&&(pe.value=yn($e,xe,unref(ue)))}),onBeforeUnmount(()=>{Ce()}),{state:computed(()=>{var $e;return{...(($e=unref(pe))==null?void 0:$e.state)||{}}}),styles:computed(()=>unref(_e).styles),attributes:computed(()=>unref(_e).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($){const z=Object.keys($.elements),ie=fromPairs(z.map(ue=>[ue,$.styles[ue]||{}])),le=fromPairs(z.map(ue=>[ue,$.attributes[ue]]));return{styles:ie,attributes:le}}const useSameTarget=$=>{if(!$)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let z=!1,ie=!1;return{onClick:_e=>{z&&ie&&$(_e),z=ie=!1},onMousedown:_e=>{z=_e.target===_e.currentTarget},onMouseup:_e=>{ie=_e.target===_e.currentTarget}}},useThrottleRender=($,z=0)=>{if(z===0)return $;const ie=ref(!1);let le=0;const ue=()=>{le&&clearTimeout(le),le=window.setTimeout(()=>{ie.value=$.value},z)};return onMounted(ue),watch(()=>$.value,pe=>{pe?ue():ie.value=pe}),ie};function useTimeout(){let $;const z=(le,ue)=>{ie(),$=window.setTimeout(le,ue)},ie=()=>window.clearTimeout($);return tryOnScopeDispose$1(()=>ie()),{registerTimeout:z,cancelTimeout:ie}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=$=>{const z=useIdInjection(),ie=useGetDerivedNamespace();return computed(()=>unref($)||`${ie.value}-id-${z.prefix}-${z.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=$=>{const z=$;z.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(ie=>ie(z))},useEscapeKeydown=$=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push($)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(z=>z!==$),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const $=useGetDerivedNamespace(),z=useIdInjection(),ie=computed(()=>`${$.value}-popper-container-${z.prefix}`),le=computed(()=>`#${ie.value}`);return{id:ie,selector:le}},createContainer=$=>{const z=document.createElement("div");return z.id=$,document.body.appendChild(z),z},usePopperContainer=()=>{const{id:$,selector:z}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector(z.value)&&(cachedContainer=createContainer($.value))}),{id:$,selector:z}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:$,hideAfter:z,autoClose:ie,open:le,close:ue})=>{const{registerTimeout:pe}=useTimeout(),{registerTimeout:_e,cancelTimeout:Ce}=useTimeout();return{onOpen:Ie=>{pe(()=>{le(Ie);const Ve=unref(ie);isNumber$4(Ve)&&Ve>0&&_e(()=>{ue(Ie)},Ve)},unref($))},onClose:Ie=>{Ce(),pe(()=>{ue(Ie)},unref(z))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=$=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:ie=>{$.value=ie}})},useForwardRefDirective=$=>({mounted(z){$(z)},updated(z){$(z)},unmounted(){$(null)}}),zIndex=ref(0),defaultInitialZIndex=2e3,zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=$=>{const z=$||inject(zIndexContextKey,void 0),ie=computed(()=>{const pe=unref(z);return isNumber$4(pe)?pe:defaultInitialZIndex}),le=computed(()=>ie.value+zIndex.value);return{initialZIndex:ie,currentZIndex:le,nextZIndex:()=>(zIndex.value++,le.value)}};function t($){return $.split("-")[1]}function e$1($){return $==="y"?"height":"width"}function n$2($){return $.split("-")[0]}function o$2($){return["top","bottom"].includes(n$2($))?"x":"y"}function i$2($,z,ie){let{reference:le,floating:ue}=$;const pe=le.x+le.width/2-ue.width/2,_e=le.y+le.height/2-ue.height/2,Ce=o$2(z),$e=e$1(Ce),xe=le[$e]/2-ue[$e]/2,Ie=Ce==="x";let Ve;switch(n$2(z)){case"top":Ve={x:pe,y:le.y-ue.height};break;case"bottom":Ve={x:pe,y:le.y+le.height};break;case"right":Ve={x:le.x+le.width,y:_e};break;case"left":Ve={x:le.x-ue.width,y:_e};break;default:Ve={x:le.x,y:le.y}}switch(t(z)){case"start":Ve[Ce]-=xe*(ie&&Ie?-1:1);break;case"end":Ve[Ce]+=xe*(ie&&Ie?-1:1)}return Ve}const r$1=async($,z,ie)=>{const{placement:le="bottom",strategy:ue="absolute",middleware:pe=[],platform:_e}=ie,Ce=pe.filter(Boolean),$e=await(_e.isRTL==null?void 0:_e.isRTL(z));let xe=await _e.getElementRects({reference:$,floating:z,strategy:ue}),{x:Ie,y:Ve}=i$2(xe,le,$e),ze=le,Ue={},qe=0;for(let Et=0;Et<Ce.length;Et++){const{name:Lt,fn:hn}=Ce[Et],{x:vn,y:_n,data:bn,reset:Cn}=await hn({x:Ie,y:Ve,initialPlacement:le,placement:ze,strategy:ue,middlewareData:Ue,rects:xe,platform:_e,elements:{reference:$,floating:z}});Ie=vn??Ie,Ve=_n??Ve,Ue={...Ue,[Lt]:{...Ue[Lt],...bn}},Cn&&qe<=50&&(qe++,typeof Cn=="object"&&(Cn.placement&&(ze=Cn.placement),Cn.rects&&(xe=Cn.rects===!0?await _e.getElementRects({reference:$,floating:z,strategy:ue}):Cn.rects),{x:Ie,y:Ve}=i$2(xe,ze,$e)),Et=-1)}return{x:Ie,y:Ve,placement:ze,strategy:ue,middlewareData:Ue}};function a$3($){return typeof $!="number"?function(z){return{top:0,right:0,bottom:0,left:0,...z}}($):{top:$,right:$,bottom:$,left:$}}function l$2($){return{...$,top:$.y,left:$.x,right:$.x+$.width,bottom:$.y+$.height}}const c$4=Math.min,f$3=Math.max;function m$5($,z,ie){return f$3($,c$4(z,ie))}const u$3=$=>({name:"arrow",options:$,async fn(z){const{element:ie,padding:le=0}=$||{},{x:ue,y:pe,placement:_e,rects:Ce,platform:$e,elements:xe}=z;if(ie==null)return{};const Ie=a$3(le),Ve={x:ue,y:pe},ze=o$2(_e),Ue=e$1(ze),qe=await $e.getDimensions(ie),Et=ze==="y",Lt=Et?"top":"left",hn=Et?"bottom":"right",vn=Et?"clientHeight":"clientWidth",_n=Ce.reference[Ue]+Ce.reference[ze]-Ve[ze]-Ce.floating[Ue],bn=Ve[ze]-Ce.reference[ze],Cn=await($e.getOffsetParent==null?void 0:$e.getOffsetParent(ie));let Sn=Cn?Cn[vn]:0;Sn&&await($e.isElement==null?void 0:$e.isElement(Cn))||(Sn=xe.floating[vn]||Ce.floating[Ue]);const En=_n/2-bn/2,wn=Ie[Lt],Tn=Sn-qe[Ue]-Ie[hn],kn=Sn/2-qe[Ue]/2+En,xn=m$5(wn,kn,Tn),Pn=t(_e)!=null&&kn!=xn&&Ce.reference[Ue]/2-(kn<wn?Ie[Lt]:Ie[hn])-qe[Ue]/2<0;return{[ze]:Ve[ze]-(Pn?kn<wn?wn-kn:Tn-kn:0),data:{[ze]:xn,centerOffset:kn-xn}}}}),g$2=["top","right","bottom","left"];g$2.reduce(($,z)=>$.concat(z,z+"-start",z+"-end"),[]);const D$2=function($){return $===void 0&&($=0),{name:"offset",options:$,async fn(z){const{x:ie,y:le}=z,ue=await async function(pe,_e){const{placement:Ce,platform:$e,elements:xe}=pe,Ie=await($e.isRTL==null?void 0:$e.isRTL(xe.floating)),Ve=n$2(Ce),ze=t(Ce),Ue=o$2(Ce)==="x",qe=["left","top"].includes(Ve)?-1:1,Et=Ie&&Ue?-1:1,Lt=typeof _e=="function"?_e(pe):_e;let{mainAxis:hn,crossAxis:vn,alignmentAxis:_n}=typeof Lt=="number"?{mainAxis:Lt,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...Lt};return ze&&typeof _n=="number"&&(vn=ze==="end"?-1*_n:_n),Ue?{x:vn*Et,y:hn*qe}:{x:hn*qe,y:vn*Et}}(z,$);return{x:ie+ue.x,y:le+ue.y,data:ue}}}};function n$1($){var z;return((z=$.ownerDocument)==null?void 0:z.defaultView)||window}function o$1($){return n$1($).getComputedStyle($)}function i$1($){return $ instanceof n$1($).Node}function r($){return i$1($)?($.nodeName||"").toLowerCase():""}function l$1($){return $ instanceof n$1($).HTMLElement}function c$3($){return $ instanceof n$1($).Element}function s$1($){return typeof ShadowRoot>"u"?!1:$ instanceof n$1($).ShadowRoot||$ instanceof ShadowRoot}function f$2($){const{overflow:z,overflowX:ie,overflowY:le,display:ue}=o$1($);return/auto|scroll|overlay|hidden|clip/.test(z+le+ie)&&!["inline","contents"].includes(ue)}function u$2($){return["table","td","th"].includes(r($))}function a$2($){const z=d$2(),ie=o$1($);return ie.transform!=="none"||ie.perspective!=="none"||!z&&!!ie.backdropFilter&&ie.backdropFilter!=="none"||!z&&!!ie.filter&&ie.filter!=="none"||["transform","perspective","filter"].some(le=>(ie.willChange||"").includes(le))||["paint","layout","strict","content"].some(le=>(ie.contain||"").includes(le))}function d$2(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function h$2($){return["html","body","#document"].includes(r($))}const p$2=Math.min,m$4=Math.max,g$1=Math.round;function y$1($){const z=o$1($);let ie=parseFloat(z.width)||0,le=parseFloat(z.height)||0;const ue=l$1($),pe=ue?$.offsetWidth:ie,_e=ue?$.offsetHeight:le,Ce=g$1(ie)!==pe||g$1(le)!==_e;return Ce&&(ie=pe,le=_e),{width:ie,height:le,fallback:Ce}}function x$1($){return c$3($)?$:$.contextElement}const w$1={x:1,y:1};function v$1($){const z=x$1($);if(!l$1(z))return w$1;const ie=z.getBoundingClientRect(),{width:le,height:ue,fallback:pe}=y$1(z);let _e=(pe?g$1(ie.width):ie.width)/le,Ce=(pe?g$1(ie.height):ie.height)/ue;return _e&&Number.isFinite(_e)||(_e=1),Ce&&Number.isFinite(Ce)||(Ce=1),{x:_e,y:Ce}}const b$2={x:0,y:0};function L$3($,z,ie){var le,ue;if(z===void 0&&(z=!0),!d$2())return b$2;const pe=$?n$1($):window;return!ie||z&&ie!==pe?b$2:{x:((le=pe.visualViewport)==null?void 0:le.offsetLeft)||0,y:((ue=pe.visualViewport)==null?void 0:ue.offsetTop)||0}}function E$1($,z,ie,le){z===void 0&&(z=!1),ie===void 0&&(ie=!1);const ue=$.getBoundingClientRect(),pe=x$1($);let _e=w$1;z&&(le?c$3(le)&&(_e=v$1(le)):_e=v$1($));const Ce=L$3(pe,ie,le);let $e=(ue.left+Ce.x)/_e.x,xe=(ue.top+Ce.y)/_e.y,Ie=ue.width/_e.x,Ve=ue.height/_e.y;if(pe){const ze=n$1(pe),Ue=le&&c$3(le)?n$1(le):le;let qe=ze.frameElement;for(;qe&&le&&Ue!==ze;){const Et=v$1(qe),Lt=qe.getBoundingClientRect(),hn=getComputedStyle(qe);Lt.x+=(qe.clientLeft+parseFloat(hn.paddingLeft))*Et.x,Lt.y+=(qe.clientTop+parseFloat(hn.paddingTop))*Et.y,$e*=Et.x,xe*=Et.y,Ie*=Et.x,Ve*=Et.y,$e+=Lt.x,xe+=Lt.y,qe=n$1(qe).frameElement}}return l$2({width:Ie,height:Ve,x:$e,y:xe})}function R$1($){return((i$1($)?$.ownerDocument:$.document)||window.document).documentElement}function T$1($){return c$3($)?{scrollLeft:$.scrollLeft,scrollTop:$.scrollTop}:{scrollLeft:$.pageXOffset,scrollTop:$.pageYOffset}}function S$1($){return E$1(R$1($)).left+T$1($).scrollLeft}function C$1($){if(r($)==="html")return $;const z=$.assignedSlot||$.parentNode||s$1($)&&$.host||R$1($);return s$1(z)?z.host:z}function F$1($){const z=C$1($);return h$2(z)?z.ownerDocument.body:l$1(z)&&f$2(z)?z:F$1(z)}function W($,z){var ie;z===void 0&&(z=[]);const le=F$1($),ue=le===((ie=$.ownerDocument)==null?void 0:ie.body),pe=n$1(le);return ue?z.concat(pe,pe.visualViewport||[],f$2(le)?le:[]):z.concat(le,W(le))}function D$1($,z,ie){let le;if(z==="viewport")le=function(ue,pe){const _e=n$1(ue),Ce=R$1(ue),$e=_e.visualViewport;let xe=Ce.clientWidth,Ie=Ce.clientHeight,Ve=0,ze=0;if($e){xe=$e.width,Ie=$e.height;const Ue=d$2();(!Ue||Ue&&pe==="fixed")&&(Ve=$e.offsetLeft,ze=$e.offsetTop)}return{width:xe,height:Ie,x:Ve,y:ze}}($,ie);else if(z==="document")le=function(ue){const pe=R$1(ue),_e=T$1(ue),Ce=ue.ownerDocument.body,$e=m$4(pe.scrollWidth,pe.clientWidth,Ce.scrollWidth,Ce.clientWidth),xe=m$4(pe.scrollHeight,pe.clientHeight,Ce.scrollHeight,Ce.clientHeight);let Ie=-_e.scrollLeft+S$1(ue);const Ve=-_e.scrollTop;return o$1(Ce).direction==="rtl"&&(Ie+=m$4(pe.clientWidth,Ce.clientWidth)-$e),{width:$e,height:xe,x:Ie,y:Ve}}(R$1($));else if(c$3(z))le=function(ue,pe){const _e=E$1(ue,!0,pe==="fixed"),Ce=_e.top+ue.clientTop,$e=_e.left+ue.clientLeft,xe=l$1(ue)?v$1(ue):{x:1,y:1};return{width:ue.clientWidth*xe.x,height:ue.clientHeight*xe.y,x:$e*xe.x,y:Ce*xe.y}}(z,ie);else{const ue=L$3($);le={...z,x:z.x-ue.x,y:z.y-ue.y}}return l$2(le)}function H$2($,z){const ie=C$1($);return!(ie===z||!c$3(ie)||h$2(ie))&&(o$1(ie).position==="fixed"||H$2(ie,z))}function O$2($,z){return l$1($)&&o$1($).position!=="fixed"?z?z($):$.offsetParent:null}function P$3($,z){const ie=n$1($);if(!l$1($))return ie;let le=O$2($,z);for(;le&&u$2(le)&&o$1(le).position==="static";)le=O$2(le,z);return le&&(r(le)==="html"||r(le)==="body"&&o$1(le).position==="static"&&!a$2(le))?ie:le||function(ue){let pe=C$1(ue);for(;l$1(pe)&&!h$2(pe);){if(a$2(pe))return pe;pe=C$1(pe)}return null}($)||ie}function V$1($,z,ie){const le=l$1(z),ue=R$1(z),pe=ie==="fixed",_e=E$1($,!0,pe,z);let Ce={scrollLeft:0,scrollTop:0};const $e={x:0,y:0};if(le||!le&&!pe)if((r(z)!=="body"||f$2(ue))&&(Ce=T$1(z)),l$1(z)){const xe=E$1(z,!0,pe,z);$e.x=xe.x+z.clientLeft,$e.y=xe.y+z.clientTop}else ue&&($e.x=S$1(ue));return{x:_e.left+Ce.scrollLeft-$e.x,y:_e.top+Ce.scrollTop-$e.y,width:_e.width,height:_e.height}}const k$2={getClippingRect:function($){let{element:z,boundary:ie,rootBoundary:le,strategy:ue}=$;const pe=ie==="clippingAncestors"?function(xe,Ie){const Ve=Ie.get(xe);if(Ve)return Ve;let ze=W(xe).filter(Lt=>c$3(Lt)&&r(Lt)!=="body"),Ue=null;const qe=o$1(xe).position==="fixed";let Et=qe?C$1(xe):xe;for(;c$3(Et)&&!h$2(Et);){const Lt=o$1(Et),hn=a$2(Et);hn||Lt.position!=="fixed"||(Ue=null),(qe?!hn&&!Ue:!hn&&Lt.position==="static"&&Ue&&["absolute","fixed"].includes(Ue.position)||f$2(Et)&&!hn&&H$2(xe,Et))?ze=ze.filter(vn=>vn!==Et):Ue=Lt,Et=C$1(Et)}return Ie.set(xe,ze),ze}(z,this._c):[].concat(ie),_e=[...pe,le],Ce=_e[0],$e=_e.reduce((xe,Ie)=>{const Ve=D$1(z,Ie,ue);return xe.top=m$4(Ve.top,xe.top),xe.right=p$2(Ve.right,xe.right),xe.bottom=p$2(Ve.bottom,xe.bottom),xe.left=m$4(Ve.left,xe.left),xe},D$1(z,Ce,ue));return{width:$e.right-$e.left,height:$e.bottom-$e.top,x:$e.left,y:$e.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function($){let{rect:z,offsetParent:ie,strategy:le}=$;const ue=l$1(ie),pe=R$1(ie);if(ie===pe)return z;let _e={scrollLeft:0,scrollTop:0},Ce={x:1,y:1};const $e={x:0,y:0};if((ue||!ue&&le!=="fixed")&&((r(ie)!=="body"||f$2(pe))&&(_e=T$1(ie)),l$1(ie))){const xe=E$1(ie);Ce=v$1(ie),$e.x=xe.x+ie.clientLeft,$e.y=xe.y+ie.clientTop}return{width:z.width*Ce.x,height:z.height*Ce.y,x:z.x*Ce.x-_e.scrollLeft*Ce.x+$e.x,y:z.y*Ce.y-_e.scrollTop*Ce.y+$e.y}},isElement:c$3,getDimensions:function($){return y$1($)},getOffsetParent:P$3,getDocumentElement:R$1,getScale:v$1,async getElementRects($){let{reference:z,floating:ie,strategy:le}=$;const ue=this.getOffsetParent||P$3,pe=this.getDimensions;return{reference:V$1(z,await ue(ie),le),floating:{x:0,y:0,...await pe(ie)}}},getClientRects:$=>Array.from($.getClientRects()),isRTL:$=>o$1($).direction==="rtl"},M$2=($,z,ie)=>{const le=new Map,ue={platform:k$2,...ie},pe={...ue.platform,_c:le};return r$1($,z,{...ue,platform:pe})};buildProps({});const unrefReference=$=>{if(!isClient$1)return;if(!$)return $;const z=unrefElement$1($);return z||(isRef($)?z:$)},useFloating=({middleware:$,placement:z,strategy:ie})=>{const le=ref(),ue=ref(),pe=ref(),_e=ref(),Ce=ref({}),$e={x:pe,y:_e,placement:z,strategy:ie,middlewareData:Ce},xe=async()=>{if(!isClient$1)return;const Ie=unrefReference(le),Ve=unrefElement$1(ue);if(!Ie||!Ve)return;const ze=await M$2(Ie,Ve,{placement:unref(z),strategy:unref(ie),middleware:unref($)});keysOf($e).forEach(Ue=>{$e[Ue].value=ze[Ue]})};return onMounted(()=>{watchEffect(()=>{xe()})}),{...$e,update:xe,referenceRef:le,contentRef:ue}},arrowMiddleware=({arrowRef:$,padding:z})=>({name:"arrow",options:{element:$,padding:z},fn(ie){const le=unref($);return le?u$3({element:le,padding:z}).fn(ie):{}}});function useCursor($){const z=ref();function ie(){if($.value==null)return;const{selectionStart:ue,selectionEnd:pe,value:_e}=$.value;if(ue==null||pe==null)return;const Ce=_e.slice(0,Math.max(0,ue)),$e=_e.slice(Math.max(0,pe));z.value={selectionStart:ue,selectionEnd:pe,value:_e,beforeTxt:Ce,afterTxt:$e}}function le(){if($.value==null||z.value==null)return;const{value:ue}=$.value,{beforeTxt:pe,afterTxt:_e,selectionStart:Ce}=z.value;if(pe==null||_e==null||Ce==null)return;let $e=ue.length;if(ue.endsWith(_e))$e=ue.length-_e.length;else if(ue.startsWith(pe))$e=pe.length;else{const xe=pe[Ce-1],Ie=ue.indexOf(xe,Ce-1);Ie!==-1&&($e=Ie+1)}$.value.setSelectionRange($e,$e)}return[ie,le]}const getOrderedChildren=($,z,ie)=>flattedChildren($.subTree).filter(pe=>{var _e;return isVNode$1(pe)&&((_e=pe.type)==null?void 0:_e.name)===z&&!!pe.component}).map(pe=>pe.component.uid).map(pe=>ie[pe]).filter(pe=>!!pe),useOrderedChildren=($,z)=>{const ie={},le=shallowRef([]);return{children:le,addChild:_e=>{ie[_e.uid]=_e,le.value=getOrderedChildren($,z,ie)},removeChild:_e=>{delete ie[_e],le.value=le.value.filter(Ce=>Ce.uid!==_e)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const $=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref($.size)||"")},configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig($,z=void 0){const ie=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return $?computed(()=>{var le,ue;return(ue=(le=ie.value)==null?void 0:le[$])!=null?ue:z}):ie}function useGlobalComponentSettings($,z){const ie=useGlobalConfig(),le=useNamespace($,computed(()=>{var Ce;return((Ce=ie.value)==null?void 0:Ce.namespace)||defaultNamespace})),ue=useLocale(computed(()=>{var Ce;return(Ce=ie.value)==null?void 0:Ce.locale})),pe=useZIndex(computed(()=>{var Ce;return((Ce=ie.value)==null?void 0:Ce.zIndex)||defaultInitialZIndex})),_e=computed(()=>{var Ce;return unref(z)||((Ce=ie.value)==null?void 0:Ce.size)||""});return provideGlobalConfig(computed(()=>unref(ie)||{})),{ns:le,locale:ue,zIndex:pe,size:_e}}const provideGlobalConfig=($,z,ie=!1)=>{var le;const ue=!!getCurrentInstance(),pe=ue?useGlobalConfig():void 0,_e=(le=z==null?void 0:z.provide)!=null?le:ue?provide:void 0;if(!_e)return;const Ce=computed(()=>{const $e=unref($);return pe!=null&&pe.value?mergeConfig$1(pe.value,$e):$e});return _e(configProviderContextKey,Ce),_e(localeContextKey,computed(()=>Ce.value.locale)),_e(namespaceContextKey,computed(()=>Ce.value.namespace)),_e(zIndexContextKey,computed(()=>Ce.value.zIndex)),_e(SIZE_INJECTION_KEY,{size:computed(()=>Ce.value.size||"")}),(ie||!globalConfig.value)&&(globalConfig.value=Ce.value),Ce},mergeConfig$1=($,z)=>{var ie;const le=[...new Set([...keysOf($),...keysOf(z)])],ue={};for(const pe of le)ue[pe]=(ie=z[pe])!=null?ie:$[pe];return ue},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($,{slots:z}){watch(()=>$.message,le=>{Object.assign(messageConfig,le??{})},{immediate:!0,deep:!0});const ie=provideGlobalConfig($);return()=>renderSlot(z,"default",{config:ie==null?void 0:ie.value})}}),ElConfigProvider=withInstall(ConfigProvider),version$2="2.3.6",makeInstaller=($=[])=>({version:version$2,install:(ie,le)=>{ie[INSTALLED_KEY]||(ie[INSTALLED_KEY]=!0,$.forEach(ue=>ie.use(ue)),le&&provideGlobalConfig(le,ie,!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:$,fixed:z})=>isNumber$4($)&&isBoolean$3(z),[CHANGE_EVENT]:$=>isBoolean$3($)};var _export_sfc$1=($,z)=>{const ie=$.__vccOpts||$;for(const[le,ue]of z)ie[le]=ue;return ie};const COMPONENT_NAME$n="ElAffix",__default__$1C=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2k=defineComponent({...__default__$1C,props:affixProps,emits:affixEmits,setup($,{expose:z,emit:ie}){const le=$,ue=useNamespace("affix"),pe=shallowRef(),_e=shallowRef(),Ce=shallowRef(),{height:$e}=useWindowSize$1(),{height:xe,width:Ie,top:Ve,bottom:ze,update:Ue}=useElementBounding(_e,{windowScroll:!1}),qe=useElementBounding(pe),Et=ref(!1),Lt=ref(0),hn=ref(0),vn=computed(()=>({height:Et.value?`${xe.value}px`:"",width:Et.value?`${Ie.value}px`:""})),_n=computed(()=>{if(!Et.value)return{};const Sn=le.offset?addUnit(le.offset):0;return{height:`${xe.value}px`,width:`${Ie.value}px`,top:le.position==="top"?Sn:"",bottom:le.position==="bottom"?Sn:"",transform:hn.value?`translateY(${hn.value}px)`:"",zIndex:le.zIndex}}),bn=()=>{if(Ce.value)if(Lt.value=Ce.value instanceof Window?document.documentElement.scrollTop:Ce.value.scrollTop||0,le.position==="top")if(le.target){const Sn=qe.bottom.value-le.offset-xe.value;Et.value=le.offset>Ve.value&&qe.bottom.value>0,hn.value=Sn<0?Sn:0}else Et.value=le.offset>Ve.value;else if(le.target){const Sn=$e.value-qe.top.value-le.offset-xe.value;Et.value=$e.value-le.offset<ze.value&&$e.value>qe.top.value,hn.value=Sn<0?-Sn:0}else Et.value=$e.value-le.offset<ze.value},Cn=()=>{Ue(),ie("scroll",{scrollTop:Lt.value,fixed:Et.value})};return watch(Et,Sn=>ie("change",Sn)),onMounted(()=>{var Sn;le.target?(pe.value=(Sn=document.querySelector(le.target))!=null?Sn:void 0,pe.value||throwError$1(COMPONENT_NAME$n,`Target is not existed: ${le.target}`)):pe.value=document.documentElement,Ce.value=getScrollContainer(_e.value,!0),Ue()}),useEventListener$1(Ce,"scroll",Cn),watchEffect(bn),z({update:bn,updateRoot:Ue}),(Sn,En)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:_e,class:normalizeClass(unref(ue).b()),style:normalizeStyle$1(unref(vn))},[createBaseVNode("div",{class:normalizeClass({[unref(ue).m("fixed")]:Et.value}),style:normalizeStyle$1(unref(_n))},[renderSlot(Sn.$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($){const z=$,ie=useNamespace("icon"),le=computed(()=>{const{size:ue,color:pe}=z;return!ue&&!pe?{}:{fontSize:isUndefined$1(ue)?void 0:addUnit(ue),"--color":pe}});return(ue,pe)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(ie).b(),style:unref(le)},ue.$attrs),[renderSlot(ue.$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:$=>$ instanceof MouseEvent},__default__$1A=defineComponent({name:"ElAlert"}),_sfc_main$2i=defineComponent({...__default__$1A,props:alertProps,emits:alertEmits,setup($,{emit:z}){const ie=$,{Close:le}=TypeComponents,ue=useSlots(),pe=useNamespace("alert"),_e=ref(!0),Ce=computed(()=>TypeComponentsMap[ie.type]),$e=computed(()=>[pe.e("icon"),{[pe.is("big")]:!!ie.description||!!ue.default}]),xe=computed(()=>({[pe.is("bold")]:ie.description||ue.default})),Ie=Ve=>{_e.value=!1,z("close",Ve)};return(Ve,ze)=>(openBlock(),createBlock(Transition,{name:unref(pe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(pe).b(),unref(pe).m(Ve.type),unref(pe).is("center",Ve.center),unref(pe).is(Ve.effect)]),role:"alert"},[Ve.showIcon&&unref(Ce)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref($e))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ce))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(pe).e("content"))},[Ve.title||Ve.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(pe).e("title"),unref(xe)])},[renderSlot(Ve.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Ve.title),1)])],2)):createCommentVNode("v-if",!0),Ve.$slots.default||Ve.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(pe).e("description"))},[renderSlot(Ve.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ve.description),1)])],2)):createCommentVNode("v-if",!0),Ve.closable?(openBlock(),createElementBlock(Fragment,{key:2},[Ve.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(pe).e("close-btn"),unref(pe).is("customed")]),onClick:Ie},toDisplayString$1(Ve.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(pe).e("close-btn")),onClick:Ie},{default:withCtx(()=>[createVNode(unref(le))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,_e.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=($,z={})=>{const ie=ref(void 0),le=z.prop?ie:useProp("size"),ue=z.global?ie:useGlobalSize(),pe=z.form?{size:void 0}:inject(formContextKey,void 0),_e=z.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>le.value||unref($)||(_e==null?void 0:_e.size)||(pe==null?void 0:pe.size)||ue.value||"")},useFormDisabled=$=>{const z=useProp("disabled"),ie=inject(formContextKey,void 0);return computed(()=>z.value||unref($)||(ie==null?void 0:ie.disabled)||!1)},useFormItem=()=>{const $=inject(formContextKey,void 0),z=inject(formItemContextKey,void 0);return{form:$,formItem:z}},useFormItemInputId=($,{formItemContext:z,disableIdGeneration:ie,disableIdManagement:le})=>{ie||(ie=ref(!1)),le||(le=ref(!1));const ue=ref();let pe;const _e=computed(()=>{var Ce;return!!(!$.label&&z&&z.inputIds&&((Ce=z.inputIds)==null?void 0:Ce.length)<=1)});return onMounted(()=>{pe=watch([toRef$1($,"id"),ie],([Ce,$e])=>{const xe=Ce??($e?void 0:useId().value);xe!==ue.value&&(z!=null&&z.removeInputId&&(ue.value&&z.removeInputId(ue.value),!(le!=null&&le.value)&&!$e&&xe&&z.addInputId(xe)),ue.value=xe)},{immediate:!0})}),onUnmounted(()=>{pe&&pe(),z!=null&&z.removeInputId&&ue.value&&z.removeInputId(ue.value)}),{isLabeledByFormItem:_e,inputId:ue}},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:($,z,ie)=>(isArray$c($)||isString$6($))&&isBoolean$3(z)&&isString$6(ie)};function useFormLabelWidth(){const $=ref([]),z=computed(()=>{if(!$.value.length)return"0";const pe=Math.max(...$.value);return pe?`${pe}px`:""});function ie(pe){const _e=$.value.indexOf(pe);return _e===-1&&z.value,_e}function le(pe,_e){if(pe&&_e){const Ce=ie(_e);$.value.splice(Ce,1,pe)}else pe&&$.value.push(pe)}function ue(pe){const _e=ie(pe);_e>-1&&$.value.splice(_e,1)}return{autoLabelWidth:z,registerLabelWidth:le,deregisterLabelWidth:ue}}const filterFields=($,z)=>{const ie=castArray$1(z);return ie.length>0?$.filter(le=>le.prop&&ie.includes(le.prop)):$},COMPONENT_NAME$m="ElForm",__default__$1z=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2h=defineComponent({...__default__$1z,props:formProps,emits:formEmits,setup($,{expose:z,emit:ie}){const le=$,ue=[],pe=useFormSize(),_e=useNamespace("form"),Ce=computed(()=>{const{labelPosition:vn,inline:_n}=le;return[_e.b(),_e.m(pe.value||"default"),{[_e.m(`label-${vn}`)]:vn,[_e.m("inline")]:_n}]}),$e=vn=>{ue.push(vn)},xe=vn=>{vn.prop&&ue.splice(ue.indexOf(vn),1)},Ie=(vn=[])=>{le.model&&filterFields(ue,vn).forEach(_n=>_n.resetField())},Ve=(vn=[])=>{filterFields(ue,vn).forEach(_n=>_n.clearValidate())},ze=computed(()=>!!le.model),Ue=vn=>{if(ue.length===0)return[];const _n=filterFields(ue,vn);return _n.length?_n:[]},qe=async vn=>Lt(void 0,vn),Et=async(vn=[])=>{if(!ze.value)return!1;const _n=Ue(vn);if(_n.length===0)return!0;let bn={};for(const Cn of _n)try{await Cn.validate("")}catch(Sn){bn={...bn,...Sn}}return Object.keys(bn).length===0?!0:Promise.reject(bn)},Lt=async(vn=[],_n)=>{const bn=!isFunction$5(_n);try{const Cn=await Et(vn);return Cn===!0&&(_n==null||_n(Cn)),Cn}catch(Cn){if(Cn instanceof Error)throw Cn;const Sn=Cn;return le.scrollToError&&hn(Object.keys(Sn)[0]),_n==null||_n(!1,Sn),bn&&Promise.reject(Sn)}},hn=vn=>{var _n;const bn=filterFields(ue,vn)[0];bn&&((_n=bn.$el)==null||_n.scrollIntoView(le.scrollIntoViewOptions))};return watch(()=>le.rules,()=>{le.validateOnRuleChange&&qe().catch(vn=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(le),emit:ie,resetFields:Ie,clearValidate:Ve,validateField:Lt,addField:$e,removeField:xe,...useFormLabelWidth()})),z({validate:qe,validateField:Lt,resetFields:Ie,clearValidate:Ve,scrollToField:hn}),(vn,_n)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(Ce))},[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($){for(var z=1;z<arguments.length;z++){var ie=arguments[z];for(var le in ie)Object.prototype.hasOwnProperty.call(ie,le)&&($[le]=ie[le])}return $},_extends.apply(this,arguments)}function _inheritsLoose($,z){$.prototype=Object.create(z.prototype),$.prototype.constructor=$,_setPrototypeOf($,z)}function _getPrototypeOf($){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ie){return ie.__proto__||Object.getPrototypeOf(ie)},_getPrototypeOf($)}function _setPrototypeOf($,z){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(le,ue){return le.__proto__=ue,le},_setPrototypeOf($,z)}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($,z,ie){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(ue,pe,_e){var Ce=[null];Ce.push.apply(Ce,pe);var $e=Function.bind.apply(ue,Ce),xe=new $e;return _e&&_setPrototypeOf(xe,_e.prototype),xe},_construct.apply(null,arguments)}function _isNativeFunction($){return Function.toString.call($).indexOf("[native code]")!==-1}function _wrapNativeSuper($){var z=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(le){if(le===null||!_isNativeFunction(le))return le;if(typeof le!="function")throw new TypeError("Super expression must either be null or a function");if(typeof z<"u"){if(z.has(le))return z.get(le);z.set(le,ue)}function ue(){return _construct(le,arguments,_getPrototypeOf(this).constructor)}return ue.prototype=Object.create(le.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(ue,le)},_wrapNativeSuper($)}var formatRegExp=/%[sdj%]/g,warning$1=function(){};typeof process<"u"&&process.env;function convertFieldsError($){if(!$||!$.length)return null;var z={};return $.forEach(function(ie){var le=ie.field;z[le]=z[le]||[],z[le].push(ie)}),z}function format$2($){for(var z=arguments.length,ie=new Array(z>1?z-1:0),le=1;le<z;le++)ie[le-1]=arguments[le];var ue=0,pe=ie.length;if(typeof $=="function")return $.apply(null,ie);if(typeof $=="string"){var _e=$.replace(formatRegExp,function(Ce){if(Ce==="%%")return"%";if(ue>=pe)return Ce;switch(Ce){case"%s":return String(ie[ue++]);case"%d":return Number(ie[ue++]);case"%j":try{return JSON.stringify(ie[ue++])}catch{return"[Circular]"}break;default:return Ce}});return _e}return $}function isNativeStringType($){return $==="string"||$==="url"||$==="hex"||$==="email"||$==="date"||$==="pattern"}function isEmptyValue($,z){return!!($==null||z==="array"&&Array.isArray($)&&!$.length||isNativeStringType(z)&&typeof $=="string"&&!$)}function asyncParallelArray($,z,ie){var le=[],ue=0,pe=$.length;function _e(Ce){le.push.apply(le,Ce||[]),ue++,ue===pe&&ie(le)}$.forEach(function(Ce){z(Ce,_e)})}function asyncSerialArray($,z,ie){var le=0,ue=$.length;function pe(_e){if(_e&&_e.length){ie(_e);return}var Ce=le;le=le+1,Ce<ue?z($[Ce],pe):ie([])}pe([])}function flattenObjArr($){var z=[];return Object.keys($).forEach(function(ie){z.push.apply(z,$[ie]||[])}),z}var AsyncValidationError=function($){_inheritsLoose(z,$);function z(ie,le){var ue;return ue=$.call(this,"Async Validation Error")||this,ue.errors=ie,ue.fields=le,ue}return z}(_wrapNativeSuper(Error));function asyncMap($,z,ie,le,ue){if(z.first){var pe=new Promise(function(ze,Ue){var qe=function(hn){return le(hn),hn.length?Ue(new AsyncValidationError(hn,convertFieldsError(hn))):ze(ue)},Et=flattenObjArr($);asyncSerialArray(Et,ie,qe)});return pe.catch(function(ze){return ze}),pe}var _e=z.firstFields===!0?Object.keys($):z.firstFields||[],Ce=Object.keys($),$e=Ce.length,xe=0,Ie=[],Ve=new Promise(function(ze,Ue){var qe=function(Lt){if(Ie.push.apply(Ie,Lt),xe++,xe===$e)return le(Ie),Ie.length?Ue(new AsyncValidationError(Ie,convertFieldsError(Ie))):ze(ue)};Ce.length||(le(Ie),ze(ue)),Ce.forEach(function(Et){var Lt=$[Et];_e.indexOf(Et)!==-1?asyncSerialArray(Lt,ie,qe):asyncParallelArray(Lt,ie,qe)})});return Ve.catch(function(ze){return ze}),Ve}function isErrorObj($){return!!($&&$.message!==void 0)}function getValue($,z){for(var ie=$,le=0;le<z.length;le++){if(ie==null)return ie;ie=ie[z[le]]}return ie}function complementError($,z){return function(ie){var le;return $.fullFields?le=getValue(z,$.fullFields):le=z[ie.field||$.fullField],isErrorObj(ie)?(ie.field=ie.field||$.fullField,ie.fieldValue=le,ie):{message:typeof ie=="function"?ie():ie,fieldValue:le,field:ie.field||$.fullField}}}function deepMerge($,z){if(z){for(var ie in z)if(z.hasOwnProperty(ie)){var le=z[ie];typeof le=="object"&&typeof $[ie]=="object"?$[ie]=_extends({},$[ie],le):$[ie]=le}}return $}var required$1=function(z,ie,le,ue,pe,_e){z.required&&(!le.hasOwnProperty(z.field)||isEmptyValue(ie,_e||z.type))&&ue.push(format$2(pe.messages.required,z.fullField))},whitespace=function(z,ie,le,ue,pe){(/^\s+$/.test(ie)||ie==="")&&ue.push(format$2(pe.messages.whitespace,z.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var $="[a-fA-F\\d:]",z=function(bn){return bn&&bn.includeBoundaries?"(?:(?<=\\s|^)(?="+$+")|(?<="+$+")(?=\\s|$))":""},ie="(?: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}",le="[a-fA-F\\d]{1,4}",ue=(`
|
||
(?:
|
||
(?:`+le+":){7}(?:"+le+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||
(?:`+le+":){6}(?:"+ie+"|:"+le+`|:)| // 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
|
||
(?:`+le+":){5}(?::"+ie+"|(?::"+le+`){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
|
||
(?:`+le+":){4}(?:(?::"+le+"){0,1}:"+ie+"|(?::"+le+`){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
|
||
(?:`+le+":){3}(?:(?::"+le+"){0,2}:"+ie+"|(?::"+le+`){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
|
||
(?:`+le+":){2}(?:(?::"+le+"){0,3}:"+ie+"|(?::"+le+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||
(?:`+le+":){1}(?:(?::"+le+"){0,4}:"+ie+"|(?::"+le+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||
(?::(?:(?::`+le+"){0,5}:"+ie+"|(?::"+le+`){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("(?:^"+ie+"$)|(?:^"+ue+"$)"),_e=new RegExp("^"+ie+"$"),Ce=new RegExp("^"+ue+"$"),$e=function(bn){return bn&&bn.exact?pe:new RegExp("(?:"+z(bn)+ie+z(bn)+")|(?:"+z(bn)+ue+z(bn)+")","g")};$e.v4=function(_n){return _n&&_n.exact?_e:new RegExp(""+z(_n)+ie+z(_n),"g")},$e.v6=function(_n){return _n&&_n.exact?Ce:new RegExp(""+z(_n)+ue+z(_n),"g")};var xe="(?:(?:[a-z]+:)?//)",Ie="(?:\\S+(?::\\S*)?@)?",Ve=$e.v4().source,ze=$e.v6().source,Ue="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",qe="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Et="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Lt="(?::\\d{2,5})?",hn='(?:[/?#][^\\s"]*)?',vn="(?:"+xe+"|www\\.)"+Ie+"(?:localhost|"+Ve+"|"+ze+"|"+Ue+qe+Et+")"+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(z){return types$1.number(z)&&parseInt(z,10)===z},float:function(z){return types$1.number(z)&&!types$1.integer(z)},array:function(z){return Array.isArray(z)},regexp:function(z){if(z instanceof RegExp)return!0;try{return!!new RegExp(z)}catch{return!1}},date:function(z){return typeof z.getTime=="function"&&typeof z.getMonth=="function"&&typeof z.getYear=="function"&&!isNaN(z.getTime())},number:function(z){return isNaN(z)?!1:typeof z=="number"},object:function(z){return typeof z=="object"&&!types$1.array(z)},method:function(z){return typeof z=="function"},email:function(z){return typeof z=="string"&&z.length<=320&&!!z.match(pattern$2.email)},url:function(z){return typeof z=="string"&&z.length<=2048&&!!z.match(getUrlRegex())},hex:function(z){return typeof z=="string"&&!!z.match(pattern$2.hex)}},type$1=function(z,ie,le,ue,pe){if(z.required&&ie===void 0){required$1(z,ie,le,ue,pe);return}var _e=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ce=z.type;_e.indexOf(Ce)>-1?types$1[Ce](ie)||ue.push(format$2(pe.messages.types[Ce],z.fullField,z.type)):Ce&&typeof ie!==z.type&&ue.push(format$2(pe.messages.types[Ce],z.fullField,z.type))},range=function(z,ie,le,ue,pe){var _e=typeof z.len=="number",Ce=typeof z.min=="number",$e=typeof z.max=="number",xe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ie=ie,Ve=null,ze=typeof ie=="number",Ue=typeof ie=="string",qe=Array.isArray(ie);if(ze?Ve="number":Ue?Ve="string":qe&&(Ve="array"),!Ve)return!1;qe&&(Ie=ie.length),Ue&&(Ie=ie.replace(xe,"_").length),_e?Ie!==z.len&&ue.push(format$2(pe.messages[Ve].len,z.fullField,z.len)):Ce&&!$e&&Ie<z.min?ue.push(format$2(pe.messages[Ve].min,z.fullField,z.min)):$e&&!Ce&&Ie>z.max?ue.push(format$2(pe.messages[Ve].max,z.fullField,z.max)):Ce&&$e&&(Ie<z.min||Ie>z.max)&&ue.push(format$2(pe.messages[Ve].range,z.fullField,z.min,z.max))},ENUM$1="enum",enumerable$1=function(z,ie,le,ue,pe){z[ENUM$1]=Array.isArray(z[ENUM$1])?z[ENUM$1]:[],z[ENUM$1].indexOf(ie)===-1&&ue.push(format$2(pe.messages[ENUM$1],z.fullField,z[ENUM$1].join(", ")))},pattern$1=function(z,ie,le,ue,pe){if(z.pattern){if(z.pattern instanceof RegExp)z.pattern.lastIndex=0,z.pattern.test(ie)||ue.push(format$2(pe.messages.pattern.mismatch,z.fullField,ie,z.pattern));else if(typeof z.pattern=="string"){var _e=new RegExp(z.pattern);_e.test(ie)||ue.push(format$2(pe.messages.pattern.mismatch,z.fullField,ie,z.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie,"string")&&!z.required)return le();rules.required(z,ie,ue,_e,pe,"string"),isEmptyValue(ie,"string")||(rules.type(z,ie,ue,_e,pe),rules.range(z,ie,ue,_e,pe),rules.pattern(z,ie,ue,_e,pe),z.whitespace===!0&&rules.whitespace(z,ie,ue,_e,pe))}le(_e)},method=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&rules.type(z,ie,ue,_e,pe)}le(_e)},number$3=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(ie===""&&(ie=void 0),isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&(rules.type(z,ie,ue,_e,pe),rules.range(z,ie,ue,_e,pe))}le(_e)},_boolean=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&rules.type(z,ie,ue,_e,pe)}le(_e)},regexp$1=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),isEmptyValue(ie)||rules.type(z,ie,ue,_e,pe)}le(_e)},integer=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&(rules.type(z,ie,ue,_e,pe),rules.range(z,ie,ue,_e,pe))}le(_e)},floatFn=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&(rules.type(z,ie,ue,_e,pe),rules.range(z,ie,ue,_e,pe))}le(_e)},array=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(ie==null&&!z.required)return le();rules.required(z,ie,ue,_e,pe,"array"),ie!=null&&(rules.type(z,ie,ue,_e,pe),rules.range(z,ie,ue,_e,pe))}le(_e)},object$1=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&rules.type(z,ie,ue,_e,pe)}le(_e)},ENUM="enum",enumerable=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe),ie!==void 0&&rules[ENUM](z,ie,ue,_e,pe)}le(_e)},pattern=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie,"string")&&!z.required)return le();rules.required(z,ie,ue,_e,pe),isEmptyValue(ie,"string")||rules.pattern(z,ie,ue,_e,pe)}le(_e)},date$1=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie,"date")&&!z.required)return le();if(rules.required(z,ie,ue,_e,pe),!isEmptyValue(ie,"date")){var $e;ie instanceof Date?$e=ie:$e=new Date(ie),rules.type(z,$e,ue,_e,pe),$e&&rules.range(z,$e.getTime(),ue,_e,pe)}}le(_e)},required=function(z,ie,le,ue,pe){var _e=[],Ce=Array.isArray(ie)?"array":typeof ie;rules.required(z,ie,ue,_e,pe,Ce),le(_e)},type=function(z,ie,le,ue,pe){var _e=z.type,Ce=[],$e=z.required||!z.required&&ue.hasOwnProperty(z.field);if($e){if(isEmptyValue(ie,_e)&&!z.required)return le();rules.required(z,ie,ue,Ce,pe,_e),isEmptyValue(ie,_e)||rules.type(z,ie,ue,Ce,pe)}le(Ce)},any=function(z,ie,le,ue,pe){var _e=[],Ce=z.required||!z.required&&ue.hasOwnProperty(z.field);if(Ce){if(isEmptyValue(ie)&&!z.required)return le();rules.required(z,ie,ue,_e,pe)}le(_e)},validators$2={string,method,number:number$3,boolean:_boolean,regexp:regexp$1,integer,float:floatFn,array,object:object$1,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 z=JSON.parse(JSON.stringify(this));return z.clone=this.clone,z}}}var messages=newMessages(),Schema=function(){function $(ie){this.rules=null,this._messages=messages,this.define(ie)}var z=$.prototype;return z.define=function(le){var ue=this;if(!le)throw new Error("Cannot configure a schema with no rules");if(typeof le!="object"||Array.isArray(le))throw new Error("Rules must be an object");this.rules={},Object.keys(le).forEach(function(pe){var _e=le[pe];ue.rules[pe]=Array.isArray(_e)?_e:[_e]})},z.messages=function(le){return le&&(this._messages=deepMerge(newMessages(),le)),this._messages},z.validate=function(le,ue,pe){var _e=this;ue===void 0&&(ue={}),pe===void 0&&(pe=function(){});var Ce=le,$e=ue,xe=pe;if(typeof $e=="function"&&(xe=$e,$e={}),!this.rules||Object.keys(this.rules).length===0)return xe&&xe(null,Ce),Promise.resolve(Ce);function Ie(Et){var Lt=[],hn={};function vn(bn){if(Array.isArray(bn)){var Cn;Lt=(Cn=Lt).concat.apply(Cn,bn)}else Lt.push(bn)}for(var _n=0;_n<Et.length;_n++)vn(Et[_n]);Lt.length?(hn=convertFieldsError(Lt),xe(Lt,hn)):xe(null,Ce)}if($e.messages){var Ve=this.messages();Ve===messages&&(Ve=newMessages()),deepMerge(Ve,$e.messages),$e.messages=Ve}else $e.messages=this.messages();var ze={},Ue=$e.keys||Object.keys(this.rules);Ue.forEach(function(Et){var Lt=_e.rules[Et],hn=Ce[Et];Lt.forEach(function(vn){var _n=vn;typeof _n.transform=="function"&&(Ce===le&&(Ce=_extends({},Ce)),hn=Ce[Et]=_n.transform(hn)),typeof _n=="function"?_n={validator:_n}:_n=_extends({},_n),_n.validator=_e.getValidationMethod(_n),_n.validator&&(_n.field=Et,_n.fullField=_n.fullField||Et,_n.type=_e.getType(_n),ze[Et]=ze[Et]||[],ze[Et].push({rule:_n,value:hn,source:Ce,field:Et}))})});var qe={};return asyncMap(ze,$e,function(Et,Lt){var hn=Et.rule,vn=(hn.type==="object"||hn.type==="array")&&(typeof hn.fields=="object"||typeof hn.defaultField=="object");vn=vn&&(hn.required||!hn.required&&Et.value),hn.field=Et.field;function _n(Sn,En){return _extends({},En,{fullField:hn.fullField+"."+Sn,fullFields:hn.fullFields?[].concat(hn.fullFields,[Sn]):[Sn]})}function bn(Sn){Sn===void 0&&(Sn=[]);var En=Array.isArray(Sn)?Sn:[Sn];!$e.suppressWarning&&En.length&&$.warning("async-validator:",En),En.length&&hn.message!==void 0&&(En=[].concat(hn.message));var wn=En.map(complementError(hn,Ce));if($e.first&&wn.length)return qe[hn.field]=1,Lt(wn);if(!vn)Lt(wn);else{if(hn.required&&!Et.value)return hn.message!==void 0?wn=[].concat(hn.message).map(complementError(hn,Ce)):$e.error&&(wn=[$e.error(hn,format$2($e.messages.required,hn.field))]),Lt(wn);var Tn={};hn.defaultField&&Object.keys(Et.value).map(function(Pn){Tn[Pn]=hn.defaultField}),Tn=_extends({},Tn,Et.rule.fields);var kn={};Object.keys(Tn).forEach(function(Pn){var An=Tn[Pn],In=Array.isArray(An)?An:[An];kn[Pn]=In.map(_n.bind(null,Pn))});var xn=new $(kn);xn.messages($e.messages),Et.rule.options&&(Et.rule.options.messages=$e.messages,Et.rule.options.error=$e.error),xn.validate(Et.value,Et.rule.options||$e,function(Pn){var An=[];wn&&wn.length&&An.push.apply(An,wn),Pn&&Pn.length&&An.push.apply(An,Pn),Lt(An.length?An:null)})}}var Cn;if(hn.asyncValidator)Cn=hn.asyncValidator(hn,Et.value,bn,Et.source,$e);else if(hn.validator){try{Cn=hn.validator(hn,Et.value,bn,Et.source,$e)}catch(Sn){console.error==null||console.error(Sn),$e.suppressValidatorError||setTimeout(function(){throw Sn},0),bn(Sn.message)}Cn===!0?bn():Cn===!1?bn(typeof hn.message=="function"?hn.message(hn.fullField||hn.field):hn.message||(hn.fullField||hn.field)+" fails"):Cn instanceof Array?bn(Cn):Cn instanceof Error&&bn(Cn.message)}Cn&&Cn.then&&Cn.then(function(){return bn()},function(Sn){return bn(Sn)})},function(Et){Ie(Et)},Ce)},z.getType=function(le){if(le.type===void 0&&le.pattern instanceof RegExp&&(le.type="pattern"),typeof le.validator!="function"&&le.type&&!validators$2.hasOwnProperty(le.type))throw new Error(format$2("Unknown rule type %s",le.type));return le.type||"string"},z.getValidationMethod=function(le){if(typeof le.validator=="function")return le.validator;var ue=Object.keys(le),pe=ue.indexOf("message");return pe!==-1&&ue.splice(pe,1),ue.length===1&&ue[0]==="required"?validators$2.required:validators$2[this.getType(le)]||void 0},$}();Schema.register=function(z,ie){if(typeof ie!="function")throw new Error("Cannot register a validator by type, validator is not a function");validators$2[z]=ie};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($,{slots:z}){const ie=inject(formContextKey,void 0),le=inject(formItemContextKey);le||throwError$1(COMPONENT_NAME$l,"usage: <el-form-item><label-wrap /></el-form-item>");const ue=useNamespace("form"),pe=ref(),_e=ref(0),Ce=()=>{var Ie;if((Ie=pe.value)!=null&&Ie.firstElementChild){const Ve=window.getComputedStyle(pe.value.firstElementChild).width;return Math.ceil(Number.parseFloat(Ve))}else return 0},$e=(Ie="update")=>{nextTick(()=>{z.default&&$.isAutoWidth&&(Ie==="update"?_e.value=Ce():Ie==="remove"&&(ie==null||ie.deregisterLabelWidth(_e.value)))})},xe=()=>$e("update");return onMounted(()=>{xe()}),onBeforeUnmount(()=>{$e("remove")}),onUpdated(()=>xe()),watch(_e,(Ie,Ve)=>{$.updateAll&&(ie==null||ie.registerLabelWidth(Ie,Ve))}),useResizeObserver$1(computed(()=>{var Ie,Ve;return(Ve=(Ie=pe.value)==null?void 0:Ie.firstElementChild)!=null?Ve:null}),xe),()=>{var Ie,Ve;if(!z)return null;const{isAutoWidth:ze}=$;if(ze){const Ue=ie==null?void 0:ie.autoLabelWidth,qe=le==null?void 0:le.hasLabel,Et={};if(qe&&Ue&&Ue!=="auto"){const Lt=Math.max(0,Number.parseInt(Ue,10)-_e.value),hn=ie.labelPosition==="left"?"marginRight":"marginLeft";Lt&&(Et[hn]=`${Lt}px`)}return createVNode("div",{ref:pe,class:[ue.be("item","label-wrap")],style:Et},[(Ie=z.default)==null?void 0:Ie.call(z)])}else return createVNode(Fragment,{ref:pe},[(Ve=z.default)==null?void 0:Ve.call(z)])}}});const _hoisted_1$14=["role","aria-labelledby"],__default__$1y=defineComponent({name:"ElFormItem"}),_sfc_main$2g=defineComponent({...__default__$1y,props:formItemProps,setup($,{expose:z}){const ie=$,le=useSlots(),ue=inject(formContextKey,void 0),pe=inject(formItemContextKey,void 0),_e=useFormSize(void 0,{formItem:!1}),Ce=useNamespace("form-item"),$e=useId().value,xe=ref([]),Ie=ref(""),Ve=refDebounced(Ie,100),ze=ref(""),Ue=ref();let qe,Et=!1;const Lt=computed(()=>{if((ue==null?void 0:ue.labelPosition)==="top")return{};const Yn=addUnit(ie.labelWidth||(ue==null?void 0:ue.labelWidth)||"");return Yn?{width:Yn}:{}}),hn=computed(()=>{if((ue==null?void 0:ue.labelPosition)==="top"||ue!=null&&ue.inline)return{};if(!ie.label&&!ie.labelWidth&&Tn)return{};const Yn=addUnit(ie.labelWidth||(ue==null?void 0:ue.labelWidth)||"");return!ie.label&&!le.label?{marginLeft:Yn}:{}}),vn=computed(()=>[Ce.b(),Ce.m(_e.value),Ce.is("error",Ie.value==="error"),Ce.is("validating",Ie.value==="validating"),Ce.is("success",Ie.value==="success"),Ce.is("required",In.value||ie.required),Ce.is("no-asterisk",ue==null?void 0:ue.hideRequiredAsterisk),(ue==null?void 0:ue.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[Ce.m("feedback")]:ue==null?void 0:ue.statusIcon}]),_n=computed(()=>isBoolean$3(ie.inlineMessage)?ie.inlineMessage:(ue==null?void 0:ue.inlineMessage)||!1),bn=computed(()=>[Ce.e("error"),{[Ce.em("error","inline")]:_n.value}]),Cn=computed(()=>ie.prop?isString$6(ie.prop)?ie.prop:ie.prop.join("."):""),Sn=computed(()=>!!(ie.label||le.label)),En=computed(()=>ie.for||xe.value.length===1?xe.value[0]:void 0),wn=computed(()=>!En.value&&Sn.value),Tn=!!pe,kn=computed(()=>{const Yn=ue==null?void 0:ue.model;if(!(!Yn||!ie.prop))return getProp(Yn,ie.prop).value}),xn=computed(()=>{const{required:Yn}=ie,Gn=[];ie.rules&&Gn.push(...castArray$1(ie.rules));const Wn=ue==null?void 0:ue.rules;if(Wn&&ie.prop){const Qn=getProp(Wn,ie.prop).value;Qn&&Gn.push(...castArray$1(Qn))}if(Yn!==void 0){const Qn=Gn.map((fr,jn)=>[fr,jn]).filter(([fr])=>Object.keys(fr).includes("required"));if(Qn.length>0)for(const[fr,jn]of Qn)fr.required!==Yn&&(Gn[jn]={...fr,required:Yn});else Gn.push({required:Yn})}return Gn}),Pn=computed(()=>xn.value.length>0),An=Yn=>xn.value.filter(Wn=>!Wn.trigger||!Yn?!0:Array.isArray(Wn.trigger)?Wn.trigger.includes(Yn):Wn.trigger===Yn).map(({trigger:Wn,...Qn})=>Qn),In=computed(()=>xn.value.some(Yn=>Yn.required)),Fn=computed(()=>{var Yn;return Ve.value==="error"&&ie.showMessage&&((Yn=ue==null?void 0:ue.showMessage)!=null?Yn:!0)}),Dn=computed(()=>`${ie.label||""}${(ue==null?void 0:ue.labelSuffix)||""}`),On=Yn=>{Ie.value=Yn},Vn=Yn=>{var Gn,Wn;const{errors:Qn,fields:fr}=Yn;(!Qn||!fr)&&console.error(Yn),On("error"),ze.value=Qn?(Wn=(Gn=Qn==null?void 0:Qn[0])==null?void 0:Gn.message)!=null?Wn:`${ie.prop} is required`:"",ue==null||ue.emit("validate",ie.prop,!1,ze.value)},Mn=()=>{On("success"),ue==null||ue.emit("validate",ie.prop,!0,"")},zn=async Yn=>{const Gn=Cn.value;return new Schema({[Gn]:Yn}).validate({[Gn]:kn.value},{firstFields:!0}).then(()=>(Mn(),!0)).catch(Qn=>(Vn(Qn),Promise.reject(Qn)))},Kn=async(Yn,Gn)=>{if(Et||!ie.prop)return!1;const Wn=isFunction$5(Gn);if(!Pn.value)return Gn==null||Gn(!1),!1;const Qn=An(Yn);return Qn.length===0?(Gn==null||Gn(!0),!0):(On("validating"),zn(Qn).then(()=>(Gn==null||Gn(!0),!0)).catch(fr=>{const{fields:jn}=fr;return Gn==null||Gn(!1,jn),Wn?!1:Promise.reject(jn)}))},Hn=()=>{On(""),ze.value="",Et=!1},Xn=async()=>{const Yn=ue==null?void 0:ue.model;if(!Yn||!ie.prop)return;const Gn=getProp(Yn,ie.prop);Et=!0,Gn.value=clone$4(qe),await nextTick(),Hn(),Et=!1},lr=Yn=>{xe.value.includes(Yn)||xe.value.push(Yn)},yr=Yn=>{xe.value=xe.value.filter(Gn=>Gn!==Yn)};watch(()=>ie.error,Yn=>{ze.value=Yn||"",On(Yn?"error":"")},{immediate:!0}),watch(()=>ie.validateStatus,Yn=>On(Yn||""));const ir=reactive({...toRefs(ie),$el:Ue,size:_e,validateState:Ie,labelId:$e,inputIds:xe,isGroup:wn,hasLabel:Sn,addInputId:lr,removeInputId:yr,resetField:Xn,clearValidate:Hn,validate:Kn});return provide(formItemContextKey,ir),onMounted(()=>{ie.prop&&(ue==null||ue.addField(ir),qe=clone$4(kn.value))}),onBeforeUnmount(()=>{ue==null||ue.removeField(ir)}),z({size:_e,validateMessage:ze,validateState:Ie,validate:Kn,clearValidate:Hn,resetField:Xn}),(Yn,Gn)=>{var Wn;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:Ue,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":((Wn=unref(ue))==null?void 0:Wn.labelWidth)==="auto"},{default:withCtx(()=>[unref(Sn)?(openBlock(),createBlock(resolveDynamicComponent(unref(En)?"label":"div"),{key:0,id:unref($e),for:unref(En),class:normalizeClass(unref(Ce).e("label")),style:normalizeStyle$1(unref(Lt))},{default:withCtx(()=>[renderSlot(Yn.$slots,"label",{label:unref(Dn)},()=>[createTextVNode(toDisplayString$1(unref(Dn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(Ce).e("content")),style:normalizeStyle$1(unref(hn))},[renderSlot(Yn.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(Ce).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Fn)?renderSlot(Yn.$slots,"error",{key:0,error:ze.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(bn))},toDisplayString$1(ze.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($){const z=window.getComputedStyle($),ie=z.getPropertyValue("box-sizing"),le=Number.parseFloat(z.getPropertyValue("padding-bottom"))+Number.parseFloat(z.getPropertyValue("padding-top")),ue=Number.parseFloat(z.getPropertyValue("border-bottom-width"))+Number.parseFloat(z.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(_e=>`${_e}:${z.getPropertyValue(_e)}`).join(";"),paddingSize:le,borderSize:ue,boxSizing:ie}}function calcTextareaHeight($,z=1,ie){var le;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:ue,borderSize:pe,boxSizing:_e,contextStyle:Ce}=calculateNodeStyling($);hiddenTextarea.setAttribute("style",`${Ce};${HIDDEN_STYLE}`),hiddenTextarea.value=$.value||$.placeholder||"";let $e=hiddenTextarea.scrollHeight;const xe={};_e==="border-box"?$e=$e+pe:_e==="content-box"&&($e=$e-ue),hiddenTextarea.value="";const Ie=hiddenTextarea.scrollHeight-ue;if(isNumber$4(z)){let Ve=Ie*z;_e==="border-box"&&(Ve=Ve+ue+pe),$e=Math.max(Ve,$e),xe.minHeight=`${Ve}px`}if(isNumber$4(ie)){let Ve=Ie*ie;_e==="border-box"&&(Ve=Ve+ue+pe),$e=Math.min(Ve,$e)}return xe.height=`${$e}px`,(le=hiddenTextarea.parentNode)==null||le.removeChild(hiddenTextarea),hiddenTextarea=void 0,xe}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]:$=>isString$6($),input:$=>isString$6($),change:$=>isString$6($),focus:$=>$ instanceof FocusEvent,blur:$=>$ instanceof FocusEvent,clear:()=>!0,mouseleave:$=>$ instanceof MouseEvent,mouseenter:$=>$ instanceof MouseEvent,keydown:$=>$ instanceof Event,compositionstart:$=>$ instanceof CompositionEvent,compositionupdate:$=>$ instanceof CompositionEvent,compositionend:$=>$ 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($,{expose:z,emit:ie}){const le=$,ue=useAttrs$1(),pe=useSlots(),_e=computed(()=>{const hr={};return le.containerRole==="combobox"&&(hr["aria-haspopup"]=ue["aria-haspopup"],hr["aria-owns"]=ue["aria-owns"],hr["aria-expanded"]=ue["aria-expanded"]),hr}),Ce=computed(()=>[le.type==="textarea"?Lt.b():Et.b(),Et.m(Ue.value),Et.is("disabled",qe.value),Et.is("exceed",Kn.value),{[Et.b("group")]:pe.prepend||pe.append,[Et.bm("group","append")]:pe.append,[Et.bm("group","prepend")]:pe.prepend,[Et.m("prefix")]:pe.prefix||le.prefixIcon,[Et.m("suffix")]:pe.suffix||le.suffixIcon||le.clearable||le.showPassword,[Et.bm("suffix","password-clear")]:On.value&&Vn.value},ue.class]),$e=computed(()=>[Et.e("wrapper"),Et.is("focus",_n.value)]),xe=useAttrs({excludeKeys:computed(()=>Object.keys(_e.value))}),{form:Ie,formItem:Ve}=useFormItem(),{inputId:ze}=useFormItemInputId(le,{formItemContext:Ve}),Ue=useFormSize(),qe=useFormDisabled(),Et=useNamespace("input"),Lt=useNamespace("textarea"),hn=shallowRef(),vn=shallowRef(),_n=ref(!1),bn=ref(!1),Cn=ref(!1),Sn=ref(!1),En=ref(),wn=shallowRef(le.inputStyle),Tn=computed(()=>hn.value||vn.value),kn=computed(()=>{var hr;return(hr=Ie==null?void 0:Ie.statusIcon)!=null?hr:!1}),xn=computed(()=>(Ve==null?void 0:Ve.validateState)||""),Pn=computed(()=>xn.value&&ValidateComponentsMap[xn.value]),An=computed(()=>Sn.value?view_default:hide_default),In=computed(()=>[ue.style,le.inputStyle]),Fn=computed(()=>[le.inputStyle,wn.value,{resize:le.resize}]),Dn=computed(()=>isNil(le.modelValue)?"":String(le.modelValue)),On=computed(()=>le.clearable&&!qe.value&&!le.readonly&&!!Dn.value&&(_n.value||bn.value)),Vn=computed(()=>le.showPassword&&!qe.value&&!le.readonly&&!!Dn.value&&(!!Dn.value||_n.value)),Mn=computed(()=>le.showWordLimit&&!!xe.value.maxlength&&(le.type==="text"||le.type==="textarea")&&!qe.value&&!le.readonly&&!le.showPassword),zn=computed(()=>Dn.value.length),Kn=computed(()=>!!Mn.value&&zn.value>Number(xe.value.maxlength)),Hn=computed(()=>!!pe.suffix||!!le.suffixIcon||On.value||le.showPassword||Mn.value||!!xn.value&&kn.value),[Xn,lr]=useCursor(hn);useResizeObserver$1(vn,hr=>{if(Yn(),!Mn.value||le.resize!=="both")return;const Pr=hr[0],{width:Dr}=Pr.contentRect;En.value={right:`calc(100% - ${Dr+15+6}px)`}});const yr=()=>{const{type:hr,autosize:Pr}=le;if(!(!isClient$1||hr!=="textarea"||!vn.value))if(Pr){const Dr=isObject$9(Pr)?Pr.minRows:void 0,Lr=isObject$9(Pr)?Pr.maxRows:void 0,Nr=calcTextareaHeight(vn.value,Dr,Lr);wn.value={overflowY:"hidden",...Nr},nextTick(()=>{vn.value.offsetHeight,wn.value=Nr})}else wn.value={minHeight:calcTextareaHeight(vn.value).minHeight}},Yn=(hr=>{let Pr=!1;return()=>{var Dr;if(Pr||!le.autosize)return;((Dr=vn.value)==null?void 0:Dr.offsetParent)===null||(hr(),Pr=!0)}})(yr),Gn=()=>{const hr=Tn.value;!hr||hr.value===Dn.value||(hr.value=Dn.value)},Wn=async hr=>{Xn();let{value:Pr}=hr.target;if(le.formatter&&(Pr=le.parser?le.parser(Pr):Pr,Pr=le.formatter(Pr)),!Cn.value){if(Pr===Dn.value){Gn();return}ie(UPDATE_MODEL_EVENT,Pr),ie("input",Pr),await nextTick(),Gn(),lr()}},Qn=hr=>{ie("change",hr.target.value)},fr=hr=>{ie("compositionstart",hr),Cn.value=!0},jn=hr=>{var Pr;ie("compositionupdate",hr);const Dr=(Pr=hr.target)==null?void 0:Pr.value,Lr=Dr[Dr.length-1]||"";Cn.value=!isKorean(Lr)},Zn=hr=>{ie("compositionend",hr),Cn.value&&(Cn.value=!1,Wn(hr))},rr=()=>{Sn.value=!Sn.value,mr()},mr=async()=>{var hr;await nextTick(),(hr=Tn.value)==null||hr.focus()},_r=()=>{var hr;return(hr=Tn.value)==null?void 0:hr.blur()},or=hr=>{_n.value=!0,ie("focus",hr)},$r=hr=>{var Pr;_n.value=!1,ie("blur",hr),le.validateEvent&&((Pr=Ve==null?void 0:Ve.validate)==null||Pr.call(Ve,"blur").catch(Dr=>void 0))},gr=hr=>{bn.value=!1,ie("mouseleave",hr)},xr=hr=>{bn.value=!0,ie("mouseenter",hr)},pr=hr=>{ie("keydown",hr)},sr=()=>{var hr;(hr=Tn.value)==null||hr.select()},cr=()=>{ie(UPDATE_MODEL_EVENT,""),ie("change",""),ie("clear"),ie("input","")};return watch(()=>le.modelValue,()=>{var hr;nextTick(()=>yr()),le.validateEvent&&((hr=Ve==null?void 0:Ve.validate)==null||hr.call(Ve,"change").catch(Pr=>void 0))}),watch(Dn,()=>Gn()),watch(()=>le.type,async()=>{await nextTick(),Gn(),yr()}),onMounted(()=>{!le.formatter&&le.parser,Gn(),nextTick(yr)}),z({input:hn,textarea:vn,ref:Tn,textareaStyle:Fn,autosize:toRef$1(le,"autosize"),focus:mr,blur:_r,select:sr,clear:cr,resizeTextarea:yr}),(hr,Pr)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref(_e),{class:unref(Ce),style:unref(In),role:hr.containerRole,onMouseenter:xr,onMouseleave:gr}),[createCommentVNode(" input "),hr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),hr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Et).be("group","prepend"))},[renderSlot(hr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($e))},[createCommentVNode(" prefix slot "),hr.$slots.prefix||hr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Et).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Et).e("prefix-inner")),onClick:mr},[renderSlot(hr.$slots,"prefix"),hr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Et).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(hr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(ze),ref_key:"input",ref:hn,class:unref(Et).e("inner")},unref(xe),{type:hr.showPassword?Sn.value?"text":"password":hr.type,disabled:unref(qe),formatter:hr.formatter,parser:hr.parser,readonly:hr.readonly,autocomplete:hr.autocomplete,tabindex:hr.tabindex,"aria-label":hr.label,placeholder:hr.placeholder,style:hr.inputStyle,form:le.form,onCompositionstart:fr,onCompositionupdate:jn,onCompositionend:Zn,onInput:Wn,onFocus:or,onBlur:$r,onChange:Qn,onKeydown:pr}),null,16,_hoisted_2$I),createCommentVNode(" suffix slot "),unref(Hn)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Et).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Et).e("suffix-inner")),onClick:mr},[!unref(On)||!unref(Vn)||!unref(Mn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(hr.$slots,"suffix"),hr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Et).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(hr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(On)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Et).e("icon"),unref(Et).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:cr},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Vn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Et).e("icon"),unref(Et).e("password")]),onClick:rr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(An))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Mn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Et).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Et).e("count-inner"))},toDisplayString$1(unref(zn))+" / "+toDisplayString$1(unref(xe).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(xn)&&unref(Pn)&&unref(kn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Et).e("icon"),unref(Et).e("validateIcon"),unref(Et).is("loading",unref(xn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Pn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),hr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Et).be("group","append"))},[renderSlot(hr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(ze),ref_key:"textarea",ref:vn,class:unref(Lt).e("inner")},unref(xe),{tabindex:hr.tabindex,disabled:unref(qe),readonly:hr.readonly,autocomplete:hr.autocomplete,style:unref(Fn),"aria-label":hr.label,placeholder:hr.placeholder,form:le.form,onCompositionstart:fr,onCompositionupdate:jn,onCompositionend:Zn,onInput:Wn,onFocus:or,onBlur:$r,onChange:Qn,onKeydown:pr}),null,16,_hoisted_3$n),unref(Mn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(En.value),class:normalizeClass(unref(Et).e("count"))},toDisplayString$1(unref(zn))+" / "+toDisplayString$1(unref(xe).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$13)),[[vShow,hr.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:$,size:z,bar:ie})=>({[ie.size]:z,transform:`translate${ie.axis}(${$}%)`}),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($){const z=$,ie=inject(scrollbarContextKey),le=useNamespace("scrollbar");ie||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const ue=ref(),pe=ref(),_e=ref({}),Ce=ref(!1);let $e=!1,xe=!1,Ie=isClient$1?document.onselectstart:null;const Ve=computed(()=>BAR_MAP[z.vertical?"vertical":"horizontal"]),ze=computed(()=>renderThumbStyle$1({size:z.size,move:z.move,bar:Ve.value})),Ue=computed(()=>ue.value[Ve.value.offset]**2/ie.wrapElement[Ve.value.scrollSize]/z.ratio/pe.value[Ve.value.offset]),qe=Sn=>{var En;if(Sn.stopPropagation(),Sn.ctrlKey||[1,2].includes(Sn.button))return;(En=window.getSelection())==null||En.removeAllRanges(),Lt(Sn);const wn=Sn.currentTarget;wn&&(_e.value[Ve.value.axis]=wn[Ve.value.offset]-(Sn[Ve.value.client]-wn.getBoundingClientRect()[Ve.value.direction]))},Et=Sn=>{if(!pe.value||!ue.value||!ie.wrapElement)return;const En=Math.abs(Sn.target.getBoundingClientRect()[Ve.value.direction]-Sn[Ve.value.client]),wn=pe.value[Ve.value.offset]/2,Tn=(En-wn)*100*Ue.value/ue.value[Ve.value.offset];ie.wrapElement[Ve.value.scroll]=Tn*ie.wrapElement[Ve.value.scrollSize]/100},Lt=Sn=>{Sn.stopImmediatePropagation(),$e=!0,document.addEventListener("mousemove",hn),document.addEventListener("mouseup",vn),Ie=document.onselectstart,document.onselectstart=()=>!1},hn=Sn=>{if(!ue.value||!pe.value||$e===!1)return;const En=_e.value[Ve.value.axis];if(!En)return;const wn=(ue.value.getBoundingClientRect()[Ve.value.direction]-Sn[Ve.value.client])*-1,Tn=pe.value[Ve.value.offset]-En,kn=(wn-Tn)*100*Ue.value/ue.value[Ve.value.offset];ie.wrapElement[Ve.value.scroll]=kn*ie.wrapElement[Ve.value.scrollSize]/100},vn=()=>{$e=!1,_e.value[Ve.value.axis]=0,document.removeEventListener("mousemove",hn),document.removeEventListener("mouseup",vn),Cn(),xe&&(Ce.value=!1)},_n=()=>{xe=!1,Ce.value=!!z.size},bn=()=>{xe=!0,Ce.value=$e};onBeforeUnmount(()=>{Cn(),document.removeEventListener("mouseup",vn)});const Cn=()=>{document.onselectstart!==Ie&&(document.onselectstart=Ie)};return useEventListener$1(toRef$1(ie,"scrollbarElement"),"mousemove",_n),useEventListener$1(toRef$1(ie,"scrollbarElement"),"mouseleave",bn),(Sn,En)=>(openBlock(),createBlock(Transition,{name:unref(le).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:ue,class:normalizeClass([unref(le).e("bar"),unref(le).is(unref(Ve).key)]),onMousedown:Et},[createBaseVNode("div",{ref_key:"thumb",ref:pe,class:normalizeClass(unref(le).e("thumb")),style:normalizeStyle$1(unref(ze)),onMousedown:qe},null,38)],34),[[vShow,Sn.always||Ce.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($,{expose:z}){const ie=$,le=ref(0),ue=ref(0);return z({handleScroll:_e=>{if(_e){const Ce=_e.offsetHeight-GAP,$e=_e.offsetWidth-GAP;ue.value=_e.scrollTop*100/Ce*ie.ratioY,le.value=_e.scrollLeft*100/$e*ie.ratioX}}}),(_e,Ce)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:le.value,ratio:_e.ratioX,size:_e.width,always:_e.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:ue.value,ratio:_e.ratioY,size:_e.height,vertical:"",always:_e.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:$,scrollLeft:z})=>[$,z].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($,{expose:z,emit:ie}){const le=$,ue=useNamespace("scrollbar");let pe,_e;const Ce=ref(),$e=ref(),xe=ref(),Ie=ref("0"),Ve=ref("0"),ze=ref(),Ue=ref(1),qe=ref(1),Et=computed(()=>{const En={};return le.height&&(En.height=addUnit(le.height)),le.maxHeight&&(En.maxHeight=addUnit(le.maxHeight)),[le.wrapStyle,En]}),Lt=computed(()=>[le.wrapClass,ue.e("wrap"),{[ue.em("wrap","hidden-default")]:!le.native}]),hn=computed(()=>[ue.e("view"),le.viewClass]),vn=()=>{var En;$e.value&&((En=ze.value)==null||En.handleScroll($e.value),ie("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)},Cn=En=>{isNumber$4(En)&&($e.value.scrollLeft=En)},Sn=()=>{if(!$e.value)return;const En=$e.value.offsetHeight-GAP,wn=$e.value.offsetWidth-GAP,Tn=En**2/$e.value.scrollHeight,kn=wn**2/$e.value.scrollWidth,xn=Math.max(Tn,le.minSize),Pn=Math.max(kn,le.minSize);Ue.value=Tn/(En-Tn)/(xn/(En-xn)),qe.value=kn/(wn-kn)/(Pn/(wn-Pn)),Ve.value=xn+GAP<En?`${xn}px`:"",Ie.value=Pn+GAP<wn?`${Pn}px`:""};return watch(()=>le.noresize,En=>{En?(pe==null||pe(),_e==null||_e()):({stop:pe}=useResizeObserver$1(xe,Sn),_e=useEventListener$1("resize",Sn))},{immediate:!0}),watch(()=>[le.maxHeight,le.height],()=>{le.native||nextTick(()=>{var En;Sn(),$e.value&&((En=ze.value)==null||En.handleScroll($e.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:Ce,wrapElement:$e})),onMounted(()=>{le.native||nextTick(()=>{Sn()})}),onUpdated(()=>Sn()),z({wrapRef:$e,update:Sn,scrollTo:_n,setScrollTop:bn,setScrollLeft:Cn,handleScroll:vn}),(En,wn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:Ce,class:normalizeClass(unref(ue).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:$e,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(unref(Et)),onScroll:vn},[(openBlock(),createBlock(resolveDynamicComponent(En.tag),{ref_key:"resizeRef",ref:xe,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:ze,height:Ve.value,width:Ie.value,always:En.always,"ratio-x":qe.value,"ratio-y":Ue.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($,{expose:z}){const ie=$,le=ref(),ue=ref(),pe=ref(),_e=ref(),Ce=computed(()=>ie.role),$e={triggerRef:le,popperInstanceRef:ue,contentRef:pe,referenceRef:_e,role:Ce};return z($e),provide(POPPER_INJECTION_KEY,$e),(xe,Ie)=>renderSlot(xe.$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($,{expose:z}){const ie=$,le=useNamespace("popper"),{arrowOffset:ue,arrowRef:pe,arrowStyle:_e}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>ie.arrowOffset,Ce=>{ue.value=Ce}),onBeforeUnmount(()=>{pe.value=void 0}),z({arrowRef:pe}),(Ce,$e)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:pe,class:normalizeClass(unref(le).e("arrow")),style:normalizeStyle$1(unref(_e)),"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($,{slots:z,attrs:ie}){var le;const ue=inject(FORWARD_REF_INJECTION_KEY),pe=useForwardRefDirective((le=ue==null?void 0:ue.setForwardRef)!=null?le:NOOP);return()=>{var _e;const Ce=(_e=z.default)==null?void 0:_e.call(z,ie);if(!Ce||Ce.length>1)return null;const $e=findFirstLegitChild(Ce);return $e?withDirectives(cloneVNode($e,ie),[[pe]]):null}}});function findFirstLegitChild($){if(!$)return null;const z=$;for(const ie of z){if(isObject$9(ie))switch(ie.type){case Comment:continue;case Text$1:case"svg":return wrapTextContent(ie);case Fragment:return findFirstLegitChild(ie.children);default:return ie}return wrapTextContent(ie)}return null}function wrapTextContent($){const z=useNamespace("only-child");return createVNode("span",{class:z.e("content")},[$])}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($,{expose:z}){const ie=$,{role:le,triggerRef:ue}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(ue);const pe=computed(()=>Ce.value?ie.id:void 0),_e=computed(()=>{if(le&&le.value==="tooltip")return ie.open&&ie.id?ie.id:void 0}),Ce=computed(()=>{if(le&&le.value!=="tooltip")return le.value}),$e=computed(()=>Ce.value?`${ie.open}`:void 0);let xe;return onMounted(()=>{watch(()=>ie.virtualRef,Ie=>{Ie&&(ue.value=unrefElement$1(Ie))},{immediate:!0}),watch(ue,(Ie,Ve)=>{xe==null||xe(),xe=void 0,isElement$2(Ie)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(ze=>{var Ue;const qe=ie[ze];qe&&(Ie.addEventListener(ze.slice(2).toLowerCase(),qe),(Ue=Ve==null?void 0:Ve.removeEventListener)==null||Ue.call(Ve,ze.slice(2).toLowerCase(),qe))}),xe=watch([pe,_e,Ce,$e],ze=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((Ue,qe)=>{isNil(ze[qe])?Ie.removeAttribute(Ue):Ie.setAttribute(Ue,ze[qe])})},{immediate:!0})),isElement$2(Ve)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(ze=>Ve.removeAttribute(ze))},{immediate:!0})}),onBeforeUnmount(()=>{xe==null||xe(),xe=void 0}),z({triggerRef:ue}),(Ie,Ve)=>Ie.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},Ie.$attrs,{"aria-controls":unref(pe),"aria-describedby":unref(_e),"aria-expanded":unref($e),"aria-haspopup":unref(Ce)}),{default:withCtx(()=>[renderSlot(Ie.$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=$=>{const z=[],ie=document.createTreeWalker($,NodeFilter.SHOW_ELEMENT,{acceptNode:le=>{const ue=le.tagName==="INPUT"&&le.type==="hidden";return le.disabled||le.hidden||ue?NodeFilter.FILTER_SKIP:le.tabIndex>=0||le===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;ie.nextNode();)z.push(ie.currentNode);return z},getVisibleElement=($,z)=>{for(const ie of $)if(!isHidden(ie,z))return ie},isHidden=($,z)=>{if(getComputedStyle($).visibility==="hidden")return!0;for(;$;){if(z&&$===z)return!1;if(getComputedStyle($).display==="none")return!0;$=$.parentElement}return!1},getEdges=$=>{const z=obtainAllFocusableElements($),ie=getVisibleElement(z,$),le=getVisibleElement(z.reverse(),$);return[ie,le]},isSelectable=$=>$ instanceof HTMLInputElement&&"select"in $,tryFocus=($,z)=>{if($&&$.focus){const ie=document.activeElement;$.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),$!==ie&&isSelectable($)&&z&&$.select()}};function removeFromStack($,z){const ie=[...$],le=$.indexOf(z);return le!==-1&&ie.splice(le,1),ie}const createFocusableStack=()=>{let $=[];return{push:le=>{const ue=$[0];ue&&le!==ue&&ue.pause(),$=removeFromStack($,le),$.unshift(le)},remove:le=>{var ue,pe;$=removeFromStack($,le),(pe=(ue=$[0])==null?void 0:ue.resume)==null||pe.call(ue)}}},focusFirstDescendant=($,z=!1)=>{const ie=document.activeElement;for(const le of $)if(tryFocus(le,z),document.activeElement!==ie)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=$=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:$}),_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($,{emit:z}){const ie=ref();let le,ue;const{focusReason:pe}=useFocusReason();useEscapeKeydown(qe=>{$.trapped&&!_e.paused&&z("release-requested",qe)});const _e={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},Ce=qe=>{if(!$.loop&&!$.trapped||_e.paused)return;const{key:Et,altKey:Lt,ctrlKey:hn,metaKey:vn,currentTarget:_n,shiftKey:bn}=qe,{loop:Cn}=$,Sn=Et===EVENT_CODE.tab&&!Lt&&!hn&&!vn,En=document.activeElement;if(Sn&&En){const wn=_n,[Tn,kn]=getEdges(wn);if(Tn&&kn){if(!bn&&En===kn){const Pn=createFocusOutPreventedEvent({focusReason:pe.value});z("focusout-prevented",Pn),Pn.defaultPrevented||(qe.preventDefault(),Cn&&tryFocus(Tn,!0))}else if(bn&&[Tn,wn].includes(En)){const Pn=createFocusOutPreventedEvent({focusReason:pe.value});z("focusout-prevented",Pn),Pn.defaultPrevented||(qe.preventDefault(),Cn&&tryFocus(kn,!0))}}else if(En===wn){const Pn=createFocusOutPreventedEvent({focusReason:pe.value});z("focusout-prevented",Pn),Pn.defaultPrevented||qe.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:ie,onKeydown:Ce}),watch(()=>$.focusTrapEl,qe=>{qe&&(ie.value=qe)},{immediate:!0}),watch([ie],([qe],[Et])=>{qe&&(qe.addEventListener("keydown",Ce),qe.addEventListener("focusin",Ie),qe.addEventListener("focusout",Ve)),Et&&(Et.removeEventListener("keydown",Ce),Et.removeEventListener("focusin",Ie),Et.removeEventListener("focusout",Ve))});const $e=qe=>{z(ON_TRAP_FOCUS_EVT,qe)},xe=qe=>z(ON_RELEASE_FOCUS_EVT,qe),Ie=qe=>{const Et=unref(ie);if(!Et)return;const Lt=qe.target,hn=qe.relatedTarget,vn=Lt&&Et.contains(Lt);$.trapped||hn&&Et.contains(hn)||(le=hn),vn&&z("focusin",qe),!_e.paused&&$.trapped&&(vn?ue=Lt:tryFocus(ue,!0))},Ve=qe=>{const Et=unref(ie);if(!(_e.paused||!Et))if($.trapped){const Lt=qe.relatedTarget;!isNil(Lt)&&!Et.contains(Lt)&&setTimeout(()=>{if(!_e.paused&&$.trapped){const hn=createFocusOutPreventedEvent({focusReason:pe.value});z("focusout-prevented",hn),hn.defaultPrevented||tryFocus(ue,!0)}},0)}else{const Lt=qe.target;Lt&&Et.contains(Lt)||z("focusout",qe)}};async function ze(){await nextTick();const qe=unref(ie);if(qe){focusableStack.push(_e);const Et=qe.contains(document.activeElement)?le:document.activeElement;if(le=Et,!qe.contains(Et)){const hn=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);qe.addEventListener(FOCUS_AFTER_TRAPPED,$e),qe.dispatchEvent(hn),hn.defaultPrevented||nextTick(()=>{let vn=$.focusStartEl;isString$6(vn)||(tryFocus(vn),document.activeElement!==vn&&(vn="first")),vn==="first"&&focusFirstDescendant(obtainAllFocusableElements(qe),!0),(document.activeElement===Et||vn==="container")&&tryFocus(qe)})}}}function Ue(){const qe=unref(ie);if(qe){qe.removeEventListener(FOCUS_AFTER_TRAPPED,$e);const Et=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:pe.value}});qe.addEventListener(FOCUS_AFTER_RELEASED,xe),qe.dispatchEvent(Et),!Et.defaultPrevented&&(pe.value=="keyboard"||!isFocusCausedByUserEvent()||qe.contains(document.activeElement))&&tryFocus(le??document.body),qe.removeEventListener(FOCUS_AFTER_RELEASED,$e),focusableStack.remove(_e)}}return onMounted(()=>{$.trapped&&ze(),watch(()=>$.trapped,qe=>{qe?ze():Ue()})}),onBeforeUnmount(()=>{$.trapped&&Ue()}),{onKeydown:Ce}}});function _sfc_render$w($,z,ie,le,ue,pe){return renderSlot($.$slots,"default",{handleKeydown:$.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:$=>$ instanceof MouseEvent,mouseleave:$=>$ instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=($,z=[])=>{const{placement:ie,strategy:le,popperOptions:ue}=$,pe={placement:ie,strategy:le,...ue,modifiers:[...genModifiers($),...z]};return deriveExtraModifiers(pe,ue==null?void 0:ue.modifiers),pe},unwrapMeasurableEl=$=>{if(isClient$1)return unrefElement$1($)};function genModifiers($){const{offset:z,gpuAcceleration:ie,fallbackPlacements:le}=$;return[{name:"offset",options:{offset:[0,z??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:le}},{name:"computeStyles",options:{gpuAcceleration:ie}}]}function deriveExtraModifiers($,z){z&&($.modifiers=[...$.modifiers,...z??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=$=>{const{popperInstanceRef:z,contentRef:ie,triggerRef:le,role:ue}=inject(POPPER_INJECTION_KEY,void 0),pe=ref(),_e=ref(),Ce=computed(()=>({name:"eventListeners",enabled:!!$.visible})),$e=computed(()=>{var hn;const vn=unref(pe),_n=(hn=unref(_e))!=null?hn:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(vn),options:{element:vn,padding:_n}}}),xe=computed(()=>({onFirstUpdate:()=>{qe()},...buildPopperOptions($,[unref($e),unref(Ce)])})),Ie=computed(()=>unwrapMeasurableEl($.referenceEl)||unref(le)),{attributes:Ve,state:ze,styles:Ue,update:qe,forceUpdate:Et,instanceRef:Lt}=usePopper(Ie,ie,xe);return watch(Lt,hn=>z.value=hn),onMounted(()=>{watch(()=>{var hn;return(hn=unref(Ie))==null?void 0:hn.getBoundingClientRect()},()=>{qe()})}),{attributes:Ve,arrowRef:pe,contentRef:ie,instanceRef:Lt,state:ze,styles:Ue,role:ue,forceUpdate:Et,update:qe}},usePopperContentDOM=($,{attributes:z,styles:ie,role:le})=>{const{nextZIndex:ue}=useZIndex(),pe=useNamespace("popper"),_e=computed(()=>unref(z).popper),Ce=ref($.zIndex||ue()),$e=computed(()=>[pe.b(),pe.is("pure",$.pure),pe.is($.effect),$.popperClass]),xe=computed(()=>[{zIndex:unref(Ce)},unref(ie).popper,$.popperStyle||{}]),Ie=computed(()=>le.value==="dialog"?"false":void 0),Ve=computed(()=>unref(ie).arrow||{});return{ariaModal:Ie,arrowStyle:Ve,contentAttrs:_e,contentClass:$e,contentStyle:xe,contentZIndex:Ce,updateZIndex:()=>{Ce.value=$.zIndex||ue()}}},usePopperContentFocusTrap=($,z)=>{const ie=ref(!1),le=ref();return{focusStartRef:le,trapped:ie,onFocusAfterReleased:xe=>{var Ie;((Ie=xe.detail)==null?void 0:Ie.focusReason)!=="pointer"&&(le.value="first",z("blur"))},onFocusAfterTrapped:()=>{z("focus")},onFocusInTrap:xe=>{$.visible&&!ie.value&&(xe.target&&(le.value=xe.target),ie.value=!0)},onFocusoutPrevented:xe=>{$.trapping||(xe.detail.focusReason==="pointer"&&xe.preventDefault(),ie.value=!1)},onReleaseRequested:()=>{ie.value=!1,z("close")}}},__default__$1s=defineComponent({name:"ElPopperContent"}),_sfc_main$27=defineComponent({...__default__$1s,props:popperContentProps,emits:popperContentEmits,setup($,{expose:z,emit:ie}){const le=$,{focusStartRef:ue,trapped:pe,onFocusAfterReleased:_e,onFocusAfterTrapped:Ce,onFocusInTrap:$e,onFocusoutPrevented:xe,onReleaseRequested:Ie}=usePopperContentFocusTrap(le,ie),{attributes:Ve,arrowRef:ze,contentRef:Ue,styles:qe,instanceRef:Et,role:Lt,update:hn}=usePopperContent(le),{ariaModal:vn,arrowStyle:_n,contentAttrs:bn,contentClass:Cn,contentStyle:Sn,updateZIndex:En}=usePopperContentDOM(le,{styles:qe,attributes:Ve,role:Lt}),wn=inject(formItemContextKey,void 0),Tn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:_n,arrowRef:ze,arrowOffset:Tn}),wn&&(wn.addInputId||wn.removeInputId)&&provide(formItemContextKey,{...wn,addInputId:NOOP,removeInputId:NOOP});let kn;const xn=(An=!0)=>{hn(),An&&En()},Pn=()=>{xn(!1),le.visible&&le.focusOnShow?pe.value=!0:le.visible===!1&&(pe.value=!1)};return onMounted(()=>{watch(()=>le.triggerTargetEl,(An,In)=>{kn==null||kn(),kn=void 0;const Fn=unref(An||Ue.value),Dn=unref(In||Ue.value);isElement$2(Fn)&&(kn=watch([Lt,()=>le.ariaLabel,vn,()=>le.id],On=>{["role","aria-label","aria-modal","id"].forEach((Vn,Mn)=>{isNil(On[Mn])?Fn.removeAttribute(Vn):Fn.setAttribute(Vn,On[Mn])})},{immediate:!0})),Dn!==Fn&&isElement$2(Dn)&&["role","aria-label","aria-modal","id"].forEach(On=>{Dn.removeAttribute(On)})},{immediate:!0}),watch(()=>le.visible,Pn,{immediate:!0})}),onBeforeUnmount(()=>{kn==null||kn(),kn=void 0}),z({popperContentRef:Ue,popperInstanceRef:Et,updatePopper:xn,contentStyle:Sn}),(An,In)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:Ue},unref(bn),{style:unref(Sn),class:unref(Cn),tabindex:"-1",onMouseenter:In[0]||(In[0]=Fn=>An.$emit("mouseenter",Fn)),onMouseleave:In[1]||(In[1]=Fn=>An.$emit("mouseleave",Fn))}),[createVNode(unref(ElFocusTrap),{trapped:unref(pe),"trap-on-focus-in":!0,"focus-trap-el":unref(Ue),"focus-start-el":unref(ue),onFocusAfterTrapped:unref(Ce),onFocusAfterReleased:unref(_e),onFocusin:unref($e),onFocusoutPrevented:unref(xe),onReleaseRequested:unref(Ie)},{default:withCtx(()=>[renderSlot(An.$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=($,z)=>isArray$c($)?$.includes(z):$===z,whenTrigger=($,z,ie)=>le=>{isTriggerType(unref($),z)&&ie(le)},__default__$1r=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$26=defineComponent({...__default__$1r,props:useTooltipTriggerProps,setup($,{expose:z}){const ie=$,le=useNamespace("tooltip"),{controlled:ue,id:pe,open:_e,onOpen:Ce,onClose:$e,onToggle:xe}=inject(TOOLTIP_INJECTION_KEY,void 0),Ie=ref(null),Ve=()=>{if(unref(ue)||ie.disabled)return!0},ze=toRef$1(ie,"trigger"),Ue=composeEventHandlers(Ve,whenTrigger(ze,"hover",Ce)),qe=composeEventHandlers(Ve,whenTrigger(ze,"hover",$e)),Et=composeEventHandlers(Ve,whenTrigger(ze,"click",bn=>{bn.button===0&&xe(bn)})),Lt=composeEventHandlers(Ve,whenTrigger(ze,"focus",Ce)),hn=composeEventHandlers(Ve,whenTrigger(ze,"focus",$e)),vn=composeEventHandlers(Ve,whenTrigger(ze,"contextmenu",bn=>{bn.preventDefault(),xe(bn)})),_n=composeEventHandlers(Ve,bn=>{const{code:Cn}=bn;ie.triggerKeys.includes(Cn)&&(bn.preventDefault(),xe(bn))});return z({triggerRef:Ie}),(bn,Cn)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(pe),"virtual-ref":bn.virtualRef,open:unref(_e),"virtual-triggering":bn.virtualTriggering,class:normalizeClass(unref(le).e("trigger")),onBlur:unref(hn),onClick:unref(Et),onContextmenu:unref(vn),onFocus:unref(Lt),onMouseenter:unref(Ue),onMouseleave:unref(qe),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($,{expose:z}){const ie=$,{selector:le}=usePopperContainerId(),ue=useNamespace("tooltip"),pe=ref(null),_e=ref(!1),{controlled:Ce,id:$e,open:xe,trigger:Ie,onClose:Ve,onOpen:ze,onShow:Ue,onHide:qe,onBeforeShow:Et,onBeforeHide:Lt}=inject(TOOLTIP_INJECTION_KEY,void 0),hn=computed(()=>ie.transition||`${ue.namespace.value}-fade-in-linear`),vn=computed(()=>ie.persistent);onBeforeUnmount(()=>{_e.value=!0});const _n=computed(()=>unref(vn)?!0:unref(xe)),bn=computed(()=>ie.disabled?!1:unref(xe)),Cn=computed(()=>ie.appendTo||le.value),Sn=computed(()=>{var On;return(On=ie.style)!=null?On:{}}),En=computed(()=>!unref(xe)),wn=()=>{qe()},Tn=()=>{if(unref(Ce))return!0},kn=composeEventHandlers(Tn,()=>{ie.enterable&&unref(Ie)==="hover"&&ze()}),xn=composeEventHandlers(Tn,()=>{unref(Ie)==="hover"&&Ve()}),Pn=()=>{var On,Vn;(Vn=(On=pe.value)==null?void 0:On.updatePopper)==null||Vn.call(On),Et==null||Et()},An=()=>{Lt==null||Lt()},In=()=>{Ue(),Dn=onClickOutside$1(computed(()=>{var On;return(On=pe.value)==null?void 0:On.popperContentRef}),()=>{if(unref(Ce))return;unref(Ie)!=="hover"&&Ve()})},Fn=()=>{ie.virtualTriggering||Ve()};let Dn;return watch(()=>unref(xe),On=>{On||Dn==null||Dn()},{flush:"post"}),watch(()=>ie.content,()=>{var On,Vn;(Vn=(On=pe.value)==null?void 0:On.updatePopper)==null||Vn.call(On)}),z({contentRef:pe}),(On,Vn)=>(openBlock(),createBlock(Teleport,{disabled:!On.teleported,to:unref(Cn)},[createVNode(Transition,{name:unref(hn),onAfterLeave:wn,onBeforeEnter:Pn,onAfterEnter:In,onBeforeLeave:An},{default:withCtx(()=>[unref(_n)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref($e),ref_key:"contentRef",ref:pe},On.$attrs,{"aria-label":On.ariaLabel,"aria-hidden":unref(En),"boundaries-padding":On.boundariesPadding,"fallback-placements":On.fallbackPlacements,"gpu-acceleration":On.gpuAcceleration,offset:On.offset,placement:On.placement,"popper-options":On.popperOptions,strategy:On.strategy,effect:On.effect,enterable:On.enterable,pure:On.pure,"popper-class":On.popperClass,"popper-style":[On.popperStyle,unref(Sn)],"reference-el":On.referenceEl,"trigger-target-el":On.triggerTargetEl,visible:unref(bn),"z-index":On.zIndex,onMouseenter:unref(kn),onMouseleave:unref(xn),onBlur:Fn,onClose:unref(Ve)}),{default:withCtx(()=>[_e.value?createCommentVNode("v-if",!0):renderSlot(On.$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($,{expose:z,emit:ie}){const le=$;usePopperContainer();const ue=useId(),pe=ref(),_e=ref(),Ce=()=>{var hn;const vn=unref(pe);vn&&((hn=vn.popperInstanceRef)==null||hn.update())},$e=ref(!1),xe=ref(),{show:Ie,hide:Ve,hasUpdateHandler:ze}=useTooltipModelToggle({indicator:$e,toggleReason:xe}),{onOpen:Ue,onClose:qe}=useDelayedToggle({showAfter:toRef$1(le,"showAfter"),hideAfter:toRef$1(le,"hideAfter"),autoClose:toRef$1(le,"autoClose"),open:Ie,close:Ve}),Et=computed(()=>isBoolean$3(le.visible)&&!ze.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Et,id:ue,open:readonly($e),trigger:toRef$1(le,"trigger"),onOpen:hn=>{Ue(hn)},onClose:hn=>{qe(hn)},onToggle:hn=>{unref($e)?qe(hn):Ue(hn)},onShow:()=>{ie("show",xe.value)},onHide:()=>{ie("hide",xe.value)},onBeforeShow:()=>{ie("before-show",xe.value)},onBeforeHide:()=>{ie("before-hide",xe.value)},updatePopper:Ce}),watch(()=>le.disabled,hn=>{hn&&$e.value&&($e.value=!1)});const Lt=()=>{var hn,vn;const _n=(vn=(hn=_e.value)==null?void 0:hn.contentRef)==null?void 0:vn.popperContentRef;return _n&&_n.contains(document.activeElement)};return onDeactivated(()=>$e.value&&Ve()),z({popperRef:pe,contentRef:_e,isFocusInsideContent:Lt,updatePopper:Ce,onOpen:Ue,onClose:qe,hide:Ve}),(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:_e,"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]:$=>isString$6($),[INPUT_EVENT]:$=>isString$6($),[CHANGE_EVENT]:$=>isString$6($),focus:$=>$ instanceof FocusEvent,blur:$=>$ instanceof FocusEvent,clear:()=>!0,select:$=>isObject$9($)},_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($,{expose:z,emit:ie}){const le=$,ue=useAttrs(),pe=useAttrs$1(),_e=useFormDisabled(),Ce=useNamespace("autocomplete"),$e=ref(),xe=ref(),Ie=ref(),Ve=ref();let ze=!1,Ue=!1;const qe=ref([]),Et=ref(-1),Lt=ref(""),hn=ref(!1),vn=ref(!1),_n=ref(!1),bn=computed(()=>Ce.b(String(generateId()))),Cn=computed(()=>pe.style),Sn=computed(()=>(qe.value.length>0||_n.value)&&hn.value),En=computed(()=>!le.hideLoading&&_n.value),wn=computed(()=>$e.value?Array.from($e.value.$el.querySelectorAll("input")):[]),Tn=async()=>{await nextTick(),Sn.value&&(Lt.value=`${$e.value.$el.offsetWidth}px`)},kn=()=>{Et.value=-1},Pn=debounce(async ir=>{if(vn.value)return;const Yn=Gn=>{_n.value=!1,!vn.value&&(isArray$c(Gn)?(qe.value=Gn,Et.value=le.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(_n.value=!0,isArray$c(le.fetchSuggestions))Yn(le.fetchSuggestions);else{const Gn=await le.fetchSuggestions(ir,Yn);isArray$c(Gn)&&Yn(Gn)}},le.debounce),An=ir=>{const Yn=!!ir;if(ie(INPUT_EVENT,ir),ie(UPDATE_MODEL_EVENT,ir),vn.value=!1,hn.value||(hn.value=Yn),!le.triggerOnFocus&&!ir){vn.value=!0,qe.value=[];return}Pn(ir)},In=ir=>{var Yn;_e.value||(((Yn=ir.target)==null?void 0:Yn.tagName)!=="INPUT"||wn.value.includes(document.activeElement))&&(hn.value=!0)},Fn=ir=>{ie(CHANGE_EVENT,ir)},Dn=ir=>{Ue?Ue=!1:(hn.value=!0,ie("focus",ir),le.triggerOnFocus&&!ze&&Pn(String(le.modelValue)))},On=ir=>{setTimeout(()=>{var Yn;if((Yn=Ie.value)!=null&&Yn.isFocusInsideContent()){Ue=!0;return}hn.value&&Kn(),ie("blur",ir)})},Vn=()=>{hn.value=!1,ie(UPDATE_MODEL_EVENT,""),ie("clear")},Mn=async()=>{Sn.value&&Et.value>=0&&Et.value<qe.value.length?lr(qe.value[Et.value]):le.selectWhenUnmatched&&(ie("select",{value:le.modelValue}),qe.value=[],Et.value=-1)},zn=ir=>{Sn.value&&(ir.preventDefault(),ir.stopPropagation(),Kn())},Kn=()=>{hn.value=!1},Hn=()=>{var ir;(ir=$e.value)==null||ir.focus()},Xn=()=>{var ir;(ir=$e.value)==null||ir.blur()},lr=async ir=>{ie(INPUT_EVENT,ir[le.valueKey]),ie(UPDATE_MODEL_EVENT,ir[le.valueKey]),ie("select",ir),qe.value=[],Et.value=-1},yr=ir=>{if(!Sn.value||_n.value)return;if(ir<0){Et.value=-1;return}ir>=qe.value.length&&(ir=qe.value.length-1);const Yn=xe.value.querySelector(`.${Ce.be("suggestion","wrap")}`),Wn=Yn.querySelectorAll(`.${Ce.be("suggestion","list")} li`)[ir],Qn=Yn.scrollTop,{offsetTop:fr,scrollHeight:jn}=Wn;fr+jn>Qn+Yn.clientHeight&&(Yn.scrollTop+=jn),fr<Qn&&(Yn.scrollTop-=jn),Et.value=ir,$e.value.ref.setAttribute("aria-activedescendant",`${bn.value}-item-${Et.value}`)};return onClickOutside$1(Ve,()=>{Sn.value&&Kn()}),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-${Et.value}`),ze=$e.value.ref.hasAttribute("readonly")}),z({highlightedIndex:Et,activated:hn,loading:_n,inputRef:$e,popperRef:Ie,suggestions:qe,handleSelect:lr,handleKeyEnter:Mn,focus:Hn,blur:Xn,close:Kn,highlight:yr}),(ir,Yn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:Ie,visible:unref(Sn),placement:ir.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(Ce).e("popper"),ir.popperClass],teleported:ir.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(Ce).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:Tn,onHide:kn},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:xe,class:normalizeClass([unref(Ce).b("suggestion"),unref(Ce).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(Ce).be("suggestion","wrap"),"view-class":unref(Ce).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(En)?(openBlock(),createElementBlock("li",_hoisted_2$G,[createVNode(unref(ElIcon),{class:normalizeClass(unref(Ce).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(qe.value,(Gn,Wn)=>(openBlock(),createElementBlock("li",{id:`${unref(bn)}-item-${Wn}`,key:Wn,class:normalizeClass({highlighted:Et.value===Wn}),role:"option","aria-selected":Et.value===Wn,onClick:Qn=>lr(Gn)},[renderSlot(ir.$slots,"default",{item:Gn},()=>[createTextVNode(toDisplayString$1(Gn[ir.valueKey]),1)])],10,_hoisted_3$m))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:Ve,class:normalizeClass([unref(Ce).b(),ir.$attrs.class]),style:normalizeStyle$1(unref(Cn)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(Sn),"aria-owns":unref(bn)},[createVNode(unref(ElInput),mergeProps({ref_key:"inputRef",ref:$e},unref(ue),{clearable:ir.clearable,disabled:unref(_e),name:ir.name,"model-value":ir.modelValue,onInput:An,onChange:Fn,onFocus:Dn,onBlur:On,onClear:Vn,onKeydown:[Yn[0]||(Yn[0]=withKeys(withModifiers(Gn=>yr(Et.value-1),["prevent"]),["up"])),Yn[1]||(Yn[1]=withKeys(withModifiers(Gn=>yr(Et.value+1),["prevent"]),["down"])),withKeys(Mn,["enter"]),withKeys(Kn,["tab"]),withKeys(zn,["esc"])],onMousedown:In}),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:$=>isNumber$4($)},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:$=>$ instanceof Event},_hoisted_1$10=["src","alt","srcset"],__default__$1n=defineComponent({name:"ElAvatar"}),_sfc_main$22=defineComponent({...__default__$1n,props:avatarProps,emits:avatarEmits,setup($,{emit:z}){const ie=$,le=useNamespace("avatar"),ue=ref(!1),pe=computed(()=>{const{size:xe,icon:Ie,shape:Ve}=ie,ze=[le.b()];return isString$6(xe)&&ze.push(le.m(xe)),Ie&&ze.push(le.m("icon")),Ve&&ze.push(le.m(Ve)),ze}),_e=computed(()=>{const{size:xe}=ie;return isNumber$4(xe)?le.cssVarBlock({size:addUnit(xe)||""}):void 0}),Ce=computed(()=>({objectFit:ie.fit}));watch(()=>ie.src,()=>ue.value=!1);function $e(xe){ue.value=!0,z("error",xe)}return(xe,Ie)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(_e))},[(xe.src||xe.srcSet)&&!ue.value?(openBlock(),createElementBlock("img",{key:0,src:xe.src,alt:xe.alt,srcset:xe.srcSet,style:normalizeStyle$1(unref(Ce)),onError:$e},null,44,_hoisted_1$10)):xe.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.icon)))]),_:1})):renderSlot(xe.$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:$=>$ instanceof MouseEvent},useBackTop=($,z,ie)=>{const le=shallowRef(),ue=shallowRef(),pe=ref(!1),_e=()=>{le.value&&(pe.value=le.value.scrollTop>=$.visibilityHeight)},Ce=xe=>{var Ie;(Ie=le.value)==null||Ie.scrollTo({top:0,behavior:"smooth"}),z("click",xe)},$e=useThrottleFn(_e,300,!0);return useEventListener$1(ue,"scroll",$e),onMounted(()=>{var xe;ue.value=document,le.value=document.documentElement,$.target&&(le.value=(xe=document.querySelector($.target))!=null?xe:void 0,le.value||throwError$1(ie,`target does not exist: ${$.target}`),ue.value=le.value)}),{visible:pe,handleClick:Ce}},COMPONENT_NAME$h="ElBacktop",__default__$1m=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$21=defineComponent({...__default__$1m,props:backtopProps,emits:backtopEmits,setup($,{emit:z}){const ie=$,le=useNamespace("backtop"),{handleClick:ue,visible:pe}=useBackTop(ie,z,COMPONENT_NAME$h),_e=computed(()=>({right:`${ie.right}px`,bottom:`${ie.bottom}px`}));return(Ce,$e)=>(openBlock(),createBlock(Transition,{name:`${unref(le).namespace.value}-fade-in`},{default:withCtx(()=>[unref(pe)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(_e)),class:normalizeClass(unref(le).b()),onClick:$e[0]||($e[0]=withModifiers((...xe)=>unref(ue)&&unref(ue)(...xe),["stop"]))},[renderSlot(Ce.$slots,"default",{},()=>[createVNode(unref(ElIcon),{class:normalizeClass(unref(le).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($,{expose:z}){const ie=$,le=useNamespace("badge"),ue=computed(()=>ie.isDot?"":isNumber$4(ie.value)&&isNumber$4(ie.max)?ie.max<ie.value?`${ie.max}+`:`${ie.value}`:`${ie.value}`);return z({content:ue}),(pe,_e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le).b())},[renderSlot(pe.$slots,"default"),createVNode(Transition,{name:`${unref(le).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(le).e("content"),unref(le).em("content",pe.type),unref(le).is("fixed",!!pe.$slots.default),unref(le).is("dot",pe.isDot)]),textContent:toDisplayString$1(unref(ue))},null,10,_hoisted_1$$),[[vShow,!pe.hidden&&(unref(ue)||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($){const z=$,ie=useNamespace("breadcrumb"),le=ref();return provide(breadcrumbKey,z),onMounted(()=>{const ue=le.value.querySelectorAll(`.${ie.e("item")}`);ue.length&&ue[ue.length-1].setAttribute("aria-current","page")}),(ue,pe)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:le,class:normalizeClass(unref(ie).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(ue.$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($){const z=$,ie=getCurrentInstance(),le=inject(breadcrumbKey,void 0),ue=useNamespace("breadcrumb"),{separator:pe,separatorIcon:_e}=toRefs(le),Ce=ie.appContext.config.globalProperties.$router,$e=ref(),xe=()=>{!z.to||!Ce||(z.replace?Ce.replace(z.to):Ce.push(z.to))};return(Ie,Ve)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ue).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:$e,class:normalizeClass([unref(ue).e("inner"),unref(ue).is("link",!!Ie.to)]),role:"link",onClick:xe},[renderSlot(Ie.$slots,"default")],2),unref(_e)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_e))))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ue).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=($,z)=>{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(()=>$.type==="text"));const ie=inject(buttonGroupContextKey,void 0),le=useGlobalConfig("button"),{form:ue}=useFormItem(),pe=useFormSize(computed(()=>ie==null?void 0:ie.size)),_e=useFormDisabled(),Ce=ref(),$e=useSlots(),xe=computed(()=>$.type||(ie==null?void 0:ie.type)||""),Ie=computed(()=>{var qe,Et,Lt;return(Lt=(Et=$.autoInsertSpace)!=null?Et:(qe=le.value)==null?void 0:qe.autoInsertSpace)!=null?Lt:!1}),Ve=computed(()=>$.tag==="button"?{ariaDisabled:_e.value||$.loading,disabled:_e.value||$.loading,autofocus:$.autofocus,type:$.nativeType}:{}),ze=computed(()=>{var qe;const Et=(qe=$e.default)==null?void 0:qe.call($e);if(Ie.value&&(Et==null?void 0:Et.length)===1){const Lt=Et[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:_e,_size:pe,_type:xe,_ref:Ce,_props:Ve,shouldAddSpace:ze,handleClick:qe=>{$.nativeType==="reset"&&(ue==null||ue.resetFields()),z("click",qe)}}},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:$=>$ instanceof MouseEvent};function bound01$1($,z){isOnePointZero$1($)&&($="100%");var ie=isPercentage$1($);return $=z===360?$:Math.min(z,Math.max(0,parseFloat($))),ie&&($=parseInt(String($*z),10)/100),Math.abs($-z)<1e-6?1:(z===360?$=($<0?$%z+z:$%z)/parseFloat(String(z)):$=$%z/parseFloat(String(z)),$)}function clamp01($){return Math.min(1,Math.max(0,$))}function isOnePointZero$1($){return typeof $=="string"&&$.indexOf(".")!==-1&&parseFloat($)===1}function isPercentage$1($){return typeof $=="string"&&$.indexOf("%")!==-1}function boundAlpha($){return $=parseFloat($),(isNaN($)||$<0||$>1)&&($=1),$}function convertToPercentage($){return $<=1?"".concat(Number($)*100,"%"):$}function pad2($){return $.length===1?"0"+$:String($)}function rgbToRgb($,z,ie){return{r:bound01$1($,255)*255,g:bound01$1(z,255)*255,b:bound01$1(ie,255)*255}}function rgbToHsl($,z,ie){$=bound01$1($,255),z=bound01$1(z,255),ie=bound01$1(ie,255);var le=Math.max($,z,ie),ue=Math.min($,z,ie),pe=0,_e=0,Ce=(le+ue)/2;if(le===ue)_e=0,pe=0;else{var $e=le-ue;switch(_e=Ce>.5?$e/(2-le-ue):$e/(le+ue),le){case $:pe=(z-ie)/$e+(z<ie?6:0);break;case z:pe=(ie-$)/$e+2;break;case ie:pe=($-z)/$e+4;break}pe/=6}return{h:pe,s:_e,l:Ce}}function hue2rgb($,z,ie){return ie<0&&(ie+=1),ie>1&&(ie-=1),ie<1/6?$+(z-$)*(6*ie):ie<1/2?z:ie<2/3?$+(z-$)*(2/3-ie)*6:$}function hslToRgb($,z,ie){var le,ue,pe;if($=bound01$1($,360),z=bound01$1(z,100),ie=bound01$1(ie,100),z===0)ue=ie,pe=ie,le=ie;else{var _e=ie<.5?ie*(1+z):ie+z-ie*z,Ce=2*ie-_e;le=hue2rgb(Ce,_e,$+1/3),ue=hue2rgb(Ce,_e,$),pe=hue2rgb(Ce,_e,$-1/3)}return{r:le*255,g:ue*255,b:pe*255}}function rgbToHsv($,z,ie){$=bound01$1($,255),z=bound01$1(z,255),ie=bound01$1(ie,255);var le=Math.max($,z,ie),ue=Math.min($,z,ie),pe=0,_e=le,Ce=le-ue,$e=le===0?0:Ce/le;if(le===ue)pe=0;else{switch(le){case $:pe=(z-ie)/Ce+(z<ie?6:0);break;case z:pe=(ie-$)/Ce+2;break;case ie:pe=($-z)/Ce+4;break}pe/=6}return{h:pe,s:$e,v:_e}}function hsvToRgb($,z,ie){$=bound01$1($,360)*6,z=bound01$1(z,100),ie=bound01$1(ie,100);var le=Math.floor($),ue=$-le,pe=ie*(1-z),_e=ie*(1-ue*z),Ce=ie*(1-(1-ue)*z),$e=le%6,xe=[ie,_e,pe,pe,Ce,ie][$e],Ie=[Ce,ie,ie,_e,pe,pe][$e],Ve=[pe,pe,Ce,ie,ie,_e][$e];return{r:xe*255,g:Ie*255,b:Ve*255}}function rgbToHex($,z,ie,le){var ue=[pad2(Math.round($).toString(16)),pad2(Math.round(z).toString(16)),pad2(Math.round(ie).toString(16))];return le&&ue[0].startsWith(ue[0].charAt(1))&&ue[1].startsWith(ue[1].charAt(1))&&ue[2].startsWith(ue[2].charAt(1))?ue[0].charAt(0)+ue[1].charAt(0)+ue[2].charAt(0):ue.join("")}function rgbaToHex($,z,ie,le,ue){var pe=[pad2(Math.round($).toString(16)),pad2(Math.round(z).toString(16)),pad2(Math.round(ie).toString(16)),pad2(convertDecimalToHex(le))];return ue&&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($){return Math.round(parseFloat($)*255).toString(16)}function convertHexToDecimal($){return parseIntFromHex($)/255}function parseIntFromHex($){return parseInt($,16)}function numberInputToObject($){return{r:$>>16,g:($&65280)>>8,b:$&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($){var z={r:0,g:0,b:0},ie=1,le=null,ue=null,pe=null,_e=!1,Ce=!1;return typeof $=="string"&&($=stringInputToObject($)),typeof $=="object"&&(isValidCSSUnit($.r)&&isValidCSSUnit($.g)&&isValidCSSUnit($.b)?(z=rgbToRgb($.r,$.g,$.b),_e=!0,Ce=String($.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit($.h)&&isValidCSSUnit($.s)&&isValidCSSUnit($.v)?(le=convertToPercentage($.s),ue=convertToPercentage($.v),z=hsvToRgb($.h,le,ue),_e=!0,Ce="hsv"):isValidCSSUnit($.h)&&isValidCSSUnit($.s)&&isValidCSSUnit($.l)&&(le=convertToPercentage($.s),pe=convertToPercentage($.l),z=hslToRgb($.h,le,pe),_e=!0,Ce="hsl"),Object.prototype.hasOwnProperty.call($,"a")&&(ie=$.a)),ie=boundAlpha(ie),{ok:_e,format:$.format||Ce,r:Math.min(255,Math.max(z.r,0)),g:Math.min(255,Math.max(z.g,0)),b:Math.min(255,Math.max(z.b,0)),a:ie}}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($){if($=$.trim().toLowerCase(),$.length===0)return!1;var z=!1;if(names[$])$=names[$],z=!0;else if($==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ie=matchers.rgb.exec($);return ie?{r:ie[1],g:ie[2],b:ie[3]}:(ie=matchers.rgba.exec($),ie?{r:ie[1],g:ie[2],b:ie[3],a:ie[4]}:(ie=matchers.hsl.exec($),ie?{h:ie[1],s:ie[2],l:ie[3]}:(ie=matchers.hsla.exec($),ie?{h:ie[1],s:ie[2],l:ie[3],a:ie[4]}:(ie=matchers.hsv.exec($),ie?{h:ie[1],s:ie[2],v:ie[3]}:(ie=matchers.hsva.exec($),ie?{h:ie[1],s:ie[2],v:ie[3],a:ie[4]}:(ie=matchers.hex8.exec($),ie?{r:parseIntFromHex(ie[1]),g:parseIntFromHex(ie[2]),b:parseIntFromHex(ie[3]),a:convertHexToDecimal(ie[4]),format:z?"name":"hex8"}:(ie=matchers.hex6.exec($),ie?{r:parseIntFromHex(ie[1]),g:parseIntFromHex(ie[2]),b:parseIntFromHex(ie[3]),format:z?"name":"hex"}:(ie=matchers.hex4.exec($),ie?{r:parseIntFromHex(ie[1]+ie[1]),g:parseIntFromHex(ie[2]+ie[2]),b:parseIntFromHex(ie[3]+ie[3]),a:convertHexToDecimal(ie[4]+ie[4]),format:z?"name":"hex8"}:(ie=matchers.hex3.exec($),ie?{r:parseIntFromHex(ie[1]+ie[1]),g:parseIntFromHex(ie[2]+ie[2]),b:parseIntFromHex(ie[3]+ie[3]),format:z?"name":"hex"}:!1)))))))))}function isValidCSSUnit($){return!!matchers.CSS_UNIT.exec(String($))}var TinyColor=function(){function $(z,ie){z===void 0&&(z=""),ie===void 0&&(ie={});var le;if(z instanceof $)return z;typeof z=="number"&&(z=numberInputToObject(z)),this.originalInput=z;var ue=inputToRGB(z);this.originalInput=z,this.r=ue.r,this.g=ue.g,this.b=ue.b,this.a=ue.a,this.roundA=Math.round(100*this.a)/100,this.format=(le=ie.format)!==null&&le!==void 0?le:ue.format,this.gradientType=ie.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=ue.ok}return $.prototype.isDark=function(){return this.getBrightness()<128},$.prototype.isLight=function(){return!this.isDark()},$.prototype.getBrightness=function(){var z=this.toRgb();return(z.r*299+z.g*587+z.b*114)/1e3},$.prototype.getLuminance=function(){var z=this.toRgb(),ie,le,ue,pe=z.r/255,_e=z.g/255,Ce=z.b/255;return pe<=.03928?ie=pe/12.92:ie=Math.pow((pe+.055)/1.055,2.4),_e<=.03928?le=_e/12.92:le=Math.pow((_e+.055)/1.055,2.4),Ce<=.03928?ue=Ce/12.92:ue=Math.pow((Ce+.055)/1.055,2.4),.2126*ie+.7152*le+.0722*ue},$.prototype.getAlpha=function(){return this.a},$.prototype.setAlpha=function(z){return this.a=boundAlpha(z),this.roundA=Math.round(100*this.a)/100,this},$.prototype.isMonochrome=function(){var z=this.toHsl().s;return z===0},$.prototype.toHsv=function(){var z=rgbToHsv(this.r,this.g,this.b);return{h:z.h*360,s:z.s,v:z.v,a:this.a}},$.prototype.toHsvString=function(){var z=rgbToHsv(this.r,this.g,this.b),ie=Math.round(z.h*360),le=Math.round(z.s*100),ue=Math.round(z.v*100);return this.a===1?"hsv(".concat(ie,", ").concat(le,"%, ").concat(ue,"%)"):"hsva(".concat(ie,", ").concat(le,"%, ").concat(ue,"%, ").concat(this.roundA,")")},$.prototype.toHsl=function(){var z=rgbToHsl(this.r,this.g,this.b);return{h:z.h*360,s:z.s,l:z.l,a:this.a}},$.prototype.toHslString=function(){var z=rgbToHsl(this.r,this.g,this.b),ie=Math.round(z.h*360),le=Math.round(z.s*100),ue=Math.round(z.l*100);return this.a===1?"hsl(".concat(ie,", ").concat(le,"%, ").concat(ue,"%)"):"hsla(".concat(ie,", ").concat(le,"%, ").concat(ue,"%, ").concat(this.roundA,")")},$.prototype.toHex=function(z){return z===void 0&&(z=!1),rgbToHex(this.r,this.g,this.b,z)},$.prototype.toHexString=function(z){return z===void 0&&(z=!1),"#"+this.toHex(z)},$.prototype.toHex8=function(z){return z===void 0&&(z=!1),rgbaToHex(this.r,this.g,this.b,this.a,z)},$.prototype.toHex8String=function(z){return z===void 0&&(z=!1),"#"+this.toHex8(z)},$.prototype.toHexShortString=function(z){return z===void 0&&(z=!1),this.a===1?this.toHexString(z):this.toHex8String(z)},$.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},$.prototype.toRgbString=function(){var z=Math.round(this.r),ie=Math.round(this.g),le=Math.round(this.b);return this.a===1?"rgb(".concat(z,", ").concat(ie,", ").concat(le,")"):"rgba(".concat(z,", ").concat(ie,", ").concat(le,", ").concat(this.roundA,")")},$.prototype.toPercentageRgb=function(){var z=function(ie){return"".concat(Math.round(bound01$1(ie,255)*100),"%")};return{r:z(this.r),g:z(this.g),b:z(this.b),a:this.a}},$.prototype.toPercentageRgbString=function(){var z=function(ie){return Math.round(bound01$1(ie,255)*100)};return this.a===1?"rgb(".concat(z(this.r),"%, ").concat(z(this.g),"%, ").concat(z(this.b),"%)"):"rgba(".concat(z(this.r),"%, ").concat(z(this.g),"%, ").concat(z(this.b),"%, ").concat(this.roundA,")")},$.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var z="#"+rgbToHex(this.r,this.g,this.b,!1),ie=0,le=Object.entries(names);ie<le.length;ie++){var ue=le[ie],pe=ue[0],_e=ue[1];if(z===_e)return pe}return!1},$.prototype.toString=function(z){var ie=!!z;z=z??this.format;var le=!1,ue=this.a<1&&this.a>=0,pe=!ie&&ue&&(z.startsWith("hex")||z==="name");return pe?z==="name"&&this.a===0?this.toName():this.toRgbString():(z==="rgb"&&(le=this.toRgbString()),z==="prgb"&&(le=this.toPercentageRgbString()),(z==="hex"||z==="hex6")&&(le=this.toHexString()),z==="hex3"&&(le=this.toHexString(!0)),z==="hex4"&&(le=this.toHex8String(!0)),z==="hex8"&&(le=this.toHex8String()),z==="name"&&(le=this.toName()),z==="hsl"&&(le=this.toHslString()),z==="hsv"&&(le=this.toHsvString()),le||this.toHexString())},$.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},$.prototype.clone=function(){return new $(this.toString())},$.prototype.lighten=function(z){z===void 0&&(z=10);var ie=this.toHsl();return ie.l+=z/100,ie.l=clamp01(ie.l),new $(ie)},$.prototype.brighten=function(z){z===void 0&&(z=10);var ie=this.toRgb();return ie.r=Math.max(0,Math.min(255,ie.r-Math.round(255*-(z/100)))),ie.g=Math.max(0,Math.min(255,ie.g-Math.round(255*-(z/100)))),ie.b=Math.max(0,Math.min(255,ie.b-Math.round(255*-(z/100)))),new $(ie)},$.prototype.darken=function(z){z===void 0&&(z=10);var ie=this.toHsl();return ie.l-=z/100,ie.l=clamp01(ie.l),new $(ie)},$.prototype.tint=function(z){return z===void 0&&(z=10),this.mix("white",z)},$.prototype.shade=function(z){return z===void 0&&(z=10),this.mix("black",z)},$.prototype.desaturate=function(z){z===void 0&&(z=10);var ie=this.toHsl();return ie.s-=z/100,ie.s=clamp01(ie.s),new $(ie)},$.prototype.saturate=function(z){z===void 0&&(z=10);var ie=this.toHsl();return ie.s+=z/100,ie.s=clamp01(ie.s),new $(ie)},$.prototype.greyscale=function(){return this.desaturate(100)},$.prototype.spin=function(z){var ie=this.toHsl(),le=(ie.h+z)%360;return ie.h=le<0?360+le:le,new $(ie)},$.prototype.mix=function(z,ie){ie===void 0&&(ie=50);var le=this.toRgb(),ue=new $(z).toRgb(),pe=ie/100,_e={r:(ue.r-le.r)*pe+le.r,g:(ue.g-le.g)*pe+le.g,b:(ue.b-le.b)*pe+le.b,a:(ue.a-le.a)*pe+le.a};return new $(_e)},$.prototype.analogous=function(z,ie){z===void 0&&(z=6),ie===void 0&&(ie=30);var le=this.toHsl(),ue=360/ie,pe=[this];for(le.h=(le.h-(ue*z>>1)+720)%360;--z;)le.h=(le.h+ue)%360,pe.push(new $(le));return pe},$.prototype.complement=function(){var z=this.toHsl();return z.h=(z.h+180)%360,new $(z)},$.prototype.monochromatic=function(z){z===void 0&&(z=6);for(var ie=this.toHsv(),le=ie.h,ue=ie.s,pe=ie.v,_e=[],Ce=1/z;z--;)_e.push(new $({h:le,s:ue,v:pe})),pe=(pe+Ce)%1;return _e},$.prototype.splitcomplement=function(){var z=this.toHsl(),ie=z.h;return[this,new $({h:(ie+72)%360,s:z.s,l:z.l}),new $({h:(ie+216)%360,s:z.s,l:z.l})]},$.prototype.onBackground=function(z){var ie=this.toRgb(),le=new $(z).toRgb(),ue=ie.a+le.a*(1-ie.a);return new $({r:(ie.r*ie.a+le.r*le.a*(1-ie.a))/ue,g:(ie.g*ie.a+le.g*le.a*(1-ie.a))/ue,b:(ie.b*ie.a+le.b*le.a*(1-ie.a))/ue,a:ue})},$.prototype.triad=function(){return this.polyad(3)},$.prototype.tetrad=function(){return this.polyad(4)},$.prototype.polyad=function(z){for(var ie=this.toHsl(),le=ie.h,ue=[this],pe=360/z,_e=1;_e<z;_e++)ue.push(new $({h:(le+_e*pe)%360,s:ie.s,l:ie.l}));return ue},$.prototype.equals=function(z){return this.toRgbString()===new $(z).toRgbString()},$}();function darken($,z=20){return $.mix("#141414",z).toString()}function useButtonCustomStyle($){const z=useFormDisabled(),ie=useNamespace("button");return computed(()=>{let le={};const ue=$.color;if(ue){const pe=new TinyColor(ue),_e=$.dark?pe.tint(20).toString():darken(pe,20);if($.plain)le=ie.cssVarBlock({"bg-color":$.dark?darken(pe,90):pe.tint(90).toString(),"text-color":ue,"border-color":$.dark?darken(pe,50):pe.tint(50).toString(),"hover-text-color":`var(${ie.cssVarName("color-white")})`,"hover-bg-color":ue,"hover-border-color":ue,"active-bg-color":_e,"active-text-color":`var(${ie.cssVarName("color-white")})`,"active-border-color":_e}),z.value&&(le[ie.cssVarBlockName("disabled-bg-color")]=$.dark?darken(pe,90):pe.tint(90).toString(),le[ie.cssVarBlockName("disabled-text-color")]=$.dark?darken(pe,50):pe.tint(50).toString(),le[ie.cssVarBlockName("disabled-border-color")]=$.dark?darken(pe,80):pe.tint(80).toString());else{const Ce=$.dark?darken(pe,30):pe.tint(30).toString(),$e=pe.isDark()?`var(${ie.cssVarName("color-white")})`:`var(${ie.cssVarName("color-black")})`;if(le=ie.cssVarBlock({"bg-color":ue,"text-color":$e,"border-color":ue,"hover-bg-color":Ce,"hover-text-color":$e,"hover-border-color":Ce,"active-bg-color":_e,"active-border-color":_e}),z.value){const xe=$.dark?darken(pe,50):pe.tint(50).toString();le[ie.cssVarBlockName("disabled-bg-color")]=xe,le[ie.cssVarBlockName("disabled-text-color")]=$.dark?"rgba(255, 255, 255, 0.5)":`var(${ie.cssVarName("color-white")})`,le[ie.cssVarBlockName("disabled-border-color")]=xe}}}return le})}const __default__$1i=defineComponent({name:"ElButton"}),_sfc_main$1Z=defineComponent({...__default__$1i,props:buttonProps,emits:buttonEmits,setup($,{expose:z,emit:ie}){const le=$,ue=useButtonCustomStyle(le),pe=useNamespace("button"),{_ref:_e,_size:Ce,_type:$e,_disabled:xe,_props:Ie,shouldAddSpace:Ve,handleClick:ze}=useButton(le,ie);return z({ref:_e,size:Ce,type:$e,disabled:xe,shouldAddSpace:Ve}),(Ue,qe)=>(openBlock(),createBlock(resolveDynamicComponent(Ue.tag),mergeProps({ref_key:"_ref",ref:_e},unref(Ie),{class:[unref(pe).b(),unref(pe).m(unref($e)),unref(pe).m(unref(Ce)),unref(pe).is("disabled",unref(xe)),unref(pe).is("loading",Ue.loading),unref(pe).is("plain",Ue.plain),unref(pe).is("round",Ue.round),unref(pe).is("circle",Ue.circle),unref(pe).is("text",Ue.text),unref(pe).is("link",Ue.link),unref(pe).is("has-bg",Ue.bg)],style:unref(ue),onClick:unref(ze)}),{default:withCtx(()=>[Ue.loading?(openBlock(),createElementBlock(Fragment,{key:0},[Ue.$slots.loading?renderSlot(Ue.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(pe).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.loadingIcon)))]),_:1},8,["class"]))],64)):Ue.icon||Ue.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[Ue.icon?(openBlock(),createBlock(resolveDynamicComponent(Ue.icon),{key:0})):renderSlot(Ue.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),Ue.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(pe).em("text","expand")]:unref(Ve)})},[renderSlot(Ue.$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($){const z=$;provide(buttonGroupContextKey,reactive({size:toRef$1(z,"size"),type:toRef$1(z,"type")}));const ie=useNamespace("button");return(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(ie).b("group")}`)},[renderSlot(le.$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($){return $&&$.__esModule&&Object.prototype.hasOwnProperty.call($,"default")?$.default:$}function getAugmentedNamespace($){if($.__esModule)return $;var z=$.default;if(typeof z=="function"){var ie=function le(){if(this instanceof le){var ue=[null];ue.push.apply(ue,arguments);var pe=Function.bind.apply(z,ue);return new pe}return z.apply(this,arguments)};ie.prototype=z.prototype}else ie={};return Object.defineProperty(ie,"__esModule",{value:!0}),Object.keys($).forEach(function(le){var ue=Object.getOwnPropertyDescriptor($,le);Object.defineProperty(ie,le,ue.get?ue:{enumerable:!0,get:function(){return $[le]}})}),ie}var dayjs_min={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){var ie=1e3,le=6e4,ue=36e5,pe="millisecond",_e="second",Ce="minute",$e="hour",xe="day",Ie="week",Ve="month",ze="quarter",Ue="year",qe="date",Et="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(An){var In=["th","st","nd","rd"],Fn=An%100;return"["+An+(In[(Fn-20)%10]||In[Fn]||In[0])+"]"}},_n=function(An,In,Fn){var Dn=String(An);return!Dn||Dn.length>=In?An:""+Array(In+1-Dn.length).join(Fn)+An},bn={s:_n,z:function(An){var In=-An.utcOffset(),Fn=Math.abs(In),Dn=Math.floor(Fn/60),On=Fn%60;return(In<=0?"+":"-")+_n(Dn,2,"0")+":"+_n(On,2,"0")},m:function An(In,Fn){if(In.date()<Fn.date())return-An(Fn,In);var Dn=12*(Fn.year()-In.year())+(Fn.month()-In.month()),On=In.clone().add(Dn,Ve),Vn=Fn-On<0,Mn=In.clone().add(Dn+(Vn?-1:1),Ve);return+(-(Dn+(Fn-On)/(Vn?On-Mn:Mn-On))||0)},a:function(An){return An<0?Math.ceil(An)||0:Math.floor(An)},p:function(An){return{M:Ve,y:Ue,w:Ie,d:xe,D:qe,h:$e,m:Ce,s:_e,ms:pe,Q:ze}[An]||String(An||"").toLowerCase().replace(/s$/,"")},u:function(An){return An===void 0}},Cn="en",Sn={};Sn[Cn]=vn;var En=function(An){return An instanceof xn},wn=function An(In,Fn,Dn){var On;if(!In)return Cn;if(typeof In=="string"){var Vn=In.toLowerCase();Sn[Vn]&&(On=Vn),Fn&&(Sn[Vn]=Fn,On=Vn);var Mn=In.split("-");if(!On&&Mn.length>1)return An(Mn[0])}else{var zn=In.name;Sn[zn]=In,On=zn}return!Dn&&On&&(Cn=On),On||!Dn&&Cn},Tn=function(An,In){if(En(An))return An.clone();var Fn=typeof In=="object"?In:{};return Fn.date=An,Fn.args=arguments,new xn(Fn)},kn=bn;kn.l=wn,kn.i=En,kn.w=function(An,In){return Tn(An,{locale:In.$L,utc:In.$u,x:In.$x,$offset:In.$offset})};var xn=function(){function An(Fn){this.$L=wn(Fn.locale,null,!0),this.parse(Fn)}var In=An.prototype;return In.parse=function(Fn){this.$d=function(Dn){var On=Dn.date,Vn=Dn.utc;if(On===null)return new Date(NaN);if(kn.u(On))return new Date;if(On instanceof Date)return new Date(On);if(typeof On=="string"&&!/Z$/i.test(On)){var Mn=On.match(Lt);if(Mn){var zn=Mn[2]-1||0,Kn=(Mn[7]||"0").substring(0,3);return Vn?new Date(Date.UTC(Mn[1],zn,Mn[3]||1,Mn[4]||0,Mn[5]||0,Mn[6]||0,Kn)):new Date(Mn[1],zn,Mn[3]||1,Mn[4]||0,Mn[5]||0,Mn[6]||0,Kn)}}return new Date(On)}(Fn),this.$x=Fn.x||{},this.init()},In.init=function(){var Fn=this.$d;this.$y=Fn.getFullYear(),this.$M=Fn.getMonth(),this.$D=Fn.getDate(),this.$W=Fn.getDay(),this.$H=Fn.getHours(),this.$m=Fn.getMinutes(),this.$s=Fn.getSeconds(),this.$ms=Fn.getMilliseconds()},In.$utils=function(){return kn},In.isValid=function(){return this.$d.toString()!==Et},In.isSame=function(Fn,Dn){var On=Tn(Fn);return this.startOf(Dn)<=On&&On<=this.endOf(Dn)},In.isAfter=function(Fn,Dn){return Tn(Fn)<this.startOf(Dn)},In.isBefore=function(Fn,Dn){return this.endOf(Dn)<Tn(Fn)},In.$g=function(Fn,Dn,On){return kn.u(Fn)?this[Dn]:this.set(On,Fn)},In.unix=function(){return Math.floor(this.valueOf()/1e3)},In.valueOf=function(){return this.$d.getTime()},In.startOf=function(Fn,Dn){var On=this,Vn=!!kn.u(Dn)||Dn,Mn=kn.p(Fn),zn=function(Gn,Wn){var Qn=kn.w(On.$u?Date.UTC(On.$y,Wn,Gn):new Date(On.$y,Wn,Gn),On);return Vn?Qn:Qn.endOf(xe)},Kn=function(Gn,Wn){return kn.w(On.toDate()[Gn].apply(On.toDate("s"),(Vn?[0,0,0,0]:[23,59,59,999]).slice(Wn)),On)},Hn=this.$W,Xn=this.$M,lr=this.$D,yr="set"+(this.$u?"UTC":"");switch(Mn){case Ue:return Vn?zn(1,0):zn(31,11);case Ve:return Vn?zn(1,Xn):zn(0,Xn+1);case Ie:var ir=this.$locale().weekStart||0,Yn=(Hn<ir?Hn+7:Hn)-ir;return zn(Vn?lr-Yn:lr+(6-Yn),Xn);case xe:case qe:return Kn(yr+"Hours",0);case $e:return Kn(yr+"Minutes",1);case Ce:return Kn(yr+"Seconds",2);case _e:return Kn(yr+"Milliseconds",3);default:return this.clone()}},In.endOf=function(Fn){return this.startOf(Fn,!1)},In.$set=function(Fn,Dn){var On,Vn=kn.p(Fn),Mn="set"+(this.$u?"UTC":""),zn=(On={},On[xe]=Mn+"Date",On[qe]=Mn+"Date",On[Ve]=Mn+"Month",On[Ue]=Mn+"FullYear",On[$e]=Mn+"Hours",On[Ce]=Mn+"Minutes",On[_e]=Mn+"Seconds",On[pe]=Mn+"Milliseconds",On)[Vn],Kn=Vn===xe?this.$D+(Dn-this.$W):Dn;if(Vn===Ve||Vn===Ue){var Hn=this.clone().set(qe,1);Hn.$d[zn](Kn),Hn.init(),this.$d=Hn.set(qe,Math.min(this.$D,Hn.daysInMonth())).$d}else zn&&this.$d[zn](Kn);return this.init(),this},In.set=function(Fn,Dn){return this.clone().$set(Fn,Dn)},In.get=function(Fn){return this[kn.p(Fn)]()},In.add=function(Fn,Dn){var On,Vn=this;Fn=Number(Fn);var Mn=kn.p(Dn),zn=function(Xn){var lr=Tn(Vn);return kn.w(lr.date(lr.date()+Math.round(Xn*Fn)),Vn)};if(Mn===Ve)return this.set(Ve,this.$M+Fn);if(Mn===Ue)return this.set(Ue,this.$y+Fn);if(Mn===xe)return zn(1);if(Mn===Ie)return zn(7);var Kn=(On={},On[Ce]=le,On[$e]=ue,On[_e]=ie,On)[Mn]||1,Hn=this.$d.getTime()+Fn*Kn;return kn.w(Hn,this)},In.subtract=function(Fn,Dn){return this.add(-1*Fn,Dn)},In.format=function(Fn){var Dn=this,On=this.$locale();if(!this.isValid())return On.invalidDate||Et;var Vn=Fn||"YYYY-MM-DDTHH:mm:ssZ",Mn=kn.z(this),zn=this.$H,Kn=this.$m,Hn=this.$M,Xn=On.weekdays,lr=On.months,yr=function(Wn,Qn,fr,jn){return Wn&&(Wn[Qn]||Wn(Dn,Vn))||fr[Qn].slice(0,jn)},ir=function(Wn){return kn.s(zn%12||12,Wn,"0")},Yn=On.meridiem||function(Wn,Qn,fr){var jn=Wn<12?"AM":"PM";return fr?jn.toLowerCase():jn},Gn={YY:String(this.$y).slice(-2),YYYY:kn.s(this.$y,4,"0"),M:Hn+1,MM:kn.s(Hn+1,2,"0"),MMM:yr(On.monthsShort,Hn,lr,3),MMMM:yr(lr,Hn),D:this.$D,DD:kn.s(this.$D,2,"0"),d:String(this.$W),dd:yr(On.weekdaysMin,this.$W,Xn,2),ddd:yr(On.weekdaysShort,this.$W,Xn,3),dddd:Xn[this.$W],H:String(zn),HH:kn.s(zn,2,"0"),h:ir(1),hh:ir(2),a:Yn(zn,Kn,!0),A:Yn(zn,Kn,!1),m:String(Kn),mm:kn.s(Kn,2,"0"),s:String(this.$s),ss:kn.s(this.$s,2,"0"),SSS:kn.s(this.$ms,3,"0"),Z:Mn};return Vn.replace(hn,function(Wn,Qn){return Qn||Gn[Wn]||Mn.replace(":","")})},In.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},In.diff=function(Fn,Dn,On){var Vn,Mn=kn.p(Dn),zn=Tn(Fn),Kn=(zn.utcOffset()-this.utcOffset())*le,Hn=this-zn,Xn=kn.m(this,zn);return Xn=(Vn={},Vn[Ue]=Xn/12,Vn[Ve]=Xn,Vn[ze]=Xn/3,Vn[Ie]=(Hn-Kn)/6048e5,Vn[xe]=(Hn-Kn)/864e5,Vn[$e]=Hn/ue,Vn[Ce]=Hn/le,Vn[_e]=Hn/ie,Vn)[Mn]||Hn,On?Xn:kn.a(Xn)},In.daysInMonth=function(){return this.endOf(Ve).$D},In.$locale=function(){return Sn[this.$L]},In.locale=function(Fn,Dn){if(!Fn)return this.$L;var On=this.clone(),Vn=wn(Fn,Dn,!0);return Vn&&(On.$L=Vn),On},In.clone=function(){return kn.w(this.$d,this)},In.toDate=function(){return new Date(this.valueOf())},In.toJSON=function(){return this.isValid()?this.toISOString():null},In.toISOString=function(){return this.$d.toISOString()},In.toString=function(){return this.$d.toUTCString()},An}(),Pn=xn.prototype;return Tn.prototype=Pn,[["$ms",pe],["$s",_e],["$m",Ce],["$H",$e],["$W",xe],["$M",Ve],["$y",Ue],["$D",qe]].forEach(function(An){Pn[An[1]]=function(In){return this.$g(In,An[0],An[1])}}),Tn.extend=function(An,In){return An.$i||(An(In,xn,Tn),An.$i=!0),Tn},Tn.locale=wn,Tn.isDayjs=En,Tn.unix=function(An){return Tn(1e3*An)},Tn.en=Sn[Cn],Tn.Ls=Sn,Tn.p={},Tn})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var customParseFormat$1={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){var ie={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"},le=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ue=/\d\d/,pe=/\d\d?/,_e=/\d*[^-_:/,()\s\d]+/,Ce={},$e=function(Et){return(Et=+Et)+(Et>68?1900:2e3)},xe=function(Et){return function(Lt){this[Et]=+Lt}},Ie=[/[+-]\d\d:?(\d\d)?|Z/,function(Et){(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}(Et)}],Ve=function(Et){var Lt=Ce[Et];return Lt&&(Lt.indexOf?Lt:Lt.s.concat(Lt.f))},ze=function(Et,Lt){var hn,vn=Ce.meridiem;if(vn){for(var _n=1;_n<=24;_n+=1)if(Et.indexOf(vn(_n,0,Lt))>-1){hn=_n>12;break}}else hn=Et===(Lt?"pm":"PM");return hn},Ue={A:[_e,function(Et){this.afternoon=ze(Et,!1)}],a:[_e,function(Et){this.afternoon=ze(Et,!0)}],S:[/\d/,function(Et){this.milliseconds=100*+Et}],SS:[ue,function(Et){this.milliseconds=10*+Et}],SSS:[/\d{3}/,function(Et){this.milliseconds=+Et}],s:[pe,xe("seconds")],ss:[pe,xe("seconds")],m:[pe,xe("minutes")],mm:[pe,xe("minutes")],H:[pe,xe("hours")],h:[pe,xe("hours")],HH:[pe,xe("hours")],hh:[pe,xe("hours")],D:[pe,xe("day")],DD:[ue,xe("day")],Do:[_e,function(Et){var Lt=Ce.ordinal,hn=Et.match(/\d+/);if(this.day=hn[0],Lt)for(var vn=1;vn<=31;vn+=1)Lt(vn).replace(/\[|\]/g,"")===Et&&(this.day=vn)}],M:[pe,xe("month")],MM:[ue,xe("month")],MMM:[_e,function(Et){var Lt=Ve("months"),hn=(Ve("monthsShort")||Lt.map(function(vn){return vn.slice(0,3)})).indexOf(Et)+1;if(hn<1)throw new Error;this.month=hn%12||hn}],MMMM:[_e,function(Et){var Lt=Ve("months").indexOf(Et)+1;if(Lt<1)throw new Error;this.month=Lt%12||Lt}],Y:[/[+-]?\d+/,xe("year")],YY:[ue,function(Et){this.year=$e(Et)}],YYYY:[/\d{4}/,xe("year")],Z:Ie,ZZ:Ie};function qe(Et){var Lt,hn;Lt=Et,hn=Ce&&Ce.formats;for(var vn=(Et=Lt.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Tn,kn,xn){var Pn=xn&&xn.toUpperCase();return kn||hn[xn]||ie[xn]||hn[Pn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(An,In,Fn){return In||Fn.slice(1)})})).match(le),_n=vn.length,bn=0;bn<_n;bn+=1){var Cn=vn[bn],Sn=Ue[Cn],En=Sn&&Sn[0],wn=Sn&&Sn[1];vn[bn]=wn?{regex:En,parser:wn}:Cn.replace(/^\[|\]$/g,"")}return function(Tn){for(var kn={},xn=0,Pn=0;xn<_n;xn+=1){var An=vn[xn];if(typeof An=="string")Pn+=An.length;else{var In=An.regex,Fn=An.parser,Dn=Tn.slice(Pn),On=In.exec(Dn)[0];Fn.call(kn,On),Tn=Tn.replace(On,"")}}return function(Vn){var Mn=Vn.afternoon;if(Mn!==void 0){var zn=Vn.hours;Mn?zn<12&&(Vn.hours+=12):zn===12&&(Vn.hours=0),delete Vn.afternoon}}(kn),kn}}return function(Et,Lt,hn){hn.p.customParseFormat=!0,Et&&Et.parseTwoDigitYear&&($e=Et.parseTwoDigitYear);var vn=Lt.prototype,_n=vn.parse;vn.parse=function(bn){var Cn=bn.date,Sn=bn.utc,En=bn.args;this.$u=Sn;var wn=En[1];if(typeof wn=="string"){var Tn=En[2]===!0,kn=En[3]===!0,xn=Tn||kn,Pn=En[2];kn&&(Pn=En[2]),Ce=this.$locale(),!Tn&&Pn&&(Ce=hn.Ls[Pn]),this.$d=function(Dn,On,Vn){try{if(["x","X"].indexOf(On)>-1)return new Date((On==="X"?1e3:1)*Dn);var Mn=qe(On)(Dn),zn=Mn.year,Kn=Mn.month,Hn=Mn.day,Xn=Mn.hours,lr=Mn.minutes,yr=Mn.seconds,ir=Mn.milliseconds,Yn=Mn.zone,Gn=new Date,Wn=Hn||(zn||Kn?1:Gn.getDate()),Qn=zn||Gn.getFullYear(),fr=0;zn&&!Kn||(fr=Kn>0?Kn-1:Gn.getMonth());var jn=Xn||0,Zn=lr||0,rr=yr||0,mr=ir||0;return Yn?new Date(Date.UTC(Qn,fr,Wn,jn,Zn,rr,mr+60*Yn.offset*1e3)):Vn?new Date(Date.UTC(Qn,fr,Wn,jn,Zn,rr,mr)):new Date(Qn,fr,Wn,jn,Zn,rr,mr)}catch{return new Date("")}}(Cn,wn,Sn),this.init(),Pn&&Pn!==!0&&(this.$L=this.locale(Pn).$L),xn&&Cn!=this.format(wn)&&(this.$d=new Date("")),Ce={}}else if(wn instanceof Array)for(var An=wn.length,In=1;In<=An;In+=1){En[1]=wn[In-1];var Fn=hn.apply(this,En);if(Fn.isValid()){this.$d=Fn.$d,this.$L=Fn.$L,this.init();break}In===An&&(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=($,z)=>[$>0?$-1:void 0,$,$<z?$+1:void 0],rangeArr=$=>Array.from(Array.from({length:$}).keys()),extractDateFormat=$=>$.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=$=>$.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function($,z){const ie=isDate$3($),le=isDate$3(z);return ie&&le?$.getTime()===z.getTime():!ie&&!le?$===z:!1},valueEquals=function($,z){const ie=isArray$c($),le=isArray$c(z);return ie&&le?$.length!==z.length?!1:$.every((ue,pe)=>dateEquals(ue,z[pe])):!ie&&!le?dateEquals($,z):!1},parseDate$1=function($,z,ie){const le=isEmpty(z)||z==="x"?dayjs($).locale(ie):dayjs($,z).locale(ie);return le.isValid()?le:void 0},formatter=function($,z,ie){return isEmpty(z)?$:z==="x"?+$:dayjs($).locale(ie).format(z)},makeList=($,z)=>{var ie;const le=[],ue=z==null?void 0:z();for(let pe=0;pe<$;pe++)le.push((ie=ue==null?void 0:ue.includes(pe))!=null?ie:!1);return le},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($,{expose:z,emit:ie}){const le=$,{lang:ue}=useLocale(),pe=useNamespace("date"),_e=useNamespace("input"),Ce=useNamespace("range"),{form:$e,formItem:xe}=useFormItem(),Ie=inject("ElPopperOptions",{}),Ve=ref(),ze=ref(),Ue=ref(!1),qe=ref(!1),Et=ref(null);let Lt=!1,hn=!1;watch(Ue,Jn=>{Jn?nextTick(()=>{Jn&&(Et.value=le.modelValue)}):(or.value=null,nextTick(()=>{vn(le.modelValue)}))});const vn=(Jn,ar)=>{(ar||!valueEquals(Jn,Et.value))&&(ie("change",Jn),le.validateEvent&&(xe==null||xe.validate("change").catch(Sr=>void 0)))},_n=Jn=>{if(!valueEquals(le.modelValue,Jn)){let ar;isArray$c(Jn)?ar=Jn.map(Sr=>formatter(Sr,le.valueFormat,ue.value)):Jn&&(ar=formatter(Jn,le.valueFormat,ue.value)),ie("update:modelValue",Jn&&ar,ue.value)}},bn=Jn=>{ie("keydown",Jn)},Cn=computed(()=>{if(ze.value){const Jn=Zn.value?ze.value:ze.value.$el;return Array.from(Jn.querySelectorAll("input"))}return[]}),Sn=(Jn,ar,Sr)=>{const Or=Cn.value;Or.length&&(!Sr||Sr==="min"?(Or[0].setSelectionRange(Jn,ar),Or[0].focus()):Sr==="max"&&(Or[1].setSelectionRange(Jn,ar),Or[1].focus()))},En=()=>{Fn(!0,!0),nextTick(()=>{hn=!1})},wn=(Jn="",ar=!1)=>{ar||(hn=!0),Ue.value=ar;let Sr;isArray$c(Jn)?Sr=Jn.map(Or=>Or.toDate()):Sr=Jn&&Jn.toDate(),or.value=null,_n(Sr)},Tn=()=>{qe.value=!0},kn=()=>{ie("visible-change",!0)},xn=Jn=>{(Jn==null?void 0:Jn.key)===EVENT_CODE.esc&&Fn(!0,!0)},Pn=()=>{qe.value=!1,Ue.value=!1,hn=!1,ie("visible-change",!1)},An=()=>{Ue.value=!0},In=()=>{Ue.value=!1},Fn=(Jn=!0,ar=!1)=>{hn=ar;const[Sr,Or]=unref(Cn);let Vr=Sr;!Jn&&Zn.value&&(Vr=Or),Vr&&Vr.focus()},Dn=Jn=>{le.readonly||Mn.value||Ue.value||hn||(Ue.value=!0,ie("focus",Jn))};let On;const Vn=Jn=>{const ar=async()=>{setTimeout(()=>{var Sr;On===ar&&(!((Sr=Ve.value)!=null&&Sr.isFocusInsideContent()&&!Lt)&&Cn.value.filter(Or=>Or.contains(document.activeElement)).length===0&&($r(),Ue.value=!1,ie("blur",Jn),le.validateEvent&&(xe==null||xe.validate("blur").catch(Or=>void 0))),Lt=!1)},0)};On=ar,ar()},Mn=computed(()=>le.disabled||($e==null?void 0:$e.disabled)),zn=computed(()=>{let Jn;if(Gn.value?Nr.value.getDefaultValue&&(Jn=Nr.value.getDefaultValue()):isArray$c(le.modelValue)?Jn=le.modelValue.map(ar=>parseDate$1(ar,le.valueFormat,ue.value)):Jn=parseDate$1(le.modelValue,le.valueFormat,ue.value),Nr.value.getRangeAvailableTime){const ar=Nr.value.getRangeAvailableTime(Jn);isEqual$1(ar,Jn)||(Jn=ar,_n(isArray$c(Jn)?Jn.map(Sr=>Sr.toDate()):Jn.toDate()))}return isArray$c(Jn)&&Jn.some(ar=>!ar)&&(Jn=[]),Jn}),Kn=computed(()=>{if(!Nr.value.panelReady)return"";const Jn=xr(zn.value);return isArray$c(or.value)?[or.value[0]||Jn&&Jn[0]||"",or.value[1]||Jn&&Jn[1]||""]:or.value!==null?or.value:!Xn.value&&Gn.value||!Ue.value&&Gn.value?"":Jn?lr.value?Jn.join(", "):Jn:""}),Hn=computed(()=>le.type.includes("time")),Xn=computed(()=>le.type.startsWith("time")),lr=computed(()=>le.type==="dates"),yr=computed(()=>le.prefixIcon||(Hn.value?clock_default:calendar_default)),ir=ref(!1),Yn=Jn=>{le.readonly||Mn.value||ir.value&&(Jn.stopPropagation(),En(),_n(null),vn(null,!0),ir.value=!1,Ue.value=!1,Nr.value.handleClear&&Nr.value.handleClear())},Gn=computed(()=>{const{modelValue:Jn}=le;return!Jn||isArray$c(Jn)&&!Jn.filter(Boolean).length}),Wn=async Jn=>{var ar;le.readonly||Mn.value||(((ar=Jn.target)==null?void 0:ar.tagName)!=="INPUT"||Cn.value.includes(document.activeElement))&&(Ue.value=!0)},Qn=()=>{le.readonly||Mn.value||!Gn.value&&le.clearable&&(ir.value=!0)},fr=()=>{ir.value=!1},jn=Jn=>{var ar;le.readonly||Mn.value||(((ar=Jn.touches[0].target)==null?void 0:ar.tagName)!=="INPUT"||Cn.value.includes(document.activeElement))&&(Ue.value=!0)},Zn=computed(()=>le.type.includes("range")),rr=useFormSize(),mr=computed(()=>{var Jn,ar;return(ar=(Jn=unref(Ve))==null?void 0:Jn.popperRef)==null?void 0:ar.contentRef}),_r=computed(()=>{var Jn;return unref(Zn)?unref(ze):(Jn=unref(ze))==null?void 0:Jn.$el});onClickOutside$1(_r,Jn=>{const ar=unref(mr),Sr=unref(_r);ar&&(Jn.target===ar||Jn.composedPath().includes(ar))||Jn.target===Sr||Jn.composedPath().includes(Sr)||(Ue.value=!1)});const or=ref(null),$r=()=>{if(or.value){const Jn=gr(Kn.value);Jn&&pr(Jn)&&(_n(isArray$c(Jn)?Jn.map(ar=>ar.toDate()):Jn.toDate()),or.value=null)}or.value===""&&(_n(null),vn(null),or.value=null)},gr=Jn=>Jn?Nr.value.parseUserInput(Jn):null,xr=Jn=>Jn?Nr.value.formatToString(Jn):null,pr=Jn=>Nr.value.isValidValue(Jn),sr=async Jn=>{if(le.readonly||Mn.value)return;const{code:ar}=Jn;if(bn(Jn),ar===EVENT_CODE.esc){Ue.value===!0&&(Ue.value=!1,Jn.preventDefault(),Jn.stopPropagation());return}if(ar===EVENT_CODE.down&&(Nr.value.handleFocusPicker&&(Jn.preventDefault(),Jn.stopPropagation()),Ue.value===!1&&(Ue.value=!0,await nextTick()),Nr.value.handleFocusPicker)){Nr.value.handleFocusPicker();return}if(ar===EVENT_CODE.tab){Lt=!0;return}if(ar===EVENT_CODE.enter||ar===EVENT_CODE.numpadEnter){(or.value===null||or.value===""||pr(gr(Kn.value)))&&($r(),Ue.value=!1),Jn.stopPropagation();return}if(or.value){Jn.stopPropagation();return}Nr.value.handleKeydownInput&&Nr.value.handleKeydownInput(Jn)},cr=Jn=>{or.value=Jn,Ue.value||(Ue.value=!0)},hr=Jn=>{const ar=Jn.target;or.value?or.value=[ar.value,or.value[1]]:or.value=[ar.value,null]},Pr=Jn=>{const ar=Jn.target;or.value?or.value=[or.value[0],ar.value]:or.value=[null,ar.value]},Dr=()=>{var Jn;const ar=or.value,Sr=gr(ar&&ar[0]),Or=unref(zn);if(Sr&&Sr.isValid()){or.value=[xr(Sr),((Jn=Kn.value)==null?void 0:Jn[1])||null];const Vr=[Sr,Or&&(Or[1]||null)];pr(Vr)&&(_n(Vr),or.value=null)}},Lr=()=>{var Jn;const ar=unref(or),Sr=gr(ar&&ar[1]),Or=unref(zn);if(Sr&&Sr.isValid()){or.value=[((Jn=unref(Kn))==null?void 0:Jn[0])||null,xr(Sr)];const Vr=[Or&&Or[0],Sr];pr(Vr)&&(_n(Vr),or.value=null)}},Nr=ref({}),br=Jn=>{Nr.value[Jn[0]]=Jn[1],Nr.value.panelReady=!0},Tr=Jn=>{ie("calendar-change",Jn)},ur=(Jn,ar,Sr)=>{ie("panel-change",Jn,ar,Sr)};return provide("EP_PICKER_BASE",{props:le}),z({focus:Fn,handleFocusInput:Dn,handleBlurInput:Vn,handleOpen:An,handleClose:In,onPick:wn}),(Jn,ar)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:Ve,visible:Ue.value,effect:"light",pure:"",trigger:"click"},Jn.$attrs,{role:"dialog",teleported:"",transition:`${unref(pe).namespace.value}-zoom-in-top`,"popper-class":[`${unref(pe).namespace.value}-picker__popper`,Jn.popperClass],"popper-options":unref(Ie),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Tn,onShow:kn,onHide:Pn}),{default:withCtx(()=>[unref(Zn)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:ze,class:normalizeClass([unref(pe).b("editor"),unref(pe).bm("editor",Jn.type),unref(_e).e("wrapper"),unref(pe).is("disabled",unref(Mn)),unref(pe).is("active",Ue.value),unref(Ce).b("editor"),unref(rr)?unref(Ce).bm("editor",unref(rr)):"",Jn.$attrs.class]),style:normalizeStyle$1(Jn.$attrs.style),onClick:Dn,onMouseenter:Qn,onMouseleave:fr,onTouchstart:jn,onKeydown:sr},[unref(yr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(_e).e("icon"),unref(Ce).e("icon")]),onMousedown:withModifiers(Wn,["prevent"]),onTouchstart:jn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(yr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:Jn.id&&Jn.id[0],autocomplete:"off",name:Jn.name&&Jn.name[0],placeholder:Jn.startPlaceholder,value:unref(Kn)&&unref(Kn)[0],disabled:unref(Mn),readonly:!Jn.editable||Jn.readonly,class:normalizeClass(unref(Ce).b("input")),onMousedown:Wn,onInput:hr,onChange:Dr,onFocus:Dn,onBlur:Vn},null,42,_hoisted_1$_),renderSlot(Jn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(Ce).b("separator"))},toDisplayString$1(Jn.rangeSeparator),3)]),createBaseVNode("input",{id:Jn.id&&Jn.id[1],autocomplete:"off",name:Jn.name&&Jn.name[1],placeholder:Jn.endPlaceholder,value:unref(Kn)&&unref(Kn)[1],disabled:unref(Mn),readonly:!Jn.editable||Jn.readonly,class:normalizeClass(unref(Ce).b("input")),onMousedown:Wn,onFocus:Dn,onBlur:Vn,onInput:Pr,onChange:Lr},null,42,_hoisted_2$F),Jn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(_e).e("icon"),unref(Ce).e("close-icon"),{[unref(Ce).e("close-icon--hidden")]:!ir.value}]),onClick:Yn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Jn.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:Jn.id,ref_key:"inputRef",ref:ze,"container-role":"combobox","model-value":unref(Kn),name:Jn.name,size:unref(rr),disabled:unref(Mn),placeholder:Jn.placeholder,class:normalizeClass([unref(pe).b("editor"),unref(pe).bm("editor",Jn.type),Jn.$attrs.class]),style:normalizeStyle$1(Jn.$attrs.style),readonly:!Jn.editable||Jn.readonly||unref(lr)||Jn.type==="week",label:Jn.label,tabindex:Jn.tabindex,"validate-event":!1,onInput:cr,onFocus:Dn,onBlur:Vn,onKeydown:sr,onChange:$r,onMousedown:Wn,onMouseenter:Qn,onMouseleave:fr,onTouchstart:jn,onClick:ar[0]||(ar[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(yr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(_e).e("icon")),onMousedown:withModifiers(Wn,["prevent"]),onTouchstart:jn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(yr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[ir.value&&Jn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(_e).e("icon")} clear-icon`),onClick:withModifiers(Yn,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Jn.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(Jn.$slots,"default",{visible:Ue.value,actualVisible:qe.value,parsedValue:unref(zn),format:Jn.format,unlinkPanels:Jn.unlinkPanels,type:Jn.type,defaultValue:Jn.defaultValue,onPick:wn,onSelectRange:Sn,onSetPickerOption:br,onCalendarChange:Tr,onPanelChange:ur,onKeydown:xn,onMousedown:ar[1]||(ar[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:$,getAvailableMinutes:z,getAvailableSeconds:ie})=>{const le=(_e,Ce,$e,xe)=>{const Ie={hour:$,minute:z,second:ie};let Ve=_e;return["hour","minute","second"].forEach(ze=>{if(Ie[ze]){let Ue;const qe=Ie[ze];switch(ze){case"minute":{Ue=qe(Ve.hour(),Ce,xe);break}case"second":{Ue=qe(Ve.hour(),Ve.minute(),Ce,xe);break}default:{Ue=qe(Ce,xe);break}}if(Ue!=null&&Ue.length&&!Ue.includes(Ve[ze]())){const Et=$e?0:Ue.length-1;Ve=Ve[ze](Ue[Et])}}}),Ve},ue={};return{timePickerOptions:ue,getAvailableTime:le,onSetOption:([_e,Ce])=>{ue[_e]=Ce}}},makeAvailableArr=$=>{const z=(le,ue)=>le||ue,ie=le=>le!==!0;return $.map(z).filter(ie)},getTimeLists=($,z,ie)=>({getHoursList:(_e,Ce)=>makeList(24,$&&(()=>$==null?void 0:$(_e,Ce))),getMinutesList:(_e,Ce,$e)=>makeList(60,z&&(()=>z==null?void 0:z(_e,Ce,$e))),getSecondsList:(_e,Ce,$e,xe)=>makeList(60,ie&&(()=>ie==null?void 0:ie(_e,Ce,$e,xe)))}),buildAvailableTimeSlotGetter=($,z,ie)=>{const{getHoursList:le,getMinutesList:ue,getSecondsList:pe}=getTimeLists($,z,ie);return{getAvailableHours:(xe,Ie)=>makeAvailableArr(le(xe,Ie)),getAvailableMinutes:(xe,Ie,Ve)=>makeAvailableArr(ue(xe,Ie,Ve)),getAvailableSeconds:(xe,Ie,Ve,ze)=>makeAvailableArr(pe(xe,Ie,Ve,ze))}},useOldValue=$=>{const z=ref($.parsedValue);return watch(()=>$.visible,ie=>{ie||(z.value=$.parsedValue)}),z},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",$=>startClick=$),document.addEventListener("mouseup",$=>{for(const z of nodeList.values())for(const{documentHandler:ie}of z)ie($,startClick)}));function createDocumentHandler($,z){let ie=[];return Array.isArray(z.arg)?ie=z.arg:isElement$2(z.arg)&&ie.push(z.arg),function(le,ue){const pe=z.instance.popperRef,_e=le.target,Ce=ue==null?void 0:ue.target,$e=!z||!z.instance,xe=!_e||!Ce,Ie=$.contains(_e)||$.contains(Ce),Ve=$===_e,ze=ie.length&&ie.some(qe=>qe==null?void 0:qe.contains(_e))||ie.length&&ie.includes(Ce),Ue=pe&&(pe.contains(_e)||pe.contains(Ce));$e||xe||Ie||Ve||ze||Ue||z.value(le,ue)}}const ClickOutside={beforeMount($,z){nodeList.has($)||nodeList.set($,[]),nodeList.get($).push({documentHandler:createDocumentHandler($,z),bindingFn:z.value})},updated($,z){nodeList.has($)||nodeList.set($,[]);const ie=nodeList.get($),le=ie.findIndex(pe=>pe.bindingFn===z.oldValue),ue={documentHandler:createDocumentHandler($,z),bindingFn:z.value};le>=0?ie.splice(le,1,ue):ie.push(ue)},unmounted($){nodeList.delete($)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount($,z){const ie=z.value,{interval:le=REPEAT_INTERVAL,delay:ue=REPEAT_DELAY}=isFunction$5(ie)?{}:ie;let pe,_e;const Ce=()=>isFunction$5(ie)?ie():ie.handler(),$e=()=>{_e&&(clearTimeout(_e),_e=void 0),pe&&(clearInterval(pe),pe=void 0)};$.addEventListener("mousedown",xe=>{xe.button===0&&($e(),Ce(),document.addEventListener("mouseup",()=>$e(),{once:!0}),_e=setTimeout(()=>{pe=setInterval(()=>{Ce()},le)},ue))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=$=>{if(FOCUS_STACK.length===0)return;const z=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(z.length>0&&$.code===EVENT_CODE.tab){if(z.length===1){$.preventDefault(),document.activeElement!==z[0]&&z[0].focus();return}const ie=$.shiftKey,le=$.target===z[0],ue=$.target===z[z.length-1];le&&ie&&($.preventDefault(),z[z.length-1].focus()),ue&&!ie&&($.preventDefault(),z[0].focus())}},TrapFocus={beforeMount($){$[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1($),FOCUS_STACK.push($),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated($){nextTick(()=>{$[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1($)})},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,l,p$1,m$3,w,D,x,E,M$1,F;function a$1(){if(!v){v=!0;var $=navigator.userAgent,z=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec($),ie=/(Mac OS X)|(Windows)|(Linux)/.exec($);if(x=/\b(iPhone|iP[ao]d)/.exec($),E=/\b(iP[ao]d)/.exec($),w=/Android/i.exec($),M$1=/FBAN\/\w+;/i.exec($),F=/Mobile/i.exec($),D=!!/Win64/.exec($),z){o=z[1]?parseFloat(z[1]):z[5]?parseFloat(z[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var le=/(?:Trident\/(\d+.\d+))/.exec($);N=le?parseFloat(le[1])+4:o,f$1=z[2]?parseFloat(z[2]):NaN,s=z[3]?parseFloat(z[3]):NaN,u$1=z[4]?parseFloat(z[4]):NaN,u$1?(z=/(?:Chrome\/(\d+\.\d+))/.exec($),d$1=z&&z[1]?parseFloat(z[1]):NaN):d$1=NaN}else o=f$1=s=d$1=u$1=NaN;if(ie){if(ie[1]){var ue=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec($);l=ue?parseFloat(ue[1].replace("_",".")):!0}else l=!1;p$1=!!ie[2],m$3=!!ie[3]}else l=p$1=m$3=!1}}var _$2={ie:function(){return a$1()||o},ieCompatibilityMode:function(){return a$1()||N>o},ie64:function(){return _$2.ie()&&D},firefox:function(){return a$1()||f$1},opera:function(){return a$1()||s},webkit:function(){return a$1()||u$1},safari:function(){return _$2.webkit()},chrome:function(){return a$1()||d$1},windows:function(){return a$1()||p$1},osx:function(){return a$1()||l},linux:function(){return a$1()||m$3},iphone:function(){return a$1()||x},mobile:function(){return a$1()||x||E||w||F},nativeApp:function(){return a$1()||M$1},android:function(){return a$1()||w},ipad:function(){return a$1()||E}},A=_$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($,z){if(!h$1.canUseDOM||z&&!("addEventListener"in document))return!1;var ie="on"+$,le=ie in document;if(!le){var ue=document.createElement("div");ue.setAttribute(ie,"return;"),le=typeof ue[ie]=="function"}return!le&&X&&$==="wheel"&&(le=document.implementation.hasFeature("Events.wheel","3.0")),le}var b$1=S,O$1=10,I$1=40,P$2=800;function T($){var z=0,ie=0,le=0,ue=0;return"detail"in $&&(ie=$.detail),"wheelDelta"in $&&(ie=-$.wheelDelta/120),"wheelDeltaY"in $&&(ie=-$.wheelDeltaY/120),"wheelDeltaX"in $&&(z=-$.wheelDeltaX/120),"axis"in $&&$.axis===$.HORIZONTAL_AXIS&&(z=ie,ie=0),le=z*O$1,ue=ie*O$1,"deltaY"in $&&(ue=$.deltaY),"deltaX"in $&&(le=$.deltaX),(le||ue)&&$.deltaMode&&($.deltaMode==1?(le*=I$1,ue*=I$1):(le*=P$2,ue*=P$2)),le&&!z&&(z=le<1?-1:1),ue&&!ie&&(ie=ue<1?-1:1),{spinX:z,spinY:ie,pixelX:le,pixelY:ue}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b$1("wheel")?"wheel":"mousewheel"};var Y$1=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($,z){if($&&$.addEventListener){const ie=function(le){const ue=Y$1(le);z&&Reflect.apply(z,this,[le,ue])};$.addEventListener("wheel",ie,{passive:!0})}},Mousewheel={beforeMount($,z){mousewheel($,z.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($,{emit:z}){const ie=$,le=useNamespace("time"),{getHoursList:ue,getMinutesList:pe,getSecondsList:_e}=getTimeLists(ie.disabledHours,ie.disabledMinutes,ie.disabledSeconds);let Ce=!1;const $e=ref(),xe=ref(),Ie=ref(),Ve=ref(),ze={hours:xe,minutes:Ie,seconds:Ve},Ue=computed(()=>ie.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),qe=computed(()=>{const{spinnerDate:Mn}=ie,zn=Mn.hour(),Kn=Mn.minute(),Hn=Mn.second();return{hours:zn,minutes:Kn,seconds:Hn}}),Et=computed(()=>{const{hours:Mn,minutes:zn}=unref(qe);return{hours:ue(ie.role),minutes:pe(Mn,ie.role),seconds:_e(Mn,zn,ie.role)}}),Lt=computed(()=>{const{hours:Mn,minutes:zn,seconds:Kn}=unref(qe);return{hours:buildTimeList(Mn,23),minutes:buildTimeList(zn,59),seconds:buildTimeList(Kn,59)}}),hn=debounce(Mn=>{Ce=!1,bn(Mn)},200),vn=Mn=>{if(!!!ie.amPmMode)return"";const Kn=ie.amPmMode==="A";let Hn=Mn<12?" am":" pm";return Kn&&(Hn=Hn.toUpperCase()),Hn},_n=Mn=>{let zn;switch(Mn){case"hours":zn=[0,2];break;case"minutes":zn=[3,5];break;case"seconds":zn=[6,8];break}const[Kn,Hn]=zn;z("select-range",Kn,Hn),$e.value=Mn},bn=Mn=>{En(Mn,unref(qe)[Mn])},Cn=()=>{bn("hours"),bn("minutes"),bn("seconds")},Sn=Mn=>Mn.querySelector(`.${le.namespace.value}-scrollbar__wrap`),En=(Mn,zn)=>{if(ie.arrowControl)return;const Kn=unref(ze[Mn]);Kn&&Kn.$el&&(Sn(Kn.$el).scrollTop=Math.max(0,zn*wn(Mn)))},wn=Mn=>{const zn=unref(ze[Mn]);return(zn==null?void 0:zn.$el.querySelector("li").offsetHeight)||0},Tn=()=>{xn(1)},kn=()=>{xn(-1)},xn=Mn=>{$e.value||_n("hours");const zn=$e.value,Kn=unref(qe)[zn],Hn=$e.value==="hours"?24:60,Xn=Pn(zn,Kn,Mn,Hn);An(zn,Xn),En(zn,Xn),nextTick(()=>_n(zn))},Pn=(Mn,zn,Kn,Hn)=>{let Xn=(zn+Kn+Hn)%Hn;const lr=unref(Et)[Mn];for(;lr[Xn]&&Xn!==zn;)Xn=(Xn+Kn+Hn)%Hn;return Xn},An=(Mn,zn)=>{if(unref(Et)[Mn][zn])return;const{hours:Xn,minutes:lr,seconds:yr}=unref(qe);let ir;switch(Mn){case"hours":ir=ie.spinnerDate.hour(zn).minute(lr).second(yr);break;case"minutes":ir=ie.spinnerDate.hour(Xn).minute(zn).second(yr);break;case"seconds":ir=ie.spinnerDate.hour(Xn).minute(lr).second(zn);break}z("change",ir)},In=(Mn,{value:zn,disabled:Kn})=>{Kn||(An(Mn,zn),_n(Mn),En(Mn,zn))},Fn=Mn=>{Ce=!0,hn(Mn);const zn=Math.min(Math.round((Sn(unref(ze[Mn]).$el).scrollTop-(Dn(Mn)*.5-10)/wn(Mn)+3)/wn(Mn)),Mn==="hours"?23:59);An(Mn,zn)},Dn=Mn=>unref(ze[Mn]).$el.offsetHeight,On=()=>{const Mn=zn=>{const Kn=unref(ze[zn]);Kn&&Kn.$el&&(Sn(Kn.$el).onscroll=()=>{Fn(zn)})};Mn("hours"),Mn("minutes"),Mn("seconds")};onMounted(()=>{nextTick(()=>{!ie.arrowControl&&On(),Cn(),ie.role==="start"&&_n("hours")})});const Vn=(Mn,zn)=>{ze[zn].value=Mn};return z("set-option",[`${ie.role}_scrollDown`,xn]),z("set-option",[`${ie.role}_emitSelectRange`,_n]),watch(()=>ie.spinnerDate,()=>{Ce||Cn()}),(Mn,zn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b("spinner"),{"has-seconds":Mn.showSeconds}])},[Mn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(Ue),Kn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Kn,ref_for:!0,ref:Hn=>Vn(Hn,Kn),class:normalizeClass(unref(le).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(le).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Hn=>_n(Kn),onMousemove:Hn=>bn(Kn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Et)[Kn],(Hn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(le).be("spinner","item"),unref(le).is("active",Xn===unref(qe)[Kn]),unref(le).is("disabled",Hn)]),onClick:lr=>In(Kn,{value:Xn,disabled:Hn})},[Kn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Mn.amPmMode?Xn%12||12:Xn)).slice(-2))+toDisplayString$1(vn(Xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Xn).slice(-2)),1)],64))],10,_hoisted_1$Z))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),Mn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Ue),Kn=>(openBlock(),createElementBlock("div",{key:Kn,class:normalizeClass([unref(le).be("spinner","wrapper"),unref(le).is("arrow")]),onMouseenter:Hn=>_n(Kn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(le).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(le).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Tn]]),createBaseVNode("ul",{class:normalizeClass(unref(le).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Lt)[Kn],(Hn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(le).be("spinner","item"),unref(le).is("active",Hn===unref(qe)[Kn]),unref(le).is("disabled",unref(Et)[Kn][Hn])])},[typeof Hn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Kn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Mn.amPmMode?Hn%12||12:Hn)).slice(-2))+toDisplayString$1(vn(Hn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Hn).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($,{emit:z}){const ie=$,le=inject("EP_PICKER_BASE"),{arrowControl:ue,disabledHours:pe,disabledMinutes:_e,disabledSeconds:Ce,defaultValue:$e}=le.props,{getAvailableHours:xe,getAvailableMinutes:Ie,getAvailableSeconds:Ve}=buildAvailableTimeSlotGetter(pe,_e,Ce),ze=useNamespace("time"),{t:Ue,lang:qe}=useLocale(),Et=ref([0,2]),Lt=useOldValue(ie),hn=computed(()=>isUndefined$1(ie.actualVisible)?`${ze.namespace.value}-zoom-in-top`:""),vn=computed(()=>ie.format.includes("ss")),_n=computed(()=>ie.format.includes("A")?"A":ie.format.includes("a")?"a":""),bn=Vn=>{const Mn=dayjs(Vn).locale(qe.value),zn=In(Mn);return Mn.isSame(zn)},Cn=()=>{z("pick",Lt.value,!1)},Sn=(Vn=!1,Mn=!1)=>{Mn||z("pick",ie.parsedValue,Vn)},En=Vn=>{if(!ie.visible)return;const Mn=In(Vn).millisecond(0);z("pick",Mn,!0)},wn=(Vn,Mn)=>{z("select-range",Vn,Mn),Et.value=[Vn,Mn]},Tn=Vn=>{const Mn=[0,3].concat(vn.value?[6]:[]),zn=["hours","minutes"].concat(vn.value?["seconds"]:[]),Hn=(Mn.indexOf(Et.value[0])+Vn+Mn.length)%Mn.length;xn.start_emitSelectRange(zn[Hn])},kn=Vn=>{const Mn=Vn.code,{left:zn,right:Kn,up:Hn,down:Xn}=EVENT_CODE;if([zn,Kn].includes(Mn)){Tn(Mn===zn?-1:1),Vn.preventDefault();return}if([Hn,Xn].includes(Mn)){const lr=Mn===Hn?-1:1;xn.start_scrollDown(lr),Vn.preventDefault();return}},{timePickerOptions:xn,onSetOption:Pn,getAvailableTime:An}=useTimePanel({getAvailableHours:xe,getAvailableMinutes:Ie,getAvailableSeconds:Ve}),In=Vn=>An(Vn,ie.datetimeRole||"",!0),Fn=Vn=>Vn?dayjs(Vn,ie.format).locale(qe.value):null,Dn=Vn=>Vn?Vn.format(ie.format):null,On=()=>dayjs($e).locale(qe.value);return z("set-picker-option",["isValidValue",bn]),z("set-picker-option",["formatToString",Dn]),z("set-picker-option",["parseUserInput",Fn]),z("set-picker-option",["handleKeydownInput",kn]),z("set-picker-option",["getRangeAvailableTime",In]),z("set-picker-option",["getDefaultValue",On]),(Vn,Mn)=>(openBlock(),createBlock(Transition,{name:unref(hn)},{default:withCtx(()=>[Vn.actualVisible||Vn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ze).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(ze).be("panel","content"),{"has-seconds":unref(vn)}])},[createVNode(TimeSpinner,{ref:"spinner",role:Vn.datetimeRole||"start","arrow-control":unref(ue),"show-seconds":unref(vn),"am-pm-mode":unref(_n),"spinner-date":Vn.parsedValue,"disabled-hours":unref(pe),"disabled-minutes":unref(_e),"disabled-seconds":unref(Ce),onChange:En,onSetOption:unref(Pn),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(ze).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(ze).be("panel","btn"),"cancel"]),onClick:Cn},toDisplayString$1(unref(Ue)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(ze).be("panel","btn"),"confirm"]),onClick:Mn[0]||(Mn[0]=zn=>Sn())},toDisplayString$1(unref(Ue)("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($,{emit:z}){const ie=$,le=(Wn,Qn)=>{const fr=[];for(let jn=Wn;jn<=Qn;jn++)fr.push(jn);return fr},{t:ue,lang:pe}=useLocale(),_e=useNamespace("time"),Ce=useNamespace("picker"),$e=inject("EP_PICKER_BASE"),{arrowControl:xe,disabledHours:Ie,disabledMinutes:Ve,disabledSeconds:ze,defaultValue:Ue}=$e.props,qe=computed(()=>ie.parsedValue[0]),Et=computed(()=>ie.parsedValue[1]),Lt=useOldValue(ie),hn=()=>{z("pick",Lt.value,!1)},vn=computed(()=>ie.format.includes("ss")),_n=computed(()=>ie.format.includes("A")?"A":ie.format.includes("a")?"a":""),bn=(Wn=!1)=>{z("pick",[qe.value,Et.value],Wn)},Cn=Wn=>{wn(Wn.millisecond(0),Et.value)},Sn=Wn=>{wn(qe.value,Wn.millisecond(0))},En=Wn=>{const Qn=Wn.map(jn=>dayjs(jn).locale(pe.value)),fr=Mn(Qn);return Qn[0].isSame(fr[0])&&Qn[1].isSame(fr[1])},wn=(Wn,Qn)=>{z("pick",[Wn,Qn],!0)},Tn=computed(()=>qe.value>Et.value),kn=ref([0,2]),xn=(Wn,Qn)=>{z("select-range",Wn,Qn,"min"),kn.value=[Wn,Qn]},Pn=computed(()=>vn.value?11:8),An=(Wn,Qn)=>{z("select-range",Wn,Qn,"max");const fr=unref(Pn);kn.value=[Wn+fr,Qn+fr]},In=Wn=>{const Qn=vn.value?[0,3,6,11,14,17]:[0,3,8,11],fr=["hours","minutes"].concat(vn.value?["seconds"]:[]),Zn=(Qn.indexOf(kn.value[0])+Wn+Qn.length)%Qn.length,rr=Qn.length/2;Zn<rr?Xn.start_emitSelectRange(fr[Zn]):Xn.end_emitSelectRange(fr[Zn-rr])},Fn=Wn=>{const Qn=Wn.code,{left:fr,right:jn,up:Zn,down:rr}=EVENT_CODE;if([fr,jn].includes(Qn)){In(Qn===fr?-1:1),Wn.preventDefault();return}if([Zn,rr].includes(Qn)){const mr=Qn===Zn?-1:1,_r=kn.value[0]<Pn.value?"start":"end";Xn[`${_r}_scrollDown`](mr),Wn.preventDefault();return}},Dn=(Wn,Qn)=>{const fr=Ie?Ie(Wn):[],jn=Wn==="start",rr=(Qn||(jn?Et.value:qe.value)).hour(),mr=jn?le(rr+1,23):le(0,rr-1);return union$1(fr,mr)},On=(Wn,Qn,fr)=>{const jn=Ve?Ve(Wn,Qn):[],Zn=Qn==="start",rr=fr||(Zn?Et.value:qe.value),mr=rr.hour();if(Wn!==mr)return jn;const _r=rr.minute(),or=Zn?le(_r+1,59):le(0,_r-1);return union$1(jn,or)},Vn=(Wn,Qn,fr,jn)=>{const Zn=ze?ze(Wn,Qn,fr):[],rr=fr==="start",mr=jn||(rr?Et.value:qe.value),_r=mr.hour(),or=mr.minute();if(Wn!==_r||Qn!==or)return Zn;const $r=mr.second(),gr=rr?le($r+1,59):le(0,$r-1);return union$1(Zn,gr)},Mn=([Wn,Qn])=>[lr(Wn,"start",!0,Qn),lr(Qn,"end",!1,Wn)],{getAvailableHours:zn,getAvailableMinutes:Kn,getAvailableSeconds:Hn}=buildAvailableTimeSlotGetter(Dn,On,Vn),{timePickerOptions:Xn,getAvailableTime:lr,onSetOption:yr}=useTimePanel({getAvailableHours:zn,getAvailableMinutes:Kn,getAvailableSeconds:Hn}),ir=Wn=>Wn?isArray$c(Wn)?Wn.map(Qn=>dayjs(Qn,ie.format).locale(pe.value)):dayjs(Wn,ie.format).locale(pe.value):null,Yn=Wn=>Wn?isArray$c(Wn)?Wn.map(Qn=>Qn.format(ie.format)):Wn.format(ie.format):null,Gn=()=>{if(isArray$c(Ue))return Ue.map(Qn=>dayjs(Qn).locale(pe.value));const Wn=dayjs(Ue).locale(pe.value);return[Wn,Wn.add(60,"m")]};return z("set-picker-option",["formatToString",Yn]),z("set-picker-option",["parseUserInput",ir]),z("set-picker-option",["isValidValue",En]),z("set-picker-option",["handleKeydownInput",Fn]),z("set-picker-option",["getDefaultValue",Gn]),z("set-picker-option",["getRangeAvailableTime",Mn]),(Wn,Qn)=>Wn.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(_e).b("range-picker"),unref(Ce).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(_e).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(_e).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(_e).be("range-picker","header"))},toDisplayString$1(unref(ue)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass([unref(_e).be("range-picker","body"),unref(_e).be("panel","content"),unref(_e).is("arrow",unref(xe)),{"has-seconds":unref(vn)}])},[createVNode(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(vn),"am-pm-mode":unref(_n),"arrow-control":unref(xe),"spinner-date":unref(qe),"disabled-hours":Dn,"disabled-minutes":On,"disabled-seconds":Vn,onChange:Cn,onSetOption:unref(yr),onSelectRange:xn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(_e).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(_e).be("range-picker","header"))},toDisplayString$1(unref(ue)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass([unref(_e).be("range-picker","body"),unref(_e).be("panel","content"),unref(_e).is("arrow",unref(xe)),{"has-seconds":unref(vn)}])},[createVNode(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(vn),"am-pm-mode":unref(_n),"arrow-control":unref(xe),"spinner-date":unref(Et),"disabled-hours":Dn,"disabled-minutes":On,"disabled-seconds":Vn,onChange:Sn,onSetOption:unref(yr),onSelectRange:An},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(_e).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(_e).be("panel","btn"),"cancel"]),onClick:Qn[0]||(Qn[0]=fr=>hn())},toDisplayString$1(unref(ue)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(_e).be("panel","btn"),"confirm"]),disabled:unref(Tn),onClick:Qn[1]||(Qn[1]=fr=>bn())},toDisplayString$1(unref(ue)("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($,z){const ie=ref(),[le,ue]=$.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],pe=_e=>z.emit("update:modelValue",_e);return provide("ElPopperOptions",$.popperOptions),z.expose({focus:_e=>{var Ce;(Ce=ie.value)==null||Ce.handleFocusInput(_e)},blur:_e=>{var Ce;(Ce=ie.value)==null||Ce.handleBlurInput(_e)},handleOpen:()=>{var _e;(_e=ie.value)==null||_e.handleOpen()},handleClose:()=>{var _e;(_e=ie.value)==null||_e.handleClose()}}),()=>{var _e;const Ce=(_e=$.format)!=null?_e:DEFAULT_FORMATS_TIME;return createVNode(CommonPicker,mergeProps($,{ref:ie,type:le,format:Ce,"onUpdate:modelValue":pe}),{default:$e=>createVNode(ue,$e,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=$=>{$.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=($,z)=>{const ie=$.subtract(1,"month").endOf("month").date();return rangeArr(z).map((le,ue)=>ie-(z-ue-1))},getMonthDays=$=>{const z=$.daysInMonth();return rangeArr(z).map((ie,le)=>le+1)},toNestedArr=$=>rangeArr($.length/7).map(z=>{const ie=z*7;return $.slice(ie,ie+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:$=>isObject$9($)};var localeData$1={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){return function(ie,le,ue){var pe=le.prototype,_e=function(Ve){return Ve&&(Ve.indexOf?Ve:Ve.s)},Ce=function(Ve,ze,Ue,qe,Et){var Lt=Ve.name?Ve:Ve.$locale(),hn=_e(Lt[ze]),vn=_e(Lt[Ue]),_n=hn||vn.map(function(Cn){return Cn.slice(0,qe)});if(!Et)return _n;var bn=Lt.weekStart;return _n.map(function(Cn,Sn){return _n[(Sn+(bn||0))%7]})},$e=function(){return ue.Ls[ue.locale()]},xe=function(Ve,ze){return Ve.formats[ze]||function(Ue){return Ue.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(qe,Et,Lt){return Et||Lt.slice(1)})}(Ve.formats[ze.toUpperCase()])},Ie=function(){var Ve=this;return{months:function(ze){return ze?ze.format("MMMM"):Ce(Ve,"months")},monthsShort:function(ze){return ze?ze.format("MMM"):Ce(Ve,"monthsShort","months",3)},firstDayOfWeek:function(){return Ve.$locale().weekStart||0},weekdays:function(ze){return ze?ze.format("dddd"):Ce(Ve,"weekdays")},weekdaysMin:function(ze){return ze?ze.format("dd"):Ce(Ve,"weekdaysMin","weekdays",2)},weekdaysShort:function(ze){return ze?ze.format("ddd"):Ce(Ve,"weekdaysShort","weekdays",3)},longDateFormat:function(ze){return xe(Ve.$locale(),ze)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};pe.localeData=function(){return Ie.bind(this)()},ue.localeData=function(){var Ve=$e();return{firstDayOfWeek:function(){return Ve.weekStart||0},weekdays:function(){return ue.weekdays()},weekdaysShort:function(){return ue.weekdaysShort()},weekdaysMin:function(){return ue.weekdaysMin()},months:function(){return ue.months()},monthsShort:function(){return ue.monthsShort()},longDateFormat:function(ze){return xe(Ve,ze)},meridiem:Ve.meridiem,ordinal:Ve.ordinal}},ue.months=function(){return Ce($e(),"months")},ue.monthsShort=function(){return Ce($e(),"monthsShort","months",3)},ue.weekdays=function(Ve){return Ce($e(),"weekdays",null,null,Ve)},ue.weekdaysShort=function(Ve){return Ce($e(),"weekdaysShort","weekdays",3,Ve)},ue.weekdaysMin=function(Ve){return Ce($e(),"weekdaysMin","weekdays",2,Ve)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=($,z)=>{dayjs.extend(localeData);const ie=dayjs.localeData().firstDayOfWeek(),{t:le,lang:ue}=useLocale(),pe=dayjs().locale(ue.value),_e=computed(()=>!!$.range&&!!$.range.length),Ce=computed(()=>{let ze=[];if(_e.value){const[Ue,qe]=$.range,Et=rangeArr(qe.date()-Ue.date()+1).map(vn=>({text:Ue.date()+vn,type:"current"}));let Lt=Et.length%7;Lt=Lt===0?0:7-Lt;const hn=rangeArr(Lt).map((vn,_n)=>({text:_n+1,type:"next"}));ze=Et.concat(hn)}else{const Ue=$.date.startOf("month").day(),qe=getPrevMonthLastDays($.date,(Ue-ie+7)%7).map(vn=>({text:vn,type:"prev"})),Et=getMonthDays($.date).map(vn=>({text:vn,type:"current"}));ze=[...qe,...Et];const Lt=7-(ze.length%7||7),hn=rangeArr(Lt).map((vn,_n)=>({text:_n+1,type:"next"}));ze=ze.concat(hn)}return toNestedArr(ze)}),$e=computed(()=>{const ze=ie;return ze===0?WEEK_DAYS.map(Ue=>le(`el.datepicker.weeks.${Ue}`)):WEEK_DAYS.slice(ze).concat(WEEK_DAYS.slice(0,ze)).map(Ue=>le(`el.datepicker.weeks.${Ue}`))}),xe=(ze,Ue)=>{switch(Ue){case"prev":return $.date.startOf("month").subtract(1,"month").date(ze);case"next":return $.date.startOf("month").add(1,"month").date(ze);case"current":return $.date.date(ze)}};return{now:pe,isInRange:_e,rows:Ce,weekDays:$e,getFormattedDate:xe,handlePickDay:({text:ze,type:Ue})=>{const qe=xe(ze,Ue);z("pick",qe)},getSlotData:({text:ze,type:Ue})=>{const qe=xe(ze,Ue);return{isSelected:qe.isSame($.selectedDay),type:`${Ue}-month`,day:qe.format("YYYY-MM-DD"),date:qe.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($,{expose:z,emit:ie}){const le=$,{isInRange:ue,now:pe,rows:_e,weekDays:Ce,getFormattedDate:$e,handlePickDay:xe,getSlotData:Ie}=useDateTable(le,ie),Ve=useNamespace("calendar-table"),ze=useNamespace("calendar-day"),Ue=({text:qe,type:Et})=>{const Lt=[Et];if(Et==="current"){const hn=$e(qe,Et);hn.isSame(le.selectedDay,"day")&&Lt.push(ze.is("selected")),hn.isSame(pe,"day")&&Lt.push(ze.is("today"))}return Lt};return z({getFormattedDate:$e}),(qe,Et)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(Ve).b(),unref(Ve).is("range",unref(ue))]),cellspacing:"0",cellpadding:"0"},[qe.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$X,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ce),Lt=>(openBlock(),createElementBlock("th",{key:Lt},toDisplayString$1(Lt),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),(Lt,hn)=>(openBlock(),createElementBlock("tr",{key:hn,class:normalizeClass({[unref(Ve).e("row")]:!0,[unref(Ve).em("row","hide-border")]:hn===0&&qe.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Lt,(vn,_n)=>(openBlock(),createElementBlock("td",{key:_n,class:normalizeClass(Ue(vn)),onClick:bn=>unref(xe)(vn)},[createBaseVNode("div",{class:normalizeClass(unref(ze).b())},[renderSlot(qe.$slots,"date-cell",{data:unref(Ie)(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=($,z)=>{const ie=$.endOf("month"),le=z.startOf("month"),pe=ie.isSame(le,"week")?le.add(1,"week"):le;return[[$,ie],[pe.startOf("week"),z]]},threeConsecutiveMonth=($,z)=>{const ie=$.endOf("month"),le=$.add(1,"month").startOf("month"),ue=ie.isSame(le,"week")?le.add(1,"week"):le,pe=ue.endOf("month"),_e=z.startOf("month"),Ce=pe.isSame(_e,"week")?_e.add(1,"week"):_e;return[[$,ie],[ue.startOf("week"),pe],[Ce.startOf("week"),z]]},useCalendar=($,z,ie)=>{const le=useSlots(),{lang:ue}=useLocale(),pe=ref(),_e=dayjs().locale(ue.value),Ce=computed({get(){return $.modelValue?xe.value:pe.value},set(hn){if(!hn)return;pe.value=hn;const vn=hn.toDate();z(INPUT_EVENT,vn),z(UPDATE_MODEL_EVENT,vn)}}),$e=computed(()=>{if(!$.range)return[];const hn=$.range.map(bn=>dayjs(bn).locale(ue.value)),[vn,_n]=hn;return vn.isAfter(_n)?[]:vn.isSame(_n,"month")?qe(vn,_n):vn.add(1,"month").month()!==_n.month()?[]:qe(vn,_n)}),xe=computed(()=>$.modelValue?dayjs($.modelValue).locale(ue.value):Ce.value||($e.value.length?$e.value[0][0]:_e)),Ie=computed(()=>xe.value.subtract(1,"month").date(1)),Ve=computed(()=>xe.value.add(1,"month").date(1)),ze=computed(()=>xe.value.subtract(1,"year").date(1)),Ue=computed(()=>xe.value.add(1,"year").date(1)),qe=(hn,vn)=>{const _n=hn.startOf("week"),bn=vn.endOf("week"),Cn=_n.get("month"),Sn=bn.get("month");return Cn===Sn?[[_n,bn]]:(Cn+1)%12===Sn?adjacentMonth(_n,bn):Cn+2===Sn||(Cn+1)%11===Sn?threeConsecutiveMonth(_n,bn):[]},Et=hn=>{Ce.value=hn},Lt=hn=>{const _n={"prev-month":Ie.value,"next-month":Ve.value,"prev-year":ze.value,"next-year":Ue.value,today:_e}[hn];_n.isSame(xe.value,"day")||Et(_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(()=>!!le.dateCell)),{calculateValidatedDateRange:qe,date:xe,realSelectedDay:Ce,pickDay:Et,selectDate:Lt,validatedRange:$e}},isValidRange$1=$=>isArray$c($)&&$.length===2&&$.every(z=>isDate$3(z)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:$=>isDate$3($),[INPUT_EVENT]:$=>isDate$3($)},COMPONENT_NAME$g="ElCalendar",__default__$1e=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1S=defineComponent({...__default__$1e,props:calendarProps,emits:calendarEmits,setup($,{expose:z,emit:ie}){const le=$,ue=useNamespace("calendar"),{calculateValidatedDateRange:pe,date:_e,pickDay:Ce,realSelectedDay:$e,selectDate:xe,validatedRange:Ie}=useCalendar(le,ie),{t:Ve}=useLocale(),ze=computed(()=>{const Ue=`el.datepicker.month${_e.value.format("M")}`;return`${_e.value.year()} ${Ve("el.datepicker.year")} ${Ve(Ue)}`});return z({selectedDay:$e,pickDay:Ce,selectDate:xe,calculateValidatedDateRange:pe}),(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("header"))},[renderSlot(Ue.$slots,"header",{date:unref(ze)},()=>[createBaseVNode("div",{class:normalizeClass(unref(ue).e("title"))},toDisplayString$1(unref(ze)),3),unref(Ie).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("button-group"))},[createVNode(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode(unref(ElButton),{size:"small",onClick:qe[0]||(qe[0]=Et=>unref(xe)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Ve)("el.datepicker.prevMonth")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:qe[1]||(qe[1]=Et=>unref(xe)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Ve)("el.datepicker.today")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:qe[2]||(qe[2]=Et=>unref(xe)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Ve)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(Ie).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("body"))},[createVNode(DateTable$1,{date:unref(_e),"selected-day":unref($e),onPick:unref(Ce)},createSlots({_:2},[Ue.$slots["date-cell"]||Ue.$slots.dateCell?{name:"date-cell",fn:withCtx(Et=>[Ue.$slots["date-cell"]?renderSlot(Ue.$slots,"date-cell",normalizeProps(mergeProps({key:0},Et))):renderSlot(Ue.$slots,"dateCell",normalizeProps(mergeProps({key:1},Et)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),(Et,Lt)=>(openBlock(),createBlock(DateTable$1,{key:Lt,date:Et[0],"selected-day":unref($e),range:Et,"hide-header":Lt!==0,onPick:unref(Ce)},createSlots({_:2},[Ue.$slots["date-cell"]||Ue.$slots.dateCell?{name:"date-cell",fn:withCtx(hn=>[Ue.$slots["date-cell"]?renderSlot(Ue.$slots,"date-cell",normalizeProps(mergeProps({key:0},hn))):renderSlot(Ue.$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($){const z=useNamespace("card");return(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(z).b(),unref(z).is(`${ie.shadow}-shadow`)])},[ie.$slots.header||ie.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(z).e("header"))},[renderSlot(ie.$slots,"header",{},()=>[createTextVNode(toDisplayString$1(ie.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(z).e("body")),style:normalizeStyle$1(ie.bodyStyle)},[renderSlot(ie.$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:($,z)=>[$,z].every(isNumber$4)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=($,z,ie)=>{const{children:le,addChild:ue,removeChild:pe}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),_e=ref(-1),Ce=ref(null),$e=ref(!1),xe=ref(),Ie=ref(0),Ve=computed(()=>$.arrow!=="never"&&!unref(qe)),ze=computed(()=>le.value.some(Mn=>Mn.props.label.toString().length>0)),Ue=computed(()=>$.type==="card"),qe=computed(()=>$.direction==="vertical"),Et=computed(()=>$.height!=="auto"?{height:$.height}:{height:`${Ie.value}px`,overflow:"hidden"}),Lt=throttle$1(Mn=>{Cn(Mn)},THROTTLE_TIME,{trailing:!0}),hn=throttle$1(Mn=>{An(Mn)},THROTTLE_TIME);function vn(){Ce.value&&(clearInterval(Ce.value),Ce.value=null)}function _n(){$.interval<=0||!$.autoplay||Ce.value||(Ce.value=setInterval(()=>bn(),$.interval))}const bn=()=>{_e.value<le.value.length-1?_e.value=_e.value+1:$.loop&&(_e.value=0)};function Cn(Mn){if(isString$6(Mn)){const Hn=le.value.filter(Xn=>Xn.props.name===Mn);Hn.length>0&&(Mn=le.value.indexOf(Hn[0]))}if(Mn=Number(Mn),Number.isNaN(Mn)||Mn!==Math.floor(Mn))return;const zn=le.value.length,Kn=_e.value;Mn<0?_e.value=$.loop?zn-1:0:Mn>=zn?_e.value=$.loop?0:zn-1:_e.value=Mn,Kn===_e.value&&Sn(Kn),Dn()}function Sn(Mn){le.value.forEach((zn,Kn)=>{zn.translateItem(Kn,_e.value,Mn)})}function En(Mn,zn){var Kn,Hn,Xn,lr;const yr=unref(le),ir=yr.length;if(ir===0||!Mn.states.inStage)return!1;const Yn=zn+1,Gn=zn-1,Wn=ir-1,Qn=yr[Wn].states.active,fr=yr[0].states.active,jn=(Hn=(Kn=yr[Yn])==null?void 0:Kn.states)==null?void 0:Hn.active,Zn=(lr=(Xn=yr[Gn])==null?void 0:Xn.states)==null?void 0:lr.active;return zn===Wn&&fr||jn?"left":zn===0&&Qn||Zn?"right":!1}function wn(){$e.value=!0,$.pauseOnHover&&vn()}function Tn(){$e.value=!1,_n()}function kn(Mn){unref(qe)||le.value.forEach((zn,Kn)=>{Mn===En(zn,Kn)&&(zn.states.hover=!0)})}function xn(){unref(qe)||le.value.forEach(Mn=>{Mn.states.hover=!1})}function Pn(Mn){_e.value=Mn}function An(Mn){$.trigger==="hover"&&Mn!==_e.value&&(_e.value=Mn)}function In(){Cn(_e.value-1)}function Fn(){Cn(_e.value+1)}function Dn(){vn(),_n()}function On(Mn){$.height==="auto"&&(Ie.value=Mn)}watch(()=>_e.value,(Mn,zn)=>{Sn(zn),zn>-1&&z("change",Mn,zn)}),watch(()=>$.autoplay,Mn=>{Mn?_n():vn()}),watch(()=>$.loop,()=>{Cn(_e.value)}),watch(()=>$.interval,()=>{Dn()}),watch(()=>le.value,()=>{le.value.length>0&&Cn($.initialIndex)});const Vn=shallowRef();return onMounted(()=>{Vn.value=useResizeObserver$1(xe.value,()=>{Sn()}),_n()}),onBeforeUnmount(()=>{vn(),xe.value&&Vn.value&&Vn.value.stop()}),provide(carouselContextKey,{root:xe,isCardType:Ue,isVertical:qe,items:le,loop:$.loop,addItem:ue,removeItem:pe,setActiveItem:Cn,setContainerHeight:On}),{root:xe,activeIndex:_e,arrowDisplay:Ve,hasLabel:ze,hover:$e,isCardType:Ue,items:le,isVertical:qe,containerStyle:Et,handleButtonEnter:kn,handleButtonLeave:xn,handleIndicatorClick:Pn,handleMouseEnter:wn,handleMouseLeave:Tn,setActiveItem:Cn,prev:In,next:Fn,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($,{expose:z,emit:ie}){const le=$,{root:ue,activeIndex:pe,arrowDisplay:_e,hasLabel:Ce,hover:$e,isCardType:xe,items:Ie,isVertical:Ve,containerStyle:ze,handleButtonEnter:Ue,handleButtonLeave:qe,handleIndicatorClick:Et,handleMouseEnter:Lt,handleMouseLeave:hn,setActiveItem:vn,prev:_n,next:bn,throttledArrowClick:Cn,throttledIndicatorHover:Sn}=useCarousel(le,ie),En=useNamespace("carousel"),wn=computed(()=>{const kn=[En.b(),En.m(le.direction)];return unref(xe)&&kn.push(En.m("card")),kn}),Tn=computed(()=>{const kn=[En.e("indicators"),En.em("indicators",le.direction)];return unref(Ce)&&kn.push(En.em("indicators","labels")),le.indicatorPosition==="outside"&&kn.push(En.em("indicators","outside")),unref(Ve)&&kn.push(En.em("indicators","right")),kn});return z({setActiveItem:vn,prev:_n,next:bn}),(kn,xn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:ue,class:normalizeClass(unref(wn)),onMouseenter:xn[6]||(xn[6]=withModifiers((...Pn)=>unref(Lt)&&unref(Lt)(...Pn),["stop"])),onMouseleave:xn[7]||(xn[7]=withModifiers((...Pn)=>unref(hn)&&unref(hn)(...Pn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref(En).e("container")),style:normalizeStyle$1(unref(ze))},[unref(_e)?(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:xn[0]||(xn[0]=Pn=>unref(Ue)("left")),onMouseleave:xn[1]||(xn[1]=(...Pn)=>unref(qe)&&unref(qe)(...Pn)),onClick:xn[2]||(xn[2]=withModifiers(Pn=>unref(Cn)(unref(pe)-1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],34),[[vShow,(kn.arrow==="always"||unref($e))&&(le.loop||unref(pe)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(_e)?(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:xn[3]||(xn[3]=Pn=>unref(Ue)("right")),onMouseleave:xn[4]||(xn[4]=(...Pn)=>unref(qe)&&unref(qe)(...Pn)),onClick:xn[5]||(xn[5]=withModifiers(Pn=>unref(Cn)(unref(pe)+1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],34),[[vShow,(kn.arrow==="always"||unref($e))&&(le.loop||unref(pe)<unref(Ie).length-1)]])]),_:1})):createCommentVNode("v-if",!0),renderSlot(kn.$slots,"default")],6),kn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:0,class:normalizeClass(unref(Tn))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),(Pn,An)=>(openBlock(),createElementBlock("li",{key:An,class:normalizeClass([unref(En).e("indicator"),unref(En).em("indicator",kn.direction),unref(En).is("active",An===unref(pe))]),onMouseenter:In=>unref(Sn)(An),onClick:withModifiers(In=>unref(Et)(An),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(En).e("button"))},[unref(Ce)?(openBlock(),createElementBlock("span",_hoisted_2$C,toDisplayString$1(Pn.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=($,z)=>{const ie=inject(carouselContextKey),le=getCurrentInstance(),ue=.83,pe=ref(),_e=ref(!1),Ce=ref(0),$e=ref(1),xe=ref(!1),Ie=ref(!1),Ve=ref(!1),ze=ref(!1),{isCardType:Ue,isVertical:qe}=ie;function Et(bn,Cn,Sn){const En=Sn-1,wn=Cn-1,Tn=Cn+1,kn=Sn/2;return Cn===0&&bn===En?-1:Cn===En&&bn===0?Sn:bn<wn&&Cn-bn>=kn?Sn+1:bn>Tn&&bn-Cn>=kn?-2:bn}function Lt(bn,Cn){var Sn,En;const wn=unref(qe)?((Sn=ie.root.value)==null?void 0:Sn.offsetHeight)||0:((En=ie.root.value)==null?void 0:En.offsetWidth)||0;return Ve.value?wn*((2-ue)*(bn-Cn)+1)/4:bn<Cn?-(1+ue)*wn/4:(3+ue)*wn/4}function hn(bn,Cn,Sn){const En=ie.root.value;return En?((Sn?En.offsetHeight:En.offsetWidth)||0)*(bn-Cn):0}const vn=(bn,Cn,Sn)=>{var En;const wn=unref(Ue),Tn=(En=ie.items.value.length)!=null?En:Number.NaN,kn=bn===Cn;!wn&&!isUndefined$1(Sn)&&(ze.value=kn||bn===Sn),!kn&&Tn>2&&ie.loop&&(bn=Et(bn,Cn,Tn));const xn=unref(qe);xe.value=kn,wn?(Ve.value=Math.round(Math.abs(bn-Cn))<=1,Ce.value=Lt(bn,Cn),$e.value=unref(xe)?1:ue):Ce.value=hn(bn,Cn,xn),Ie.value=!0,kn&&pe.value&&ie.setContainerHeight(pe.value.offsetHeight)};function _n(){if(ie&&unref(Ue)){const bn=ie.items.value.findIndex(({uid:Cn})=>Cn===le.uid);ie.setActiveItem(bn)}}return onMounted(()=>{ie.addItem({props:$,states:reactive({hover:_e,translate:Ce,scale:$e,active:xe,ready:Ie,inStage:Ve,animating:ze}),uid:le.uid,translateItem:vn})}),onUnmounted(()=>{ie.removeItem(le.uid)}),{carouselItemRef:pe,active:xe,animating:ze,hover:_e,inStage:Ve,isVertical:qe,translate:Ce,isCardType:Ue,scale:$e,ready:Ie,handleItemClick:_n}},__default__$1b=defineComponent({name:"ElCarouselItem"}),_sfc_main$1P=defineComponent({...__default__$1b,props:carouselItemProps,setup($){const z=$,ie=useNamespace("carousel"),{carouselItemRef:le,active:ue,animating:pe,hover:_e,inStage:Ce,isVertical:$e,translate:xe,isCardType:Ie,scale:Ve,ready:ze,handleItemClick:Ue}=useCarouselItem(z),qe=computed(()=>{const Lt=`${`translate${unref($e)?"Y":"X"}`}(${unref(xe)}px)`,hn=`scale(${unref(Ve)})`;return{transform:[Lt,hn].join(" ")}});return(Et,Lt)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:le,class:normalizeClass([unref(ie).e("item"),unref(ie).is("active",unref(ue)),unref(ie).is("in-stage",unref(Ce)),unref(ie).is("hover",unref(_e)),unref(ie).is("animating",unref(pe)),{[unref(ie).em("item","card")]:unref(Ie),[unref(ie).em("item","card-vertical")]:unref(Ie)&&unref($e)}]),style:normalizeStyle$1(unref(qe)),onClick:Lt[0]||(Lt[0]=(...hn)=>unref(Ue)&&unref(Ue)(...hn))},[unref(Ie)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("mask"))},null,2)),[[vShow,!unref(ue)]]):createCommentVNode("v-if",!0),renderSlot(Et.$slots,"default")],6)),[[vShow,unref(ze)]])}});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]:$=>isString$6($)||isNumber$4($)||isBoolean$3($),change:$=>isString$6($)||isNumber$4($)||isBoolean$3($)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:$,isChecked:z})=>{const ie=inject(checkboxGroupContextKey,void 0),le=computed(()=>{var pe,_e;const Ce=(pe=ie==null?void 0:ie.max)==null?void 0:pe.value,$e=(_e=ie==null?void 0:ie.min)==null?void 0:_e.value;return!isUndefined$1(Ce)&&$.value.length>=Ce&&!z.value||!isUndefined$1($e)&&$.value.length<=$e&&z.value});return{isDisabled:useFormDisabled(computed(()=>(ie==null?void 0:ie.disabled.value)||le.value)),isLimitDisabled:le}},useCheckboxEvent=($,{model:z,isLimitExceeded:ie,hasOwnLabel:le,isDisabled:ue,isLabeledByFormItem:pe})=>{const _e=inject(checkboxGroupContextKey,void 0),{formItem:Ce}=useFormItem(),{emit:$e}=getCurrentInstance();function xe(qe){var Et,Lt;return qe===$.trueLabel||qe===!0?(Et=$.trueLabel)!=null?Et:!0:(Lt=$.falseLabel)!=null?Lt:!1}function Ie(qe,Et){$e("change",xe(qe),Et)}function Ve(qe){if(ie.value)return;const Et=qe.target;$e("change",xe(Et.checked),qe)}async function ze(qe){ie.value||!le.value&&!ue.value&&pe.value&&(qe.composedPath().some(hn=>hn.tagName==="LABEL")||(z.value=xe([!1,$.falseLabel].includes(z.value)),await nextTick(),Ie(z.value,qe)))}const Ue=computed(()=>(_e==null?void 0:_e.validateEvent)||$.validateEvent);return watch(()=>$.modelValue,()=>{Ue.value&&(Ce==null||Ce.validate("change").catch(qe=>void 0))}),{handleChange:Ve,onClickRoot:ze}},useCheckboxModel=$=>{const z=ref(!1),{emit:ie}=getCurrentInstance(),le=inject(checkboxGroupContextKey,void 0),ue=computed(()=>isUndefined$1(le)===!1),pe=ref(!1);return{model:computed({get(){var Ce,$e;return ue.value?(Ce=le==null?void 0:le.modelValue)==null?void 0:Ce.value:($e=$.modelValue)!=null?$e:z.value},set(Ce){var $e,xe;ue.value&&isArray$c(Ce)?(pe.value=(($e=le==null?void 0:le.max)==null?void 0:$e.value)!==void 0&&Ce.length>(le==null?void 0:le.max.value),pe.value===!1&&((xe=le==null?void 0:le.changeEvent)==null||xe.call(le,Ce))):(ie(UPDATE_MODEL_EVENT,Ce),z.value=Ce)}}),isGroup:ue,isLimitExceeded:pe}},useCheckboxStatus=($,z,{model:ie})=>{const le=inject(checkboxGroupContextKey,void 0),ue=ref(!1),pe=computed(()=>{const xe=ie.value;return isBoolean$3(xe)?xe:isArray$c(xe)?isObject$9($.label)?xe.map(toRaw).some(Ie=>isEqual$1(Ie,$.label)):xe.map(toRaw).includes($.label):xe!=null?xe===$.trueLabel:!!xe}),_e=useFormSize(computed(()=>{var xe;return(xe=le==null?void 0:le.size)==null?void 0:xe.value}),{prop:!0}),Ce=useFormSize(computed(()=>{var xe;return(xe=le==null?void 0:le.size)==null?void 0:xe.value})),$e=computed(()=>!!(z.default||$.label));return{checkboxButtonSize:_e,isChecked:pe,isFocused:ue,checkboxSize:Ce,hasOwnLabel:$e}},setStoreValue=($,{model:z})=>{function ie(){isArray$c(z.value)&&!z.value.includes($.label)?z.value.push($.label):z.value=$.trueLabel||!0}$.checked&&ie()},useCheckbox=($,z)=>{const{formItem:ie}=useFormItem(),{model:le,isGroup:ue,isLimitExceeded:pe}=useCheckboxModel($),{isFocused:_e,isChecked:Ce,checkboxButtonSize:$e,checkboxSize:xe,hasOwnLabel:Ie}=useCheckboxStatus($,z,{model:le}),{isDisabled:Ve}=useCheckboxDisabled({model:le,isChecked:Ce}),{inputId:ze,isLabeledByFormItem:Ue}=useFormItemInputId($,{formItemContext:ie,disableIdGeneration:Ie,disableIdManagement:ue}),{handleChange:qe,onClickRoot:Et}=useCheckboxEvent($,{model:le,isLimitExceeded:pe,hasOwnLabel:Ie,isDisabled:Ve,isLabeledByFormItem:Ue});return setStoreValue($,{model:le}),{inputId:ze,isLabeledByFormItem:Ue,isChecked:Ce,isDisabled:Ve,isFocused:_e,checkboxButtonSize:$e,checkboxSize:xe,hasOwnLabel:Ie,model:le,handleChange:qe,onClickRoot:Et}},_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($){const z=$,ie=useSlots(),{inputId:le,isLabeledByFormItem:ue,isChecked:pe,isDisabled:_e,isFocused:Ce,checkboxSize:$e,hasOwnLabel:xe,model:Ie,handleChange:Ve,onClickRoot:ze}=useCheckbox(z,ie),Ue=useNamespace("checkbox"),qe=computed(()=>[Ue.b(),Ue.m($e.value),Ue.is("disabled",_e.value),Ue.is("bordered",z.border),Ue.is("checked",pe.value)]),Et=computed(()=>[Ue.e("input"),Ue.is("disabled",_e.value),Ue.is("checked",pe.value),Ue.is("indeterminate",z.indeterminate),Ue.is("focus",Ce.value)]);return(Lt,hn)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(xe)&&unref(ue)?"span":"label"),{class:normalizeClass(unref(qe)),"aria-controls":Lt.indeterminate?Lt.controls:null,onClick:unref(ze)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(Et)),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(le),"onUpdate:modelValue":hn[0]||(hn[0]=vn=>isRef(Ie)?Ie.value=vn:null),class:normalizeClass(unref(Ue).e("original")),type:"checkbox","aria-hidden":Lt.indeterminate?"true":"false",name:Lt.name,tabindex:Lt.tabindex,disabled:unref(_e),"true-value":Lt.trueLabel,"false-value":Lt.falseLabel,onChange:hn[1]||(hn[1]=(...vn)=>unref(Ve)&&unref(Ve)(...vn)),onFocus:hn[2]||(hn[2]=vn=>Ce.value=!0),onBlur:hn[3]||(hn[3]=vn=>Ce.value=!1)},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(Ie)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(le),"onUpdate:modelValue":hn[4]||(hn[4]=vn=>isRef(Ie)?Ie.value=vn:null),class:normalizeClass(unref(Ue).e("original")),type:"checkbox","aria-hidden":Lt.indeterminate?"true":"false",disabled:unref(_e),value:Lt.label,name:Lt.name,tabindex:Lt.tabindex,onChange:hn[5]||(hn[5]=(...vn)=>unref(Ve)&&unref(Ve)(...vn)),onFocus:hn[6]||(hn[6]=vn=>Ce.value=!0),onBlur:hn[7]||(hn[7]=vn=>Ce.value=!1)},null,42,_hoisted_3$l)),[[vModelCheckbox,unref(Ie)]]),createBaseVNode("span",{class:normalizeClass(unref(Ue).e("inner"))},null,2)],10,_hoisted_1$V),unref(xe)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue).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($){const z=$,ie=useSlots(),{isFocused:le,isChecked:ue,isDisabled:pe,checkboxButtonSize:_e,model:Ce,handleChange:$e}=useCheckbox(z,ie),xe=inject(checkboxGroupContextKey,void 0),Ie=useNamespace("checkbox"),Ve=computed(()=>{var Ue,qe,Et,Lt;const hn=(qe=(Ue=xe==null?void 0:xe.fill)==null?void 0:Ue.value)!=null?qe:"";return{backgroundColor:hn,borderColor:hn,color:(Lt=(Et=xe==null?void 0:xe.textColor)==null?void 0:Et.value)!=null?Lt:"",boxShadow:hn?`-1px 0 0 0 ${hn}`:void 0}}),ze=computed(()=>[Ie.b("button"),Ie.bm("button",_e.value),Ie.is("disabled",pe.value),Ie.is("checked",ue.value),Ie.is("focus",le.value)]);return(Ue,qe)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref(ze))},[Ue.trueLabel||Ue.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":qe[0]||(qe[0]=Et=>isRef(Ce)?Ce.value=Et:null),class:normalizeClass(unref(Ie).be("button","original")),type:"checkbox",name:Ue.name,tabindex:Ue.tabindex,disabled:unref(pe),"true-value":Ue.trueLabel,"false-value":Ue.falseLabel,onChange:qe[1]||(qe[1]=(...Et)=>unref($e)&&unref($e)(...Et)),onFocus:qe[2]||(qe[2]=Et=>le.value=!0),onBlur:qe[3]||(qe[3]=Et=>le.value=!1)},null,42,_hoisted_1$U)),[[vModelCheckbox,unref(Ce)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":qe[4]||(qe[4]=Et=>isRef(Ce)?Ce.value=Et:null),class:normalizeClass(unref(Ie).be("button","original")),type:"checkbox",name:Ue.name,tabindex:Ue.tabindex,disabled:unref(pe),value:Ue.label,onChange:qe[5]||(qe[5]=(...Et)=>unref($e)&&unref($e)(...Et)),onFocus:qe[6]||(qe[6]=Et=>le.value=!0),onBlur:qe[7]||(qe[7]=Et=>le.value=!1)},null,42,_hoisted_2$A)),[[vModelCheckbox,unref(Ce)]]),Ue.$slots.default||Ue.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(Ie).be("button","inner")),style:normalizeStyle$1(unref(ue)?unref(Ve):void 0)},[renderSlot(Ue.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ue.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]:$=>isArray$c($),change:$=>isArray$c($)},__default__$18=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1M=defineComponent({...__default__$18,props:checkboxGroupProps,emits:checkboxGroupEmits,setup($,{emit:z}){const ie=$,le=useNamespace("checkbox"),{formItem:ue}=useFormItem(),{inputId:pe,isLabeledByFormItem:_e}=useFormItemInputId(ie,{formItemContext:ue}),Ce=async xe=>{z(UPDATE_MODEL_EVENT,xe),await nextTick(),z("change",xe)},$e=computed({get(){return ie.modelValue},set(xe){Ce(xe)}});return provide(checkboxGroupContextKey,{...pick$1(toRefs(ie),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:$e,changeEvent:Ce}),watch(()=>ie.modelValue,()=>{ie.validateEvent&&(ue==null||ue.validate("change").catch(xe=>void 0))}),(xe,Ie)=>{var Ve;return openBlock(),createBlock(resolveDynamicComponent(xe.tag),{id:unref(pe),class:normalizeClass(unref(le).b("group")),role:"group","aria-label":unref(_e)?void 0:xe.label||"checkbox-group","aria-labelledby":unref(_e)?(Ve=unref(ue))==null?void 0:Ve.labelId:void 0},{default:withCtx(()=>[renderSlot(xe.$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]:$=>isString$6($)||isNumber$4($)||isBoolean$3($),[CHANGE_EVENT]:$=>isString$6($)||isNumber$4($)||isBoolean$3($)},radioGroupKey=Symbol("radioGroupKey"),useRadio=($,z)=>{const ie=ref(),le=inject(radioGroupKey,void 0),ue=computed(()=>!!le),pe=computed({get(){return ue.value?le.modelValue:$.modelValue},set(Ie){ue.value?le.changeEvent(Ie):z&&z(UPDATE_MODEL_EVENT,Ie),ie.value.checked=$.modelValue===$.label}}),_e=useFormSize(computed(()=>le==null?void 0:le.size)),Ce=useFormDisabled(computed(()=>le==null?void 0:le.disabled)),$e=ref(!1),xe=computed(()=>Ce.value||ue.value&&pe.value!==$.label?-1:0);return{radioRef:ie,isGroup:ue,radioGroup:le,focus:$e,size:_e,disabled:Ce,tabIndex:xe,modelValue:pe}},_hoisted_1$T=["value","name","disabled"],__default__$17=defineComponent({name:"ElRadio"}),_sfc_main$1L=defineComponent({...__default__$17,props:radioProps,emits:radioEmits,setup($,{emit:z}){const ie=$,le=useNamespace("radio"),{radioRef:ue,radioGroup:pe,focus:_e,size:Ce,disabled:$e,modelValue:xe}=useRadio(ie,z);function Ie(){nextTick(()=>z("change",xe.value))}return(Ve,ze)=>{var Ue;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(le).b(),unref(le).is("disabled",unref($e)),unref(le).is("focus",unref(_e)),unref(le).is("bordered",Ve.border),unref(le).is("checked",unref(xe)===Ve.label),unref(le).m(unref(Ce))])},[createBaseVNode("span",{class:normalizeClass([unref(le).e("input"),unref(le).is("disabled",unref($e)),unref(le).is("checked",unref(xe)===Ve.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:ue,"onUpdate:modelValue":ze[0]||(ze[0]=qe=>isRef(xe)?xe.value=qe:null),class:normalizeClass(unref(le).e("original")),value:Ve.label,name:Ve.name||((Ue=unref(pe))==null?void 0:Ue.name),disabled:unref($e),type:"radio",onFocus:ze[1]||(ze[1]=qe=>_e.value=!0),onBlur:ze[2]||(ze[2]=qe=>_e.value=!1),onChange:Ie},null,42,_hoisted_1$T),[[vModelRadio,unref(xe)]]),createBaseVNode("span",{class:normalizeClass(unref(le).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(le).e("label")),onKeydown:ze[3]||(ze[3]=withModifiers(()=>{},["stop"]))},[renderSlot(Ve.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ve.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($){const z=$,ie=useNamespace("radio"),{radioRef:le,focus:ue,size:pe,disabled:_e,modelValue:Ce,radioGroup:$e}=useRadio(z),xe=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(Ie,Ve)=>{var ze;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(ie).b("button"),unref(ie).is("active",unref(Ce)===Ie.label),unref(ie).is("disabled",unref(_e)),unref(ie).is("focus",unref(ue)),unref(ie).bm("button",unref(pe))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:le,"onUpdate:modelValue":Ve[0]||(Ve[0]=Ue=>isRef(Ce)?Ce.value=Ue:null),class:normalizeClass(unref(ie).be("button","original-radio")),value:Ie.label,type:"radio",name:Ie.name||((ze=unref($e))==null?void 0:ze.name),disabled:unref(_e),onFocus:Ve[1]||(Ve[1]=Ue=>ue.value=!0),onBlur:Ve[2]||(Ve[2]=Ue=>ue.value=!1)},null,42,_hoisted_1$S),[[vModelRadio,unref(Ce)]]),createBaseVNode("span",{class:normalizeClass(unref(ie).be("button","inner")),style:normalizeStyle$1(unref(Ce)===Ie.label?unref(xe):{}),onKeydown:Ve[3]||(Ve[3]=withModifiers(()=>{},["stop"]))},[renderSlot(Ie.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ie.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($,{emit:z}){const ie=$,le=useNamespace("radio"),ue=useId(),pe=ref(),{formItem:_e}=useFormItem(),{inputId:Ce,isLabeledByFormItem:$e}=useFormItemInputId(ie,{formItemContext:_e}),xe=Ve=>{z(UPDATE_MODEL_EVENT,Ve),nextTick(()=>z("change",Ve))};onMounted(()=>{const Ve=pe.value.querySelectorAll("[type=radio]"),ze=Ve[0];!Array.from(Ve).some(Ue=>Ue.checked)&&ze&&(ze.tabIndex=0)});const Ie=computed(()=>ie.name||ue.value);return provide(radioGroupKey,reactive({...toRefs(ie),changeEvent:xe,name:Ie})),watch(()=>ie.modelValue,()=>{ie.validateEvent&&(_e==null||_e.validate("change").catch(Ve=>void 0))}),(Ve,ze)=>(openBlock(),createElementBlock("div",{id:unref(Ce),ref_key:"radioGroupRef",ref:pe,class:normalizeClass(unref(le).b("group")),role:"radiogroup","aria-label":unref($e)?void 0:Ve.label||"radio-group","aria-labelledby":unref($e)?unref(_e).labelId:void 0},[renderSlot(Ve.$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:$}=this,{node:z,panel:ie}=this.$parent,{data:le,label:ue}=z,{renderLabelFn:pe}=ie;return h$3("span",{class:$.e("label")},pe?pe({node:z,data:le}):ue)}});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($,{emit:z}){const ie=inject(CASCADER_PANEL_INJECTION_KEY),le=useNamespace("cascader-node"),ue=computed(()=>ie.isHoverMenu),pe=computed(()=>ie.config.multiple),_e=computed(()=>ie.config.checkStrictly),Ce=computed(()=>{var Sn;return(Sn=ie.checkedNodes[0])==null?void 0:Sn.uid}),$e=computed(()=>$.node.isDisabled),xe=computed(()=>$.node.isLeaf),Ie=computed(()=>_e.value&&!xe.value||!$e.value),Ve=computed(()=>Ue(ie.expandingNode)),ze=computed(()=>_e.value&&ie.checkedNodes.some(Ue)),Ue=Sn=>{var En;const{level:wn,uid:Tn}=$.node;return((En=Sn==null?void 0:Sn.pathNodes[wn-1])==null?void 0:En.uid)===Tn},qe=()=>{Ve.value||ie.expandNode($.node)},Et=Sn=>{const{node:En}=$;Sn!==En.checked&&ie.handleCheckChange(En,Sn)},Lt=()=>{ie.lazyLoad($.node,()=>{xe.value||qe()})},hn=Sn=>{ue.value&&(vn(),!xe.value&&z("expand",Sn))},vn=()=>{const{node:Sn}=$;!Ie.value||Sn.loading||(Sn.loaded?qe():Lt())},_n=()=>{ue.value&&!xe.value||(xe.value&&!$e.value&&!_e.value&&!pe.value?Cn(!0):vn())},bn=Sn=>{_e.value?(Et(Sn),$.node.loaded&&qe()):Cn(Sn)},Cn=Sn=>{$.node.loaded?(Et(Sn),!_e.value&&qe()):Lt()};return{panel:ie,isHoverMenu:ue,multiple:pe,checkStrictly:_e,checkedNodeId:Ce,isDisabled:$e,isLeaf:xe,expandable:Ie,inExpandingPath:Ve,inCheckedPath:ze,ns:le,handleHoverExpand:hn,handleExpand:vn,handleClick:_n,handleCheck:Cn,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($,z,ie,le,ue,pe){const _e=resolveComponent("el-checkbox"),Ce=resolveComponent("el-radio"),$e=resolveComponent("check"),xe=resolveComponent("el-icon"),Ie=resolveComponent("node-content"),Ve=resolveComponent("loading"),ze=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${$.menuId}-${$.node.uid}`,role:"menuitem","aria-haspopup":!$.isLeaf,"aria-owns":$.isLeaf?null:$.menuId,"aria-expanded":$.inExpandingPath,tabindex:$.expandable?-1:void 0,class:normalizeClass([$.ns.b(),$.ns.is("selectable",$.checkStrictly),$.ns.is("active",$.node.checked),$.ns.is("disabled",!$.expandable),$.inExpandingPath&&"in-active-path",$.inCheckedPath&&"in-checked-path"]),onMouseenter:z[2]||(z[2]=(...Ue)=>$.handleHoverExpand&&$.handleHoverExpand(...Ue)),onFocus:z[3]||(z[3]=(...Ue)=>$.handleHoverExpand&&$.handleHoverExpand(...Ue)),onClick:z[4]||(z[4]=(...Ue)=>$.handleClick&&$.handleClick(...Ue))},[createCommentVNode(" prefix "),$.multiple?(openBlock(),createBlock(_e,{key:0,"model-value":$.node.checked,indeterminate:$.node.indeterminate,disabled:$.isDisabled,onClick:z[0]||(z[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":$.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):$.checkStrictly?(openBlock(),createBlock(Ce,{key:1,"model-value":$.checkedNodeId,label:$.node.uid,disabled:$.isDisabled,"onUpdate:modelValue":$.handleSelectCheck,onClick:z[1]||(z[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"])):$.isLeaf&&$.node.checked?(openBlock(),createBlock(xe,{key:2,class:normalizeClass($.ns.e("prefix"))},{default:withCtx(()=>[createVNode($e)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(Ie),createCommentVNode(" postfix "),$.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[$.node.loading?(openBlock(),createBlock(xe,{key:0,class:normalizeClass([$.ns.is("loading"),$.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Ve)]),_:1},8,["class"])):(openBlock(),createBlock(xe,{key:1,class:normalizeClass(["arrow-right",$.ns.e("postfix")])},{default:withCtx(()=>[createVNode(ze)]),_: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($){const z=getCurrentInstance(),ie=useNamespace("cascader-menu"),{t:le}=useLocale(),ue=generateId();let pe=null,_e=null;const Ce=inject(CASCADER_PANEL_INJECTION_KEY),$e=ref(null),xe=computed(()=>!$.nodes.length),Ie=computed(()=>!Ce.initialLoaded),Ve=computed(()=>`cascader-menu-${ue}-${$.index}`),ze=Lt=>{pe=Lt.target},Ue=Lt=>{if(!(!Ce.isHoverMenu||!pe||!$e.value))if(pe.contains(Lt.target)){qe();const hn=z.vnode.el,{left:vn}=hn.getBoundingClientRect(),{offsetWidth:_n,offsetHeight:bn}=hn,Cn=Lt.clientX-vn,Sn=pe.offsetTop,En=Sn+pe.offsetHeight;$e.value.innerHTML=`
|
||
<path style="pointer-events: auto;" fill="transparent" d="M${Cn} ${Sn} L${_n} 0 V${Sn} Z" />
|
||
<path style="pointer-events: auto;" fill="transparent" d="M${Cn} ${En} L${_n} ${bn} V${En} Z" />
|
||
`}else _e||(_e=window.setTimeout(Et,Ce.config.hoverThreshold))},qe=()=>{_e&&(clearTimeout(_e),_e=null)},Et=()=>{$e.value&&($e.value.innerHTML="",qe())};return{ns:ie,panel:Ce,hoverZone:$e,isEmpty:xe,isLoading:Ie,menuId:Ve,t:le,handleExpand:ze,handleMouseMove:Ue,clearHoverZone:Et}}});function _sfc_render$u($,z,ie,le,ue,pe){const _e=resolveComponent("el-cascader-node"),Ce=resolveComponent("loading"),$e=resolveComponent("el-icon"),xe=resolveComponent("el-scrollbar");return openBlock(),createBlock(xe,{key:$.menuId,tag:"ul",role:"menu",class:normalizeClass($.ns.b()),"wrap-class":$.ns.e("wrap"),"view-class":[$.ns.e("list"),$.ns.is("empty",$.isEmpty)],onMousemove:$.handleMouseMove,onMouseleave:$.clearHoverZone},{default:withCtx(()=>{var Ie;return[(openBlock(!0),createElementBlock(Fragment,null,renderList($.nodes,Ve=>(openBlock(),createBlock(_e,{key:Ve.uid,node:Ve,"menu-id":$.menuId,onExpand:$.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),$.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.e("empty-text"))},[createVNode($e,{size:"14",class:normalizeClass($.ns.is("loading"))},{default:withCtx(()=>[createVNode(Ce)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString$1($.t("el.cascader.loading")),1)],2)):$.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.ns.e("empty-text"))},toDisplayString$1($.t("el.cascader.noData")),3)):(Ie=$.panel)!=null&&Ie.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass($.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=$=>{const z=[$];let{parent:ie}=$;for(;ie;)z.unshift(ie),ie=ie.parent;return z};let Node$1=class yo{constructor(z,ie,le,ue=!1){this.data=z,this.config=ie,this.parent=le,this.root=ue,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:pe,label:_e,children:Ce}=ie,$e=z[Ce],xe=calculatePathNodes(this);this.level=ue?0:le?le.level+1:1,this.value=z[pe],this.label=z[_e],this.pathNodes=xe,this.pathValues=xe.map(Ie=>Ie.value),this.pathLabels=xe.map(Ie=>Ie.label),this.childrenData=$e,this.children=($e||[]).map(Ie=>new yo(Ie,ie,this)),this.loaded=!ie.lazy||this.isLeaf||!isEmpty($e)}get isDisabled(){const{data:z,parent:ie,config:le}=this,{disabled:ue,checkStrictly:pe}=le;return(isFunction$5(ue)?ue(z,this):!!z[ue])||!pe&&(ie==null?void 0:ie.isDisabled)}get isLeaf(){const{data:z,config:ie,childrenData:le,loaded:ue}=this,{lazy:pe,leaf:_e}=ie,Ce=isFunction$5(_e)?_e(z,this):z[_e];return isUndefined$1(Ce)?pe&&!ue?!1:!(Array.isArray(le)&&le.length):!!Ce}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(z){const{childrenData:ie,children:le}=this,ue=new yo(z,this.config,this);return Array.isArray(ie)?ie.push(z):this.childrenData=[z],le.push(ue),ue}calcText(z,ie){const le=z?this.pathLabels.join(ie):this.label;return this.text=le,le}broadcast(z,...ie){const le=`onParent${capitalize$1(z)}`;this.children.forEach(ue=>{ue&&(ue.broadcast(z,...ie),ue[le]&&ue[le](...ie))})}emit(z,...ie){const{parent:le}=this,ue=`onChild${capitalize$1(z)}`;le&&(le[ue]&&le[ue](...ie),le.emit(z,...ie))}onParentCheck(z){this.isDisabled||this.setCheckState(z)}onChildCheck(){const{children:z}=this,ie=z.filter(ue=>!ue.isDisabled),le=ie.length?ie.every(ue=>ue.checked):!1;this.setCheckState(le)}setCheckState(z){const ie=this.children.length,le=this.children.reduce((ue,pe)=>{const _e=pe.checked?1:pe.indeterminate?.5:0;return ue+_e},0);this.checked=this.loaded&&this.children.filter(ue=>!ue.isDisabled).every(ue=>ue.loaded&&ue.checked)&&z,this.indeterminate=this.loaded&&le!==ie&&le>0}doCheck(z){if(this.checked===z)return;const{checkStrictly:ie,multiple:le}=this.config;ie||!le?this.checked=z:(this.broadcast("check",z),this.setCheckState(z),this.emit("check"))}};const flatNodes=($,z)=>$.reduce((ie,le)=>(le.isLeaf?ie.push(le):(!z&&ie.push(le),ie=ie.concat(flatNodes(le.children,z))),ie),[]);class Store{constructor(z,ie){this.config=ie;const le=(z||[]).map(ue=>new Node$1(ue,this.config));this.nodes=le,this.allNodes=flatNodes(le,!1),this.leafNodes=flatNodes(le,!0)}getNodes(){return this.nodes}getFlattedNodes(z){return z?this.leafNodes:this.allNodes}appendNode(z,ie){const le=ie?ie.appendChild(z):new Node$1(z,this.config);ie||this.nodes.push(le),this.allNodes.push(le),le.isLeaf&&this.leafNodes.push(le)}appendNodes(z,ie){z.forEach(le=>this.appendNode(le,ie))}getNodeByValue(z,ie=!1){return!z&&z!==0?null:this.getFlattedNodes(ie).find(ue=>isEqual$1(ue.value,z)||isEqual$1(ue.pathValues,z))||null}getSameNode(z){return z&&this.getFlattedNodes(!1).find(({value:le,level:ue})=>isEqual$1(z.value,le)&&z.level===ue)||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=$=>computed(()=>({...DefaultProps,...$.props})),getMenuIndex=$=>{if(!$)return 0;const z=$.id.split("-");return Number(z[z.length-2])},checkNode=$=>{if(!$)return;const z=$.querySelector("input");z?z.click():isLeaf($)&&$.click()},sortByOriginalOrder=($,z)=>{const ie=z.slice(0),le=ie.map(pe=>pe.uid),ue=$.reduce((pe,_e)=>{const Ce=le.indexOf(_e.uid);return Ce>-1&&(pe.push(_e),ie.splice(Ce,1),le.splice(Ce,1)),pe},[]);return ue.push(...ie),ue},_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($,{emit:z,slots:ie}){let le=!1;const ue=useNamespace("cascader"),pe=useCascaderConfig($);let _e=null;const Ce=ref(!0),$e=ref([]),xe=ref(null),Ie=ref([]),Ve=ref(null),ze=ref([]),Ue=computed(()=>pe.value.expandTrigger==="hover"),qe=computed(()=>$.renderLabel||ie.default),Et=()=>{const{options:Pn}=$,An=pe.value;le=!1,_e=new Store(Pn,An),Ie.value=[_e.getNodes()],An.lazy&&isEmpty($.options)?(Ce.value=!1,Lt(void 0,In=>{In&&(_e=new Store(In,An),Ie.value=[_e.getNodes()]),Ce.value=!0,wn(!1,!0)})):wn(!1,!0)},Lt=(Pn,An)=>{const In=pe.value;Pn=Pn||new Node$1({},In,void 0,!0),Pn.loading=!0;const Fn=Dn=>{const On=Pn,Vn=On.root?null:On;Dn&&(_e==null||_e.appendNodes(Dn,Vn)),On.loading=!1,On.loaded=!0,On.childrenData=On.childrenData||[],An&&An(Dn)};In.lazyLoad(Pn,Fn)},hn=(Pn,An)=>{var In;const{level:Fn}=Pn,Dn=Ie.value.slice(0,Fn);let On;Pn.isLeaf?On=Pn.pathNodes[Fn-2]:(On=Pn,Dn.push(Pn.children)),((In=Ve.value)==null?void 0:In.uid)!==(On==null?void 0:On.uid)&&(Ve.value=Pn,Ie.value=Dn,!An&&z("expand-change",(Pn==null?void 0:Pn.pathValues)||[]))},vn=(Pn,An,In=!0)=>{const{checkStrictly:Fn,multiple:Dn}=pe.value,On=ze.value[0];le=!0,!Dn&&(On==null||On.doCheck(!1)),Pn.doCheck(An),En(),In&&!Dn&&!Fn&&z("close"),!In&&!Dn&&!Fn&&_n(Pn)},_n=Pn=>{Pn&&(Pn=Pn.parent,_n(Pn),Pn&&hn(Pn))},bn=Pn=>_e==null?void 0:_e.getFlattedNodes(Pn),Cn=Pn=>{var An;return(An=bn(Pn))==null?void 0:An.filter(In=>In.checked!==!1)},Sn=()=>{ze.value.forEach(Pn=>Pn.doCheck(!1)),En(),Ie.value=Ie.value.slice(0,1),Ve.value=null,z("expand-change",[])},En=()=>{var Pn;const{checkStrictly:An,multiple:In}=pe.value,Fn=ze.value,Dn=Cn(!An),On=sortByOriginalOrder(Fn,Dn),Vn=On.map(Mn=>Mn.valueByOption);ze.value=On,xe.value=In?Vn:(Pn=Vn[0])!=null?Pn:null},wn=(Pn=!1,An=!1)=>{const{modelValue:In}=$,{lazy:Fn,multiple:Dn,checkStrictly:On}=pe.value,Vn=!On;if(!(!Ce.value||le||!An&&isEqual$1(In,xe.value)))if(Fn&&!Pn){const zn=unique(flattenDeep(castArray(In))).map(Kn=>_e==null?void 0:_e.getNodeByValue(Kn)).filter(Kn=>!!Kn&&!Kn.loaded&&!Kn.loading);zn.length?zn.forEach(Kn=>{Lt(Kn,()=>wn(!1,An))}):wn(!0,An)}else{const Mn=Dn?castArray(In):[In],zn=unique(Mn.map(Kn=>_e==null?void 0:_e.getNodeByValue(Kn,Vn)));Tn(zn,An),xe.value=cloneDeep(In)}},Tn=(Pn,An=!0)=>{const{checkStrictly:In}=pe.value,Fn=ze.value,Dn=Pn.filter(Mn=>!!Mn&&(In||Mn.isLeaf)),On=_e==null?void 0:_e.getSameNode(Ve.value),Vn=An&&On||Dn[0];Vn?Vn.pathNodes.forEach(Mn=>hn(Mn,!0)):Ve.value=null,Fn.forEach(Mn=>Mn.doCheck(!1)),Dn.forEach(Mn=>Mn.doCheck(!0)),ze.value=Dn,nextTick(kn)},kn=()=>{isClient$1&&$e.value.forEach(Pn=>{const An=Pn==null?void 0:Pn.$el;if(An){const In=An.querySelector(`.${ue.namespace.value}-scrollbar__wrap`),Fn=An.querySelector(`.${ue.b("node")}.${ue.is("active")}`)||An.querySelector(`.${ue.b("node")}.in-active-path`);scrollIntoView(In,Fn)}})},xn=Pn=>{const An=Pn.target,{code:In}=Pn;switch(In){case EVENT_CODE.up:case EVENT_CODE.down:{Pn.preventDefault();const Fn=In===EVENT_CODE.up?-1:1;focusNode(getSibling(An,Fn,`.${ue.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Pn.preventDefault();const Fn=$e.value[getMenuIndex(An)-1],Dn=Fn==null?void 0:Fn.$el.querySelector(`.${ue.b("node")}[aria-expanded="true"]`);focusNode(Dn);break}case EVENT_CODE.right:{Pn.preventDefault();const Fn=$e.value[getMenuIndex(An)+1],Dn=Fn==null?void 0:Fn.$el.querySelector(`.${ue.b("node")}[tabindex="-1"]`);focusNode(Dn);break}case EVENT_CODE.enter:checkNode(An);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:pe,expandingNode:Ve,checkedNodes:ze,isHoverMenu:Ue,initialLoaded:Ce,renderLabelFn:qe,lazyLoad:Lt,expandNode:hn,handleCheckChange:vn})),watch([pe,()=>$.options],Et,{deep:!0,immediate:!0}),watch(()=>$.modelValue,()=>{le=!1,wn()},{deep:!0}),watch(()=>xe.value,Pn=>{isEqual$1(Pn,$.modelValue)||(z(UPDATE_MODEL_EVENT,Pn),z(CHANGE_EVENT,Pn))}),onBeforeUpdate(()=>$e.value=[]),onMounted(()=>!isEmpty($.modelValue)&&wn()),{ns:ue,menuList:$e,menus:Ie,checkedNodes:ze,handleKeyDown:xn,handleCheckChange:vn,getFlattedNodes:bn,getCheckedNodes:Cn,clearCheckedNodes:Sn,calculateCheckedValue:En,scrollToExpandingNode:kn}}});function _sfc_render$t($,z,ie,le,ue,pe){const _e=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b("panel"),$.ns.is("bordered",$.border)]),onKeydown:z[0]||(z[0]=(...Ce)=>$.handleKeyDown&&$.handleKeyDown(...Ce))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.menus,(Ce,$e)=>(openBlock(),createBlock(_e,{key:$e,ref_for:!0,ref:xe=>$.menuList[$e]=xe,index:$e,nodes:[...Ce]},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=$=>{$.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:$=>$ instanceof MouseEvent,click:$=>$ instanceof MouseEvent},__default__$14=defineComponent({name:"ElTag"}),_sfc_main$1F=defineComponent({...__default__$14,props:tagProps,emits:tagEmits,setup($,{emit:z}){const ie=$,le=useFormSize(),ue=useNamespace("tag"),pe=computed(()=>{const{type:$e,hit:xe,effect:Ie,closable:Ve,round:ze}=ie;return[ue.b(),ue.is("closable",Ve),ue.m($e),ue.m(le.value),ue.m(Ie),ue.is("hit",xe),ue.is("round",ze)]}),_e=$e=>{z("close",$e)},Ce=$e=>{z("click",$e)};return($e,xe)=>$e.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(pe)),style:normalizeStyle$1({backgroundColor:$e.color}),onClick:Ce},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("content"))},[renderSlot($e.$slots,"default")],2),$e.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("close")),onClick:withModifiers(_e,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(ue).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(pe)),style:normalizeStyle$1({backgroundColor:$e.color}),onClick:Ce},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("content"))},[renderSlot($e.$slots,"default")],2),$e.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("close")),onClick:withModifiers(_e,["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:($,z)=>$.text.includes(z)},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]:$=>!!$||$===null,[CHANGE_EVENT]:$=>!!$||$===null,focus:$=>$ instanceof FocusEvent,blur:$=>$ instanceof FocusEvent,visibleChange:$=>isBoolean$3($),expandChange:$=>!!$,removeTag:$=>!!$},_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($,{expose:z,emit:ie}){const le=$,ue={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:ur})=>{const{modifiersData:Jn,placement:ar}=ur;["right","left","bottom","top"].includes(ar)||(Jn.arrow.x=35)},requires:["arrow"]}]},pe=useAttrs$1();let _e=0,Ce=0;const $e=useNamespace("cascader"),xe=useNamespace("input"),{t:Ie}=useLocale(),{form:Ve,formItem:ze}=useFormItem(),Ue=ref(null),qe=ref(null),Et=ref(null),Lt=ref(null),hn=ref(null),vn=ref(!1),_n=ref(!1),bn=ref(!1),Cn=ref(!1),Sn=ref(""),En=ref(""),wn=ref([]),Tn=ref([]),kn=ref([]),xn=ref(!1),Pn=computed(()=>pe.style),An=computed(()=>le.disabled||(Ve==null?void 0:Ve.disabled)),In=computed(()=>le.placeholder||Ie("el.cascader.placeholder")),Fn=computed(()=>En.value||wn.value.length>0||xn.value?"":In.value),Dn=useFormSize(),On=computed(()=>["small"].includes(Dn.value)?"small":"default"),Vn=computed(()=>!!le.props.multiple),Mn=computed(()=>!le.filterable||Vn.value),zn=computed(()=>Vn.value?En.value:Sn.value),Kn=computed(()=>{var ur;return((ur=Lt.value)==null?void 0:ur.checkedNodes)||[]}),Hn=computed(()=>!le.clearable||An.value||bn.value||!_n.value?!1:!!Kn.value.length),Xn=computed(()=>{const{showAllLevels:ur,separator:Jn}=le,ar=Kn.value;return ar.length?Vn.value?"":ar[0].calcText(ur,Jn):""}),lr=computed({get(){return cloneDeep(le.modelValue)},set(ur){ie(UPDATE_MODEL_EVENT,ur),ie(CHANGE_EVENT,ur),le.validateEvent&&(ze==null||ze.validate("change").catch(Jn=>void 0))}}),yr=computed(()=>[$e.b(),$e.m(Dn.value),$e.is("disabled",An.value),pe.class]),ir=computed(()=>[xe.e("icon"),"icon-arrow-down",$e.is("reverse",vn.value)]),Yn=computed(()=>$e.is("focus",vn.value||Cn.value)),Gn=computed(()=>{var ur,Jn;return(Jn=(ur=Ue.value)==null?void 0:ur.popperRef)==null?void 0:Jn.contentRef}),Wn=ur=>{var Jn,ar,Sr;An.value||(ur=ur??!vn.value,ur!==vn.value&&(vn.value=ur,(ar=(Jn=qe.value)==null?void 0:Jn.input)==null||ar.setAttribute("aria-expanded",`${ur}`),ur?(Qn(),nextTick((Sr=Lt.value)==null?void 0:Sr.scrollToExpandingNode)):le.filterable&&cr(),ie("visibleChange",ur)))},Qn=()=>{nextTick(()=>{var ur;(ur=Ue.value)==null||ur.updatePopper()})},fr=()=>{bn.value=!1},jn=ur=>{const{showAllLevels:Jn,separator:ar}=le;return{node:ur,key:ur.uid,text:ur.calcText(Jn,ar),hitState:!1,closable:!An.value&&!ur.isDisabled,isCollapseTag:!1}},Zn=ur=>{var Jn;const ar=ur.node;ar.doCheck(!1),(Jn=Lt.value)==null||Jn.calculateCheckedValue(),ie("removeTag",ar.valueByOption)},rr=()=>{if(!Vn.value)return;const ur=Kn.value,Jn=[],ar=[];if(ur.forEach(Sr=>ar.push(jn(Sr))),Tn.value=ar,ur.length){const[Sr,...Or]=ur,Vr=Or.length;Jn.push(jn(Sr)),Vr&&(le.collapseTags?Jn.push({key:-1,text:`+ ${Vr}`,closable:!1,isCollapseTag:!0}):Or.forEach(Cr=>Jn.push(jn(Cr))))}wn.value=Jn},mr=()=>{var ur,Jn;const{filterMethod:ar,showAllLevels:Sr,separator:Or}=le,Vr=(Jn=(ur=Lt.value)==null?void 0:ur.getFlattedNodes(!le.props.checkStrictly))==null?void 0:Jn.filter(Cr=>Cr.isDisabled?!1:(Cr.calcText(Sr,Or),ar(Cr,zn.value)));Vn.value&&(wn.value.forEach(Cr=>{Cr.hitState=!1}),Tn.value.forEach(Cr=>{Cr.hitState=!1})),bn.value=!0,kn.value=Vr,Qn()},_r=()=>{var ur;let Jn;bn.value&&hn.value?Jn=hn.value.$el.querySelector(`.${$e.e("suggestion-item")}`):Jn=(ur=Lt.value)==null?void 0:ur.$el.querySelector(`.${$e.b("node")}[tabindex="-1"]`),Jn&&(Jn.focus(),!bn.value&&Jn.click())},or=()=>{var ur,Jn;const ar=(ur=qe.value)==null?void 0:ur.input,Sr=Et.value,Or=(Jn=hn.value)==null?void 0:Jn.$el;if(!(!isClient$1||!ar)){if(Or){const Vr=Or.querySelector(`.${$e.e("suggestion-list")}`);Vr.style.minWidth=`${ar.offsetWidth}px`}if(Sr){const{offsetHeight:Vr}=Sr,Cr=wn.value.length>0?`${Math.max(Vr+6,_e)}px`:`${_e}px`;ar.style.height=Cr,Qn()}}},$r=ur=>{var Jn;return(Jn=Lt.value)==null?void 0:Jn.getCheckedNodes(ur)},gr=ur=>{Qn(),ie("expandChange",ur)},xr=ur=>{var Jn;const ar=(Jn=ur.target)==null?void 0:Jn.value;if(ur.type==="compositionend")xn.value=!1,nextTick(()=>Tr(ar));else{const Sr=ar[ar.length-1]||"";xn.value=!isKorean(Sr)}},pr=ur=>{if(!xn.value)switch(ur.code){case EVENT_CODE.enter:Wn();break;case EVENT_CODE.down:Wn(!0),nextTick(_r),ur.preventDefault();break;case EVENT_CODE.esc:vn.value===!0&&(ur.preventDefault(),ur.stopPropagation(),Wn(!1));break;case EVENT_CODE.tab:Wn(!1);break}},sr=()=>{var ur;(ur=Lt.value)==null||ur.clearCheckedNodes(),!vn.value&&le.filterable&&cr(),Wn(!1)},cr=()=>{const{value:ur}=Xn;Sn.value=ur,En.value=ur},hr=ur=>{var Jn,ar;const{checked:Sr}=ur;Vn.value?(Jn=Lt.value)==null||Jn.handleCheckChange(ur,!Sr,!1):(!Sr&&((ar=Lt.value)==null||ar.handleCheckChange(ur,!0,!1)),Wn(!1))},Pr=ur=>{const Jn=ur.target,{code:ar}=ur;switch(ar){case EVENT_CODE.up:case EVENT_CODE.down:{const Sr=ar===EVENT_CODE.up?-1:1;focusNode(getSibling(Jn,Sr,`.${$e.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Jn.click();break}},Dr=()=>{const ur=wn.value,Jn=ur[ur.length-1];Ce=En.value?0:Ce+1,!(!Jn||!Ce||le.collapseTags&&ur.length>1)&&(Jn.hitState?Zn(Jn):Jn.hitState=!0)},Lr=ur=>{const Jn=ur.target,ar=$e.e("search-input");Jn.className===ar&&(Cn.value=!0),ie("focus",ur)},Nr=ur=>{Cn.value=!1,ie("blur",ur)},br=debounce(()=>{const{value:ur}=zn;if(!ur)return;const Jn=le.beforeFilter(ur);isPromise(Jn)?Jn.then(mr).catch(()=>{}):Jn!==!1?mr():fr()},le.debounce),Tr=(ur,Jn)=>{!vn.value&&Wn(!0),!(Jn!=null&&Jn.isComposing)&&(ur?br():fr())};return watch(bn,Qn),watch([Kn,An],rr),watch(wn,()=>{nextTick(()=>or())}),watch(Xn,cr,{immediate:!0}),onMounted(()=>{const ur=qe.value.input,Jn=Number.parseFloat(useCssVar(xe.cssVarName("input-height"),ur).value)-2;_e=ur.offsetHeight||Jn,useResizeObserver$1(ur,or)}),z({getCheckedNodes:$r,cascaderPanelRef:Lt,togglePopperVisible:Wn,contentRef:Gn}),(ur,Jn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:Ue,visible:vn.value,teleported:ur.teleported,"popper-class":[unref($e).e("dropdown"),ur.popperClass],"popper-options":ue,"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:fr},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(yr)),style:normalizeStyle$1(unref(Pn)),onClick:Jn[5]||(Jn[5]=()=>Wn(unref(Mn)?void 0:!0)),onKeydown:pr,onMouseenter:Jn[6]||(Jn[6]=ar=>_n.value=!0),onMouseleave:Jn[7]||(Jn[7]=ar=>_n.value=!1)},[createVNode(unref(ElInput),{ref_key:"input",ref:qe,modelValue:Sn.value,"onUpdate:modelValue":Jn[1]||(Jn[1]=ar=>Sn.value=ar),placeholder:unref(Fn),readonly:unref(Mn),disabled:unref(An),"validate-event":!1,size:unref(Dn),class:normalizeClass(unref(Yn)),tabindex:unref(Vn)&&ur.filterable&&!unref(An)?-1:void 0,onCompositionstart:xr,onCompositionupdate:xr,onCompositionend:xr,onFocus:Lr,onBlur:Nr,onInput:Tr},{suffix:withCtx(()=>[unref(Hn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(xe).e("icon"),"icon-circle-close"]),onClick:withModifiers(sr,["stop"])},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(ir)),onClick:Jn[0]||(Jn[0]=withModifiers(ar=>Wn(),["stop"]))},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(Vn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Et,class:normalizeClass(unref($e).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(wn.value,ar=>(openBlock(),createBlock(unref(ElTag),{key:ar.key,type:ur.tagType,size:unref(On),hit:ar.hitState,closable:ar.closable,"disable-transitions":"",onClose:Sr=>Zn(ar)},{default:withCtx(()=>[ar.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$P,toDisplayString$1(ar.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:vn.value||!ur.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(ar.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref($e).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Tn.value.slice(1),(Sr,Or)=>(openBlock(),createElementBlock("div",{key:Or,class:normalizeClass(unref($e).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:Sr.key,class:"in-tooltip",type:ur.tagType,size:unref(On),hit:Sr.hitState,closable:Sr.closable,"disable-transitions":"",onClose:Vr=>Zn(Sr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(Sr.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),ur.filterable&&!unref(An)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Jn[2]||(Jn[2]=ar=>En.value=ar),type:"text",class:normalizeClass(unref($e).e("search-input")),placeholder:unref(Xn)?"":unref(In),onInput:Jn[3]||(Jn[3]=ar=>Tr(En.value,ar)),onClick:Jn[4]||(Jn[4]=withModifiers(ar=>Wn(!0),["stop"])),onKeydown:withKeys(Dr,["delete"]),onCompositionstart:xr,onCompositionupdate:xr,onCompositionend:xr,onFocus:Lr,onBlur:Nr},null,42,_hoisted_2$y)),[[vModelText,En.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>Wn(!1),unref(Gn)]])]),content:withCtx(()=>[withDirectives(createVNode(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Lt,modelValue:unref(lr),"onUpdate:modelValue":Jn[8]||(Jn[8]=ar=>isRef(lr)?lr.value=ar:null),options:ur.options,props:le.props,border:!1,"render-label":ur.$slots.default,onExpandChange:gr,onClose:Jn[9]||(Jn[9]=ar=>ur.$nextTick(()=>Wn(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!bn.value]]),ur.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:Pr},{default:withCtx(()=>[kn.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(kn.value,ar=>(openBlock(),createElementBlock("li",{key:ar.uid,class:normalizeClass([unref($e).e("suggestion-item"),unref($e).is("checked",ar.checked)]),tabindex:-1,onClick:Sr=>hr(ar)},[createBaseVNode("span",null,toDisplayString$1(ar.text),1),ar.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$k))),128)):renderSlot(ur.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref($e).e("empty-text"))},toDisplayString$1(unref(Ie)("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=$=>{$.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1}}),checkTagEmits={"update:checked":$=>isBoolean$3($),[CHANGE_EVENT]:$=>isBoolean$3($)},__default__$12=defineComponent({name:"ElCheckTag"}),_sfc_main$1D=defineComponent({...__default__$12,props:checkTagProps,emits:checkTagEmits,setup($,{emit:z}){const ie=$,le=useNamespace("check-tag"),ue=computed(()=>[le.b(),le.is("checked",ie.checked)]),pe=()=>{const _e=!ie.checked;z(CHANGE_EVENT,_e),z("update:checked",_e)};return(_e,Ce)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ue)),onClick:pe},[renderSlot(_e.$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($){const z=$,ie=useNamespace("row"),le=computed(()=>z.gutter);provide(rowContextKey,{gutter:le});const ue=computed(()=>{const _e={};return z.gutter&&(_e.marginRight=_e.marginLeft=`-${z.gutter/2}px`),_e}),pe=computed(()=>[ie.b(),ie.is(`justify-${z.justify}`,z.justify!=="start"),ie.is(`align-${z.align}`,z.align!=="top")]);return(_e,Ce)=>(openBlock(),createBlock(resolveDynamicComponent(_e.tag),{class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(ue))},{default:withCtx(()=>[renderSlot(_e.$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($){const z=$,{gutter:ie}=inject(rowContextKey,{gutter:computed(()=>0)}),le=useNamespace("col"),ue=computed(()=>{const _e={};return ie.value&&(_e.paddingLeft=_e.paddingRight=`${ie.value/2}px`),_e}),pe=computed(()=>{const _e=[];return["span","offset","pull","push"].forEach(xe=>{const Ie=z[xe];isNumber$4(Ie)&&(xe==="span"?_e.push(le.b(`${z[xe]}`)):Ie>0&&_e.push(le.b(`${xe}-${z[xe]}`)))}),["xs","sm","md","lg","xl"].forEach(xe=>{isNumber$4(z[xe])?_e.push(le.b(`${xe}-${z[xe]}`)):isObject$9(z[xe])&&Object.entries(z[xe]).forEach(([Ie,Ve])=>{_e.push(Ie!=="span"?le.b(`${xe}-${Ie}-${Ve}`):le.b(`${xe}-${Ve}`))})}),ie.value&&_e.push(le.is("guttered")),[le.b(),_e]});return(_e,Ce)=>(openBlock(),createBlock(resolveDynamicComponent(_e.tag),{class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(ue))},{default:withCtx(()=>[renderSlot(_e.$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=$=>typeof isNumber$4($),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=($,z)=>{const ie=ref(castArray$1($.modelValue)),le=pe=>{ie.value=pe;const _e=$.accordion?ie.value[0]:ie.value;z(UPDATE_MODEL_EVENT,_e),z(CHANGE_EVENT,_e)},ue=pe=>{if($.accordion)le([ie.value[0]===pe?"":pe]);else{const _e=[...ie.value],Ce=_e.indexOf(pe);Ce>-1?_e.splice(Ce,1):_e.push(pe),le(_e)}};return watch(()=>$.modelValue,()=>ie.value=castArray$1($.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:ie,handleItemClick:ue}),{activeNames:ie,setActiveNames:le}},useCollapseDOM=()=>{const $=useNamespace("collapse");return{rootKls:computed(()=>$.b())}},__default__$$=defineComponent({name:"ElCollapse"}),_sfc_main$1A=defineComponent({...__default__$$,props:collapseProps,emits:collapseEmits,setup($,{expose:z,emit:ie}){const le=$,{activeNames:ue,setActiveNames:pe}=useCollapse(le,ie),{rootKls:_e}=useCollapseDOM();return z({activeNames:ue,setActiveNames:pe}),(Ce,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_e)),role:"tablist","aria-multiselectable":"true"},[renderSlot(Ce.$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($){const z=useNamespace("collapse-transition"),ie={beforeEnter(le){le.dataset||(le.dataset={}),le.dataset.oldPaddingTop=le.style.paddingTop,le.dataset.oldPaddingBottom=le.style.paddingBottom,le.style.maxHeight=0,le.style.paddingTop=0,le.style.paddingBottom=0},enter(le){le.dataset.oldOverflow=le.style.overflow,le.scrollHeight!==0?(le.style.maxHeight=`${le.scrollHeight}px`,le.style.paddingTop=le.dataset.oldPaddingTop,le.style.paddingBottom=le.dataset.oldPaddingBottom):(le.style.maxHeight=0,le.style.paddingTop=le.dataset.oldPaddingTop,le.style.paddingBottom=le.dataset.oldPaddingBottom),le.style.overflow="hidden"},afterEnter(le){le.style.maxHeight="",le.style.overflow=le.dataset.oldOverflow},beforeLeave(le){le.dataset||(le.dataset={}),le.dataset.oldPaddingTop=le.style.paddingTop,le.dataset.oldPaddingBottom=le.style.paddingBottom,le.dataset.oldOverflow=le.style.overflow,le.style.maxHeight=`${le.scrollHeight}px`,le.style.overflow="hidden"},leave(le){le.scrollHeight!==0&&(le.style.maxHeight=0,le.style.paddingTop=0,le.style.paddingBottom=0)},afterLeave(le){le.style.maxHeight="",le.style.overflow=le.dataset.oldOverflow,le.style.paddingTop=le.dataset.oldPaddingTop,le.style.paddingBottom=le.dataset.oldPaddingBottom}};return(le,ue)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(z).b()},toHandlers(ie)),{default:withCtx(()=>[renderSlot(le.$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=$=>{$.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=$=>{const z=inject(collapseContextKey),ie=ref(!1),le=ref(!1),ue=ref(generateId()),pe=computed(()=>z==null?void 0:z.activeNames.value.includes($.name));return{focusing:ie,id:ue,isActive:pe,handleFocus:()=>{setTimeout(()=>{le.value?le.value=!1:ie.value=!0},50)},handleHeaderClick:()=>{$.disabled||(z==null||z.handleItemClick($.name),ie.value=!1,le.value=!0)},handleEnterClick:()=>{z==null||z.handleItemClick($.name)}}},useCollapseItemDOM=($,{focusing:z,isActive:ie,id:le})=>{const ue=useNamespace("collapse"),pe=computed(()=>[ue.b("item"),ue.is("active",unref(ie)),ue.is("disabled",$.disabled)]),_e=computed(()=>[ue.be("item","header"),ue.is("active",unref(ie)),{focusing:unref(z)&&!$.disabled}]),Ce=computed(()=>[ue.be("item","arrow"),ue.is("active",unref(ie))]),$e=computed(()=>ue.be("item","wrap")),xe=computed(()=>ue.be("item","content")),Ie=computed(()=>ue.b(`content-${unref(le)}`)),Ve=computed(()=>ue.b(`head-${unref(le)}`));return{arrowKls:Ce,headKls:_e,rootKls:pe,itemWrapperKls:$e,itemContentKls:xe,scopedContentId:Ie,scopedHeadId:Ve}},_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($,{expose:z}){const ie=$,{focusing:le,id:ue,isActive:pe,handleFocus:_e,handleHeaderClick:Ce,handleEnterClick:$e}=useCollapseItem(ie),{arrowKls:xe,headKls:Ie,rootKls:Ve,itemWrapperKls:ze,itemContentKls:Ue,scopedContentId:qe,scopedHeadId:Et}=useCollapseItemDOM(ie,{focusing:le,isActive:pe,id:ue});return z({isActive:pe}),(Lt,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ve))},[createBaseVNode("div",{role:"tab","aria-expanded":unref(pe),"aria-controls":unref(qe),"aria-describedby":unref(qe)},[createBaseVNode("div",{id:unref(Et),class:normalizeClass(unref(Ie)),role:"button",tabindex:Lt.disabled?-1:0,onClick:hn[0]||(hn[0]=(...vn)=>unref(Ce)&&unref(Ce)(...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(_e)&&unref(_e)(...vn)),onBlur:hn[3]||(hn[3]=vn=>le.value=!1)},[renderSlot(Lt.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Lt.title),1)]),createVNode(unref(ElIcon),{class:normalizeClass(unref(xe))},{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(qe),class:normalizeClass(unref(ze)),role:"tabpanel","aria-hidden":!unref(pe),"aria-labelledby":unref(Et)},[createBaseVNode("div",{class:normalizeClass(unref(Ue))},[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($,z){if(!isClient$1)return;const ie=function(pe){var _e;(_e=z.drag)==null||_e.call(z,pe)},le=function(pe){var _e;document.removeEventListener("mousemove",ie),document.removeEventListener("mouseup",le),document.removeEventListener("touchmove",ie),document.removeEventListener("touchend",le),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(_e=z.end)==null||_e.call(z,pe)},ue=function(pe){var _e;isDragging||(pe.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",ie),document.addEventListener("mouseup",le),document.addEventListener("touchmove",ie),document.addEventListener("touchend",le),isDragging=!0,(_e=z.start)==null||_e.call(z,pe))};$.addEventListener("mousedown",ue),$.addEventListener("touchstart",ue)}const useAlphaSlider=$=>{const z=getCurrentInstance(),ie=shallowRef(),le=shallowRef();function ue(_e){_e.target!==ie.value&&pe(_e)}function pe(_e){if(!le.value||!ie.value)return;const $e=z.vnode.el.getBoundingClientRect(),{clientX:xe,clientY:Ie}=getClientXY(_e);if($.vertical){let Ve=Ie-$e.top;Ve=Math.max(ie.value.offsetHeight/2,Ve),Ve=Math.min(Ve,$e.height-ie.value.offsetHeight/2),$.color.set("alpha",Math.round((Ve-ie.value.offsetHeight/2)/($e.height-ie.value.offsetHeight)*100))}else{let Ve=xe-$e.left;Ve=Math.max(ie.value.offsetWidth/2,Ve),Ve=Math.min(Ve,$e.width-ie.value.offsetWidth/2),$.color.set("alpha",Math.round((Ve-ie.value.offsetWidth/2)/($e.width-ie.value.offsetWidth)*100))}}return{thumb:ie,bar:le,handleDrag:pe,handleClick:ue}},useAlphaSliderDOM=($,{bar:z,thumb:ie,handleDrag:le})=>{const ue=getCurrentInstance(),pe=useNamespace("color-alpha-slider"),_e=ref(0),Ce=ref(0),$e=ref();function xe(){if(!ie.value||$.vertical)return 0;const vn=ue.vnode.el,_n=$.color.get("alpha");return vn?Math.round(_n*(vn.offsetWidth-ie.value.offsetWidth/2)/100):0}function Ie(){if(!ie.value)return 0;const vn=ue.vnode.el;if(!$.vertical)return 0;const _n=$.color.get("alpha");return vn?Math.round(_n*(vn.offsetHeight-ie.value.offsetHeight/2)/100):0}function Ve(){if($.color&&$.color.value){const{r:vn,g:_n,b:bn}=$.color.toRgb();return`linear-gradient(to right, rgba(${vn}, ${_n}, ${bn}, 0) 0%, rgba(${vn}, ${_n}, ${bn}, 1) 100%)`}return""}function ze(){_e.value=xe(),Ce.value=Ie(),$e.value=Ve()}onMounted(()=>{if(!z.value||!ie.value)return;const vn={drag:_n=>{le(_n)},end:_n=>{le(_n)}};draggable(z.value,vn),draggable(ie.value,vn),ze()}),watch(()=>$.color.get("alpha"),()=>ze()),watch(()=>$.color.value,()=>ze());const Ue=computed(()=>[pe.b(),pe.is("vertical",$.vertical)]),qe=computed(()=>pe.e("bar")),Et=computed(()=>pe.e("thumb")),Lt=computed(()=>({background:$e.value})),hn=computed(()=>({left:addUnit(_e.value),top:addUnit(Ce.value)}));return{rootKls:Ue,barKls:qe,barStyle:Lt,thumbKls:Et,thumbStyle:hn,update:ze}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$Y=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1x=defineComponent({...__default__$Y,props:alphaSliderProps,setup($,{expose:z}){const ie=$,{bar:le,thumb:ue,handleDrag:pe,handleClick:_e}=useAlphaSlider(ie),{rootKls:Ce,barKls:$e,barStyle:xe,thumbKls:Ie,thumbStyle:Ve,update:ze}=useAlphaSliderDOM(ie,{bar:le,thumb:ue,handleDrag:pe});return z({update:ze,bar:le,thumb:ue}),(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ce))},[createBaseVNode("div",{ref_key:"bar",ref:le,class:normalizeClass(unref($e)),style:normalizeStyle$1(unref(xe)),onClick:qe[0]||(qe[0]=(...Et)=>unref(_e)&&unref(_e)(...Et))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:ue,class:normalizeClass(unref(Ie)),style:normalizeStyle$1(unref(Ve))},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($){const z=useNamespace("color-hue-slider"),ie=getCurrentInstance(),le=ref(),ue=ref(),pe=ref(0),_e=ref(0),Ce=computed(()=>$.color.get("hue"));watch(()=>Ce.value,()=>{ze()});function $e(Ue){Ue.target!==le.value&&xe(Ue)}function xe(Ue){if(!ue.value||!le.value)return;const Et=ie.vnode.el.getBoundingClientRect(),{clientX:Lt,clientY:hn}=getClientXY(Ue);let vn;if($.vertical){let _n=hn-Et.top;_n=Math.min(_n,Et.height-le.value.offsetHeight/2),_n=Math.max(le.value.offsetHeight/2,_n),vn=Math.round((_n-le.value.offsetHeight/2)/(Et.height-le.value.offsetHeight)*360)}else{let _n=Lt-Et.left;_n=Math.min(_n,Et.width-le.value.offsetWidth/2),_n=Math.max(le.value.offsetWidth/2,_n),vn=Math.round((_n-le.value.offsetWidth/2)/(Et.width-le.value.offsetWidth)*360)}$.color.set("hue",vn)}function Ie(){if(!le.value)return 0;const Ue=ie.vnode.el;if($.vertical)return 0;const qe=$.color.get("hue");return Ue?Math.round(qe*(Ue.offsetWidth-le.value.offsetWidth/2)/360):0}function Ve(){if(!le.value)return 0;const Ue=ie.vnode.el;if(!$.vertical)return 0;const qe=$.color.get("hue");return Ue?Math.round(qe*(Ue.offsetHeight-le.value.offsetHeight/2)/360):0}function ze(){pe.value=Ie(),_e.value=Ve()}return onMounted(()=>{if(!ue.value||!le.value)return;const Ue={drag:qe=>{xe(qe)},end:qe=>{xe(qe)}};draggable(ue.value,Ue),draggable(le.value,Ue),ze()}),{bar:ue,thumb:le,thumbLeft:pe,thumbTop:_e,hueValue:Ce,handleClick:$e,update:ze,ns:z}}});function _sfc_render$s($,z,ie,le,ue,pe){return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b(),$.ns.is("vertical",$.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass($.ns.e("bar")),onClick:z[0]||(z[0]=(..._e)=>$.handleClick&&$.handleClick(..._e))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass($.ns.e("thumb")),style:normalizeStyle$1({left:$.thumbLeft+"px",top:$.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]:$=>isString$6($)||isNil($),[CHANGE_EVENT]:$=>isString$6($)||isNil($),activeChange:$=>isString$6($)||isNil($)},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function($,z,ie){return[$,z*ie/(($=(2-z)*ie)<1?$:2-$)||0,$/2]},isOnePointZero=function($){return typeof $=="string"&&$.includes(".")&&Number.parseFloat($)===1},isPercentage=function($){return typeof $=="string"&&$.includes("%")},bound01=function($,z){isOnePointZero($)&&($="100%");const ie=isPercentage($);return $=Math.min(z,Math.max(0,Number.parseFloat(`${$}`))),ie&&($=Number.parseInt(`${$*z}`,10)/100),Math.abs($-z)<1e-6?1:$%z/Number.parseFloat(z)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=$=>{$=Math.min(Math.round($),255);const z=Math.floor($/16),ie=$%16;return`${INT_HEX_MAP[z]||z}${INT_HEX_MAP[ie]||ie}`},toHex$1=function({r:$,g:z,b:ie}){return Number.isNaN(+$)||Number.isNaN(+z)||Number.isNaN(+ie)?"":`#${hexOne($)}${hexOne(z)}${hexOne(ie)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function($){return $.length===2?(HEX_INT_MAP[$[0].toUpperCase()]||+$[0])*16+(HEX_INT_MAP[$[1].toUpperCase()]||+$[1]):HEX_INT_MAP[$[1].toUpperCase()]||+$[1]},hsl2hsv=function($,z,ie){z=z/100,ie=ie/100;let le=z;const ue=Math.max(ie,.01);ie*=2,z*=ie<=1?ie:2-ie,le*=ue<=1?ue:2-ue;const pe=(ie+z)/2,_e=ie===0?2*le/(ue+le):2*z/(ie+z);return{h:$,s:_e*100,v:pe*100}},rgb2hsv=($,z,ie)=>{$=bound01($,255),z=bound01(z,255),ie=bound01(ie,255);const le=Math.max($,z,ie),ue=Math.min($,z,ie);let pe;const _e=le,Ce=le-ue,$e=le===0?0:Ce/le;if(le===ue)pe=0;else{switch(le){case $:{pe=(z-ie)/Ce+(z<ie?6:0);break}case z:{pe=(ie-$)/Ce+2;break}case ie:{pe=($-z)/Ce+4;break}}pe/=6}return{h:pe*360,s:$e*100,v:_e*100}},hsv2rgb=function($,z,ie){$=bound01($,360)*6,z=bound01(z,100),ie=bound01(ie,100);const le=Math.floor($),ue=$-le,pe=ie*(1-z),_e=ie*(1-ue*z),Ce=ie*(1-(1-ue)*z),$e=le%6,xe=[ie,_e,pe,pe,Ce,ie][$e],Ie=[Ce,ie,ie,_e,pe,pe][$e],Ve=[pe,pe,Ce,ie,ie,_e][$e];return{r:Math.round(xe*255),g:Math.round(Ie*255),b:Math.round(Ve*255)}};class Color{constructor(z={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const ie in z)hasOwn$4(z,ie)&&(this[ie]=z[ie]);z.value?this.fromString(z.value):this.doOnChange()}set(z,ie){if(arguments.length===1&&typeof z=="object"){for(const le in z)hasOwn$4(z,le)&&this.set(le,z[le]);return}this[`_${z}`]=ie,this.doOnChange()}get(z){return z==="alpha"?Math.floor(this[`_${z}`]):this[`_${z}`]}toRgb(){return hsv2rgb(this._hue,this._saturation,this._value)}fromString(z){if(!z){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const ie=(le,ue,pe)=>{this._hue=Math.max(0,Math.min(360,le)),this._saturation=Math.max(0,Math.min(100,ue)),this._value=Math.max(0,Math.min(100,pe)),this.doOnChange()};if(z.includes("hsl")){const le=z.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(ue=>ue!=="").map((ue,pe)=>pe>2?Number.parseFloat(ue):Number.parseInt(ue,10));if(le.length===4?this._alpha=Number.parseFloat(le[3])*100:le.length===3&&(this._alpha=100),le.length>=3){const{h:ue,s:pe,v:_e}=hsl2hsv(le[0],le[1],le[2]);ie(ue,pe,_e)}}else if(z.includes("hsv")){const le=z.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(ue=>ue!=="").map((ue,pe)=>pe>2?Number.parseFloat(ue):Number.parseInt(ue,10));le.length===4?this._alpha=Number.parseFloat(le[3])*100:le.length===3&&(this._alpha=100),le.length>=3&&ie(le[0],le[1],le[2])}else if(z.includes("rgb")){const le=z.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(ue=>ue!=="").map((ue,pe)=>pe>2?Number.parseFloat(ue):Number.parseInt(ue,10));if(le.length===4?this._alpha=Number.parseFloat(le[3])*100:le.length===3&&(this._alpha=100),le.length>=3){const{h:ue,s:pe,v:_e}=rgb2hsv(le[0],le[1],le[2]);ie(ue,pe,_e)}}else if(z.includes("#")){const le=z.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(le))return;let ue,pe,_e;le.length===3?(ue=parseHexChannel(le[0]+le[0]),pe=parseHexChannel(le[1]+le[1]),_e=parseHexChannel(le[2]+le[2])):(le.length===6||le.length===8)&&(ue=parseHexChannel(le.slice(0,2)),pe=parseHexChannel(le.slice(2,4)),_e=parseHexChannel(le.slice(4,6))),le.length===8?this._alpha=parseHexChannel(le.slice(6))/255*100:(le.length===3||le.length===6)&&(this._alpha=100);const{h:Ce,s:$e,v:xe}=rgb2hsv(ue,pe,_e);ie(Ce,$e,xe)}}compare(z){return Math.abs(z._hue-this._hue)<2&&Math.abs(z._saturation-this._saturation)<1&&Math.abs(z._value-this._value)<1&&Math.abs(z._alpha-this._alpha)<1}doOnChange(){const{_hue:z,_saturation:ie,_value:le,_alpha:ue,format:pe}=this;if(this.enableAlpha)switch(pe){case"hsl":{const _e=hsv2hsl(z,ie/100,le/100);this.value=`hsla(${z}, ${Math.round(_e[1]*100)}%, ${Math.round(_e[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${z}, ${Math.round(ie)}%, ${Math.round(le)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex$1(hsv2rgb(z,ie,le))}${hexOne(ue*255/100)}`;break}default:{const{r:_e,g:Ce,b:$e}=hsv2rgb(z,ie,le);this.value=`rgba(${_e}, ${Ce}, ${$e}, ${this.get("alpha")/100})`}}else switch(pe){case"hsl":{const _e=hsv2hsl(z,ie/100,le/100);this.value=`hsl(${z}, ${Math.round(_e[1]*100)}%, ${Math.round(_e[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${z}, ${Math.round(ie)}%, ${Math.round(le)}%)`;break}case"rgb":{const{r:_e,g:Ce,b:$e}=hsv2rgb(z,ie,le);this.value=`rgb(${_e}, ${Ce}, ${$e})`;break}default:this.value=toHex$1(hsv2rgb(z,ie,le))}}}const _sfc_main$1v=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup($){const z=useNamespace("color-predefine"),{currentColor:ie}=inject(colorPickerContextKey),le=ref(pe($.colors,$.color));watch(()=>ie.value,_e=>{const Ce=new Color;Ce.fromString(_e),le.value.forEach($e=>{$e.selected=Ce.compare($e)})}),watchEffect(()=>{le.value=pe($.colors,$.color)});function ue(_e){$.color.fromString($.colors[_e])}function pe(_e,Ce){return _e.map($e=>{const xe=new Color;return xe.enableAlpha=!0,xe.format="rgba",xe.fromString($e),xe.selected=xe.value===Ce.value,xe})}return{rgbaColors:le,handleSelect:ue,ns:z}}}),_hoisted_1$N=["onClick"];function _sfc_render$r($,z,ie,le,ue,pe){return openBlock(),createElementBlock("div",{class:normalizeClass($.ns.b())},[createBaseVNode("div",{class:normalizeClass($.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.rgbaColors,(_e,Ce)=>(openBlock(),createElementBlock("div",{key:$.colors[Ce],class:normalizeClass([$.ns.e("color-selector"),$.ns.is("alpha",_e._alpha<100),{selected:_e.selected}]),onClick:$e=>$.handleSelect(Ce)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:_e.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($){const z=useNamespace("color-svpanel"),ie=getCurrentInstance(),le=ref(0),ue=ref(0),pe=ref("hsl(0, 100%, 50%)"),_e=computed(()=>{const xe=$.color.get("hue"),Ie=$.color.get("value");return{hue:xe,value:Ie}});function Ce(){const xe=$.color.get("saturation"),Ie=$.color.get("value"),Ve=ie.vnode.el,{clientWidth:ze,clientHeight:Ue}=Ve;ue.value=xe*ze/100,le.value=(100-Ie)*Ue/100,pe.value=`hsl(${$.color.get("hue")}, 100%, 50%)`}function $e(xe){const Ve=ie.vnode.el.getBoundingClientRect(),{clientX:ze,clientY:Ue}=getClientXY(xe);let qe=ze-Ve.left,Et=Ue-Ve.top;qe=Math.max(0,qe),qe=Math.min(qe,Ve.width),Et=Math.max(0,Et),Et=Math.min(Et,Ve.height),ue.value=qe,le.value=Et,$.color.set({saturation:qe/Ve.width*100,value:100-Et/Ve.height*100})}return watch(()=>_e.value,()=>{Ce()}),onMounted(()=>{draggable(ie.vnode.el,{drag:xe=>{$e(xe)},end:xe=>{$e(xe)}}),Ce()}),{cursorTop:le,cursorLeft:ue,background:pe,colorValue:_e,handleDrag:$e,update:Ce,ns:z}}}),_hoisted_1$M=createBaseVNode("div",null,null,-1),_hoisted_2$w=[_hoisted_1$M];function _sfc_render$q($,z,ie,le,ue,pe){return openBlock(),createElementBlock("div",{class:normalizeClass($.ns.b()),style:normalizeStyle$1({backgroundColor:$.background})},[createBaseVNode("div",{class:normalizeClass($.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass($.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass($.ns.e("cursor")),style:normalizeStyle$1({top:$.cursorTop+"px",left:$.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($,{expose:z,emit:ie}){const le=$,{t:ue}=useLocale(),pe=useNamespace("color"),{formItem:_e}=useFormItem(),Ce=useFormSize(),$e=useFormDisabled(),{inputId:xe,isLabeledByFormItem:Ie}=useFormItemInputId(le,{formItemContext:_e}),Ve=ref(),ze=ref(),Ue=ref(),qe=ref();let Et=!0;const Lt=reactive(new Color({enableAlpha:le.showAlpha,format:le.colorFormat||"",value:le.modelValue})),hn=ref(!1),vn=ref(!1),_n=ref(""),bn=computed(()=>!le.modelValue&&!vn.value?"transparent":Tn(Lt,le.showAlpha)),Cn=computed(()=>!le.modelValue&&!vn.value?"":Lt.value),Sn=computed(()=>Ie.value?void 0:le.label||ue("el.colorpicker.defaultLabel")),En=computed(()=>Ie.value?_e==null?void 0:_e.labelId:void 0),wn=computed(()=>[pe.b("picker"),pe.is("disabled",$e.value),pe.bm("picker",Ce.value)]);function Tn(Mn,zn){if(!(Mn instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:Kn,g:Hn,b:Xn}=Mn.toRgb();return zn?`rgba(${Kn}, ${Hn}, ${Xn}, ${Mn.get("alpha")/100})`:`rgb(${Kn}, ${Hn}, ${Xn})`}function kn(Mn){hn.value=Mn}const xn=debounce(kn,100);function Pn(){$e.value||kn(!0)}function An(){xn(!1),In()}function In(){nextTick(()=>{le.modelValue?Lt.fromString(le.modelValue):(Lt.value="",nextTick(()=>{vn.value=!1}))})}function Fn(){$e.value||xn(!hn.value)}function Dn(){Lt.fromString(_n.value)}function On(){const Mn=Lt.value;ie(UPDATE_MODEL_EVENT,Mn),ie("change",Mn),le.validateEvent&&(_e==null||_e.validate("change").catch(zn=>void 0)),xn(!1),nextTick(()=>{const zn=new Color({enableAlpha:le.showAlpha,format:le.colorFormat||"",value:le.modelValue});Lt.compare(zn)||In()})}function Vn(){xn(!1),ie(UPDATE_MODEL_EVENT,null),ie("change",null),le.modelValue!==null&&le.validateEvent&&(_e==null||_e.validate("change").catch(Mn=>void 0)),In()}return onMounted(()=>{le.modelValue&&(_n.value=Cn.value)}),watch(()=>le.modelValue,Mn=>{Mn?Mn&&Mn!==Lt.value&&(Et=!1,Lt.fromString(Mn)):vn.value=!1}),watch(()=>Cn.value,Mn=>{_n.value=Mn,Et&&ie("activeChange",Mn),Et=!0}),watch(()=>Lt.value,()=>{!le.modelValue&&!vn.value&&(vn.value=!0)}),watch(()=>hn.value,()=>{nextTick(()=>{var Mn,zn,Kn;(Mn=Ve.value)==null||Mn.update(),(zn=ze.value)==null||zn.update(),(Kn=Ue.value)==null||Kn.update()})}),provide(colorPickerContextKey,{currentColor:Cn}),z({color:Lt,show:Pn,hide:An}),(Mn,zn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:qe,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"),Mn.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:Ve,class:"hue-slider",color:unref(Lt),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref:"svPanel",color:unref(Lt)},null,8,["color"])],2),Mn.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:Ue,color:unref(Lt)},null,8,["color"])):createCommentVNode("v-if",!0),Mn.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(Lt),colors:Mn.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":zn[0]||(zn[0]=Kn=>_n.value=Kn),"validate-event":!1,size:"small",onKeyup:withKeys(Dn,["enter"]),onBlur:Dn},null,8,["modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(pe).be("dropdown","link-btn")),text:"",size:"small",onClick:Vn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(ue)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(pe).be("dropdown","btn")),onClick:On},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(ue)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)])),[[unref(ClickOutside),An]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(xe),class:normalizeClass(unref(wn)),role:"button","aria-label":unref(Sn),"aria-labelledby":unref(En),"aria-description":unref(ue)("el.colorpicker.description",{color:Mn.modelValue||""}),tabindex:Mn.tabindex,onKeydown:withKeys(Fn,["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:Fn},[createBaseVNode("span",{class:normalizeClass([unref(pe).be("picker","color"),unref(pe).is("alpha",Mn.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,Mn.modelValue||vn.value]]),!Mn.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($){const z=$,ie=useSlots(),le=useNamespace("container"),ue=computed(()=>z.direction==="vertical"?!0:z.direction==="horizontal"?!1:ie&&ie.default?ie.default().some(_e=>{const Ce=_e.type.name;return Ce==="ElHeader"||Ce==="ElFooter"}):!1);return(pe,_e)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(le).b(),unref(le).is("vertical",unref(ue))])},[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($){const z=$,ie=useNamespace("aside"),le=computed(()=>z.width?ie.cssVarBlock({width:z.width}):{});return(ue,pe)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(ie).b()),style:normalizeStyle$1(unref(le))},[renderSlot(ue.$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($){const z=$,ie=useNamespace("footer"),le=computed(()=>z.height?ie.cssVarBlock({height:z.height}):{});return(ue,pe)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(ie).b()),style:normalizeStyle$1(unref(le))},[renderSlot(ue.$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($){const z=$,ie=useNamespace("header"),le=computed(()=>z.height?ie.cssVarBlock({height:z.height}):{});return(ue,pe)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(ie).b()),style:normalizeStyle$1(unref(le))},[renderSlot(ue.$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($){const z=useNamespace("main");return(ie,le)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(z).b())},[renderSlot(ie.$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($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){return function(ie,le){var ue=le.prototype,pe=ue.format;ue.format=function(_e){var Ce=this,$e=this.$locale();if(!this.isValid())return pe.bind(this)(_e);var xe=this.$utils(),Ie=(_e||"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(Ve){switch(Ve){case"Q":return Math.ceil((Ce.$M+1)/3);case"Do":return $e.ordinal(Ce.$D);case"gggg":return Ce.weekYear();case"GGGG":return Ce.isoWeekYear();case"wo":return $e.ordinal(Ce.week(),"W");case"w":case"ww":return xe.s(Ce.week(),Ve==="w"?1:2,"0");case"W":case"WW":return xe.s(Ce.isoWeek(),Ve==="W"?1:2,"0");case"k":case"kk":return xe.s(String(Ce.$H===0?24:Ce.$H),Ve==="k"?1:2,"0");case"X":return Math.floor(Ce.$d.getTime()/1e3);case"x":return Ce.$d.getTime();case"z":return"["+Ce.offsetName()+"]";case"zzz":return"["+Ce.offsetName("long")+"]";default:return Ve}});return pe.bind(this)(Ie)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){var ie="week",le="year";return function(ue,pe,_e){var Ce=pe.prototype;Ce.week=function($e){if($e===void 0&&($e=null),$e!==null)return this.add(7*($e-this.week()),"day");var xe=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var Ie=_e(this).startOf(le).add(1,le).date(xe),Ve=_e(this).endOf(ie);if(Ie.isBefore(Ve))return 1}var ze=_e(this).startOf(le).date(xe).startOf(ie).subtract(1,"millisecond"),Ue=this.diff(ze,ie,!0);return Ue<0?_e(this).startOf("week").week():Math.ceil(Ue)},Ce.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($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){return function(ie,le){le.prototype.weekYear=function(){var ue=this.month(),pe=this.week(),_e=this.year();return pe===1&&ue===11?_e+1:ue===0&&pe>=52?_e-1:_e}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){return function(ie,le,ue){le.prototype.dayOfYear=function(pe){var _e=Math.round((ue(this).startOf("day")-ue(this).startOf("year"))/864e5)+1;return pe==null?_e:this.add(pe-_e,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){return function(ie,le){le.prototype.isSameOrAfter=function(ue,pe){return this.isSame(ue,pe)||this.isAfter(ue,pe)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){return function(ie,le){le.prototype.isSameOrBefore=function(ue,pe){return this.isSame(ue,pe)||this.isBefore(ue,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=$=>({type:String,values:selectionModes,default:$}),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=$=>{if(!isArray$c($))return!1;const[z,ie]=$;return dayjs.isDayjs(z)&&dayjs.isDayjs(ie)&&z.isSameOrBefore(ie)},getDefaultValue=($,{lang:z,unit:ie,unlinkPanels:le})=>{let ue;if(isArray$c($)){let[pe,_e]=$.map(Ce=>dayjs(Ce).locale(z));return le||(_e=pe.add(1,ie)),[pe,_e]}else $?ue=dayjs($):ue=dayjs();return ue=ue.locale(z),[ue,ue.add(1,ie)]},buildPickerTable=($,z,{columnIndexOffset:ie,startDate:le,nextEndDate:ue,now:pe,unit:_e,relativeDateGetter:Ce,setCellMetadata:$e,setRowMetadata:xe})=>{for(let Ie=0;Ie<$.row;Ie++){const Ve=z[Ie];for(let ze=0;ze<$.column;ze++){let Ue=Ve[ze+ie];Ue||(Ue={row:Ie,column:ze,type:"normal",inRange:!1,start:!1,end:!1});const qe=Ie*$.column+ze,Et=Ce(qe);Ue.dayjs=Et,Ue.date=Et.toDate(),Ue.timestamp=Et.valueOf(),Ue.type="normal",Ue.inRange=!!(le&&Et.isSameOrAfter(le,_e)&&ue&&Et.isSameOrBefore(ue,_e))||!!(le&&Et.isSameOrBefore(le,_e)&&ue&&Et.isSameOrAfter(ue,_e)),le!=null&&le.isSameOrAfter(ue)?(Ue.start=!!ue&&Et.isSame(ue,_e),Ue.end=le&&Et.isSame(le,_e)):(Ue.start=!!le&&Et.isSame(le,_e),Ue.end=!!ue&&Et.isSame(ue,_e)),Et.isSame(pe,_e)&&(Ue.type="today"),$e==null||$e(Ue,{rowIndex:Ie,columnIndex:ze}),Ve[ze+ie]=Ue}xe==null||xe(Ve)}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup($){const z=useNamespace("date-table-cell"),{slots:ie}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:le}=$;if(ie.default){const ue=ie.default(le).filter(pe=>pe.patchFlag!==-2&&pe.type.toString()!=="Symbol(Comment)");if(ue.length)return ue}return createVNode("div",{class:z.b()},[createVNode("span",{class:z.e("text")},[le==null?void 0:le.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($,{expose:z,emit:ie}){const le=$,ue=useNamespace("date-table"),{t:pe,lang:_e}=useLocale(),Ce=ref(),$e=ref(),xe=ref(),Ie=ref(),Ve=ref([[],[],[],[],[],[]]);let ze=!1;const Ue=le.date.$locale().weekStart||7,qe=le.date.locale("en").localeData().weekdaysShort().map(Hn=>Hn.toLowerCase()),Et=computed(()=>Ue>3?7-Ue:-Ue),Lt=computed(()=>{const Hn=le.date.startOf("month");return Hn.subtract(Hn.day()||7,"day")}),hn=computed(()=>qe.concat(qe).slice(Ue,Ue+7)),vn=computed(()=>flatten(wn.value).some(Hn=>Hn.isCurrent)),_n=computed(()=>{const Hn=le.date.startOf("month"),Xn=Hn.day()||7,lr=Hn.daysInMonth(),yr=Hn.subtract(1,"month").daysInMonth();return{startOfMonthDay:Xn,dateCountOfMonth:lr,dateCountOfLastMonth:yr}}),bn=computed(()=>le.selectionMode==="dates"?castArray(le.parsedValue):[]),Cn=(Hn,{count:Xn,rowIndex:lr,columnIndex:yr})=>{const{startOfMonthDay:ir,dateCountOfMonth:Yn,dateCountOfLastMonth:Gn}=unref(_n),Wn=unref(Et);if(lr>=0&&lr<=1){const Qn=ir+Wn<0?7+ir+Wn:ir+Wn;if(yr+lr*7>=Qn)return Hn.text=Xn,!0;Hn.text=Gn-(Qn-yr%7)+1+lr*7,Hn.type="prev-month"}else return Xn<=Yn?Hn.text=Xn:(Hn.text=Xn-Yn,Hn.type="next-month"),!0;return!1},Sn=(Hn,{columnIndex:Xn,rowIndex:lr},yr)=>{const{disabledDate:ir,cellClassName:Yn}=le,Gn=unref(bn),Wn=Cn(Hn,{count:yr,rowIndex:lr,columnIndex:Xn}),Qn=Hn.dayjs.toDate();return Hn.selected=Gn.find(fr=>fr.valueOf()===Hn.dayjs.valueOf()),Hn.isSelected=!!Hn.selected,Hn.isCurrent=xn(Hn),Hn.disabled=ir==null?void 0:ir(Qn),Hn.customClass=Yn==null?void 0:Yn(Qn),Wn},En=Hn=>{if(le.selectionMode==="week"){const[Xn,lr]=le.showWeekNumber?[1,7]:[0,6],yr=Kn(Hn[Xn+1]);Hn[Xn].inRange=yr,Hn[Xn].start=yr,Hn[lr].inRange=yr,Hn[lr].end=yr}},wn=computed(()=>{const{minDate:Hn,maxDate:Xn,rangeState:lr,showWeekNumber:yr}=le,ir=Et.value,Yn=Ve.value,Gn="day";let Wn=1;if(yr)for(let Qn=0;Qn<6;Qn++)Yn[Qn][0]||(Yn[Qn][0]={type:"week",text:Lt.value.add(Qn*7+1,Gn).week()});return buildPickerTable({row:6,column:7},Yn,{startDate:Hn,columnIndexOffset:yr?1:0,nextEndDate:lr.endDate||Xn||lr.selecting&&Hn||null,now:dayjs().locale(unref(_e)).startOf(Gn),unit:Gn,relativeDateGetter:Qn=>Lt.value.add(Qn-ir,Gn),setCellMetadata:(...Qn)=>{Sn(...Qn,Wn)&&(Wn+=1)},setRowMetadata:En}),Yn});watch(()=>le.date,async()=>{var Hn,Xn;(Hn=Ce.value)!=null&&Hn.contains(document.activeElement)&&(await nextTick(),(Xn=$e.value)==null||Xn.focus())});const Tn=async()=>{var Hn;(Hn=$e.value)==null||Hn.focus()},kn=(Hn="")=>["normal","today"].includes(Hn),xn=Hn=>le.selectionMode==="date"&&kn(Hn.type)&&Pn(Hn,le.parsedValue),Pn=(Hn,Xn)=>Xn?dayjs(Xn).locale(_e.value).isSame(le.date.date(Number(Hn.text)),"day"):!1,An=Hn=>{const Xn=[];return kn(Hn.type)&&!Hn.disabled?(Xn.push("available"),Hn.type==="today"&&Xn.push("today")):Xn.push(Hn.type),xn(Hn)&&Xn.push("current"),Hn.inRange&&(kn(Hn.type)||le.selectionMode==="week")&&(Xn.push("in-range"),Hn.start&&Xn.push("start-date"),Hn.end&&Xn.push("end-date")),Hn.disabled&&Xn.push("disabled"),Hn.selected&&Xn.push("selected"),Hn.customClass&&Xn.push(Hn.customClass),Xn.join(" ")},In=(Hn,Xn)=>{const lr=Hn*7+(Xn-(le.showWeekNumber?1:0))-Et.value;return Lt.value.add(lr,"day")},Fn=Hn=>{var Xn;if(!le.rangeState.selecting)return;let lr=Hn.target;if(lr.tagName==="SPAN"&&(lr=(Xn=lr.parentNode)==null?void 0:Xn.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!==xe.value||ir!==Ie.value)&&(xe.value=yr,Ie.value=ir,ie("changerange",{selecting:!0,endDate:In(yr,ir)}))},Dn=Hn=>!vn.value&&(Hn==null?void 0:Hn.text)===1&&Hn.type==="normal"||Hn.isCurrent,On=Hn=>{ze||vn.value||le.selectionMode!=="date"||zn(Hn,!0)},Vn=Hn=>{Hn.target.closest("td")&&(ze=!0)},Mn=Hn=>{Hn.target.closest("td")&&(ze=!1)},zn=(Hn,Xn=!1)=>{const lr=Hn.target.closest("td");if(!lr)return;const yr=lr.parentNode.rowIndex-1,ir=lr.cellIndex,Yn=wn.value[yr][ir];if(Yn.disabled||Yn.type==="week")return;const Gn=In(yr,ir);if(le.selectionMode==="range")!le.rangeState.selecting||!le.minDate?(ie("pick",{minDate:Gn,maxDate:null}),ie("select",!0)):(Gn>=le.minDate?ie("pick",{minDate:le.minDate,maxDate:Gn}):ie("pick",{minDate:Gn,maxDate:le.minDate}),ie("select",!1));else if(le.selectionMode==="date")ie("pick",Gn,Xn);else if(le.selectionMode==="week"){const Wn=Gn.week(),Qn=`${Gn.year()}w${Wn}`;ie("pick",{year:Gn.year(),week:Wn,value:Qn,date:Gn.startOf("week")})}else if(le.selectionMode==="dates"){const Wn=Yn.selected?castArray(le.parsedValue).filter(Qn=>(Qn==null?void 0:Qn.valueOf())!==Gn.valueOf()):castArray(le.parsedValue).concat([Gn]);ie("pick",Wn)}},Kn=Hn=>{if(le.selectionMode!=="week")return!1;let Xn=le.date.startOf("day");if(Hn.type==="prev-month"&&(Xn=Xn.subtract(1,"month")),Hn.type==="next-month"&&(Xn=Xn.add(1,"month")),Xn=Xn.date(Number.parseInt(Hn.text,10)),le.parsedValue&&!Array.isArray(le.parsedValue)){const lr=(le.parsedValue.day()-Ue+7)%7-1;return le.parsedValue.subtract(lr,"day").isSame(Xn,"day")}return!1};return z({focus:Tn}),(Hn,Xn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(pe)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:normalizeClass([unref(ue).b(),{"is-week-mode":Hn.selectionMode==="week"}]),onClick:zn,onMousemove:Fn,onMousedown:withModifiers(Vn,["prevent"]),onMouseup:Mn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Ce},[createBaseVNode("tr",null,[Hn.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(ue).e("row"),{current:Kn(lr[1])}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(lr,(ir,Yn)=>(openBlock(),createElementBlock("td",{key:`${yr}.${Yn}`,ref_for:!0,ref:Gn=>Dn(ir)&&($e.value=Gn),class:normalizeClass(An(ir)),"aria-current":ir.isCurrent?"date":void 0,"aria-selected":ir.isCurrent,tabindex:Dn(ir)?0:-1,onFocus:On},[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($,{expose:z,emit:ie}){const le=$,ue=(bn,Cn,Sn)=>{const En=dayjs().locale(Sn).startOf("month").month(Cn).year(bn),wn=En.daysInMonth();return rangeArr(wn).map(Tn=>En.add(Tn,"day").toDate())},pe=useNamespace("month-table"),{t:_e,lang:Ce}=useLocale(),$e=ref(),xe=ref(),Ie=ref(le.date.locale("en").localeData().monthsShort().map(bn=>bn.toLowerCase())),Ve=ref([[],[],[]]),ze=ref(),Ue=ref(),qe=computed(()=>{var bn,Cn;const Sn=Ve.value,En=dayjs().locale(Ce.value).startOf("month");for(let wn=0;wn<3;wn++){const Tn=Sn[wn];for(let kn=0;kn<4;kn++){const xn=Tn[kn]||(Tn[kn]={row:wn,column:kn,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});xn.type="normal";const Pn=wn*4+kn,An=le.date.startOf("year").month(Pn),In=le.rangeState.endDate||le.maxDate||le.rangeState.selecting&&le.minDate||null;xn.inRange=!!(le.minDate&&An.isSameOrAfter(le.minDate,"month")&&In&&An.isSameOrBefore(In,"month"))||!!(le.minDate&&An.isSameOrBefore(le.minDate,"month")&&In&&An.isSameOrAfter(In,"month")),(bn=le.minDate)!=null&&bn.isSameOrAfter(In)?(xn.start=!!(In&&An.isSame(In,"month")),xn.end=le.minDate&&An.isSame(le.minDate,"month")):(xn.start=!!(le.minDate&&An.isSame(le.minDate,"month")),xn.end=!!(In&&An.isSame(In,"month"))),En.isSame(An)&&(xn.type="today"),xn.text=Pn,xn.disabled=((Cn=le.disabledDate)==null?void 0:Cn.call(le,An.toDate()))||!1}}return Sn}),Et=()=>{var bn;(bn=xe.value)==null||bn.focus()},Lt=bn=>{const Cn={},Sn=le.date.year(),En=new Date,wn=bn.text;return Cn.disabled=le.disabledDate?ue(Sn,wn,Ce.value).every(le.disabledDate):!1,Cn.current=castArray(le.parsedValue).findIndex(Tn=>dayjs.isDayjs(Tn)&&Tn.year()===Sn&&Tn.month()===wn)>=0,Cn.today=En.getFullYear()===Sn&&En.getMonth()===wn,bn.inRange&&(Cn["in-range"]=!0,bn.start&&(Cn["start-date"]=!0),bn.end&&(Cn["end-date"]=!0)),Cn},hn=bn=>{const Cn=le.date.year(),Sn=bn.text;return castArray(le.date).findIndex(En=>En.year()===Cn&&En.month()===Sn)>=0},vn=bn=>{var Cn;if(!le.rangeState.selecting)return;let Sn=bn.target;if(Sn.tagName==="A"&&(Sn=(Cn=Sn.parentNode)==null?void 0:Cn.parentNode),Sn.tagName==="DIV"&&(Sn=Sn.parentNode),Sn.tagName!=="TD")return;const En=Sn.parentNode.rowIndex,wn=Sn.cellIndex;qe.value[En][wn].disabled||(En!==ze.value||wn!==Ue.value)&&(ze.value=En,Ue.value=wn,ie("changerange",{selecting:!0,endDate:le.date.startOf("year").month(En*4+wn)}))},_n=bn=>{var Cn;const Sn=(Cn=bn.target)==null?void 0:Cn.closest("td");if((Sn==null?void 0:Sn.tagName)!=="TD"||hasClass(Sn,"disabled"))return;const En=Sn.cellIndex,Tn=Sn.parentNode.rowIndex*4+En,kn=le.date.startOf("year").month(Tn);le.selectionMode==="range"?le.rangeState.selecting?(le.minDate&&kn>=le.minDate?ie("pick",{minDate:le.minDate,maxDate:kn}):ie("pick",{minDate:kn,maxDate:le.minDate}),ie("select",!1)):(ie("pick",{minDate:kn,maxDate:null}),ie("select",!0)):ie("pick",Tn)};return watch(()=>le.date,async()=>{var bn,Cn;(bn=$e.value)!=null&&bn.contains(document.activeElement)&&(await nextTick(),(Cn=xe.value)==null||Cn.focus())}),z({focus:Et}),(bn,Cn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(_e)("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(qe),(Sn,En)=>(openBlock(),createElementBlock("tr",{key:En},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Sn,(wn,Tn)=>(openBlock(),createElementBlock("td",{key:Tn,ref_for:!0,ref:kn=>hn(wn)&&(xe.value=kn),class:normalizeClass(Lt(wn)),"aria-selected":`${hn(wn)}`,"aria-label":unref(_e)(`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(_e)("el.datepicker.months."+Ie.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($,{expose:z,emit:ie}){const le=$,ue=(Et,Lt)=>{const hn=dayjs(String(Et)).locale(Lt).startOf("year"),_n=hn.endOf("year").dayOfYear();return rangeArr(_n).map(bn=>hn.add(bn,"day").toDate())},pe=useNamespace("year-table"),{t:_e,lang:Ce}=useLocale(),$e=ref(),xe=ref(),Ie=computed(()=>Math.floor(le.date.year()/10)*10),Ve=()=>{var Et;(Et=xe.value)==null||Et.focus()},ze=Et=>{const Lt={},hn=dayjs().locale(Ce.value);return Lt.disabled=le.disabledDate?ue(Et,Ce.value).every(le.disabledDate):!1,Lt.current=castArray(le.parsedValue).findIndex(vn=>vn.year()===Et)>=0,Lt.today=hn.year()===Et,Lt},Ue=Et=>Et===Ie.value&&le.date.year()<Ie.value&&le.date.year()>Ie.value+9||castArray(le.date).findIndex(Lt=>Lt.year()===Et)>=0,qe=Et=>{const hn=Et.target.closest("td");if(hn&&hn.textContent){if(hasClass(hn,"disabled"))return;const vn=hn.textContent||hn.innerText;ie("pick",Number(vn))}};return watch(()=>le.date,async()=>{var Et,Lt;(Et=$e.value)!=null&&Et.contains(document.activeElement)&&(await nextTick(),(Lt=xe.value)==null||Lt.focus())}),z({focus:Ve}),(Et,Lt)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(_e)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(pe).b()),onClick:qe},[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:Cn=>Ue(unref(Ie)+vn*4+bn)&&(xe.value=Cn),class:normalizeClass(["available",ze(unref(Ie)+vn*4+bn)]),"aria-selected":`${Ue(unref(Ie)+vn*4+bn)}`,tabindex:Ue(unref(Ie)+vn*4+bn)?0:-1,onKeydown:[withKeys(withModifiers(qe,["prevent","stop"]),["space"]),withKeys(withModifiers(qe,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$g,toDisplayString$1(unref(Ie)+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($,{emit:z}){const ie=$,le=(br,Tr,ur)=>!0,ue=useNamespace("picker-panel"),pe=useNamespace("date-picker"),_e=useAttrs$1(),Ce=useSlots(),{t:$e,lang:xe}=useLocale(),Ie=inject("EP_PICKER_BASE"),Ve=inject(TOOLTIP_INJECTION_KEY),{shortcuts:ze,disabledDate:Ue,cellClassName:qe,defaultTime:Et,arrowControl:Lt}=Ie.props,hn=toRef$1(Ie.props,"defaultValue"),vn=ref(),_n=ref(dayjs().locale(xe.value)),bn=ref(!1),Cn=computed(()=>dayjs(Et).locale(xe.value)),Sn=computed(()=>_n.value.month()),En=computed(()=>_n.value.year()),wn=ref([]),Tn=ref(null),kn=ref(null),xn=br=>wn.value.length>0?le(br,wn.value,ie.format||"HH:mm:ss"):!0,Pn=br=>Et&&!jn.value&&!bn.value?Cn.value.year(br.year()).month(br.month()).date(br.date()):ir.value?br.millisecond(0):br.startOf("day"),An=(br,...Tr)=>{if(!br)z("pick",br,...Tr);else if(isArray$c(br)){const ur=br.map(Pn);z("pick",ur,...Tr)}else z("pick",Pn(br),...Tr);Tn.value=null,kn.value=null,bn.value=!1},In=(br,Tr)=>{if(zn.value==="date"){br=br;let ur=ie.parsedValue?ie.parsedValue.year(br.year()).month(br.month()).date(br.date()):br;xn(ur)||(ur=wn.value[0][0].year(br.year()).month(br.month()).date(br.date())),_n.value=ur,An(ur,ir.value||Tr)}else zn.value==="week"?An(br.date):zn.value==="dates"&&An(br,!0)},Fn=br=>{const Tr=br?"add":"subtract";_n.value=_n.value[Tr](1,"month"),Nr("month")},Dn=br=>{const Tr=_n.value,ur=br?"add":"subtract";_n.value=On.value==="year"?Tr[ur](10,"year"):Tr[ur](1,"year"),Nr("year")},On=ref("date"),Vn=computed(()=>{const br=$e("el.datepicker.year");if(On.value==="year"){const Tr=Math.floor(En.value/10)*10;return br?`${Tr} ${br} - ${Tr+9} ${br}`:`${Tr} - ${Tr+9}`}return`${En.value} ${br}`}),Mn=br=>{const Tr=isFunction$5(br.value)?br.value():br.value;if(Tr){An(dayjs(Tr).locale(xe.value));return}br.onClick&&br.onClick({attrs:_e,slots:Ce,emit:z})},zn=computed(()=>{const{type:br}=ie;return["week","month","year","dates"].includes(br)?br:"date"}),Kn=computed(()=>zn.value==="date"?On.value:zn.value),Hn=computed(()=>!!ze.length),Xn=async br=>{_n.value=_n.value.startOf("month").month(br),zn.value==="month"?An(_n.value,!1):(On.value="date",["month","year","date","week"].includes(zn.value)&&(An(_n.value,!0),await nextTick(),Pr())),Nr("month")},lr=async br=>{zn.value==="year"?(_n.value=_n.value.startOf("year").year(br),An(_n.value,!1)):(_n.value=_n.value.year(br),On.value="month",["month","year","date","week"].includes(zn.value)&&(An(_n.value,!0),await nextTick(),Pr())),Nr("year")},yr=async br=>{On.value=br,await nextTick(),Pr()},ir=computed(()=>ie.type==="datetime"||ie.type==="datetimerange"),Yn=computed(()=>ir.value||zn.value==="dates"),Gn=()=>{if(zn.value==="dates")An(ie.parsedValue);else{let br=ie.parsedValue;if(!br){const Tr=dayjs(Et).locale(xe.value),ur=hr();br=Tr.year(ur.year()).month(ur.month()).date(ur.date())}_n.value=br,An(br)}},Wn=()=>{const Tr=dayjs().locale(xe.value).toDate();bn.value=!0,(!Ue||!Ue(Tr))&&xn(Tr)&&(_n.value=dayjs().locale(xe.value),An(_n.value))},Qn=computed(()=>extractTimeFormat(ie.format)),fr=computed(()=>extractDateFormat(ie.format)),jn=computed(()=>{if(kn.value)return kn.value;if(!(!ie.parsedValue&&!hn.value))return(ie.parsedValue||_n.value).format(Qn.value)}),Zn=computed(()=>{if(Tn.value)return Tn.value;if(!(!ie.parsedValue&&!hn.value))return(ie.parsedValue||_n.value).format(fr.value)}),rr=ref(!1),mr=()=>{rr.value=!0},_r=()=>{rr.value=!1},or=br=>({hour:br.hour(),minute:br.minute(),second:br.second(),year:br.year(),month:br.month(),date:br.date()}),$r=(br,Tr,ur)=>{const{hour:Jn,minute:ar,second:Sr}=or(br),Or=ie.parsedValue?ie.parsedValue.hour(Jn).minute(ar).second(Sr):br;_n.value=Or,An(_n.value,!0),ur||(rr.value=Tr)},gr=br=>{const Tr=dayjs(br,Qn.value).locale(xe.value);if(Tr.isValid()&&xn(Tr)){const{year:ur,month:Jn,date:ar}=or(_n.value);_n.value=Tr.year(ur).month(Jn).date(ar),kn.value=null,rr.value=!1,An(_n.value,!0)}},xr=br=>{const Tr=dayjs(br,fr.value).locale(xe.value);if(Tr.isValid()){if(Ue&&Ue(Tr.toDate()))return;const{hour:ur,minute:Jn,second:ar}=or(_n.value);_n.value=Tr.hour(ur).minute(Jn).second(ar),Tn.value=null,An(_n.value,!0)}},pr=br=>dayjs.isDayjs(br)&&br.isValid()&&(Ue?!Ue(br.toDate()):!0),sr=br=>zn.value==="dates"?br.map(Tr=>Tr.format(ie.format)):br.format(ie.format),cr=br=>dayjs(br,ie.format).locale(xe.value),hr=()=>{const br=dayjs(hn.value).locale(xe.value);if(!hn.value){const Tr=Cn.value;return dayjs().hour(Tr.hour()).minute(Tr.minute()).second(Tr.second()).locale(xe.value)}return br},Pr=async()=>{var br;["week","month","year","date"].includes(zn.value)&&((br=vn.value)==null||br.focus(),zn.value==="week"&&Lr(EVENT_CODE.down))},Dr=br=>{const{code:Tr}=br;[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(Tr)&&(Lr(Tr),br.stopPropagation(),br.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(Tr)&&Tn.value===null&&kn.value===null&&(br.preventDefault(),An(_n.value,!1))},Lr=br=>{var Tr;const{up:ur,down:Jn,left:ar,right:Sr,home:Or,end:Vr,pageUp:Cr,pageDown:Mr}=EVENT_CODE,Fr={year:{[ur]:-4,[Jn]:4,[ar]:-1,[Sr]:1,offset:(Gr,Yr)=>Gr.setFullYear(Gr.getFullYear()+Yr)},month:{[ur]:-4,[Jn]:4,[ar]:-1,[Sr]:1,offset:(Gr,Yr)=>Gr.setMonth(Gr.getMonth()+Yr)},week:{[ur]:-1,[Jn]:1,[ar]:-1,[Sr]:1,offset:(Gr,Yr)=>Gr.setDate(Gr.getDate()+Yr*7)},date:{[ur]:-7,[Jn]:7,[ar]:-1,[Sr]:1,[Or]:Gr=>-Gr.getDay(),[Vr]:Gr=>-Gr.getDay()+6,[Cr]:Gr=>-new Date(Gr.getFullYear(),Gr.getMonth(),0).getDate(),[Mr]:Gr=>new Date(Gr.getFullYear(),Gr.getMonth()+1,0).getDate(),offset:(Gr,Yr)=>Gr.setDate(Gr.getDate()+Yr)}},jr=_n.value.toDate();for(;Math.abs(_n.value.diff(jr,"year",!0))<1;){const Gr=Fr[Kn.value];if(!Gr)return;if(Gr.offset(jr,isFunction$5(Gr[br])?Gr[br](jr):(Tr=Gr[br])!=null?Tr:0),Ue&&Ue(jr))break;const Yr=dayjs(jr).locale(xe.value);_n.value=Yr,z("pick",Yr,!0);break}},Nr=br=>{z("panel-change",_n.value.toDate(),br,On.value)};return watch(()=>zn.value,br=>{if(["month","year"].includes(br)){On.value=br;return}On.value="date"},{immediate:!0}),watch(()=>On.value,()=>{Ve==null||Ve.updatePopper()}),watch(()=>hn.value,br=>{br&&(_n.value=hr())},{immediate:!0}),watch(()=>ie.parsedValue,br=>{if(br){if(zn.value==="dates"||Array.isArray(br))return;_n.value=br}else _n.value=hr()},{immediate:!0}),z("set-picker-option",["isValidValue",pr]),z("set-picker-option",["formatToString",sr]),z("set-picker-option",["parseUserInput",cr]),z("set-picker-option",["handleFocusPicker",Pr]),(br,Tr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b(),unref(pe).b(),{"has-sidebar":br.$slots.sidebar||unref(Hn),"has-time":unref(ir)}])},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("body-wrapper"))},[renderSlot(br.$slots,"sidebar",{class:normalizeClass(unref(ue).e("sidebar"))}),unref(Hn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ze),(ur,Jn)=>(openBlock(),createElementBlock("button",{key:Jn,type:"button",class:normalizeClass(unref(ue).e("shortcut")),onClick:ar=>Mn(ur)},toDisplayString$1(ur.text),11,_hoisted_1$H))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).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(Zn),size:"small","validate-event":!1,onInput:Tr[0]||(Tr[0]=ur=>Tn.value=ur),onChange:xr},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(jn),size:"small","validate-event":!1,onFocus:mr,onInput:Tr[1]||(Tr[1]=ur=>kn.value=ur),onChange:gr},null,8,["placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:rr.value,format:unref(Qn),"time-arrow-control":unref(Lt),"parsed-value":_n.value,onPick:$r},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),_r]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(pe).e("header"),(On.value==="year"||On.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(ue).e("icon-btn")]),onClick:Tr[2]||(Tr[2]=ur=>Dn(!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(ue).e("icon-btn"),"arrow-left"]),onClick:Tr[3]||(Tr[3]=ur=>Fn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$f),[[vShow,On.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(pe).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Tr[4]||(Tr[4]=withKeys(ur=>yr("year"),["enter"])),onClick:Tr[5]||(Tr[5]=ur=>yr("year"))},toDisplayString$1(unref(Vn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(pe).e("header-label"),{active:On.value==="month"}]),onKeydown:Tr[6]||(Tr[6]=withKeys(ur=>yr("month"),["enter"])),onClick:Tr[7]||(Tr[7]=ur=>yr("month"))},toDisplayString$1(unref($e)(`el.datepicker.month${unref(Sn)+1}`)),35),[[vShow,On.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(ue).e("icon-btn"),"arrow-right"]),onClick:Tr[8]||(Tr[8]=ur=>Fn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_4$a),[[vShow,On.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref($e)("el.datepicker.nextYear"),class:normalizeClass([unref(ue).e("icon-btn"),"d-arrow-right"]),onClick:Tr[9]||(Tr[9]=ur=>Dn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$7)],2)],2),[[vShow,On.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(ue).e("content")),onKeydown:Dr},[On.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:vn,"selection-mode":unref(zn),date:_n.value,"parsed-value":br.parsedValue,"disabled-date":unref(Ue),"cell-class-name":unref(qe),onPick:In},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),On.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:vn,date:_n.value,"disabled-date":unref(Ue),"parsed-value":br.parsedValue,onPick:lr},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),On.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:vn,date:_n.value,"parsed-value":br.parsedValue,"disabled-date":unref(Ue),onPick:Xn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(ue).e("footer"))},[withDirectives(createVNode(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(ue).e("link-btn")),onClick:Wn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.now")),1)]),_:1},8,["class"]),[[vShow,unref(zn)!=="dates"]]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(ue).e("link-btn")),onClick:Gn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.confirm")),1)]),_:1},8,["class"])],2),[[vShow,unref(Yn)&&On.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=$=>{const{emit:z}=getCurrentInstance(),ie=useAttrs$1(),le=useSlots();return pe=>{const _e=isFunction$5(pe.value)?pe.value():pe.value;if(_e){z("pick",[dayjs(_e[0]).locale($.value),dayjs(_e[1]).locale($.value)]);return}pe.onClick&&pe.onClick({attrs:ie,slots:le,emit:z})}},useRangePicker=($,{defaultValue:z,leftDate:ie,rightDate:le,unit:ue,onParsedValueChanged:pe})=>{const{emit:_e}=getCurrentInstance(),{pickerNs:Ce}=inject(ROOT_PICKER_INJECTION_KEY),$e=useNamespace("date-range-picker"),{t:xe,lang:Ie}=useLocale(),Ve=useShortcut(Ie),ze=ref(),Ue=ref(),qe=ref({endDate:null,selecting:!1}),Et=_n=>{qe.value=_n},Lt=(_n=!1)=>{const bn=unref(ze),Cn=unref(Ue);isValidRange([bn,Cn])&&_e("pick",[bn,Cn],_n)},hn=_n=>{qe.value.selecting=_n,_n||(qe.value.endDate=null)},vn=()=>{const[_n,bn]=getDefaultValue(unref(z),{lang:unref(Ie),unit:ue,unlinkPanels:$.unlinkPanels});ze.value=void 0,Ue.value=void 0,ie.value=_n,le.value=bn};return watch(z,_n=>{_n&&vn()},{immediate:!0}),watch(()=>$.parsedValue,_n=>{if(isArray$c(_n)&&_n.length===2){const[bn,Cn]=_n;ze.value=bn,ie.value=bn,Ue.value=Cn,pe(unref(ze),unref(Ue))}else vn()},{immediate:!0}),{minDate:ze,maxDate:Ue,rangeState:qe,lang:Ie,ppNs:Ce,drpNs:$e,handleChangeRange:Et,handleRangeConfirm:Lt,handleShortcutClick:Ve,onSelect:hn,t:xe}},_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($,{emit:z}){const ie=$,le=inject("EP_PICKER_BASE"),{disabledDate:ue,cellClassName:pe,format:_e,defaultTime:Ce,arrowControl:$e,clearable:xe}=le.props,Ie=toRef$1(le.props,"shortcuts"),Ve=toRef$1(le.props,"defaultValue"),{lang:ze}=useLocale(),Ue=ref(dayjs().locale(ze.value)),qe=ref(dayjs().locale(ze.value).add(1,unit$1)),{minDate:Et,maxDate:Lt,rangeState:hn,ppNs:vn,drpNs:_n,handleChangeRange:bn,handleRangeConfirm:Cn,handleShortcutClick:Sn,onSelect:En,t:wn}=useRangePicker(ie,{defaultValue:Ve,leftDate:Ue,rightDate:qe,unit:unit$1,onParsedValueChanged:Jn}),Tn=ref({min:null,max:null}),kn=ref({min:null,max:null}),xn=computed(()=>`${Ue.value.year()} ${wn("el.datepicker.year")} ${wn(`el.datepicker.month${Ue.value.month()+1}`)}`),Pn=computed(()=>`${qe.value.year()} ${wn("el.datepicker.year")} ${wn(`el.datepicker.month${qe.value.month()+1}`)}`),An=computed(()=>Ue.value.year()),In=computed(()=>Ue.value.month()),Fn=computed(()=>qe.value.year()),Dn=computed(()=>qe.value.month()),On=computed(()=>!!Ie.value.length),Vn=computed(()=>Tn.value.min!==null?Tn.value.min:Et.value?Et.value.format(Xn.value):""),Mn=computed(()=>Tn.value.max!==null?Tn.value.max:Lt.value||Et.value?(Lt.value||Et.value).format(Xn.value):""),zn=computed(()=>kn.value.min!==null?kn.value.min:Et.value?Et.value.format(Hn.value):""),Kn=computed(()=>kn.value.max!==null?kn.value.max:Lt.value||Et.value?(Lt.value||Et.value).format(Hn.value):""),Hn=computed(()=>extractTimeFormat(_e)),Xn=computed(()=>extractDateFormat(_e)),lr=()=>{Ue.value=Ue.value.subtract(1,"year"),ie.unlinkPanels||(qe.value=Ue.value.add(1,"month")),jn("year")},yr=()=>{Ue.value=Ue.value.subtract(1,"month"),ie.unlinkPanels||(qe.value=Ue.value.add(1,"month")),jn("month")},ir=()=>{ie.unlinkPanels?qe.value=qe.value.add(1,"year"):(Ue.value=Ue.value.add(1,"year"),qe.value=Ue.value.add(1,"month")),jn("year")},Yn=()=>{ie.unlinkPanels?qe.value=qe.value.add(1,"month"):(Ue.value=Ue.value.add(1,"month"),qe.value=Ue.value.add(1,"month")),jn("month")},Gn=()=>{Ue.value=Ue.value.add(1,"year"),jn("year")},Wn=()=>{Ue.value=Ue.value.add(1,"month"),jn("month")},Qn=()=>{qe.value=qe.value.subtract(1,"year"),jn("year")},fr=()=>{qe.value=qe.value.subtract(1,"month"),jn("month")},jn=ar=>{z("panel-change",[Ue.value.toDate(),qe.value.toDate()],ar)},Zn=computed(()=>{const ar=(In.value+1)%12,Sr=In.value+1>=12?1:0;return ie.unlinkPanels&&new Date(An.value+Sr,ar)<new Date(Fn.value,Dn.value)}),rr=computed(()=>ie.unlinkPanels&&Fn.value*12+Dn.value-(An.value*12+In.value+1)>=12),mr=computed(()=>!(Et.value&&Lt.value&&!hn.value.selecting&&isValidRange([Et.value,Lt.value]))),_r=computed(()=>ie.type==="datetime"||ie.type==="datetimerange"),or=(ar,Sr)=>{if(ar)return Ce?dayjs(Ce[Sr]||Ce).locale(ze.value).year(ar.year()).month(ar.month()).date(ar.date()):ar},$r=(ar,Sr=!0)=>{const Or=ar.minDate,Vr=ar.maxDate,Cr=or(Or,0),Mr=or(Vr,1);Lt.value===Mr&&Et.value===Cr||(z("calendar-change",[Or.toDate(),Vr&&Vr.toDate()]),Lt.value=Mr,Et.value=Cr,!(!Sr||_r.value)&&Cn())},gr=ref(!1),xr=ref(!1),pr=()=>{gr.value=!1},sr=()=>{xr.value=!1},cr=(ar,Sr)=>{Tn.value[Sr]=ar;const Or=dayjs(ar,Xn.value).locale(ze.value);if(Or.isValid()){if(ue&&ue(Or.toDate()))return;Sr==="min"?(Ue.value=Or,Et.value=(Et.value||Ue.value).year(Or.year()).month(Or.month()).date(Or.date()),ie.unlinkPanels||(qe.value=Or.add(1,"month"),Lt.value=Et.value.add(1,"month"))):(qe.value=Or,Lt.value=(Lt.value||qe.value).year(Or.year()).month(Or.month()).date(Or.date()),ie.unlinkPanels||(Ue.value=Or.subtract(1,"month"),Et.value=Lt.value.subtract(1,"month")))}},hr=(ar,Sr)=>{Tn.value[Sr]=null},Pr=(ar,Sr)=>{kn.value[Sr]=ar;const Or=dayjs(ar,Hn.value).locale(ze.value);Or.isValid()&&(Sr==="min"?(gr.value=!0,Et.value=(Et.value||Ue.value).hour(Or.hour()).minute(Or.minute()).second(Or.second()),(!Lt.value||Lt.value.isBefore(Et.value))&&(Lt.value=Et.value)):(xr.value=!0,Lt.value=(Lt.value||qe.value).hour(Or.hour()).minute(Or.minute()).second(Or.second()),qe.value=Lt.value,Lt.value&&Lt.value.isBefore(Et.value)&&(Et.value=Lt.value)))},Dr=(ar,Sr)=>{kn.value[Sr]=null,Sr==="min"?(Ue.value=Et.value,gr.value=!1):(qe.value=Lt.value,xr.value=!1)},Lr=(ar,Sr,Or)=>{kn.value.min||(ar&&(Ue.value=ar,Et.value=(Et.value||Ue.value).hour(ar.hour()).minute(ar.minute()).second(ar.second())),Or||(gr.value=Sr),(!Lt.value||Lt.value.isBefore(Et.value))&&(Lt.value=Et.value,qe.value=ar))},Nr=(ar,Sr,Or)=>{kn.value.max||(ar&&(qe.value=ar,Lt.value=(Lt.value||qe.value).hour(ar.hour()).minute(ar.minute()).second(ar.second())),Or||(xr.value=Sr),Lt.value&&Lt.value.isBefore(Et.value)&&(Et.value=Lt.value))},br=()=>{Ue.value=getDefaultValue(unref(Ve),{lang:unref(ze),unit:"month",unlinkPanels:ie.unlinkPanels})[0],qe.value=Ue.value.add(1,"month"),z("pick",null)},Tr=ar=>isArray$c(ar)?ar.map(Sr=>Sr.format(_e)):ar.format(_e),ur=ar=>isArray$c(ar)?ar.map(Sr=>dayjs(Sr,_e).locale(ze.value)):dayjs(ar,_e).locale(ze.value);function Jn(ar,Sr){if(ie.unlinkPanels&&Sr){const Or=(ar==null?void 0:ar.year())||0,Vr=(ar==null?void 0:ar.month())||0,Cr=Sr.year(),Mr=Sr.month();qe.value=Or===Cr&&Vr===Mr?Sr.add(1,unit$1):Sr}else qe.value=Ue.value.add(1,unit$1),Sr&&(qe.value=qe.value.hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()))}return z("set-picker-option",["isValidValue",isValidRange]),z("set-picker-option",["parseUserInput",ur]),z("set-picker-option",["formatToString",Tr]),z("set-picker-option",["handleClear",br]),(ar,Sr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b(),unref(_n).b(),{"has-sidebar":ar.$slots.sidebar||unref(On),"has-time":unref(_r)}])},[createBaseVNode("div",{class:normalizeClass(unref(vn).e("body-wrapper"))},[renderSlot(ar.$slots,"sidebar",{class:normalizeClass(unref(vn).e("sidebar"))}),unref(On)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),(Or,Vr)=>(openBlock(),createElementBlock("button",{key:Vr,type:"button",class:normalizeClass(unref(vn).e("shortcut")),onClick:Cr=>unref(Sn)(Or)},toDisplayString$1(Or.text),11,_hoisted_1$G))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("body"))},[unref(_r)?(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(Vn),"validate-event":!1,onInput:Sr[0]||(Sr[0]=Or=>cr(Or,"min")),onChange:Sr[1]||(Sr[1]=Or=>hr(Or,"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(zn),"validate-event":!1,onFocus:Sr[2]||(Sr[2]=Or=>gr.value=!0),onInput:Sr[3]||(Sr[3]=Or=>Pr(Or,"min")),onChange:Sr[4]||(Sr[4]=Or=>Dr(Or,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:gr.value,format:unref(Hn),"datetime-role":"start","time-arrow-control":unref($e),"parsed-value":Ue.value,onPick:Lr},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),pr]])],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(Mn),readonly:!unref(Et),"validate-event":!1,onInput:Sr[5]||(Sr[5]=Or=>cr(Or,"max")),onChange:Sr[6]||(Sr[6]=Or=>hr(Or,"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(Kn),readonly:!unref(Et),"validate-event":!1,onFocus:Sr[7]||(Sr[7]=Or=>unref(Et)&&(xr.value=!0)),onInput:Sr[8]||(Sr[8]=Or=>Pr(Or,"max")),onChange:Sr[9]||(Sr[9]=Or=>Dr(Or,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode(unref(TimePickPanel),{"datetime-role":"end",visible:xr.value,format:unref(Hn),"time-arrow-control":unref($e),"parsed-value":qe.value,onPick:Nr},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),sr]])],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),ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(rr),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(rr)}],"d-arrow-right"]),onClick:Gn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"arrow-right"]),onClick:Wn},[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(xn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Ue.value,"min-date":unref(Et),"max-date":unref(Lt),"range-state":unref(hn),"disabled-date":unref(ue),"cell-class-name":unref(pe),onChangerange:unref(bn),onPick:$r,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"))},[ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(rr),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(rr)}],"d-arrow-left"]),onClick:Qn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_4$9)):createCommentVNode("v-if",!0),ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(vn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"arrow-left"]),onClick:fr},[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:Yn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref(Pn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:qe.value,"min-date":unref(Et),"max-date":unref(Lt),"range-state":unref(hn),"disabled-date":unref(ue),"cell-class-name":unref(pe),onChangerange:unref(bn),onPick:$r,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(_r)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("footer"))},[unref(xe)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(vn).e("link-btn")),onClick:br},{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(mr),onClick:Sr[10]||(Sr[10]=Or=>unref(Cn)(!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:$,leftDate:z,rightDate:ie})=>{const{t:le}=useLocale(),ue=()=>{z.value=z.value.subtract(1,"year"),$.value||(ie.value=ie.value.subtract(1,"year"))},pe=()=>{$.value||(z.value=z.value.add(1,"year")),ie.value=ie.value.add(1,"year")},_e=()=>{z.value=z.value.add(1,"year")},Ce=()=>{ie.value=ie.value.subtract(1,"year")},$e=computed(()=>`${z.value.year()} ${le("el.datepicker.year")}`),xe=computed(()=>`${ie.value.year()} ${le("el.datepicker.year")}`),Ie=computed(()=>z.value.year()),Ve=computed(()=>ie.value.year()===z.value.year()?z.value.year()+1:ie.value.year());return{leftPrevYear:ue,rightNextYear:pe,leftNextYear:_e,rightPrevYear:Ce,leftLabel:$e,rightLabel:xe,leftYear:Ie,rightYear:Ve}},_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($,{emit:z}){const ie=$,{lang:le}=useLocale(),ue=inject("EP_PICKER_BASE"),{shortcuts:pe,disabledDate:_e,format:Ce}=ue.props,$e=toRef$1(ue.props,"defaultValue"),xe=ref(dayjs().locale(le.value)),Ie=ref(dayjs().locale(le.value).add(1,unit)),{minDate:Ve,maxDate:ze,rangeState:Ue,ppNs:qe,drpNs:Et,handleChangeRange:Lt,handleRangeConfirm:hn,handleShortcutClick:vn,onSelect:_n}=useRangePicker(ie,{defaultValue:$e,leftDate:xe,rightDate:Ie,unit,onParsedValueChanged:Dn}),bn=computed(()=>!!pe.length),{leftPrevYear:Cn,rightNextYear:Sn,leftNextYear:En,rightPrevYear:wn,leftLabel:Tn,rightLabel:kn,leftYear:xn,rightYear:Pn}=useMonthRangeHeader({unlinkPanels:toRef$1(ie,"unlinkPanels"),leftDate:xe,rightDate:Ie}),An=computed(()=>ie.unlinkPanels&&Pn.value>xn.value+1),In=(On,Vn=!0)=>{const Mn=On.minDate,zn=On.maxDate;ze.value===zn&&Ve.value===Mn||(ze.value=zn,Ve.value=Mn,Vn&&hn())},Fn=On=>On.map(Vn=>Vn.format(Ce));function Dn(On,Vn){if(ie.unlinkPanels&&Vn){const Mn=(On==null?void 0:On.year())||0,zn=Vn.year();Ie.value=Mn===zn?Vn.add(1,unit):Vn}else Ie.value=xe.value.add(1,unit)}return z("set-picker-option",["formatToString",Fn]),(On,Vn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(Et).b(),{"has-sidebar":!!On.$slots.sidebar||unref(bn)}])},[createBaseVNode("div",{class:normalizeClass(unref(qe).e("body-wrapper"))},[renderSlot(On.$slots,"sidebar",{class:normalizeClass(unref(qe).e("sidebar"))}),unref(bn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(pe),(Mn,zn)=>(openBlock(),createElementBlock("button",{key:zn,type:"button",class:normalizeClass(unref(qe).e("shortcut")),onClick:Kn=>unref(vn)(Mn)},toDisplayString$1(Mn.text),11,_hoisted_1$F))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(qe).e("content"),unref(Et).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Et).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("icon-btn"),"d-arrow-left"]),onClick:Vn[0]||(Vn[0]=(...Mn)=>unref(Cn)&&unref(Cn)(...Mn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),On.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(An),class:normalizeClass([[unref(qe).e("icon-btn"),{[unref(qe).is("disabled")]:!unref(An)}],"d-arrow-right"]),onClick:Vn[1]||(Vn[1]=(...Mn)=>unref(En)&&unref(En)(...Mn))},[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(Tn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:xe.value,"min-date":unref(Ve),"max-date":unref(ze),"range-state":unref(Ue),"disabled-date":unref(_e),onChangerange:unref(Lt),onPick:In,onSelect:unref(_n)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(qe).e("content"),unref(Et).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Et).e("header"))},[On.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(An),class:normalizeClass([[unref(qe).e("icon-btn"),{"is-disabled":!unref(An)}],"d-arrow-left"]),onClick:Vn[2]||(Vn[2]=(...Mn)=>unref(wn)&&unref(wn)(...Mn))},[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(qe).e("icon-btn"),"d-arrow-right"]),onClick:Vn[3]||(Vn[3]=(...Mn)=>unref(Sn)&&unref(Sn)(...Mn))},[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:Ie.value,"min-date":unref(Ve),"max-date":unref(ze),"range-state":unref(Ue),"disabled-date":unref(_e),onChangerange:unref(Lt),onPick:In,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($){switch($){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($,{expose:z,emit:ie,slots:le}){const ue=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef$1($,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:le,pickerNs:ue});const pe=ref();z({focus:($e=!0)=>{var xe;(xe=pe.value)==null||xe.focus($e)},handleOpen:()=>{var $e;($e=pe.value)==null||$e.handleOpen()},handleClose:()=>{var $e;($e=pe.value)==null||$e.handleClose()}});const Ce=$e=>{ie("update:modelValue",$e)};return()=>{var $e;const xe=($e=$.format)!=null?$e:DEFAULT_FORMATS_DATEPICKER[$.type]||DEFAULT_FORMATS_DATE,Ie=getPanel($.type);return createVNode(CommonPicker,mergeProps($,{format:xe,type:$.type,ref:pe,"onUpdate:modelValue":Ce}),{default:Ve=>createVNode(Ie,Ve,null),"range-separator":le["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=$=>{$.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 $,z,ie,le,ue,pe;const _e=getNormalizedProps(this.cell),{border:Ce,direction:$e}=this.descriptions,xe=$e==="vertical",Ie=((ie=(z=($=this.cell)==null?void 0:$.children)==null?void 0:z.label)==null?void 0:ie.call(z))||_e.label,Ve=(pe=(ue=(le=this.cell)==null?void 0:le.children)==null?void 0:ue.default)==null?void 0:pe.call(ue),ze=_e.span,Ue=_e.align?`is-${_e.align}`:"",qe=_e.labelAlign?`is-${_e.labelAlign}`:Ue,Et=_e.className,Lt=_e.labelClassName,hn={width:addUnit(_e.width),minWidth:addUnit(_e.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",Ce),vn.is("vertical-label",xe),qe,Lt],colSpan:xe?ze:1},Ie);case"content":return h$3(this.tag,{style:hn,class:[vn.e("cell"),vn.e("content"),vn.is("bordered-content",Ce),vn.is("vertical-content",xe),Ue,Et],colSpan:xe?ze:ze*2-1},Ve);default:return h$3("td",{style:hn,class:[vn.e("cell"),Ue],colSpan:ze},[isNil(Ie)?void 0:h$3("span",{class:[vn.e("label"),Lt]},Ie),h$3("span",{class:[vn.e("content"),Et]},Ve)])}}});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($){const z=inject(descriptionsKey,{});return(ie,le)=>unref(z).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.row,(ue,pe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${pe}`,cell:ue,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.row,(ue,pe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${pe}`,cell:ue,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$E,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.row,(ue,pe)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${pe}`},[unref(z).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(unref(ElDescriptionsCell),{cell:ue,tag:"td",type:"label"},null,8,["cell"]),createVNode(unref(ElDescriptionsCell),{cell:ue,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:ue,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($){const z=$,ie=useNamespace("descriptions"),le=useFormSize(),ue=useSlots();provide(descriptionsKey,z);const pe=computed(()=>[ie.b(),ie.m(le.value)]),_e=($e,xe,Ie,Ve=!1)=>($e.props||($e.props={}),xe>Ie&&($e.props.span=Ie),Ve&&($e.props.span=xe),$e),Ce=()=>{var $e;const xe=flattedChildren(($e=ue.default)==null?void 0:$e.call(ue)).filter(qe=>{var Et;return((Et=qe==null?void 0:qe.type)==null?void 0:Et.name)==="ElDescriptionsItem"}),Ie=[];let Ve=[],ze=z.column,Ue=0;return xe.forEach((qe,Et)=>{var Lt;const hn=((Lt=qe.props)==null?void 0:Lt.span)||1;if(Et<xe.length-1&&(Ue+=hn>ze?ze:hn),Et===xe.length-1){const vn=z.column-Ue%z.column;Ve.push(_e(qe,vn,ze,!0)),Ie.push(Ve);return}hn<ze?(ze-=hn,Ve.push(qe)):(Ve.push(_e(qe,hn,ze)),Ie.push(Ve),ze=z.column,Ve=[])}),Ie};return($e,xe)=>(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(ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("title"))},[renderSlot($e.$slots,"title",{},()=>[createTextVNode(toDisplayString$1($e.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(ie).e("extra"))},[renderSlot($e.$slots,"extra",{},()=>[createTextVNode(toDisplayString$1($e.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(ie).e("table"),unref(ie).is("bordered",$e.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ce(),(Ie,Ve)=>(openBlock(),createBlock(ElDescriptionsRow,{key:Ve,row:Ie},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:$=>$ instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup($,{slots:z,emit:ie}){const le=useNamespace(BLOCK),ue=$e=>{ie("click",$e)},{onClick:pe,onMousedown:_e,onMouseup:Ce}=useSameTarget($.customMaskEvent?void 0:ue);return()=>$.mask?createVNode("div",{class:[le.b(),$.overlayClass],style:{zIndex:$.zIndex},onClick:pe,onMousedown:_e,onMouseup:Ce},[renderSlot(z,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$3("div",{class:$.overlayClass,style:{zIndex:$.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(z,"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($){const z=$,{t:ie}=useLocale(),{Close:le}=CloseComponents,{dialogRef:ue,headerRef:pe,bodyId:_e,ns:Ce,style:$e}=inject(dialogInjectionKey),{focusTrapRef:xe}=inject(FOCUS_TRAP_INJECTION_KEY),Ie=composeRefs(xe,ue),Ve=computed(()=>z.draggable);return useDraggable(ue,pe,Ve),(ze,Ue)=>(openBlock(),createElementBlock("div",{ref:unref(Ie),class:normalizeClass([unref(Ce).b(),unref(Ce).is("fullscreen",ze.fullscreen),unref(Ce).is("draggable",unref(Ve)),unref(Ce).is("align-center",ze.alignCenter),{[unref(Ce).m("center")]:ze.center},ze.customClass]),style:normalizeStyle$1(unref($e)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:pe,class:normalizeClass(unref(Ce).e("header"))},[renderSlot(ze.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(Ce).e("title"))},toDisplayString$1(ze.title),3)]),ze.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(ie)("el.dialog.close"),class:normalizeClass(unref(Ce).e("headerbtn")),type:"button",onClick:Ue[0]||(Ue[0]=qe=>ze.$emit("close"))},[createVNode(unref(ElIcon),{class:normalizeClass(unref(Ce).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ze.closeIcon||unref(le))))]),_:1},8,["class"])],10,_hoisted_1$D)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(_e),class:normalizeClass(unref(Ce).e("body"))},[renderSlot(ze.$slots,"default")],10,_hoisted_2$p),ze.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(Ce).e("footer"))},[renderSlot(ze.$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]:$=>isBoolean$3($),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=($,z)=>{const le=getCurrentInstance().emit,{nextZIndex:ue}=useZIndex();let pe="";const _e=useId(),Ce=useId(),$e=ref(!1),xe=ref(!1),Ie=ref(!1),Ve=ref($.zIndex||ue());let ze,Ue;const qe=useGlobalConfig("namespace",defaultNamespace),Et=computed(()=>{const In={},Fn=`--${qe.value}-dialog`;return $.fullscreen||($.top&&(In[`${Fn}-margin-top`]=$.top),$.width&&(In[`${Fn}-width`]=addUnit($.width))),In}),Lt=computed(()=>$.alignCenter?{display:"flex"}:{});function hn(){le("opened")}function vn(){le("closed"),le(UPDATE_MODEL_EVENT,!1),$.destroyOnClose&&(Ie.value=!1)}function _n(){le("close")}function bn(){Ue==null||Ue(),ze==null||ze(),$.openDelay&&$.openDelay>0?{stop:ze}=useTimeoutFn$1(()=>wn(),$.openDelay):wn()}function Cn(){ze==null||ze(),Ue==null||Ue(),$.closeDelay&&$.closeDelay>0?{stop:Ue}=useTimeoutFn$1(()=>Tn(),$.closeDelay):Tn()}function Sn(){function In(Fn){Fn||(xe.value=!0,$e.value=!1)}$.beforeClose?$.beforeClose(In):Cn()}function En(){$.closeOnClickModal&&Sn()}function wn(){isClient$1&&($e.value=!0)}function Tn(){$e.value=!1}function kn(){le("openAutoFocus")}function xn(){le("closeAutoFocus")}function Pn(In){var Fn;((Fn=In.detail)==null?void 0:Fn.focusReason)==="pointer"&&In.preventDefault()}$.lockScroll&&useLockscreen($e);function An(){$.closeOnPressEscape&&Sn()}return watch(()=>$.modelValue,In=>{In?(xe.value=!1,bn(),Ie.value=!0,Ve.value=$.zIndex?Ve.value++:ue(),nextTick(()=>{le("open"),z.value&&(z.value.scrollTop=0)})):$e.value&&Cn()}),watch(()=>$.fullscreen,In=>{z.value&&(In?(pe=z.value.style.transform,z.value.style.transform=""):z.value.style.transform=pe)}),onMounted(()=>{$.modelValue&&($e.value=!0,Ie.value=!0,bn())}),{afterEnter:hn,afterLeave:vn,beforeLeave:_n,handleClose:Sn,onModalClick:En,close:Cn,doClose:Tn,onOpenAutoFocus:kn,onCloseAutoFocus:xn,onCloseRequested:An,onFocusoutPrevented:Pn,titleId:_e,bodyId:Ce,closed:xe,style:Et,overlayDialogStyle:Lt,rendered:Ie,visible:$e,zIndex:Ve}},_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($,{expose:z}){const ie=$,le=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(()=>!!le.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(()=>!!ie.customClass));const ue=useNamespace("dialog"),pe=ref(),_e=ref(),Ce=ref(),{visible:$e,titleId:xe,bodyId:Ie,style:Ve,overlayDialogStyle:ze,rendered:Ue,zIndex:qe,afterEnter:Et,afterLeave:Lt,beforeLeave:hn,handleClose:vn,onModalClick:_n,onOpenAutoFocus:bn,onCloseAutoFocus:Cn,onCloseRequested:Sn,onFocusoutPrevented:En}=useDialog(ie,pe);provide(dialogInjectionKey,{dialogRef:pe,headerRef:_e,bodyId:Ie,ns:ue,rendered:Ue,style:Ve});const wn=useSameTarget(_n),Tn=computed(()=>ie.draggable&&!ie.fullscreen);return z({visible:$e,dialogContentRef:Ce}),(kn,xn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!kn.appendToBody},[createVNode(Transition,{name:"dialog-fade",onAfterEnter:unref(Et),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(qe)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":kn.title||void 0,"aria-labelledby":kn.title?void 0:unref(xe),"aria-describedby":unref(Ie),class:normalizeClass(`${unref(ue).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(ze)),onClick:xn[0]||(xn[0]=(...Pn)=>unref(wn).onClick&&unref(wn).onClick(...Pn)),onMousedown:xn[1]||(xn[1]=(...Pn)=>unref(wn).onMousedown&&unref(wn).onMousedown(...Pn)),onMouseup:xn[2]||(xn[2]=(...Pn)=>unref(wn).onMouseup&&unref(wn).onMouseup(...Pn))},[createVNode(unref(ElFocusTrap),{loop:"",trapped:unref($e),"focus-start-el":"container",onFocusAfterTrapped:unref(bn),onFocusAfterReleased:unref(Cn),onFocusoutPrevented:unref(En),onReleaseRequested:unref(Sn)},{default:withCtx(()=>[unref(Ue)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:Ce},kn.$attrs,{"custom-class":kn.customClass,center:kn.center,"align-center":kn.alignCenter,"close-icon":kn.closeIcon,draggable:unref(Tn),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(xe),titleClass:unref(ue).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($){const z=$,ie=useNamespace("divider"),le=computed(()=>ie.cssVar({"border-style":z.borderStyle}));return(ue,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).b(),unref(ie).m(ue.direction)]),style:normalizeStyle$1(unref(le)),role:"separator"},[ue.$slots.default&&ue.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(ie).e("text"),unref(ie).is(ue.contentPosition)])},[renderSlot(ue.$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($,{slots:z}){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(()=>!!z.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(()=>!!$.customClass));const ie=ref(),le=ref(),ue=useNamespace("drawer"),{t:pe}=useLocale(),_e=computed(()=>$.direction==="rtl"||$.direction==="ltr"),Ce=computed(()=>addUnit($.size));return{...useDialog($,ie),drawerRef:ie,focusStartRef:le,isHorizontal:_e,drawerSize:Ce,ns:ue,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($,z,ie,le,ue,pe){const _e=resolveComponent("close"),Ce=resolveComponent("el-icon"),$e=resolveComponent("el-focus-trap"),xe=resolveComponent("el-overlay");return openBlock(),createBlock(Teleport,{to:"body",disabled:!$.appendToBody},[createVNode(Transition,{name:$.ns.b("fade"),onAfterEnter:$.afterEnter,onAfterLeave:$.afterLeave,onBeforeLeave:$.beforeLeave,persisted:""},{default:withCtx(()=>[withDirectives(createVNode(xe,{mask:$.modal,"overlay-class":$.modalClass,"z-index":$.zIndex,onClick:$.onModalClick},{default:withCtx(()=>[createVNode($e,{loop:"",trapped:$.visible,"focus-trap-el":$.drawerRef,"focus-start-el":$.focusStartRef,onReleaseRequested:$.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref:"drawerRef","aria-modal":"true","aria-label":$.title||void 0,"aria-labelledby":$.title?void 0:$.titleId,"aria-describedby":$.bodyId},$.$attrs,{class:[$.ns.b(),$.direction,$.visible&&"open",$.customClass],style:$.isHorizontal?"width: "+$.drawerSize:"height: "+$.drawerSize,role:"dialog",onClick:z[1]||(z[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref:"focusStartRef",class:normalizeClass($.ns.e("sr-focus")),tabindex:"-1"},null,2),$.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass($.ns.e("header"))},[$.$slots.title?renderSlot($.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot($.$slots,"header",{key:0,close:$.handleClose,titleId:$.titleId,titleClass:$.ns.e("title")},()=>[$.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:$.titleId,role:"heading",class:normalizeClass($.ns.e("title"))},toDisplayString$1($.title),11,_hoisted_2$o))]),$.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":$.t("el.drawer.close"),class:normalizeClass($.ns.e("close-btn")),type:"button",onClick:z[0]||(z[0]=(...Ie)=>$.handleClose&&$.handleClose(...Ie))},[createVNode(Ce,{class:normalizeClass($.ns.e("close"))},{default:withCtx(()=>[createVNode(_e)]),_:1},8,["class"])],10,_hoisted_3$c)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),$.rendered?(openBlock(),createElementBlock("div",{key:1,id:$.bodyId,class:normalizeClass($.ns.e("body"))},[renderSlot($.$slots,"default")],10,_hoisted_4$8)):createCommentVNode("v-if",!0),$.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass($.ns.e("footer"))},[renderSlot($.$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,$.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($,z,ie,le,ue,pe){return renderSlot($.$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($,z,ie,le,ue,pe){return renderSlot($.$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=$=>{const z=`El${$}Collection`,ie=`${z}Item`,le=Symbol(z),ue=Symbol(ie),pe={...Collection,name:z,setup(){const Ce=ref(null),$e=new Map;provide(le,{itemMap:$e,getItems:()=>{const Ie=unref(Ce);if(!Ie)return[];const Ve=Array.from(Ie.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...$e.values()].sort((Ue,qe)=>Ve.indexOf(Ue.ref)-Ve.indexOf(qe.ref))},collectionRef:Ce})}},_e={...CollectionItem,name:ie,setup(Ce,{attrs:$e}){const xe=ref(null),Ie=inject(le,void 0);provide(ue,{collectionItemRef:xe}),onMounted(()=>{const Ve=unref(xe);Ve&&Ie.itemMap.set(Ve,{ref:Ve,...$e})}),onBeforeUnmount(()=>{const Ve=unref(xe);Ie.itemMap.delete(Ve)})}};return{COLLECTION_INJECTION_KEY:le,COLLECTION_ITEM_INJECTION_KEY:ue,ElCollection:pe,ElCollectionItem:_e}},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=($,z)=>{if(z!=="rtl")return $;switch($){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return $}},getFocusIntent=($,z,ie)=>{const le=getDirectionAwareKey($.key,ie);if(!(z==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(le))&&!(z==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(le)))return MAP_KEY_TO_FOCUS_INTENT[le]},reorderArray=($,z)=>$.map((ie,le)=>$[(le+z)%$.length]),focusFirst=$=>{const{activeElement:z}=document;for(const ie of $)if(ie===z||(ie.focus(),z!==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($,{emit:z}){var ie;const le=ref((ie=$.currentTabId||$.defaultCurrentTabId)!=null?ie:null),ue=ref(!1),pe=ref(!1),_e=ref(null),{getItems:Ce}=inject(COLLECTION_INJECTION_KEY$1,void 0),$e=computed(()=>[{outline:"none"},$.style]),xe=Et=>{z(CURRENT_TAB_ID_CHANGE_EVT,Et)},Ie=()=>{ue.value=!0},Ve=composeEventHandlers(Et=>{var Lt;(Lt=$.onMousedown)==null||Lt.call($,Et)},()=>{pe.value=!0}),ze=composeEventHandlers(Et=>{var Lt;(Lt=$.onFocus)==null||Lt.call($,Et)},Et=>{const Lt=!unref(pe),{target:hn,currentTarget:vn}=Et;if(hn===vn&&Lt&&!unref(ue)){const _n=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(vn==null||vn.dispatchEvent(_n),!_n.defaultPrevented){const bn=Ce().filter(Tn=>Tn.focusable),Cn=bn.find(Tn=>Tn.active),Sn=bn.find(Tn=>Tn.id===unref(le)),wn=[Cn,Sn,...bn].filter(Boolean).map(Tn=>Tn.ref);focusFirst(wn)}}pe.value=!1}),Ue=composeEventHandlers(Et=>{var Lt;(Lt=$.onBlur)==null||Lt.call($,Et)},()=>{ue.value=!1}),qe=(...Et)=>{z("entryFocus",...Et)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(le),loop:toRef$1($,"loop"),tabIndex:computed(()=>unref(ue)?-1:0),rovingFocusGroupRef:_e,rovingFocusGroupRootStyle:$e,orientation:toRef$1($,"orientation"),dir:toRef$1($,"dir"),onItemFocus:xe,onItemShiftTab:Ie,onBlur:Ue,onFocus:ze,onMousedown:Ve}),watch(()=>$.currentTabId,Et=>{le.value=Et??null}),useEventListener$1(_e,ENTRY_FOCUS_EVT,qe)}});function _sfc_render$m($,z,ie,le,ue,pe){return renderSlot($.$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($,z,ie,le,ue,pe){const _e=resolveComponent("el-roving-focus-group-impl"),Ce=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(Ce,null,{default:withCtx(()=>[createVNode(_e,normalizeProps(guardReactiveProps($.$attrs)),{default:withCtx(()=>[renderSlot($.$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($,{emit:z}){const{currentTabbedId:ie,loop:le,onItemFocus:ue,onItemShiftTab:pe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:_e}=inject(COLLECTION_INJECTION_KEY$1,void 0),Ce=useId(),$e=ref(null),xe=composeEventHandlers(Ue=>{z("mousedown",Ue)},Ue=>{$.focusable?ue(unref(Ce)):Ue.preventDefault()}),Ie=composeEventHandlers(Ue=>{z("focus",Ue)},()=>{ue(unref(Ce))}),Ve=composeEventHandlers(Ue=>{z("keydown",Ue)},Ue=>{const{key:qe,shiftKey:Et,target:Lt,currentTarget:hn}=Ue;if(qe===EVENT_CODE.tab&&Et){pe();return}if(Lt!==hn)return;const vn=getFocusIntent(Ue);if(vn){Ue.preventDefault();let bn=_e().filter(Cn=>Cn.focusable).map(Cn=>Cn.ref);switch(vn){case"last":{bn.reverse();break}case"prev":case"next":{vn==="prev"&&bn.reverse();const Cn=bn.indexOf(hn);bn=le.value?reorderArray(bn,Cn+1):bn.slice(Cn+1);break}}nextTick(()=>{focusFirst(bn)})}}),ze=computed(()=>ie.value===unref(Ce));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:$e,tabIndex:computed(()=>unref(ze)?0:-1),handleMousedown:xe,handleFocus:Ie,handleKeydown:Ve}),{id:Ce,handleKeydown:Ve,handleFocus:Ie,handleMousedown:xe}}});function _sfc_render$k($,z,ie,le,ue,pe){const _e=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(_e,{id:$.id,focusable:$.focusable,active:$.active},{default:withCtx(()=>[renderSlot($.$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($,{emit:z}){const ie=getCurrentInstance(),le=useNamespace("dropdown"),{t:ue}=useLocale(),pe=ref(),_e=ref(),Ce=ref(null),$e=ref(null),xe=ref(null),Ie=ref(null),Ve=ref(!1),ze=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],Ue=computed(()=>({maxHeight:addUnit($.maxHeight)})),qe=computed(()=>[le.m(bn.value)]),Et=useId().value,Lt=computed(()=>$.id||Et);watch([pe,toRef$1($,"trigger")],([Dn,On],[Vn])=>{var Mn,zn,Kn;const Hn=isArray$c(On)?On:[On];(Mn=Vn==null?void 0:Vn.$el)!=null&&Mn.removeEventListener&&Vn.$el.removeEventListener("pointerenter",Sn),(zn=Dn==null?void 0:Dn.$el)!=null&&zn.removeEventListener&&Dn.$el.removeEventListener("pointerenter",Sn),(Kn=Dn==null?void 0:Dn.$el)!=null&&Kn.addEventListener&&Hn.includes("hover")&&Dn.$el.addEventListener("pointerenter",Sn)},{immediate:!0}),onBeforeUnmount(()=>{var Dn,On;(On=(Dn=pe.value)==null?void 0:Dn.$el)!=null&&On.removeEventListener&&pe.value.$el.removeEventListener("pointerenter",Sn)});function hn(){vn()}function vn(){var Dn;(Dn=Ce.value)==null||Dn.onClose()}function _n(){var Dn;(Dn=Ce.value)==null||Dn.onOpen()}const bn=useFormSize();function Cn(...Dn){z("command",...Dn)}function Sn(){var Dn,On;(On=(Dn=pe.value)==null?void 0:Dn.$el)==null||On.focus()}function En(){}function wn(){const Dn=unref($e);Dn==null||Dn.focus(),Ie.value=null}function Tn(Dn){Ie.value=Dn}function kn(Dn){Ve.value||(Dn.preventDefault(),Dn.stopImmediatePropagation())}function xn(){z("visible-change",!0)}function Pn(Dn){(Dn==null?void 0:Dn.type)==="keydown"&&$e.value.focus()}function An(){z("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:$e,role:computed(()=>$.role),triggerId:Lt,isUsingKeyboard:Ve,onItemEnter:En,onItemLeave:wn}),provide("elDropdown",{instance:ie,dropdownSize:bn,handleClick:hn,commandHandler:Cn,trigger:toRef$1($,"trigger"),hideOnClick:toRef$1($,"hideOnClick")}),{t:ue,ns:le,scrollbar:xe,wrapStyle:Ue,dropdownTriggerKls:qe,dropdownSize:bn,triggerId:Lt,triggerKeys:ze,currentTabId:Ie,handleCurrentTabIdChange:Tn,handlerMainButtonClick:Dn=>{z("click",Dn)},handleEntryFocus:kn,handleClose:vn,handleOpen:_n,handleBeforeShowTooltip:xn,handleShowTooltip:Pn,handleBeforeHideTooltip:An,onFocusAfterTrapped:Dn=>{var On,Vn;Dn.preventDefault(),(Vn=(On=$e.value)==null?void 0:On.focus)==null||Vn.call(On,{preventScroll:!0})},popperRef:Ce,contentRef:$e,triggeringElementRef:pe,referenceElementRef:_e}}});function _sfc_render$j($,z,ie,le,ue,pe){var _e;const Ce=resolveComponent("el-dropdown-collection"),$e=resolveComponent("el-roving-focus-group"),xe=resolveComponent("el-scrollbar"),Ie=resolveComponent("el-only-child"),Ve=resolveComponent("el-tooltip"),ze=resolveComponent("el-button"),Ue=resolveComponent("arrow-down"),qe=resolveComponent("el-icon"),Et=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b(),$.ns.is("disabled",$.disabled)])},[createVNode(Ve,{ref:"popperRef",role:$.role,effect:$.effect,"fallback-placements":["bottom","top"],"popper-options":$.popperOptions,"gpu-acceleration":!1,"hide-after":$.trigger==="hover"?$.hideTimeout:0,"manual-mode":!0,placement:$.placement,"popper-class":[$.ns.e("popper"),$.popperClass],"reference-element":(_e=$.referenceElementRef)==null?void 0:_e.$el,trigger:$.trigger,"trigger-keys":$.triggerKeys,"trigger-target-el":$.contentRef,"show-after":$.trigger==="hover"?$.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":$.triggeringElementRef,"virtual-triggering":$.splitButton,disabled:$.disabled,transition:`${$.ns.namespace.value}-zoom-in-top`,teleported:$.teleported,pure:"",persistent:"",onBeforeShow:$.handleBeforeShowTooltip,onShow:$.handleShowTooltip,onBeforeHide:$.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode(xe,{ref:"scrollbar","wrap-style":$.wrapStyle,tag:"div","view-class":$.ns.e("list")},{default:withCtx(()=>[createVNode($e,{loop:$.loop,"current-tab-id":$.currentTabId,orientation:"horizontal",onCurrentTabIdChange:$.handleCurrentTabIdChange,onEntryFocus:$.handleEntryFocus},{default:withCtx(()=>[createVNode(Ce,null,{default:withCtx(()=>[renderSlot($.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[$.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode(Ie,{id:$.triggerId,ref:"triggeringElementRef",role:"button",tabindex:$.tabindex},{default:withCtx(()=>[renderSlot($.$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"]),$.splitButton?(openBlock(),createBlock(Et,{key:0},{default:withCtx(()=>[createVNode(ze,mergeProps({ref:"referenceElementRef"},$.buttonProps,{size:$.dropdownSize,type:$.type,disabled:$.disabled,tabindex:$.tabindex,onClick:$.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode(ze,mergeProps({id:$.triggerId,ref:"triggeringElementRef"},$.buttonProps,{role:"button",size:$.dropdownSize,type:$.type,class:$.ns.e("caret-button"),disabled:$.disabled,tabindex:$.tabindex,"aria-label":$.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode(qe,{class:normalizeClass($.ns.e("icon"))},{default:withCtx(()=>[createVNode(Ue)]),_: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($,{emit:z}){const ie=useNamespace("dropdown"),{role:le}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:ue}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:pe}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:_e,tabIndex:Ce,handleFocus:$e,handleKeydown:xe,handleMousedown:Ie}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),Ve=composeRefs(ue,pe,_e),ze=computed(()=>le.value==="menu"?"menuitem":le.value==="navigation"?"link":"button"),Ue=composeEventHandlers(qe=>{const{code:Et}=qe;if(Et===EVENT_CODE.enter||Et===EVENT_CODE.space)return qe.preventDefault(),qe.stopImmediatePropagation(),z("clickimpl",qe),!0},xe);return{ns:ie,itemRef:Ve,dataset:{[COLLECTION_ITEM_SIGN]:""},role:ze,tabIndex:Ce,handleFocus:$e,handleKeydown:Ue,handleMousedown:Ie}}}),_hoisted_1$A=["aria-disabled","tabindex","role"];function _sfc_render$i($,z,ie,le,ue,pe){const _e=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[$.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:$.ns.bem("menu","item","divided")},$.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:$.itemRef},{...$.dataset,...$.$attrs},{"aria-disabled":$.disabled,class:[$.ns.be("menu","item"),$.ns.is("disabled",$.disabled)],tabindex:$.tabIndex,role:$.role,onClick:z[0]||(z[0]=Ce=>$.$emit("clickimpl",Ce)),onFocus:z[1]||(z[1]=(...Ce)=>$.handleFocus&&$.handleFocus(...Ce)),onKeydown:z[2]||(z[2]=withModifiers((...Ce)=>$.handleKeydown&&$.handleKeydown(...Ce),["self"])),onMousedown:z[3]||(z[3]=(...Ce)=>$.handleMousedown&&$.handleMousedown(...Ce)),onPointermove:z[4]||(z[4]=Ce=>$.$emit("pointermove",Ce)),onPointerleave:z[5]||(z[5]=Ce=>$.$emit("pointerleave",Ce))}),[$.icon?(openBlock(),createBlock(_e,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot($.$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 $=inject("elDropdown",{}),z=computed(()=>$==null?void 0:$.dropdownSize);return{elDropdown:$,_elDropdownSize:z}},_sfc_main$14=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup($,{emit:z,attrs:ie}){const{elDropdown:le}=useDropdown(),ue=getCurrentInstance(),pe=ref(null),_e=computed(()=>{var Ue,qe;return(qe=(Ue=unref(pe))==null?void 0:Ue.textContent)!=null?qe:""}),{onItemEnter:Ce,onItemLeave:$e}=inject(DROPDOWN_INJECTION_KEY,void 0),xe=composeEventHandlers(Ue=>(z("pointermove",Ue),Ue.defaultPrevented),whenMouse(Ue=>{if($.disabled){$e(Ue);return}const qe=Ue.currentTarget;qe===document.activeElement||qe.contains(document.activeElement)||(Ce(Ue),Ue.defaultPrevented||qe==null||qe.focus())})),Ie=composeEventHandlers(Ue=>(z("pointerleave",Ue),Ue.defaultPrevented),whenMouse(Ue=>{$e(Ue)})),Ve=composeEventHandlers(Ue=>{if(!$.disabled)return z("click",Ue),Ue.type!=="keydown"&&Ue.defaultPrevented},Ue=>{var qe,Et,Lt;if($.disabled){Ue.stopImmediatePropagation();return}(qe=le==null?void 0:le.hideOnClick)!=null&&qe.value&&((Et=le.handleClick)==null||Et.call(le)),(Lt=le.commandHandler)==null||Lt.call(le,$.command,ue,Ue)}),ze=computed(()=>({...$,...ie}));return{handleClick:Ve,handlePointerMove:xe,handlePointerLeave:Ie,textContent:_e,propsAndAttrs:ze}}});function _sfc_render$h($,z,ie,le,ue,pe){var _e;const Ce=resolveComponent("el-dropdown-item-impl"),$e=resolveComponent("el-roving-focus-item"),xe=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(xe,{disabled:$.disabled,"text-value":(_e=$.textValue)!=null?_e:$.textContent},{default:withCtx(()=>[createVNode($e,{focusable:!$.disabled},{default:withCtx(()=>[createVNode(Ce,mergeProps($.propsAndAttrs,{onPointerleave:$.handlePointerLeave,onPointermove:$.handlePointerMove,onClickimpl:$.handleClick}),{default:withCtx(()=>[renderSlot($.$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($){const z=useNamespace("dropdown"),{_elDropdownSize:ie}=useDropdown(),le=ie.value,{focusTrapRef:ue,onKeydown:pe}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:_e,role:Ce,triggerId:$e}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:xe,getItems:Ie}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:Ve,rovingFocusGroupRootStyle:ze,tabIndex:Ue,onBlur:qe,onFocus:Et,onMousedown:Lt}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:hn}=inject(COLLECTION_INJECTION_KEY$1,void 0),vn=computed(()=>[z.b("menu"),z.bm("menu",le==null?void 0:le.value)]),_n=composeRefs(_e,xe,ue,Ve,hn),bn=composeEventHandlers(Sn=>{var En;(En=$.onKeydown)==null||En.call($,Sn)},Sn=>{const{currentTarget:En,code:wn,target:Tn}=Sn;if(En.contains(Tn),EVENT_CODE.tab===wn&&Sn.stopImmediatePropagation(),Sn.preventDefault(),Tn!==unref(_e)||!FIRST_LAST_KEYS.includes(wn))return;const xn=Ie().filter(Pn=>!Pn.disabled).map(Pn=>Pn.ref);LAST_KEYS.includes(wn)&&xn.reverse(),focusFirst(xn)});return{size:le,rovingFocusGroupRootStyle:ze,tabIndex:Ue,dropdownKls:vn,role:Ce,triggerId:$e,dropdownListWrapperRef:_n,handleKeydown:Sn=>{bn(Sn),pe(Sn)},onBlur:qe,onFocus:Et,onMousedown:Lt}}}),_hoisted_1$z=["role","aria-labelledby"];function _sfc_render$g($,z,ie,le,ue,pe){return openBlock(),createElementBlock("ul",{ref:$.dropdownListWrapperRef,class:normalizeClass($.dropdownKls),style:normalizeStyle$1($.rovingFocusGroupRootStyle),tabindex:-1,role:$.role,"aria-labelledby":$.triggerId,onBlur:z[0]||(z[0]=(..._e)=>$.onBlur&&$.onBlur(..._e)),onFocus:z[1]||(z[1]=(..._e)=>$.onFocus&&$.onFocus(..._e)),onKeydown:z[2]||(z[2]=withModifiers((..._e)=>$.handleKeydown&&$.handleKeydown(..._e),["self"])),onMousedown:z[3]||(z[3]=withModifiers((..._e)=>$.onMousedown&&$.onMousedown(..._e),["self"]))},[renderSlot($.$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($){const z=useNamespace("empty"),ie=useId();return(le,ue)=>(openBlock(),createElementBlock("svg",_hoisted_1$y,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(ie)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(z).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$b),createBaseVNode("stop",{"stop-color":`var(${unref(z).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$7)],8,_hoisted_2$n),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(ie)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(z).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$1),createBaseVNode("stop",{"stop-color":`var(${unref(z).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(ie)}`,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(z).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref(z).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(z).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(z).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(ie)})`,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(z).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(ie)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19),createBaseVNode("g",_hoisted_20,[createBaseVNode("use",{id:"Mask",fill:`var(${unref(z).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(ie)}`},null,8,_hoisted_21),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(z).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(ie)})`,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(z).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($){const z=$,{t:ie}=useLocale(),le=useNamespace("empty"),ue=computed(()=>z.description||ie("el.table.emptyText")),pe=computed(()=>({width:addUnit(z.imageSize)}));return(_e,Ce)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le).b())},[createBaseVNode("div",{class:normalizeClass(unref(le).e("image")),style:normalizeStyle$1(unref(pe))},[_e.image?(openBlock(),createElementBlock("img",{key:0,src:_e.image,ondragstart:"return false"},null,8,_hoisted_1$x)):renderSlot(_e.$slots,"image",{key:1},()=>[createVNode(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(le).e("description"))},[_e.$slots.description?renderSlot(_e.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$m,toDisplayString$1(unref(ue)),1))],2),_e.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("bottom"))},[renderSlot(_e.$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:$=>isNumber$4($)},_hoisted_1$w=["src"],__default__$J=defineComponent({name:"ElImageViewer"}),_sfc_main$10=defineComponent({...__default__$J,props:imageViewerProps,emits:imageViewerEmits,setup($,{expose:z,emit:ie}){const le=$,ue={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:pe}=useLocale(),_e=useNamespace("image-viewer"),{nextZIndex:Ce}=useZIndex(),$e=ref(),xe=ref([]),Ie=effectScope(),Ve=ref(!0),ze=ref(le.initialIndex),Ue=shallowRef(ue.CONTAIN),qe=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Et=computed(()=>{const{urlList:On}=le;return On.length<=1}),Lt=computed(()=>ze.value===0),hn=computed(()=>ze.value===le.urlList.length-1),vn=computed(()=>le.urlList[ze.value]),_n=computed(()=>{const{scale:On,deg:Vn,offsetX:Mn,offsetY:zn,enableTransition:Kn}=qe.value;let Hn=Mn/On,Xn=zn/On;switch(Vn%360){case 90:case-270:[Hn,Xn]=[Xn,-Hn];break;case 180:case-180:[Hn,Xn]=[-Hn,-Xn];break;case 270:case-90:[Hn,Xn]=[-Xn,Hn];break}const lr={transform:`scale(${On}) rotate(${Vn}deg) translate(${Hn}px, ${Xn}px)`,transition:Kn?"transform .3s":""};return Ue.value.name===ue.CONTAIN.name&&(lr.maxWidth=lr.maxHeight="100%"),lr}),bn=computed(()=>isNumber$4(le.zIndex)?le.zIndex:Ce());function Cn(){En(),ie("close")}function Sn(){const On=throttle$1(Mn=>{switch(Mn.code){case EVENT_CODE.esc:le.closeOnPressEscape&&Cn();break;case EVENT_CODE.space:Pn();break;case EVENT_CODE.left:In();break;case EVENT_CODE.up:Dn("zoomIn");break;case EVENT_CODE.right:Fn();break;case EVENT_CODE.down:Dn("zoomOut");break}}),Vn=throttle$1(Mn=>{const zn=Mn.deltaY||Mn.deltaX;Dn(zn<0?"zoomIn":"zoomOut",{zoomRate:le.zoomRate,enableTransition:!1})});Ie.run(()=>{useEventListener$1(document,"keydown",On),useEventListener$1(document,"wheel",Vn)})}function En(){Ie.stop()}function wn(){Ve.value=!1}function Tn(On){Ve.value=!1,On.target.alt=pe("el.image.error")}function kn(On){if(Ve.value||On.button!==0||!$e.value)return;qe.value.enableTransition=!1;const{offsetX:Vn,offsetY:Mn}=qe.value,zn=On.pageX,Kn=On.pageY,Hn=throttle$1(lr=>{qe.value={...qe.value,offsetX:Vn+lr.pageX-zn,offsetY:Mn+lr.pageY-Kn}}),Xn=useEventListener$1(document,"mousemove",Hn);useEventListener$1(document,"mouseup",()=>{Xn()}),On.preventDefault()}function xn(){qe.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Pn(){if(Ve.value)return;const On=keysOf(ue),Vn=Object.values(ue),Mn=Ue.value.name,Kn=(Vn.findIndex(Hn=>Hn.name===Mn)+1)%On.length;Ue.value=ue[On[Kn]],xn()}function An(On){const Vn=le.urlList.length;ze.value=(On+Vn)%Vn}function In(){Lt.value&&!le.infinite||An(ze.value-1)}function Fn(){hn.value&&!le.infinite||An(ze.value+1)}function Dn(On,Vn={}){if(Ve.value)return;const{zoomRate:Mn,rotateDeg:zn,enableTransition:Kn}={zoomRate:le.zoomRate,rotateDeg:90,enableTransition:!0,...Vn};switch(On){case"zoomOut":qe.value.scale>.2&&(qe.value.scale=Number.parseFloat((qe.value.scale/Mn).toFixed(3)));break;case"zoomIn":qe.value.scale<7&&(qe.value.scale=Number.parseFloat((qe.value.scale*Mn).toFixed(3)));break;case"clockwise":qe.value.deg+=zn;break;case"anticlockwise":qe.value.deg-=zn;break}qe.value.enableTransition=Kn}return watch(vn,()=>{nextTick(()=>{const On=xe.value[0];On!=null&&On.complete||(Ve.value=!0)})}),watch(ze,On=>{xn(),ie("switch",On)}),onMounted(()=>{var On,Vn;Sn(),(Vn=(On=$e.value)==null?void 0:On.focus)==null||Vn.call(On)}),z({setActiveItem:An}),(On,Vn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!On.teleported},[createVNode(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:$e,tabindex:-1,class:normalizeClass(unref(_e).e("wrapper")),style:normalizeStyle$1({zIndex:unref(bn)})},[createBaseVNode("div",{class:normalizeClass(unref(_e).e("mask")),onClick:Vn[0]||(Vn[0]=withModifiers(Mn=>On.hideOnClickModal&&Cn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(_e).e("btn"),unref(_e).e("close")]),onClick:Cn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Et)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass([unref(_e).e("btn"),unref(_e).e("prev"),unref(_e).is("disabled",!On.infinite&&unref(Lt))]),onClick:In},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass([unref(_e).e("btn"),unref(_e).e("next"),unref(_e).is("disabled",!On.infinite&&unref(hn))]),onClick:Fn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(_e).e("btn"),unref(_e).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(_e).e("actions__inner"))},[createVNode(unref(ElIcon),{onClick:Vn[1]||(Vn[1]=Mn=>Dn("zoomOut"))},{default:withCtx(()=>[createVNode(unref(zoom_out_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Vn[2]||(Vn[2]=Mn=>Dn("zoomIn"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(_e).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Pn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ue).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(_e).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Vn[3]||(Vn[3]=Mn=>Dn("anticlockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_left_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Vn[4]||(Vn[4]=Mn=>Dn("clockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(_e).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(On.urlList,(Mn,zn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:Kn=>xe.value[zn]=Kn,key:Mn,src:Mn,style:normalizeStyle$1(unref(_n)),class:normalizeClass(unref(_e).e("img")),onLoad:wn,onError:Tn,onMousedown:kn},null,46,_hoisted_1$w)),[[vShow,zn===ze.value]])),128))],2),renderSlot(On.$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:$=>$ instanceof Event,error:$=>$ instanceof Event,switch:$=>isNumber$4($),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($,{emit:z}){const ie=$;let le="";const{t:ue}=useLocale(),pe=useNamespace("image"),_e=useAttrs$1(),Ce=useAttrs(),$e=ref(),xe=ref(!1),Ie=ref(!0),Ve=ref(!1),ze=ref(),Ue=ref(),qe=isClient$1&&"loading"in HTMLImageElement.prototype;let Et,Lt;const hn=computed(()=>_e.style),vn=computed(()=>{const{fit:On}=ie;return isClient$1&&On?{objectFit:On}:{}}),_n=computed(()=>{const{previewSrcList:On}=ie;return Array.isArray(On)&&On.length>0}),bn=computed(()=>{const{previewSrcList:On,initialIndex:Vn}=ie;let Mn=Vn;return Vn>On.length-1&&(Mn=0),Mn}),Cn=computed(()=>ie.loading==="eager"?!1:!qe&&ie.loading==="lazy"||ie.lazy),Sn=()=>{isClient$1&&(Ie.value=!0,xe.value=!1,$e.value=ie.src)};function En(On){Ie.value=!1,xe.value=!1,z("load",On)}function wn(On){Ie.value=!1,xe.value=!0,z("error",On)}function Tn(){isInContainer(ze.value,Ue.value)&&(Sn(),Pn())}const kn=useThrottleFn(Tn,200,!0);async function xn(){var On;if(!isClient$1)return;await nextTick();const{scrollContainer:Vn}=ie;isElement$2(Vn)?Ue.value=Vn:isString$6(Vn)&&Vn!==""?Ue.value=(On=document.querySelector(Vn))!=null?On:void 0:ze.value&&(Ue.value=getScrollContainer(ze.value)),Ue.value&&(Et=useEventListener$1(Ue,"scroll",kn),setTimeout(()=>Tn(),100))}function Pn(){!isClient$1||!Ue.value||!kn||(Et==null||Et(),Ue.value=void 0)}function An(On){if(On.ctrlKey){if(On.deltaY<0)return On.preventDefault(),!1;if(On.deltaY>0)return On.preventDefault(),!1}}function In(){_n.value&&(Lt=useEventListener$1("wheel",An,{passive:!1}),le=document.body.style.overflow,document.body.style.overflow="hidden",Ve.value=!0,z("show"))}function Fn(){Lt==null||Lt(),document.body.style.overflow=le,Ve.value=!1,z("close")}function Dn(On){z("switch",On)}return watch(()=>ie.src,()=>{Cn.value?(Ie.value=!0,xe.value=!1,Pn(),xn()):Sn()}),onMounted(()=>{Cn.value?xn():Sn()}),(On,Vn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:ze,class:normalizeClass([unref(pe).b(),On.$attrs.class]),style:normalizeStyle$1(unref(hn))},[xe.value?renderSlot(On.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(pe).e("error"))},toDisplayString$1(unref(ue)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[$e.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(Ce),{src:$e.value,loading:On.loading,style:unref(vn),class:[unref(pe).e("inner"),unref(_n)&&unref(pe).e("preview"),Ie.value&&unref(pe).is("loading")],onClick:In,onLoad:En,onError:wn}),null,16,_hoisted_1$v)):createCommentVNode("v-if",!0),Ie.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(pe).e("wrapper"))},[renderSlot(On.$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},[Ve.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":On.zIndex,"initial-index":unref(bn),infinite:On.infinite,"zoom-rate":On.zoomRate,"url-list":On.previewSrcList,"hide-on-click-modal":On.hideOnClickModal,teleported:On.previewTeleported,"close-on-press-escape":On.closeOnPressEscape,onClose:Fn,onSwitch:Dn},{default:withCtx(()=>[On.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$l,[renderSlot(On.$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:$=>$===null||isNumber$4($)||["min","max"].includes($),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:$=>$>=0&&$===Number.parseInt(`${$}`,10)},validateEvent:{type:Boolean,default:!0}}),inputNumberEmits={[CHANGE_EVENT]:($,z)=>z!==$,blur:$=>$ instanceof FocusEvent,focus:$=>$ instanceof FocusEvent,[INPUT_EVENT]:$=>isNumber$4($)||isNil($),[UPDATE_MODEL_EVENT]:$=>isNumber$4($)||isNil($)},_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($,{expose:z,emit:ie}){const le=$,{t:ue}=useLocale(),pe=useNamespace("input-number"),_e=ref(),Ce=reactive({currentValue:le.modelValue,userInput:null}),{formItem:$e}=useFormItem(),xe=computed(()=>isNumber$4(le.modelValue)&&le.modelValue<=le.min),Ie=computed(()=>isNumber$4(le.modelValue)&&le.modelValue>=le.max),Ve=computed(()=>{const An=hn(le.step);return isUndefined$1(le.precision)?Math.max(hn(le.modelValue),An):(An>le.precision,le.precision)}),ze=computed(()=>le.controls&&le.controlsPosition==="right"),Ue=useFormSize(),qe=useFormDisabled(),Et=computed(()=>{if(Ce.userInput!==null)return Ce.userInput;let An=Ce.currentValue;if(isNil(An))return"";if(isNumber$4(An)){if(Number.isNaN(An))return"";isUndefined$1(le.precision)||(An=An.toFixed(le.precision))}return An}),Lt=(An,In)=>{if(isUndefined$1(In)&&(In=Ve.value),In===0)return Math.round(An);let Fn=String(An);const Dn=Fn.indexOf(".");if(Dn===-1||!Fn.replace(".","").split("")[Dn+In])return An;const Mn=Fn.length;return Fn.charAt(Mn-1)==="5"&&(Fn=`${Fn.slice(0,Math.max(0,Mn-1))}6`),Number.parseFloat(Number(Fn).toFixed(In))},hn=An=>{if(isNil(An))return 0;const In=An.toString(),Fn=In.indexOf(".");let Dn=0;return Fn!==-1&&(Dn=In.length-Fn-1),Dn},vn=(An,In=1)=>isNumber$4(An)?Lt(An+le.step*In):Ce.currentValue,_n=()=>{if(le.readonly||qe.value||Ie.value)return;const An=Number(Et.value)||0,In=vn(An);Sn(In),ie(INPUT_EVENT,Ce.currentValue)},bn=()=>{if(le.readonly||qe.value||xe.value)return;const An=Number(Et.value)||0,In=vn(An,-1);Sn(In),ie(INPUT_EVENT,Ce.currentValue)},Cn=(An,In)=>{const{max:Fn,min:Dn,step:On,precision:Vn,stepStrictly:Mn,valueOnClear:zn}=le;Fn<Dn&&throwError$1("InputNumber","min should not be greater than max.");let Kn=Number(An);if(isNil(An)||Number.isNaN(Kn))return null;if(An===""){if(zn===null)return null;Kn=isString$6(zn)?{min:Dn,max:Fn}[zn]:zn}return Mn&&(Kn=Lt(Math.round(Kn/On)*On,Vn)),isUndefined$1(Vn)||(Kn=Lt(Kn,Vn)),(Kn>Fn||Kn<Dn)&&(Kn=Kn>Fn?Fn:Dn,In&&ie(UPDATE_MODEL_EVENT,Kn)),Kn},Sn=(An,In=!0)=>{var Fn;const Dn=Ce.currentValue,On=Cn(An);if(!In){ie(UPDATE_MODEL_EVENT,On);return}Dn!==On&&(Ce.userInput=null,ie(UPDATE_MODEL_EVENT,On),ie(CHANGE_EVENT,On,Dn),le.validateEvent&&((Fn=$e==null?void 0:$e.validate)==null||Fn.call($e,"change").catch(Vn=>void 0)),Ce.currentValue=On)},En=An=>{Ce.userInput=An;const In=An===""?null:Number(An);ie(INPUT_EVENT,In),Sn(In,!1)},wn=An=>{const In=An!==""?Number(An):"";(isNumber$4(In)&&!Number.isNaN(In)||An==="")&&Sn(In),Ce.userInput=null},Tn=()=>{var An,In;(In=(An=_e.value)==null?void 0:An.focus)==null||In.call(An)},kn=()=>{var An,In;(In=(An=_e.value)==null?void 0:An.blur)==null||In.call(An)},xn=An=>{ie("focus",An)},Pn=An=>{var In;ie("blur",An),le.validateEvent&&((In=$e==null?void 0:$e.validate)==null||In.call($e,"blur").catch(Fn=>void 0))};return watch(()=>le.modelValue,An=>{const In=Cn(Ce.userInput),Fn=Cn(An,!0);!isNumber$4(In)&&(!In||In!==Fn)&&(Ce.currentValue=Fn,Ce.userInput=null)},{immediate:!0}),onMounted(()=>{var An;const{min:In,max:Fn,modelValue:Dn}=le,On=(An=_e.value)==null?void 0:An.input;if(On.setAttribute("role","spinbutton"),Number.isFinite(Fn)?On.setAttribute("aria-valuemax",String(Fn)):On.removeAttribute("aria-valuemax"),Number.isFinite(In)?On.setAttribute("aria-valuemin",String(In)):On.removeAttribute("aria-valuemin"),On.setAttribute("aria-valuenow",String(Ce.currentValue)),On.setAttribute("aria-disabled",String(qe.value)),!isNumber$4(Dn)&&Dn!=null){let Vn=Number(Dn);Number.isNaN(Vn)&&(Vn=null),ie(UPDATE_MODEL_EVENT,Vn)}}),onUpdated(()=>{var An;const In=(An=_e.value)==null?void 0:An.input;In==null||In.setAttribute("aria-valuenow",`${Ce.currentValue}`)}),z({focus:Tn,blur:kn}),(An,In)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(pe).b(),unref(pe).m(unref(Ue)),unref(pe).is("disabled",unref(qe)),unref(pe).is("without-controls",!An.controls),unref(pe).is("controls-right",unref(ze))]),onDragstart:In[1]||(In[1]=withModifiers(()=>{},["prevent"]))},[An.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(ue)("el.inputNumber.decrease"),class:normalizeClass([unref(pe).e("decrease"),unref(pe).is("disabled",unref(xe))]),onKeydown:withKeys(bn,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(ze)?(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),An.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(ue)("el.inputNumber.increase"),class:normalizeClass([unref(pe).e("increase"),unref(pe).is("disabled",unref(Ie))]),onKeydown:withKeys(_n,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(ze)?(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:An.id,ref_key:"input",ref:_e,type:"number",step:An.step,"model-value":unref(Et),placeholder:An.placeholder,readonly:An.readonly,disabled:unref(qe),size:unref(Ue),max:An.max,min:An.min,name:An.name,label:An.label,"validate-event":!1,onWheel:In[0]||(In[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(_n,["prevent"]),["up"]),withKeys(withModifiers(bn,["prevent"]),["down"])],onBlur:Pn,onFocus:xn,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:$=>$ instanceof MouseEvent},_hoisted_1$t=["href"],__default__$G=defineComponent({name:"ElLink"}),_sfc_main$Z=defineComponent({...__default__$G,props:linkProps,emits:linkEmits,setup($,{emit:z}){const ie=$,le=useNamespace("link"),ue=computed(()=>[le.b(),le.m(ie.type),le.is("disabled",ie.disabled),le.is("underline",ie.underline&&!ie.disabled)]);function pe(_e){ie.disabled||z("click",_e)}return(_e,Ce)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(ue)),href:_e.disabled||!_e.href?void 0:_e.href,onClick:pe},[_e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(_e.icon)))]),_:1})):createCommentVNode("v-if",!0),_e.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(le).e("inner"))},[renderSlot(_e.$slots,"default")],2)):createCommentVNode("v-if",!0),_e.$slots.icon?renderSlot(_e.$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(z,ie){this.parent=z,this.domNode=ie,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(z){z===this.subMenuItems.length?z=0:z<0&&(z=this.subMenuItems.length-1),this.subMenuItems[z].focus(),this.subIndex=z}addListeners(){const z=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,ie=>{ie.addEventListener("keydown",le=>{let ue=!1;switch(le.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),ue=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),ue=!0;break}case EVENT_CODE.tab:{triggerEvent(z,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{ue=!0,le.currentTarget.click();break}}return ue&&(le.preventDefault(),le.stopPropagation()),!1})})}},MenuItem$1=class{constructor(z,ie){this.domNode=z,this.submenu=null,this.submenu=null,this.init(ie)}init(z){this.domNode.setAttribute("tabindex","0");const ie=this.domNode.querySelector(`.${z}-menu`);ie&&(this.submenu=new SubMenu$1(this,ie)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",z=>{let ie=!1;switch(z.code){case EVENT_CODE.down:{triggerEvent(z.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),ie=!0;break}case EVENT_CODE.up:{triggerEvent(z.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),ie=!0;break}case EVENT_CODE.tab:{triggerEvent(z.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{ie=!0,z.currentTarget.click();break}}ie&&z.preventDefault()})}},Menu$1=class{constructor(z,ie){this.domNode=z,this.init(ie)}init(z){const ie=this.domNode.childNodes;Array.from(ie).forEach(le=>{le.nodeType===1&&new MenuItem$1(le,z)})}};const _sfc_main$Y=defineComponent({name:"ElMenuCollapseTransition",setup(){const $=useNamespace("menu");return{listeners:{onBeforeEnter:ie=>ie.style.opacity="0.2",onEnter(ie,le){addClass(ie,`${$.namespace.value}-opacity-transition`),ie.style.opacity="1",le()},onAfterEnter(ie){removeClass(ie,`${$.namespace.value}-opacity-transition`),ie.style.opacity=""},onBeforeLeave(ie){ie.dataset||(ie.dataset={}),hasClass(ie,$.m("collapse"))?(removeClass(ie,$.m("collapse")),ie.dataset.oldOverflow=ie.style.overflow,ie.dataset.scrollWidth=ie.clientWidth.toString(),addClass(ie,$.m("collapse"))):(addClass(ie,$.m("collapse")),ie.dataset.oldOverflow=ie.style.overflow,ie.dataset.scrollWidth=ie.clientWidth.toString(),removeClass(ie,$.m("collapse"))),ie.style.width=`${ie.scrollWidth}px`,ie.style.overflow="hidden"},onLeave(ie){addClass(ie,"horizontal-collapse-transition"),ie.style.width=`${ie.dataset.scrollWidth}px`}}}}});function _sfc_render$f($,z,ie,le,ue,pe){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},$.listeners),{default:withCtx(()=>[renderSlot($.$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($,z){const ie=computed(()=>{let ue=$.parent;const pe=[z.value];for(;ue.type.name!=="ElMenu";)ue.props.index&&pe.unshift(ue.props.index),ue=ue.parent;return pe});return{parentMenu:computed(()=>{let ue=$.parent;for(;ue&&!["ElMenu","ElSubMenu"].includes(ue.type.name);)ue=ue.parent;return ue}),indexPath:ie}}function useMenuColor($){return computed(()=>{const ie=$.backgroundColor;return ie?new TinyColor(ie).shade(20).toString():""})}const useMenuCssVar=($,z)=>{const ie=useNamespace("menu");return computed(()=>ie.cssVarBlock({"text-color":$.textColor||"","hover-text-color":$.textColor||"","bg-color":$.backgroundColor||"","hover-bg-color":useMenuColor($).value||"","active-color":$.activeTextColor||"",level:`${z}`}))},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($,{slots:z,expose:ie}){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(()=>$.popperAppendToBody!==void 0));const le=getCurrentInstance(),{indexPath:ue,parentMenu:pe}=useMenu(le,computed(()=>$.index)),_e=useNamespace("menu"),Ce=useNamespace("sub-menu"),$e=inject("rootMenu");$e||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const xe=inject(`subMenu:${pe.value.uid}`);xe||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const Ie=ref({}),Ve=ref({});let ze;const Ue=ref(!1),qe=ref(),Et=ref(null),Lt=computed(()=>xn.value==="horizontal"&&vn.value?"bottom-start":"right-start"),hn=computed(()=>xn.value==="horizontal"&&vn.value||xn.value==="vertical"&&!$e.props.collapse?$.expandCloseIcon&&$.expandOpenIcon?Sn.value?$.expandOpenIcon:$.expandCloseIcon:arrow_down_default:$.collapseCloseIcon&&$.collapseOpenIcon?Sn.value?$.collapseOpenIcon:$.collapseCloseIcon:arrow_right_default),vn=computed(()=>xe.level===0),_n=computed(()=>{var zn;const Kn=(zn=$.teleported)!=null?zn:$.popperAppendToBody;return Kn===void 0?vn.value:Kn}),bn=computed(()=>$e.props.collapse?`${_e.namespace.value}-zoom-in-left`:`${_e.namespace.value}-zoom-in-top`),Cn=computed(()=>xn.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"]),Sn=computed(()=>$e.openedMenus.includes($.index)),En=computed(()=>{let zn=!1;return Object.values(Ie.value).forEach(Kn=>{Kn.active&&(zn=!0)}),Object.values(Ve.value).forEach(Kn=>{Kn.active&&(zn=!0)}),zn}),wn=computed(()=>$e.props.backgroundColor||""),Tn=computed(()=>$e.props.activeTextColor||""),kn=computed(()=>$e.props.textColor||""),xn=computed(()=>$e.props.mode),Pn=reactive({index:$.index,indexPath:ue,active:En}),An=useMenuCssVar($e.props,xe.level+1),In=computed(()=>xn.value!=="horizontal"?{color:kn.value}:{borderBottomColor:En.value?$e.props.activeTextColor?Tn.value:"":"transparent",color:En.value?Tn.value:kn.value}),Fn=()=>{var zn,Kn,Hn;return(Hn=(Kn=(zn=Et.value)==null?void 0:zn.popperRef)==null?void 0:Kn.popperInstanceRef)==null?void 0:Hn.destroy()},Dn=zn=>{zn||Fn()},On=()=>{$e.props.menuTrigger==="hover"&&$e.props.mode==="horizontal"||$e.props.collapse&&$e.props.mode==="vertical"||$.disabled||$e.handleSubMenuClick({index:$.index,indexPath:ue.value,active:En.value})},Vn=(zn,Kn=$.showTimeout)=>{var Hn;zn.type!=="focus"&&($e.props.menuTrigger==="click"&&$e.props.mode==="horizontal"||!$e.props.collapse&&$e.props.mode==="vertical"||$.disabled||(xe.mouseInChild.value=!0,ze==null||ze(),{stop:ze}=useTimeoutFn$1(()=>{$e.openMenu($.index,ue.value)},Kn),_n.value&&((Hn=pe.value.vnode.el)==null||Hn.dispatchEvent(new MouseEvent("mouseenter")))))},Mn=(zn=!1)=>{var Kn,Hn;$e.props.menuTrigger==="click"&&$e.props.mode==="horizontal"||!$e.props.collapse&&$e.props.mode==="vertical"||(ze==null||ze(),xe.mouseInChild.value=!1,{stop:ze}=useTimeoutFn$1(()=>!Ue.value&&$e.closeMenu($.index,ue.value),$.hideTimeout),_n.value&&zn&&((Kn=le.parent)==null?void 0:Kn.type.name)==="ElSubMenu"&&((Hn=xe.handleMouseleave)==null||Hn.call(xe,!0)))};watch(()=>$e.props.collapse,zn=>Dn(!!zn));{const zn=Hn=>{Ve.value[Hn.index]=Hn},Kn=Hn=>{delete Ve.value[Hn.index]};provide(`subMenu:${le.uid}`,{addSubMenu:zn,removeSubMenu:Kn,handleMouseleave:Mn,mouseInChild:Ue,level:xe.level+1})}return ie({opened:Sn}),onMounted(()=>{$e.addSubMenu(Pn),xe.addSubMenu(Pn)}),onBeforeUnmount(()=>{xe.removeSubMenu(Pn),$e.removeSubMenu(Pn)}),()=>{var zn;const Kn=[(zn=z.title)==null?void 0:zn.call(z),h$3(ElIcon,{class:Ce.e("icon-arrow"),style:{transform:Sn.value?$.expandCloseIcon&&$.expandOpenIcon||$.collapseCloseIcon&&$.collapseOpenIcon&&$e.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$6(hn.value)?h$3(le.appContext.components[hn.value]):h$3(hn.value)})],Hn=$e.isMenuPopup?h$3(ElTooltip,{ref:Et,visible:Sn.value,effect:"light",pure:!0,offset:$.popperOffset,showArrow:!1,persistent:!0,popperClass:$.popperClass,placement:Lt.value,teleported:_n.value,fallbackPlacements:Cn.value,transition:bn.value,gpuAcceleration:!1},{content:()=>{var Xn;return h$3("div",{class:[_e.m(xn.value),_e.m("popup-container"),$.popperClass],onMouseenter:lr=>Vn(lr,100),onMouseleave:()=>Mn(!0),onFocus:lr=>Vn(lr,100)},[h$3("ul",{class:[_e.b(),_e.m("popup"),_e.m(`popup-${Lt.value}`)],style:An.value},[(Xn=z.default)==null?void 0:Xn.call(z)])])},default:()=>h$3("div",{class:Ce.e("title"),style:[In.value,{backgroundColor:wn.value}],onClick:On},Kn)}):h$3(Fragment,{},[h$3("div",{class:Ce.e("title"),style:[In.value,{backgroundColor:wn.value}],ref:qe,onClick:On},Kn),h$3(_CollapseTransition,{},{default:()=>{var Xn;return withDirectives(h$3("ul",{role:"menu",class:[_e.b(),_e.m("inline")],style:An.value},[(Xn=z.default)==null?void 0:Xn.call(z)]),[[vShow,Sn.value]])}})]);return h$3("li",{class:[Ce.b(),Ce.is("active",En.value),Ce.is("opened",Sn.value),Ce.is("disabled",$.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:Sn.value,onMouseenter:Vn,onMouseleave:()=>Mn(!0),onFocus:Vn},[Hn])}}});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=$=>Array.isArray($)&&$.every(z=>isString$6(z)),menuEmits={close:($,z)=>isString$6($)&&checkIndexPath(z),open:($,z)=>isString$6($)&&checkIndexPath(z),select:($,z,ie,le)=>isString$6($)&&checkIndexPath(z)&&isObject$9(ie)&&(le===void 0||le instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup($,{emit:z,slots:ie,expose:le}){const ue=getCurrentInstance(),pe=ue.appContext.config.globalProperties.$router,_e=ref(),Ce=useNamespace("menu"),$e=useNamespace("sub-menu"),xe=ref(-1),Ie=ref($.defaultOpeneds&&!$.collapse?$.defaultOpeneds.slice(0):[]),Ve=ref($.defaultActive),ze=ref({}),Ue=ref({}),qe=computed(()=>$.mode==="horizontal"||$.mode==="vertical"&&$.collapse),Et=()=>{const xn=Ve.value&&ze.value[Ve.value];if(!xn||$.mode==="horizontal"||$.collapse)return;xn.indexPath.forEach(An=>{const In=Ue.value[An];In&&Lt(An,In.indexPath)})},Lt=(xn,Pn)=>{Ie.value.includes(xn)||($.uniqueOpened&&(Ie.value=Ie.value.filter(An=>Pn.includes(An))),Ie.value.push(xn),z("open",xn,Pn))},hn=xn=>{const Pn=Ie.value.indexOf(xn);Pn!==-1&&Ie.value.splice(Pn,1)},vn=(xn,Pn)=>{hn(xn),z("close",xn,Pn)},_n=({index:xn,indexPath:Pn})=>{Ie.value.includes(xn)?vn(xn,Pn):Lt(xn,Pn)},bn=xn=>{($.mode==="horizontal"||$.collapse)&&(Ie.value=[]);const{index:Pn,indexPath:An}=xn;if(!(isNil(Pn)||isNil(An)))if($.router&&pe){const In=xn.route||Pn,Fn=pe.push(In).then(Dn=>(Dn||(Ve.value=Pn),Dn));z("select",Pn,An,{index:Pn,indexPath:An,route:In},Fn)}else Ve.value=Pn,z("select",Pn,An,{index:Pn,indexPath:An})},Cn=xn=>{const Pn=ze.value,An=Pn[xn]||Ve.value&&Pn[Ve.value]||Pn[$.defaultActive];An?Ve.value=An.index:Ve.value=xn},Sn=()=>{var xn,Pn;if(!_e.value)return-1;const An=Array.from((Pn=(xn=_e.value)==null?void 0:xn.childNodes)!=null?Pn:[]).filter(zn=>zn.nodeName!=="#comment"&&(zn.nodeName!=="#text"||zn.nodeValue)),In=64,Fn=Number.parseInt(getComputedStyle(_e.value).paddingLeft,10),Dn=Number.parseInt(getComputedStyle(_e.value).paddingRight,10),On=_e.value.clientWidth-Fn-Dn;let Vn=0,Mn=0;return An.forEach((zn,Kn)=>{Vn+=zn.offsetWidth||0,Vn<=On-In&&(Mn=Kn+1)}),Mn===An.length?-1:Mn},En=(xn,Pn=33.34)=>{let An;return()=>{An&&clearTimeout(An),An=setTimeout(()=>{xn()},Pn)}};let wn=!0;const Tn=()=>{const xn=()=>{xe.value=-1,nextTick(()=>{xe.value=Sn()})};wn?xn():En(xn)(),wn=!1};watch(()=>$.defaultActive,xn=>{ze.value[xn]||(Ve.value=""),Cn(xn)}),watch(()=>$.collapse,xn=>{xn&&(Ie.value=[])}),watch(ze.value,Et);let kn;watchEffect(()=>{$.mode==="horizontal"&&$.ellipsis?kn=useResizeObserver$1(_e,Tn).stop:kn==null||kn()});{const xn=Fn=>{Ue.value[Fn.index]=Fn},Pn=Fn=>{delete Ue.value[Fn.index]};provide("rootMenu",reactive({props:$,openedMenus:Ie,items:ze,subMenus:Ue,activeIndex:Ve,isMenuPopup:qe,addMenuItem:Fn=>{ze.value[Fn.index]=Fn},removeMenuItem:Fn=>{delete ze.value[Fn.index]},addSubMenu:xn,removeSubMenu:Pn,openMenu:Lt,closeMenu:vn,handleMenuItemClick:bn,handleSubMenuClick:_n})),provide(`subMenu:${ue.uid}`,{addSubMenu:xn,removeSubMenu:Pn,mouseInChild:ref(!1),level:0})}return onMounted(()=>{$.mode==="horizontal"&&new Menu$1(ue.vnode.el,Ce.namespace.value)}),le({open:Pn=>{const{indexPath:An}=Ue.value[Pn];An.forEach(In=>Lt(In,An))},close:hn,handleResize:Tn}),()=>{var xn,Pn;let An=(Pn=(xn=ie.default)==null?void 0:xn.call(ie))!=null?Pn:[];const In=[];if($.mode==="horizontal"&&_e.value){const On=flattedChildren(An),Vn=xe.value===-1?On:On.slice(0,xe.value),Mn=xe.value===-1?[]:On.slice(xe.value);Mn!=null&&Mn.length&&$.ellipsis&&(An=Vn,In.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:()=>Mn})))}const Fn=useMenuCssVar($,0),Dn=h$3("ul",{key:String($.collapse),role:"menubar",ref:_e,style:Fn.value,class:{[Ce.b()]:!0,[Ce.m($.mode)]:!0,[Ce.m("collapse")]:$.collapse}},[...An,...In]);return $.collapseTransition&&$.mode==="vertical"?h$3(ElMenuCollapseTransition,()=>Dn):Dn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:$=>isString$6($.index)&&Array.isArray($.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$X=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup($,{emit:z}){const ie=getCurrentInstance(),le=inject("rootMenu"),ue=useNamespace("menu"),pe=useNamespace("menu-item");le||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:_e,indexPath:Ce}=useMenu(ie,toRef$1($,"index")),$e=inject(`subMenu:${_e.value.uid}`);$e||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const xe=computed(()=>$.index===le.activeIndex),Ie=reactive({index:$.index,indexPath:Ce,active:xe}),Ve=()=>{$.disabled||(le.handleMenuItemClick({index:$.index,indexPath:Ce.value,route:$.route}),z("click",Ie))};return onMounted(()=>{$e.addSubMenu(Ie),le.addMenuItem(Ie)}),onBeforeUnmount(()=>{$e.removeSubMenu(Ie),le.removeMenuItem(Ie)}),{parentMenu:_e,rootMenu:le,active:xe,nsMenu:ue,nsMenuItem:pe,handleClick:Ve}}});function _sfc_render$e($,z,ie,le,ue,pe){const _e=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([$.nsMenuItem.b(),$.nsMenuItem.is("active",$.active),$.nsMenuItem.is("disabled",$.disabled)]),role:"menuitem",tabindex:"-1",onClick:z[0]||(z[0]=(...Ce)=>$.handleClick&&$.handleClick(...Ce))},[$.parentMenu.type.name==="ElMenu"&&$.rootMenu.props.collapse&&$.$slots.title?(openBlock(),createBlock(_e,{key:0,effect:$.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot($.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass($.nsMenu.be("tooltip","trigger"))},[renderSlot($.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot($.$slots,"default"),renderSlot($.$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($,z,ie,le,ue,pe){return openBlock(),createElementBlock("li",{class:normalizeClass($.ns.b())},[createBaseVNode("div",{class:normalizeClass($.ns.e("title"))},[$.$slots.title?renderSlot($.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1($.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot($.$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($,{emit:z}){const ie=useSlots(),{t:le}=useLocale(),ue=useNamespace("page-header"),pe=computed(()=>[ue.b(),{[ue.m("has-breadcrumb")]:!!ie.breadcrumb,[ue.m("has-extra")]:!!ie.extra,[ue.is("contentful")]:!!ie.default}]);function _e(){z("back")}return(Ce,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(pe))},[Ce.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("breadcrumb"))},[renderSlot(Ce.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("back")),role:"button",tabindex:"0",onClick:_e},[Ce.icon||Ce.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":Ce.title||unref(le)("el.pageHeader.title"),class:normalizeClass(unref(ue).e("icon"))},[renderSlot(Ce.$slots,"icon",{},()=>[Ce.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$s)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).e("title"))},[renderSlot(Ce.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Ce.title||unref(le)("el.pageHeader.title")),1)])],2)],2),createVNode(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(ue).e("content"))},[renderSlot(Ce.$slots,"content",{},()=>[createTextVNode(toDisplayString$1(Ce.content),1)])],2)],2),Ce.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("extra"))},[renderSlot(Ce.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),Ce.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).e("main"))},[renderSlot(Ce.$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:$=>$ 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($){const z=$,{t:ie}=useLocale(),le=computed(()=>z.disabled||z.currentPage<=1);return(ue,pe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(le),"aria-label":ue.prevText||unref(ie)("el.pagination.prev"),"aria-disabled":unref(le),onClick:pe[0]||(pe[0]=_e=>ue.$emit("click",_e))},[ue.prevText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString$1(ue.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.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($){const z=$,{t:ie}=useLocale(),le=computed(()=>z.disabled||z.currentPage===z.pageCount||z.pageCount===0);return(ue,pe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(le),"aria-label":ue.nextText||unref(ie)("el.pagination.next"),"aria-disabled":unref(le),onClick:pe[0]||(pe[0]=_e=>ue.$emit("click",_e))},[ue.nextText?(openBlock(),createElementBlock("span",_hoisted_2$i,toDisplayString$1(ue.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.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($,z){const ie=inject(selectKey),le=inject(selectGroupKey,{disabled:!1}),ue=computed(()=>Object.prototype.toString.call($.value).toLowerCase()==="[object object]"),pe=computed(()=>ie.props.multiple?Ve(ie.props.modelValue,$.value):ze($.value,ie.props.modelValue)),_e=computed(()=>{if(ie.props.multiple){const Et=ie.props.modelValue||[];return!pe.value&&Et.length>=ie.props.multipleLimit&&ie.props.multipleLimit>0}else return!1}),Ce=computed(()=>$.label||(ue.value?"":$.value)),$e=computed(()=>$.value||$.label||""),xe=computed(()=>$.disabled||z.groupDisabled||_e.value),Ie=getCurrentInstance(),Ve=(Et=[],Lt)=>{if(ue.value){const hn=ie.props.valueKey;return Et&&Et.some(vn=>toRaw(get$1(vn,hn))===get$1(Lt,hn))}else return Et&&Et.includes(Lt)},ze=(Et,Lt)=>{if(ue.value){const{valueKey:hn}=ie.props;return get$1(Et,hn)===get$1(Lt,hn)}else return Et===Lt},Ue=()=>{!$.disabled&&!le.disabled&&(ie.hoverIndex=ie.optionsArray.indexOf(Ie.proxy))};watch(()=>Ce.value,()=>{!$.created&&!ie.props.remote&&ie.setSelected()}),watch(()=>$.value,(Et,Lt)=>{const{remote:hn,valueKey:vn}=ie.props;if(Object.is(Et,Lt)||(ie.onOptionDestroy(Lt,Ie.proxy),ie.onOptionCreate(Ie.proxy)),!$.created&&!hn){if(vn&&typeof Et=="object"&&typeof Lt=="object"&&Et[vn]===Lt[vn])return;ie.setSelected()}}),watch(()=>le.disabled,()=>{z.groupDisabled=le.disabled},{immediate:!0});const{queryChange:qe}=toRaw(ie);return watch(qe,Et=>{const{query:Lt}=unref(Et),hn=new RegExp(escapeStringRegexp(Lt),"i");z.visible=hn.test(Ce.value)||$.created,z.visible||ie.filteredOptionsCount--},{immediate:!0}),{select:ie,currentLabel:Ce,currentValue:$e,itemSelected:pe,isDisabled:xe,hoverItem:Ue}}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($){const z=useNamespace("select"),ie=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:le,itemSelected:ue,isDisabled:pe,select:_e,hoverItem:Ce}=useOption$1($,ie),{visible:$e,hover:xe}=toRefs(ie),Ie=getCurrentInstance().proxy;_e.onOptionCreate(Ie),onBeforeUnmount(()=>{const ze=Ie.value,{selected:Ue}=_e,Et=(_e.props.multiple?Ue:[Ue]).some(Lt=>Lt.value===Ie.value);nextTick(()=>{_e.cachedOptions.get(ze)===Ie&&!Et&&_e.cachedOptions.delete(ze)}),_e.onOptionDestroy(ze,Ie)});function Ve(){$.disabled!==!0&&ie.groupDisabled!==!0&&_e.handleOptionSelect(Ie)}return{ns:z,currentLabel:le,itemSelected:ue,isDisabled:pe,select:_e,hoverItem:Ce,visible:$e,hover:xe,selectOptionClick:Ve,states:ie}}});function _sfc_render$c($,z,ie,le,ue,pe){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass([$.ns.be("dropdown","item"),$.ns.is("disabled",$.isDisabled),{selected:$.itemSelected,hover:$.hover}]),onMouseenter:z[0]||(z[0]=(..._e)=>$.hoverItem&&$.hoverItem(..._e)),onClick:z[1]||(z[1]=withModifiers((..._e)=>$.selectOptionClick&&$.selectOptionClick(..._e),["stop"]))},[renderSlot($.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString$1($.currentLabel),1)])],34)),[[vShow,$.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 $=inject(selectKey),z=useNamespace("select"),ie=computed(()=>$.props.popperClass),le=computed(()=>$.props.multiple),ue=computed(()=>$.props.fitInputWidth),pe=ref("");function _e(){var Ce;pe.value=`${(Ce=$.selectWrapper)==null?void 0:Ce.offsetWidth}px`}return onMounted(()=>{_e(),useResizeObserver$1($.selectWrapper,_e)}),{ns:z,minWidth:pe,popperClass:ie,isMultiple:le,isFitInputWidth:ue}}});function _sfc_render$b($,z,ie,le,ue,pe){return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b("dropdown"),$.ns.is("multiple",$.isMultiple),$.popperClass]),style:normalizeStyle$1({[$.isFitInputWidth?"width":"minWidth"]:$.minWidth})},[renderSlot($.$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($){const{t:z}=useLocale();return reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:$.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:z("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,tagInMultiLine:!1,mouseEnter:!1})}let ignoreFocusEvent=!1;const useSelect$2=($,z,ie)=>{const{t:le}=useLocale(),ue=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(()=>$.suffixTransition===!1));const pe=ref(null),_e=ref(null),Ce=ref(null),$e=ref(null),xe=ref(null),Ie=ref(null),Ve=ref(null),ze=ref(-1),Ue=shallowRef({query:""}),qe=shallowRef(""),Et=ref([]);let Lt=0;const{form:hn,formItem:vn}=useFormItem(),_n=computed(()=>!$.filterable||$.multiple||!z.visible),bn=computed(()=>$.disabled||(hn==null?void 0:hn.disabled)),Cn=computed(()=>{const Cr=$.multiple?Array.isArray($.modelValue)&&$.modelValue.length>0:$.modelValue!==void 0&&$.modelValue!==null&&$.modelValue!=="";return $.clearable&&!bn.value&&z.inputHovering&&Cr}),Sn=computed(()=>$.remote&&$.filterable&&!$.remoteShowSuffix?"":$.suffixIcon),En=computed(()=>ue.is("reverse",Sn.value&&z.visible&&$.suffixTransition)),wn=computed(()=>$.remote?300:0),Tn=computed(()=>$.loading?$.loadingText||le("el.select.loading"):$.remote&&z.query===""&&z.options.size===0?!1:$.filterable&&z.query&&z.options.size>0&&z.filteredOptionsCount===0?$.noMatchText||le("el.select.noMatch"):z.options.size===0?$.noDataText||le("el.select.noData"):null),kn=computed(()=>{const Cr=Array.from(z.options.values()),Mr=[];return Et.value.forEach(Fr=>{const jr=Cr.findIndex(Gr=>Gr.currentLabel===Fr);jr>-1&&Mr.push(Cr[jr])}),Mr.length?Mr:Cr}),xn=computed(()=>Array.from(z.cachedOptions.values())),Pn=computed(()=>{const Cr=kn.value.filter(Mr=>!Mr.created).some(Mr=>Mr.currentLabel===z.query);return $.filterable&&$.allowCreate&&z.query!==""&&!Cr}),An=useFormSize(),In=computed(()=>["small"].includes(An.value)?"small":"default"),Fn=computed({get(){return z.visible&&Tn.value!==!1},set(Cr){z.visible=Cr}});watch([()=>bn.value,()=>An.value,()=>hn==null?void 0:hn.size],()=>{nextTick(()=>{Dn()})}),watch(()=>$.placeholder,Cr=>{z.cachedPlaceHolder=z.currentPlaceholder=Cr,$.multiple&&Array.isArray($.modelValue)&&$.modelValue.length>0&&(z.currentPlaceholder="")}),watch(()=>$.modelValue,(Cr,Mr)=>{$.multiple&&(Dn(),Cr&&Cr.length>0||_e.value&&z.query!==""?z.currentPlaceholder="":z.currentPlaceholder=z.cachedPlaceHolder,$.filterable&&!$.reserveKeyword&&(z.query="",On(z.query))),zn(),$.filterable&&!$.multiple&&(z.inputLength=20),!isEqual$1(Cr,Mr)&&$.validateEvent&&(vn==null||vn.validate("change").catch(Fr=>void 0))},{flush:"post",deep:!0}),watch(()=>z.visible,Cr=>{var Mr,Fr,jr,Gr,Yr;Cr?((Fr=(Mr=$e.value)==null?void 0:Mr.updatePopper)==null||Fr.call(Mr),$.filterable&&(z.filteredOptionsCount=z.optionsCount,z.query=$.remote?"":z.selectedLabel,(Gr=(jr=Ce.value)==null?void 0:jr.focus)==null||Gr.call(jr),$.multiple?(Yr=_e.value)==null||Yr.focus():z.selectedLabel&&(z.currentPlaceholder=`${z.selectedLabel}`,z.selectedLabel=""),On(z.query),!$.multiple&&!$.remote&&(Ue.value.query="",triggerRef(Ue),triggerRef(qe)))):($.filterable&&(isFunction$5($.filterMethod)&&$.filterMethod(""),isFunction$5($.remoteMethod)&&$.remoteMethod("")),_e.value&&_e.value.blur(),z.query="",z.previousQuery=null,z.selectedLabel="",z.inputLength=20,z.menuVisibleOnFocus=!1,Hn(),nextTick(()=>{_e.value&&_e.value.value===""&&z.selected.length===0&&(z.currentPlaceholder=z.cachedPlaceHolder)}),$.multiple||(z.selected&&($.filterable&&$.allowCreate&&z.createdSelected&&z.createdLabel?z.selectedLabel=z.createdLabel:z.selectedLabel=z.selected.currentLabel,$.filterable&&(z.query=z.selectedLabel)),$.filterable&&(z.currentPlaceholder=z.cachedPlaceHolder))),ie.emit("visible-change",Cr)}),watch(()=>z.options.entries(),()=>{var Cr,Mr,Fr;if(!isClient$1)return;(Mr=(Cr=$e.value)==null?void 0:Cr.updatePopper)==null||Mr.call(Cr),$.multiple&&Dn();const jr=((Fr=Ie.value)==null?void 0:Fr.querySelectorAll("input"))||[];Array.from(jr).includes(document.activeElement)||zn(),$.defaultFirstOption&&($.filterable||$.remote)&&z.filteredOptionsCount&&Mn()},{flush:"post"}),watch(()=>z.hoverIndex,Cr=>{isNumber$4(Cr)&&Cr>-1?ze.value=kn.value[Cr]||{}:ze.value={},kn.value.forEach(Mr=>{Mr.hover=ze.value===Mr})});const Dn=()=>{nextTick(()=>{var Cr,Mr;if(!pe.value)return;const Fr=pe.value.$el.querySelector("input");Lt=Lt||(Fr.clientHeight>0?Fr.clientHeight+2:0);const jr=xe.value,Gr=getComponentSize(An.value||(hn==null?void 0:hn.size)),Yr=An.value||Gr===Lt||Lt<=0?Gr:Lt;!(Fr.offsetParent===null)&&(Fr.style.height=`${(z.selected.length===0?Yr:Math.max(jr?jr.clientHeight+(jr.clientHeight>Yr?6:0):0,Yr))-2}px`),z.tagInMultiLine=Number.parseFloat(Fr.style.height)>=Yr,z.visible&&Tn.value!==!1&&((Mr=(Cr=$e.value)==null?void 0:Cr.updatePopper)==null||Mr.call(Cr))})},On=async Cr=>{if(!(z.previousQuery===Cr||z.isOnComposition)){if(z.previousQuery===null&&(isFunction$5($.filterMethod)||isFunction$5($.remoteMethod))){z.previousQuery=Cr;return}z.previousQuery=Cr,nextTick(()=>{var Mr,Fr;z.visible&&((Fr=(Mr=$e.value)==null?void 0:Mr.updatePopper)==null||Fr.call(Mr))}),z.hoverIndex=-1,$.multiple&&$.filterable&&nextTick(()=>{const Mr=_e.value.value.length*15+20;z.inputLength=$.collapseTags?Math.min(50,Mr):Mr,Vn(),Dn()}),$.remote&&isFunction$5($.remoteMethod)?(z.hoverIndex=-1,$.remoteMethod(Cr)):isFunction$5($.filterMethod)?($.filterMethod(Cr),triggerRef(qe)):(z.filteredOptionsCount=z.optionsCount,Ue.value.query=Cr,triggerRef(Ue),triggerRef(qe)),$.defaultFirstOption&&($.filterable||$.remote)&&z.filteredOptionsCount&&(await nextTick(),Mn())}},Vn=()=>{z.currentPlaceholder!==""&&(z.currentPlaceholder=_e.value.value?"":z.cachedPlaceHolder)},Mn=()=>{const Cr=kn.value.filter(jr=>jr.visible&&!jr.disabled&&!jr.states.groupDisabled),Mr=Cr.find(jr=>jr.created),Fr=Cr[0];z.hoverIndex=Zn(kn.value,Mr||Fr)},zn=()=>{var Cr;if($.multiple)z.selectedLabel="";else{const Fr=Kn($.modelValue);(Cr=Fr.props)!=null&&Cr.created?(z.createdLabel=Fr.props.value,z.createdSelected=!0):z.createdSelected=!1,z.selectedLabel=Fr.currentLabel,z.selected=Fr,$.filterable&&(z.query=z.selectedLabel);return}const Mr=[];Array.isArray($.modelValue)&&$.modelValue.forEach(Fr=>{Mr.push(Kn(Fr))}),z.selected=Mr,nextTick(()=>{Dn()})},Kn=Cr=>{let Mr;const Fr=toRawType(Cr).toLowerCase()==="object",jr=toRawType(Cr).toLowerCase()==="null",Gr=toRawType(Cr).toLowerCase()==="undefined";for(let kr=z.cachedOptions.size-1;kr>=0;kr--){const Rr=xn.value[kr];if(Fr?get$1(Rr.value,$.valueKey)===get$1(Cr,$.valueKey):Rr.value===Cr){Mr={value:Cr,currentLabel:Rr.currentLabel,isDisabled:Rr.isDisabled};break}}if(Mr)return Mr;const Yr=Fr?Cr.label:!jr&&!Gr?Cr:"",Xr={value:Cr,currentLabel:Yr};return $.multiple&&(Xr.hitState=!1),Xr},Hn=()=>{setTimeout(()=>{const Cr=$.valueKey;$.multiple?z.selected.length>0?z.hoverIndex=Math.min.apply(null,z.selected.map(Mr=>kn.value.findIndex(Fr=>get$1(Fr,Cr)===get$1(Mr,Cr)))):z.hoverIndex=-1:z.hoverIndex=kn.value.findIndex(Mr=>Tr(Mr)===Tr(z.selected))},300)},Xn=()=>{var Cr,Mr;lr(),(Mr=(Cr=$e.value)==null?void 0:Cr.updatePopper)==null||Mr.call(Cr),$.multiple&&Dn()},lr=()=>{var Cr;z.inputWidth=(Cr=pe.value)==null?void 0:Cr.$el.offsetWidth},yr=()=>{$.filterable&&z.query!==z.selectedLabel&&(z.query=z.selectedLabel,On(z.query))},ir=debounce(()=>{yr()},wn.value),Yn=debounce(Cr=>{On(Cr.target.value)},wn.value),Gn=Cr=>{isEqual$1($.modelValue,Cr)||ie.emit(CHANGE_EVENT,Cr)},Wn=Cr=>{if(Cr.code!==EVENT_CODE.delete){if(Cr.target.value.length<=0&&!gr()){const Mr=$.modelValue.slice();Mr.pop(),ie.emit(UPDATE_MODEL_EVENT,Mr),Gn(Mr)}Cr.target.value.length===1&&$.modelValue.length===0&&(z.currentPlaceholder=z.cachedPlaceHolder)}},Qn=(Cr,Mr)=>{const Fr=z.selected.indexOf(Mr);if(Fr>-1&&!bn.value){const jr=$.modelValue.slice();jr.splice(Fr,1),ie.emit(UPDATE_MODEL_EVENT,jr),Gn(jr),ie.emit("remove-tag",Mr.value)}Cr.stopPropagation()},fr=Cr=>{Cr.stopPropagation();const Mr=$.multiple?[]:"";if(!isString$6(Mr))for(const Fr of z.selected)Fr.isDisabled&&Mr.push(Fr.value);ie.emit(UPDATE_MODEL_EVENT,Mr),Gn(Mr),z.hoverIndex=-1,z.visible=!1,ie.emit("clear")},jn=Cr=>{var Mr;if($.multiple){const Fr=($.modelValue||[]).slice(),jr=Zn(Fr,Cr.value);jr>-1?Fr.splice(jr,1):($.multipleLimit<=0||Fr.length<$.multipleLimit)&&Fr.push(Cr.value),ie.emit(UPDATE_MODEL_EVENT,Fr),Gn(Fr),Cr.created&&(z.query="",On(""),z.inputLength=20),$.filterable&&((Mr=_e.value)==null||Mr.focus())}else ie.emit(UPDATE_MODEL_EVENT,Cr.value),Gn(Cr.value),z.visible=!1;rr(),!z.visible&&nextTick(()=>{mr(Cr)})},Zn=(Cr=[],Mr)=>{if(!isObject$9(Mr))return Cr.indexOf(Mr);const Fr=$.valueKey;let jr=-1;return Cr.some((Gr,Yr)=>toRaw(get$1(Gr,Fr))===get$1(Mr,Fr)?(jr=Yr,!0):!1),jr},rr=()=>{const Cr=_e.value||pe.value;Cr&&(Cr==null||Cr.focus())},mr=Cr=>{var Mr,Fr,jr,Gr,Yr;const Xr=Array.isArray(Cr)?Cr[0]:Cr;let kr=null;if(Xr!=null&&Xr.value){const Rr=kn.value.filter(Wr=>Wr.value===Xr.value);Rr.length>0&&(kr=Rr[0].$el)}if($e.value&&kr){const Rr=(Gr=(jr=(Fr=(Mr=$e.value)==null?void 0:Mr.popperRef)==null?void 0:Fr.contentRef)==null?void 0:jr.querySelector)==null?void 0:Gr.call(jr,`.${ue.be("dropdown","wrap")}`);Rr&&scrollIntoView(Rr,kr)}(Yr=Ve.value)==null||Yr.handleScroll()},_r=Cr=>{z.optionsCount++,z.filteredOptionsCount++,z.options.set(Cr.value,Cr),z.cachedOptions.set(Cr.value,Cr)},or=(Cr,Mr)=>{z.options.get(Cr)===Mr&&(z.optionsCount--,z.filteredOptionsCount--,z.options.delete(Cr))},$r=Cr=>{Cr.code!==EVENT_CODE.backspace&&gr(!1),z.inputLength=_e.value.value.length*15+20,Dn()},gr=Cr=>{if(!Array.isArray(z.selected))return;const Mr=z.selected[z.selected.length-1];if(Mr)return Cr===!0||Cr===!1?(Mr.hitState=Cr,Cr):(Mr.hitState=!Mr.hitState,Mr.hitState)},xr=Cr=>{const Mr=Cr.target.value;if(Cr.type==="compositionend")z.isOnComposition=!1,nextTick(()=>On(Mr));else{const Fr=Mr[Mr.length-1]||"";z.isOnComposition=!isKorean(Fr)}},pr=()=>{nextTick(()=>mr(z.selected))},sr=Cr=>{ignoreFocusEvent?ignoreFocusEvent=!1:(($.automaticDropdown||$.filterable)&&($.filterable&&!z.visible&&(z.menuVisibleOnFocus=!0),z.visible=!0),ie.emit("focus",Cr))},cr=()=>{var Cr,Mr,Fr;z.visible=!1,(Cr=pe.value)==null||Cr.blur(),(Fr=(Mr=Ce.value)==null?void 0:Mr.blur)==null||Fr.call(Mr)},hr=Cr=>{setTimeout(()=>{var Mr;if((Mr=$e.value)!=null&&Mr.isFocusInsideContent()){ignoreFocusEvent=!0;return}z.visible&&Dr(),ie.emit("blur",Cr)})},Pr=Cr=>{fr(Cr)},Dr=()=>{z.visible=!1},Lr=Cr=>{z.visible&&(Cr.preventDefault(),Cr.stopPropagation(),z.visible=!1)},Nr=Cr=>{var Mr;Cr&&!z.mouseEnter||bn.value||(z.menuVisibleOnFocus?z.menuVisibleOnFocus=!1:(!$e.value||!$e.value.isFocusInsideContent())&&(z.visible=!z.visible),z.visible&&((Mr=_e.value||pe.value)==null||Mr.focus()))},br=()=>{z.visible?kn.value[z.hoverIndex]&&jn(kn.value[z.hoverIndex]):Nr()},Tr=Cr=>isObject$9(Cr.value)?get$1(Cr.value,$.valueKey):Cr.value,ur=computed(()=>kn.value.filter(Cr=>Cr.visible).every(Cr=>Cr.disabled)),Jn=computed(()=>z.selected.slice(0,$.maxCollapseTags)),ar=computed(()=>z.selected.slice($.maxCollapseTags)),Sr=Cr=>{if(!z.visible){z.visible=!0;return}if(!(z.options.size===0||z.filteredOptionsCount===0)&&!z.isOnComposition&&!ur.value){Cr==="next"?(z.hoverIndex++,z.hoverIndex===z.options.size&&(z.hoverIndex=0)):Cr==="prev"&&(z.hoverIndex--,z.hoverIndex<0&&(z.hoverIndex=z.options.size-1));const Mr=kn.value[z.hoverIndex];(Mr.disabled===!0||Mr.states.groupDisabled===!0||!Mr.visible)&&Sr(Cr),nextTick(()=>mr(ze.value))}};return{optionList:Et,optionsArray:kn,selectSize:An,handleResize:Xn,debouncedOnInputChange:ir,debouncedQueryChange:Yn,deletePrevTag:Wn,deleteTag:Qn,deleteSelected:fr,handleOptionSelect:jn,scrollToOption:mr,readonly:_n,resetInputHeight:Dn,showClose:Cn,iconComponent:Sn,iconReverse:En,showNewOption:Pn,collapseTagSize:In,setSelected:zn,managePlaceholder:Vn,selectDisabled:bn,emptyText:Tn,toggleLastOptionHitState:gr,resetInputState:$r,handleComposition:xr,onOptionCreate:_r,onOptionDestroy:or,handleMenuEnter:pr,handleFocus:sr,blur:cr,handleBlur:hr,handleClearClick:Pr,handleClose:Dr,handleKeydownEscape:Lr,toggleMenu:Nr,selectOption:br,getValueKey:Tr,navigateOptions:Sr,dropMenuVisible:Fn,queryChange:Ue,groupQueryChange:qe,showTagList:Jn,collapseTagList:ar,reference:pe,input:_e,iOSInput:Ce,tooltipRef:$e,tags:xe,selectWrapper:Ie,scrollbar:Ve,handleMouseEnter:()=>{z.mouseEnter=!0},handleMouseLeave:()=>{z.mouseEnter=!1}}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup($,{slots:z,emit:ie}){let le=[];function ue(pe,_e){if(pe.length!==_e.length)return!1;for(const[Ce]of pe.entries())if(pe[Ce]!=_e[Ce])return!1;return!0}return()=>{var pe,_e;const Ce=(pe=z.default)==null?void 0:pe.call(z),$e=[];function xe(Ie){Array.isArray(Ie)&&Ie.forEach(Ve=>{var ze,Ue,qe,Et;const Lt=(ze=(Ve==null?void 0:Ve.type)||{})==null?void 0:ze.name;Lt==="ElOptionGroup"?xe(!isString$6(Ve.children)&&!Array.isArray(Ve.children)&&isFunction$5((Ue=Ve.children)==null?void 0:Ue.default)?(qe=Ve.children)==null?void 0:qe.default():Ve.children):Lt==="ElOption"?$e.push((Et=Ve.props)==null?void 0:Et.label):Array.isArray(Ve.children)&&xe(Ve.children)})}return Ce.length&&xe((_e=Ce[0])==null?void 0:_e.children),ue($e,le)||(le=$e,ie("update-options",$e)),Ce}}});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($,z){const ie=useNamespace("select"),le=useNamespace("input"),{t:ue}=useLocale(),pe=useSelectStates($),{optionList:_e,optionsArray:Ce,selectSize:$e,readonly:xe,handleResize:Ie,collapseTagSize:Ve,debouncedOnInputChange:ze,debouncedQueryChange:Ue,deletePrevTag:qe,deleteTag:Et,deleteSelected:Lt,handleOptionSelect:hn,scrollToOption:vn,setSelected:_n,resetInputHeight:bn,managePlaceholder:Cn,showClose:Sn,selectDisabled:En,iconComponent:wn,iconReverse:Tn,showNewOption:kn,emptyText:xn,toggleLastOptionHitState:Pn,resetInputState:An,handleComposition:In,onOptionCreate:Fn,onOptionDestroy:Dn,handleMenuEnter:On,handleFocus:Vn,blur:Mn,handleBlur:zn,handleClearClick:Kn,handleClose:Hn,handleKeydownEscape:Xn,toggleMenu:lr,selectOption:yr,getValueKey:ir,navigateOptions:Yn,dropMenuVisible:Gn,reference:Wn,input:Qn,iOSInput:fr,tooltipRef:jn,tags:Zn,selectWrapper:rr,scrollbar:mr,queryChange:_r,groupQueryChange:or,handleMouseEnter:$r,handleMouseLeave:gr,showTagList:xr,collapseTagList:pr}=useSelect$2($,pe,z),{focus:sr}=useFocus(Wn),{inputWidth:cr,selected:hr,inputLength:Pr,filteredOptionsCount:Dr,visible:Lr,selectedLabel:Nr,hoverIndex:br,query:Tr,inputHovering:ur,currentPlaceholder:Jn,menuVisibleOnFocus:ar,isOnComposition:Sr,options:Or,cachedOptions:Vr,optionsCount:Cr,prefixWidth:Mr,tagInMultiLine:Fr}=toRefs(pe),jr=computed(()=>{const Rr=[ie.b()],Wr=unref($e);return Wr&&Rr.push(ie.m(Wr)),$.disabled&&Rr.push(ie.m("disabled")),Rr}),Gr=computed(()=>({maxWidth:`${unref(cr)-32}px`,width:"100%"})),Yr=computed(()=>({maxWidth:`${unref(cr)>123?unref(cr)-123:unref(cr)-75}px`}));provide(selectKey,reactive({props:$,options:Or,optionsArray:Ce,cachedOptions:Vr,optionsCount:Cr,filteredOptionsCount:Dr,hoverIndex:br,handleOptionSelect:hn,onOptionCreate:Fn,onOptionDestroy:Dn,selectWrapper:rr,selected:hr,setSelected:_n,queryChange:_r,groupQueryChange:or})),onMounted(()=>{pe.cachedPlaceHolder=Jn.value=$.placeholder||(()=>ue("el.select.placeholder")),$.multiple&&Array.isArray($.modelValue)&&$.modelValue.length>0&&(Jn.value=""),useResizeObserver$1(rr,Ie),$.remote&&$.multiple&&bn(),nextTick(()=>{const Rr=Wn.value&&Wn.value.$el;if(Rr&&(cr.value=Rr.getBoundingClientRect().width,z.slots.prefix)){const Wr=Rr.querySelector(`.${le.e("prefix")}`);Mr.value=Math.max(Wr.getBoundingClientRect().width+5,30)}}),_n()}),$.multiple&&!Array.isArray($.modelValue)&&z.emit(UPDATE_MODEL_EVENT,[]),!$.multiple&&Array.isArray($.modelValue)&&z.emit(UPDATE_MODEL_EVENT,"");const Xr=computed(()=>{var Rr,Wr;return(Wr=(Rr=jn.value)==null?void 0:Rr.popperRef)==null?void 0:Wr.contentRef});return{isIOS:isIOS$1,onOptionsRendered:Rr=>{_e.value=Rr},tagInMultiLine:Fr,prefixWidth:Mr,selectSize:$e,readonly:xe,handleResize:Ie,collapseTagSize:Ve,debouncedOnInputChange:ze,debouncedQueryChange:Ue,deletePrevTag:qe,deleteTag:Et,deleteSelected:Lt,handleOptionSelect:hn,scrollToOption:vn,inputWidth:cr,selected:hr,inputLength:Pr,filteredOptionsCount:Dr,visible:Lr,selectedLabel:Nr,hoverIndex:br,query:Tr,inputHovering:ur,currentPlaceholder:Jn,menuVisibleOnFocus:ar,isOnComposition:Sr,options:Or,resetInputHeight:bn,managePlaceholder:Cn,showClose:Sn,selectDisabled:En,iconComponent:wn,iconReverse:Tn,showNewOption:kn,emptyText:xn,toggleLastOptionHitState:Pn,resetInputState:An,handleComposition:In,handleMenuEnter:On,handleFocus:Vn,blur:Mn,handleBlur:zn,handleClearClick:Kn,handleClose:Hn,handleKeydownEscape:Xn,toggleMenu:lr,selectOption:yr,getValueKey:ir,navigateOptions:Yn,dropMenuVisible:Gn,focus:sr,reference:Wn,input:Qn,iOSInput:fr,tooltipRef:jn,popperPaneRef:Xr,tags:Zn,selectWrapper:rr,scrollbar:mr,wrapperKls:jr,selectTagsStyle:Gr,nsSelect:ie,tagTextStyle:Yr,handleMouseEnter:$r,handleMouseLeave:gr,showTagList:xr,collapseTagList:pr}}}),_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($,z,ie,le,ue,pe){const _e=resolveComponent("el-tag"),Ce=resolveComponent("el-tooltip"),$e=resolveComponent("el-icon"),xe=resolveComponent("el-input"),Ie=resolveComponent("el-option"),Ve=resolveComponent("el-options"),ze=resolveComponent("el-scrollbar"),Ue=resolveComponent("el-select-menu"),qe=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass($.wrapperKls),onMouseenter:z[21]||(z[21]=(...Et)=>$.handleMouseEnter&&$.handleMouseEnter(...Et)),onMouseleave:z[22]||(z[22]=(...Et)=>$.handleMouseLeave&&$.handleMouseLeave(...Et)),onClick:z[23]||(z[23]=withModifiers((...Et)=>$.toggleMenu&&$.toggleMenu(...Et),["stop"]))},[createVNode(Ce,{ref:"tooltipRef",visible:$.dropMenuVisible,placement:$.placement,teleported:$.teleported,"popper-class":[$.nsSelect.e("popper"),$.popperClass],"popper-options":$.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:$.effect,pure:"",trigger:"click",transition:`${$.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:$.persistent,onShow:$.handleMenuEnter},{default:withCtx(()=>[createBaseVNode("div",{class:"select-trigger",onMouseenter:z[19]||(z[19]=Et=>$.inputHovering=!0),onMouseleave:z[20]||(z[20]=Et=>$.inputHovering=!1)},[$.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"tags",class:normalizeClass([$.nsSelect.e("tags"),$.nsSelect.is("disabled",$.selectDisabled)]),style:normalizeStyle$1($.selectTagsStyle)},[$.collapseTags&&$.selected.length?(openBlock(),createBlock(Transition,{key:0,onAfterLeave:$.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([$.nsSelect.b("tags-wrapper"),{"has-prefix":$.prefixWidth&&$.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.showTagList,Et=>(openBlock(),createBlock(_e,{key:$.getValueKey(Et),closable:!$.selectDisabled&&!Et.isDisabled,size:$.collapseTagSize,hit:Et.hitState,type:$.tagType,"disable-transitions":"",onClose:Lt=>$.deleteTag(Lt,Et)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text")),style:normalizeStyle$1($.tagTextStyle)},toDisplayString$1(Et.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),$.selected.length>$.maxCollapseTags?(openBlock(),createBlock(_e,{key:0,closable:!1,size:$.collapseTagSize,type:$.tagType,"disable-transitions":""},{default:withCtx(()=>[$.collapseTagsTooltip?(openBlock(),createBlock(Ce,{key:0,disabled:$.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:$.effect,placement:"bottom",teleported:$.teleported},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text"))},"+ "+toDisplayString$1($.selected.length-$.maxCollapseTags),3)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass($.nsSelect.e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.collapseTagList,Et=>(openBlock(),createElementBlock("div",{key:$.getValueKey(Et),class:normalizeClass($.nsSelect.e("collapse-tag"))},[createVNode(_e,{class:"in-tooltip",closable:!$.selectDisabled&&!Et.isDisabled,size:$.collapseTagSize,hit:Et.hitState,type:$.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:Lt=>$.deleteTag(Lt,Et)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:$.inputWidth-75+"px"})},toDisplayString$1(Et.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass($.nsSelect.e("tags-text"))},"+ "+toDisplayString$1($.selected.length-$.maxCollapseTags),3))]),_:1},8,["size","type"])):createCommentVNode("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):createCommentVNode("v-if",!0),$.collapseTags?createCommentVNode("v-if",!0):(openBlock(),createBlock(Transition,{key:1,onAfterLeave:$.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([$.nsSelect.b("tags-wrapper"),{"has-prefix":$.prefixWidth&&$.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.selected,Et=>(openBlock(),createBlock(_e,{key:$.getValueKey(Et),closable:!$.selectDisabled&&!Et.isDisabled,size:$.collapseTagSize,hit:Et.hitState,type:$.tagType,"disable-transitions":"",onClose:Lt=>$.deleteTag(Lt,Et)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:$.inputWidth-75+"px"})},toDisplayString$1(Et.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),$.filterable?withDirectives((openBlock(),createElementBlock("input",{key:2,ref:"input","onUpdate:modelValue":z[0]||(z[0]=Et=>$.query=Et),type:"text",class:normalizeClass([$.nsSelect.e("input"),$.nsSelect.is($.selectSize),$.nsSelect.is("disabled",$.selectDisabled)]),disabled:$.selectDisabled,autocomplete:$.autocomplete,style:normalizeStyle$1({marginLeft:$.prefixWidth&&!$.selected.length||$.tagInMultiLine?`${$.prefixWidth}px`:"",flexGrow:1,width:`${$.inputLength/($.inputWidth-32)}%`,maxWidth:`${$.inputWidth-42}px`}),onFocus:z[1]||(z[1]=(...Et)=>$.handleFocus&&$.handleFocus(...Et)),onBlur:z[2]||(z[2]=(...Et)=>$.handleBlur&&$.handleBlur(...Et)),onKeyup:z[3]||(z[3]=(...Et)=>$.managePlaceholder&&$.managePlaceholder(...Et)),onKeydown:[z[4]||(z[4]=(...Et)=>$.resetInputState&&$.resetInputState(...Et)),z[5]||(z[5]=withKeys(withModifiers(Et=>$.navigateOptions("next"),["prevent"]),["down"])),z[6]||(z[6]=withKeys(withModifiers(Et=>$.navigateOptions("prev"),["prevent"]),["up"])),z[7]||(z[7]=withKeys((...Et)=>$.handleKeydownEscape&&$.handleKeydownEscape(...Et),["esc"])),z[8]||(z[8]=withKeys(withModifiers((...Et)=>$.selectOption&&$.selectOption(...Et),["stop","prevent"]),["enter"])),z[9]||(z[9]=withKeys((...Et)=>$.deletePrevTag&&$.deletePrevTag(...Et),["delete"])),z[10]||(z[10]=withKeys(Et=>$.visible=!1,["tab"]))],onCompositionstart:z[11]||(z[11]=(...Et)=>$.handleComposition&&$.handleComposition(...Et)),onCompositionupdate:z[12]||(z[12]=(...Et)=>$.handleComposition&&$.handleComposition(...Et)),onCompositionend:z[13]||(z[13]=(...Et)=>$.handleComposition&&$.handleComposition(...Et)),onInput:z[14]||(z[14]=(...Et)=>$.debouncedQueryChange&&$.debouncedQueryChange(...Et))},null,46,_hoisted_1$p)),[[vModelText,$.query]]):createCommentVNode("v-if",!0)],6)):createCommentVNode("v-if",!0),createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),$.isIOS&&!$.multiple&&$.filterable&&$.readonly?(openBlock(),createElementBlock("input",{key:1,ref:"iOSInput",class:normalizeClass([$.nsSelect.e("input"),$.nsSelect.is($.selectSize),$.nsSelect.em("input","iOS")]),disabled:$.selectDisabled,type:"text"},null,10,_hoisted_2$h)):createCommentVNode("v-if",!0),createVNode(xe,{id:$.id,ref:"reference",modelValue:$.selectedLabel,"onUpdate:modelValue":z[15]||(z[15]=Et=>$.selectedLabel=Et),type:"text",placeholder:typeof $.currentPlaceholder=="function"?$.currentPlaceholder():$.currentPlaceholder,name:$.name,autocomplete:$.autocomplete,size:$.selectSize,disabled:$.selectDisabled,readonly:$.readonly,"validate-event":!1,class:normalizeClass([$.nsSelect.is("focus",$.visible)]),tabindex:$.multiple&&$.filterable?-1:void 0,onFocus:$.handleFocus,onBlur:$.handleBlur,onInput:$.debouncedOnInputChange,onPaste:$.debouncedOnInputChange,onCompositionstart:$.handleComposition,onCompositionupdate:$.handleComposition,onCompositionend:$.handleComposition,onKeydown:[z[16]||(z[16]=withKeys(withModifiers(Et=>$.navigateOptions("next"),["stop","prevent"]),["down"])),z[17]||(z[17]=withKeys(withModifiers(Et=>$.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers($.selectOption,["stop","prevent"]),["enter"]),withKeys($.handleKeydownEscape,["esc"]),z[18]||(z[18]=withKeys(Et=>$.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[$.iconComponent&&!$.showClose?(openBlock(),createBlock($e,{key:0,class:normalizeClass([$.nsSelect.e("caret"),$.nsSelect.e("icon"),$.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),$.showClose&&$.clearIcon?(openBlock(),createBlock($e,{key:1,class:normalizeClass([$.nsSelect.e("caret"),$.nsSelect.e("icon")]),onClick:$.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:2},[$.$slots.prefix?{name:"prefix",fn:withCtx(()=>[createBaseVNode("div",_hoisted_3$a,[renderSlot($.$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(Ue,null,{default:withCtx(()=>[withDirectives(createVNode(ze,{ref:"scrollbar",tag:"ul","wrap-class":$.nsSelect.be("dropdown","wrap"),"view-class":$.nsSelect.be("dropdown","list"),class:normalizeClass([$.nsSelect.is("empty",!$.allowCreate&&!!$.query&&$.filteredOptionsCount===0)])},{default:withCtx(()=>[$.showNewOption?(openBlock(),createBlock(Ie,{key:0,value:$.query,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode(Ve,{onUpdateOptions:$.onOptionsRendered},{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[vShow,$.options.size>0&&!$.loading]]),$.emptyText&&(!$.allowCreate||$.loading||$.allowCreate&&$.options.size===0)?(openBlock(),createElementBlock(Fragment,{key:0},[$.$slots.empty?renderSlot($.$slots,"empty",{key:0}):(openBlock(),createElementBlock("p",{key:1,class:normalizeClass($.nsSelect.be("dropdown","empty"))},toDisplayString$1($.emptyText),3))],64)):createCommentVNode("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[qe,$.handleClose,$.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($){const z=useNamespace("select"),ie=ref(!0),le=getCurrentInstance(),ue=ref([]);provide(selectGroupKey,reactive({...toRefs($)}));const pe=inject(selectKey);onMounted(()=>{ue.value=_e(le.subTree)});const _e=$e=>{const xe=[];return Array.isArray($e.children)&&$e.children.forEach(Ie=>{var Ve;Ie.type&&Ie.type.name==="ElOption"&&Ie.component&&Ie.component.proxy?xe.push(Ie.component.proxy):(Ve=Ie.children)!=null&&Ve.length&&xe.push(..._e(Ie))}),xe},{groupQueryChange:Ce}=toRaw(pe);return watch(Ce,()=>{ie.value=ue.value.some($e=>$e.visible===!0)},{flush:"post"}),{visible:ie,ns:z}}});function _sfc_render$9($,z,ie,le,ue,pe){return withDirectives((openBlock(),createElementBlock("ul",{class:normalizeClass($.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass($.ns.be("group","title"))},toDisplayString$1($.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass($.ns.b("group"))},[renderSlot($.$slots,"default")],2)])],2)),[[vShow,$.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($,{emit:z}){const ie=$,{t:le}=useLocale(),ue=useNamespace("pagination"),pe=usePagination(),_e=ref(ie.pageSize);watch(()=>ie.pageSizes,(xe,Ie)=>{if(!isEqual$1(xe,Ie)&&Array.isArray(xe)){const Ve=xe.includes(ie.pageSize)?ie.pageSize:ie.pageSizes[0];z("page-size-change",Ve)}}),watch(()=>ie.pageSize,xe=>{_e.value=xe});const Ce=computed(()=>ie.pageSizes);function $e(xe){var Ie;xe!==_e.value&&(_e.value=xe,(Ie=pe.handleSizeChange)==null||Ie.call(pe,Number(xe)))}return(xe,Ie)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ue).e("sizes"))},[createVNode(unref(ElSelect),{"model-value":_e.value,disabled:xe.disabled,"popper-class":xe.popperClass,size:xe.size,"validate-event":!1,onChange:$e},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ce),Ve=>(openBlock(),createBlock(unref(ElOption),{key:Ve,value:Ve,label:Ve+unref(le)("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($){const{t:z}=useLocale(),ie=useNamespace("pagination"),{pageCount:le,disabled:ue,currentPage:pe,changeEvent:_e}=usePagination(),Ce=ref(),$e=computed(()=>{var Ve;return(Ve=Ce.value)!=null?Ve:pe==null?void 0:pe.value});function xe(Ve){Ce.value=Ve?+Ve:""}function Ie(Ve){Ve=Math.trunc(+Ve),_e==null||_e(Ve),Ce.value=void 0}return(Ve,ze)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("jump")),disabled:unref(ue)},[createBaseVNode("span",{class:normalizeClass([unref(ie).e("goto")])},toDisplayString$1(unref(z)("el.pagination.goto")),3),createVNode(unref(ElInput),{size:Ve.size,class:normalizeClass([unref(ie).e("editor"),unref(ie).is("in-pagination")]),min:1,max:unref(le),disabled:unref(ue),"model-value":unref($e),"validate-event":!1,label:unref(z)("el.pagination.page"),type:"number","onUpdate:modelValue":xe,onChange:Ie},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref(ie).e("classifier")])},toDisplayString$1(unref(z)("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($){const{t:z}=useLocale(),ie=useNamespace("pagination"),{disabled:le}=usePagination();return(ue,pe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("total")),disabled:unref(le)},toDisplayString$1(unref(z)("el.pagination.total",{total:ue.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($,{emit:z}){const ie=$,le=useNamespace("pager"),ue=useNamespace("icon"),{t:pe}=useLocale(),_e=ref(!1),Ce=ref(!1),$e=ref(!1),xe=ref(!1),Ie=ref(!1),Ve=ref(!1),ze=computed(()=>{const bn=ie.pagerCount,Cn=(bn-1)/2,Sn=Number(ie.currentPage),En=Number(ie.pageCount);let wn=!1,Tn=!1;En>bn&&(Sn>bn-Cn&&(wn=!0),Sn<En-Cn&&(Tn=!0));const kn=[];if(wn&&!Tn){const xn=En-(bn-2);for(let Pn=xn;Pn<En;Pn++)kn.push(Pn)}else if(!wn&&Tn)for(let xn=2;xn<bn;xn++)kn.push(xn);else if(wn&&Tn){const xn=Math.floor(bn/2)-1;for(let Pn=Sn-xn;Pn<=Sn+xn;Pn++)kn.push(Pn)}else for(let xn=2;xn<En;xn++)kn.push(xn);return kn}),Ue=computed(()=>["more","btn-quickprev",ue.b(),le.is("disabled",ie.disabled)]),qe=computed(()=>["more","btn-quicknext",ue.b(),le.is("disabled",ie.disabled)]),Et=computed(()=>ie.disabled?-1:0);watchEffect(()=>{const bn=(ie.pagerCount-1)/2;_e.value=!1,Ce.value=!1,ie.pageCount>ie.pagerCount&&(ie.currentPage>ie.pagerCount-bn&&(_e.value=!0),ie.currentPage<ie.pageCount-bn&&(Ce.value=!0))});function Lt(bn=!1){ie.disabled||(bn?$e.value=!0:xe.value=!0)}function hn(bn=!1){bn?Ie.value=!0:Ve.value=!0}function vn(bn){const Cn=bn.target;if(Cn.tagName.toLowerCase()==="li"&&Array.from(Cn.classList).includes("number")){const Sn=Number(Cn.textContent);Sn!==ie.currentPage&&z("change",Sn)}else Cn.tagName.toLowerCase()==="li"&&Array.from(Cn.classList).includes("more")&&_n(bn)}function _n(bn){const Cn=bn.target;if(Cn.tagName.toLowerCase()==="ul"||ie.disabled)return;let Sn=Number(Cn.textContent);const En=ie.pageCount,wn=ie.currentPage,Tn=ie.pagerCount-2;Cn.className.includes("more")&&(Cn.className.includes("quickprev")?Sn=wn-Tn:Cn.className.includes("quicknext")&&(Sn=wn+Tn)),Number.isNaN(+Sn)||(Sn<1&&(Sn=1),Sn>En&&(Sn=En)),Sn!==wn&&z("change",Sn)}return(bn,Cn)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(le).b()),onClick:_n,onKeyup:withKeys(vn,["enter"])},[bn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(le).is("active",bn.currentPage===1),unref(le).is("disabled",bn.disabled)],"number"]),"aria-current":bn.currentPage===1,"aria-label":unref(pe)("el.pagination.currentPage",{pager:1}),tabindex:unref(Et)}," 1 ",10,_hoisted_2$g)):createCommentVNode("v-if",!0),_e.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(Ue)),tabindex:unref(Et),"aria-label":unref(pe)("el.pagination.prevPages",{pager:bn.pagerCount-2}),onMouseenter:Cn[0]||(Cn[0]=Sn=>Lt(!0)),onMouseleave:Cn[1]||(Cn[1]=Sn=>$e.value=!1),onFocus:Cn[2]||(Cn[2]=Sn=>hn(!0)),onBlur:Cn[3]||(Cn[3]=Sn=>Ie.value=!1)},[($e.value||Ie.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(ze),Sn=>(openBlock(),createElementBlock("li",{key:Sn,class:normalizeClass([[unref(le).is("active",bn.currentPage===Sn),unref(le).is("disabled",bn.disabled)],"number"]),"aria-current":bn.currentPage===Sn,"aria-label":unref(pe)("el.pagination.currentPage",{pager:Sn}),tabindex:unref(Et)},toDisplayString$1(Sn),11,_hoisted_4$6))),128)),Ce.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(qe)),tabindex:unref(Et),"aria-label":unref(pe)("el.pagination.nextPages",{pager:bn.pagerCount-2}),onMouseenter:Cn[4]||(Cn[4]=Sn=>Lt()),onMouseleave:Cn[5]||(Cn[5]=Sn=>xe.value=!1),onFocus:Cn[6]||(Cn[6]=Sn=>hn()),onBlur:Cn[7]||(Cn[7]=Sn=>Ve.value=!1)},[(xe.value||Ve.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(le).is("active",bn.currentPage===bn.pageCount),unref(le).is("disabled",bn.disabled)],"number"]),"aria-current":bn.currentPage===bn.pageCount,"aria-label":unref(pe)("el.pagination.currentPage",{pager:bn.pageCount}),tabindex:unref(Et)},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=$=>typeof $!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:$=>isNumber$4($)&&Math.trunc($)===$&&$>4&&$<22&&$%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":$=>isNumber$4($),"update:page-size":$=>isNumber$4($),"size-change":$=>isNumber$4($),"current-change":$=>isNumber$4($),"prev-click":$=>isNumber$4($),"next-click":$=>isNumber$4($)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup($,{emit:z,slots:ie}){const{t:le}=useLocale(),ue=useNamespace("pagination"),pe=getCurrentInstance().vnode.props||{},_e="onUpdate:currentPage"in pe||"onUpdate:current-page"in pe||"onCurrentChange"in pe,Ce="onUpdate:pageSize"in pe||"onUpdate:page-size"in pe||"onSizeChange"in pe,$e=computed(()=>{if(isAbsent($.total)&&isAbsent($.pageCount)||!isAbsent($.currentPage)&&!_e)return!1;if($.layout.includes("sizes")){if(isAbsent($.pageCount)){if(!isAbsent($.total)&&!isAbsent($.pageSize)&&!Ce)return!1}else if(!Ce)return!1}return!0}),xe=ref(isAbsent($.defaultPageSize)?10:$.defaultPageSize),Ie=ref(isAbsent($.defaultCurrentPage)?1:$.defaultCurrentPage),Ve=computed({get(){return isAbsent($.pageSize)?xe.value:$.pageSize},set(_n){isAbsent($.pageSize)&&(xe.value=_n),Ce&&(z("update:page-size",_n),z("size-change",_n))}}),ze=computed(()=>{let _n=0;return isAbsent($.pageCount)?isAbsent($.total)||(_n=Math.max(1,Math.ceil($.total/Ve.value))):_n=$.pageCount,_n}),Ue=computed({get(){return isAbsent($.currentPage)?Ie.value:$.currentPage},set(_n){let bn=_n;_n<1?bn=1:_n>ze.value&&(bn=ze.value),isAbsent($.currentPage)&&(Ie.value=bn),_e&&(z("update:current-page",bn),z("current-change",bn))}});watch(ze,_n=>{Ue.value>_n&&(Ue.value=_n)});function qe(_n){Ue.value=_n}function Et(_n){Ve.value=_n;const bn=ze.value;Ue.value>bn&&(Ue.value=bn)}function Lt(){$.disabled||(Ue.value-=1,z("prev-click",Ue.value))}function hn(){$.disabled||(Ue.value+=1,z("next-click",Ue.value))}function vn(_n,bn){_n&&(_n.props||(_n.props={}),_n.props.class=[_n.props.class,bn].join(" "))}return provide(elPaginationKey,{pageCount:ze,disabled:computed(()=>$.disabled),currentPage:Ue,changeEvent:qe,handleSizeChange:Et}),()=>{var _n,bn;if(!$e.value)return le("el.pagination.deprecationWarning"),null;if(!$.layout||$.hideOnSinglePage&&ze.value<=1)return null;const Cn=[],Sn=[],En=h$3("div",{class:ue.e("rightwrapper")},Sn),wn={prev:h$3(Prev,{disabled:$.disabled,currentPage:Ue.value,prevText:$.prevText,prevIcon:$.prevIcon,onClick:Lt}),jumper:h$3(Jumper,{size:$.small?"small":"default"}),pager:h$3(Pager,{currentPage:Ue.value,pageCount:ze.value,pagerCount:$.pagerCount,onChange:qe,disabled:$.disabled}),next:h$3(Next,{disabled:$.disabled,currentPage:Ue.value,pageCount:ze.value,nextText:$.nextText,nextIcon:$.nextIcon,onClick:hn}),sizes:h$3(Sizes,{pageSize:Ve.value,pageSizes:$.pageSizes,popperClass:$.popperClass,disabled:$.disabled,size:$.small?"small":"default"}),slot:(bn=(_n=ie==null?void 0:ie.default)==null?void 0:_n.call(ie))!=null?bn:null,total:h$3(Total,{total:isAbsent($.total)?0:$.total})},Tn=$.layout.split(",").map(xn=>xn.trim());let kn=!1;return Tn.forEach(xn=>{if(xn==="->"){kn=!0;return}kn?Sn.push(wn[xn]):Cn.push(wn[xn])}),vn(Cn[0],ue.is("first")),vn(Cn[Cn.length-1],ue.is("last")),kn&&Sn.length>0&&(vn(Sn[0],ue.is("first")),vn(Sn[Sn.length-1],ue.is("last")),Cn.push(En)),h$3("div",{class:[ue.b(),ue.is("background",$.background),{[ue.m("small")]:$.small}]},Cn)}}});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:$=>$ instanceof MouseEvent,cancel:$=>$ instanceof MouseEvent},__default__$y=defineComponent({name:"ElPopconfirm"}),_sfc_main$K=defineComponent({...__default__$y,props:popconfirmProps,emits:popconfirmEmits,setup($,{emit:z}){const ie=$,{t:le}=useLocale(),ue=useNamespace("popconfirm"),pe=ref(),_e=()=>{var ze,Ue;(Ue=(ze=pe.value)==null?void 0:ze.onClose)==null||Ue.call(ze)},Ce=computed(()=>({width:addUnit(ie.width)})),$e=ze=>{z("confirm",ze),_e()},xe=ze=>{z("cancel",ze),_e()},Ie=computed(()=>ie.confirmButtonText||le("el.popconfirm.confirmButtonText")),Ve=computed(()=>ie.cancelButtonText||le("el.popconfirm.cancelButtonText"));return(ze,Ue)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:pe,trigger:"click",effect:"light"},ze.$attrs,{"popper-class":`${unref(ue).namespace.value}-popover`,"popper-style":unref(Ce),teleported:ze.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":ze.hideAfter,persistent:ze.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("main"))},[!ze.hideIcon&&ze.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("icon")),style:normalizeStyle$1({color:ze.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ze.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString$1(ze.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(ue).e("action"))},[createVNode(unref(ElButton),{size:"small",type:ze.cancelButtonType==="text"?"":ze.cancelButtonType,text:ze.cancelButtonType==="text",onClick:xe},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Ve)),1)]),_:1},8,["type","text"]),createVNode(unref(ElButton),{size:"small",type:ze.confirmButtonType==="text"?"":ze.confirmButtonType,text:ze.confirmButtonType==="text",onClick:$e},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(Ie)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[ze.$slots.reference?renderSlot(ze.$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":$=>isBoolean$3($),"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($,{expose:z,emit:ie}){const le=$,ue=computed(()=>le[updateEventKeyRaw]),pe=useNamespace("popover"),_e=ref(),Ce=computed(()=>{var Lt;return(Lt=unref(_e))==null?void 0:Lt.popperRef}),$e=computed(()=>[{width:addUnit(le.width)},le.popperStyle]),xe=computed(()=>[pe.b(),le.popperClass,{[pe.m("plain")]:!!le.content}]),Ie=computed(()=>le.transition===`${pe.namespace.value}-fade-in-linear`),Ve=()=>{var Lt;(Lt=_e.value)==null||Lt.hide()},ze=()=>{ie("before-enter")},Ue=()=>{ie("before-leave")},qe=()=>{ie("after-enter")},Et=()=>{ie("update:visible",!1),ie("after-leave")};return z({popperRef:Ce,hide:Ve}),(Lt,hn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:_e},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(xe),"popper-style":unref($e),teleported:Lt.teleported,persistent:Lt.persistent,"gpu-acceleration":unref(Ie),"onUpdate:visible":unref(ue),onBeforeShow:ze,onBeforeHide:Ue,onShow:qe,onHide:Et}),{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=($,z)=>{const ie=z.arg||z.value,le=ie==null?void 0:ie.popperRef;le&&(le.triggerRef=$)};var PopoverDirective={mounted($,z){attachEvents($,z)},updated($,z){attachEvents($,z)}};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:$=>$>=0&&$<=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:$=>`${$}%`}}),_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($){const z=$,ie={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},le=useNamespace("progress"),ue=computed(()=>({width:`${z.percentage}%`,animationDuration:`${z.duration}s`,backgroundColor:vn(z.percentage)})),pe=computed(()=>(z.strokeWidth/z.width*100).toFixed(1)),_e=computed(()=>["circle","dashboard"].includes(z.type)?Number.parseInt(`${50-Number.parseFloat(pe.value)/2}`,10):0),Ce=computed(()=>{const _n=_e.value,bn=z.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*_e.value),xe=computed(()=>z.type==="dashboard"?.75:1),Ie=computed(()=>`${-1*$e.value*(1-xe.value)/2}px`),Ve=computed(()=>({strokeDasharray:`${$e.value*xe.value}px, ${$e.value}px`,strokeDashoffset:Ie.value})),ze=computed(()=>({strokeDasharray:`${$e.value*xe.value*(z.percentage/100)}px, ${$e.value}px`,strokeDashoffset:Ie.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ue=computed(()=>{let _n;return z.color?_n=vn(z.percentage):_n=ie[z.status]||ie.default,_n}),qe=computed(()=>z.status==="warning"?warning_filled_default:z.type==="line"?z.status==="success"?circle_check_default:circle_close_default:z.status==="success"?check_default:close_default),Et=computed(()=>z.type==="line"?12+z.strokeWidth*.4:z.width*.111111+2),Lt=computed(()=>z.format(z.percentage));function hn(_n){const bn=100/_n.length;return _n.map((Sn,En)=>isString$6(Sn)?{color:Sn,percentage:(En+1)*bn}:Sn).sort((Sn,En)=>Sn.percentage-En.percentage)}const vn=_n=>{var bn;const{color:Cn}=z;if(isFunction$5(Cn))return Cn(_n);if(isString$6(Cn))return Cn;{const Sn=hn(Cn);for(const En of Sn)if(En.percentage>_n)return En.color;return(bn=Sn[Sn.length-1])==null?void 0:bn.color}};return(_n,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(le).m(_n.type),unref(le).is(_n.status),{[unref(le).m("without-text")]:!_n.showText,[unref(le).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(le).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(le).be("bar","outer")),style:normalizeStyle$1({height:`${_n.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(le).be("bar","inner"),{[unref(le).bem("bar","inner","indeterminate")]:_n.indeterminate},{[unref(le).bem("bar","inner","striped")]:_n.striped},{[unref(le).bem("bar","inner","striped-flow")]:_n.stripedFlow}]),style:normalizeStyle$1(unref(ue))},[(_n.showText||_n.$slots.default)&&_n.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).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(le).b("circle")),style:normalizeStyle$1({height:`${_n.width}px`,width:`${_n.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$f,[createBaseVNode("path",{class:normalizeClass(unref(le).be("circle","track")),d:unref(Ce),stroke:`var(${unref(le).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":unref(pe),fill:"none",style:normalizeStyle$1(unref(Ve))},null,14,_hoisted_3$8),createBaseVNode("path",{class:normalizeClass(unref(le).be("circle","path")),d:unref(Ce),stroke:unref(Ue),fill:"none",opacity:_n.percentage?1:0,"stroke-linecap":_n.strokeLinecap,"stroke-width":unref(pe),style:normalizeStyle$1(unref(ze))},null,14,_hoisted_4$5)]))],6)),(_n.showText||_n.$slots.default)&&!_n.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(le).e("text")),style:normalizeStyle$1({fontSize:`${unref(Et)}px`})},[renderSlot(_n.$slots,"default",{percentage:_n.percentage},()=>[_n.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(qe))))]),_: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]:$=>isNumber$4($),[UPDATE_MODEL_EVENT]:$=>isNumber$4($)},_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($,{expose:z,emit:ie}){const le=$;function ue(Dn,On){const Vn=Kn=>isObject$9(Kn),Mn=Object.keys(On).map(Kn=>+Kn).filter(Kn=>{const Hn=On[Kn];return(Vn(Hn)?Hn.excluded:!1)?Dn<Kn:Dn<=Kn}).sort((Kn,Hn)=>Kn-Hn),zn=On[Mn[0]];return Vn(zn)&&zn.value||zn}const pe=inject(formContextKey,void 0),_e=inject(formItemContextKey,void 0),Ce=useFormSize(),$e=useNamespace("rate"),{inputId:xe,isLabeledByFormItem:Ie}=useFormItemInputId(le,{formItemContext:_e}),Ve=ref(le.modelValue),ze=ref(-1),Ue=ref(!0),qe=computed(()=>[$e.b(),$e.m(Ce.value)]),Et=computed(()=>le.disabled||(pe==null?void 0:pe.disabled)),Lt=computed(()=>$e.cssVarBlock({"void-color":le.voidColor,"disabled-void-color":le.disabledVoidColor,"fill-color":bn.value})),hn=computed(()=>{let Dn="";return le.showScore?Dn=le.scoreTemplate.replace(/\{\s*value\s*\}/,Et.value?`${le.modelValue}`:`${Ve.value}`):le.showText&&(Dn=le.texts[Math.ceil(Ve.value)-1]),Dn}),vn=computed(()=>le.modelValue*100-Math.floor(le.modelValue)*100),_n=computed(()=>isArray$c(le.colors)?{[le.lowThreshold]:le.colors[0],[le.highThreshold]:{value:le.colors[1],excluded:!0},[le.max]:le.colors[2]}:le.colors),bn=computed(()=>{const Dn=ue(Ve.value,_n.value);return isObject$9(Dn)?"":Dn}),Cn=computed(()=>{let Dn="";return Et.value?Dn=`${vn.value}%`:le.allowHalf&&(Dn="50%"),{color:bn.value,width:Dn}}),Sn=computed(()=>{let Dn=isArray$c(le.icons)?[...le.icons]:{...le.icons};return Dn=markRaw(Dn),isArray$c(Dn)?{[le.lowThreshold]:Dn[0],[le.highThreshold]:{value:Dn[1],excluded:!0},[le.max]:Dn[2]}:Dn}),En=computed(()=>ue(le.modelValue,Sn.value)),wn=computed(()=>Et.value?isString$6(le.disabledVoidIcon)?le.disabledVoidIcon:markRaw(le.disabledVoidIcon):isString$6(le.voidIcon)?le.voidIcon:markRaw(le.voidIcon)),Tn=computed(()=>ue(Ve.value,Sn.value));function kn(Dn){const On=Et.value&&vn.value>0&&Dn-1<le.modelValue&&Dn>le.modelValue,Vn=le.allowHalf&&Ue.value&&Dn-.5<=Ve.value&&Dn>Ve.value;return On||Vn}function xn(Dn){le.clearable&&Dn===le.modelValue&&(Dn=0),ie(UPDATE_MODEL_EVENT,Dn),le.modelValue!==Dn&&ie("change",Dn)}function Pn(Dn){Et.value||(le.allowHalf&&Ue.value?xn(Ve.value):xn(Dn))}function An(Dn){if(Et.value)return;let On=Ve.value;const Vn=Dn.code;return Vn===EVENT_CODE.up||Vn===EVENT_CODE.right?(le.allowHalf?On+=.5:On+=1,Dn.stopPropagation(),Dn.preventDefault()):(Vn===EVENT_CODE.left||Vn===EVENT_CODE.down)&&(le.allowHalf?On-=.5:On-=1,Dn.stopPropagation(),Dn.preventDefault()),On=On<0?0:On,On=On>le.max?le.max:On,ie(UPDATE_MODEL_EVENT,On),ie("change",On),On}function In(Dn,On){if(!Et.value){if(le.allowHalf&&On){let Vn=On.target;hasClass(Vn,$e.e("item"))&&(Vn=Vn.querySelector(`.${$e.e("icon")}`)),(Vn.clientWidth===0||hasClass(Vn,$e.e("decimal")))&&(Vn=Vn.parentNode),Ue.value=On.offsetX*2<=Vn.clientWidth,Ve.value=Ue.value?Dn-.5:Dn}else Ve.value=Dn;ze.value=Dn}}function Fn(){Et.value||(le.allowHalf&&(Ue.value=le.modelValue!==Math.floor(le.modelValue)),Ve.value=le.modelValue,ze.value=-1)}return watch(()=>le.modelValue,Dn=>{Ve.value=Dn,Ue.value=le.modelValue!==Math.floor(le.modelValue)}),le.modelValue||ie(UPDATE_MODEL_EVENT,0),z({setCurrentValue:In,resetCurrentValue:Fn}),(Dn,On)=>{var Vn;return openBlock(),createElementBlock("div",{id:unref(xe),class:normalizeClass([unref(qe),unref($e).is("disabled",unref(Et))]),role:"slider","aria-label":unref(Ie)?void 0:Dn.label||"rating","aria-labelledby":unref(Ie)?(Vn=unref(_e))==null?void 0:Vn.labelId:void 0,"aria-valuenow":Ve.value,"aria-valuetext":unref(hn)||void 0,"aria-valuemin":"0","aria-valuemax":Dn.max,tabindex:"0",style:normalizeStyle$1(unref(Lt)),onKeydown:An},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn.max,(Mn,zn)=>(openBlock(),createElementBlock("span",{key:zn,class:normalizeClass(unref($e).e("item")),onMousemove:Kn=>In(Mn,Kn),onMouseleave:Fn,onClick:Kn=>Pn(Mn)},[createVNode(unref(ElIcon),{class:normalizeClass([unref($e).e("icon"),{hover:ze.value===Mn},unref($e).is("active",Mn<=Ve.value)])},{default:withCtx(()=>[kn(Mn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Tn)),null,null,512)),[[vShow,Mn<=Ve.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(wn)),null,null,512)),[[vShow,!(Mn<=Ve.value)]])],64)),kn(Mn)?(openBlock(),createBlock(unref(ElIcon),{key:1,style:normalizeStyle$1(unref(Cn)),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)),Dn.showText||Dn.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($){const z=$,ie=useNamespace("result"),le=computed(()=>{const ue=z.icon,pe=ue&&IconMap[ue]?IconMap[ue]:"icon-info",_e=IconComponentMap[pe]||IconComponentMap["icon-info"];return{class:pe,component:_e}});return(ue,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("icon"))},[renderSlot(ue.$slots,"icon",{},()=>[unref(le).component?(openBlock(),createBlock(resolveDynamicComponent(unref(le).component),{key:0,class:normalizeClass(unref(le).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),ue.title||ue.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("title"))},[renderSlot(ue.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString$1(ue.title),1)])],2)):createCommentVNode("v-if",!0),ue.subTitle||ue.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("subtitle"))},[renderSlot(ue.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString$1(ue.subTitle),1)])],2)):createCommentVNode("v-if",!0),ue.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(ie).e("extra"))},[renderSlot(ue.$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(z){return typeof z=="number"&&z!==z};function isEqual($,z){return!!($===z||safeIsNaN($)&&safeIsNaN(z))}function areInputsEqual($,z){if($.length!==z.length)return!1;for(var ie=0;ie<$.length;ie++)if(!isEqual($[ie],z[ie]))return!1;return!0}function memoizeOne($,z){z===void 0&&(z=areInputsEqual);var ie=null;function le(){for(var ue=[],pe=0;pe<arguments.length;pe++)ue[pe]=arguments[pe];if(ie&&ie.lastThis===this&&z(ue,ie.lastArgs))return ie.lastResult;var _e=$.apply(this,ue);return ie={lastResult:_e,lastArgs:ue,lastThis:this},_e}return le.clear=function(){ie=null},le}const useCache=()=>{const z=getCurrentInstance().proxy.$props;return computed(()=>{const ie=(le,ue,pe)=>({});return z.perfMode?memoize(ie):memoizeOne(ie)})},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:$,atStartEdge:z,layout:ie},le)=>{let ue,pe=0;const _e=$e=>$e<0&&z.value||$e>0&&$.value;return{hasReachedEdge:_e,onWheel:$e=>{cAF(ue);const xe=$e[LayoutKeys[ie.value]];_e(pe)&&_e(pe+xe)||(pe+=xe,isFirefox()||$e.preventDefault(),ue=rAF(()=>{le(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:$,rowIndex:z})=>`${z}:${$}`},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=($,z)=>$<z?FORWARD:BACKWARD,isHorizontal=$=>$===LTR||$===RTL||$===HORIZONTAL$1,isRTL=$=>$===RTL;let cachedRTLResult=null;function getRTLOffsetType($=!1){if(cachedRTLResult===null||$){const z=document.createElement("div"),ie=z.style;ie.width="50px",ie.height="50px",ie.overflow="scroll",ie.direction="rtl";const le=document.createElement("div"),ue=le.style;return ue.width="100px",ue.height="100px",z.appendChild(le),document.body.appendChild(z),z.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(z.scrollLeft=1,z.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(z),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:$,size:z,bar:ie},le){const ue={},pe=`translate${ie.axis}(${$}px)`;return ue[ie.size]=z,ue.transform=pe,ue.msTransform=pe,ue.webkitTransform=pe,le==="horizontal"?ue.height="100%":ue.width="100%",ue}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup($,{emit:z}){const ie=computed(()=>$.startGap+$.endGap),le=useNamespace("virtual-scrollbar"),ue=useNamespace("scrollbar"),pe=ref(),_e=ref();let Ce=null,$e=null;const xe=reactive({isDragging:!1,traveled:0}),Ie=computed(()=>BAR_MAP[$.layout]),Ve=computed(()=>$.clientSize-unref(ie)),ze=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===$.layout?Ve.value:$.scrollbarSize}px`,height:`${HORIZONTAL$1===$.layout?$.scrollbarSize:Ve.value}px`,[ScrollbarDirKey[$.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),Ue=computed(()=>{const Sn=$.ratio,En=$.clientSize;if(Sn>=100)return Number.POSITIVE_INFINITY;if(Sn>=50)return Sn*En/100;const wn=En/3;return Math.floor(Math.min(Math.max(Sn*En,SCROLLBAR_MIN_SIZE),wn))}),qe=computed(()=>{if(!Number.isFinite(Ue.value))return{display:"none"};const Sn=`${Ue.value}px`;return renderThumbStyle({bar:Ie.value,size:Sn,move:xe.traveled},$.layout)}),Et=computed(()=>Math.floor($.clientSize-Ue.value-unref(ie))),Lt=()=>{window.addEventListener("mousemove",bn),window.addEventListener("mouseup",_n);const Sn=unref(_e);Sn&&($e=document.onselectstart,document.onselectstart=()=>!1,Sn.addEventListener("touchmove",bn),Sn.addEventListener("touchend",_n))},hn=()=>{window.removeEventListener("mousemove",bn),window.removeEventListener("mouseup",_n),document.onselectstart=$e,$e=null;const Sn=unref(_e);Sn&&(Sn.removeEventListener("touchmove",bn),Sn.removeEventListener("touchend",_n))},vn=Sn=>{Sn.stopImmediatePropagation(),!(Sn.ctrlKey||[1,2].includes(Sn.button))&&(xe.isDragging=!0,xe[Ie.value.axis]=Sn.currentTarget[Ie.value.offset]-(Sn[Ie.value.client]-Sn.currentTarget.getBoundingClientRect()[Ie.value.direction]),z("start-move"),Lt())},_n=()=>{xe.isDragging=!1,xe[Ie.value.axis]=0,z("stop-move"),hn()},bn=Sn=>{const{isDragging:En}=xe;if(!En||!_e.value||!pe.value)return;const wn=xe[Ie.value.axis];if(!wn)return;cAF(Ce);const Tn=(pe.value.getBoundingClientRect()[Ie.value.direction]-Sn[Ie.value.client])*-1,kn=_e.value[Ie.value.offset]-wn,xn=Tn-kn;Ce=rAF(()=>{xe.traveled=Math.max($.startGap,Math.min(xn,Et.value)),z("scroll",xn,Et.value)})},Cn=Sn=>{const En=Math.abs(Sn.target.getBoundingClientRect()[Ie.value.direction]-Sn[Ie.value.client]),wn=_e.value[Ie.value.offset]/2,Tn=En-wn;xe.traveled=Math.max(0,Math.min(Tn,Et.value)),z("scroll",Tn,Et.value)};return watch(()=>$.scrollFrom,Sn=>{xe.isDragging||(xe.traveled=Math.ceil(Sn*Et.value))}),onBeforeUnmount(()=>{hn()}),()=>h$3("div",{role:"presentation",ref:pe,class:[le.b(),$.class,($.alwaysOn||xe.isDragging)&&"always-on"],style:ze.value,onMousedown:withModifiers(Cn,["stop","prevent"]),onTouchstartPrevent:vn},h$3("div",{ref:_e,class:ue.e("thumb"),style:qe.value,onMousedown:vn},[]))}}),createList$1=({name:$,getOffset:z,getItemSize:ie,getItemOffset:le,getEstimatedTotalSize:ue,getStartIndexForOffset:pe,getStopIndexForStartIndex:_e,initCache:Ce,clearCache:$e,validateProps:xe})=>defineComponent({name:$??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Ie,{emit:Ve,expose:ze}){xe(Ie);const Ue=getCurrentInstance(),qe=useNamespace("vl"),Et=ref(Ce(Ie,Ue)),Lt=useCache(),hn=ref(),vn=ref(),_n=ref(),bn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$4(Ie.initScrollOffset)?Ie.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:Ie.scrollbarAlwaysOn}),Cn=computed(()=>{const{total:Xn,cache:lr}=Ie,{isScrolling:yr,scrollDir:ir,scrollOffset:Yn}=unref(bn);if(Xn===0)return[0,0,0,0];const Gn=pe(Ie,Yn,unref(Et)),Wn=_e(Ie,Gn,Yn,unref(Et)),Qn=!yr||ir===BACKWARD?Math.max(1,lr):1,fr=!yr||ir===FORWARD?Math.max(1,lr):1;return[Math.max(0,Gn-Qn),Math.max(0,Math.min(Xn-1,Wn+fr)),Gn,Wn]}),Sn=computed(()=>ue(Ie,unref(Et))),En=computed(()=>isHorizontal(Ie.layout)),wn=computed(()=>[{position:"relative",[`overflow-${En.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Ie.direction,height:isNumber$4(Ie.height)?`${Ie.height}px`:Ie.height,width:isNumber$4(Ie.width)?`${Ie.width}px`:Ie.width},Ie.style]),Tn=computed(()=>{const Xn=unref(Sn),lr=unref(En);return{height:lr?"100%":`${Xn}px`,pointerEvents:unref(bn).isScrolling?"none":void 0,width:lr?`${Xn}px`:"100%"}}),kn=computed(()=>En.value?Ie.width:Ie.height),{onWheel:xn}=useWheel({atStartEdge:computed(()=>bn.value.scrollOffset<=0),atEndEdge:computed(()=>bn.value.scrollOffset>=Sn.value),layout:computed(()=>Ie.layout)},Xn=>{var lr,yr;(yr=(lr=_n.value).onMouseUp)==null||yr.call(lr),On(Math.min(bn.value.scrollOffset+Xn,Sn.value-kn.value))}),Pn=()=>{const{total:Xn}=Ie;if(Xn>0){const[Yn,Gn,Wn,Qn]=unref(Cn);Ve(ITEM_RENDER_EVT,Yn,Gn,Wn,Qn)}const{scrollDir:lr,scrollOffset:yr,updateRequested:ir}=unref(bn);Ve(SCROLL_EVT,lr,yr,ir)},An=Xn=>{const{clientHeight:lr,scrollHeight:yr,scrollTop:ir}=Xn.currentTarget,Yn=unref(bn);if(Yn.scrollOffset===ir)return;const Gn=Math.max(0,Math.min(ir,yr-lr));bn.value={...Yn,isScrolling:!0,scrollDir:getScrollDir(Yn.scrollOffset,Gn),scrollOffset:Gn,updateRequested:!1},nextTick(zn)},In=Xn=>{const{clientWidth:lr,scrollLeft:yr,scrollWidth:ir}=Xn.currentTarget,Yn=unref(bn);if(Yn.scrollOffset===yr)return;const{direction:Gn}=Ie;let Wn=yr;if(Gn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Wn=-yr;break}case RTL_OFFSET_POS_DESC:{Wn=ir-lr-yr;break}}Wn=Math.max(0,Math.min(Wn,ir-lr)),bn.value={...Yn,isScrolling:!0,scrollDir:getScrollDir(Yn.scrollOffset,Wn),scrollOffset:Wn,updateRequested:!1},nextTick(zn)},Fn=Xn=>{unref(En)?In(Xn):An(Xn),Pn()},Dn=(Xn,lr)=>{const yr=(Sn.value-kn.value)/lr*Xn;On(Math.min(Sn.value-kn.value,yr))},On=Xn=>{Xn=Math.max(Xn,0),Xn!==unref(bn).scrollOffset&&(bn.value={...unref(bn),scrollOffset:Xn,scrollDir:getScrollDir(unref(bn).scrollOffset,Xn),updateRequested:!0},nextTick(zn))},Vn=(Xn,lr=AUTO_ALIGNMENT)=>{const{scrollOffset:yr}=unref(bn);Xn=Math.max(0,Math.min(Xn,Ie.total-1)),On(z(Ie,Xn,lr,yr,unref(Et)))},Mn=Xn=>{const{direction:lr,itemSize:yr,layout:ir}=Ie,Yn=Lt.value($e&&yr,$e&&ir,$e&&lr);let Gn;if(hasOwn$4(Yn,String(Xn)))Gn=Yn[Xn];else{const Wn=le(Ie,Xn,unref(Et)),Qn=ie(Ie,Xn,unref(Et)),fr=unref(En),jn=lr===RTL,Zn=fr?Wn:0;Yn[Xn]=Gn={position:"absolute",left:jn?void 0:`${Zn}px`,right:jn?`${Zn}px`:void 0,top:fr?0:`${Wn}px`,height:fr?"100%":`${Qn}px`,width:fr?`${Qn}px`:"100%"}}return Gn},zn=()=>{bn.value.isScrolling=!1,nextTick(()=>{Lt.value(-1,null,null)})},Kn=()=>{const Xn=hn.value;Xn&&(Xn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Xn}=Ie,lr=unref(hn);isNumber$4(Xn)&&lr&&(unref(En)?lr.scrollLeft=Xn:lr.scrollTop=Xn),Pn()}),onUpdated(()=>{const{direction:Xn,layout:lr}=Ie,{scrollOffset:yr,updateRequested:ir}=unref(bn),Yn=unref(hn);if(ir&&Yn)if(lr===HORIZONTAL$1)if(Xn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Yn.scrollLeft=-yr;break}case RTL_OFFSET_POS_ASC:{Yn.scrollLeft=yr;break}default:{const{clientWidth:Gn,scrollWidth:Wn}=Yn;Yn.scrollLeft=Wn-Gn-yr;break}}else Yn.scrollLeft=yr;else Yn.scrollTop=yr});const Hn={ns:qe,clientSize:kn,estimatedTotalSize:Sn,windowStyle:wn,windowRef:hn,innerRef:vn,innerStyle:Tn,itemsToRender:Cn,scrollbarRef:_n,states:bn,getItemStyle:Mn,onScroll:Fn,onScrollbarScroll:Dn,onWheel:xn,scrollTo:On,scrollToItem:Vn,resetScrollTop:Kn};return ze({windowRef:hn,innerRef:vn,getItemStyleCache:Lt,scrollTo:On,scrollToItem:Vn,resetScrollTop:Kn,states:bn}),Hn},render(Ie){var Ve;const{$slots:ze,className:Ue,clientSize:qe,containerElement:Et,data:Lt,getItemStyle:hn,innerElement:vn,itemsToRender:_n,innerStyle:bn,layout:Cn,total:Sn,onScroll:En,onScrollbarScroll:wn,onWheel:Tn,states:kn,useIsScrolling:xn,windowStyle:Pn,ns:An}=Ie,[In,Fn]=_n,Dn=resolveDynamicComponent(Et),On=resolveDynamicComponent(vn),Vn=[];if(Sn>0)for(let Hn=In;Hn<=Fn;Hn++)Vn.push((Ve=ze.default)==null?void 0:Ve.call(ze,{data:Lt,key:Hn,index:Hn,isScrolling:xn?kn.isScrolling:void 0,style:hn(Hn)}));const Mn=[h$3(On,{style:bn,ref:"innerRef"},isString$6(On)?Vn:{default:()=>Vn})],zn=h$3(ScrollBar,{ref:"scrollbarRef",clientSize:qe,layout:Cn,onScroll:wn,ratio:qe*100/this.estimatedTotalSize,scrollFrom:kn.scrollOffset/(this.estimatedTotalSize-qe),total:Sn}),Kn=h$3(Dn,{class:[An.e("window"),Ue],style:Pn,onScroll:En,onWheel:Tn,ref:"windowRef",key:0},isString$6(Dn)?[Mn]:{default:()=>[Mn]});return h$3("div",{key:0,class:[An.e("wrapper"),kn.scrollbarAlwaysOn?"always-on":""]},[Kn,zn])}}),FixedSizeList=createList$1({name:"ElFixedSizeList",getItemOffset:({itemSize:$},z)=>z*$,getItemSize:({itemSize:$})=>$,getEstimatedTotalSize:({total:$,itemSize:z})=>z*$,getOffset:({height:$,total:z,itemSize:ie,layout:le,width:ue},pe,_e,Ce)=>{const $e=isHorizontal(le)?ue:$,xe=Math.max(0,z*ie-$e),Ie=Math.min(xe,pe*ie),Ve=Math.max(0,(pe+1)*ie-$e);switch(_e===SMART_ALIGNMENT&&(Ce>=Ve-$e&&Ce<=Ie+$e?_e=AUTO_ALIGNMENT:_e=CENTERED_ALIGNMENT),_e){case START_ALIGNMENT:return Ie;case END_ALIGNMENT:return Ve;case CENTERED_ALIGNMENT:{const ze=Math.round(Ve+(Ie-Ve)/2);return ze<Math.ceil($e/2)?0:ze>xe+Math.floor($e/2)?xe:ze}case AUTO_ALIGNMENT:default:return Ce>=Ve&&Ce<=Ie?Ce:Ce<Ve?Ve:Ie}},getStartIndexForOffset:({total:$,itemSize:z},ie)=>Math.max(0,Math.min($-1,Math.floor(ie/z))),getStopIndexForStartIndex:({height:$,total:z,itemSize:ie,layout:le,width:ue},pe,_e)=>{const Ce=pe*ie,$e=isHorizontal(le)?ue:$,xe=Math.ceil(($e+_e-Ce)/ie);return Math.max(0,Math.min(z-1,pe+xe-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=($,z,ie)=>{const{itemSize:le}=$,{items:ue,lastVisitedIndex:pe}=ie;if(z>pe){let _e=0;if(pe>=0){const Ce=ue[pe];_e=Ce.offset+Ce.size}for(let Ce=pe+1;Ce<=z;Ce++){const $e=le(Ce);ue[Ce]={offset:_e,size:$e},_e+=$e}ie.lastVisitedIndex=z}return ue[z]},findItem$1=($,z,ie)=>{const{items:le,lastVisitedIndex:ue}=z;return(ue>0?le[ue].offset:0)>=ie?bs$1($,z,0,ue,ie):es$1($,z,Math.max(0,ue),ie)},bs$1=($,z,ie,le,ue)=>{for(;ie<=le;){const pe=ie+Math.floor((le-ie)/2),_e=getItemFromCache$1($,pe,z).offset;if(_e===ue)return pe;_e<ue?ie=pe+1:_e>ue&&(le=pe-1)}return Math.max(0,ie-1)},es$1=($,z,ie,le)=>{const{total:ue}=$;let pe=1;for(;ie<ue&&getItemFromCache$1($,ie,z).offset<le;)ie+=pe,pe*=2;return bs$1($,z,Math.floor(ie/2),Math.min(ie,ue-1),le)},getEstimatedTotalSize=({total:$},{items:z,estimatedItemSize:ie,lastVisitedIndex:le})=>{let ue=0;if(le>=$&&(le=$-1),le>=0){const Ce=z[le];ue=Ce.offset+Ce.size}const _e=($-le-1)*ie;return ue+_e},DynamicSizeList=createList$1({name:"ElDynamicSizeList",getItemOffset:($,z,ie)=>getItemFromCache$1($,z,ie).offset,getItemSize:($,z,{items:ie})=>ie[z].size,getEstimatedTotalSize,getOffset:($,z,ie,le,ue)=>{const{height:pe,layout:_e,width:Ce}=$,$e=isHorizontal(_e)?Ce:pe,xe=getItemFromCache$1($,z,ue),Ie=getEstimatedTotalSize($,ue),Ve=Math.max(0,Math.min(Ie-$e,xe.offset)),ze=Math.max(0,xe.offset-$e+xe.size);switch(ie===SMART_ALIGNMENT&&(le>=ze-$e&&le<=Ve+$e?ie=AUTO_ALIGNMENT:ie=CENTERED_ALIGNMENT),ie){case START_ALIGNMENT:return Ve;case END_ALIGNMENT:return ze;case CENTERED_ALIGNMENT:return Math.round(ze+(Ve-ze)/2);case AUTO_ALIGNMENT:default:return le>=ze&&le<=Ve?le:le<ze?ze:Ve}},getStartIndexForOffset:($,z,ie)=>findItem$1($,ie,z),getStopIndexForStartIndex:($,z,ie,le)=>{const{height:ue,total:pe,layout:_e,width:Ce}=$,$e=isHorizontal(_e)?Ce:ue,xe=getItemFromCache$1($,z,le),Ie=ie+$e;let Ve=xe.offset+xe.size,ze=z;for(;ze<pe-1&&Ve<Ie;)ze++,Ve+=getItemFromCache$1($,ze,le).size;return ze},initCache({estimatedItemSize:$=DEFAULT_DYNAMIC_LIST_ITEM_SIZE},z){const ie={items:{},estimatedItemSize:$,lastVisitedIndex:-1};return ie.clearCacheAfterIndex=(le,ue=!0)=>{var pe,_e;ie.lastVisitedIndex=Math.min(ie.lastVisitedIndex,le-1),(pe=z.exposed)==null||pe.getItemStyleCache(-1),ue&&((_e=z.proxy)==null||_e.$forceUpdate())},ie},clearCache:!1,validateProps:({itemSize:$})=>{}}),useGridWheel=({atXEndEdge:$,atXStartEdge:z,atYEndEdge:ie,atYStartEdge:le},ue)=>{let pe=null,_e=0,Ce=0;const $e=(Ie,Ve)=>{const ze=Ie<=0&&z.value||Ie>=0&&$.value,Ue=Ve<=0&&le.value||Ve>=0&&ie.value;return ze&&Ue};return{hasReachedEdge:$e,onWheel:Ie=>{cAF(pe);let Ve=Ie.deltaX,ze=Ie.deltaY;Math.abs(Ve)>Math.abs(ze)?ze=0:Ve=0,Ie.shiftKey&&ze!==0&&(Ve=ze,ze=0),!($e(_e,Ce)&&$e(_e+Ve,Ce+ze))&&(_e+=Ve,Ce+=ze,Ie.preventDefault(),pe=rAF(()=>{ue(_e,Ce),_e=0,Ce=0}))}}},createGrid=({name:$,clearCache:z,getColumnPosition:ie,getColumnStartIndexForOffset:le,getColumnStopIndexForStartIndex:ue,getEstimatedTotalHeight:pe,getEstimatedTotalWidth:_e,getColumnOffset:Ce,getRowOffset:$e,getRowPosition:xe,getRowStartIndexForOffset:Ie,getRowStopIndexForStartIndex:Ve,initCache:ze,injectToInstance:Ue,validateProps:qe})=>defineComponent({name:$??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Et,{emit:Lt,expose:hn,slots:vn}){const _n=useNamespace("vl");qe(Et);const bn=getCurrentInstance(),Cn=ref(ze(Et,bn));Ue==null||Ue(bn,Cn);const Sn=ref(),En=ref(),wn=ref(),Tn=ref(null),kn=ref({isScrolling:!1,scrollLeft:isNumber$4(Et.initScrollLeft)?Et.initScrollLeft:0,scrollTop:isNumber$4(Et.initScrollTop)?Et.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),xn=useCache(),Pn=computed(()=>Number.parseInt(`${Et.height}`,10)),An=computed(()=>Number.parseInt(`${Et.width}`,10)),In=computed(()=>{const{totalColumn:or,totalRow:$r,columnCache:gr}=Et,{isScrolling:xr,xAxisScrollDir:pr,scrollLeft:sr}=unref(kn);if(or===0||$r===0)return[0,0,0,0];const cr=le(Et,sr,unref(Cn)),hr=ue(Et,cr,sr,unref(Cn)),Pr=!xr||pr===BACKWARD?Math.max(1,gr):1,Dr=!xr||pr===FORWARD?Math.max(1,gr):1;return[Math.max(0,cr-Pr),Math.max(0,Math.min(or-1,hr+Dr)),cr,hr]}),Fn=computed(()=>{const{totalColumn:or,totalRow:$r,rowCache:gr}=Et,{isScrolling:xr,yAxisScrollDir:pr,scrollTop:sr}=unref(kn);if(or===0||$r===0)return[0,0,0,0];const cr=Ie(Et,sr,unref(Cn)),hr=Ve(Et,cr,sr,unref(Cn)),Pr=!xr||pr===BACKWARD?Math.max(1,gr):1,Dr=!xr||pr===FORWARD?Math.max(1,gr):1;return[Math.max(0,cr-Pr),Math.max(0,Math.min($r-1,hr+Dr)),cr,hr]}),Dn=computed(()=>pe(Et,unref(Cn))),On=computed(()=>_e(Et,unref(Cn))),Vn=computed(()=>{var or;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Et.direction,height:isNumber$4(Et.height)?`${Et.height}px`:Et.height,width:isNumber$4(Et.width)?`${Et.width}px`:Et.width},(or=Et.style)!=null?or:{}]}),Mn=computed(()=>{const or=`${unref(On)}px`;return{height:`${unref(Dn)}px`,pointerEvents:unref(kn).isScrolling?"none":void 0,width:or}}),zn=()=>{const{totalColumn:or,totalRow:$r}=Et;if(or>0&&$r>0){const[hr,Pr,Dr,Lr]=unref(In),[Nr,br,Tr,ur]=unref(Fn);Lt(ITEM_RENDER_EVT,{columnCacheStart:hr,columnCacheEnd:Pr,rowCacheStart:Nr,rowCacheEnd:br,columnVisibleStart:Dr,columnVisibleEnd:Lr,rowVisibleStart:Tr,rowVisibleEnd:ur})}const{scrollLeft:gr,scrollTop:xr,updateRequested:pr,xAxisScrollDir:sr,yAxisScrollDir:cr}=unref(kn);Lt(SCROLL_EVT,{xAxisScrollDir:sr,scrollLeft:gr,yAxisScrollDir:cr,scrollTop:xr,updateRequested:pr})},Kn=or=>{const{clientHeight:$r,clientWidth:gr,scrollHeight:xr,scrollLeft:pr,scrollTop:sr,scrollWidth:cr}=or.currentTarget,hr=unref(kn);if(hr.scrollTop===sr&&hr.scrollLeft===pr)return;let Pr=pr;if(isRTL(Et.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:Pr=-pr;break;case RTL_OFFSET_POS_DESC:Pr=cr-gr-pr;break}kn.value={...hr,isScrolling:!0,scrollLeft:Pr,scrollTop:Math.max(0,Math.min(sr,xr-$r)),updateRequested:!0,xAxisScrollDir:getScrollDir(hr.scrollLeft,Pr),yAxisScrollDir:getScrollDir(hr.scrollTop,sr)},nextTick(()=>Gn()),Wn(),zn()},Hn=(or,$r)=>{const gr=unref(Pn),xr=(Dn.value-gr)/$r*or;yr({scrollTop:Math.min(Dn.value-gr,xr)})},Xn=(or,$r)=>{const gr=unref(An),xr=(On.value-gr)/$r*or;yr({scrollLeft:Math.min(On.value-gr,xr)})},{onWheel:lr}=useGridWheel({atXStartEdge:computed(()=>kn.value.scrollLeft<=0),atXEndEdge:computed(()=>kn.value.scrollLeft>=On.value-unref(An)),atYStartEdge:computed(()=>kn.value.scrollTop<=0),atYEndEdge:computed(()=>kn.value.scrollTop>=Dn.value-unref(Pn))},(or,$r)=>{var gr,xr,pr,sr;(xr=(gr=En.value)==null?void 0:gr.onMouseUp)==null||xr.call(gr),(sr=(pr=En.value)==null?void 0:pr.onMouseUp)==null||sr.call(pr);const cr=unref(An),hr=unref(Pn);yr({scrollLeft:Math.min(kn.value.scrollLeft+or,On.value-cr),scrollTop:Math.min(kn.value.scrollTop+$r,Dn.value-hr)})}),yr=({scrollLeft:or=kn.value.scrollLeft,scrollTop:$r=kn.value.scrollTop})=>{or=Math.max(or,0),$r=Math.max($r,0);const gr=unref(kn);$r===gr.scrollTop&&or===gr.scrollLeft||(kn.value={...gr,xAxisScrollDir:getScrollDir(gr.scrollLeft,or),yAxisScrollDir:getScrollDir(gr.scrollTop,$r),scrollLeft:or,scrollTop:$r,updateRequested:!0},nextTick(()=>Gn()),Wn(),zn())},ir=(or=0,$r=0,gr=AUTO_ALIGNMENT)=>{const xr=unref(kn);$r=Math.max(0,Math.min($r,Et.totalColumn-1)),or=Math.max(0,Math.min(or,Et.totalRow-1));const pr=getScrollBarWidth(_n.namespace.value),sr=unref(Cn),cr=pe(Et,sr),hr=_e(Et,sr);yr({scrollLeft:Ce(Et,$r,gr,xr.scrollLeft,sr,hr>Et.width?pr:0),scrollTop:$e(Et,or,gr,xr.scrollTop,sr,cr>Et.height?pr:0)})},Yn=(or,$r)=>{const{columnWidth:gr,direction:xr,rowHeight:pr}=Et,sr=xn.value(z&&gr,z&&pr,z&&xr),cr=`${or},${$r}`;if(hasOwn$4(sr,cr))return sr[cr];{const[,hr]=ie(Et,$r,unref(Cn)),Pr=unref(Cn),Dr=isRTL(xr),[Lr,Nr]=xe(Et,or,Pr),[br]=ie(Et,$r,Pr);return sr[cr]={position:"absolute",left:Dr?void 0:`${hr}px`,right:Dr?`${hr}px`:void 0,top:`${Nr}px`,height:`${Lr}px`,width:`${br}px`},sr[cr]}},Gn=()=>{kn.value.isScrolling=!1,nextTick(()=>{xn.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:or,initScrollTop:$r}=Et,gr=unref(Sn);gr&&(isNumber$4(or)&&(gr.scrollLeft=or),isNumber$4($r)&&(gr.scrollTop=$r)),zn()});const Wn=()=>{const{direction:or}=Et,{scrollLeft:$r,scrollTop:gr,updateRequested:xr}=unref(kn),pr=unref(Sn);if(xr&&pr){if(or===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{pr.scrollLeft=-$r;break}case RTL_OFFSET_POS_ASC:{pr.scrollLeft=$r;break}default:{const{clientWidth:sr,scrollWidth:cr}=pr;pr.scrollLeft=cr-sr-$r;break}}else pr.scrollLeft=Math.max(0,$r);pr.scrollTop=Math.max(0,gr)}},{resetAfterColumnIndex:Qn,resetAfterRowIndex:fr,resetAfter:jn}=bn.proxy;hn({windowRef:Sn,innerRef:Tn,getItemStyleCache:xn,scrollTo:yr,scrollToItem:ir,states:kn,resetAfterColumnIndex:Qn,resetAfterRowIndex:fr,resetAfter:jn});const Zn=()=>{const{scrollbarAlwaysOn:or,scrollbarStartGap:$r,scrollbarEndGap:gr,totalColumn:xr,totalRow:pr}=Et,sr=unref(An),cr=unref(Pn),hr=unref(On),Pr=unref(Dn),{scrollLeft:Dr,scrollTop:Lr}=unref(kn),Nr=h$3(ScrollBar,{ref:En,alwaysOn:or,startGap:$r,endGap:gr,class:_n.e("horizontal"),clientSize:sr,layout:"horizontal",onScroll:Xn,ratio:sr*100/hr,scrollFrom:Dr/(hr-sr),total:pr,visible:!0}),br=h$3(ScrollBar,{ref:wn,alwaysOn:or,startGap:$r,endGap:gr,class:_n.e("vertical"),clientSize:cr,layout:"vertical",onScroll:Hn,ratio:cr*100/Pr,scrollFrom:Lr/(Pr-cr),total:xr,visible:!0});return{horizontalScrollbar:Nr,verticalScrollbar:br}},rr=()=>{var or;const[$r,gr]=unref(In),[xr,pr]=unref(Fn),{data:sr,totalColumn:cr,totalRow:hr,useIsScrolling:Pr,itemKey:Dr}=Et,Lr=[];if(hr>0&&cr>0)for(let Nr=xr;Nr<=pr;Nr++)for(let br=$r;br<=gr;br++)Lr.push((or=vn.default)==null?void 0:or.call(vn,{columnIndex:br,data:sr,key:Dr({columnIndex:br,data:sr,rowIndex:Nr}),isScrolling:Pr?unref(kn).isScrolling:void 0,style:Yn(Nr,br),rowIndex:Nr}));return Lr},mr=()=>{const or=resolveDynamicComponent(Et.innerElement),$r=rr();return[h$3(or,{style:unref(Mn),ref:Tn},isString$6(or)?$r:{default:()=>$r})]};return()=>{const or=resolveDynamicComponent(Et.containerElement),{horizontalScrollbar:$r,verticalScrollbar:gr}=Zn(),xr=mr();return h$3("div",{key:0,class:_n.e("wrapper"),role:Et.role},[h$3(or,{class:Et.className,style:unref(Vn),onScroll:Kn,onWheel:lr,ref:Sn},isString$6(or)?xr:{default:()=>xr}),$r,gr])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:$},z)=>[$,z*$],getRowPosition:({rowHeight:$},z)=>[$,z*$],getEstimatedTotalHeight:({totalRow:$,rowHeight:z})=>z*$,getEstimatedTotalWidth:({totalColumn:$,columnWidth:z})=>z*$,getColumnOffset:({totalColumn:$,columnWidth:z,width:ie},le,ue,pe,_e,Ce)=>{ie=Number(ie);const $e=Math.max(0,$*z-ie),xe=Math.min($e,le*z),Ie=Math.max(0,le*z-ie+Ce+z);switch(ue==="smart"&&(pe>=Ie-ie&&pe<=xe+ie?ue=AUTO_ALIGNMENT:ue=CENTERED_ALIGNMENT),ue){case START_ALIGNMENT:return xe;case END_ALIGNMENT:return Ie;case CENTERED_ALIGNMENT:{const Ve=Math.round(Ie+(xe-Ie)/2);return Ve<Math.ceil(ie/2)?0:Ve>$e+Math.floor(ie/2)?$e:Ve}case AUTO_ALIGNMENT:default:return pe>=Ie&&pe<=xe?pe:Ie>xe||pe<Ie?Ie:xe}},getRowOffset:({rowHeight:$,height:z,totalRow:ie},le,ue,pe,_e,Ce)=>{z=Number(z);const $e=Math.max(0,ie*$-z),xe=Math.min($e,le*$),Ie=Math.max(0,le*$-z+Ce+$);switch(ue===SMART_ALIGNMENT&&(pe>=Ie-z&&pe<=xe+z?ue=AUTO_ALIGNMENT:ue=CENTERED_ALIGNMENT),ue){case START_ALIGNMENT:return xe;case END_ALIGNMENT:return Ie;case CENTERED_ALIGNMENT:{const Ve=Math.round(Ie+(xe-Ie)/2);return Ve<Math.ceil(z/2)?0:Ve>$e+Math.floor(z/2)?$e:Ve}case AUTO_ALIGNMENT:default:return pe>=Ie&&pe<=xe?pe:Ie>xe||pe<Ie?Ie:xe}},getColumnStartIndexForOffset:({columnWidth:$,totalColumn:z},ie)=>Math.max(0,Math.min(z-1,Math.floor(ie/$))),getColumnStopIndexForStartIndex:({columnWidth:$,totalColumn:z,width:ie},le,ue)=>{const pe=le*$,_e=Math.ceil((ie+ue-pe)/$);return Math.max(0,Math.min(z-1,le+_e-1))},getRowStartIndexForOffset:({rowHeight:$,totalRow:z},ie)=>Math.max(0,Math.min(z-1,Math.floor(ie/$))),getRowStopIndexForStartIndex:({rowHeight:$,totalRow:z,height:ie},le,ue)=>{const pe=le*$,_e=Math.ceil((ie+ue-pe)/$);return Math.max(0,Math.min(z-1,le+_e-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:$,rowHeight:z})=>{}}),{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=($,z,ie,le)=>{const[ue,pe,_e]=[ie[le],$[ACCESS_SIZER_KEY_MAP[le]],ie[ACCESS_LAST_VISITED_KEY_MAP[le]]];if(z>_e){let Ce=0;if(_e>=0){const $e=ue[_e];Ce=$e.offset+$e.size}for(let $e=_e+1;$e<=z;$e++){const xe=pe($e);ue[$e]={offset:Ce,size:xe},Ce+=xe}ie[ACCESS_LAST_VISITED_KEY_MAP[le]]=z}return ue[z]},bs=($,z,ie,le,ue,pe)=>{for(;ie<=le;){const _e=ie+floor((le-ie)/2),Ce=getItemFromCache($,_e,z,pe).offset;if(Ce===ue)return _e;Ce<ue?ie=_e+1:le=_e-1}return max$2(0,ie-1)},es=($,z,ie,le,ue)=>{const pe=ue==="column"?$.totalColumn:$.totalRow;let _e=1;for(;ie<pe&&getItemFromCache($,ie,z,ue).offset<le;)ie+=_e,_e*=2;return bs($,z,floor(ie/2),min$2(ie,pe-1),le,ue)},findItem=($,z,ie,le)=>{const[ue,pe]=[z[le],z[ACCESS_LAST_VISITED_KEY_MAP[le]]];return(pe>0?ue[pe].offset:0)>=ie?bs($,z,0,pe,ie,le):es($,z,max$2(0,pe),ie,le)},getEstimatedTotalHeight=({totalRow:$},{estimatedRowHeight:z,lastVisitedRowIndex:ie,row:le})=>{let ue=0;if(ie>=$&&(ie=$-1),ie>=0){const Ce=le[ie];ue=Ce.offset+Ce.size}const _e=($-ie-1)*z;return ue+_e},getEstimatedTotalWidth=({totalColumn:$},{column:z,estimatedColumnWidth:ie,lastVisitedColumnIndex:le})=>{let ue=0;if(le>$&&(le=$-1),le>=0){const Ce=z[le];ue=Ce.offset+Ce.size}const _e=($-le-1)*ie;return ue+_e},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=($,z,ie,le,ue,pe,_e)=>{const[Ce,$e]=[pe==="row"?$.height:$.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[pe]],xe=getItemFromCache($,z,ue,pe),Ie=$e($,ue),Ve=max$2(0,min$2(Ie-Ce,xe.offset)),ze=max$2(0,xe.offset-Ce+_e+xe.size);switch(ie===SMART_ALIGNMENT&&(le>=ze-Ce&&le<=Ve+Ce?ie=AUTO_ALIGNMENT:ie=CENTERED_ALIGNMENT),ie){case START_ALIGNMENT:return Ve;case END_ALIGNMENT:return ze;case CENTERED_ALIGNMENT:return Math.round(ze+(Ve-ze)/2);case AUTO_ALIGNMENT:default:return le>=ze&&le<=Ve?le:ze>Ve||le<ze?ze:Ve}},DynamicSizeGrid=createGrid({name:"ElDynamicSizeGrid",getColumnPosition:($,z,ie)=>{const le=getItemFromCache($,z,ie,"column");return[le.size,le.offset]},getRowPosition:($,z,ie)=>{const le=getItemFromCache($,z,ie,"row");return[le.size,le.offset]},getColumnOffset:($,z,ie,le,ue,pe)=>getOffset$1($,z,ie,le,ue,"column",pe),getRowOffset:($,z,ie,le,ue,pe)=>getOffset$1($,z,ie,le,ue,"row",pe),getColumnStartIndexForOffset:($,z,ie)=>findItem($,ie,z,"column"),getColumnStopIndexForStartIndex:($,z,ie,le)=>{const ue=getItemFromCache($,z,le,"column"),pe=ie+$.width;let _e=ue.offset+ue.size,Ce=z;for(;Ce<$.totalColumn-1&&_e<pe;)Ce++,_e+=getItemFromCache($,z,le,"column").size;return Ce},getEstimatedTotalHeight,getEstimatedTotalWidth,getRowStartIndexForOffset:($,z,ie)=>findItem($,ie,z,"row"),getRowStopIndexForStartIndex:($,z,ie,le)=>{const{totalRow:ue,height:pe}=$,_e=getItemFromCache($,z,le,"row"),Ce=ie+pe;let $e=_e.size+_e.offset,xe=z;for(;xe<ue-1&&$e<Ce;)xe++,$e+=getItemFromCache($,xe,le,"row").size;return xe},injectToInstance:($,z)=>{const ie=({columnIndex:pe,rowIndex:_e},Ce)=>{var $e,xe;Ce=isUndefined$1(Ce)?!0:Ce,isNumber$4(pe)&&(z.value.lastVisitedColumnIndex=Math.min(z.value.lastVisitedColumnIndex,pe-1)),isNumber$4(_e)&&(z.value.lastVisitedRowIndex=Math.min(z.value.lastVisitedRowIndex,_e-1)),($e=$.exposed)==null||$e.getItemStyleCache.value(-1,null,null),Ce&&((xe=$.proxy)==null||xe.$forceUpdate())},le=(pe,_e)=>{ie({columnIndex:pe},_e)},ue=(pe,_e)=>{ie({rowIndex:pe},_e)};Object.assign($.proxy,{resetAfterColumnIndex:le,resetAfterRowIndex:ue,resetAfter:ie})},initCache:({estimatedColumnWidth:$=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:z=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:$,estimatedRowHeight:z,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:$,rowHeight:z})=>{}}),_sfc_main$F=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$8($,z,ie,le,ue,pe){return $.item.isTitle?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.be("group","title")),style:normalizeStyle$1([$.style,{lineHeight:`${$.height}px`}])},toDisplayString$1($.item.label),7)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.ns.be("group","split")),style:normalizeStyle$1($.style)},[createBaseVNode("span",{class:normalizeClass($.ns.be("group","split-dash")),style:normalizeStyle$1({top:`${$.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($,{emit:z}){return{hoverItem:()=>{$.disabled||z("hover",$.index)},selectOptionClick:()=>{$.disabled||z("select",$.item,$.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($,{emit:z}){const ie=useNamespace("select"),{hoverItem:le,selectOptionClick:ue}=useOption($,{emit:z});return{ns:ie,hoverItem:le,selectOptionClick:ue}}}),_hoisted_1$j=["aria-selected"];function _sfc_render$7($,z,ie,le,ue,pe){return openBlock(),createElementBlock("li",{"aria-selected":$.selected,style:normalizeStyle$1($.style),class:normalizeClass([$.ns.be("dropdown","option-item"),$.ns.is("selected",$.selected),$.ns.is("disabled",$.disabled),$.ns.is("created",$.created),{hover:$.hovering}]),onMouseenter:z[0]||(z[0]=(..._e)=>$.hoverItem&&$.hoverItem(..._e)),onClick:z[1]||(z[1]=withModifiers((..._e)=>$.selectOptionClick&&$.selectOptionClick(..._e),["stop"]))},[renderSlot($.$slots,"default",{item:$.item,index:$.index,disabled:$.disabled},()=>[createBaseVNode("span",null,toDisplayString$1($.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($,{slots:z,expose:ie}){const le=inject(selectV2InjectionKey),ue=useNamespace("select"),pe=ref([]),_e=ref(),Ce=computed(()=>$.data.length);watch(()=>Ce.value,()=>{var wn,Tn;(Tn=(wn=le.popper.value).updatePopper)==null||Tn.call(wn)});const $e=computed(()=>isUndefined$1(le.props.estimatedOptionHeight)),xe=computed(()=>$e.value?{itemSize:le.props.itemHeight}:{estimatedSize:le.props.estimatedOptionHeight,itemSize:wn=>pe.value[wn]}),Ie=(wn=[],Tn)=>{const{props:{valueKey:kn}}=le;return isObject$9(Tn)?wn&&wn.some(xn=>get$1(xn,kn)===get$1(Tn,kn)):wn.includes(Tn)},Ve=(wn,Tn)=>{if(isObject$9(Tn)){const{valueKey:kn}=le.props;return get$1(wn,kn)===get$1(Tn,kn)}else return wn===Tn},ze=(wn,Tn)=>{const{valueKey:kn}=le.props;return le.props.multiple?Ie(wn,get$1(Tn,kn)):Ve(wn,get$1(Tn,kn))},Ue=(wn,Tn)=>{const{disabled:kn,multiple:xn,multipleLimit:Pn}=le.props;return kn||!Tn&&(xn?Pn>0&&wn.length>=Pn:!1)},qe=wn=>$.hoveringIndex===wn;ie({listRef:_e,isSized:$e,isItemDisabled:Ue,isItemHovering:qe,isItemSelected:ze,scrollToItem:wn=>{const Tn=_e.value;Tn&&Tn.scrollToItem(wn)},resetScrollTop:()=>{const wn=_e.value;wn&&wn.resetScrollTop()}});const hn=wn=>{const{index:Tn,data:kn,style:xn}=wn,Pn=unref($e),{itemSize:An,estimatedSize:In}=unref(xe),{modelValue:Fn}=le.props,{onSelect:Dn,onHover:On}=le,Vn=kn[Tn];if(Vn.type==="Group")return createVNode(GroupItem,{item:Vn,style:xn,height:Pn?An:In},null);const Mn=ze(Fn,Vn),zn=Ue(Fn,Mn),Kn=qe(Tn);return createVNode(OptionItem,mergeProps(wn,{selected:Mn,disabled:Vn.disabled||zn,created:!!Vn.created,hovering:Kn,item:Vn,onSelect:Dn,onHover:On}),{default:Hn=>{var Xn;return((Xn=z.default)==null?void 0:Xn.call(z,Hn))||createVNode("span",null,[Vn.label])}})},{onKeyboardNavigate:vn,onKeyboardSelect:_n}=le,bn=()=>{vn("forward")},Cn=()=>{vn("backward")},Sn=()=>{le.expanded=!1},En=wn=>{const{code:Tn}=wn,{tab:kn,esc:xn,down:Pn,up:An,enter:In}=EVENT_CODE;switch(Tn!==kn&&(wn.preventDefault(),wn.stopPropagation()),Tn){case kn:case xn:{Sn();break}case Pn:{bn();break}case An:{Cn();break}case In:{_n();break}}};return()=>{var wn;const{data:Tn,width:kn}=$,{height:xn,multiple:Pn,scrollbarAlwaysOn:An}=le.props;if(Tn.length===0)return createVNode("div",{class:ue.b("dropdown"),style:{width:`${kn}px`}},[(wn=z.empty)==null?void 0:wn.call(z)]);const In=unref($e)?FixedSizeList:DynamicSizeList;return createVNode("div",{class:[ue.b("dropdown"),ue.is("multiple",Pn)]},[createVNode(In,mergeProps({ref:_e},unref(xe),{className:ue.be("dropdown","list"),scrollbarAlwaysOn:An,data:Tn,height:xn,width:kn,total:Tn.length,onKeydown:En}),{default:Fn=>createVNode(hn,Fn,null)})])}}});function useAllowCreate($,z){const ie=ref(0),le=ref(null),ue=computed(()=>$.allowCreate&&$.filterable);function pe(Ie){const Ve=ze=>ze.value===Ie;return $.options&&$.options.some(Ve)||z.createdOptions.some(Ve)}function _e(Ie){ue.value&&($.multiple&&Ie.created?ie.value++:le.value=Ie)}function Ce(Ie){if(ue.value)if(Ie&&Ie.length>0&&!pe(Ie)){const Ve={value:Ie,label:Ie,created:!0,disabled:!1};z.createdOptions.length>=ie.value?z.createdOptions[ie.value]=Ve:z.createdOptions.push(Ve)}else if($.multiple)z.createdOptions.length=ie.value;else{const Ve=le.value;z.createdOptions.length=0,Ve&&Ve.created&&z.createdOptions.push(Ve)}}function $e(Ie){if(!ue.value||!Ie||!Ie.created||Ie.created&&$.reserveKeyword&&z.inputValue===Ie.label)return;const Ve=z.createdOptions.findIndex(ze=>ze.value===Ie.value);~Ve&&(z.createdOptions.splice(Ve,1),ie.value--)}function xe(){ue.value&&(z.createdOptions.length=0,ie.value=0)}return{createNewOption:Ce,removeNewOption:$e,selectNewOption:_e,clearAllNewOption:xe}}const flattenOptions=$=>{const z=[];return $.forEach(ie=>{isArray$c(ie.options)?(z.push({label:ie.label,isTitle:!0,type:"Group"}),ie.options.forEach(le=>{z.push(le)}),z.push({type:"Group"})):z.push(ie)}),z};function useInput($){const z=ref(!1);return{handleCompositionStart:()=>{z.value=!0},handleCompositionUpdate:pe=>{const _e=pe.target.value,Ce=_e[_e.length-1]||"";z.value=!isKorean(Ce)},handleCompositionEnd:pe=>{z.value&&(z.value=!1,isFunction$5($)&&$(pe))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=($,z)=>{const{t:ie}=useLocale(),le=useNamespace("select-v2"),ue=useNamespace("input"),{form:pe,formItem:_e}=useFormItem(),Ce=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),xe=ref(-1),Ie=ref(null),Ve=ref(null),ze=ref(null),Ue=ref(null),qe=ref(null),Et=ref(null),Lt=ref(null),hn=ref(!1),vn=computed(()=>$.disabled||(pe==null?void 0:pe.disabled)),_n=computed(()=>{const kr=Pn.value.length*34;return kr>$.height?$.height:kr}),bn=computed(()=>!isNil($.modelValue)),Cn=computed(()=>{const kr=$.multiple?Array.isArray($.modelValue)&&$.modelValue.length>0:bn.value;return $.clearable&&!vn.value&&Ce.comboBoxHovering&&kr}),Sn=computed(()=>$.remote&&$.filterable?"":arrow_up_default),En=computed(()=>Sn.value&&le.is("reverse",hn.value)),wn=computed(()=>(_e==null?void 0:_e.validateState)||""),Tn=computed(()=>ValidateComponentsMap[wn.value]),kn=computed(()=>$.remote?300:0),xn=computed(()=>{const kr=Pn.value;return $.loading?$.loadingText||ie("el.select.loading"):$.remote&&Ce.inputValue===""&&kr.length===0?!1:$.filterable&&Ce.inputValue&&kr.length>0?$.noMatchText||ie("el.select.noMatch"):kr.length===0?$.noDataText||ie("el.select.noData"):null}),Pn=computed(()=>{const kr=Rr=>{const Wr=Ce.inputValue,Zr=new RegExp(escapeStringRegexp(Wr),"i");return Wr?Zr.test(Rr.label||""):!0};return $.loading?[]:flattenOptions($.options.concat(Ce.createdOptions).map(Rr=>{if(isArray$c(Rr.options)){const Wr=Rr.options.filter(kr);if(Wr.length>0)return{...Rr,options:Wr}}else if($.remote||kr(Rr))return Rr;return null}).filter(Rr=>Rr!==null))}),An=computed(()=>Pn.value.every(kr=>kr.disabled)),In=useFormSize(),Fn=computed(()=>In.value==="small"?"small":"default"),Dn=computed(()=>{const kr=Et.value,Rr=Fn.value||"default",Wr=kr?Number.parseInt(getComputedStyle(kr).paddingLeft):0,Zr=kr?Number.parseInt(getComputedStyle(kr).paddingRight):0;return Ce.selectWidth-Zr-Wr-TAG_BASE_WIDTH[Rr]}),On=()=>{var kr;xe.value=((kr=qe.value)==null?void 0:kr.offsetWidth)||200},Vn=computed(()=>({width:`${Ce.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil(Ce.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),Mn=computed(()=>isArray$c($.modelValue)?$.modelValue.length===0&&!Ce.displayInputValue:$.filterable?Ce.displayInputValue.length===0:!0),zn=computed(()=>{const kr=$.placeholder||ie("el.select.placeholder");return $.multiple||isNil($.modelValue)?kr:Ce.selectedLabel}),Kn=computed(()=>{var kr,Rr;return(Rr=(kr=Ue.value)==null?void 0:kr.popperRef)==null?void 0:Rr.contentRef}),Hn=computed(()=>{if($.multiple){const kr=$.modelValue.length;if($.modelValue.length>0)return Pn.value.findIndex(Rr=>Rr.value===$.modelValue[kr-1])}else if($.modelValue)return Pn.value.findIndex(kr=>kr.value===$.modelValue);return-1}),Xn=computed({get(){return hn.value&&xn.value!==!1},set(kr){hn.value=kr}}),lr=computed(()=>Ce.cachedOptions.slice(0,$.maxCollapseTags)),yr=computed(()=>Ce.cachedOptions.slice($.maxCollapseTags)),{createNewOption:ir,removeNewOption:Yn,selectNewOption:Gn,clearAllNewOption:Wn}=useAllowCreate($,Ce),{handleCompositionStart:Qn,handleCompositionUpdate:fr,handleCompositionEnd:jn}=useInput(kr=>Fr(kr)),Zn=()=>{var kr,Rr,Wr;(Rr=(kr=Ve.value)==null?void 0:kr.focus)==null||Rr.call(kr),(Wr=Ue.value)==null||Wr.updatePopper()},rr=()=>{if(!$.automaticDropdown&&!vn.value)return Ce.isComposing&&(Ce.softFocus=!0),nextTick(()=>{var kr,Rr;hn.value=!hn.value,(Rr=(kr=Ve.value)==null?void 0:kr.focus)==null||Rr.call(kr)})},mr=()=>($.filterable&&Ce.inputValue!==Ce.selectedLabel&&(Ce.query=Ce.selectedLabel),or(Ce.inputValue),nextTick(()=>{ir(Ce.inputValue)})),_r=debounce(mr,kn.value),or=kr=>{Ce.previousQuery!==kr&&(Ce.previousQuery=kr,$.filterable&&isFunction$5($.filterMethod)?$.filterMethod(kr):$.filterable&&$.remote&&isFunction$5($.remoteMethod)&&$.remoteMethod(kr))},$r=kr=>{isEqual$1($.modelValue,kr)||z(CHANGE_EVENT,kr)},gr=kr=>{z(UPDATE_MODEL_EVENT,kr),$r(kr),Ce.previousValue=kr==null?void 0:kr.toString()},xr=(kr=[],Rr)=>{if(!isObject$9(Rr))return kr.indexOf(Rr);const Wr=$.valueKey;let Zr=-1;return kr.some((zr,Qr)=>get$1(zr,Wr)===get$1(Rr,Wr)?(Zr=Qr,!0):!1),Zr},pr=kr=>isObject$9(kr)?get$1(kr,$.valueKey):kr,sr=kr=>isObject$9(kr)?kr.label:kr,cr=()=>nextTick(()=>{var kr,Rr;if(!Ve.value)return;const Wr=Et.value;qe.value.height=Wr.offsetHeight,hn.value&&xn.value!==!1&&((Rr=(kr=Ue.value)==null?void 0:kr.updatePopper)==null||Rr.call(kr))}),hr=()=>{var kr,Rr;if(Pr(),On(),(Rr=(kr=Ue.value)==null?void 0:kr.updatePopper)==null||Rr.call(kr),$.multiple)return cr()},Pr=()=>{const kr=Et.value;kr&&(Ce.selectWidth=kr.getBoundingClientRect().width)},Dr=(kr,Rr,Wr=!0)=>{var Zr,zr;if($.multiple){let Qr=$.modelValue.slice();const no=xr(Qr,pr(kr));no>-1?(Qr=[...Qr.slice(0,no),...Qr.slice(no+1)],Ce.cachedOptions.splice(no,1),Yn(kr)):($.multipleLimit<=0||Qr.length<$.multipleLimit)&&(Qr=[...Qr,pr(kr)],Ce.cachedOptions.push(kr),Gn(kr),Vr(Rr)),gr(Qr),kr.created&&(Ce.query="",or(""),Ce.inputLength=20),$.filterable&&!$.reserveKeyword&&((zr=(Zr=Ve.value).focus)==null||zr.call(Zr),ar("")),$.filterable&&(Ce.calculatedWidth=Lt.value.getBoundingClientRect().width),cr(),Mr()}else $e.value=Rr,Ce.selectedLabel=kr.label,gr(pr(kr)),hn.value=!1,Ce.isComposing=!1,Ce.isSilentBlur=Wr,Gn(kr),kr.created||Wn(),Vr(Rr)},Lr=(kr,Rr)=>{const{valueKey:Wr}=$,Zr=$.modelValue.indexOf(get$1(Rr,Wr));if(Zr>-1&&!vn.value){const zr=[...$.modelValue.slice(0,Zr),...$.modelValue.slice(Zr+1)];return Ce.cachedOptions.splice(Zr,1),gr(zr),z("remove-tag",get$1(Rr,Wr)),Ce.softFocus=!0,Yn(Rr),nextTick(Zn)}kr.stopPropagation()},Nr=kr=>{const Rr=Ce.isComposing;Ce.isComposing=!0,Ce.softFocus?Ce.softFocus=!1:Rr||z("focus",kr)},br=kr=>(Ce.softFocus=!1,nextTick(()=>{var Rr,Wr;(Wr=(Rr=Ve.value)==null?void 0:Rr.blur)==null||Wr.call(Rr),Lt.value&&(Ce.calculatedWidth=Lt.value.getBoundingClientRect().width),Ce.isSilentBlur?Ce.isSilentBlur=!1:Ce.isComposing&&z("blur",kr),Ce.isComposing=!1})),Tr=()=>{Ce.displayInputValue.length>0?ar(""):hn.value=!1},ur=kr=>{if(Ce.displayInputValue.length===0){kr.preventDefault();const Rr=$.modelValue.slice();Rr.pop(),Yn(Ce.cachedOptions.pop()),gr(Rr)}},Jn=()=>{let kr;return isArray$c($.modelValue)?kr=[]:kr=void 0,Ce.softFocus=!0,$.multiple?Ce.cachedOptions=[]:Ce.selectedLabel="",hn.value=!1,gr(kr),z("clear"),Wn(),nextTick(Zn)},ar=kr=>{Ce.displayInputValue=kr,Ce.inputValue=kr},Sr=(kr,Rr=void 0)=>{const Wr=Pn.value;if(!["forward","backward"].includes(kr)||vn.value||Wr.length<=0||An.value)return;if(!hn.value)return rr();Rr===void 0&&(Rr=Ce.hoveringIndex);let Zr=-1;kr==="forward"?(Zr=Rr+1,Zr>=Wr.length&&(Zr=0)):kr==="backward"&&(Zr=Rr-1,(Zr<0||Zr>=Wr.length)&&(Zr=Wr.length-1));const zr=Wr[Zr];if(zr.disabled||zr.type==="Group")return Sr(kr,Zr);Vr(Zr),Yr(Zr)},Or=()=>{if(hn.value)~Ce.hoveringIndex&&Pn.value[Ce.hoveringIndex]&&Dr(Pn.value[Ce.hoveringIndex],Ce.hoveringIndex,!1);else return rr()},Vr=kr=>{Ce.hoveringIndex=kr},Cr=()=>{Ce.hoveringIndex=-1},Mr=()=>{var kr;const Rr=Ve.value;Rr&&((kr=Rr.focus)==null||kr.call(Rr))},Fr=kr=>{const Rr=kr.target.value;if(ar(Rr),Ce.displayInputValue.length>0&&!hn.value&&(hn.value=!0),Ce.calculatedWidth=Lt.value.getBoundingClientRect().width,$.multiple&&cr(),$.remote)_r();else return mr()},jr=()=>(hn.value=!1,br()),Gr=()=>(Ce.inputValue=Ce.displayInputValue,nextTick(()=>{~Hn.value&&(Vr(Hn.value),Yr(Ce.hoveringIndex))})),Yr=kr=>{ze.value.scrollToItem(kr)},Xr=()=>{if(Cr(),$.multiple)if($.modelValue.length>0){let kr=!1;Ce.cachedOptions.length=0,Ce.previousValue=$.modelValue.toString(),$.modelValue.forEach(Rr=>{const Wr=Pn.value.findIndex(Zr=>pr(Zr)===Rr);~Wr&&(Ce.cachedOptions.push(Pn.value[Wr]),kr||Vr(Wr),kr=!0)})}else Ce.cachedOptions=[],Ce.previousValue=void 0;else if(bn.value){Ce.previousValue=$.modelValue;const kr=Pn.value,Rr=kr.findIndex(Wr=>pr(Wr)===pr($.modelValue));~Rr?(Ce.selectedLabel=kr[Rr].label,Vr(Rr)):Ce.selectedLabel=`${$.modelValue}`}else Ce.selectedLabel="",Ce.previousValue=void 0;Wn(),On()};return watch(hn,kr=>{var Rr,Wr;z("visible-change",kr),kr?(Wr=(Rr=Ue.value).update)==null||Wr.call(Rr):(Ce.displayInputValue="",Ce.previousQuery=null,ir(""))}),watch(()=>$.modelValue,(kr,Rr)=>{var Wr;(!kr||kr.toString()!==Ce.previousValue)&&Xr(),!isEqual$1(kr,Rr)&&$.validateEvent&&((Wr=_e==null?void 0:_e.validate)==null||Wr.call(_e,"change").catch(Zr=>void 0))},{deep:!0}),watch(()=>$.options,()=>{const kr=Ve.value;(!kr||kr&&document.activeElement!==kr)&&Xr()},{deep:!0}),watch(Pn,()=>nextTick(ze.value.resetScrollTop)),watch(()=>Xn.value,kr=>{kr||Cr()}),onMounted(()=>{Xr()}),useResizeObserver$1(qe,hr),{collapseTagSize:Fn,currentPlaceholder:zn,expanded:hn,emptyText:xn,popupHeight:_n,debounce:kn,filteredOptions:Pn,iconComponent:Sn,iconReverse:En,inputWrapperStyle:Vn,popperSize:xe,dropdownMenuVisible:Xn,hasModelValue:bn,shouldShowPlaceholder:Mn,selectDisabled:vn,selectSize:In,showClearBtn:Cn,states:Ce,tagMaxWidth:Dn,nsSelectV2:le,nsInput:ue,calculatorRef:Lt,controlRef:Ie,inputRef:Ve,menuRef:ze,popper:Ue,selectRef:qe,selectionRef:Et,popperRef:Kn,validateState:wn,validateIcon:Tn,showTagList:lr,collapseTagList:yr,debouncedOnInputChange:_r,deleteTag:Lr,getLabel:sr,getValueKey:pr,handleBlur:br,handleClear:Jn,handleClickOutside:jr,handleDel:ur,handleEsc:Tr,handleFocus:Nr,handleMenuEnter:Gr,handleResize:hr,toggleMenu:rr,scrollTo:Yr,onInput:Fr,onKeyboardNavigate:Sr,onKeyboardSelect:Or,onSelect:Dr,onHover:Vr,onUpdateInputValue:ar,handleCompositionStart:Qn,handleCompositionEnd:jn,handleCompositionUpdate:fr}},_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($,{emit:z}){const ie=computed(()=>{const{modelValue:ue,multiple:pe}=$,_e=pe?[]:void 0;return isArray$c(ue)?pe?ue:_e:pe?_e:ue}),le=useSelect$1(reactive({...toRefs($),modelValue:ie}),z);return provide(selectV2InjectionKey,{props:reactive({...toRefs($),height:le.popupHeight,modelValue:ie}),popper:le.popper,onSelect:le.onSelect,onHover:le.onHover,onKeyboardNavigate:le.onKeyboardNavigate,onKeyboardSelect:le.onKeyboardSelect}),{...le,modelValue:ie}}}),_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($,z,ie,le,ue,pe){const _e=resolveComponent("el-tag"),Ce=resolveComponent("el-tooltip"),$e=resolveComponent("el-icon"),xe=resolveComponent("el-select-menu"),Ie=resolveDirective("model-text"),Ve=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([$.nsSelectV2.b(),$.nsSelectV2.m($.selectSize)]),onClick:z[24]||(z[24]=withModifiers((...ze)=>$.toggleMenu&&$.toggleMenu(...ze),["stop"])),onMouseenter:z[25]||(z[25]=ze=>$.states.comboBoxHovering=!0),onMouseleave:z[26]||(z[26]=ze=>$.states.comboBoxHovering=!1)},[createVNode(Ce,{ref:"popper",visible:$.dropdownMenuVisible,teleported:$.teleported,"popper-class":[$.nsSelectV2.e("popper"),$.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":$.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:$.effect,placement:$.placement,pure:"",transition:`${$.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:$.persistent,onBeforeShow:$.handleMenuEnter,onHide:z[23]||(z[23]=ze=>$.states.inputValue=$.states.displayInputValue)},{default:withCtx(()=>[createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([$.nsSelectV2.e("wrapper"),$.nsSelectV2.is("focused",$.states.isComposing||$.expanded),$.nsSelectV2.is("hovering",$.states.comboBoxHovering),$.nsSelectV2.is("filterable",$.filterable),$.nsSelectV2.is("disabled",$.selectDisabled)])},[$.$slots.prefix?(openBlock(),createElementBlock("div",_hoisted_1$i,[renderSlot($.$slots,"prefix")])):createCommentVNode("v-if",!0),$.multiple?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.nsSelectV2.e("selection"))},[$.collapseTags&&$.modelValue.length>0?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.showTagList,ze=>(openBlock(),createElementBlock("div",{key:$.getValueKey(ze),class:normalizeClass($.nsSelectV2.e("selected-item"))},[createVNode(_e,{closable:!$.selectDisabled&&!(ze!=null&&ze.disable),size:$.collapseTagSize,type:"info","disable-transitions":"",onClose:Ue=>$.deleteTag(Ue,ze)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${$.tagMaxWidth}px`})},toDisplayString$1(ze==null?void 0:ze.label),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass($.nsSelectV2.e("selected-item"))},[$.modelValue.length>$.maxCollapseTags?(openBlock(),createBlock(_e,{key:0,closable:!1,size:$.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[$.collapseTagsTooltip?(openBlock(),createBlock(Ce,{key:0,disabled:$.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:$.effect,placement:"bottom",teleported:!1},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${$.tagMaxWidth}px`})},"+ "+toDisplayString$1($.modelValue.length-$.maxCollapseTags),7)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass($.nsSelectV2.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.collapseTagList,ze=>(openBlock(),createElementBlock("div",{key:$.getValueKey(ze),class:normalizeClass($.nsSelectV2.e("selected-item"))},[createVNode(_e,{closable:!$.selectDisabled&&!ze.disabled,size:$.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:Ue=>$.deleteTag(Ue,ze)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${$.tagMaxWidth}px`})},toDisplayString$1($.getLabel(ze)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${$.tagMaxWidth}px`})},"+ "+toDisplayString$1($.modelValue.length-$.maxCollapseTags),7))]),_:1},8,["size"])):createCommentVNode("v-if",!0)],2)],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList($.states.cachedOptions,ze=>(openBlock(),createElementBlock("div",{key:$.getValueKey(ze),class:normalizeClass($.nsSelectV2.e("selected-item"))},[createVNode(_e,{closable:!$.selectDisabled&&!ze.disabled,size:$.collapseTagSize,type:"info","disable-transitions":"",onClose:Ue=>$.deleteTag(Ue,ze)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${$.tagMaxWidth}px`})},toDisplayString$1($.getLabel(ze)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass([$.nsSelectV2.e("selected-item"),$.nsSelectV2.e("input-wrapper")]),style:normalizeStyle$1($.inputWrapperStyle)},[withDirectives(createBaseVNode("input",{id:$.id,ref:"inputRef",autocomplete:$.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":$.expanded,"aria-labelledby":$.label,class:normalizeClass([$.nsSelectV2.is($.selectSize),$.nsSelectV2.e("combobox-input")]),disabled:$.disabled,role:"combobox",readonly:!$.filterable,spellcheck:"false",type:"text",name:$.name,unselectable:$.expanded?"on":void 0,"onUpdate:modelValue":z[0]||(z[0]=(...ze)=>$.onUpdateInputValue&&$.onUpdateInputValue(...ze)),onFocus:z[1]||(z[1]=(...ze)=>$.handleFocus&&$.handleFocus(...ze)),onBlur:z[2]||(z[2]=(...ze)=>$.handleBlur&&$.handleBlur(...ze)),onInput:z[3]||(z[3]=(...ze)=>$.onInput&&$.onInput(...ze)),onCompositionstart:z[4]||(z[4]=(...ze)=>$.handleCompositionStart&&$.handleCompositionStart(...ze)),onCompositionupdate:z[5]||(z[5]=(...ze)=>$.handleCompositionUpdate&&$.handleCompositionUpdate(...ze)),onCompositionend:z[6]||(z[6]=(...ze)=>$.handleCompositionEnd&&$.handleCompositionEnd(...ze)),onKeydown:[z[7]||(z[7]=withKeys(withModifiers(ze=>$.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),z[8]||(z[8]=withKeys(withModifiers(ze=>$.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),z[9]||(z[9]=withKeys(withModifiers((...ze)=>$.onKeyboardSelect&&$.onKeyboardSelect(...ze),["stop","prevent"]),["enter"])),z[10]||(z[10]=withKeys(withModifiers((...ze)=>$.handleEsc&&$.handleEsc(...ze),["stop","prevent"]),["esc"])),z[11]||(z[11]=withKeys(withModifiers((...ze)=>$.handleDel&&$.handleDel(...ze),["stop"]),["delete"]))]},null,42,_hoisted_2$d),[[Ie,$.states.displayInputValue]]),$.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass($.nsSelectV2.e("input-calculator")),textContent:toDisplayString$1($.states.displayInputValue)},null,10,_hoisted_3$7)):createCommentVNode("v-if",!0)],6)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",{class:normalizeClass([$.nsSelectV2.e("selected-item"),$.nsSelectV2.e("input-wrapper")])},[withDirectives(createBaseVNode("input",{id:$.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":$.label,"aria-expanded":$.expanded,autocapitalize:"off",autocomplete:$.autocomplete,class:normalizeClass($.nsSelectV2.e("combobox-input")),disabled:$.disabled,name:$.name,role:"combobox",readonly:!$.filterable,spellcheck:"false",type:"text",unselectable:$.expanded?"on":void 0,onCompositionstart:z[12]||(z[12]=(...ze)=>$.handleCompositionStart&&$.handleCompositionStart(...ze)),onCompositionupdate:z[13]||(z[13]=(...ze)=>$.handleCompositionUpdate&&$.handleCompositionUpdate(...ze)),onCompositionend:z[14]||(z[14]=(...ze)=>$.handleCompositionEnd&&$.handleCompositionEnd(...ze)),onFocus:z[15]||(z[15]=(...ze)=>$.handleFocus&&$.handleFocus(...ze)),onBlur:z[16]||(z[16]=(...ze)=>$.handleBlur&&$.handleBlur(...ze)),onInput:z[17]||(z[17]=(...ze)=>$.onInput&&$.onInput(...ze)),onKeydown:[z[18]||(z[18]=withKeys(withModifiers(ze=>$.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),z[19]||(z[19]=withKeys(withModifiers(ze=>$.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),z[20]||(z[20]=withKeys(withModifiers((...ze)=>$.onKeyboardSelect&&$.onKeyboardSelect(...ze),["stop","prevent"]),["enter"])),z[21]||(z[21]=withKeys(withModifiers((...ze)=>$.handleEsc&&$.handleEsc(...ze),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":z[22]||(z[22]=(...ze)=>$.onUpdateInputValue&&$.onUpdateInputValue(...ze))},null,42,_hoisted_4$4),[[Ie,$.states.displayInputValue]])],2),$.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass([$.nsSelectV2.e("selected-item"),$.nsSelectV2.e("input-calculator")]),textContent:toDisplayString$1($.states.displayInputValue)},null,10,_hoisted_5$2)):createCommentVNode("v-if",!0)],64)),$.shouldShowPlaceholder?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([$.nsSelectV2.e("placeholder"),$.nsSelectV2.is("transparent",$.multiple?$.modelValue.length===0:!$.hasModelValue)])},toDisplayString$1($.currentPlaceholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("suffix"))},[$.iconComponent?withDirectives((openBlock(),createBlock($e,{key:0,class:normalizeClass([$.nsSelectV2.e("caret"),$.nsInput.e("icon"),$.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])),[[vShow,!$.showClearBtn]]):createCommentVNode("v-if",!0),$.showClearBtn&&$.clearIcon?(openBlock(),createBlock($e,{key:1,class:normalizeClass([$.nsSelectV2.e("caret"),$.nsInput.e("icon")]),onClick:withModifiers($.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),$.validateState&&$.validateIcon?(openBlock(),createBlock($e,{key:2,class:normalizeClass([$.nsInput.e("icon"),$.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode(xe,{ref:"menuRef",data:$.filteredOptions,width:$.popperSize,"hovering-index":$.states.hoveringIndex,"scrollbar-always-on":$.scrollbarAlwaysOn},{default:withCtx(ze=>[renderSlot($.$slots,"default",normalizeProps(guardReactiveProps(ze)))]),empty:withCtx(()=>[renderSlot($.$slots,"empty",{},()=>[createBaseVNode("p",{class:normalizeClass($.nsSelectV2.e("empty"))},toDisplayString$1($.emptyText?$.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)),[[Ve,$.handleClickOutside,$.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=$=>{$.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($){const z=useNamespace("skeleton");return(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(z).e("item"),unref(z).e(ie.variant)])},[ie.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($,{expose:z}){const ie=$,le=useNamespace("skeleton"),ue=useThrottleRender(toRef$1(ie,"loading"),ie.throttle);return z({uiLoading:ue}),(pe,_e)=>unref(ue)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(le).b(),unref(le).is("animated",pe.animated)]},pe.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.count,Ce=>(openBlock(),createElementBlock(Fragment,{key:Ce},[pe.loading?renderSlot(pe.$slots,"template",{key:Ce},()=>[createVNode(SkeletonItem,{class:normalizeClass(unref(le).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.rows,$e=>(openBlock(),createBlock(SkeletonItem,{key:$e,class:normalizeClass([unref(le).e("paragraph"),unref(le).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=$=>isNumber$4($)||isArray$c($)&&$.every(isNumber$4),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=($,z,ie)=>{const le=ref();return onMounted(async()=>{$.range?(Array.isArray($.modelValue)?(z.firstValue=Math.max($.min,$.modelValue[0]),z.secondValue=Math.min($.max,$.modelValue[1])):(z.firstValue=$.min,z.secondValue=$.max),z.oldValue=[z.firstValue,z.secondValue]):(typeof $.modelValue!="number"||Number.isNaN($.modelValue)?z.firstValue=$.min:z.firstValue=Math.min($.max,Math.max($.min,$.modelValue)),z.oldValue=z.firstValue),useEventListener$1(window,"resize",ie),await nextTick(),ie()}),{sliderWrapper:le}},useMarks=$=>computed(()=>$.marks?Object.keys($.marks).map(Number.parseFloat).sort((ie,le)=>ie-le).filter(ie=>ie<=$.max&&ie>=$.min).map(ie=>({point:ie,position:(ie-$.min)*100/($.max-$.min),mark:$.marks[ie]})):[]),useSlide=($,z,ie)=>{const{form:le,formItem:ue}=useFormItem(),pe=shallowRef(),_e=ref(),Ce=ref(),$e={firstButton:_e,secondButton:Ce},xe=computed(()=>$.disabled||(le==null?void 0:le.disabled)||!1),Ie=computed(()=>Math.min(z.firstValue,z.secondValue)),Ve=computed(()=>Math.max(z.firstValue,z.secondValue)),ze=computed(()=>$.range?`${100*(Ve.value-Ie.value)/($.max-$.min)}%`:`${100*(z.firstValue-$.min)/($.max-$.min)}%`),Ue=computed(()=>$.range?`${100*(Ie.value-$.min)/($.max-$.min)}%`:"0%"),qe=computed(()=>$.vertical?{height:$.height}:{}),Et=computed(()=>$.vertical?{height:ze.value,bottom:Ue.value}:{width:ze.value,left:Ue.value}),Lt=()=>{pe.value&&(z.sliderSize=pe.value[`client${$.vertical?"Height":"Width"}`])},hn=xn=>{const Pn=$.min+xn*($.max-$.min)/100;if(!$.range)return _e;let An;return Math.abs(Ie.value-Pn)<Math.abs(Ve.value-Pn)?An=z.firstValue<z.secondValue?"firstButton":"secondButton":An=z.firstValue>z.secondValue?"firstButton":"secondButton",$e[An]},vn=xn=>{const Pn=hn(xn);return Pn.value.setPosition(xn),Pn},_n=xn=>{z.firstValue=xn,Cn($.range?[Ie.value,Ve.value]:xn)},bn=xn=>{z.secondValue=xn,$.range&&Cn([Ie.value,Ve.value])},Cn=xn=>{ie(UPDATE_MODEL_EVENT,xn),ie(INPUT_EVENT,xn)},Sn=async()=>{await nextTick(),ie(CHANGE_EVENT,$.range?[Ie.value,Ve.value]:$.modelValue)},En=xn=>{var Pn,An,In,Fn,Dn,On;if(xe.value||z.dragging)return;Lt();let Vn=0;if($.vertical){const Mn=(In=(An=(Pn=xn.touches)==null?void 0:Pn.item(0))==null?void 0:An.clientY)!=null?In:xn.clientY;Vn=(pe.value.getBoundingClientRect().bottom-Mn)/z.sliderSize*100}else{const Mn=(On=(Dn=(Fn=xn.touches)==null?void 0:Fn.item(0))==null?void 0:Dn.clientX)!=null?On:xn.clientX,zn=pe.value.getBoundingClientRect().left;Vn=(Mn-zn)/z.sliderSize*100}if(!(Vn<0||Vn>100))return vn(Vn)};return{elFormItem:ue,slider:pe,firstButton:_e,secondButton:Ce,sliderDisabled:xe,minValue:Ie,maxValue:Ve,runwayStyle:qe,barStyle:Et,resetSize:Lt,setPosition:vn,emitChange:Sn,onSliderWrapperPrevent:xn=>{var Pn,An;((Pn=$e.firstButton.value)!=null&&Pn.dragging||(An=$e.secondButton.value)!=null&&An.dragging)&&xn.preventDefault()},onSliderClick:xn=>{En(xn)&&Sn()},onSliderDown:async xn=>{const Pn=En(xn);Pn&&(await nextTick(),Pn.value.onButtonDown(xn))},setFirstValue:_n,setSecondValue:bn}},{left,down,right,up,home:home$2,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=($,z,ie)=>{const le=ref(),ue=ref(!1),pe=computed(()=>z.value instanceof Function),_e=computed(()=>pe.value&&z.value($.modelValue)||$.modelValue),Ce=debounce(()=>{ie.value&&(ue.value=!0)},50),$e=debounce(()=>{ie.value&&(ue.value=!1)},50);return{tooltip:le,tooltipVisible:ue,formatValue:_e,displayTooltip:Ce,hideTooltip:$e}},useSliderButton=($,z,ie)=>{const{disabled:le,min:ue,max:pe,step:_e,showTooltip:Ce,precision:$e,sliderSize:xe,formatTooltip:Ie,emitChange:Ve,resetSize:ze,updateDragging:Ue}=inject(sliderContextKey),{tooltip:qe,tooltipVisible:Et,formatValue:Lt,displayTooltip:hn,hideTooltip:vn}=useTooltip($,Ie,Ce),_n=ref(),bn=computed(()=>`${($.modelValue-ue.value)/(pe.value-ue.value)*100}%`),Cn=computed(()=>$.vertical?{bottom:bn.value}:{left:bn.value}),Sn=()=>{z.hovering=!0,hn()},En=()=>{z.hovering=!1,z.dragging||vn()},wn=Hn=>{le.value||(Hn.preventDefault(),Vn(Hn),window.addEventListener("mousemove",Mn),window.addEventListener("touchmove",Mn),window.addEventListener("mouseup",zn),window.addEventListener("touchend",zn),window.addEventListener("contextmenu",zn),_n.value.focus())},Tn=Hn=>{le.value||(z.newPosition=Number.parseFloat(bn.value)+Hn/(pe.value-ue.value)*100,Kn(z.newPosition),Ve())},kn=()=>{Tn(-_e.value)},xn=()=>{Tn(_e.value)},Pn=()=>{Tn(-_e.value*4)},An=()=>{Tn(_e.value*4)},In=()=>{le.value||(Kn(0),Ve())},Fn=()=>{le.value||(Kn(100),Ve())},Dn=Hn=>{let Xn=!0;[left,down].includes(Hn.key)?kn():[right,up].includes(Hn.key)?xn():Hn.key===home$2?In():Hn.key===end$1?Fn():Hn.key===pageDown?Pn():Hn.key===pageUp?An():Xn=!1,Xn&&Hn.preventDefault()},On=Hn=>{let Xn,lr;return Hn.type.startsWith("touch")?(lr=Hn.touches[0].clientY,Xn=Hn.touches[0].clientX):(lr=Hn.clientY,Xn=Hn.clientX),{clientX:Xn,clientY:lr}},Vn=Hn=>{z.dragging=!0,z.isClick=!0;const{clientX:Xn,clientY:lr}=On(Hn);$.vertical?z.startY=lr:z.startX=Xn,z.startPosition=Number.parseFloat(bn.value),z.newPosition=z.startPosition},Mn=Hn=>{if(z.dragging){z.isClick=!1,hn(),ze();let Xn;const{clientX:lr,clientY:yr}=On(Hn);$.vertical?(z.currentY=yr,Xn=(z.startY-z.currentY)/xe.value*100):(z.currentX=lr,Xn=(z.currentX-z.startX)/xe.value*100),z.newPosition=z.startPosition+Xn,Kn(z.newPosition)}},zn=()=>{z.dragging&&(setTimeout(()=>{z.dragging=!1,z.hovering||vn(),z.isClick||Kn(z.newPosition),Ve()},0),window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",zn),window.removeEventListener("touchend",zn),window.removeEventListener("contextmenu",zn))},Kn=async Hn=>{if(Hn===null||Number.isNaN(+Hn))return;Hn<0?Hn=0:Hn>100&&(Hn=100);const Xn=100/((pe.value-ue.value)/_e.value);let yr=Math.round(Hn/Xn)*Xn*(pe.value-ue.value)*.01+ue.value;yr=Number.parseFloat(yr.toFixed($e.value)),yr!==$.modelValue&&ie(UPDATE_MODEL_EVENT,yr),!z.dragging&&$.modelValue!==z.oldValue&&(z.oldValue=$.modelValue),await nextTick(),z.dragging&&hn(),qe.value.updatePopper()};return watch(()=>z.dragging,Hn=>{Ue(Hn)}),{disabled:le,button:_n,tooltip:qe,tooltipVisible:Et,showTooltip:Ce,wrapperStyle:Cn,formatValue:Lt,handleMouseEnter:Sn,handleMouseLeave:En,onButtonDown:wn,onKeyDown:Dn,setPosition:Kn}},useStops=($,z,ie,le)=>({stops:computed(()=>{if(!$.showStops||$.min>$.max)return[];if($.step===0)return[];const _e=($.max-$.min)/$.step,Ce=100*$.step/($.max-$.min),$e=Array.from({length:_e-1}).map((xe,Ie)=>(Ie+1)*Ce);return $.range?$e.filter(xe=>xe<100*(ie.value-$.min)/($.max-$.min)||xe>100*(le.value-$.min)/($.max-$.min)):$e.filter(xe=>xe>100*(z.firstValue-$.min)/($.max-$.min))}),getStopStyle:_e=>$.vertical?{bottom:`${_e}%`}:{left:`${_e}%`}}),useWatch=($,z,ie,le,ue,pe)=>{const _e=xe=>{ue(UPDATE_MODEL_EVENT,xe),ue(INPUT_EVENT,xe)},Ce=()=>$.range?![ie.value,le.value].every((xe,Ie)=>xe===z.oldValue[Ie]):$.modelValue!==z.oldValue,$e=()=>{var xe,Ie;$.min>$.max&&throwError$1("Slider","min should not be greater than max.");const Ve=$.modelValue;$.range&&Array.isArray(Ve)?Ve[1]<$.min?_e([$.min,$.min]):Ve[0]>$.max?_e([$.max,$.max]):Ve[0]<$.min?_e([$.min,Ve[1]]):Ve[1]>$.max?_e([Ve[0],$.max]):(z.firstValue=Ve[0],z.secondValue=Ve[1],Ce()&&($.validateEvent&&((xe=pe==null?void 0:pe.validate)==null||xe.call(pe,"change").catch(ze=>void 0)),z.oldValue=Ve.slice())):!$.range&&typeof Ve=="number"&&!Number.isNaN(Ve)&&(Ve<$.min?_e($.min):Ve>$.max?_e($.max):(z.firstValue=Ve,Ce()&&($.validateEvent&&((Ie=pe==null?void 0:pe.validate)==null||Ie.call(pe,"change").catch(ze=>void 0)),z.oldValue=Ve)))};$e(),watch(()=>z.dragging,xe=>{xe||$e()}),watch(()=>$.modelValue,(xe,Ie)=>{z.dragging||Array.isArray(xe)&&Array.isArray(Ie)&&xe.every((Ve,ze)=>Ve===Ie[ze])&&z.firstValue===xe[0]&&z.secondValue===xe[1]||$e()},{deep:!0}),watch(()=>[$.min,$.max],()=>{$e()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:$=>isNumber$4($)},_hoisted_1$h=["tabindex"],__default__$r=defineComponent({name:"ElSliderButton"}),_sfc_main$A=defineComponent({...__default__$r,props:sliderButtonProps,emits:sliderButtonEmits,setup($,{expose:z,emit:ie}){const le=$,ue=useNamespace("slider"),pe=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:le.modelValue}),{disabled:_e,button:Ce,tooltip:$e,showTooltip:xe,tooltipVisible:Ie,wrapperStyle:Ve,formatValue:ze,handleMouseEnter:Ue,handleMouseLeave:qe,onButtonDown:Et,onKeyDown:Lt,setPosition:hn}=useSliderButton(le,pe,ie),{hovering:vn,dragging:_n}=toRefs(pe);return z({onButtonDown:Et,onKeyDown:Lt,setPosition:hn,hovering:vn,dragging:_n}),(bn,Cn)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:Ce,class:normalizeClass([unref(ue).e("button-wrapper"),{hover:unref(vn),dragging:unref(_n)}]),style:normalizeStyle$1(unref(Ve)),tabindex:unref(_e)?-1:0,onMouseenter:Cn[0]||(Cn[0]=(...Sn)=>unref(Ue)&&unref(Ue)(...Sn)),onMouseleave:Cn[1]||(Cn[1]=(...Sn)=>unref(qe)&&unref(qe)(...Sn)),onMousedown:Cn[2]||(Cn[2]=(...Sn)=>unref(Et)&&unref(Et)(...Sn)),onTouchstart:Cn[3]||(Cn[3]=(...Sn)=>unref(Et)&&unref(Et)(...Sn)),onFocus:Cn[4]||(Cn[4]=(...Sn)=>unref(Ue)&&unref(Ue)(...Sn)),onBlur:Cn[5]||(Cn[5]=(...Sn)=>unref(qe)&&unref(qe)(...Sn)),onKeydown:Cn[6]||(Cn[6]=(...Sn)=>unref(Lt)&&unref(Lt)(...Sn))},[createVNode(unref(ElTooltip),{ref_key:"tooltip",ref:$e,visible:unref(Ie),placement:bn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":bn.tooltipClass,disabled:!unref(xe),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(unref(ze)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(ue).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($){const z=useNamespace("slider"),ie=computed(()=>isString$6($.mark)?$.mark:$.mark.label),le=computed(()=>isString$6($.mark)?void 0:$.mark.style);return()=>h$3("div",{class:z.e("marks-text"),style:le.value},ie.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($,{expose:z,emit:ie}){const le=$,ue=useNamespace("slider"),{t:pe}=useLocale(),_e=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:Ce,slider:$e,firstButton:xe,secondButton:Ie,sliderDisabled:Ve,minValue:ze,maxValue:Ue,runwayStyle:qe,barStyle:Et,resetSize:Lt,emitChange:hn,onSliderWrapperPrevent:vn,onSliderClick:_n,onSliderDown:bn,setFirstValue:Cn,setSecondValue:Sn}=useSlide(le,_e,ie),{stops:En,getStopStyle:wn}=useStops(le,_e,ze,Ue),{inputId:Tn,isLabeledByFormItem:kn}=useFormItemInputId(le,{formItemContext:Ce}),xn=useFormSize(),Pn=computed(()=>le.inputSize||xn.value),An=computed(()=>le.label||pe("el.slider.defaultLabel",{min:le.min,max:le.max})),In=computed(()=>le.range?le.rangeStartLabel||pe("el.slider.defaultRangeStartLabel"):An.value),Fn=computed(()=>le.formatValueText?le.formatValueText(Hn.value):`${Hn.value}`),Dn=computed(()=>le.rangeEndLabel||pe("el.slider.defaultRangeEndLabel")),On=computed(()=>le.formatValueText?le.formatValueText(Xn.value):`${Xn.value}`),Vn=computed(()=>[ue.b(),ue.m(xn.value),ue.is("vertical",le.vertical),{[ue.m("with-input")]:le.showInput}]),Mn=useMarks(le);useWatch(le,_e,ze,Ue,ie,Ce);const zn=computed(()=>{const ir=[le.min,le.max,le.step].map(Yn=>{const Gn=`${Yn}`.split(".")[1];return Gn?Gn.length:0});return Math.max.apply(null,ir)}),{sliderWrapper:Kn}=useLifecycle(le,_e,Lt),{firstValue:Hn,secondValue:Xn,sliderSize:lr}=toRefs(_e),yr=ir=>{_e.dragging=ir};return provide(sliderContextKey,{...toRefs(le),sliderSize:lr,disabled:Ve,precision:zn,emitChange:hn,resetSize:Lt,updateDragging:yr}),z({onSliderClick:_n}),(ir,Yn)=>{var Gn,Wn;return openBlock(),createElementBlock("div",{id:ir.range?unref(Tn):void 0,ref_key:"sliderWrapper",ref:Kn,class:normalizeClass(unref(Vn)),role:ir.range?"group":void 0,"aria-label":ir.range&&!unref(kn)?unref(An):void 0,"aria-labelledby":ir.range&&unref(kn)?(Gn=unref(Ce))==null?void 0:Gn.labelId:void 0,onTouchstart:Yn[2]||(Yn[2]=(...Qn)=>unref(vn)&&unref(vn)(...Qn)),onTouchmove:Yn[3]||(Yn[3]=(...Qn)=>unref(vn)&&unref(vn)(...Qn))},[createBaseVNode("div",{ref_key:"slider",ref:$e,class:normalizeClass([unref(ue).e("runway"),{"show-input":ir.showInput&&!ir.range},unref(ue).is("disabled",unref(Ve))]),style:normalizeStyle$1(unref(qe)),onMousedown:Yn[0]||(Yn[0]=(...Qn)=>unref(bn)&&unref(bn)(...Qn)),onTouchstart:Yn[1]||(Yn[1]=(...Qn)=>unref(bn)&&unref(bn)(...Qn))},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("bar")),style:normalizeStyle$1(unref(Et))},null,6),createVNode(SliderButton,{id:ir.range?void 0:unref(Tn),ref_key:"firstButton",ref:xe,"model-value":unref(Hn),vertical:ir.vertical,"tooltip-class":ir.tooltipClass,placement:ir.placement,role:"slider","aria-label":ir.range||!unref(kn)?unref(In):void 0,"aria-labelledby":!ir.range&&unref(kn)?(Wn=unref(Ce))==null?void 0:Wn.labelId:void 0,"aria-valuemin":ir.min,"aria-valuemax":ir.range?unref(Xn):ir.max,"aria-valuenow":unref(Hn),"aria-valuetext":unref(Fn),"aria-orientation":ir.vertical?"vertical":"horizontal","aria-disabled":unref(Ve),"onUpdate:modelValue":unref(Cn)},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:Ie,"model-value":unref(Xn),vertical:ir.vertical,"tooltip-class":ir.tooltipClass,placement:ir.placement,role:"slider","aria-label":unref(Dn),"aria-valuemin":unref(Hn),"aria-valuemax":ir.max,"aria-valuenow":unref(Xn),"aria-valuetext":unref(On),"aria-orientation":ir.vertical?"vertical":"horizontal","aria-disabled":unref(Ve),"onUpdate:modelValue":unref(Sn)},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),(Qn,fr)=>(openBlock(),createElementBlock("div",{key:fr,class:normalizeClass(unref(ue).e("stop")),style:normalizeStyle$1(unref(wn)(Qn))},null,6))),128))])):createCommentVNode("v-if",!0),unref(Mn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Mn),(Qn,fr)=>(openBlock(),createElementBlock("div",{key:fr,style:normalizeStyle$1(unref(wn)(Qn.position)),class:normalizeClass([unref(ue).e("stop"),unref(ue).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(ue).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Mn),(Qn,fr)=>(openBlock(),createBlock(unref(SliderMarker),{key:fr,mark:Qn.mark,style:normalizeStyle$1(unref(wn)(Qn.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(Hn),class:normalizeClass(unref(ue).e("input")),step:ir.step,disabled:unref(Ve),controls:ir.showInputControls,min:ir.min,max:ir.max,debounce:ir.debounce,size:unref(Pn),"onUpdate:modelValue":unref(Cn),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($,{slots:z}){const ie=useNamespace("space"),le=computed(()=>`${$.prefixCls||ie.b()}__item`);return()=>h$3("div",{class:le.value},renderSlot(z,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace($){const z=useNamespace("space"),ie=computed(()=>[z.b(),z.m($.direction),$.class]),le=ref(0),ue=ref(0),pe=computed(()=>{const Ce=$.wrap||$.fill?{flexWrap:"wrap",marginBottom:`-${ue.value}px`}:{},$e={alignItems:$.alignment};return[Ce,$e,$.style]}),_e=computed(()=>{const Ce={paddingBottom:`${ue.value}px`,marginRight:`${le.value}px`},$e=$.fill?{flexGrow:1,minWidth:`${$.fillRatio}%`}:{};return[Ce,$e]});return watchEffect(()=>{const{size:Ce="small",wrap:$e,direction:xe,fill:Ie}=$;if(isArray$c(Ce)){const[Ve=0,ze=0]=Ce;le.value=Ve,ue.value=ze}else{let Ve;isNumber$4(Ce)?Ve=Ce:Ve=SIZE_MAP[Ce||"small"]||SIZE_MAP.small,($e||Ie)&&xe==="horizontal"?le.value=ue.value=Ve:xe==="horizontal"?(le.value=Ve,ue.value=0):(ue.value=Ve,le.value=0)}}),{classes:ie,containerStyle:pe,itemStyle:_e}}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:$=>isVNode$1($)||isNumber$4($)||isString$6($)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:$=>isNumber$4($)||isArray$c($)&&$.length===2&&$.every(isNumber$4)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup($,{slots:z}){const{classes:ie,containerStyle:le,itemStyle:ue}=useSpace($);function pe(_e,Ce="",$e=[]){const{prefixCls:xe}=$;return _e.forEach((Ie,Ve)=>{isFragment(Ie)?isArray$c(Ie.children)&&Ie.children.forEach((ze,Ue)=>{isFragment(ze)&&isArray$c(ze.children)?pe(ze.children,`${Ce+Ue}-`,$e):$e.push(createVNode(SpaceItem,{style:ue.value,prefixCls:xe,key:`nested-${Ce+Ue}`},{default:()=>[ze]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(Ie)&&$e.push(createVNode(SpaceItem,{style:ue.value,prefixCls:xe,key:`LoopKey${Ce+Ve}`},{default:()=>[Ie]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),$e}return()=>{var _e;const{spacer:Ce,direction:$e}=$,xe=renderSlot(z,"default",{key:0},()=>[]);if(((_e=xe.children)!=null?_e:[]).length===0)return null;if(isArray$c(xe.children)){let Ie=pe(xe.children);if(Ce){const Ve=Ie.length-1;Ie=Ie.reduce((ze,Ue,qe)=>{const Et=[...ze,Ue];return qe!==Ve&&Et.push(createVNode("span",{style:[ue.value,$e==="vertical"?"width: 100%":null],key:qe},[isVNode$1(Ce)?Ce:createTextVNode(Ce,PatchFlags.TEXT)],PatchFlags.STYLE)),Et},[])}return createVNode("div",{class:ie.value,style:le.value},Ie,PatchFlags.STYLE|PatchFlags.CLASS)}return xe.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($,{expose:z}){const ie=$,le=useNamespace("statistic"),ue=computed(()=>{const{value:pe,formatter:_e,precision:Ce,decimalSeparator:$e,groupSeparator:xe}=ie;if(isFunction$5(_e))return _e(pe);if(!isNumber$4(pe))return pe;let[Ie,Ve=""]=String(pe).split(".");return Ve=Ve.padEnd(Ce,"0").slice(0,Ce>0?Ce:0),Ie=Ie.replace(/\B(?=(\d{3})+(?!\d))/g,xe),[Ie,Ve].join(Ve?$e:"")});return z({displayValue:ue}),(pe,_e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le).b())},[pe.$slots.title||pe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("head"))},[renderSlot(pe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(pe.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("content"))},[pe.$slots.prefix||pe.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("prefix"))},[renderSlot(pe.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString$1(pe.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(le).e("number")),style:normalizeStyle$1(pe.valueStyle)},toDisplayString$1(unref(ue)),7),pe.$slots.suffix||pe.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(le).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]:$=>isNumber$4($)},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=$=>isNumber$4($)?new Date($).getTime():$.valueOf(),formatTime$2=($,z)=>{let ie=$;const le=/\[([^\]]*)]/g;return timeUnits$1.reduce((pe,[_e,Ce])=>{const $e=new RegExp(`${_e}+(?![^\\[\\]]*\\])`,"g");if($e.test(pe)){const xe=Math.floor(ie/Ce);return ie-=xe*Ce,pe.replace($e,Ie=>String(xe).padStart(Ie.length,"0"))}return pe},z).replace(le,"$1")},__default__$o=defineComponent({name:"ElCountdown"}),_sfc_main$x=defineComponent({...__default__$o,props:countdownProps,emits:countdownEmits,setup($,{expose:z,emit:ie}){const le=$;let ue;const pe=ref(getTime$1(le.value)-Date.now()),_e=computed(()=>formatTime$2(pe.value,le.format)),Ce=Ie=>formatTime$2(Ie,le.format),$e=()=>{ue&&(cAF(ue),ue=void 0)},xe=()=>{const Ie=getTime$1(le.value),Ve=()=>{let ze=Ie-Date.now();ie("change",ze),ze<=0?(ze=0,$e(),ie("finish")):ue=rAF(Ve),pe.value=ze};ue=rAF(Ve)};return watch(()=>[le.value,le.format],()=>{$e(),xe()},{immediate:!0}),onBeforeUnmount(()=>{$e()}),z({displayValue:_e}),(Ie,Ve)=>(openBlock(),createBlock(unref(ElStatistic),{value:pe.value,title:Ie.title,prefix:Ie.prefix,suffix:Ie.suffix,"value-style":Ie.valueStyle,formatter:Ce},createSlots({_:2},[renderList(Ie.$slots,(ze,Ue)=>({name:Ue,fn:withCtx(()=>[renderSlot(Ie.$slots,Ue)])}))]),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]:($,z)=>[$,z].every(isNumber$4)},__default__$n=defineComponent({name:"ElSteps"}),_sfc_main$w=defineComponent({...__default__$n,props:stepsProps,emits:stepsEmits,setup($,{emit:z}){const ie=$,le=useNamespace("steps"),{children:ue,addChild:pe,removeChild:_e}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(ue,()=>{ue.value.forEach((Ce,$e)=>{Ce.setIndex($e)})}),provide("ElSteps",{props:ie,steps:ue,addStep:pe,removeStep:_e}),watch(()=>ie.active,(Ce,$e)=>{z(CHANGE_EVENT,Ce,$e)}),(Ce,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(le).m(Ce.simple?"simple":Ce.direction)])},[renderSlot(Ce.$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($){const z=$,ie=useNamespace("step"),le=ref(-1),ue=ref({}),pe=ref(""),_e=inject("ElSteps"),Ce=getCurrentInstance();onMounted(()=>{watch([()=>_e.props.active,()=>_e.props.processStatus,()=>_e.props.finishStatus],([Sn])=>{bn(Sn)},{immediate:!0})}),onBeforeUnmount(()=>{_e.removeStep(Cn.uid)});const $e=computed(()=>z.status||pe.value),xe=computed(()=>{const Sn=_e.steps.value[le.value-1];return Sn?Sn.currentStatus:"wait"}),Ie=computed(()=>_e.props.alignCenter),Ve=computed(()=>_e.props.direction==="vertical"),ze=computed(()=>_e.props.simple),Ue=computed(()=>_e.steps.value.length),qe=computed(()=>{var Sn;return((Sn=_e.steps.value[Ue.value-1])==null?void 0:Sn.uid)===(Ce==null?void 0:Ce.uid)}),Et=computed(()=>ze.value?"":_e.props.space),Lt=computed(()=>[ie.b(),ie.is(ze.value?"simple":_e.props.direction),ie.is("flex",qe.value&&!Et.value&&!Ie.value),ie.is("center",Ie.value&&!Ve.value&&!ze.value)]),hn=computed(()=>{const Sn={flexBasis:isNumber$4(Et.value)?`${Et.value}px`:Et.value?Et.value:`${100/(Ue.value-(Ie.value?0:1))}%`};return Ve.value||qe.value&&(Sn.maxWidth=`${100/Ue.value}%`),Sn}),vn=Sn=>{le.value=Sn},_n=Sn=>{const En=Sn==="wait",wn={transitionDelay:`${En?"-":""}${150*le.value}ms`},Tn=Sn===_e.props.processStatus||En?0:100;wn.borderWidth=Tn&&!ze.value?"1px":0,wn[_e.props.direction==="vertical"?"height":"width"]=`${Tn}%`,ue.value=wn},bn=Sn=>{Sn>le.value?pe.value=_e.props.finishStatus:Sn===le.value&&xe.value!=="error"?pe.value=_e.props.processStatus:pe.value="wait";const En=_e.steps.value[le.value-1];En&&En.calcProgress(pe.value)},Cn=reactive({uid:Ce.uid,currentStatus:$e,setIndex:vn,calcProgress:_n});return _e.addStep(Cn),(Sn,En)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(hn)),class:normalizeClass(unref(Lt))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(ie).e("head"),unref(ie).is(unref($e))])},[unref(ze)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(ie).e("line-inner")),style:normalizeStyle$1(ue.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(ie).e("icon"),unref(ie).is(Sn.icon||Sn.$slots.icon?"icon":"text")])},[renderSlot(Sn.$slots,"icon",{},()=>[Sn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.icon)))]),_:1},8,["class"])):unref($e)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ie).e("icon-inner"),unref(ie).is("status")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):unref($e)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(ie).e("icon-inner"),unref(ie).is("status")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):unref(ze)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(ie).e("icon-inner"))},toDisplayString$1(le.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(ie).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(ie).e("title"),unref(ie).is(unref($e))])},[renderSlot(Sn.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Sn.title),1)])],2),unref(ze)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(ie).e("description"),unref(ie).is(unref($e))])},[renderSlot(Sn.$slots,"description",{},()=>[createTextVNode(toDisplayString$1(Sn.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]:$=>isBoolean$3($)||isString$6($)||isNumber$4($),[CHANGE_EVENT]:$=>isBoolean$3($)||isString$6($)||isNumber$4($),[INPUT_EVENT]:$=>isBoolean$3($)||isString$6($)||isNumber$4($)},_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($,{expose:z,emit:ie}){const le=$,ue=getCurrentInstance(),{formItem:pe}=useFormItem(),_e=useFormSize(),Ce=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 Cn;return!!((Cn=ue.vnode.props)!=null&&Cn.value)}));const{inputId:$e}=useFormItemInputId(le,{formItemContext:pe}),xe=useFormDisabled(computed(()=>le.loading)),Ie=ref(le.modelValue!==!1),Ve=ref(),ze=ref(),Ue=computed(()=>[Ce.b(),Ce.m(_e.value),Ce.is("disabled",xe.value),Ce.is("checked",Lt.value)]),qe=computed(()=>({width:addUnit(le.width)}));watch(()=>le.modelValue,()=>{Ie.value=!0}),watch(()=>le.value,()=>{Ie.value=!1});const Et=computed(()=>Ie.value?le.modelValue:le.value),Lt=computed(()=>Et.value===le.activeValue);[le.activeValue,le.inactiveValue].includes(Et.value)||(ie(UPDATE_MODEL_EVENT,le.inactiveValue),ie(CHANGE_EVENT,le.inactiveValue),ie(INPUT_EVENT,le.inactiveValue)),watch(Lt,Cn=>{var Sn;Ve.value.checked=Cn,le.validateEvent&&((Sn=pe==null?void 0:pe.validate)==null||Sn.call(pe,"change").catch(En=>void 0))});const hn=()=>{const Cn=Lt.value?le.inactiveValue:le.activeValue;ie(UPDATE_MODEL_EVENT,Cn),ie(CHANGE_EVENT,Cn),ie(INPUT_EVENT,Cn),nextTick(()=>{Ve.value.checked=Lt.value})},vn=()=>{if(xe.value)return;const{beforeChange:Cn}=le;if(!Cn){hn();return}const Sn=Cn();[isPromise(Sn),isBoolean$3(Sn)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise<boolean>` or `boolean`"),isPromise(Sn)?Sn.then(wn=>{wn&&hn()}).catch(wn=>{}):Sn&&hn()},_n=computed(()=>Ce.cssVarBlock({...le.activeColor?{"on-color":le.activeColor}:null,...le.inactiveColor?{"off-color":le.inactiveColor}:null,...le.borderColor?{"border-color":le.borderColor}:null})),bn=()=>{var Cn,Sn;(Sn=(Cn=Ve.value)==null?void 0:Cn.focus)==null||Sn.call(Cn)};return onMounted(()=>{Ve.value.checked=Lt.value}),z({focus:bn,checked:Lt}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ue)),style:normalizeStyle$1(unref(_n)),onClick:withModifiers(vn,["prevent"])},[createBaseVNode("input",{id:unref($e),ref_key:"input",ref:Ve,class:normalizeClass(unref(Ce).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Lt),"aria-disabled":unref(xe),name:Cn.name,"true-value":Cn.activeValue,"false-value":Cn.inactiveValue,disabled:unref(xe),tabindex:Cn.tabindex,onChange:hn,onKeydown:withKeys(vn,["enter"])},null,42,_hoisted_2$b),!Cn.inlinePrompt&&(Cn.inactiveIcon||Cn.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(Ce).e("label"),unref(Ce).em("label","left"),unref(Ce).is("active",!unref(Lt))])},[Cn.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Cn.inactiveIcon&&Cn.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Lt)},toDisplayString$1(Cn.inactiveText),9,_hoisted_3$6)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:ze,class:normalizeClass(unref(Ce).e("core")),style:normalizeStyle$1(unref(qe))},[Cn.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ce).e("inner"))},[Cn.activeIcon||Cn.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ce).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Lt)?Cn.activeIcon:Cn.inactiveIcon)))]),_:1},8,["class"])):Cn.activeText||Cn.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ce).is("text")),"aria-hidden":!unref(Lt)},toDisplayString$1(unref(Lt)?Cn.activeText:Cn.inactiveText),11,_hoisted_4$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ce).e("action"))},[Cn.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ce).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],6),!Cn.inlinePrompt&&(Cn.activeIcon||Cn.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass([unref(Ce).e("label"),unref(Ce).em("label","right"),unref(Ce).is("active",unref(Lt))])},[Cn.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Cn.activeIcon&&Cn.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Lt)},toDisplayString$1(Cn.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($){var z=""+$,ie=matchHtmlRegExp.exec(z);if(!ie)return z;var le,ue="",pe=0,_e=0;for(pe=ie.index;pe<z.length;pe++){switch(z.charCodeAt(pe)){case 34:le=""";break;case 38:le="&";break;case 39:le="'";break;case 60:le="<";break;case 62:le=">";break;default:continue}_e!==pe&&(ue+=z.substring(_e,pe)),_e=pe+1,ue+=le}return _e!==pe?ue+z.substring(_e,pe):ue}const escapeHtml$2=getDefaultExportFromCjs(escapeHtml_1),getCell=function($){var z;return(z=$.target)==null?void 0:z.closest("td")},orderBy=function($,z,ie,le,ue){if(!z&&!le&&(!ue||Array.isArray(ue)&&!ue.length))return $;typeof ie=="string"?ie=ie==="descending"?-1:1:ie=ie&&ie<0?-1:1;const pe=le?null:function(Ce,$e){return ue?(Array.isArray(ue)||(ue=[ue]),ue.map(xe=>typeof xe=="string"?get$1(Ce,xe):xe(Ce,$e,$))):(z!=="$key"&&isObject$9(Ce)&&"$value"in Ce&&(Ce=Ce.$value),[isObject$9(Ce)?get$1(Ce,z):Ce])},_e=function(Ce,$e){if(le)return le(Ce.value,$e.value);for(let xe=0,Ie=Ce.key.length;xe<Ie;xe++){if(Ce.key[xe]<$e.key[xe])return-1;if(Ce.key[xe]>$e.key[xe])return 1}return 0};return $.map((Ce,$e)=>({value:Ce,index:$e,key:pe?pe(Ce,$e):null})).sort((Ce,$e)=>{let xe=_e(Ce,$e);return xe||(xe=Ce.index-$e.index),xe*+ie}).map(Ce=>Ce.value)},getColumnById=function($,z){let ie=null;return $.columns.forEach(le=>{le.id===z&&(ie=le)}),ie},getColumnByKey=function($,z){let ie=null;for(let le=0;le<$.columns.length;le++){const ue=$.columns[le];if(ue.columnKey===z){ie=ue;break}}return ie||throwError$1("ElTable",`No column matching with column-key: ${z}`),ie},getColumnByCell=function($,z,ie){const le=(z.className||"").match(new RegExp(`${ie}-table_[^\\s]+`,"gm"));return le?getColumnById($,le[0]):null},getRowIdentity=($,z)=>{if(!$)throw new Error("Row is required when get row identity");if(typeof z=="string"){if(!z.includes("."))return`${$[z]}`;const ie=z.split(".");let le=$;for(const ue of ie)le=le[ue];return`${le}`}else if(typeof z=="function")return z.call(null,$)},getKeysMap=function($,z){const ie={};return($||[]).forEach((le,ue)=>{ie[getRowIdentity(le,z)]={row:le,index:ue}}),ie};function mergeOptions$1($,z){const ie={};let le;for(le in $)ie[le]=$[le];for(le in z)if(hasOwn$4(z,le)){const ue=z[le];typeof ue<"u"&&(ie[le]=ue)}return ie}function parseWidth($){return $===""||$!==void 0&&($=Number.parseInt($,10),Number.isNaN($)&&($="")),$}function parseMinWidth($){return $===""||$!==void 0&&($=parseWidth($),Number.isNaN($)&&($=80)),$}function parseHeight($){return typeof $=="number"?$:typeof $=="string"?/^\d+(?:px)?$/.test($)?Number.parseInt($,10):$:null}function compose(...$){return $.length===0?z=>z:$.length===1?$[0]:$.reduce((z,ie)=>(...le)=>z(ie(...le)))}function toggleRowStatus($,z,ie){let le=!1;const ue=$.indexOf(z),pe=ue!==-1,_e=Ce=>{Ce==="add"?$.push(z):$.splice(ue,1),le=!0,isArray$c(z.children)&&z.children.forEach($e=>{toggleRowStatus($,$e,ie??!pe)})};return isBoolean$3(ie)?ie&&!pe?_e("add"):!ie&&pe&&_e("remove"):_e(pe?"remove":"add"),le}function walkTreeNode($,z,ie="children",le="hasChildren"){const ue=_e=>!(Array.isArray(_e)&&_e.length);function pe(_e,Ce,$e){z(_e,Ce,$e),Ce.forEach(xe=>{if(xe[le]){z(xe,null,$e+1);return}const Ie=xe[ie];ue(Ie)||pe(xe,Ie,$e+1)})}$.forEach(_e=>{if(_e[le]){z(_e,null,0);return}const Ce=_e[ie];ue(Ce)||pe(_e,Ce,0)})}let removePopper;function createTablePopper($,z,ie,le,ue){ue=merge$4({enterable:!0,showArrow:!0},ue);const pe=$==null?void 0:$.dataset.prefix,_e=$==null?void 0:$.querySelector(`.${pe}-scrollbar__wrap`);function Ce(){const Lt=ue.effect==="light",hn=document.createElement("div");return hn.className=[`${pe}-popper`,Lt?"is-light":"is-dark",ue.popperClass||""].join(" "),ie=escapeHtml$2(ie),hn.innerHTML=ie,hn.style.zIndex=String(le()),$==null||$.appendChild(hn),hn}function $e(){const Lt=document.createElement("div");return Lt.className=`${pe}-popper__arrow`,Lt}function xe(){Ie&&Ie.update()}removePopper==null||removePopper(),removePopper=()=>{try{Ie&&Ie.destroy(),Ue&&($==null||$.removeChild(Ue)),z.removeEventListener("mouseenter",Ve),z.removeEventListener("mouseleave",ze),_e==null||_e.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let Ie=null,Ve=xe,ze=removePopper;ue.enterable&&({onOpen:Ve,onClose:ze}=useDelayedToggle({showAfter:ue.showAfter,hideAfter:ue.hideAfter,open:xe,close:removePopper}));const Ue=Ce();Ue.onmouseenter=Ve,Ue.onmouseleave=ze;const qe=[];if(ue.offset&&qe.push({name:"offset",options:{offset:[0,ue.offset]}}),ue.showArrow){const Lt=Ue.appendChild($e());qe.push({name:"arrow",options:{element:Lt,padding:10}})}const Et=ue.popperOptions||{};return Ie=yn(z,Ue,{placement:ue.placement||"top",strategy:"fixed",...Et,modifiers:Et.modifiers?qe.concat(Et.modifiers):qe}),z.addEventListener("mouseenter",Ve),z.addEventListener("mouseleave",ze),_e==null||_e.addEventListener("scroll",removePopper),Ie}function getCurrentColumns($){return $.children?flatMap($.children,getCurrentColumns):[$]}function getColSpan($,z){return $+z.colSpan}const isFixedColumn=($,z,ie,le)=>{let ue=0,pe=$;const _e=ie.states.columns.value;if(le){const $e=getCurrentColumns(le[$]);ue=_e.slice(0,_e.indexOf($e[0])).reduce(getColSpan,0),pe=ue+$e.reduce(getColSpan,0)-1}else ue=$;let Ce;switch(z){case"left":pe<ie.states.fixedLeafColumnsLength.value&&(Ce="left");break;case"right":ue>=_e.length-ie.states.rightFixedLeafColumnsLength.value&&(Ce="right");break;default:pe<ie.states.fixedLeafColumnsLength.value?Ce="left":ue>=_e.length-ie.states.rightFixedLeafColumnsLength.value&&(Ce="right")}return Ce?{direction:Ce,start:ue,after:pe}:{}},getFixedColumnsClass=($,z,ie,le,ue,pe=0)=>{const _e=[],{direction:Ce,start:$e,after:xe}=isFixedColumn(z,ie,le,ue);if(Ce){const Ie=Ce==="left";_e.push(`${$}-fixed-column--${Ce}`),Ie&&xe+pe===le.states.fixedLeafColumnsLength.value-1?_e.push("is-last-column"):!Ie&&$e-pe===le.states.columns.value.length-le.states.rightFixedLeafColumnsLength.value&&_e.push("is-first-column")}return _e};function getOffset($,z){return $+(z.realWidth===null||Number.isNaN(z.realWidth)?Number(z.width):z.realWidth)}const getFixedColumnOffset=($,z,ie,le)=>{const{direction:ue,start:pe=0,after:_e=0}=isFixedColumn($,z,ie,le);if(!ue)return;const Ce={},$e=ue==="left",xe=ie.states.columns.value;return $e?Ce.left=xe.slice(0,pe).reduce(getOffset,0):Ce.right=xe.slice(_e+1).reverse().reduce(getOffset,0),Ce},ensurePosition=($,z)=>{$&&(Number.isNaN($[z])||($[z]=`${$[z]}px`))};function useExpand($){const z=getCurrentInstance(),ie=ref(!1),le=ref([]);return{updateExpandRows:()=>{const $e=$.data.value||[],xe=$.rowKey.value;if(ie.value)le.value=$e.slice();else if(xe){const Ie=getKeysMap(le.value,xe);le.value=$e.reduce((Ve,ze)=>{const Ue=getRowIdentity(ze,xe);return Ie[Ue]&&Ve.push(ze),Ve},[])}else le.value=[]},toggleRowExpansion:($e,xe)=>{toggleRowStatus(le.value,$e,xe)&&z.emit("expand-change",$e,le.value.slice())},setExpandRowKeys:$e=>{z.store.assertRowKey();const xe=$.data.value||[],Ie=$.rowKey.value,Ve=getKeysMap(xe,Ie);le.value=$e.reduce((ze,Ue)=>{const qe=Ve[Ue];return qe&&ze.push(qe.row),ze},[])},isRowExpanded:$e=>{const xe=$.rowKey.value;return xe?!!getKeysMap(le.value,xe)[getRowIdentity($e,xe)]:le.value.includes($e)},states:{expandRows:le,defaultExpandAll:ie}}}function useCurrent($){const z=getCurrentInstance(),ie=ref(null),le=ref(null),ue=xe=>{z.store.assertRowKey(),ie.value=xe,_e(xe)},pe=()=>{ie.value=null},_e=xe=>{const{data:Ie,rowKey:Ve}=$;let ze=null;Ve.value&&(ze=(unref(Ie)||[]).find(Ue=>getRowIdentity(Ue,Ve.value)===xe)),le.value=ze,z.emit("current-change",le.value,null)};return{setCurrentRowKey:ue,restoreCurrentRowKey:pe,setCurrentRowByKey:_e,updateCurrentRow:xe=>{const Ie=le.value;if(xe&&xe!==Ie){le.value=xe,z.emit("current-change",le.value,Ie);return}!xe&&Ie&&(le.value=null,z.emit("current-change",null,Ie))},updateCurrentRowData:()=>{const xe=$.rowKey.value,Ie=$.data.value||[],Ve=le.value;if(!Ie.includes(Ve)&&Ve){if(xe){const ze=getRowIdentity(Ve,xe);_e(ze)}else le.value=null;le.value===null&&z.emit("current-change",null,Ve)}else ie.value&&(_e(ie.value),pe())},states:{_currentRowKey:ie,currentRow:le}}}function useTree$2($){const z=ref([]),ie=ref({}),le=ref(16),ue=ref(!1),pe=ref({}),_e=ref("hasChildren"),Ce=ref("children"),$e=getCurrentInstance(),xe=computed(()=>{if(!$.rowKey.value)return{};const hn=$.data.value||[];return Ve(hn)}),Ie=computed(()=>{const hn=$.rowKey.value,vn=Object.keys(pe.value),_n={};return vn.length&&vn.forEach(bn=>{if(pe.value[bn].length){const Cn={children:[]};pe.value[bn].forEach(Sn=>{const En=getRowIdentity(Sn,hn);Cn.children.push(En),Sn[_e.value]&&!_n[En]&&(_n[En]={children:[]})}),_n[bn]=Cn}}),_n}),Ve=hn=>{const vn=$.rowKey.value,_n={};return walkTreeNode(hn,(bn,Cn,Sn)=>{const En=getRowIdentity(bn,vn);Array.isArray(Cn)?_n[En]={children:Cn.map(wn=>getRowIdentity(wn,vn)),level:Sn}:ue.value&&(_n[En]={children:[],lazy:!0,level:Sn})},Ce.value,_e.value),_n},ze=(hn=!1,vn=(_n=>(_n=$e.store)==null?void 0:_n.states.defaultExpandAll.value)())=>{var _n;const bn=xe.value,Cn=Ie.value,Sn=Object.keys(bn),En={};if(Sn.length){const wn=unref(ie),Tn=[],kn=(Pn,An)=>{if(hn)return z.value?vn||z.value.includes(An):!!(vn||Pn!=null&&Pn.expanded);{const In=vn||z.value&&z.value.includes(An);return!!(Pn!=null&&Pn.expanded||In)}};Sn.forEach(Pn=>{const An=wn[Pn],In={...bn[Pn]};if(In.expanded=kn(An,Pn),In.lazy){const{loaded:Fn=!1,loading:Dn=!1}=An||{};In.loaded=!!Fn,In.loading=!!Dn,Tn.push(Pn)}En[Pn]=In});const xn=Object.keys(Cn);ue.value&&xn.length&&Tn.length&&xn.forEach(Pn=>{const An=wn[Pn],In=Cn[Pn].children;if(Tn.includes(Pn)){if(En[Pn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");En[Pn].children=In}else{const{loaded:Fn=!1,loading:Dn=!1}=An||{};En[Pn]={lazy:!0,loaded:!!Fn,loading:!!Dn,expanded:kn(An,Pn),children:In,level:""}}})}ie.value=En,(_n=$e.store)==null||_n.updateTableScrollY()};watch(()=>z.value,()=>{ze(!0)}),watch(()=>xe.value,()=>{ze()}),watch(()=>Ie.value,()=>{ze()});const Ue=hn=>{z.value=hn,ze()},qe=(hn,vn)=>{$e.store.assertRowKey();const _n=$.rowKey.value,bn=getRowIdentity(hn,_n),Cn=bn&&ie.value[bn];if(bn&&Cn&&"expanded"in Cn){const Sn=Cn.expanded;vn=typeof vn>"u"?!Cn.expanded:vn,ie.value[bn].expanded=vn,Sn!==vn&&$e.emit("expand-change",hn,vn),$e.store.updateTableScrollY()}},Et=hn=>{$e.store.assertRowKey();const vn=$.rowKey.value,_n=getRowIdentity(hn,vn),bn=ie.value[_n];ue.value&&bn&&"loaded"in bn&&!bn.loaded?Lt(hn,_n,bn):qe(hn,void 0)},Lt=(hn,vn,_n)=>{const{load:bn}=$e.props;bn&&!ie.value[vn].loaded&&(ie.value[vn].loading=!0,bn(hn,_n,Cn=>{if(!Array.isArray(Cn))throw new TypeError("[ElTable] data must be an array");ie.value[vn].loading=!1,ie.value[vn].loaded=!0,ie.value[vn].expanded=!0,Cn.length&&(pe.value[vn]=Cn),$e.emit("expand-change",hn,!0)}))};return{loadData:Lt,loadOrToggle:Et,toggleTreeExpansion:qe,updateTreeExpandKeys:Ue,updateTreeData:ze,normalize:Ve,states:{expandRowKeys:z,treeData:ie,indent:le,lazy:ue,lazyTreeNodeMap:pe,lazyColumnIdentifier:_e,childrenColumnName:Ce}}}const sortData=($,z)=>{const ie=z.sortingColumn;return!ie||typeof ie.sortable=="string"?$:orderBy($,z.sortProp,z.sortOrder,ie.sortMethod,ie.sortBy)},doFlattenColumns=$=>{const z=[];return $.forEach(ie=>{ie.children?z.push.apply(z,doFlattenColumns(ie.children)):z.push(ie)}),z};function useWatcher$1(){var $;const z=getCurrentInstance(),{size:ie}=toRefs(($=z.proxy)==null?void 0:$.$props),le=ref(null),ue=ref([]),pe=ref([]),_e=ref(!1),Ce=ref([]),$e=ref([]),xe=ref([]),Ie=ref([]),Ve=ref([]),ze=ref([]),Ue=ref([]),qe=ref([]),Et=[],Lt=ref(0),hn=ref(0),vn=ref(0),_n=ref(!1),bn=ref([]),Cn=ref(!1),Sn=ref(!1),En=ref(null),wn=ref({}),Tn=ref(null),kn=ref(null),xn=ref(null),Pn=ref(null),An=ref(null);watch(ue,()=>z.state&&On(!1),{deep:!0});const In=()=>{if(!le.value)throw new Error("[ElTable] prop row-key is required")},Fn=Tr=>{var ur;(ur=Tr.children)==null||ur.forEach(Jn=>{Jn.fixed=Tr.fixed,Fn(Jn)})},Dn=()=>{Ce.value.forEach(Sr=>{Fn(Sr)}),Ie.value=Ce.value.filter(Sr=>Sr.fixed===!0||Sr.fixed==="left"),Ve.value=Ce.value.filter(Sr=>Sr.fixed==="right"),Ie.value.length>0&&Ce.value[0]&&Ce.value[0].type==="selection"&&!Ce.value[0].fixed&&(Ce.value[0].fixed=!0,Ie.value.unshift(Ce.value[0]));const Tr=Ce.value.filter(Sr=>!Sr.fixed);$e.value=[].concat(Ie.value).concat(Tr).concat(Ve.value);const ur=doFlattenColumns(Tr),Jn=doFlattenColumns(Ie.value),ar=doFlattenColumns(Ve.value);Lt.value=ur.length,hn.value=Jn.length,vn.value=ar.length,xe.value=[].concat(Jn).concat(ur).concat(ar),_e.value=Ie.value.length>0||Ve.value.length>0},On=(Tr,ur=!1)=>{Tr&&Dn(),ur?z.state.doLayout():z.state.debouncedUpdateLayout()},Vn=Tr=>bn.value.includes(Tr),Mn=()=>{_n.value=!1,bn.value.length&&(bn.value=[],z.emit("selection-change",[]))},zn=()=>{let Tr;if(le.value){Tr=[];const ur=getKeysMap(bn.value,le.value),Jn=getKeysMap(ue.value,le.value);for(const ar in ur)hasOwn$4(ur,ar)&&!Jn[ar]&&Tr.push(ur[ar].row)}else Tr=bn.value.filter(ur=>!ue.value.includes(ur));if(Tr.length){const ur=bn.value.filter(Jn=>!Tr.includes(Jn));bn.value=ur,z.emit("selection-change",ur.slice())}},Kn=()=>(bn.value||[]).slice(),Hn=(Tr,ur=void 0,Jn=!0)=>{if(toggleRowStatus(bn.value,Tr,ur)){const Sr=(bn.value||[]).slice();Jn&&z.emit("select",Sr,Tr),z.emit("selection-change",Sr)}},Xn=()=>{var Tr,ur;const Jn=Sn.value?!_n.value:!(_n.value||bn.value.length);_n.value=Jn;let ar=!1,Sr=0;const Or=(ur=(Tr=z==null?void 0:z.store)==null?void 0:Tr.states)==null?void 0:ur.rowKey.value;ue.value.forEach((Vr,Cr)=>{const Mr=Cr+Sr;En.value?En.value.call(null,Vr,Mr)&&toggleRowStatus(bn.value,Vr,Jn)&&(ar=!0):toggleRowStatus(bn.value,Vr,Jn)&&(ar=!0),Sr+=ir(getRowIdentity(Vr,Or))}),ar&&z.emit("selection-change",bn.value?bn.value.slice():[]),z.emit("select-all",bn.value)},lr=()=>{const Tr=getKeysMap(bn.value,le.value);ue.value.forEach(ur=>{const Jn=getRowIdentity(ur,le.value),ar=Tr[Jn];ar&&(bn.value[ar.index]=ur)})},yr=()=>{var Tr,ur,Jn;if(((Tr=ue.value)==null?void 0:Tr.length)===0){_n.value=!1;return}let ar;le.value&&(ar=getKeysMap(bn.value,le.value));const Sr=function(Mr){return ar?!!ar[getRowIdentity(Mr,le.value)]:bn.value.includes(Mr)};let Or=!0,Vr=0,Cr=0;for(let Mr=0,Fr=(ue.value||[]).length;Mr<Fr;Mr++){const jr=(Jn=(ur=z==null?void 0:z.store)==null?void 0:ur.states)==null?void 0:Jn.rowKey.value,Gr=Mr+Cr,Yr=ue.value[Mr],Xr=En.value&&En.value.call(null,Yr,Gr);if(Sr(Yr))Vr++;else if(!En.value||Xr){Or=!1;break}Cr+=ir(getRowIdentity(Yr,jr))}Vr===0&&(Or=!1),_n.value=Or},ir=Tr=>{var ur;if(!z||!z.store)return 0;const{treeData:Jn}=z.store.states;let ar=0;const Sr=(ur=Jn.value[Tr])==null?void 0:ur.children;return Sr&&(ar+=Sr.length,Sr.forEach(Or=>{ar+=ir(Or)})),ar},Yn=(Tr,ur)=>{Array.isArray(Tr)||(Tr=[Tr]);const Jn={};return Tr.forEach(ar=>{wn.value[ar.id]=ur,Jn[ar.columnKey||ar.id]=ur}),Jn},Gn=(Tr,ur,Jn)=>{kn.value&&kn.value!==Tr&&(kn.value.order=null),kn.value=Tr,xn.value=ur,Pn.value=Jn},Wn=()=>{let Tr=unref(pe);Object.keys(wn.value).forEach(ur=>{const Jn=wn.value[ur];if(!Jn||Jn.length===0)return;const ar=getColumnById({columns:xe.value},ur);ar&&ar.filterMethod&&(Tr=Tr.filter(Sr=>Jn.some(Or=>ar.filterMethod.call(null,Or,Sr,ar))))}),Tn.value=Tr},Qn=()=>{ue.value=sortData(Tn.value,{sortingColumn:kn.value,sortProp:xn.value,sortOrder:Pn.value})},fr=(Tr=void 0)=>{Tr&&Tr.filter||Wn(),Qn()},jn=Tr=>{const{tableHeaderRef:ur}=z.refs;if(!ur)return;const Jn=Object.assign({},ur.filterPanels),ar=Object.keys(Jn);if(ar.length)if(typeof Tr=="string"&&(Tr=[Tr]),Array.isArray(Tr)){const Sr=Tr.map(Or=>getColumnByKey({columns:xe.value},Or));ar.forEach(Or=>{const Vr=Sr.find(Cr=>Cr.id===Or);Vr&&(Vr.filteredValue=[])}),z.store.commit("filterChange",{column:Sr,values:[],silent:!0,multi:!0})}else ar.forEach(Sr=>{const Or=xe.value.find(Vr=>Vr.id===Sr);Or&&(Or.filteredValue=[])}),wn.value={},z.store.commit("filterChange",{column:{},values:[],silent:!0})},Zn=()=>{kn.value&&(Gn(null,null,null),z.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:rr,toggleRowExpansion:mr,updateExpandRows:_r,states:or,isRowExpanded:$r}=useExpand({data:ue,rowKey:le}),{updateTreeExpandKeys:gr,toggleTreeExpansion:xr,updateTreeData:pr,loadOrToggle:sr,states:cr}=useTree$2({data:ue,rowKey:le}),{updateCurrentRowData:hr,updateCurrentRow:Pr,setCurrentRowKey:Dr,states:Lr}=useCurrent({data:ue,rowKey:le});return{assertRowKey:In,updateColumns:Dn,scheduleLayout:On,isSelected:Vn,clearSelection:Mn,cleanSelection:zn,getSelectionRows:Kn,toggleRowSelection:Hn,_toggleAllSelection:Xn,toggleAllSelection:null,updateSelectionByRowKey:lr,updateAllSelected:yr,updateFilters:Yn,updateCurrentRow:Pr,updateSort:Gn,execFilter:Wn,execSort:Qn,execQuery:fr,clearFilter:jn,clearSort:Zn,toggleRowExpansion:mr,setExpandRowKeysAdapter:Tr=>{rr(Tr),gr(Tr)},setCurrentRowKey:Dr,toggleRowExpansionAdapter:(Tr,ur)=>{xe.value.some(({type:ar})=>ar==="expand")?mr(Tr,ur):xr(Tr,ur)},isRowExpanded:$r,updateExpandRows:_r,updateCurrentRowData:hr,loadOrToggle:sr,updateTreeData:pr,states:{tableSize:ie,rowKey:le,data:ue,_data:pe,isComplex:_e,_columns:Ce,originColumns:$e,columns:xe,fixedColumns:Ie,rightFixedColumns:Ve,leafColumns:ze,fixedLeafColumns:Ue,rightFixedLeafColumns:qe,updateOrderFns:Et,leafColumnsLength:Lt,fixedLeafColumnsLength:hn,rightFixedLeafColumnsLength:vn,isAllSelected:_n,selection:bn,reserveSelection:Cn,selectOnIndeterminate:Sn,selectable:En,filters:wn,filteredData:Tn,sortingColumn:kn,sortProp:xn,sortOrder:Pn,hoverRow:An,...or,...cr,...Lr}}}function replaceColumn($,z){return $.map(ie=>{var le;return ie.id===z.id?z:((le=ie.children)!=null&&le.length&&(ie.children=replaceColumn(ie.children,z)),ie)})}function sortColumn($){$.forEach(z=>{var ie,le;z.no=(ie=z.getColumnIndex)==null?void 0:ie.call(z),(le=z.children)!=null&&le.length&&sortColumn(z.children)}),$.sort((z,ie)=>z.no-ie.no)}function useStore(){const $=getCurrentInstance(),z=useWatcher$1();return{ns:useNamespace("table"),...z,mutations:{setData(_e,Ce){const $e=unref(_e._data)!==Ce;_e.data.value=Ce,_e._data.value=Ce,$.store.execQuery(),$.store.updateCurrentRowData(),$.store.updateExpandRows(),$.store.updateTreeData($.store.states.defaultExpandAll.value),unref(_e.reserveSelection)?($.store.assertRowKey(),$.store.updateSelectionByRowKey()):$e?$.store.clearSelection():$.store.cleanSelection(),$.store.updateAllSelected(),$.$ready&&$.store.scheduleLayout()},insertColumn(_e,Ce,$e,xe){const Ie=unref(_e._columns);let Ve=[];$e?($e&&!$e.children&&($e.children=[]),$e.children.push(Ce),Ve=replaceColumn(Ie,$e)):(Ie.push(Ce),Ve=Ie),sortColumn(Ve),_e._columns.value=Ve,_e.updateOrderFns.push(xe),Ce.type==="selection"&&(_e.selectable.value=Ce.selectable,_e.reserveSelection.value=Ce.reserveSelection),$.$ready&&($.store.updateColumns(),$.store.scheduleLayout())},updateColumnOrder(_e,Ce){var $e;(($e=Ce.getColumnIndex)==null?void 0:$e.call(Ce))!==Ce.no&&(sortColumn(_e._columns.value),$.$ready&&$.store.updateColumns())},removeColumn(_e,Ce,$e,xe){const Ie=unref(_e._columns)||[];if($e)$e.children.splice($e.children.findIndex(ze=>ze.id===Ce.id),1),nextTick(()=>{var ze;((ze=$e.children)==null?void 0:ze.length)===0&&delete $e.children}),_e._columns.value=replaceColumn(Ie,$e);else{const ze=Ie.indexOf(Ce);ze>-1&&(Ie.splice(ze,1),_e._columns.value=Ie)}const Ve=_e.updateOrderFns.indexOf(xe);Ve>-1&&_e.updateOrderFns.splice(Ve,1),$.$ready&&($.store.updateColumns(),$.store.scheduleLayout())},sort(_e,Ce){const{prop:$e,order:xe,init:Ie}=Ce;if($e){const Ve=unref(_e.columns).find(ze=>ze.property===$e);Ve&&(Ve.order=xe,$.store.updateSort(Ve,$e,xe),$.store.commit("changeSortCondition",{init:Ie}))}},changeSortCondition(_e,Ce){const{sortingColumn:$e,sortProp:xe,sortOrder:Ie}=_e,Ve=unref($e),ze=unref(xe),Ue=unref(Ie);Ue===null&&(_e.sortingColumn.value=null,_e.sortProp.value=null);const qe={filter:!0};$.store.execQuery(qe),(!Ce||!(Ce.silent||Ce.init))&&$.emit("sort-change",{column:Ve,prop:ze,order:Ue}),$.store.updateTableScrollY()},filterChange(_e,Ce){const{column:$e,values:xe,silent:Ie}=Ce,Ve=$.store.updateFilters($e,xe);$.store.execQuery(),Ie||$.emit("filter-change",Ve),$.store.updateTableScrollY()},toggleAllSelection(){$.store.toggleAllSelection()},rowSelectedChanged(_e,Ce){$.store.toggleRowSelection(Ce),$.store.updateAllSelected()},setHoverRow(_e,Ce){_e.hoverRow.value=Ce},setCurrentRow(_e,Ce){$.store.updateCurrentRow(Ce)}},commit:function(_e,...Ce){const $e=$.store.mutations;if($e[_e])$e[_e].apply($,[$.store.states].concat(Ce));else throw new Error(`Action not found: ${_e}`)},updateTableScrollY:function(){nextTick(()=>$.layout.updateScrollY.apply($.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($,z){if(!$)throw new Error("Table is required.");const ie=useStore();return ie.toggleAllSelection=debounce(ie._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(le=>{handleValue(getArrKeysValue(z,le),le,ie)}),proxyTableProps(ie,z),ie}function proxyTableProps($,z){Object.keys(InitialStateMap).forEach(ie=>{watch(()=>getArrKeysValue(z,ie),le=>{handleValue(le,ie,$)})})}function handleValue($,z,ie){let le=$,ue=InitialStateMap[z];typeof InitialStateMap[z]=="object"&&(ue=ue.key,le=le||InitialStateMap[z].default),ie.states[ue].value=le}function getArrKeysValue($,z){if(z.includes(".")){const ie=z.split(".");let le=$;return ie.forEach(ue=>{le=le[ue]}),le}else return $[z]}class TableLayout{constructor(z){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 ie in z)hasOwn$4(z,ie)&&(isRef(this[ie])?this[ie].value=z[ie]:this[ie]=z[ie]);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 ie=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(ie!=null&&ie.wrapRef)){let le=!0;const ue=this.scrollY.value;return le=ie.wrapRef.scrollHeight>ie.wrapRef.clientHeight,this.scrollY.value=le,ue!==le}return!1}setHeight(z,ie="height"){if(!isClient$1)return;const le=this.table.vnode.el;if(z=parseHeight(z),this.height.value=Number(z),!le&&(z||z===0))return nextTick(()=>this.setHeight(z,ie));typeof z=="number"?(le.style[ie]=`${z}px`,this.updateElsHeight()):typeof z=="string"&&(le.style[ie]=z,this.updateElsHeight())}setMaxHeight(z){this.setHeight(z,"max-height")}getFlattenColumns(){const z=[];return this.table.store.states.columns.value.forEach(le=>{le.isColumnGroup?z.push.apply(z,le.columns):z.push(le)}),z}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(z){if(!z)return!0;let ie=z;for(;ie.tagName!=="DIV";){if(getComputedStyle(ie).display==="none")return!0;ie=ie.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const z=this.fit,ie=this.table.vnode.el.clientWidth;let le=0;const ue=this.getFlattenColumns(),pe=ue.filter($e=>typeof $e.width!="number");if(ue.forEach($e=>{typeof $e.width=="number"&&$e.realWidth&&($e.realWidth=null)}),pe.length>0&&z){if(ue.forEach($e=>{le+=Number($e.width||$e.minWidth||80)}),le<=ie){this.scrollX.value=!1;const $e=ie-le;if(pe.length===1)pe[0].realWidth=Number(pe[0].minWidth||80)+$e;else{const xe=pe.reduce((ze,Ue)=>ze+Number(Ue.minWidth||80),0),Ie=$e/xe;let Ve=0;pe.forEach((ze,Ue)=>{if(Ue===0)return;const qe=Math.floor(Number(ze.minWidth||80)*Ie);Ve+=qe,ze.realWidth=Number(ze.minWidth||80)+qe}),pe[0].realWidth=Number(pe[0].minWidth||80)+$e-Ve}}else this.scrollX.value=!0,pe.forEach($e=>{$e.realWidth=Number($e.minWidth)});this.bodyWidth.value=Math.max(le,ie),this.table.state.resizeState.value.width=this.bodyWidth.value}else ue.forEach($e=>{!$e.width&&!$e.minWidth?$e.realWidth=80:$e.realWidth=Number($e.width||$e.minWidth),le+=$e.realWidth}),this.scrollX.value=le>ie,this.bodyWidth.value=le;const _e=this.store.states.fixedColumns.value;if(_e.length>0){let $e=0;_e.forEach(xe=>{$e+=Number(xe.realWidth||xe.width)}),this.fixedWidth.value=$e}const Ce=this.store.states.rightFixedColumns.value;if(Ce.length>0){let $e=0;Ce.forEach(xe=>{$e+=Number(xe.realWidth||xe.width)}),this.rightFixedWidth.value=$e}this.notifyObservers("columns")}addObserver(z){this.observers.push(z)}removeObserver(z){const ie=this.observers.indexOf(z);ie!==-1&&this.observers.splice(ie,1)}notifyObservers(z){this.observers.forEach(le=>{var ue,pe;switch(z){case"columns":(ue=le.state)==null||ue.onColumnsChange(this);break;case"scrollable":(pe=le.state)==null||pe.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${z}.`)}})}}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($){const z=getCurrentInstance(),{t:ie}=useLocale(),le=useNamespace("table-filter"),ue=z==null?void 0:z.parent;ue.filterPanels.value[$.column.id]||(ue.filterPanels.value[$.column.id]=z);const pe=ref(!1),_e=ref(null),Ce=computed(()=>$.column&&$.column.filters),$e=computed({get:()=>{var bn;return(((bn=$.column)==null?void 0:bn.filteredValue)||[])[0]},set:bn=>{xe.value&&(typeof bn<"u"&&bn!==null?xe.value.splice(0,1,bn):xe.value.splice(0,1))}}),xe=computed({get(){return $.column?$.column.filteredValue||[]:[]},set(bn){$.column&&$.upDataColumn("filteredValue",bn)}}),Ie=computed(()=>$.column?$.column.filterMultiple:!0),Ve=bn=>bn.value===$e.value,ze=()=>{pe.value=!1},Ue=bn=>{bn.stopPropagation(),pe.value=!pe.value},qe=()=>{pe.value=!1},Et=()=>{vn(xe.value),ze()},Lt=()=>{xe.value=[],vn(xe.value),ze()},hn=bn=>{$e.value=bn,vn(typeof bn<"u"&&bn!==null?xe.value:[]),ze()},vn=bn=>{$.store.commit("filterChange",{column:$.column,values:bn}),$.store.updateAllSelected()};watch(pe,bn=>{$.column&&$.upDataColumn("filterOpened",bn)},{immediate:!0});const _n=computed(()=>{var bn,Cn;return(Cn=(bn=_e.value)==null?void 0:bn.popperRef)==null?void 0:Cn.contentRef});return{tooltipVisible:pe,multiple:Ie,filteredValue:xe,filterValue:$e,filters:Ce,handleConfirm:Et,handleReset:Lt,handleSelect:hn,isActive:Ve,t:ie,ns:le,showFilterPanel:Ue,hideFilterPanel:qe,popperPaneRef:_n,tooltip:_e}}}),_hoisted_1$e={key:0},_hoisted_2$a=["disabled"],_hoisted_3$5=["label","onClick"];function _sfc_render$5($,z,ie,le,ue,pe){const _e=resolveComponent("el-checkbox"),Ce=resolveComponent("el-checkbox-group"),$e=resolveComponent("el-scrollbar"),xe=resolveComponent("arrow-up"),Ie=resolveComponent("arrow-down"),Ve=resolveComponent("el-icon"),ze=resolveComponent("el-tooltip"),Ue=resolveDirective("click-outside");return openBlock(),createBlock(ze,{ref:"tooltip",visible:$.tooltipVisible,offset:0,placement:$.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":$.ns.b(),persistent:""},{content:withCtx(()=>[$.multiple?(openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("div",{class:normalizeClass($.ns.e("content"))},[createVNode($e,{"wrap-class":$.ns.e("wrap")},{default:withCtx(()=>[createVNode(Ce,{modelValue:$.filteredValue,"onUpdate:modelValue":z[0]||(z[0]=qe=>$.filteredValue=qe),class:normalizeClass($.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList($.filters,qe=>(openBlock(),createBlock(_e,{key:qe.value,label:qe.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1(qe.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass($.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[$.ns.is("disabled")]:$.filteredValue.length===0}),disabled:$.filteredValue.length===0,type:"button",onClick:z[1]||(z[1]=(...qe)=>$.handleConfirm&&$.handleConfirm(...qe))},toDisplayString$1($.t("el.table.confirmFilter")),11,_hoisted_2$a),createBaseVNode("button",{type:"button",onClick:z[2]||(z[2]=(...qe)=>$.handleReset&&$.handleReset(...qe))},toDisplayString$1($.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass($.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([$.ns.e("list-item"),{[$.ns.is("active")]:$.filterValue===void 0||$.filterValue===null}]),onClick:z[3]||(z[3]=qe=>$.handleSelect(null))},toDisplayString$1($.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList($.filters,qe=>(openBlock(),createElementBlock("li",{key:qe.value,class:normalizeClass([$.ns.e("list-item"),$.ns.is("active",$.isActive(qe))]),label:qe.value,onClick:Et=>$.handleSelect(qe.value)},toDisplayString$1(qe.text),11,_hoisted_3$5))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${$.ns.namespace.value}-table__column-filter-trigger`,`${$.ns.namespace.value}-none-outline`]),onClick:z[4]||(z[4]=(...qe)=>$.showFilterPanel&&$.showFilterPanel(...qe))},[createVNode(Ve,null,{default:withCtx(()=>[$.column.filterOpened?(openBlock(),createBlock(xe,{key:0})):(openBlock(),createBlock(Ie,{key:1}))]),_:1})],2)),[[Ue,$.hideFilterPanel,$.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($){const z=getCurrentInstance();onBeforeMount(()=>{ie.value.addObserver(z)}),onMounted(()=>{le(ie.value),ue(ie.value)}),onUpdated(()=>{le(ie.value),ue(ie.value)}),onUnmounted(()=>{ie.value.removeObserver(z)});const ie=computed(()=>{const pe=$.layout;if(!pe)throw new Error("Can not find table layout.");return pe}),le=pe=>{var _e;const Ce=((_e=$.vnode.el)==null?void 0:_e.querySelectorAll("colgroup > col"))||[];if(!Ce.length)return;const $e=pe.getFlattenColumns(),xe={};$e.forEach(Ie=>{xe[Ie.id]=Ie});for(let Ie=0,Ve=Ce.length;Ie<Ve;Ie++){const ze=Ce[Ie],Ue=ze.getAttribute("name"),qe=xe[Ue];qe&&ze.setAttribute("width",qe.realWidth||qe.width)}},ue=pe=>{var _e,Ce;const $e=((_e=$.vnode.el)==null?void 0:_e.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let Ie=0,Ve=$e.length;Ie<Ve;Ie++)$e[Ie].setAttribute("width",pe.scrollY.value?pe.gutterWidth:"0");const xe=((Ce=$.vnode.el)==null?void 0:Ce.querySelectorAll("th.gutter"))||[];for(let Ie=0,Ve=xe.length;Ie<Ve;Ie++){const ze=xe[Ie];ze.style.width=pe.scrollY.value?`${pe.gutterWidth}px`:"0",ze.style.display=pe.scrollY.value?"":"none"}};return{tableLayout:ie.value,onColumnsChange:le,onScrollableChange:ue}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent($,z){const ie=getCurrentInstance(),le=inject(TABLE_INJECTION_KEY),ue=Et=>{Et.stopPropagation()},pe=(Et,Lt)=>{!Lt.filters&&Lt.sortable?qe(Et,Lt,!1):Lt.filterable&&!Lt.sortable&&ue(Et),le==null||le.emit("header-click",Lt,Et)},_e=(Et,Lt)=>{le==null||le.emit("header-contextmenu",Lt,Et)},Ce=ref(null),$e=ref(!1),xe=ref({}),Ie=(Et,Lt)=>{if(isClient$1&&!(Lt.children&&Lt.children.length>0)&&Ce.value&&$.border){$e.value=!0;const hn=le;z("set-drag-visible",!0);const _n=(hn==null?void 0:hn.vnode.el).getBoundingClientRect().left,bn=ie.vnode.el.querySelector(`th.${Lt.id}`),Cn=bn.getBoundingClientRect(),Sn=Cn.left-_n+30;addClass(bn,"noclick"),xe.value={startMouseLeft:Et.clientX,startLeft:Cn.right-_n,startColumnLeft:Cn.left-_n,tableLeft:_n};const En=hn==null?void 0:hn.refs.resizeProxy;En.style.left=`${xe.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const wn=kn=>{const xn=kn.clientX-xe.value.startMouseLeft,Pn=xe.value.startLeft+xn;En.style.left=`${Math.max(Sn,Pn)}px`},Tn=()=>{if($e.value){const{startColumnLeft:kn,startLeft:xn}=xe.value,An=Number.parseInt(En.style.left,10)-kn;Lt.width=Lt.realWidth=An,hn==null||hn.emit("header-dragend",Lt.width,xn-kn,Lt,Et),requestAnimationFrame(()=>{$.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",$e.value=!1,Ce.value=null,xe.value={},z("set-drag-visible",!1)}document.removeEventListener("mousemove",wn),document.removeEventListener("mouseup",Tn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(bn,"noclick")},0)};document.addEventListener("mousemove",wn),document.addEventListener("mouseup",Tn)}},Ve=(Et,Lt)=>{if(Lt.children&&Lt.children.length>0)return;const hn=Et.target;if(!isElement$2(hn))return;const vn=hn==null?void 0:hn.closest("th");if(!(!Lt||!Lt.resizable)&&!$e.value&&$.border){const _n=vn.getBoundingClientRect(),bn=document.body.style;_n.width>12&&_n.right-Et.pageX<8?(bn.cursor="col-resize",hasClass(vn,"is-sortable")&&(vn.style.cursor="col-resize"),Ce.value=Lt):$e.value||(bn.cursor="",hasClass(vn,"is-sortable")&&(vn.style.cursor="pointer"),Ce.value=null)}},ze=()=>{isClient$1&&(document.body.style.cursor="")},Ue=({order:Et,sortOrders:Lt})=>{if(Et==="")return Lt[0];const hn=Lt.indexOf(Et||null);return Lt[hn>Lt.length-2?0:hn+1]},qe=(Et,Lt,hn)=>{var vn;Et.stopPropagation();const _n=Lt.order===hn?null:hn||Ue(Lt),bn=(vn=Et.target)==null?void 0:vn.closest("th");if(bn&&hasClass(bn,"noclick")){removeClass(bn,"noclick");return}if(!Lt.sortable)return;const Cn=$.store.states;let Sn=Cn.sortProp.value,En;const wn=Cn.sortingColumn.value;(wn!==Lt||wn===Lt&&wn.order===null)&&(wn&&(wn.order=null),Cn.sortingColumn.value=Lt,Sn=Lt.property),_n?En=Lt.order=_n:En=Lt.order=null,Cn.sortProp.value=Sn,Cn.sortOrder.value=En,le==null||le.store.commit("changeSortCondition")};return{handleHeaderClick:pe,handleHeaderContextMenu:_e,handleMouseDown:Ie,handleMouseMove:Ve,handleMouseOut:ze,handleSortClick:qe,handleFilterClick:ue}}function useStyle$2($){const z=inject(TABLE_INJECTION_KEY),ie=useNamespace("table");return{getHeaderRowStyle:Ce=>{const $e=z==null?void 0:z.props.headerRowStyle;return typeof $e=="function"?$e.call(null,{rowIndex:Ce}):$e},getHeaderRowClass:Ce=>{const $e=[],xe=z==null?void 0:z.props.headerRowClassName;return typeof xe=="string"?$e.push(xe):typeof xe=="function"&&$e.push(xe.call(null,{rowIndex:Ce})),$e.join(" ")},getHeaderCellStyle:(Ce,$e,xe,Ie)=>{var Ve;let ze=(Ve=z==null?void 0:z.props.headerCellStyle)!=null?Ve:{};typeof ze=="function"&&(ze=ze.call(null,{rowIndex:Ce,columnIndex:$e,row:xe,column:Ie}));const Ue=getFixedColumnOffset($e,Ie.fixed,$.store,xe);return ensurePosition(Ue,"left"),ensurePosition(Ue,"right"),Object.assign({},ze,Ue)},getHeaderCellClass:(Ce,$e,xe,Ie)=>{const Ve=getFixedColumnsClass(ie.b(),$e,Ie.fixed,$.store,xe),ze=[Ie.id,Ie.order,Ie.headerAlign,Ie.className,Ie.labelClassName,...Ve];Ie.children||ze.push("is-leaf"),Ie.sortable&&ze.push("is-sortable");const Ue=z==null?void 0:z.props.headerCellClassName;return typeof Ue=="string"?ze.push(Ue):typeof Ue=="function"&&ze.push(Ue.call(null,{rowIndex:Ce,columnIndex:$e,row:xe,column:Ie})),ze.push(ie.e("cell")),ze.filter(qe=>!!qe).join(" ")}}}const getAllColumns=$=>{const z=[];return $.forEach(ie=>{ie.children?(z.push(ie),z.push.apply(z,getAllColumns(ie.children))):z.push(ie)}),z},convertToRows=$=>{let z=1;const ie=(pe,_e)=>{if(_e&&(pe.level=_e.level+1,z<pe.level&&(z=pe.level)),pe.children){let Ce=0;pe.children.forEach($e=>{ie($e,pe),Ce+=$e.colSpan}),pe.colSpan=Ce}else pe.colSpan=1};$.forEach(pe=>{pe.level=1,ie(pe,void 0)});const le=[];for(let pe=0;pe<z;pe++)le.push([]);return getAllColumns($).forEach(pe=>{pe.children?(pe.rowSpan=1,pe.children.forEach(_e=>_e.isSubColumn=!0)):pe.rowSpan=z-pe.level+1,le[pe.level-1].push(pe)}),le};function useUtils$1($){const z=inject(TABLE_INJECTION_KEY),ie=computed(()=>convertToRows($.store.states.originColumns.value));return{isGroup:computed(()=>{const pe=ie.value.length>1;return pe&&z&&(z.state.isGroup.value=!0),pe}),toggleAllSelection:pe=>{pe.stopPropagation(),z==null||z.store.commit("toggleAllSelection")},columnRows:ie}}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($,{emit:z}){const ie=getCurrentInstance(),le=inject(TABLE_INJECTION_KEY),ue=useNamespace("table"),pe=ref({}),{onColumnsChange:_e,onScrollableChange:Ce}=useLayoutObserver(le);onMounted(async()=>{await nextTick(),await nextTick();const{prop:Sn,order:En}=$.defaultSort;le==null||le.store.commit("sort",{prop:Sn,order:En,init:!0})});const{handleHeaderClick:$e,handleHeaderContextMenu:xe,handleMouseDown:Ie,handleMouseMove:Ve,handleMouseOut:ze,handleSortClick:Ue,handleFilterClick:qe}=useEvent($,z),{getHeaderRowStyle:Et,getHeaderRowClass:Lt,getHeaderCellStyle:hn,getHeaderCellClass:vn}=useStyle$2($),{isGroup:_n,toggleAllSelection:bn,columnRows:Cn}=useUtils$1($);return ie.state={onColumnsChange:_e,onScrollableChange:Ce},ie.filterPanels=pe,{ns:ue,filterPanels:pe,onColumnsChange:_e,onScrollableChange:Ce,columnRows:Cn,getHeaderRowClass:Lt,getHeaderRowStyle:Et,getHeaderCellClass:vn,getHeaderCellStyle:hn,handleHeaderClick:$e,handleHeaderContextMenu:xe,handleMouseDown:Ie,handleMouseMove:Ve,handleMouseOut:ze,handleSortClick:Ue,handleFilterClick:qe,isGroup:_n,toggleAllSelection:bn}},render(){const{ns:$,isGroup:z,columnRows:ie,getHeaderCellStyle:le,getHeaderCellClass:ue,getHeaderRowClass:pe,getHeaderRowStyle:_e,handleHeaderClick:Ce,handleHeaderContextMenu:$e,handleMouseDown:xe,handleMouseMove:Ie,handleSortClick:Ve,handleMouseOut:ze,store:Ue,$parent:qe}=this;let Et=1;return h$3("thead",{class:{[$.is("group")]:z}},ie.map((Lt,hn)=>h$3("tr",{class:pe(hn),key:hn,style:_e(hn)},Lt.map((vn,_n)=>(vn.rowSpan>Et&&(Et=vn.rowSpan),h$3("th",{class:ue(hn,_n,Lt,vn),colspan:vn.colSpan,key:`${vn.id}-thead`,rowspan:vn.rowSpan,style:le(hn,_n,Lt,vn),onClick:bn=>Ce(bn,vn),onContextmenu:bn=>$e(bn,vn),onMousedown:bn=>xe(bn,vn),onMousemove:bn=>Ie(bn,vn),onMouseout:ze},[h$3("div",{class:["cell",vn.filteredValue&&vn.filteredValue.length>0?"highlight":""]},[vn.renderHeader?vn.renderHeader({column:vn,$index:_n,store:Ue,_self:qe}):vn.label,vn.sortable&&h$3("span",{onClick:bn=>Ve(bn,vn),class:"caret-wrapper"},[h$3("i",{onClick:bn=>Ve(bn,vn,"ascending"),class:"sort-caret ascending"}),h$3("i",{onClick:bn=>Ve(bn,vn,"descending"),class:"sort-caret descending"})]),vn.filterable&&h$3(FilterPanel,{store:Ue,placement:vn.filterPlacement||"bottom-start",column:vn,upDataColumn:(bn,Cn)=>{vn[bn]=Cn}})])]))))))}});function useEvents($){const z=inject(TABLE_INJECTION_KEY),ie=ref(""),le=ref(h$3("div")),{nextZIndex:ue}=useZIndex(),pe=(Ue,qe,Et)=>{var Lt;const hn=z,vn=getCell(Ue);let _n;const bn=(Lt=hn==null?void 0:hn.vnode.el)==null?void 0:Lt.dataset.prefix;vn&&(_n=getColumnByCell({columns:$.store.states.columns.value},vn,bn),_n&&(hn==null||hn.emit(`cell-${Et}`,qe,_n,vn,Ue))),hn==null||hn.emit(`row-${Et}`,qe,_n,Ue)},_e=(Ue,qe)=>{pe(Ue,qe,"dblclick")},Ce=(Ue,qe)=>{$.store.commit("setCurrentRow",qe),pe(Ue,qe,"click")},$e=(Ue,qe)=>{pe(Ue,qe,"contextmenu")},xe=debounce(Ue=>{$.store.commit("setHoverRow",Ue)},30),Ie=debounce(()=>{$.store.commit("setHoverRow",null)},30);return{handleDoubleClick:_e,handleClick:Ce,handleContextMenu:$e,handleMouseEnter:xe,handleMouseLeave:Ie,handleCellMouseEnter:(Ue,qe,Et)=>{var Lt;const hn=z,vn=getCell(Ue),_n=(Lt=hn==null?void 0:hn.vnode.el)==null?void 0:Lt.dataset.prefix;if(vn){const wn=getColumnByCell({columns:$.store.states.columns.value},vn,_n),Tn=hn.hoverState={cell:vn,column:wn,row:qe};hn==null||hn.emit("cell-mouse-enter",Tn.row,Tn.column,Tn.cell,Ue)}if(!Et)return;const bn=Ue.target.querySelector(".cell");if(!(hasClass(bn,`${_n}-tooltip`)&&bn.childNodes.length))return;const Cn=document.createRange();Cn.setStart(bn,0),Cn.setEnd(bn,bn.childNodes.length);const Sn=Math.round(Cn.getBoundingClientRect().width),En=(Number.parseInt(getStyle$1(bn,"paddingLeft"),10)||0)+(Number.parseInt(getStyle$1(bn,"paddingRight"),10)||0);(Sn+En>bn.offsetWidth||bn.scrollWidth>bn.offsetWidth)&&createTablePopper(z==null?void 0:z.refs.tableWrapper,vn,vn.innerText||vn.textContent,ue,Et)},handleCellMouseLeave:Ue=>{if(!getCell(Ue))return;const Et=z==null?void 0:z.hoverState;z==null||z.emit("cell-mouse-leave",Et==null?void 0:Et.row,Et==null?void 0:Et.column,Et==null?void 0:Et.cell,Ue)},tooltipContent:ie,tooltipTrigger:le}}function useStyles$1($){const z=inject(TABLE_INJECTION_KEY),ie=useNamespace("table");return{getRowStyle:(xe,Ie)=>{const Ve=z==null?void 0:z.props.rowStyle;return typeof Ve=="function"?Ve.call(null,{row:xe,rowIndex:Ie}):Ve||null},getRowClass:(xe,Ie)=>{const Ve=[ie.e("row")];z!=null&&z.props.highlightCurrentRow&&xe===$.store.states.currentRow.value&&Ve.push("current-row"),$.stripe&&Ie%2===1&&Ve.push(ie.em("row","striped"));const ze=z==null?void 0:z.props.rowClassName;return typeof ze=="string"?Ve.push(ze):typeof ze=="function"&&Ve.push(ze.call(null,{row:xe,rowIndex:Ie})),Ve},getCellStyle:(xe,Ie,Ve,ze)=>{const Ue=z==null?void 0:z.props.cellStyle;let qe=Ue??{};typeof Ue=="function"&&(qe=Ue.call(null,{rowIndex:xe,columnIndex:Ie,row:Ve,column:ze}));const Et=getFixedColumnOffset(Ie,$==null?void 0:$.fixed,$.store);return ensurePosition(Et,"left"),ensurePosition(Et,"right"),Object.assign({},qe,Et)},getCellClass:(xe,Ie,Ve,ze,Ue)=>{const qe=getFixedColumnsClass(ie.b(),Ie,$==null?void 0:$.fixed,$.store,void 0,Ue),Et=[ze.id,ze.align,ze.className,...qe],Lt=z==null?void 0:z.props.cellClassName;return typeof Lt=="string"?Et.push(Lt):typeof Lt=="function"&&Et.push(Lt.call(null,{rowIndex:xe,columnIndex:Ie,row:Ve,column:ze})),Et.push(ie.e("cell")),Et.filter(hn=>!!hn).join(" ")},getSpan:(xe,Ie,Ve,ze)=>{let Ue=1,qe=1;const Et=z==null?void 0:z.props.spanMethod;if(typeof Et=="function"){const Lt=Et({row:xe,column:Ie,rowIndex:Ve,columnIndex:ze});Array.isArray(Lt)?(Ue=Lt[0],qe=Lt[1]):typeof Lt=="object"&&(Ue=Lt.rowspan,qe=Lt.colspan)}return{rowspan:Ue,colspan:qe}},getColspanRealWidth:(xe,Ie,Ve)=>{if(Ie<1)return xe[Ve].realWidth;const ze=xe.map(({realWidth:Ue,width:qe})=>Ue||qe).slice(Ve,Ve+Ie);return Number(ze.reduce((Ue,qe)=>Number(Ue)+Number(qe),-1))}}}function useRender$1($){const z=inject(TABLE_INJECTION_KEY),ie=useNamespace("table"),{handleDoubleClick:le,handleClick:ue,handleContextMenu:pe,handleMouseEnter:_e,handleMouseLeave:Ce,handleCellMouseEnter:$e,handleCellMouseLeave:xe,tooltipContent:Ie,tooltipTrigger:Ve}=useEvents($),{getRowStyle:ze,getRowClass:Ue,getCellStyle:qe,getCellClass:Et,getSpan:Lt,getColspanRealWidth:hn}=useStyles$1($),vn=computed(()=>$.store.states.columns.value.findIndex(({type:En})=>En==="default")),_n=(En,wn)=>{const Tn=z.props.rowKey;return Tn?getRowIdentity(En,Tn):wn},bn=(En,wn,Tn,kn=!1)=>{const{tooltipEffect:xn,tooltipOptions:Pn,store:An}=$,{indent:In,columns:Fn}=An.states,Dn=Ue(En,wn);let On=!0;return Tn&&(Dn.push(ie.em("row",`level-${Tn.level}`)),On=Tn.display),h$3("tr",{style:[On?null:{display:"none"},ze(En,wn)],class:Dn,key:_n(En,wn),onDblclick:Mn=>le(Mn,En),onClick:Mn=>ue(Mn,En),onContextmenu:Mn=>pe(Mn,En),onMouseenter:()=>_e(wn),onMouseleave:Ce},Fn.value.map((Mn,zn)=>{const{rowspan:Kn,colspan:Hn}=Lt(En,Mn,wn,zn);if(!Kn||!Hn)return null;const Xn={...Mn};Xn.realWidth=hn(Fn.value,Hn,zn);const lr={store:$.store,_self:$.context||z,column:Xn,row:En,$index:wn,cellIndex:zn,expanded:kn};zn===vn.value&&Tn&&(lr.treeNode={indent:Tn.level*In.value,level:Tn.level},typeof Tn.expanded=="boolean"&&(lr.treeNode.expanded=Tn.expanded,"loading"in Tn&&(lr.treeNode.loading=Tn.loading),"noLazyChildren"in Tn&&(lr.treeNode.noLazyChildren=Tn.noLazyChildren)));const yr=`${wn},${zn}`,ir=Xn.columnKey||Xn.rawColumnKey||"",Yn=Cn(zn,Mn,lr),Gn=Mn.showOverflowTooltip&&merge$4({effect:xn},Pn,Mn.showOverflowTooltip);return h$3("td",{style:qe(wn,zn,En,Mn),class:Et(wn,zn,En,Mn,Hn-1),key:`${ir}${yr}`,rowspan:Kn,colspan:Hn,onMouseenter:Wn=>$e(Wn,En,Gn),onMouseleave:xe},[Yn])}))},Cn=(En,wn,Tn)=>wn.renderCell(Tn);return{wrappedRowRender:(En,wn)=>{const Tn=$.store,{isRowExpanded:kn,assertRowKey:xn}=Tn,{treeData:Pn,lazyTreeNodeMap:An,childrenColumnName:In,rowKey:Fn}=Tn.states,Dn=Tn.states.columns.value;if(Dn.some(({type:Vn})=>Vn==="expand")){const Vn=kn(En),Mn=bn(En,wn,void 0,Vn),zn=z.renderExpanded;return Vn?zn?[[Mn,h$3("tr",{key:`expanded-row__${Mn.key}`},[h$3("td",{colspan:Dn.length,class:`${ie.e("cell")} ${ie.e("expanded-cell")}`},[zn({row:En,$index:wn,store:Tn,expanded:Vn})])])]]:(console.error("[Element Error]renderExpanded is required."),Mn):[[Mn]]}else if(Object.keys(Pn.value).length){xn();const Vn=getRowIdentity(En,Fn.value);let Mn=Pn.value[Vn],zn=null;Mn&&(zn={expanded:Mn.expanded,level:Mn.level,display:!0},typeof Mn.lazy=="boolean"&&(typeof Mn.loaded=="boolean"&&Mn.loaded&&(zn.noLazyChildren=!(Mn.children&&Mn.children.length)),zn.loading=Mn.loading));const Kn=[bn(En,wn,zn)];if(Mn){let Hn=0;const Xn=(yr,ir)=>{yr&&yr.length&&ir&&yr.forEach(Yn=>{const Gn={display:ir.display&&ir.expanded,level:ir.level+1,expanded:!1,noLazyChildren:!1,loading:!1},Wn=getRowIdentity(Yn,Fn.value);if(Wn==null)throw new Error("For nested data item, row-key is required.");if(Mn={...Pn.value[Wn]},Mn&&(Gn.expanded=Mn.expanded,Mn.level=Mn.level||Gn.level,Mn.display=!!(Mn.expanded&&Gn.display),typeof Mn.lazy=="boolean"&&(typeof Mn.loaded=="boolean"&&Mn.loaded&&(Gn.noLazyChildren=!(Mn.children&&Mn.children.length)),Gn.loading=Mn.loading)),Hn++,Kn.push(bn(Yn,wn+Hn,Gn)),Mn){const Qn=An.value[Wn]||Yn[In.value];Xn(Qn,Mn)}})};Mn.display=!0;const lr=An.value[Vn]||En[In.value];Xn(lr,Mn)}return Kn}else return bn(En,wn,void 0)},tooltipContent:Ie,tooltipTrigger:Ve}}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($){const z=getCurrentInstance(),ie=inject(TABLE_INJECTION_KEY),le=useNamespace("table"),{wrappedRowRender:ue,tooltipContent:pe,tooltipTrigger:_e}=useRender$1($),{onColumnsChange:Ce,onScrollableChange:$e}=useLayoutObserver(ie);return watch($.store.states.hoverRow,(xe,Ie)=>{if(!$.store.states.isComplex.value||!isClient$1)return;let Ve=window.requestAnimationFrame;Ve||(Ve=ze=>window.setTimeout(ze,16)),Ve(()=>{const ze=z==null?void 0:z.vnode.el,Ue=Array.from((ze==null?void 0:ze.children)||[]).filter(Lt=>Lt==null?void 0:Lt.classList.contains(`${le.e("row")}`)),qe=Ue[Ie],Et=Ue[xe];qe&&removeClass(qe,"hover-row"),Et&&addClass(Et,"hover-row")})}),onUnmounted(()=>{var xe;(xe=removePopper)==null||xe()}),{ns:le,onColumnsChange:Ce,onScrollableChange:$e,wrappedRowRender:ue,tooltipContent:pe,tooltipTrigger:_e}},render(){const{wrappedRowRender:$,store:z}=this,ie=z.states.data.value||[];return h$3("tbody",{},[ie.reduce((le,ue)=>le.concat($(ue,le.length)),[])])}});function hColgroup($){const z=$.tableLayout==="auto";let ie=$.columns||[];z&&ie.every(ue=>ue.width===void 0)&&(ie=[]);const le=ue=>{const pe={key:`${$.tableLayout}_${ue.id}`,style:{},name:void 0};return z?pe.style={width:`${ue.width}px`}:pe.name=ue.id,pe};return h$3("colgroup",{},ie.map(ue=>h$3("col",le(ue))))}hColgroup.props=["columns","tableLayout"];function useMapState(){const $=inject(TABLE_INJECTION_KEY),z=$==null?void 0:$.store,ie=computed(()=>z.states.fixedLeafColumnsLength.value),le=computed(()=>z.states.rightFixedColumns.value.length),ue=computed(()=>z.states.columns.value.length),pe=computed(()=>z.states.fixedColumns.value.length),_e=computed(()=>z.states.rightFixedColumns.value.length);return{leftFixedLeafCount:ie,rightFixedLeafCount:le,columnsCount:ue,leftFixedCount:pe,rightFixedCount:_e,columns:z.states.columns}}function useStyle$1($){const{columns:z}=useMapState(),ie=useNamespace("table");return{getCellClasses:(pe,_e)=>{const Ce=pe[_e],$e=[ie.e("cell"),Ce.id,Ce.align,Ce.labelClassName,...getFixedColumnsClass(ie.b(),_e,Ce.fixed,$.store)];return Ce.className&&$e.push(Ce.className),Ce.children||$e.push(ie.is("leaf")),$e},getCellStyles:(pe,_e)=>{const Ce=getFixedColumnOffset(_e,pe.fixed,$.store);return ensurePosition(Ce,"left"),ensurePosition(Ce,"right"),Ce},columns:z}}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($){const{getCellClasses:z,getCellStyles:ie,columns:le}=useStyle$1($);return{ns:useNamespace("table"),getCellClasses:z,getCellStyles:ie,columns:le}},render(){const{columns:$,getCellStyles:z,getCellClasses:ie,summaryMethod:le,sumText:ue,ns:pe}=this,_e=this.store.states.data.value;let Ce=[];return le?Ce=le({columns:$,data:_e}):$.forEach(($e,xe)=>{if(xe===0){Ce[xe]=ue;return}const Ie=_e.map(qe=>Number(qe[$e.property])),Ve=[];let ze=!0;Ie.forEach(qe=>{if(!Number.isNaN(+qe)){ze=!1;const Et=`${qe}`.split(".")[1];Ve.push(Et?Et.length:0)}});const Ue=Math.max.apply(null,Ve);ze?Ce[xe]="":Ce[xe]=Ie.reduce((qe,Et)=>{const Lt=Number(Et);return Number.isNaN(+Lt)?qe:Number.parseFloat((qe+Et).toFixed(Math.min(Ue,20)))},0)}),h$3("table",{class:pe.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[hColgroup({columns:$}),h$3("tbody",[h$3("tr",{},[...$.map(($e,xe)=>h$3("td",{key:xe,colspan:$e.colSpan,rowspan:$e.rowSpan,class:ie($,xe),style:z($e,xe)},[h$3("div",{class:["cell",$e.labelClassName]},[Ce[xe]])]))])])])}});function useUtils($){return{setCurrentRow:Ie=>{$.commit("setCurrentRow",Ie)},getSelectionRows:()=>$.getSelectionRows(),toggleRowSelection:(Ie,Ve)=>{$.toggleRowSelection(Ie,Ve,!1),$.updateAllSelected()},clearSelection:()=>{$.clearSelection()},clearFilter:Ie=>{$.clearFilter(Ie)},toggleAllSelection:()=>{$.commit("toggleAllSelection")},toggleRowExpansion:(Ie,Ve)=>{$.toggleRowExpansionAdapter(Ie,Ve)},clearSort:()=>{$.clearSort()},sort:(Ie,Ve)=>{$.commit("sort",{prop:Ie,order:Ve})}}}function useStyle($,z,ie,le){const ue=ref(!1),pe=ref(null),_e=ref(!1),Ce=Vn=>{_e.value=Vn},$e=ref({width:null,height:null,headerHeight:null}),xe=ref(!1),Ie={display:"inline-block",verticalAlign:"middle"},Ve=ref(),ze=ref(0),Ue=ref(0),qe=ref(0),Et=ref(0);watchEffect(()=>{z.setHeight($.height)}),watchEffect(()=>{z.setMaxHeight($.maxHeight)}),watch(()=>[$.currentRowKey,ie.states.rowKey],([Vn,Mn])=>{!unref(Mn)||!unref(Vn)||ie.setCurrentRowKey(`${Vn}`)},{immediate:!0}),watch(()=>$.data,Vn=>{le.store.commit("setData",Vn)},{immediate:!0,deep:!0}),watchEffect(()=>{$.expandRowKeys&&ie.setExpandRowKeysAdapter($.expandRowKeys)});const Lt=()=>{le.store.commit("setHoverRow",null),le.hoverState&&(le.hoverState=null)},hn=(Vn,Mn)=>{const{pixelX:zn,pixelY:Kn}=Mn;Math.abs(zn)>=Math.abs(Kn)&&(le.refs.bodyWrapper.scrollLeft+=Mn.pixelX/5)},vn=computed(()=>$.height||$.maxHeight||ie.states.fixedColumns.value.length>0||ie.states.rightFixedColumns.value.length>0),_n=computed(()=>({width:z.bodyWidth.value?`${z.bodyWidth.value}px`:""})),bn=()=>{vn.value&&z.updateElsHeight(),z.updateColumnsWidth(),requestAnimationFrame(wn)};onMounted(async()=>{await nextTick(),ie.updateColumns(),Tn(),requestAnimationFrame(bn);const Vn=le.vnode.el,Mn=le.refs.headerWrapper;$.flexible&&Vn&&Vn.parentElement&&(Vn.parentElement.style.minWidth="0"),$e.value={width:Ve.value=Vn.offsetWidth,height:Vn.offsetHeight,headerHeight:$.showHeader&&Mn?Mn.offsetHeight:null},ie.states.columns.value.forEach(zn=>{zn.filteredValue&&zn.filteredValue.length&&le.store.commit("filterChange",{column:zn,values:zn.filteredValue,silent:!0})}),le.$ready=!0});const Cn=(Vn,Mn)=>{if(!Vn)return;const zn=Array.from(Vn.classList).filter(Kn=>!Kn.startsWith("is-scrolling-"));zn.push(z.scrollX.value?Mn:"is-scrolling-none"),Vn.className=zn.join(" ")},Sn=Vn=>{const{tableWrapper:Mn}=le.refs;Cn(Mn,Vn)},En=Vn=>{const{tableWrapper:Mn}=le.refs;return!!(Mn&&Mn.classList.contains(Vn))},wn=function(){if(!le.refs.scrollBarRef)return;if(!z.scrollX.value){const yr="is-scrolling-none";En(yr)||Sn(yr);return}const Vn=le.refs.scrollBarRef.wrapRef;if(!Vn)return;const{scrollLeft:Mn,offsetWidth:zn,scrollWidth:Kn}=Vn,{headerWrapper:Hn,footerWrapper:Xn}=le.refs;Hn&&(Hn.scrollLeft=Mn),Xn&&(Xn.scrollLeft=Mn);const lr=Kn-zn-1;Mn>=lr?Sn("is-scrolling-right"):Sn(Mn===0?"is-scrolling-left":"is-scrolling-middle")},Tn=()=>{le.refs.scrollBarRef&&(le.refs.scrollBarRef.wrapRef&&useEventListener$1(le.refs.scrollBarRef.wrapRef,"scroll",wn,{passive:!0}),$.fit?useResizeObserver$1(le.vnode.el,kn):useEventListener$1(window,"resize",kn),useResizeObserver$1(le.refs.bodyWrapper,()=>{var Vn,Mn;kn(),(Mn=(Vn=le.refs)==null?void 0:Vn.scrollBarRef)==null||Mn.update()}))},kn=()=>{var Vn,Mn,zn;const Kn=le.vnode.el;if(!le.$ready||!Kn)return;let Hn=!1;const{width:Xn,height:lr,headerHeight:yr}=$e.value,ir=Ve.value=Kn.offsetWidth;Xn!==ir&&(Hn=!0);const Yn=Kn.offsetHeight;($.height||vn.value)&&lr!==Yn&&(Hn=!0);const Gn=$.tableLayout==="fixed"?le.refs.headerWrapper:(Vn=le.refs.tableHeaderRef)==null?void 0:Vn.$el;$.showHeader&&(Gn==null?void 0:Gn.offsetHeight)!==yr&&(Hn=!0),ze.value=((Mn=le.refs.tableWrapper)==null?void 0:Mn.scrollHeight)||0,qe.value=(Gn==null?void 0:Gn.scrollHeight)||0,Et.value=((zn=le.refs.footerWrapper)==null?void 0:zn.offsetHeight)||0,Ue.value=ze.value-qe.value-Et.value,Hn&&($e.value={width:ir,height:Yn,headerHeight:$.showHeader&&(Gn==null?void 0:Gn.offsetHeight)||0},bn())},xn=useFormSize(),Pn=computed(()=>{const{bodyWidth:Vn,scrollY:Mn,gutterWidth:zn}=z;return Vn.value?`${Vn.value-(Mn.value?zn:0)}px`:""}),An=computed(()=>$.maxHeight?"fixed":$.tableLayout),In=computed(()=>{if($.data&&$.data.length)return null;let Vn="100%";$.height&&Ue.value&&(Vn=`${Ue.value}px`);const Mn=Ve.value;return{width:Mn?`${Mn}px`:"",height:Vn}}),Fn=computed(()=>$.height?{height:Number.isNaN(Number($.height))?$.height:`${$.height}px`}:$.maxHeight?{maxHeight:Number.isNaN(Number($.maxHeight))?$.maxHeight:`${$.maxHeight}px`}:{}),Dn=computed(()=>$.height?{height:"100%"}:$.maxHeight?Number.isNaN(Number($.maxHeight))?{maxHeight:`calc(${$.maxHeight} - ${qe.value+Et.value}px)`}:{maxHeight:`${$.maxHeight-qe.value-Et.value}px`}:{});return{isHidden:ue,renderExpanded:pe,setDragVisible:Ce,isGroup:xe,handleMouseLeave:Lt,handleHeaderFooterMousewheel:hn,tableSize:xn,emptyBlockStyle:In,handleFixedMousewheel:(Vn,Mn)=>{const zn=le.refs.bodyWrapper;if(Math.abs(Mn.spinY)>0){const Kn=zn.scrollTop;Mn.pixelY<0&&Kn!==0&&Vn.preventDefault(),Mn.pixelY>0&&zn.scrollHeight-zn.clientHeight>Kn&&Vn.preventDefault(),zn.scrollTop+=Math.ceil(Mn.pixelY/5)}else zn.scrollLeft+=Math.ceil(Mn.pixelX/5)},resizeProxyVisible:_e,bodyWidth:Pn,resizeState:$e,doLayout:bn,tableBodyStyles:_n,tableLayout:An,scrollbarViewStyle:Ie,tableInnerStyle:Fn,scrollbarStyle:Dn}}function useKeyRender($){const z=ref(),ie=()=>{const ue=$.vnode.el.querySelector(".hidden-columns"),pe={childList:!0,subtree:!0},_e=$.store.states.updateOrderFns;z.value=new MutationObserver(()=>{_e.forEach(Ce=>Ce())}),z.value.observe(ue,pe)};onMounted(()=>{ie()}),onUnmounted(()=>{var le;(le=z.value)==null||le.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 $=ref(),z=(pe,_e)=>{const Ce=$.value;Ce&&Ce.scrollTo(pe,_e)},ie=(pe,_e)=>{const Ce=$.value;Ce&&isNumber$4(_e)&&["Top","Left"].includes(pe)&&Ce[`setScroll${pe}`](_e)};return{scrollBarRef:$,scrollTo:z,setScrollTop:pe=>ie("Top",pe),setScrollLeft:pe=>ie("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($){const{t:z}=useLocale(),ie=useNamespace("table"),le=getCurrentInstance();provide(TABLE_INJECTION_KEY,le);const ue=createStore(le,$);le.store=ue;const pe=new TableLayout({store:le.store,table:le,fit:$.fit,showHeader:$.showHeader});le.layout=pe;const _e=computed(()=>(ue.states.data.value||[]).length===0),{setCurrentRow:Ce,getSelectionRows:$e,toggleRowSelection:xe,clearSelection:Ie,clearFilter:Ve,toggleAllSelection:ze,toggleRowExpansion:Ue,clearSort:qe,sort:Et}=useUtils(ue),{isHidden:Lt,renderExpanded:hn,setDragVisible:vn,isGroup:_n,handleMouseLeave:bn,handleHeaderFooterMousewheel:Cn,tableSize:Sn,emptyBlockStyle:En,handleFixedMousewheel:wn,resizeProxyVisible:Tn,bodyWidth:kn,resizeState:xn,doLayout:Pn,tableBodyStyles:An,tableLayout:In,scrollbarViewStyle:Fn,tableInnerStyle:Dn,scrollbarStyle:On}=useStyle($,pe,ue,le),{scrollBarRef:Vn,scrollTo:Mn,setScrollLeft:zn,setScrollTop:Kn}=useScrollbar$1(),Hn=debounce(Pn,50),Xn=`${ie.namespace.value}-table_${tableIdSeed++}`;le.tableId=Xn,le.state={isGroup:_n,resizeState:xn,doLayout:Pn,debouncedUpdateLayout:Hn};const lr=computed(()=>$.sumText||z("el.table.sumText")),yr=computed(()=>$.emptyText||z("el.table.emptyText"));return useKeyRender(le),{ns:ie,layout:pe,store:ue,handleHeaderFooterMousewheel:Cn,handleMouseLeave:bn,tableId:Xn,tableSize:Sn,isHidden:Lt,isEmpty:_e,renderExpanded:hn,resizeProxyVisible:Tn,resizeState:xn,isGroup:_n,bodyWidth:kn,tableBodyStyles:An,emptyBlockStyle:En,debouncedUpdateLayout:Hn,handleFixedMousewheel:wn,setCurrentRow:Ce,getSelectionRows:$e,toggleRowSelection:xe,clearSelection:Ie,clearFilter:Ve,toggleAllSelection:ze,toggleRowExpansion:Ue,clearSort:qe,doLayout:Pn,sort:Et,t:z,setDragVisible:vn,context:le,computedSumText:lr,computedEmptyText:yr,tableLayout:In,scrollbarViewStyle:Fn,tableInnerStyle:Dn,scrollbarStyle:On,scrollBarRef:Vn,scrollTo:Mn,setScrollLeft:zn,setScrollTop:Kn}}}),_hoisted_1$d=["data-prefix"],_hoisted_2$9={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$4($,z,ie,le,ue,pe){const _e=resolveComponent("hColgroup"),Ce=resolveComponent("table-header"),$e=resolveComponent("table-body"),xe=resolveComponent("el-scrollbar"),Ie=resolveComponent("table-footer"),Ve=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[$.ns.m("fit")]:$.fit,[$.ns.m("striped")]:$.stripe,[$.ns.m("border")]:$.border||$.isGroup,[$.ns.m("hidden")]:$.isHidden,[$.ns.m("group")]:$.isGroup,[$.ns.m("fluid-height")]:$.maxHeight,[$.ns.m("scrollable-x")]:$.layout.scrollX.value,[$.ns.m("scrollable-y")]:$.layout.scrollY.value,[$.ns.m("enable-row-hover")]:!$.store.states.isComplex.value,[$.ns.m("enable-row-transition")]:($.store.states.data.value||[]).length!==0&&($.store.states.data.value||[]).length<100,"has-footer":$.showSummary},$.ns.m($.tableSize),$.className,$.ns.b(),$.ns.m(`layout-${$.tableLayout}`)]),style:normalizeStyle$1($.style),"data-prefix":$.ns.namespace.value,onMouseleave:z[0]||(z[0]=(...ze)=>$.handleMouseLeave&&$.handleMouseLeave(...ze))},[createBaseVNode("div",{class:normalizeClass($.ns.e("inner-wrapper")),style:normalizeStyle$1($.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$9,[renderSlot($.$slots,"default")],512),$.showHeader&&$.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass($.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass($.ns.e("header")),style:normalizeStyle$1($.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode(_e,{columns:$.store.states.columns.value,"table-layout":$.tableLayout},null,8,["columns","table-layout"]),createVNode(Ce,{ref:"tableHeaderRef",border:$.border,"default-sort":$.defaultSort,store:$.store,onSetDragVisible:$.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[Ve,$.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass($.ns.e("body-wrapper"))},[createVNode(xe,{ref:"scrollBarRef","view-style":$.scrollbarViewStyle,"wrap-style":$.scrollbarStyle,always:$.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass($.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:$.bodyWidth,tableLayout:$.tableLayout})},[createVNode(_e,{columns:$.store.states.columns.value,"table-layout":$.tableLayout},null,8,["columns","table-layout"]),$.showHeader&&$.tableLayout==="auto"?(openBlock(),createBlock(Ce,{key:0,ref:"tableHeaderRef",border:$.border,"default-sort":$.defaultSort,store:$.store,onSetDragVisible:$.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode($e,{context:$.context,highlight:$.highlightCurrentRow,"row-class-name":$.rowClassName,"tooltip-effect":$.tooltipEffect,"tooltip-options":$.tooltipOptions,"row-style":$.rowStyle,store:$.store,stripe:$.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"])],6),$.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1($.emptyBlockStyle),class:normalizeClass($.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass($.ns.e("empty-text"))},[renderSlot($.$slots,"empty",{},()=>[createTextVNode(toDisplayString$1($.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),$.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass($.ns.e("append-wrapper"))},[renderSlot($.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),$.showSummary?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass($.ns.e("footer-wrapper"))},[createVNode(Ie,{border:$.border,"default-sort":$.defaultSort,store:$.store,style:normalizeStyle$1($.tableBodyStyles),"sum-text":$.computedSumText,"summary-method":$.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[vShow,!$.isEmpty],[Ve,$.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),$.border||$.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass($.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass($.ns.e("column-resize-proxy"))},null,2),[[vShow,$.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=$=>defaultClassNames[$]||"",cellForced={selection:{renderHeader({store:$}){function z(){return $.states.data.value&&$.states.data.value.length===0}return h$3(ElCheckbox,{disabled:z(),size:$.states.tableSize.value,indeterminate:$.states.selection.value.length>0&&!$.states.isAllSelected.value,"onUpdate:modelValue":$.toggleAllSelection,modelValue:$.states.isAllSelected.value})},renderCell({row:$,column:z,store:ie,$index:le}){return h$3(ElCheckbox,{disabled:z.selectable?!z.selectable.call(null,$,le):!1,size:ie.states.tableSize.value,onChange:()=>{ie.commit("rowSelectedChanged",$)},onClick:ue=>ue.stopPropagation(),modelValue:ie.isSelected($)})},sortable:!1,resizable:!1},index:{renderHeader({column:$}){return $.label||"#"},renderCell({column:$,$index:z}){let ie=z+1;const le=$.index;return typeof le=="number"?ie=z+le:typeof le=="function"&&(ie=le(z)),h$3("div",{},[ie])},sortable:!1},expand:{renderHeader({column:$}){return $.label||""},renderCell({row:$,store:z,expanded:ie}){const{ns:le}=z,ue=[le.e("expand-icon")];return ie&&ue.push(le.em("expand-icon","expanded")),h$3("div",{class:ue,onClick:function(_e){_e.stopPropagation(),z.toggleRowExpansion($)}},{default:()=>[h$3(ElIcon,null,{default:()=>[h$3(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:$,column:z,$index:ie}){var le;const ue=z.property,pe=ue&&getProp($,ue).value;return z&&z.formatter?z.formatter($,z,pe,ie):((le=pe==null?void 0:pe.toString)==null?void 0:le.call(pe))||""}function treeCellPrefix({row:$,treeNode:z,store:ie},le=!1){const{ns:ue}=ie;if(!z)return le?[h$3("span",{class:ue.e("placeholder")})]:null;const pe=[],_e=function(Ce){Ce.stopPropagation(),!z.loading&&ie.loadOrToggle($)};if(z.indent&&pe.push(h$3("span",{class:ue.e("indent"),style:{"padding-left":`${z.indent}px`}})),typeof z.expanded=="boolean"&&!z.noLazyChildren){const Ce=[ue.e("expand-icon"),z.expanded?ue.em("expand-icon","expanded"):""];let $e=arrow_right_default;z.loading&&($e=loading_default),pe.push(h$3("div",{class:Ce,onClick:_e},{default:()=>[h$3(ElIcon,{class:{[ue.is("loading")]:z.loading}},{default:()=>[h$3($e)]})]}))}else pe.push(h$3("span",{class:ue.e("placeholder")}));return pe}function getAllAliases($,z){return $.reduce((ie,le)=>(ie[le]=le,ie),z)}function useWatcher($,z){const ie=getCurrentInstance();return{registerComplexWatchers:()=>{const pe=["fixed"],_e={realWidth:"width",realMinWidth:"minWidth"},Ce=getAllAliases(pe,_e);Object.keys(Ce).forEach($e=>{const xe=_e[$e];hasOwn$4(z,xe)&&watch(()=>z[xe],Ie=>{let Ve=Ie;xe==="width"&&$e==="realWidth"&&(Ve=parseWidth(Ie)),xe==="minWidth"&&$e==="realMinWidth"&&(Ve=parseMinWidth(Ie)),ie.columnConfig.value[xe]=Ve,ie.columnConfig.value[$e]=Ve;const ze=xe==="fixed";$.value.store.scheduleLayout(ze)})})},registerNormalWatchers:()=>{const pe=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],_e={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},Ce=getAllAliases(pe,_e);Object.keys(Ce).forEach($e=>{const xe=_e[$e];hasOwn$4(z,xe)&&watch(()=>z[xe],Ie=>{ie.columnConfig.value[$e]=Ie})})}}}function useRender($,z,ie){const le=getCurrentInstance(),ue=ref(""),pe=ref(!1),_e=ref(),Ce=ref(),$e=useNamespace("table");watchEffect(()=>{_e.value=$.align?`is-${$.align}`:null,_e.value}),watchEffect(()=>{Ce.value=$.headerAlign?`is-${$.headerAlign}`:_e.value,Ce.value});const xe=computed(()=>{let bn=le.vnode.vParent||le.parent;for(;bn&&!bn.tableId&&!bn.columnId;)bn=bn.vnode.vParent||bn.parent;return bn}),Ie=computed(()=>{const{store:bn}=le.parent;if(!bn)return!1;const{treeData:Cn}=bn.states,Sn=Cn.value;return Sn&&Object.keys(Sn).length>0}),Ve=ref(parseWidth($.width)),ze=ref(parseMinWidth($.minWidth)),Ue=bn=>(Ve.value&&(bn.width=Ve.value),ze.value&&(bn.minWidth=ze.value),!Ve.value&&ze.value&&(bn.width=void 0),bn.minWidth||(bn.minWidth=80),bn.realWidth=Number(bn.width===void 0?bn.minWidth:bn.width),bn),qe=bn=>{const Cn=bn.type,Sn=cellForced[Cn]||{};Object.keys(Sn).forEach(wn=>{const Tn=Sn[wn];wn!=="className"&&Tn!==void 0&&(bn[wn]=Tn)});const En=getDefaultClassName(Cn);if(En){const wn=`${unref($e.namespace)}-${En}`;bn.className=bn.className?`${bn.className} ${wn}`:wn}return bn},Et=bn=>{Array.isArray(bn)?bn.forEach(Sn=>Cn(Sn)):Cn(bn);function Cn(Sn){var En;((En=Sn==null?void 0:Sn.type)==null?void 0:En.name)==="ElTableColumn"&&(Sn.vParent=le)}};return{columnId:ue,realAlign:_e,isSubColumn:pe,realHeaderAlign:Ce,columnOrTableParent:xe,setColumnWidth:Ue,setColumnForcedProps:qe,setColumnRenders:bn=>{$.renderHeader||bn.type!=="selection"&&(bn.renderHeader=Sn=>{le.columnConfig.value.label;const En=z.header;return En?En(Sn):bn.label});let Cn=bn.renderCell;return bn.type==="expand"?(bn.renderCell=Sn=>h$3("div",{class:"cell"},[Cn(Sn)]),ie.value.renderExpanded=Sn=>z.default?z.default(Sn):z.default):(Cn=Cn||defaultRenderCell,bn.renderCell=Sn=>{let En=null;if(z.default){const An=z.default(Sn);En=An.some(In=>In.type!==Comment)?An:Cn(Sn)}else En=Cn(Sn);const{columns:wn}=ie.value.store.states,Tn=wn.value.findIndex(An=>An.type==="default"),kn=Ie.value&&Sn.cellIndex===Tn,xn=treeCellPrefix(Sn,kn),Pn={class:"cell",style:{}};return bn.showOverflowTooltip&&(Pn.class=`${Pn.class} ${unref($e.namespace)}-tooltip`,Pn.style={width:`${(Sn.column.realWidth||Number(Sn.column.width))-1}px`}),Et(En),h$3("div",Pn,[xn,En])}),bn},getPropsData:(...bn)=>bn.reduce((Cn,Sn)=>(Array.isArray(Sn)&&Sn.forEach(En=>{Cn[En]=$[En]}),Cn),{}),getColumnElIndex:(bn,Cn)=>Array.prototype.indexOf.call(bn,Cn),updateColumnOrder:()=>{ie.value.store.commit("updateColumnOrder",le.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:$=>$.every(z=>["ascending","descending",null].includes(z))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup($,{slots:z}){const ie=getCurrentInstance(),le=ref({}),ue=computed(()=>{let _n=ie.parent;for(;_n&&!_n.tableId;)_n=_n.parent;return _n}),{registerNormalWatchers:pe,registerComplexWatchers:_e}=useWatcher(ue,$),{columnId:Ce,isSubColumn:$e,realHeaderAlign:xe,columnOrTableParent:Ie,setColumnWidth:Ve,setColumnForcedProps:ze,setColumnRenders:Ue,getPropsData:qe,getColumnElIndex:Et,realAlign:Lt,updateColumnOrder:hn}=useRender($,z,ue),vn=Ie.value;Ce.value=`${vn.tableId||vn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{$e.value=ue.value!==vn;const _n=$.type||"default",bn=$.sortable===""?!0:$.sortable,Cn={...cellStarts[_n],id:Ce.value,type:_n,property:$.prop||$.property,align:Lt,headerAlign:xe,showOverflowTooltip:$.showOverflowTooltip,filterable:$.filters||$.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:bn,index:$.index,rawColumnKey:ie.vnode.key};let kn=qe(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);kn=mergeOptions$1(Cn,kn),kn=compose(Ue,Ve,ze)(kn),le.value=kn,pe(),_e()}),onMounted(()=>{var _n;const bn=Ie.value,Cn=$e.value?bn.vnode.el.children:(_n=bn.refs.hiddenColumns)==null?void 0:_n.children,Sn=()=>Et(Cn||[],ie.vnode.el);le.value.getColumnIndex=Sn,Sn()>-1&&ue.value.store.commit("insertColumn",le.value,$e.value?bn.columnConfig.value:null,hn)}),onBeforeUnmount(()=>{ue.value.store.commit("removeColumn",le.value,$e.value?vn.columnConfig.value:null,hn)}),ie.columnId=Ce.value,ie.columnConfig=le},render(){var $,z,ie;try{const le=(z=($=this.$slots).default)==null?void 0:z.call($,{row:{},column:{},$index:-1}),ue=[];if(Array.isArray(le))for(const _e of le)((ie=_e.type)==null?void 0:ie.name)==="ElTableColumn"||_e.shapeFlag&2?ue.push(_e):_e.type===Fragment&&Array.isArray(_e.children)&&_e.children.forEach(Ce=>{(Ce==null?void 0:Ce.patchFlag)!==1024&&!isString$6(Ce==null?void 0:Ce.children)&&ue.push(Ce)});return h$3("div",ue)}catch{return h$3("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=($=>($.ASC="asc",$.DESC="desc",$))(SortOrder||{}),Alignment=($=>($.CENTER="center",$.RIGHT="right",$))(Alignment||{}),FixedDir=($=>($.LEFT="left",$.RIGHT="right",$))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=($,z,ie)=>{var le;const ue={flexGrow:0,flexShrink:0,...ie?{}:{flexGrow:$.flexGrow||0,flexShrink:$.flexShrink||1}};ie||(ue.flexShrink=1);const pe={...(le=$.style)!=null?le:{},...ue,flexBasis:"auto",width:$.width};return z||($.maxWidth&&(pe.maxWidth=$.maxWidth),$.minWidth&&(pe.minWidth=$.minWidth)),pe};function useColumns($,z,ie){const le=computed(()=>unref(z).filter(Et=>!Et.hidden)),ue=computed(()=>unref(le).filter(Et=>Et.fixed==="left"||Et.fixed===!0)),pe=computed(()=>unref(le).filter(Et=>Et.fixed==="right")),_e=computed(()=>unref(le).filter(Et=>!Et.fixed)),Ce=computed(()=>{const Et=[];return unref(ue).forEach(Lt=>{Et.push({...Lt,placeholderSign})}),unref(_e).forEach(Lt=>{Et.push(Lt)}),unref(pe).forEach(Lt=>{Et.push({...Lt,placeholderSign})}),Et}),$e=computed(()=>unref(ue).length||unref(pe).length),xe=computed(()=>unref(z).reduce((Lt,hn)=>(Lt[hn.key]=calcColumnStyle(hn,unref(ie),$.fixed),Lt),{})),Ie=computed(()=>unref(le).reduce((Et,Lt)=>Et+Lt.width,0)),Ve=Et=>unref(z).find(Lt=>Lt.key===Et),ze=Et=>unref(xe)[Et],Ue=(Et,Lt)=>{Et.width=Lt};function qe(Et){var Lt;const{key:hn}=Et.currentTarget.dataset;if(!hn)return;const{sortState:vn,sortBy:_n}=$;let bn=SortOrder.ASC;isObject$9(vn)?bn=oppositeOrderMap[vn[hn]]:bn=oppositeOrderMap[_n.order],(Lt=$.onColumnSort)==null||Lt.call($,{column:Ve(hn),key:hn,order:bn})}return{columns:z,columnsStyles:xe,columnsTotalWidth:Ie,fixedColumnsOnLeft:ue,fixedColumnsOnRight:pe,hasFixedColumns:$e,mainColumns:Ce,normalColumns:_e,visibleColumns:le,getColumn:Ve,getColumnStyle:ze,updateColumnWidth:Ue,onColumnSorted:qe}}const useScrollbar=($,{mainTableRef:z,leftTableRef:ie,rightTableRef:le,onMaybeEndReached:ue})=>{const pe=ref({scrollLeft:0,scrollTop:0});function _e(Ue){var qe,Et,Lt;const{scrollTop:hn}=Ue;(qe=z.value)==null||qe.scrollTo(Ue),(Et=ie.value)==null||Et.scrollToTop(hn),(Lt=le.value)==null||Lt.scrollToTop(hn)}function Ce(Ue){pe.value=Ue,_e(Ue)}function $e(Ue){pe.value.scrollTop=Ue,_e(unref(pe))}function xe(Ue){var qe,Et;pe.value.scrollLeft=Ue,(Et=(qe=z.value)==null?void 0:qe.scrollTo)==null||Et.call(qe,unref(pe))}function Ie(Ue){var qe;Ce(Ue),(qe=$.onScroll)==null||qe.call($,Ue)}function Ve({scrollTop:Ue}){const{scrollTop:qe}=unref(pe);Ue!==qe&&$e(Ue)}function ze(Ue,qe="auto"){var Et;(Et=z.value)==null||Et.scrollToRow(Ue,qe)}return watch(()=>unref(pe).scrollTop,(Ue,qe)=>{Ue>qe&&ue()}),{scrollPos:pe,scrollTo:Ce,scrollToLeft:xe,scrollToTop:$e,scrollToRow:ze,onScroll:Ie,onVerticalScroll:Ve}},useRow=($,{mainTableRef:z,leftTableRef:ie,rightTableRef:le})=>{const ue=getCurrentInstance(),{emit:pe}=ue,_e=shallowRef(!1),Ce=shallowRef(null),$e=ref($.defaultExpandedRowKeys||[]),xe=ref(-1),Ie=shallowRef(null),Ve=ref({}),ze=ref({}),Ue=shallowRef({}),qe=shallowRef({}),Et=shallowRef({}),Lt=computed(()=>isNumber$4($.estimatedRowHeight));function hn(wn){var Tn;(Tn=$.onRowsRendered)==null||Tn.call($,wn),wn.rowCacheEnd>unref(xe)&&(xe.value=wn.rowCacheEnd)}function vn({hovered:wn,rowKey:Tn}){Ce.value=wn?Tn:null}function _n({expanded:wn,rowData:Tn,rowIndex:kn,rowKey:xn}){var Pn,An;const In=[...unref($e)],Fn=In.indexOf(xn);wn?Fn===-1&&In.push(xn):Fn>-1&&In.splice(Fn,1),$e.value=In,pe("update:expandedRowKeys",In),(Pn=$.onRowExpand)==null||Pn.call($,{expanded:wn,rowData:Tn,rowIndex:kn,rowKey:xn}),(An=$.onExpandedRowsChange)==null||An.call($,In)}const bn=debounce(()=>{var wn,Tn,kn,xn;_e.value=!0,Ve.value={...unref(Ve),...unref(ze)},Cn(unref(Ie),!1),ze.value={},Ie.value=null,(wn=z.value)==null||wn.forceUpdate(),(Tn=ie.value)==null||Tn.forceUpdate(),(kn=le.value)==null||kn.forceUpdate(),(xn=ue.proxy)==null||xn.$forceUpdate(),_e.value=!1},0);function Cn(wn,Tn=!1){unref(Lt)&&[z,ie,le].forEach(kn=>{const xn=unref(kn);xn&&xn.resetAfterRowIndex(wn,Tn)})}function Sn(wn,Tn,kn){const xn=unref(Ie);(xn===null||xn>kn)&&(Ie.value=kn),ze.value[wn]=Tn}function En({rowKey:wn,height:Tn,rowIndex:kn},xn){xn?xn===FixedDir.RIGHT?Et.value[wn]=Tn:Ue.value[wn]=Tn:qe.value[wn]=Tn;const Pn=Math.max(...[Ue,Et,qe].map(An=>An.value[wn]||0));unref(Ve)[wn]!==Pn&&(Sn(wn,Pn,kn),bn())}return{hoveringRowKey:Ce,expandedRowKeys:$e,lastRenderedRowIndex:xe,isDynamic:Lt,isResetting:_e,rowHeights:Ve,resetAfterIndex:Cn,onRowExpanded:_n,onRowHovered:vn,onRowsRendered:hn,onRowHeightChange:En}},useData=($,{expandedRowKeys:z,lastRenderedRowIndex:ie,resetAfterIndex:le})=>{const ue=ref({}),pe=computed(()=>{const Ce={},{data:$e,rowKey:xe}=$,Ie=unref(z);if(!Ie||!Ie.length)return $e;const Ve=[],ze=new Set;Ie.forEach(qe=>ze.add(qe));let Ue=$e.slice();for(Ue.forEach(qe=>Ce[qe[xe]]=0);Ue.length>0;){const qe=Ue.shift();Ve.push(qe),ze.has(qe[xe])&&Array.isArray(qe.children)&&qe.children.length>0&&(Ue=[...qe.children,...Ue],qe.children.forEach(Et=>Ce[Et[xe]]=Ce[qe[xe]]+1))}return ue.value=Ce,Ve}),_e=computed(()=>{const{data:Ce,expandColumnKey:$e}=$;return $e?unref(pe):Ce});return watch(_e,(Ce,$e)=>{Ce!==$e&&(ie.value=-1,le(0,!0))}),{data:_e,depthMap:ue}},sumReducer=($,z)=>$+z,sum=$=>isArray$c($)?$.reduce(sumReducer,0):$,tryCall=($,z,ie={})=>isFunction$5($)?$(z):$??ie,enforceUnit=$=>(["width","maxWidth","minWidth","height"].forEach(z=>{$[z]=addUnit($[z])}),$),componentToSlot=$=>isVNode$1($)?z=>h$3($,z):$,useStyles=($,{columnsTotalWidth:z,data:ie,fixedColumnsOnLeft:le,fixedColumnsOnRight:ue})=>{const pe=computed(()=>{const{fixed:_n,width:bn,vScrollbarSize:Cn}=$,Sn=bn-Cn;return _n?Math.max(Math.round(unref(z)),Sn):Sn}),_e=computed(()=>unref(pe)+($.fixed?$.vScrollbarSize:0)),Ce=computed(()=>{const{height:_n=0,maxHeight:bn=0,footerHeight:Cn,hScrollbarSize:Sn}=$;if(bn>0){const En=unref(qe),wn=unref($e),kn=unref(Ue)+En+wn+Sn;return Math.min(kn,bn-Cn)}return _n-Cn}),$e=computed(()=>{const{rowHeight:_n,estimatedRowHeight:bn}=$,Cn=unref(ie);return isNumber$4(bn)?Cn.length*bn:Cn.length*_n}),xe=computed(()=>{const{maxHeight:_n}=$,bn=unref(Ce);if(isNumber$4(_n)&&_n>0)return bn;const Cn=unref($e)+unref(Ue)+unref(qe);return Math.min(bn,Cn)}),Ie=_n=>_n.width,Ve=computed(()=>sum(unref(le).map(Ie))),ze=computed(()=>sum(unref(ue).map(Ie))),Ue=computed(()=>sum($.headerHeight)),qe=computed(()=>{var _n;return(((_n=$.fixedData)==null?void 0:_n.length)||0)*$.rowHeight}),Et=computed(()=>unref(Ce)-unref(Ue)-unref(qe)),Lt=computed(()=>{const{style:_n={},height:bn,width:Cn}=$;return enforceUnit({..._n,height:bn,width:Cn})}),hn=computed(()=>enforceUnit({height:$.footerHeight})),vn=computed(()=>({top:addUnit(unref(Ue)),bottom:addUnit($.footerHeight),width:addUnit($.width)}));return{bodyWidth:pe,fixedTableHeight:xe,mainTableHeight:Ce,leftTableWidth:Ve,rightTableWidth:ze,headerWidth:_e,rowsHeight:$e,windowHeight:Et,footerHeight:hn,emptyStyle:vn,rootStyle:Lt,headerHeight:Ue}},useAutoResize=$=>{const z=ref(),ie=ref(0),le=ref(0);let ue;return onMounted(()=>{ue=useResizeObserver$1(z,([pe])=>{const{width:_e,height:Ce}=pe.contentRect,{paddingLeft:$e,paddingRight:xe,paddingTop:Ie,paddingBottom:Ve}=getComputedStyle(pe.target),ze=Number.parseInt($e)||0,Ue=Number.parseInt(xe)||0,qe=Number.parseInt(Ie)||0,Et=Number.parseInt(Ve)||0;ie.value=_e-ze-Ue,le.value=Ce-qe-Et}).stop}),onBeforeUnmount(()=>{ue==null||ue()}),watch([ie,le],([pe,_e])=>{var Ce;(Ce=$.onResize)==null||Ce.call($,{width:pe,height:_e})}),{sizer:z,width:ie,height:le}};function useTable($){const z=ref(),ie=ref(),le=ref(),{columns:ue,columnsStyles:pe,columnsTotalWidth:_e,fixedColumnsOnLeft:Ce,fixedColumnsOnRight:$e,hasFixedColumns:xe,mainColumns:Ie,onColumnSorted:Ve}=useColumns($,toRef$1($,"columns"),toRef$1($,"fixed")),{scrollTo:ze,scrollToLeft:Ue,scrollToTop:qe,scrollToRow:Et,onScroll:Lt,onVerticalScroll:hn,scrollPos:vn}=useScrollbar($,{mainTableRef:z,leftTableRef:ie,rightTableRef:le,onMaybeEndReached:jn}),{expandedRowKeys:_n,hoveringRowKey:bn,lastRenderedRowIndex:Cn,isDynamic:Sn,isResetting:En,rowHeights:wn,resetAfterIndex:Tn,onRowExpanded:kn,onRowHeightChange:xn,onRowHovered:Pn,onRowsRendered:An}=useRow($,{mainTableRef:z,leftTableRef:ie,rightTableRef:le}),{data:In,depthMap:Fn}=useData($,{expandedRowKeys:_n,lastRenderedRowIndex:Cn,resetAfterIndex:Tn}),{bodyWidth:Dn,fixedTableHeight:On,mainTableHeight:Vn,leftTableWidth:Mn,rightTableWidth:zn,headerWidth:Kn,rowsHeight:Hn,windowHeight:Xn,footerHeight:lr,emptyStyle:yr,rootStyle:ir,headerHeight:Yn}=useStyles($,{columnsTotalWidth:_e,data:In,fixedColumnsOnLeft:Ce,fixedColumnsOnRight:$e}),Gn=shallowRef(!1),Wn=ref(),Qn=computed(()=>{const Zn=unref(In).length===0;return isArray$c($.fixedData)?$.fixedData.length===0&&Zn:Zn});function fr(Zn){const{estimatedRowHeight:rr,rowHeight:mr,rowKey:_r}=$;return rr?unref(wn)[unref(In)[Zn][_r]]||rr:mr}function jn(){const{onEndReached:Zn}=$;if(!Zn)return;const{scrollTop:rr}=unref(vn),mr=unref(Hn),_r=unref(Xn),or=mr-(rr+_r)+$.hScrollbarSize;unref(Cn)>=0&&mr===rr+unref(Vn)-unref(Yn)&&Zn(or)}return watch(()=>$.expandedRowKeys,Zn=>_n.value=Zn,{deep:!0}),{columns:ue,containerRef:Wn,mainTableRef:z,leftTableRef:ie,rightTableRef:le,isDynamic:Sn,isResetting:En,isScrolling:Gn,hoveringRowKey:bn,hasFixedColumns:xe,columnsStyles:pe,columnsTotalWidth:_e,data:In,expandedRowKeys:_n,depthMap:Fn,fixedColumnsOnLeft:Ce,fixedColumnsOnRight:$e,mainColumns:Ie,bodyWidth:Dn,emptyStyle:yr,rootStyle:ir,headerWidth:Kn,footerHeight:lr,mainTableHeight:Vn,fixedTableHeight:On,leftTableWidth:Mn,rightTableWidth:zn,showEmpty:Qn,getRowHeight:fr,onColumnSorted:Ve,onRowHovered:Pn,onRowExpanded:kn,onRowsRendered:An,onRowHeightChange:xn,scrollTo:ze,scrollToLeft:Ue,scrollToTop:qe,scrollToRow:Et,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=($,{slots:z})=>{var ie;const{cellData:le,style:ue}=$,pe=((ie=le==null?void 0:le.toString)==null?void 0:ie.call(le))||"";return createVNode("div",{class:$.class,title:pe,style:ue},[z.default?z.default($):pe])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=($,{slots:z})=>{var ie,le;return z.default?z.default($):createVNode("div",{class:$.class,title:(ie=$.column)==null?void 0:ie.title},[(le=$.column)==null?void 0:le.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($,{slots:z}){return()=>{const{columns:ie,columnsStyles:le,headerIndex:ue,style:pe}=$;let _e=ie.map((Ce,$e)=>z.cell({columns:ie,column:Ce,columnIndex:$e,headerIndex:ue,style:le[Ce.key]}));return z.header&&(_e=z.header({cells:_e.map(Ce=>isArray$c(Ce)&&Ce.length===1?Ce[0]:Ce),columns:ie,headerIndex:ue})),createVNode("div",{class:$.class,style:pe,role:"row"},[_e])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup($,{slots:z,expose:ie}){const le=useNamespace("table-v2"),ue=ref(),pe=computed(()=>enforceUnit({width:$.width,height:$.height})),_e=computed(()=>enforceUnit({width:$.rowWidth,height:$.height})),Ce=computed(()=>castArray$1(unref($.headerHeight))),$e=Ve=>{const ze=unref(ue);nextTick(()=>{ze!=null&&ze.scroll&&ze.scroll({left:Ve})})},xe=()=>{const Ve=le.e("fixed-header-row"),{columns:ze,fixedHeaderData:Ue,rowHeight:qe}=$;return Ue==null?void 0:Ue.map((Et,Lt)=>{var hn;const vn=enforceUnit({height:qe,width:"100%"});return(hn=z.fixed)==null?void 0:hn.call(z,{class:Ve,columns:ze,rowData:Et,rowIndex:-(Lt+1),style:vn})})},Ie=()=>{const Ve=le.e("dynamic-header-row"),{columns:ze}=$;return unref(Ce).map((Ue,qe)=>{var Et;const Lt=enforceUnit({width:"100%",height:Ue});return(Et=z.dynamic)==null?void 0:Et.call(z,{class:Ve,columns:ze,headerIndex:qe,style:Lt})})};return ie({scrollToLeft:$e}),()=>{if(!($.height<=0))return createVNode("div",{ref:ue,class:$.class,style:unref(pe),role:"rowgroup"},[createVNode("div",{style:unref(_e),class:le.e("header")},[Ie(),xe()])])}}}),useTableRow=$=>{const{isScrolling:z}=inject(TableV2InjectionKey),ie=ref(!1),le=ref(),ue=computed(()=>isNumber$4($.estimatedRowHeight)&&$.rowIndex>=0),pe=($e=!1)=>{const xe=unref(le);if(!xe)return;const{columns:Ie,onRowHeightChange:Ve,rowKey:ze,rowIndex:Ue,style:qe}=$,{height:Et}=xe.getBoundingClientRect();ie.value=!0,nextTick(()=>{if($e||Et!==Number.parseInt(qe.height)){const Lt=Ie[0],hn=(Lt==null?void 0:Lt.placeholderSign)===placeholderSign;Ve==null||Ve({rowKey:ze,height:Et,rowIndex:Ue},Lt&&!hn&&Lt.fixed)}})},_e=computed(()=>{const{rowData:$e,rowIndex:xe,rowKey:Ie,onRowHover:Ve}=$,ze=$.rowEventHandlers||{},Ue={};return Object.entries(ze).forEach(([qe,Et])=>{isFunction$5(Et)&&(Ue[qe]=Lt=>{Et({event:Lt,rowData:$e,rowIndex:xe,rowKey:Ie})})}),Ve&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:qe,hovered:Et})=>{const Lt=Ue[qe];Ue[qe]=hn=>{Ve({event:hn,hovered:Et,rowData:$e,rowIndex:xe,rowKey:Ie}),Lt==null||Lt(hn)}}),Ue}),Ce=$e=>{const{onRowExpand:xe,rowData:Ie,rowIndex:Ve,rowKey:ze}=$;xe==null||xe({expanded:$e,rowData:Ie,rowIndex:Ve,rowKey:ze})};return onMounted(()=>{unref(ue)&&pe(!0)}),{isScrolling:z,measurable:ue,measured:ie,rowRef:le,eventHandlers:_e,onExpand:Ce}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup($,{expose:z,slots:ie,attrs:le}){const{eventHandlers:ue,isScrolling:pe,measurable:_e,measured:Ce,rowRef:$e,onExpand:xe}=useTableRow($);return z({onExpand:xe}),()=>{const{columns:Ie,columnsStyles:Ve,expandColumnKey:ze,depth:Ue,rowData:qe,rowIndex:Et,style:Lt}=$;let hn=Ie.map((vn,_n)=>{const bn=isArray$c(qe.children)&&qe.children.length>0&&vn.key===ze;return ie.cell({column:vn,columns:Ie,columnIndex:_n,depth:Ue,style:Ve[vn.key],rowData:qe,rowIndex:Et,isScrolling:unref(pe),expandIconProps:bn?{rowData:qe,rowIndex:Et,onExpand:xe}:void 0})});if(ie.row&&(hn=ie.row({cells:hn.map(vn=>isArray$c(vn)&&vn.length===1?vn[0]:vn),style:Lt,columns:Ie,depth:Ue,rowData:qe,rowIndex:Et,isScrolling:unref(pe)})),unref(_e)){const{height:vn,..._n}=Lt||{},bn=unref(Ce);return createVNode("div",mergeProps({ref:$e,class:$.class,style:bn?Lt:_n,role:"row"},le,unref(ue)),[hn])}return createVNode("div",mergeProps(le,{ref:$e,class:$.class,style:Lt,role:"row"},unref(ue)),[hn])}}}),SortIcon=$=>{const{sortOrder:z}=$;return createVNode(ElIcon,{size:14,class:$.class},{default:()=>[z===SortOrder.ASC?createVNode(sort_up_default,null,null):createVNode(sort_down_default,null,null)]})},ExpandIcon=$=>{const{expanded:z,expandable:ie,onExpand:le,style:ue,size:pe}=$,_e={onClick:ie?()=>le(!z):void 0,class:$.class};return createVNode(ElIcon,mergeProps(_e,{size:pe,style:ue}),{default:()=>[createVNode(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=$=>{const z=ref(),ie=ref(),le=computed(()=>{const{data:Et,rowHeight:Lt,estimatedRowHeight:hn}=$;if(!hn)return Et.length*Lt}),ue=computed(()=>{const{fixedData:Et,rowHeight:Lt}=$;return((Et==null?void 0:Et.length)||0)*Lt}),pe=computed(()=>sum($.headerHeight)),_e=computed(()=>{const{height:Et}=$;return Math.max(0,Et-unref(pe)-unref(ue))}),Ce=computed(()=>unref(pe)+unref(ue)>0),$e=({data:Et,rowIndex:Lt})=>Et[Lt][$.rowKey];function xe({rowCacheStart:Et,rowCacheEnd:Lt,rowVisibleStart:hn,rowVisibleEnd:vn}){var _n;(_n=$.onRowsRendered)==null||_n.call($,{rowCacheStart:Et,rowCacheEnd:Lt,rowVisibleStart:hn,rowVisibleEnd:vn})}function Ie(Et,Lt){var hn;(hn=ie.value)==null||hn.resetAfterRowIndex(Et,Lt)}function Ve(Et,Lt){const hn=unref(z),vn=unref(ie);!hn||!vn||(isObject$9(Et)?(hn.scrollToLeft(Et.scrollLeft),vn.scrollTo(Et)):(hn.scrollToLeft(Et),vn.scrollTo({scrollLeft:Et,scrollTop:Lt})))}function ze(Et){var Lt;(Lt=unref(ie))==null||Lt.scrollTo({scrollTop:Et})}function Ue(Et,Lt){var hn;(hn=unref(ie))==null||hn.scrollToItem(Et,1,Lt)}function qe(){var Et,Lt;(Et=unref(ie))==null||Et.$forceUpdate(),(Lt=unref(z))==null||Lt.$forceUpdate()}return{bodyRef:ie,forceUpdate:qe,fixedRowHeight:ue,gridHeight:_e,hasHeader:Ce,headerHeight:pe,headerRef:z,totalHeight:le,itemKey:$e,onItemRendered:xe,resetAfterRowIndex:Ie,scrollTo:Ve,scrollToTop:ze,scrollToRow:Ue}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup($,{slots:z,expose:ie}){const{ns:le}=inject(TableV2InjectionKey),{bodyRef:ue,fixedRowHeight:pe,gridHeight:_e,hasHeader:Ce,headerRef:$e,headerHeight:xe,totalHeight:Ie,forceUpdate:Ve,itemKey:ze,onItemRendered:Ue,resetAfterRowIndex:qe,scrollTo:Et,scrollToTop:Lt,scrollToRow:hn}=useTableGrid($);ie({forceUpdate:Ve,totalHeight:Ie,scrollTo:Et,scrollToTop:Lt,scrollToRow:hn,resetAfterRowIndex:qe});const vn=()=>$.bodyWidth;return()=>{const{cache:_n,columns:bn,data:Cn,fixedData:Sn,useIsScrolling:En,scrollbarAlwaysOn:wn,scrollbarEndGap:Tn,scrollbarStartGap:kn,style:xn,rowHeight:Pn,bodyWidth:An,estimatedRowHeight:In,headerWidth:Fn,height:Dn,width:On,getRowHeight:Vn,onScroll:Mn}=$,zn=isNumber$4(In),Kn=zn?DynamicSizeGrid:FixedSizeGrid,Hn=unref(xe);return createVNode("div",{role:"table",class:[le.e("table"),$.class],style:xn},[createVNode(Kn,{ref:ue,data:Cn,useIsScrolling:En,itemKey:ze,columnCache:0,columnWidth:zn?vn:An,totalColumn:1,totalRow:Cn.length,rowCache:_n,rowHeight:zn?Vn:Pn,width:On,height:unref(_e),class:le.e("body"),role:"rowgroup",scrollbarStartGap:kn,scrollbarEndGap:Tn,scrollbarAlwaysOn:wn,onScroll:Mn,onItemRendered:Ue,perfMode:!1},{default:Xn=>{var lr;const yr=Cn[Xn.rowIndex];return(lr=z.row)==null?void 0:lr.call(z,{...Xn,columns:bn,rowData:yr})}}),unref(Ce)&&createVNode(TableV2Header,{ref:$e,class:le.e("header-wrapper"),columns:bn,headerData:Cn,headerHeight:$.headerHeight,fixedHeaderData:Sn,rowWidth:Fn,rowHeight:Pn,width:On,height:Math.min(Hn+unref(pe),Dn)},{dynamic:z.header,fixed:z.row})])}}});function _isSlot$5($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const MainTable=($,{slots:z})=>{const{mainTableRef:ie,...le}=$;return createVNode(TableGrid,mergeProps({ref:ie},le),_isSlot$5(z)?z:{default:()=>[z]})};function _isSlot$4($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const LeftTable$1=($,{slots:z})=>{if(!$.columns.length)return;const{leftTableRef:ie,...le}=$;return createVNode(TableGrid,mergeProps({ref:ie},le),_isSlot$4(z)?z:{default:()=>[z]})};function _isSlot$3($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const LeftTable=($,{slots:z})=>{if(!$.columns.length)return;const{rightTableRef:ie,...le}=$;return createVNode(TableGrid,mergeProps({ref:ie},le),_isSlot$3(z)?z:{default:()=>[z]})};function _isSlot$2($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const RowRenderer=($,{slots:z})=>{const{columns:ie,columnsStyles:le,depthMap:ue,expandColumnKey:pe,expandedRowKeys:_e,estimatedRowHeight:Ce,hasFixedColumns:$e,hoveringRowKey:xe,rowData:Ie,rowIndex:Ve,style:ze,isScrolling:Ue,rowProps:qe,rowClass:Et,rowKey:Lt,rowEventHandlers:hn,ns:vn,onRowHovered:_n,onRowExpanded:bn}=$,Cn=tryCall(Et,{columns:ie,rowData:Ie,rowIndex:Ve},""),Sn=tryCall(qe,{columns:ie,rowData:Ie,rowIndex:Ve}),En=Ie[Lt],wn=ue[En]||0,Tn=!!pe,kn=Ve<0,xn=[vn.e("row"),Cn,{[vn.e(`row-depth-${wn}`)]:Tn&&Ve>=0,[vn.is("expanded")]:Tn&&_e.includes(En),[vn.is("hovered")]:!Ue&&En===xe,[vn.is("fixed")]:!wn&&kn,[vn.is("customized")]:!!z.row}],Pn=$e?_n:void 0,An={...Sn,columns:ie,columnsStyles:le,class:xn,depth:wn,expandColumnKey:pe,estimatedRowHeight:kn?void 0:Ce,isScrolling:Ue,rowIndex:Ve,rowData:Ie,rowKey:En,rowEventHandlers:hn,style:ze};return createVNode(TableV2Row,mergeProps(An,{onRowHover:Pn,onRowExpand:bn}),_isSlot$2(z)?z:{default:()=>[z]})},CellRenderer=({columns:$,column:z,columnIndex:ie,depth:le,expandIconProps:ue,isScrolling:pe,rowData:_e,rowIndex:Ce,style:$e,expandedRowKeys:xe,ns:Ie,cellProps:Ve,expandColumnKey:ze,indentSize:Ue,iconSize:qe,rowKey:Et},{slots:Lt})=>{const hn=enforceUnit($e);if(z.placeholderSign===placeholderSign)return createVNode("div",{class:Ie.em("row-cell","placeholder"),style:hn},null);const{cellRenderer:vn,dataKey:_n,dataGetter:bn}=z,Sn=componentToSlot(vn)||Lt.default||(Dn=>createVNode(TableV2Cell,Dn,null)),En=isFunction$5(bn)?bn({columns:$,column:z,columnIndex:ie,rowData:_e,rowIndex:Ce}):get$1(_e,_n??""),wn=tryCall(Ve,{cellData:En,columns:$,column:z,columnIndex:ie,rowIndex:Ce,rowData:_e}),Tn={class:Ie.e("cell-text"),columns:$,column:z,columnIndex:ie,cellData:En,isScrolling:pe,rowData:_e,rowIndex:Ce},kn=Sn(Tn),xn=[Ie.e("row-cell"),z.class,z.align===Alignment.CENTER&&Ie.is("align-center"),z.align===Alignment.RIGHT&&Ie.is("align-right")],Pn=Ce>=0&&ze&&z.key===ze,An=Ce>=0&&xe.includes(_e[Et]);let In;const Fn=`margin-inline-start: ${le*Ue}px;`;return Pn&&(isObject$9(ue)?In=createVNode(ExpandIcon,mergeProps(ue,{class:[Ie.e("expand-icon"),Ie.is("expanded",An)],size:qe,expanded:An,style:Fn,expandable:!0}),null):In=createVNode("div",{style:[Fn,`width: ${qe}px; height: ${qe}px;`].join(" ")},null)),createVNode("div",mergeProps({class:xn,style:hn},wn,{role:"cell"}),[In,kn])};CellRenderer.inheritAttrs=!1;function _isSlot$1($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const HeaderRenderer=({columns:$,columnsStyles:z,headerIndex:ie,style:le,headerClass:ue,headerProps:pe,ns:_e},{slots:Ce})=>{const $e={columns:$,headerIndex:ie},xe=[_e.e("header-row"),tryCall(ue,$e,""),{[_e.is("customized")]:!!Ce.header}],Ie={...tryCall(pe,$e),columnsStyles:z,class:xe,columns:$,headerIndex:ie,style:le};return createVNode(TableV2HeaderRow,Ie,_isSlot$1(Ce)?Ce:{default:()=>[Ce]})},HeaderCellRenderer=($,{slots:z})=>{const{column:ie,ns:le,style:ue,onColumnSorted:pe}=$,_e=enforceUnit(ue);if(ie.placeholderSign===placeholderSign)return createVNode("div",{class:le.em("header-row-cell","placeholder"),style:_e},null);const{headerCellRenderer:Ce,headerClass:$e,sortable:xe}=ie,Ie={...$,class:le.e("header-cell-text")},ze=(componentToSlot(Ce)||z.default||(bn=>createVNode(HeaderCell,bn,null)))(Ie),{sortBy:Ue,sortState:qe,headerCellProps:Et}=$;let Lt,hn;if(qe){const bn=qe[ie.key];Lt=!!oppositeOrderMap[bn],hn=Lt?bn:SortOrder.ASC}else Lt=ie.key===Ue.key,hn=Lt?Ue.order:SortOrder.ASC;const vn=[le.e("header-cell"),tryCall($e,$,""),ie.align===Alignment.CENTER&&le.is("align-center"),ie.align===Alignment.RIGHT&&le.is("align-right"),xe&&le.is("sortable")],_n={...tryCall(Et,$),onClick:ie.sortable?pe:void 0,class:vn,style:_e,["data-key"]:ie.key};return createVNode("div",mergeProps(_n,{role:"columnheader"}),[ze,xe&&createVNode(SortIcon,{class:[le.e("sort-icon"),Lt&&le.is("sorting")],sortOrder:hn},null)])},Footer$1=($,{slots:z})=>{var ie;return createVNode("div",{class:$.class,style:$.style},[(ie=z.default)==null?void 0:ie.call(z)])};Footer$1.displayName="ElTableV2Footer";const Footer=($,{slots:z})=>createVNode("div",{class:$.class,style:$.style},[z.default?z.default():createVNode(ElEmpty,null,null)]);Footer.displayName="ElTableV2Empty";const Overlay=($,{slots:z})=>{var ie;return createVNode("div",{class:$.class,style:$.style},[(ie=z.default)==null?void 0:ie.call(z)])};Overlay.displayName="ElTableV2Overlay";function _isSlot($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup($,{slots:z,expose:ie}){const le=useNamespace("table-v2"),{columnsStyles:ue,fixedColumnsOnLeft:pe,fixedColumnsOnRight:_e,mainColumns:Ce,mainTableHeight:$e,fixedTableHeight:xe,leftTableWidth:Ie,rightTableWidth:Ve,data:ze,depthMap:Ue,expandedRowKeys:qe,hasFixedColumns:Et,hoveringRowKey:Lt,mainTableRef:hn,leftTableRef:vn,rightTableRef:_n,isDynamic:bn,isResetting:Cn,isScrolling:Sn,bodyWidth:En,emptyStyle:wn,rootStyle:Tn,headerWidth:kn,footerHeight:xn,showEmpty:Pn,scrollTo:An,scrollToLeft:In,scrollToTop:Fn,scrollToRow:Dn,getRowHeight:On,onColumnSorted:Vn,onRowHeightChange:Mn,onRowHovered:zn,onRowExpanded:Kn,onRowsRendered:Hn,onScroll:Xn,onVerticalScroll:lr}=useTable($);return ie({scrollTo:An,scrollToLeft:In,scrollToTop:Fn,scrollToRow:Dn}),provide(TableV2InjectionKey,{ns:le,isResetting:Cn,hoveringRowKey:Lt,isScrolling:Sn}),()=>{const{cache:yr,cellProps:ir,estimatedRowHeight:Yn,expandColumnKey:Gn,fixedData:Wn,headerHeight:Qn,headerClass:fr,headerProps:jn,headerCellProps:Zn,sortBy:rr,sortState:mr,rowHeight:_r,rowClass:or,rowEventHandlers:$r,rowKey:gr,rowProps:xr,scrollbarAlwaysOn:pr,indentSize:sr,iconSize:cr,useIsScrolling:hr,vScrollbarSize:Pr,width:Dr}=$,Lr=unref(ze),Nr={cache:yr,class:le.e("main"),columns:unref(Ce),data:Lr,fixedData:Wn,estimatedRowHeight:Yn,bodyWidth:unref(En),headerHeight:Qn,headerWidth:unref(kn),height:unref($e),mainTableRef:hn,rowKey:gr,rowHeight:_r,scrollbarAlwaysOn:pr,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:hr,width:Dr,getRowHeight:On,onRowsRendered:Hn,onScroll:Xn},br=unref(Ie),Tr=unref(xe),ur={cache:yr,class:le.e("left"),columns:unref(pe),data:Lr,estimatedRowHeight:Yn,leftTableRef:vn,rowHeight:_r,bodyWidth:br,headerWidth:br,headerHeight:Qn,height:Tr,rowKey:gr,scrollbarAlwaysOn:pr,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:hr,width:br,getRowHeight:On,onScroll:lr},ar=unref(Ve)+Pr,Sr={cache:yr,class:le.e("right"),columns:unref(_e),data:Lr,estimatedRowHeight:Yn,rightTableRef:_n,rowHeight:_r,bodyWidth:ar,headerWidth:ar,headerHeight:Qn,height:Tr,rowKey:gr,scrollbarAlwaysOn:pr,scrollbarStartGap:2,scrollbarEndGap:Pr,width:ar,style:`--${unref(le.namespace)}-table-scrollbar-size: ${Pr}px`,useIsScrolling:hr,getRowHeight:On,onScroll:lr},Or=unref(ue),Vr={ns:le,depthMap:unref(Ue),columnsStyles:Or,expandColumnKey:Gn,expandedRowKeys:unref(qe),estimatedRowHeight:Yn,hasFixedColumns:unref(Et),hoveringRowKey:unref(Lt),rowProps:xr,rowClass:or,rowKey:gr,rowEventHandlers:$r,onRowHovered:zn,onRowExpanded:Kn,onRowHeightChange:Mn},Cr={cellProps:ir,expandColumnKey:Gn,indentSize:sr,iconSize:cr,rowKey:gr,expandedRowKeys:unref(qe),ns:le},Mr={ns:le,headerClass:fr,headerProps:jn,columnsStyles:Or},Fr={ns:le,sortBy:rr,sortState:mr,headerCellProps:Zn,onColumnSorted:Vn},jr={row:Xr=>createVNode(RowRenderer,mergeProps(Xr,Vr),{row:z.row,cell:kr=>{let Rr;return z.cell?createVNode(CellRenderer,mergeProps(kr,Cr,{style:Or[kr.column.key]}),_isSlot(Rr=z.cell(kr))?Rr:{default:()=>[Rr]}):createVNode(CellRenderer,mergeProps(kr,Cr,{style:Or[kr.column.key]}),null)}}),header:Xr=>createVNode(HeaderRenderer,mergeProps(Xr,Mr),{header:z.header,cell:kr=>{let Rr;return z["header-cell"]?createVNode(HeaderCellRenderer,mergeProps(kr,Fr,{style:Or[kr.column.key]}),_isSlot(Rr=z["header-cell"](kr))?Rr:{default:()=>[Rr]}):createVNode(HeaderCellRenderer,mergeProps(kr,Fr,{style:Or[kr.column.key]}),null)}})},Gr=[$.class,le.b(),le.e("root"),{[le.is("dynamic")]:unref(bn)}],Yr={class:le.e("footer"),style:unref(xn)};return createVNode("div",{class:Gr,style:unref(Tn)},[createVNode(MainTable,Nr,_isSlot(jr)?jr:{default:()=>[jr]}),createVNode(LeftTable$1,ur,_isSlot(jr)?jr:{default:()=>[jr]}),createVNode(LeftTable,Sr,_isSlot(jr)?jr:{default:()=>[jr]}),z.footer&&createVNode(Footer$1,Yr,{default:z.footer}),unref(Pn)&&createVNode(Footer,{class:le.e("empty"),style:unref(wn)},{default:z.empty}),z.overlay&&createVNode(Overlay,{class:le.e("overlay")},{default:z.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup($,{slots:z}){const ie=useNamespace("auto-resizer"),{height:le,width:ue,sizer:pe}=useAutoResize($),_e={width:"100%",height:"100%"};return()=>{var Ce;return createVNode("div",{ref:pe,class:ie.b(),style:_e},[(Ce=z.default)==null?void 0:Ce.call(z,{height:le.value,width:ue.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($,{expose:z}){const ie=$,le=getCurrentInstance(),ue=inject(tabsRootContextKey);ue||throwError$1(COMPONENT_NAME$3,"<el-tabs><el-tab-bar /></el-tabs>");const pe=useNamespace("tabs"),_e=ref(),Ce=ref(),$e=()=>{let Ie=0,Ve=0;const ze=["top","bottom"].includes(ue.props.tabPosition)?"width":"height",Ue=ze==="width"?"x":"y",qe=Ue==="x"?"left":"top";return ie.tabs.every(Et=>{var Lt,hn;const vn=(hn=(Lt=le.parent)==null?void 0:Lt.refs)==null?void 0:hn[`tab-${Et.uid}`];if(!vn)return!1;if(!Et.active)return!0;Ie=vn[`offset${capitalize$1(qe)}`],Ve=vn[`client${capitalize$1(ze)}`];const _n=window.getComputedStyle(vn);return ze==="width"&&(ie.tabs.length>1&&(Ve-=Number.parseFloat(_n.paddingLeft)+Number.parseFloat(_n.paddingRight)),Ie+=Number.parseFloat(_n.paddingLeft)),!1}),{[ze]:`${Ve}px`,transform:`translate${capitalize$1(Ue)}(${Ie}px)`}},xe=()=>Ce.value=$e();return watch(()=>ie.tabs,async()=>{await nextTick(),xe()},{immediate:!0}),useResizeObserver$1(_e,()=>xe()),z({ref:_e,update:xe}),(Ie,Ve)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:_e,class:normalizeClass([unref(pe).e("active-bar"),unref(pe).is(unref(ue).props.tabPosition)]),style:normalizeStyle$1(Ce.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:($,z,ie)=>ie instanceof Event,tabRemove:($,z)=>z instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup($,{expose:z,emit:ie}){const le=getCurrentInstance(),ue=inject(tabsRootContextKey);ue||throwError$1(COMPONENT_NAME$2,"<el-tabs><tab-nav /></el-tabs>");const pe=useNamespace("tabs"),_e=useDocumentVisibility(),Ce=useWindowFocus(),$e=ref(),xe=ref(),Ie=ref(),Ve=ref(),ze=ref(!1),Ue=ref(0),qe=ref(!1),Et=ref(!0),Lt=computed(()=>["top","bottom"].includes(ue.props.tabPosition)?"width":"height"),hn=computed(()=>({transform:`translate${Lt.value==="width"?"X":"Y"}(-${Ue.value}px)`})),vn=()=>{if(!$e.value)return;const Tn=$e.value[`offset${capitalize$1(Lt.value)}`],kn=Ue.value;if(!kn)return;const xn=kn>Tn?kn-Tn:0;Ue.value=xn},_n=()=>{if(!$e.value||!xe.value)return;const Tn=xe.value[`offset${capitalize$1(Lt.value)}`],kn=$e.value[`offset${capitalize$1(Lt.value)}`],xn=Ue.value;if(Tn-xn<=kn)return;const Pn=Tn-xn>kn*2?xn+kn:Tn-kn;Ue.value=Pn},bn=async()=>{const Tn=xe.value;if(!ze.value||!Ie.value||!$e.value||!Tn)return;await nextTick();const kn=Ie.value.querySelector(".is-active");if(!kn)return;const xn=$e.value,Pn=["top","bottom"].includes(ue.props.tabPosition),An=kn.getBoundingClientRect(),In=xn.getBoundingClientRect(),Fn=Pn?Tn.offsetWidth-In.width:Tn.offsetHeight-In.height,Dn=Ue.value;let On=Dn;Pn?(An.left<In.left&&(On=Dn-(In.left-An.left)),An.right>In.right&&(On=Dn+An.right-In.right)):(An.top<In.top&&(On=Dn-(In.top-An.top)),An.bottom>In.bottom&&(On=Dn+(An.bottom-In.bottom))),On=Math.max(On,0),Ue.value=Math.min(On,Fn)},Cn=()=>{var Tn;if(!xe.value||!$e.value)return;$.stretch&&((Tn=Ve.value)==null||Tn.update());const kn=xe.value[`offset${capitalize$1(Lt.value)}`],xn=$e.value[`offset${capitalize$1(Lt.value)}`],Pn=Ue.value;xn<kn?(ze.value=ze.value||{},ze.value.prev=Pn,ze.value.next=Pn+xn<kn,kn-Pn<xn&&(Ue.value=kn-xn)):(ze.value=!1,Pn>0&&(Ue.value=0))},Sn=Tn=>{const kn=Tn.code,{up:xn,down:Pn,left:An,right:In}=EVENT_CODE;if(![xn,Pn,An,In].includes(kn))return;const Fn=Array.from(Tn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Dn=Fn.indexOf(Tn.target);let On;kn===An||kn===xn?Dn===0?On=Fn.length-1:On=Dn-1:Dn<Fn.length-1?On=Dn+1:On=0,Fn[On].focus({preventScroll:!0}),Fn[On].click(),En()},En=()=>{Et.value&&(qe.value=!0)},wn=()=>qe.value=!1;return watch(_e,Tn=>{Tn==="hidden"?Et.value=!1:Tn==="visible"&&setTimeout(()=>Et.value=!0,50)}),watch(Ce,Tn=>{Tn?setTimeout(()=>Et.value=!0,50):Et.value=!1}),useResizeObserver$1(Ie,Cn),onMounted(()=>setTimeout(()=>bn(),0)),onUpdated(()=>Cn()),z({scrollToActiveTab:bn,removeFocus:wn}),watch(()=>$.panes,()=>le.update(),{flush:"post",deep:!0}),()=>{const Tn=ze.value?[createVNode("span",{class:[pe.e("nav-prev"),pe.is("disabled",!ze.value.prev)],onClick:vn},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[pe.e("nav-next"),pe.is("disabled",!ze.value.next)],onClick:_n},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,kn=$.panes.map((xn,Pn)=>{var An,In,Fn,Dn;const On=xn.uid,Vn=xn.props.disabled,Mn=(In=(An=xn.props.name)!=null?An:xn.index)!=null?In:`${Pn}`,zn=!Vn&&(xn.isClosable||$.editable);xn.index=`${Pn}`;const Kn=zn?createVNode(ElIcon,{class:"is-icon-close",onClick:lr=>ie("tabRemove",xn,lr)},{default:()=>[createVNode(close_default,null,null)]}):null,Hn=((Dn=(Fn=xn.slots).label)==null?void 0:Dn.call(Fn))||xn.props.label,Xn=!Vn&&xn.active?0:-1;return createVNode("div",{ref:`tab-${On}`,class:[pe.e("item"),pe.is(ue.props.tabPosition),pe.is("active",xn.active),pe.is("disabled",Vn),pe.is("closable",zn),pe.is("focus",qe.value)],id:`tab-${Mn}`,key:`tab-${On}`,"aria-controls":`pane-${Mn}`,role:"tab","aria-selected":xn.active,tabindex:Xn,onFocus:()=>En(),onBlur:()=>wn(),onClick:lr=>{wn(),ie("tabClick",xn,Mn,lr)},onKeydown:lr=>{zn&&(lr.code===EVENT_CODE.delete||lr.code===EVENT_CODE.backspace)&&ie("tabRemove",xn,lr)}},[Hn,Kn])});return createVNode("div",{ref:Ie,class:[pe.e("nav-wrap"),pe.is("scrollable",!!ze.value),pe.is(ue.props.tabPosition)]},[Tn,createVNode("div",{class:pe.e("nav-scroll"),ref:$e},[createVNode("div",{class:[pe.e("nav"),pe.is(ue.props.tabPosition),pe.is("stretch",$.stretch&&["top","bottom"].includes(ue.props.tabPosition))],ref:xe,style:hn.value,role:"tablist",onKeydown:Sn},[$.type?null:createVNode(TabBar,{ref:Ve,tabs:[...$.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=$=>isString$6($)||isNumber$4($),tabsEmits={[UPDATE_MODEL_EVENT]:$=>isPaneName($),tabClick:($,z)=>z instanceof Event,tabChange:$=>isPaneName($),edit:($,z)=>["remove","add"].includes(z),tabRemove:$=>isPaneName($),tabAdd:()=>!0};var Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup($,{emit:z,slots:ie,expose:le}){var ue,pe;const _e=useNamespace("tabs"),{children:Ce,addChild:$e,removeChild:xe}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),Ie=ref(),Ve=ref((pe=(ue=$.modelValue)!=null?ue:$.activeName)!=null?pe:"0"),ze=hn=>{Ve.value=hn,z(UPDATE_MODEL_EVENT,hn),z("tabChange",hn)},Ue=async hn=>{var vn,_n,bn;if(!(Ve.value===hn||isUndefined$1(hn)))try{await((vn=$.beforeLeave)==null?void 0:vn.call($,hn,Ve.value))!==!1&&(ze(hn),(bn=(_n=Ie.value)==null?void 0:_n.removeFocus)==null||bn.call(_n))}catch{}},qe=(hn,vn,_n)=>{hn.props.disabled||(Ue(vn),z("tabClick",hn,_n))},Et=(hn,vn)=>{hn.props.disabled||isUndefined$1(hn.props.name)||(vn.stopPropagation(),z("edit",hn.props.name,"remove"),z("tabRemove",hn.props.name))},Lt=()=>{z("edit",void 0,"add"),z("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(()=>!!$.activeName)),watch(()=>$.activeName,hn=>Ue(hn)),watch(()=>$.modelValue,hn=>Ue(hn)),watch(Ve,async()=>{var hn;await nextTick(),(hn=Ie.value)==null||hn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:$,currentName:Ve,registerPane:$e,unregisterPane:xe}),le({currentName:Ve}),()=>{const hn=$.editable||$.addable?createVNode("span",{class:_e.e("new-tab"),tabindex:"0",onClick:Lt,onKeydown:bn=>{bn.code===EVENT_CODE.enter&&Lt()}},[createVNode(ElIcon,{class:_e.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,vn=createVNode("div",{class:[_e.e("header"),_e.is($.tabPosition)]},[hn,createVNode(TabNav,{ref:Ie,currentName:Ve.value,editable:$.editable,type:$.type,panes:Ce.value,stretch:$.stretch,onTabClick:qe,onTabRemove:Et},null)]),_n=createVNode("div",{class:_e.e("content")},[renderSlot(ie,"default")]);return createVNode("div",{class:[_e.b(),_e.m($.tabPosition),{[_e.m("card")]:$.type==="card",[_e.m("border-card")]:$.type==="border-card"}]},[...$.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($){const z=$,ie=getCurrentInstance(),le=useSlots(),ue=inject(tabsRootContextKey);ue||throwError$1(COMPONENT_NAME$1,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const pe=useNamespace("tab-pane"),_e=ref(),Ce=computed(()=>z.closable||ue.props.closable),$e=computedEager(()=>{var Ue;return ue.currentName.value===((Ue=z.name)!=null?Ue:_e.value)}),xe=ref($e.value),Ie=computed(()=>{var Ue;return(Ue=z.name)!=null?Ue:_e.value}),Ve=computedEager(()=>!z.lazy||xe.value||$e.value);watch($e,Ue=>{Ue&&(xe.value=!0)});const ze=reactive({uid:ie.uid,slots:le,props:z,paneName:Ie,active:$e,index:_e,isClosable:Ce});return onMounted(()=>{ue.registerPane(ze)}),onUnmounted(()=>{ue.unregisterPane(ze.uid)}),(Ue,qe)=>unref(Ve)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(Ie)}`,class:normalizeClass(unref(pe).b()),role:"tabpanel","aria-hidden":!unref($e),"aria-labelledby":`tab-${unref(Ie)}`},[renderSlot(Ue.$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($){const z=$,ie=useFormSize(),le=useNamespace("text"),ue=computed(()=>[le.b(),le.m(z.type),le.m(ie.value),le.is("truncated",z.truncated)]);return(pe,_e)=>(openBlock(),createBlock(resolveDynamicComponent(pe.tag),{class:normalizeClass(unref(ue))},{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=$=>{const z=($||"").split(":");if(z.length>=2){let ie=Number.parseInt(z[0],10);const le=Number.parseInt(z[1],10),ue=$.toUpperCase();return ue.includes("AM")&&ie===12?ie=0:ue.includes("PM")&&ie!==12&&(ie+=12),{hours:ie,minutes:le}}return null},compareTime=($,z)=>{const ie=parseTime($);if(!ie)return-1;const le=parseTime(z);if(!le)return-1;const ue=ie.minutes+ie.hours*60,pe=le.minutes+le.hours*60;return ue===pe?0:ue>pe?1:-1},padTime=$=>`${$}`.padStart(2,"0"),formatTime$1=$=>`${padTime($.hours)}:${padTime($.minutes)}`,nextTime=($,z)=>{const ie=parseTime($);if(!ie)return"";const le=parseTime(z);if(!le)return"";const ue={hours:ie.hours,minutes:ie.minutes};return ue.minutes+=le.minutes,ue.hours+=le.hours,ue.hours+=Math.floor(ue.minutes/60),ue.minutes=ue.minutes%60,formatTime$1(ue)},__default__$h=defineComponent({name:"ElTimeSelect"}),_sfc_main$o=defineComponent({...__default__$h,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup($,{expose:z}){const ie=$;dayjs.extend(customParseFormat);const{Option:le}=ElSelect,ue=useNamespace("input"),pe=ref(),_e=useFormDisabled(),Ce=computed(()=>ie.modelValue),$e=computed(()=>{const Lt=parseTime(ie.start);return Lt?formatTime$1(Lt):null}),xe=computed(()=>{const Lt=parseTime(ie.end);return Lt?formatTime$1(Lt):null}),Ie=computed(()=>{const Lt=parseTime(ie.step);return Lt?formatTime$1(Lt):null}),Ve=computed(()=>{const Lt=parseTime(ie.minTime||"");return Lt?formatTime$1(Lt):null}),ze=computed(()=>{const Lt=parseTime(ie.maxTime||"");return Lt?formatTime$1(Lt):null}),Ue=computed(()=>{const Lt=[];if(ie.start&&ie.end&&ie.step){let hn=$e.value,vn;for(;hn&&xe.value&&compareTime(hn,xe.value)<=0;)vn=dayjs(hn,"HH:mm").format(ie.format),Lt.push({value:vn,disabled:compareTime(hn,Ve.value||"-1:-1")<=0||compareTime(hn,ze.value||"100:100")>=0}),hn=nextTime(hn,Ie.value)}return Lt});return z({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(Ce),disabled:unref(_e),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(ue).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(Ue),vn=>(openBlock(),createBlock(unref(le),{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=$=>{$.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup($,{slots:z}){const ie=useNamespace("timeline");return provide("timeline",z),()=>h$3("ul",{class:[ie.b()]},[renderSlot(z,"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($){const z=$,ie=useNamespace("timeline-item"),le=computed(()=>[ie.e("node"),ie.em("node",z.size||""),ie.em("node",z.type||""),ie.is("hollow",z.hollow)]);return(ue,pe)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(ie).b(),{[unref(ie).e("center")]:ue.center}])},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("tail"))},null,2),ue.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le)),style:normalizeStyle$1({backgroundColor:ue.color})},[ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),ue.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("dot"))},[renderSlot(ue.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("wrapper"))},[!ue.hideTimestamp&&ue.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(ie).e("timestamp"),unref(ie).is("top")])},toDisplayString$1(ue.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(ue.$slots,"default")],2),!ue.hideTimestamp&&ue.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(ie).e("timestamp"),unref(ie).is("bottom")])},toDisplayString$1(ue.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=($=>($.top="top",$.bottom="bottom",$.left="left",$.right="right",$))(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($,{expose:z}){const ie=$,le=ref(ie.defaultOpen),ue=ref(null),pe=computed({get:()=>isPropAbsent(ie.open)?le.value:ie.open,set:Lt=>{var hn;le.value=Lt,(hn=ie["onUpdate:open"])==null||hn.call(ie,Lt)}}),_e=computed(()=>isNumber$4(ie.delayDuration)&&ie.delayDuration>0),{start:Ce,stop:$e}=useTimeoutFn$1(()=>{pe.value=!0},computed(()=>ie.delayDuration),{immediate:!1}),xe=useNamespace("tooltip-v2"),Ie=useId(),Ve=()=>{$e(),pe.value=!0},ze=()=>{unref(_e)?Ce():Ve()},Ue=Ve,qe=()=>{$e(),pe.value=!1};return watch(pe,Lt=>{var hn;Lt&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),Ue()),(hn=ie.onOpenChange)==null||hn.call(ie,Lt)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,qe)}),onBeforeUnmount(()=>{$e(),document.removeEventListener(TOOLTIP_V2_OPEN,qe)}),provide(tooltipV2RootKey,{contentId:Ie,triggerRef:ue,ns:xe,onClose:qe,onDelayOpen:ze,onOpen:Ue}),z({onOpen:Ue,onClose:qe}),(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($){const z=$,{ns:ie}=inject(tooltipV2RootKey),{arrowRef:le}=inject(tooltipV2ContentKey),ue=computed(()=>{const{style:pe,width:_e,height:Ce}=z,$e=ie.namespace.value;return{[`--${$e}-tooltip-v2-arrow-width`]:`${_e}px`,[`--${$e}-tooltip-v2-arrow-height`]:`${Ce}px`,[`--${$e}-tooltip-v2-arrow-border-width`]:`${_e/2}px`,[`--${$e}-tooltip-v2-arrow-cover-width`]:_e/2-1,...pe||{}}});return(pe,_e)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:le,style:normalizeStyle$1(unref(ue)),class:normalizeClass(unref(ie).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($){const z=$,ie=computed(()=>[z.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(le,ue)=>(openBlock(),createElementBlock("span",mergeProps(le.$attrs,{style:unref(ie)}),[renderSlot(le.$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($){const z=$,{triggerRef:ie,contentId:le}=inject(tooltipV2RootKey),ue=ref(z.placement),pe=ref(z.strategy),_e=ref(null),{referenceRef:Ce,contentRef:$e,middlewareData:xe,x:Ie,y:Ve,update:ze}=useFloating({placement:ue,strategy:pe,middleware:computed(()=>{const _n=[D$2(z.offset)];return z.showArrow&&_n.push(arrowMiddleware({arrowRef:_e})),_n})}),Ue=useZIndex().nextZIndex(),qe=useNamespace("tooltip-v2"),Et=computed(()=>ue.value.split("-")[0]),Lt=computed(()=>({position:unref(pe),top:`${unref(Ve)||0}px`,left:`${unref(Ie)||0}px`,zIndex:Ue})),hn=computed(()=>{if(!z.showArrow)return{};const{arrow:_n}=unref(xe);return{[`--${qe.namespace.value}-tooltip-v2-arrow-x`]:`${_n==null?void 0:_n.x}px`||"",[`--${qe.namespace.value}-tooltip-v2-arrow-y`]:`${_n==null?void 0:_n.y}px`||""}}),vn=computed(()=>[qe.e("content"),qe.is("dark",z.effect==="dark"),qe.is(unref(pe)),z.contentClass]);return watch(_e,()=>ze()),watch(()=>z.placement,_n=>ue.value=_n),onMounted(()=>{watch(()=>z.reference||ie.value,_n=>{Ce.value=_n||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:_e}),(_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(Et),class:normalizeClass(unref(vn))},[renderSlot(_n.$slots,"default",{contentStyle:unref(Lt),contentClass:unref(vn)}),createVNode(unref(ElVisuallyHidden),{id:unref(le),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(Et)})],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($,{slots:z}){const ie=ref(),le=composeRefs(ie,ue=>{ue?$.setRef(ue.nextElementSibling):$.setRef(null)});return()=>{var ue;const[pe]=((ue=z.default)==null?void 0:ue.call(z))||[],_e=$.onlyChild?ensureOnlyChild(pe.children):pe.children;return createVNode(Fragment,{ref:le},[_e])}}});const __default__$b=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$i=defineComponent({...__default__$b,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup($){const z=$,{onClose:ie,onOpen:le,onDelayOpen:ue,triggerRef:pe,contentId:_e}=inject(tooltipV2RootKey);let Ce=!1;const $e=vn=>{pe.value=vn},xe=()=>{Ce=!1},Ie=composeEventHandlers(z.onMouseEnter,ue),Ve=composeEventHandlers(z.onMouseLeave,ie),ze=composeEventHandlers(z.onMouseDown,()=>{ie(),Ce=!0,document.addEventListener("mouseup",xe,{once:!0})}),Ue=composeEventHandlers(z.onFocus,()=>{Ce||le()}),qe=composeEventHandlers(z.onBlur,ie),Et=composeEventHandlers(z.onClick,vn=>{vn.detail===0&&ie()}),Lt={blur:qe,click:Et,focus:Ue,mousedown:ze,mouseenter:Ie,mouseleave:Ve},hn=(vn,_n,bn)=>{vn&&Object.entries(_n).forEach(([Cn,Sn])=>{vn[bn](Cn,Sn)})};return watch(pe,(vn,_n)=>{hn(vn,Lt,"addEventListener"),hn(_n,Lt,"removeEventListener"),vn&&vn.setAttribute("aria-describedby",_e.value)}),onBeforeUnmount(()=>{hn(pe.value,Lt,"removeEventListener"),document.removeEventListener("mouseup",xe)}),(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($){const ie=toRefs($),le=reactive(pick$1(ie,Object.keys(tooltipV2ArrowProps))),ue=reactive(pick$1(ie,Object.keys(tooltipV2ContentProps))),pe=reactive(pick$1(ie,Object.keys(tooltipV2RootProps))),_e=reactive(pick$1(ie,Object.keys(tooltipV2TriggerProps)));return(Ce,$e)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(pe)),{default:withCtx(({open:xe})=>[createVNode(TooltipV2Trigger,mergeProps(_e,{nowrap:""}),{default:withCtx(()=>[renderSlot(Ce.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:Ce.to,disabled:!Ce.teleported},[Ce.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},Ce.transitionProps)),{default:withCtx(()=>[Ce.alwaysOn||xe?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},ue)),{arrow:withCtx(({style:Ie,side:Ve})=>[Ce.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},le,{style:Ie,side:Ve}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Ce.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[Ce.alwaysOn||xe?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},ue)),{arrow:withCtx(({style:Ie,side:Ve})=>[Ce.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},le,{style:Ie,side:Ve}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Ce.$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=($,z)=>[$,z].every(isArray$c)||isArray$c($)&&isNil(z),transferEmits={[CHANGE_EVENT]:($,z,ie)=>[$,ie].every(isArray$c)&&["left","right"].includes(z),[UPDATE_MODEL_EVENT]:$=>isArray$c($),[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=$=>{const z={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...z,...$.props}))},useCheck$1=($,z,ie)=>{const le=usePropsAlias($),ue=computed(()=>$.data.filter(Ie=>isFunction$5($.filterMethod)?$.filterMethod(z.query,Ie):String(Ie[le.value.label]||Ie[le.value.key]).toLowerCase().includes(z.query.toLowerCase()))),pe=computed(()=>ue.value.filter(Ie=>!Ie[le.value.disabled])),_e=computed(()=>{const Ie=z.checked.length,Ve=$.data.length,{noChecked:ze,hasChecked:Ue}=$.format;return ze&&Ue?Ie>0?Ue.replace(/\${checked}/g,Ie.toString()).replace(/\${total}/g,Ve.toString()):ze.replace(/\${total}/g,Ve.toString()):`${Ie}/${Ve}`}),Ce=computed(()=>{const Ie=z.checked.length;return Ie>0&&Ie<pe.value.length}),$e=()=>{const Ie=pe.value.map(Ve=>Ve[le.value.key]);z.allChecked=Ie.length>0&&Ie.every(Ve=>z.checked.includes(Ve))},xe=Ie=>{z.checked=Ie?pe.value.map(Ve=>Ve[le.value.key]):[]};return watch(()=>z.checked,(Ie,Ve)=>{if($e(),z.checkChangeByUser){const ze=Ie.concat(Ve).filter(Ue=>!Ie.includes(Ue)||!Ve.includes(Ue));ie(CHECKED_CHANGE_EVENT,Ie,ze)}else ie(CHECKED_CHANGE_EVENT,Ie),z.checkChangeByUser=!0}),watch(pe,()=>{$e()}),watch(()=>$.data,()=>{const Ie=[],Ve=ue.value.map(ze=>ze[le.value.key]);z.checked.forEach(ze=>{Ve.includes(ze)&&Ie.push(ze)}),z.checkChangeByUser=!1,z.checked=Ie}),watch(()=>$.defaultChecked,(Ie,Ve)=>{if(Ve&&Ie.length===Ve.length&&Ie.every(qe=>Ve.includes(qe)))return;const ze=[],Ue=pe.value.map(qe=>qe[le.value.key]);Ie.forEach(qe=>{Ue.includes(qe)&&ze.push(qe)}),z.checkChangeByUser=!1,z.checked=ze},{immediate:!0}),{filteredData:ue,checkableData:pe,checkedSummary:_e,isIndeterminate:Ce,updateAllChecked:$e,handleAllCheckedChange:xe}},useCheckedChange=($,z)=>({onSourceCheckedChange:(ue,pe)=>{$.leftChecked=ue,pe&&z(LEFT_CHECK_CHANGE_EVENT,ue,pe)},onTargetCheckedChange:(ue,pe)=>{$.rightChecked=ue,pe&&z(RIGHT_CHECK_CHANGE_EVENT,ue,pe)}}),useComputedData=$=>{const z=usePropsAlias($),ie=computed(()=>$.data.reduce((pe,_e)=>(pe[_e[z.value.key]]=_e)&&pe,{})),le=computed(()=>$.data.filter(pe=>!$.modelValue.includes(pe[z.value.key]))),ue=computed(()=>$.targetOrder==="original"?$.data.filter(pe=>$.modelValue.includes(pe[z.value.key])):$.modelValue.reduce((pe,_e)=>{const Ce=ie.value[_e];return Ce&&pe.push(Ce),pe},[]));return{sourceData:le,targetData:ue}},useMove=($,z,ie)=>{const le=usePropsAlias($),ue=(Ce,$e,xe)=>{ie(UPDATE_MODEL_EVENT,Ce),ie(CHANGE_EVENT,Ce,$e,xe)};return{addToLeft:()=>{const Ce=$.modelValue.slice();z.rightChecked.forEach($e=>{const xe=Ce.indexOf($e);xe>-1&&Ce.splice(xe,1)}),ue(Ce,"left",z.rightChecked)},addToRight:()=>{let Ce=$.modelValue.slice();const $e=$.data.filter(xe=>{const Ie=xe[le.value.key];return z.leftChecked.includes(Ie)&&!$.modelValue.includes(Ie)}).map(xe=>xe[le.value.key]);Ce=$.targetOrder==="unshift"?$e.concat(Ce):Ce.concat($e),$.targetOrder==="original"&&(Ce=$.data.filter(xe=>Ce.includes(xe[le.value.key])).map(xe=>xe[le.value.key])),ue(Ce,"right",z.leftChecked)}}},__default__$9=defineComponent({name:"ElTransferPanel"}),_sfc_main$g=defineComponent({...__default__$9,props:transferPanelProps,emits:transferPanelEmits,setup($,{expose:z,emit:ie}){const le=$,ue=useSlots(),pe=({option:_n})=>_n,{t:_e}=useLocale(),Ce=useNamespace("transfer"),$e=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),xe=usePropsAlias(le),{filteredData:Ie,checkedSummary:Ve,isIndeterminate:ze,handleAllCheckedChange:Ue}=useCheck$1(le,$e,ie),qe=computed(()=>!isEmpty($e.query)&&isEmpty(Ie.value)),Et=computed(()=>!isEmpty(ue.default()[0].children)),{checked:Lt,allChecked:hn,query:vn}=toRefs($e);return z({query:vn}),(_n,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ce).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(Ce).be("panel","header"))},[createVNode(unref(ElCheckbox),{modelValue:unref(hn),"onUpdate:modelValue":bn[0]||(bn[0]=Cn=>isRef(hn)?hn.value=Cn:null),indeterminate:unref(ze),"validate-event":!1,onChange:unref(Ue)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(_n.title)+" ",1),createBaseVNode("span",null,toDisplayString$1(unref(Ve)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(Ce).be("panel","body"),unref(Ce).is("with-footer",unref(Et))])},[_n.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(vn),"onUpdate:modelValue":bn[1]||(bn[1]=Cn=>isRef(vn)?vn.value=Cn:null),class:normalizeClass(unref(Ce).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]=Cn=>isRef(Lt)?Lt.value=Cn:null),"validate-event":!1,class:normalizeClass([unref(Ce).is("filterable",_n.filterable),unref(Ce).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),Cn=>(openBlock(),createBlock(unref(ElCheckbox),{key:Cn[unref(xe).key],class:normalizeClass(unref(Ce).be("panel","item")),label:Cn[unref(xe).key],disabled:Cn[unref(xe).disabled],"validate-event":!1},{default:withCtx(()=>{var Sn;return[createVNode(pe,{option:(Sn=_n.optionRender)==null?void 0:Sn.call(_n,Cn)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(qe)&&!unref(isEmpty)(_n.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(Ce).be("panel","empty"))},toDisplayString$1(unref(qe)?unref(_e)("el.transfer.noMatch"):unref(_e)("el.transfer.noData")),3),[[vShow,unref(qe)||unref(isEmpty)(_n.data)]])],2),unref(Et)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Ce).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($,{expose:z,emit:ie}){const le=$,ue=useSlots(),{t:pe}=useLocale(),_e=useNamespace("transfer"),{formItem:Ce}=useFormItem(),$e=reactive({leftChecked:[],rightChecked:[]}),xe=usePropsAlias(le),{sourceData:Ie,targetData:Ve}=useComputedData(le),{onSourceCheckedChange:ze,onTargetCheckedChange:Ue}=useCheckedChange($e,ie),{addToLeft:qe,addToRight:Et}=useMove(le,$e,ie),Lt=ref(),hn=ref(),vn=wn=>{switch(wn){case"left":Lt.value.query="";break;case"right":hn.value.query="";break}},_n=computed(()=>le.buttonTexts.length===2),bn=computed(()=>le.titles[0]||pe("el.transfer.titles.0")),Cn=computed(()=>le.titles[1]||pe("el.transfer.titles.1")),Sn=computed(()=>le.filterPlaceholder||pe("el.transfer.filterPlaceholder"));watch(()=>le.modelValue,()=>{var wn;le.validateEvent&&((wn=Ce==null?void 0:Ce.validate)==null||wn.call(Ce,"change").catch(Tn=>void 0))});const En=computed(()=>wn=>le.renderContent?le.renderContent(h$3,wn):ue.default?ue.default({option:wn}):h$3("span",wn[xe.value.label]||wn[xe.value.key]));return z({clearQuery:vn,leftPanel:Lt,rightPanel:hn}),(wn,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_e).b())},[createVNode(TransferPanel,{ref_key:"leftPanel",ref:Lt,data:unref(Ie),"option-render":unref(En),placeholder:unref(Sn),title:unref(bn),filterable:wn.filterable,format:wn.format,"filter-method":wn.filterMethod,"default-checked":wn.leftDefaultChecked,props:le.props,onCheckedChange:unref(ze)},{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(_e).e("buttons"))},[createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(_e).e("button"),unref(_e).is("with-texts",unref(_n))]),disabled:unref(isEmpty)($e.rightChecked),onClick:unref(qe)},{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(_e).e("button"),unref(_e).is("with-texts",unref(_n))]),disabled:unref(isEmpty)($e.leftChecked),onClick:unref(Et)},{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(Ve),"option-render":unref(En),placeholder:unref(Sn),filterable:wn.filterable,format:wn.format,"filter-method":wn.filterMethod,title:unref(Cn),"default-checked":wn.rightDefaultChecked,props:le.props,onCheckedChange:unref(Ue)},{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($,z){!z||z[NODE_KEY]||Object.defineProperty(z,NODE_KEY,{value:$.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function($,z){return $?z[$]:z[NODE_KEY]},handleCurrentChange=($,z,ie)=>{const le=$.value.currentNode;ie();const ue=$.value.currentNode;le!==ue&&z("current-change",ue?ue.data:null,ue)},getChildState=$=>{let z=!0,ie=!0,le=!0;for(let ue=0,pe=$.length;ue<pe;ue++){const _e=$[ue];(_e.checked!==!0||_e.indeterminate)&&(z=!1,_e.disabled||(le=!1)),(_e.checked!==!1||_e.indeterminate)&&(ie=!1)}return{all:z,none:ie,allWithoutDisable:le,half:!z&&!ie}},reInitChecked=function($){if($.childNodes.length===0||$.loading)return;const{all:z,none:ie,half:le}=getChildState($.childNodes);z?($.checked=!0,$.indeterminate=!1):le?($.checked=!1,$.indeterminate=!0):ie&&($.checked=!1,$.indeterminate=!1);const ue=$.parent;!ue||ue.level===0||$.store.checkStrictly||reInitChecked(ue)},getPropertyFromData=function($,z){const ie=$.store.props,le=$.data||{},ue=ie[z];if(typeof ue=="function")return ue(le,$);if(typeof ue=="string")return le[ue];if(typeof ue>"u"){const pe=le[z];return pe===void 0?"":pe}};let nodeIdSeed=0;class Node{constructor(z){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 ie in z)hasOwn$4(z,ie)&&(this[ie]=z[ie]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const z=this.store;if(!z)throw new Error("[Node]store is required!");z.registerNode(this);const ie=z.props;if(ie&&typeof ie.isLeaf<"u"){const pe=getPropertyFromData(this,"isLeaf");typeof pe=="boolean"&&(this.isLeafByUser=pe)}if(z.lazy!==!0&&this.data?(this.setData(this.data),z.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&z.lazy&&z.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const le=z.defaultExpandedKeys,ue=z.key;ue&&le&&le.includes(this.key)&&this.expand(null,z.autoExpandParent),ue&&z.currentNodeKey!==void 0&&this.key===z.currentNodeKey&&(z.currentNode=this,z.currentNode.isCurrent=!0),z.lazy&&z._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(z){Array.isArray(z)||markNodeData(this,z),this.data=z,this.childNodes=[];let ie;this.level===0&&Array.isArray(this.data)?ie=this.data:ie=getPropertyFromData(this,"children")||[];for(let le=0,ue=ie.length;le<ue;le++)this.insertChild({data:ie[le]})}get label(){return getPropertyFromData(this,"label")}get key(){const z=this.store.key;return this.data?this.data[z]:null}get disabled(){return getPropertyFromData(this,"disabled")}get nextSibling(){const z=this.parent;if(z){const ie=z.childNodes.indexOf(this);if(ie>-1)return z.childNodes[ie+1]}return null}get previousSibling(){const z=this.parent;if(z){const ie=z.childNodes.indexOf(this);if(ie>-1)return ie>0?z.childNodes[ie-1]:null}return null}contains(z,ie=!0){return(this.childNodes||[]).some(le=>le===z||ie&&le.contains(z))}remove(){const z=this.parent;z&&z.removeChild(this)}insertChild(z,ie,le){if(!z)throw new Error("InsertChild error: child is required.");if(!(z instanceof Node)){if(!le){const ue=this.getChildren(!0);ue.includes(z.data)||(typeof ie>"u"||ie<0?ue.push(z.data):ue.splice(ie,0,z.data))}Object.assign(z,{parent:this,store:this.store}),z=reactive(new Node(z)),z instanceof Node&&z.initialize()}z.level=this.level+1,typeof ie>"u"||ie<0?this.childNodes.push(z):this.childNodes.splice(ie,0,z),this.updateLeafState()}insertBefore(z,ie){let le;ie&&(le=this.childNodes.indexOf(ie)),this.insertChild(z,le)}insertAfter(z,ie){let le;ie&&(le=this.childNodes.indexOf(ie),le!==-1&&(le+=1)),this.insertChild(z,le)}removeChild(z){const ie=this.getChildren()||[],le=ie.indexOf(z.data);le>-1&&ie.splice(le,1);const ue=this.childNodes.indexOf(z);ue>-1&&(this.store&&this.store.deregisterNode(z),z.parent=null,this.childNodes.splice(ue,1)),this.updateLeafState()}removeChildByData(z){let ie=null;for(let le=0;le<this.childNodes.length;le++)if(this.childNodes[le].data===z){ie=this.childNodes[le];break}ie&&this.removeChild(ie)}expand(z,ie){const le=()=>{if(ie){let ue=this.parent;for(;ue.level>0;)ue.expanded=!0,ue=ue.parent}this.expanded=!0,z&&z(),this.childNodes.forEach(ue=>{ue.canFocus=!0})};this.shouldLoadData()?this.loadData(ue=>{Array.isArray(ue)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),le())}):le()}doCreateChildren(z,ie={}){z.forEach(le=>{this.insertChild(Object.assign({data:le},ie),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(z=>{z.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 z=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!z||z.length===0;return}this.isLeaf=!1}setChecked(z,ie,le,ue){if(this.indeterminate=z==="half",this.checked=z===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:_e,allWithoutDisable:Ce}=getChildState(this.childNodes);!this.isLeaf&&!_e&&Ce&&(this.checked=!1,z=!1);const $e=()=>{if(ie){const xe=this.childNodes;for(let ze=0,Ue=xe.length;ze<Ue;ze++){const qe=xe[ze];ue=ue||z!==!1;const Et=qe.disabled?qe.checked:ue;qe.setChecked(Et,ie,!0,ue)}const{half:Ie,all:Ve}=getChildState(xe);Ve||(this.checked=Ve,this.indeterminate=Ie)}};if(this.shouldLoadData()){this.loadData(()=>{$e(),reInitChecked(this)},{checked:z!==!1});return}else $e()}const pe=this.parent;!pe||pe.level===0||le||reInitChecked(pe)}getChildren(z=!1){if(this.level===0)return this.data;const ie=this.data;if(!ie)return null;const le=this.store.props;let ue="children";return le&&(ue=le.children||"children"),ie[ue]===void 0&&(ie[ue]=null),z&&!ie[ue]&&(ie[ue]=[]),ie[ue]}updateChildren(){const z=this.getChildren()||[],ie=this.childNodes.map(pe=>pe.data),le={},ue=[];z.forEach((pe,_e)=>{const Ce=pe[NODE_KEY];!!Ce&&ie.findIndex(xe=>xe[NODE_KEY]===Ce)>=0?le[Ce]={index:_e,data:pe}:ue.push({index:_e,data:pe})}),this.store.lazy||ie.forEach(pe=>{le[pe[NODE_KEY]]||this.removeChildByData(pe)}),ue.forEach(({index:pe,data:_e})=>{this.insertChild({data:_e},pe)}),this.updateLeafState()}loadData(z,ie={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(ie).length)){this.loading=!0;const le=ue=>{this.childNodes=[],this.doCreateChildren(ue,ie),this.loaded=!0,this.loading=!1,this.updateLeafState(),z&&z.call(this,ue)};this.store.load(this,le)}else z&&z.call(this)}}class TreeStore{constructor(z){this.currentNode=null,this.currentNodeKey=null;for(const ie in z)hasOwn$4(z,ie)&&(this[ie]=z[ie]);this.nodesMap={}}initialize(){if(this.root=new Node({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const z=this.load;z(this.root,ie=>{this.root.doCreateChildren(ie),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(z){const ie=this.filterNodeMethod,le=this.lazy,ue=function(pe){const _e=pe.root?pe.root.childNodes:pe.childNodes;if(_e.forEach(Ce=>{Ce.visible=ie.call(Ce,z,Ce.data,Ce),ue(Ce)}),!pe.visible&&_e.length){let Ce=!0;Ce=!_e.some($e=>$e.visible),pe.root?pe.root.visible=Ce===!1:pe.visible=Ce===!1}z&&pe.visible&&!pe.isLeaf&&!le&&pe.expand()};ue(this)}setData(z){z!==this.root.data?(this.root.setData(z),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(z){if(z instanceof Node)return z;const ie=isObject$9(z)?getNodeKey(this.key,z):z;return this.nodesMap[ie]||null}insertBefore(z,ie){const le=this.getNode(ie);le.parent.insertBefore({data:z},le)}insertAfter(z,ie){const le=this.getNode(ie);le.parent.insertAfter({data:z},le)}remove(z){const ie=this.getNode(z);ie&&ie.parent&&(ie===this.currentNode&&(this.currentNode=null),ie.parent.removeChild(ie))}append(z,ie){const le=ie?this.getNode(ie):this.root;le&&le.insertChild({data:z})}_initDefaultCheckedNodes(){const z=this.defaultCheckedKeys||[],ie=this.nodesMap;z.forEach(le=>{const ue=ie[le];ue&&ue.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(z){(this.defaultCheckedKeys||[]).includes(z.key)&&z.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(z){z!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=z,this._initDefaultCheckedNodes())}registerNode(z){const ie=this.key;!z||!z.data||(ie?z.key!==void 0&&(this.nodesMap[z.key]=z):this.nodesMap[z.id]=z)}deregisterNode(z){!this.key||!z||!z.data||(z.childNodes.forEach(le=>{this.deregisterNode(le)}),delete this.nodesMap[z.key])}getCheckedNodes(z=!1,ie=!1){const le=[],ue=function(pe){(pe.root?pe.root.childNodes:pe.childNodes).forEach(Ce=>{(Ce.checked||ie&&Ce.indeterminate)&&(!z||z&&Ce.isLeaf)&&le.push(Ce.data),ue(Ce)})};return ue(this),le}getCheckedKeys(z=!1){return this.getCheckedNodes(z).map(ie=>(ie||{})[this.key])}getHalfCheckedNodes(){const z=[],ie=function(le){(le.root?le.root.childNodes:le.childNodes).forEach(pe=>{pe.indeterminate&&z.push(pe.data),ie(pe)})};return ie(this),z}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(z=>(z||{})[this.key])}_getAllNodes(){const z=[],ie=this.nodesMap;for(const le in ie)hasOwn$4(ie,le)&&z.push(ie[le]);return z}updateChildren(z,ie){const le=this.nodesMap[z];if(!le)return;const ue=le.childNodes;for(let pe=ue.length-1;pe>=0;pe--){const _e=ue[pe];this.remove(_e.data)}for(let pe=0,_e=ie.length;pe<_e;pe++){const Ce=ie[pe];this.append(Ce,le.data)}}_setCheckedKeys(z,ie=!1,le){const ue=this._getAllNodes().sort((Ce,$e)=>$e.level-Ce.level),pe=Object.create(null),_e=Object.keys(le);ue.forEach(Ce=>Ce.setChecked(!1,!1));for(let Ce=0,$e=ue.length;Ce<$e;Ce++){const xe=ue[Ce],Ie=xe.data[z].toString();if(!_e.includes(Ie)){xe.checked&&!pe[Ie]&&xe.setChecked(!1,!1);continue}let ze=xe.parent;for(;ze&&ze.level>0;)pe[ze.data[z]]=!0,ze=ze.parent;if(xe.isLeaf||this.checkStrictly){xe.setChecked(!0,!1);continue}if(xe.setChecked(!0,!0),ie){xe.setChecked(!1,!1);const Ue=function(qe){qe.childNodes.forEach(Lt=>{Lt.isLeaf||Lt.setChecked(!1,!1),Ue(Lt)})};Ue(xe)}}}setCheckedNodes(z,ie=!1){const le=this.key,ue={};z.forEach(pe=>{ue[(pe||{})[le]]=!0}),this._setCheckedKeys(le,ie,ue)}setCheckedKeys(z,ie=!1){this.defaultCheckedKeys=z;const le=this.key,ue={};z.forEach(pe=>{ue[pe]=!0}),this._setCheckedKeys(le,ie,ue)}setDefaultExpandedKeys(z){z=z||[],this.defaultExpandedKeys=z,z.forEach(ie=>{const le=this.getNode(ie);le&&le.expand(null,this.autoExpandParent)})}setChecked(z,ie,le){const ue=this.getNode(z);ue&&ue.setChecked(!!ie,le)}getCurrentNode(){return this.currentNode}setCurrentNode(z){const ie=this.currentNode;ie&&(ie.isCurrent=!1),this.currentNode=z,this.currentNode.isCurrent=!0}setUserCurrentNode(z,ie=!0){const le=z[this.key],ue=this.nodesMap[le];this.setCurrentNode(ue),ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(z,ie=!0){if(z==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const le=this.getNode(z);le&&(this.setCurrentNode(le),ie&&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($){const z=useNamespace("tree"),ie=inject("NodeInstance"),le=inject("RootTree");return()=>{const ue=$.node,{data:pe,store:_e}=ue;return $.renderContent?$.renderContent(h$3,{_self:ie,node:ue,data:pe,store:_e}):le.ctx.slots.default?le.ctx.slots.default({node:ue,data:pe}):h$3("span",{class:z.be("node","label")},[ue.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($){const z=inject("TreeNodeMap",null),ie={treeNodeExpand:le=>{$.node!==le&&$.node.collapse()},children:[]};return z&&z.children.push(ie),provide("TreeNodeMap",ie),{broadcastExpanded:le=>{if($.accordion)for(const ue of ie.children)ue.treeNodeExpand(le)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:$,ctx:z,el$:ie,dropIndicator$:le,store:ue}){const pe=useNamespace("tree"),_e=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:Ie,treeNode:Ve})=>{if(typeof $.allowDrag=="function"&&!$.allowDrag(Ve.node))return Ie.preventDefault(),!1;Ie.dataTransfer.effectAllowed="move";try{Ie.dataTransfer.setData("text/plain","")}catch{}_e.value.draggingNode=Ve,z.emit("node-drag-start",Ve.node,Ie)},treeNodeDragOver:({event:Ie,treeNode:Ve})=>{const ze=Ve,Ue=_e.value.dropNode;Ue&&Ue.node.id!==ze.node.id&&removeClass(Ue.$el,pe.is("drop-inner"));const qe=_e.value.draggingNode;if(!qe||!ze)return;let Et=!0,Lt=!0,hn=!0,vn=!0;typeof $.allowDrop=="function"&&(Et=$.allowDrop(qe.node,ze.node,"prev"),vn=Lt=$.allowDrop(qe.node,ze.node,"inner"),hn=$.allowDrop(qe.node,ze.node,"next")),Ie.dataTransfer.dropEffect=Lt||Et||hn?"move":"none",(Et||Lt||hn)&&(Ue==null?void 0:Ue.node.id)!==ze.node.id&&(Ue&&z.emit("node-drag-leave",qe.node,Ue.node,Ie),z.emit("node-drag-enter",qe.node,ze.node,Ie)),(Et||Lt||hn)&&(_e.value.dropNode=ze),ze.node.nextSibling===qe.node&&(hn=!1),ze.node.previousSibling===qe.node&&(Et=!1),ze.node.contains(qe.node,!1)&&(Lt=!1),(qe.node===ze.node||qe.node.contains(ze.node))&&(Et=!1,Lt=!1,hn=!1);const _n=ze.$el.getBoundingClientRect(),bn=ie.value.getBoundingClientRect();let Cn;const Sn=Et?Lt?.25:hn?.45:1:-1,En=hn?Lt?.75:Et?.55:0:1;let wn=-9999;const Tn=Ie.clientY-_n.top;Tn<_n.height*Sn?Cn="before":Tn>_n.height*En?Cn="after":Lt?Cn="inner":Cn="none";const kn=ze.$el.querySelector(`.${pe.be("node","expand-icon")}`).getBoundingClientRect(),xn=le.value;Cn==="before"?wn=kn.top-bn.top:Cn==="after"&&(wn=kn.bottom-bn.top),xn.style.top=`${wn}px`,xn.style.left=`${kn.right-bn.left}px`,Cn==="inner"?addClass(ze.$el,pe.is("drop-inner")):removeClass(ze.$el,pe.is("drop-inner")),_e.value.showDropIndicator=Cn==="before"||Cn==="after",_e.value.allowDrop=_e.value.showDropIndicator||vn,_e.value.dropType=Cn,z.emit("node-drag-over",qe.node,ze.node,Ie)},treeNodeDragEnd:Ie=>{const{draggingNode:Ve,dropType:ze,dropNode:Ue}=_e.value;if(Ie.preventDefault(),Ie.dataTransfer.dropEffect="move",Ve&&Ue){const qe={data:Ve.node.data};ze!=="none"&&Ve.node.remove(),ze==="before"?Ue.node.parent.insertBefore(qe,Ue.node):ze==="after"?Ue.node.parent.insertAfter(qe,Ue.node):ze==="inner"&&Ue.node.insertChild(qe),ze!=="none"&&ue.value.registerNode(qe),removeClass(Ue.$el,pe.is("drop-inner")),z.emit("node-drag-end",Ve.node,Ue.node,ze,Ie),ze!=="none"&&z.emit("node-drop",Ve.node,Ue.node,ze,Ie)}Ve&&!Ue&&z.emit("node-drag-end",Ve.node,null,ze,Ie),_e.value.showDropIndicator=!1,_e.value.draggingNode=null,_e.value.dropNode=null,_e.value.allowDrop=!0}}),{dragState:_e}}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($,z){const ie=useNamespace("tree"),{broadcastExpanded:le}=useNodeExpandEventBroadcast($),ue=inject("RootTree"),pe=ref(!1),_e=ref(!1),Ce=ref(null),$e=ref(null),xe=ref(null),Ie=inject(dragEventsKey),Ve=getCurrentInstance();provide("NodeInstance",Ve),$.node.expanded&&(pe.value=!0,_e.value=!0);const ze=ue.props.children||"children";watch(()=>{const Tn=$.node.data[ze];return Tn&&[...Tn]},()=>{$.node.updateChildren()}),watch(()=>$.node.indeterminate,Tn=>{Et($.node.checked,Tn)}),watch(()=>$.node.checked,Tn=>{Et(Tn,$.node.indeterminate)}),watch(()=>$.node.expanded,Tn=>{nextTick(()=>pe.value=Tn),Tn&&(_e.value=!0)});const Ue=Tn=>getNodeKey(ue.props.nodeKey,Tn.data),qe=Tn=>{const kn=$.props.class;if(!kn)return{};let xn;if(isFunction$5(kn)){const{data:Pn}=Tn;xn=kn(Pn,Tn)}else xn=kn;return isString$6(xn)?{[xn]:!0}:xn},Et=(Tn,kn)=>{(Ce.value!==Tn||$e.value!==kn)&&ue.ctx.emit("check-change",$.node.data,Tn,kn),Ce.value=Tn,$e.value=kn},Lt=Tn=>{handleCurrentChange(ue.store,ue.ctx.emit,()=>ue.store.value.setCurrentNode($.node)),ue.currentNode.value=$.node,ue.props.expandOnClickNode&&vn(),ue.props.checkOnClickNode&&!$.node.disabled&&_n(null,{target:{checked:!$.node.checked}}),ue.ctx.emit("node-click",$.node.data,$.node,Ve,Tn)},hn=Tn=>{ue.instance.vnode.props.onNodeContextmenu&&(Tn.stopPropagation(),Tn.preventDefault()),ue.ctx.emit("node-contextmenu",Tn,$.node.data,$.node,Ve)},vn=()=>{$.node.isLeaf||(pe.value?(ue.ctx.emit("node-collapse",$.node.data,$.node,Ve),$.node.collapse()):($.node.expand(),z.emit("node-expand",$.node.data,$.node,Ve)))},_n=(Tn,kn)=>{$.node.setChecked(kn.target.checked,!ue.props.checkStrictly),nextTick(()=>{const xn=ue.store.value;ue.ctx.emit("check",$.node.data,{checkedNodes:xn.getCheckedNodes(),checkedKeys:xn.getCheckedKeys(),halfCheckedNodes:xn.getHalfCheckedNodes(),halfCheckedKeys:xn.getHalfCheckedKeys()})})};return{ns:ie,node$:xe,tree:ue,expanded:pe,childNodeRendered:_e,oldChecked:Ce,oldIndeterminate:$e,getNodeKey:Ue,getNodeClass:qe,handleSelectChange:Et,handleClick:Lt,handleContextMenu:hn,handleExpandIconClick:vn,handleCheckChange:_n,handleChildNodeExpand:(Tn,kn,xn)=>{le(kn),ue.ctx.emit("node-expand",Tn,kn,xn)},handleDragStart:Tn=>{ue.props.draggable&&Ie.treeNodeDragStart({event:Tn,treeNode:$})},handleDragOver:Tn=>{Tn.preventDefault(),ue.props.draggable&&Ie.treeNodeDragOver({event:Tn,treeNode:{$el:xe.value,node:$.node}})},handleDrop:Tn=>{Tn.preventDefault()},handleDragEnd:Tn=>{ue.props.draggable&&Ie.treeNodeDragEnd(Tn)},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($,z,ie,le,ue,pe){const _e=resolveComponent("el-icon"),Ce=resolveComponent("el-checkbox"),$e=resolveComponent("loading"),xe=resolveComponent("node-content"),Ie=resolveComponent("el-tree-node"),Ve=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([$.ns.b("node"),$.ns.is("expanded",$.expanded),$.ns.is("current",$.node.isCurrent),$.ns.is("hidden",!$.node.visible),$.ns.is("focusable",!$.node.disabled),$.ns.is("checked",!$.node.disabled&&$.node.checked),$.getNodeClass($.node)]),role:"treeitem",tabindex:"-1","aria-expanded":$.expanded,"aria-disabled":$.node.disabled,"aria-checked":$.node.checked,draggable:$.tree.props.draggable,"data-key":$.getNodeKey($.node),onClick:z[1]||(z[1]=withModifiers((...ze)=>$.handleClick&&$.handleClick(...ze),["stop"])),onContextmenu:z[2]||(z[2]=(...ze)=>$.handleContextMenu&&$.handleContextMenu(...ze)),onDragstart:z[3]||(z[3]=withModifiers((...ze)=>$.handleDragStart&&$.handleDragStart(...ze),["stop"])),onDragover:z[4]||(z[4]=withModifiers((...ze)=>$.handleDragOver&&$.handleDragOver(...ze),["stop"])),onDragend:z[5]||(z[5]=withModifiers((...ze)=>$.handleDragEnd&&$.handleDragEnd(...ze),["stop"])),onDrop:z[6]||(z[6]=withModifiers((...ze)=>$.handleDrop&&$.handleDrop(...ze),["stop"]))},[createBaseVNode("div",{class:normalizeClass($.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:($.node.level-1)*$.tree.props.indent+"px"})},[$.tree.props.icon||$.CaretRight?(openBlock(),createBlock(_e,{key:0,class:normalizeClass([$.ns.be("node","expand-icon"),$.ns.is("leaf",$.node.isLeaf),{expanded:!$.node.isLeaf&&$.expanded}]),onClick:withModifiers($.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.tree.props.icon||$.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),$.showCheckbox?(openBlock(),createBlock(Ce,{key:1,"model-value":$.node.checked,indeterminate:$.node.indeterminate,disabled:!!$.node.disabled,onClick:z[0]||(z[0]=withModifiers(()=>{},["stop"])),onChange:$.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),$.node.loading?(openBlock(),createBlock(_e,{key:2,class:normalizeClass([$.ns.be("node","loading-icon"),$.ns.is("loading")])},{default:withCtx(()=>[createVNode($e)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(xe,{node:$.node,"render-content":$.renderContent},null,8,["node","render-content"])],6),createVNode(Ve,null,{default:withCtx(()=>[!$.renderAfterExpand||$.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.be("node","children")),role:"group","aria-expanded":$.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.node.childNodes,ze=>(openBlock(),createBlock(Ie,{key:$.getNodeKey(ze),"render-content":$.renderContent,"render-after-expand":$.renderAfterExpand,"show-checkbox":$.showCheckbox,node:ze,accordion:$.accordion,props:$.props,onNodeExpand:$.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$7)),[[vShow,$.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$9)),[[vShow,$.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$:$},z){const ie=useNamespace("tree"),le=shallowRef([]),ue=shallowRef([]);onMounted(()=>{_e()}),onUpdated(()=>{le.value=Array.from($.value.querySelectorAll("[role=treeitem]")),ue.value=Array.from($.value.querySelectorAll("input[type=checkbox]"))}),watch(ue,Ce=>{Ce.forEach($e=>{$e.setAttribute("tabindex","-1")})}),useEventListener$1($,"keydown",Ce=>{const $e=Ce.target;if(!$e.className.includes(ie.b("node")))return;const xe=Ce.code;le.value=Array.from($.value.querySelectorAll(`.${ie.is("focusable")}[role=treeitem]`));const Ie=le.value.indexOf($e);let Ve;if([EVENT_CODE.up,EVENT_CODE.down].includes(xe)){if(Ce.preventDefault(),xe===EVENT_CODE.up){Ve=Ie===-1?0:Ie!==0?Ie-1:le.value.length-1;const Ue=Ve;for(;!z.value.getNode(le.value[Ve].dataset.key).canFocus;){if(Ve--,Ve===Ue){Ve=-1;break}Ve<0&&(Ve=le.value.length-1)}}else{Ve=Ie===-1?0:Ie<le.value.length-1?Ie+1:0;const Ue=Ve;for(;!z.value.getNode(le.value[Ve].dataset.key).canFocus;){if(Ve++,Ve===Ue){Ve=-1;break}Ve>=le.value.length&&(Ve=0)}}Ve!==-1&&le.value[Ve].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(xe)&&(Ce.preventDefault(),$e.click());const ze=$e.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(xe)&&ze&&(Ce.preventDefault(),ze.click())});const _e=()=>{var Ce;le.value=Array.from($.value.querySelectorAll(`.${ie.is("focusable")}[role=treeitem]`)),ue.value=Array.from($.value.querySelectorAll("input[type=checkbox]"));const $e=$.value.querySelectorAll(`.${ie.is("checked")}[role=treeitem]`);if($e.length){$e[0].setAttribute("tabindex","0");return}(Ce=le.value[0])==null||Ce.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($,z){const{t:ie}=useLocale(),le=useNamespace("tree"),ue=ref(new TreeStore({key:$.nodeKey,data:$.data,lazy:$.lazy,props:$.props,load:$.load,currentNodeKey:$.currentNodeKey,checkStrictly:$.checkStrictly,checkDescendants:$.checkDescendants,defaultCheckedKeys:$.defaultCheckedKeys,defaultExpandedKeys:$.defaultExpandedKeys,autoExpandParent:$.autoExpandParent,defaultExpandAll:$.defaultExpandAll,filterNodeMethod:$.filterNodeMethod}));ue.value.initialize();const pe=ref(ue.value.root),_e=ref(null),Ce=ref(null),$e=ref(null),{broadcastExpanded:xe}=useNodeExpandEventBroadcast($),{dragState:Ie}=useDragNodeHandler({props:$,ctx:z,el$:Ce,dropIndicator$:$e,store:ue});useKeydown({el$:Ce},ue);const Ve=computed(()=>{const{childNodes:On}=pe.value;return!On||On.length===0||On.every(({visible:Vn})=>!Vn)});watch(()=>$.currentNodeKey,On=>{ue.value.setCurrentNodeKey(On)}),watch(()=>$.defaultCheckedKeys,On=>{ue.value.setDefaultCheckedKey(On)}),watch(()=>$.defaultExpandedKeys,On=>{ue.value.setDefaultExpandedKeys(On)}),watch(()=>$.data,On=>{ue.value.setData(On)},{deep:!0}),watch(()=>$.checkStrictly,On=>{ue.value.checkStrictly=On});const ze=On=>{if(!$.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");ue.value.filter(On)},Ue=On=>getNodeKey($.nodeKey,On.data),qe=On=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const Vn=ue.value.getNode(On);if(!Vn)return[];const Mn=[Vn.data];let zn=Vn.parent;for(;zn&&zn!==pe.value;)Mn.push(zn.data),zn=zn.parent;return Mn.reverse()},Et=(On,Vn)=>ue.value.getCheckedNodes(On,Vn),Lt=On=>ue.value.getCheckedKeys(On),hn=()=>{const On=ue.value.getCurrentNode();return On?On.data:null},vn=()=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const On=hn();return On?On[$.nodeKey]:null},_n=(On,Vn)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");ue.value.setCheckedNodes(On,Vn)},bn=(On,Vn)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");ue.value.setCheckedKeys(On,Vn)},Cn=(On,Vn,Mn)=>{ue.value.setChecked(On,Vn,Mn)},Sn=()=>ue.value.getHalfCheckedNodes(),En=()=>ue.value.getHalfCheckedKeys(),wn=(On,Vn=!0)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(ue,z.emit,()=>ue.value.setUserCurrentNode(On,Vn))},Tn=(On,Vn=!0)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(ue,z.emit,()=>ue.value.setCurrentNodeKey(On,Vn))},kn=On=>ue.value.getNode(On),xn=On=>{ue.value.remove(On)},Pn=(On,Vn)=>{ue.value.append(On,Vn)},An=(On,Vn)=>{ue.value.insertBefore(On,Vn)},In=(On,Vn)=>{ue.value.insertAfter(On,Vn)},Fn=(On,Vn,Mn)=>{xe(Vn),z.emit("node-expand",On,Vn,Mn)},Dn=(On,Vn)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");ue.value.updateChildren(On,Vn)};return provide("RootTree",{ctx:z,props:$,store:ue,root:pe,currentNode:_e,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:le,store:ue,root:pe,currentNode:_e,dragState:Ie,el$:Ce,dropIndicator$:$e,isEmpty:Ve,filter:ze,getNodeKey:Ue,getNodePath:qe,getCheckedNodes:Et,getCheckedKeys:Lt,getCurrentNode:hn,getCurrentKey:vn,setCheckedNodes:_n,setCheckedKeys:bn,setChecked:Cn,getHalfCheckedNodes:Sn,getHalfCheckedKeys:En,setCurrentNode:wn,setCurrentKey:Tn,t:ie,getNode:kn,remove:xn,append:Pn,insertBefore:An,insertAfter:In,handleNodeExpand:Fn,updateKeyChildren:Dn}}});function _sfc_render$2($,z,ie,le,ue,pe){const _e=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([$.ns.b(),$.ns.is("dragging",!!$.dragState.draggingNode),$.ns.is("drop-not-allow",!$.dragState.allowDrop),$.ns.is("drop-inner",$.dragState.dropType==="inner"),{[$.ns.m("highlight-current")]:$.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.root.childNodes,Ce=>(openBlock(),createBlock(_e,{key:$.getNodeKey(Ce),node:Ce,props:$.props,accordion:$.accordion,"render-after-expand":$.renderAfterExpand,"show-checkbox":$.showCheckbox,"render-content":$.renderContent,onNodeExpand:$.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),$.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.e("empty-block"))},[renderSlot($.$slots,"empty",{},()=>{var Ce;return[createBaseVNode("span",{class:normalizeClass($.ns.e("empty-text"))},toDisplayString$1((Ce=$.emptyText)!=null?Ce:$.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass($.ns.e("drop-indicator"))},null,2),[[vShow,$.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=$=>{$.component(Tree.name,Tree)};const _Tree=Tree,ElTree=_Tree,useSelect=($,{attrs:z},{tree:ie,key:le})=>{const ue=useNamespace("tree-select"),pe={...pick$1(toRefs($),Object.keys(ElSelect.props)),...z,valueKey:le,popperClass:computed(()=>{const _e=[ue.e("popper")];return $.popperClass&&_e.push($.popperClass),_e.join(" ")}),filterMethod:(_e="")=>{$.filterMethod&&$.filterMethod(_e),nextTick(()=>{var Ce;(Ce=ie.value)==null||Ce.filter(_e)})},onVisibleChange:_e=>{var Ce;(Ce=z.onVisibleChange)==null||Ce.call(z,_e),$.filterable&&_e&&pe.filterMethod()}};return pe},component$1=defineComponent({extends:ElOption,setup($,z){const ie=ElOption.setup($,z);delete ie.selectOptionClick;const le=getCurrentInstance().proxy;return nextTick(()=>{ie.select.cachedOptions.get(le.value)||ie.select.onOptionCreate(le)}),ie},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue($){return $||$===0}function isValidArray($){return Array.isArray($)&&$.length}function toValidArray($){return Array.isArray($)?$:isValidValue($)?[$]:[]}function treeFind($,z,ie,le,ue){for(let pe=0;pe<$.length;pe++){const _e=$[pe];if(z(_e,pe,$,ue))return le?le(_e,pe,$,ue):_e;{const Ce=ie(_e);if(isValidArray(Ce)){const $e=treeFind(Ce,z,ie,le,_e);if($e)return $e}}}}function treeEach($,z,ie,le){for(let ue=0;ue<$.length;ue++){const pe=$[ue];z(pe,ue,$,le);const _e=ie(pe);isValidArray(_e)&&treeEach(_e,z,ie,pe)}}const useTree$1=($,{attrs:z,slots:ie,emit:le},{select:ue,tree:pe,key:_e})=>{watch(()=>$.modelValue,()=>{$.showCheckbox&&nextTick(()=>{const ze=pe.value;ze&&!isEqual$1(ze.getCheckedKeys(),toValidArray($.modelValue))&&ze.setCheckedKeys(toValidArray($.modelValue))})},{immediate:!0,deep:!0});const Ce=computed(()=>({value:_e.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...$.props})),$e=(ze,Ue)=>{var qe;const Et=Ce.value[ze];return isFunction$5(Et)?Et(Ue,(qe=pe.value)==null?void 0:qe.getNode($e("value",Ue))):Ue[Et]},xe=toValidArray($.modelValue).map(ze=>treeFind($.data||[],Ue=>$e("value",Ue)===ze,Ue=>$e("children",Ue),(Ue,qe,Et,Lt)=>Lt&&$e("value",Lt))).filter(ze=>isValidValue(ze)),Ie=computed(()=>{if(!$.renderAfterExpand&&!$.lazy)return[];const ze=[];return treeEach($.data.concat($.cacheData),Ue=>{const qe=$e("value",Ue);ze.push({value:qe,currentLabel:$e("label",Ue),isDisabled:$e("disabled",Ue)})},Ue=>$e("children",Ue)),ze}),Ve=computed(()=>Ie.value.reduce((ze,Ue)=>({...ze,[Ue.value]:Ue}),{}));return{...pick$1(toRefs($),Object.keys(_Tree.props)),...z,nodeKey:_e,expandOnClickNode:computed(()=>!$.checkStrictly&&$.expandOnClickNode),defaultExpandedKeys:computed(()=>$.defaultExpandedKeys?$.defaultExpandedKeys.concat(xe):xe),renderContent:(ze,{node:Ue,data:qe,store:Et})=>ze(component$1,{value:$e("value",qe),label:$e("label",qe),disabled:$e("disabled",qe)},$.renderContent?()=>$.renderContent(ze,{node:Ue,data:qe,store:Et}):ie.default?()=>ie.default({node:Ue,data:qe,store:Et}):void 0),filterNodeMethod:(ze,Ue,qe)=>{var Et;return $.filterNodeMethod?$.filterNodeMethod(ze,Ue,qe):ze?(Et=$e("label",Ue))==null?void 0:Et.includes(ze):!0},onNodeClick:(ze,Ue,qe)=>{var Et,Lt,hn;if((Et=z.onNodeClick)==null||Et.call(z,ze,Ue,qe),!($.showCheckbox&&$.checkOnClickNode))if(!$.showCheckbox&&($.checkStrictly||Ue.isLeaf)){if(!$e("disabled",ze)){const vn=(Lt=ue.value)==null?void 0:Lt.options.get($e("value",ze));(hn=ue.value)==null||hn.handleOptionSelect(vn)}}else $.expandOnClickNode&&qe.proxy.handleExpandIconClick()},onCheck:(ze,Ue)=>{if(!$.showCheckbox)return;const qe=$e("value",ze),Et=Ue.checkedKeys,Lt=$.multiple?toValidArray($.modelValue).filter(vn=>vn in Ve.value&&!pe.value.getNode(vn)&&!Et.includes(vn)):[],hn=Et.concat(Lt);if($.checkStrictly)le(UPDATE_MODEL_EVENT,$.multiple?hn:hn.includes(qe)?qe:void 0);else if($.multiple)le(UPDATE_MODEL_EVENT,pe.value.getCheckedKeys(!0));else{const vn=treeFind([ze],Cn=>!isValidArray($e("children",Cn))&&!$e("disabled",Cn),Cn=>$e("children",Cn)),_n=vn?$e("value",vn):void 0,bn=isValidValue($.modelValue)&&!!treeFind([ze],Cn=>$e("value",Cn)===$.modelValue,Cn=>$e("children",Cn));le(UPDATE_MODEL_EVENT,_n===$.modelValue||bn?void 0:_n)}nextTick(()=>{var vn;const _n=toValidArray($.modelValue);pe.value.setCheckedKeys(_n),(vn=z.onCheck)==null||vn.call(z,ze,{checkedKeys:pe.value.getCheckedKeys(),checkedNodes:pe.value.getCheckedNodes(),halfCheckedKeys:pe.value.getHalfCheckedKeys(),halfCheckedNodes:pe.value.getHalfCheckedNodes()})})},cacheOptions:Ie}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup($){const z=inject(selectKey);return watch(()=>$.data,()=>{var ie;$.data.forEach(ue=>{z.cachedOptions.has(ue.value)||z.cachedOptions.set(ue.value,ue)});const le=((ie=z.selectWrapper)==null?void 0:ie.querySelectorAll("input"))||[];Array.from(le).includes(document.activeElement)||z.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$b=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup($,z){const{slots:ie,expose:le}=z,ue=ref(),pe=ref(),_e=computed(()=>$.nodeKey||$.valueKey||"value"),Ce=useSelect($,z,{select:ue,tree:pe,key:_e}),{cacheOptions:$e,...xe}=useTree$1($,z,{select:ue,tree:pe,key:_e}),Ie=reactive({});return le(Ie),onMounted(()=>{Object.assign(Ie,{...pick$1(pe.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$1(ue.value,["focus","blur"])})}),()=>h$3(ElSelect,reactive({...Ce,ref:Ve=>ue.value=Ve}),{...ie,default:()=>[h$3(CacheOptions,{data:$e.value}),h$3(_Tree,reactive({...xe,ref:Ve=>pe.value=Ve}))]})}});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=$=>{$.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=($=>($.KEY="id",$.LABEL="label",$.CHILDREN="children",$.DISABLED="disabled",$))(TreeOptionsEnum||{}),SetOperationEnum=($=>($.ADD="add",$.DELETE="delete",$))(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]:($,z,ie)=>$&&z&&ie,[NODE_EXPAND]:($,z)=>$&&z,[NODE_COLLAPSE]:($,z)=>$&&z,[CURRENT_CHANGE]:($,z)=>$&&z,[NODE_CHECK]:($,z)=>$&&z,[NODE_CHECK_CHANGE]:($,z)=>$&&typeof z=="boolean",[NODE_CONTEXTMENU]:($,z,ie)=>$&&z&&ie},treeNodeEmits={click:($,z)=>!!($&&z),toggle:$=>!!$,check:($,z)=>$&&typeof z=="boolean"};function useCheck($,z){const ie=ref(new Set),le=ref(new Set),{emit:ue}=getCurrentInstance();watch([()=>z.value,()=>$.defaultCheckedKeys],()=>nextTick(()=>{vn($.defaultCheckedKeys)}),{immediate:!0});const pe=()=>{if(!z.value||!$.showCheckbox||$.checkStrictly)return;const{levelTreeNodeMap:_n,maxLevel:bn}=z.value,Cn=ie.value,Sn=new Set;for(let En=bn-1;En>=1;--En){const wn=_n.get(En);wn&&wn.forEach(Tn=>{const kn=Tn.children;if(kn){let xn=!0,Pn=!1;for(const An of kn){const In=An.key;if(Cn.has(In))Pn=!0;else if(Sn.has(In)){xn=!1,Pn=!0;break}else xn=!1}xn?Cn.add(Tn.key):Pn?(Sn.add(Tn.key),Cn.delete(Tn.key)):(Cn.delete(Tn.key),Sn.delete(Tn.key))}})}le.value=Sn},_e=_n=>ie.value.has(_n.key),Ce=_n=>le.value.has(_n.key),$e=(_n,bn,Cn=!0)=>{const Sn=ie.value,En=(wn,Tn)=>{Sn[Tn?SetOperationEnum.ADD:SetOperationEnum.DELETE](wn.key);const kn=wn.children;!$.checkStrictly&&kn&&kn.forEach(xn=>{xn.disabled||En(xn,Tn)})};En(_n,bn),pe(),Cn&&xe(_n,bn)},xe=(_n,bn)=>{const{checkedNodes:Cn,checkedKeys:Sn}=qe(),{halfCheckedNodes:En,halfCheckedKeys:wn}=Et();ue(NODE_CHECK,_n.data,{checkedKeys:Sn,checkedNodes:Cn,halfCheckedKeys:wn,halfCheckedNodes:En}),ue(NODE_CHECK_CHANGE,_n.data,bn)};function Ie(_n=!1){return qe(_n).checkedKeys}function Ve(_n=!1){return qe(_n).checkedNodes}function ze(){return Et().halfCheckedKeys}function Ue(){return Et().halfCheckedNodes}function qe(_n=!1){const bn=[],Cn=[];if(z!=null&&z.value&&$.showCheckbox){const{treeNodeMap:Sn}=z.value;ie.value.forEach(En=>{const wn=Sn.get(En);wn&&(!_n||_n&&wn.isLeaf)&&(Cn.push(En),bn.push(wn.data))})}return{checkedKeys:Cn,checkedNodes:bn}}function Et(){const _n=[],bn=[];if(z!=null&&z.value&&$.showCheckbox){const{treeNodeMap:Cn}=z.value;le.value.forEach(Sn=>{const En=Cn.get(Sn);En&&(bn.push(Sn),_n.push(En.data))})}return{halfCheckedNodes:_n,halfCheckedKeys:bn}}function Lt(_n){ie.value.clear(),le.value.clear(),vn(_n)}function hn(_n,bn){if(z!=null&&z.value&&$.showCheckbox){const Cn=z.value.treeNodeMap.get(_n);Cn&&$e(Cn,bn,!1)}}function vn(_n){if(z!=null&&z.value){const{treeNodeMap:bn}=z.value;if($.showCheckbox&&bn&&_n)for(const Cn of _n){const Sn=bn.get(Cn);Sn&&!_e(Sn)&&$e(Sn,!0,!1)}}}return{updateCheckedKeys:pe,toggleCheckbox:$e,isChecked:_e,isIndeterminate:Ce,getCheckedKeys:Ie,getCheckedNodes:Ve,getHalfCheckedKeys:ze,getHalfCheckedNodes:Ue,setChecked:hn,setCheckedKeys:Lt}}function useFilter($,z){const ie=ref(new Set([])),le=ref(new Set([])),ue=computed(()=>isFunction$5($.filterMethod));function pe(Ce){var $e;if(!ue.value)return;const xe=new Set,Ie=le.value,Ve=ie.value,ze=[],Ue=(($e=z.value)==null?void 0:$e.treeNodes)||[],qe=$.filterMethod;Ve.clear();function Et(Lt){Lt.forEach(hn=>{ze.push(hn),qe!=null&&qe(Ce,hn.data)?ze.forEach(_n=>{xe.add(_n.key)}):hn.isLeaf&&Ve.add(hn.key);const vn=hn.children;if(vn&&Et(vn),!hn.isLeaf){if(!xe.has(hn.key))Ve.add(hn.key);else if(vn){let _n=!0;for(const bn of vn)if(!Ve.has(bn.key)){_n=!1;break}_n?Ie.add(hn.key):Ie.delete(hn.key)}}ze.pop()})}return Et(Ue),xe}function _e(Ce){return le.value.has(Ce.key)}return{hiddenExpandIconKeySet:le,hiddenNodeKeySet:ie,doFilter:pe,isForceHiddenExpandIcon:_e}}function useTree($,z){const ie=ref(new Set($.defaultExpandedKeys)),le=ref(),ue=shallowRef();watch(()=>$.currentNodeKey,Gn=>{le.value=Gn},{immediate:!0}),watch(()=>$.data,Gn=>{ir(Gn)},{immediate:!0});const{isIndeterminate:pe,isChecked:_e,toggleCheckbox:Ce,getCheckedKeys:$e,getCheckedNodes:xe,getHalfCheckedKeys:Ie,getHalfCheckedNodes:Ve,setChecked:ze,setCheckedKeys:Ue}=useCheck($,ue),{doFilter:qe,hiddenNodeKeySet:Et,isForceHiddenExpandIcon:Lt}=useFilter($,ue),hn=computed(()=>{var Gn;return((Gn=$.props)==null?void 0:Gn.value)||TreeOptionsEnum.KEY}),vn=computed(()=>{var Gn;return((Gn=$.props)==null?void 0:Gn.children)||TreeOptionsEnum.CHILDREN}),_n=computed(()=>{var Gn;return((Gn=$.props)==null?void 0:Gn.disabled)||TreeOptionsEnum.DISABLED}),bn=computed(()=>{var Gn;return((Gn=$.props)==null?void 0:Gn.label)||TreeOptionsEnum.LABEL}),Cn=computed(()=>{const Gn=ie.value,Wn=Et.value,Qn=[],fr=ue.value&&ue.value.treeNodes||[];function jn(){const Zn=[];for(let rr=fr.length-1;rr>=0;--rr)Zn.push(fr[rr]);for(;Zn.length;){const rr=Zn.pop();if(rr&&(Wn.has(rr.key)||Qn.push(rr),Gn.has(rr.key))){const mr=rr.children;if(mr){const _r=mr.length;for(let or=_r-1;or>=0;--or)Zn.push(mr[or])}}}}return jn(),Qn}),Sn=computed(()=>Cn.value.length>0);function En(Gn){const Wn=new Map,Qn=new Map;let fr=1;function jn(rr,mr=1,_r=void 0){var or;const $r=[];for(const gr of rr){const xr=kn(gr),pr={level:mr,key:xr,data:gr};pr.label=Pn(gr),pr.parent=_r;const sr=Tn(gr);pr.disabled=xn(gr),pr.isLeaf=!sr||sr.length===0,sr&&sr.length&&(pr.children=jn(sr,mr+1,pr)),$r.push(pr),Wn.set(xr,pr),Qn.has(mr)||Qn.set(mr,[]),(or=Qn.get(mr))==null||or.push(pr)}return mr>fr&&(fr=mr),$r}const Zn=jn(Gn);return{treeNodeMap:Wn,levelTreeNodeMap:Qn,maxLevel:fr,treeNodes:Zn}}function wn(Gn){const Wn=qe(Gn);Wn&&(ie.value=Wn)}function Tn(Gn){return Gn[vn.value]}function kn(Gn){return Gn?Gn[hn.value]:""}function xn(Gn){return Gn[_n.value]}function Pn(Gn){return Gn[bn.value]}function An(Gn){ie.value.has(Gn.key)?Mn(Gn):Vn(Gn)}function In(Gn){ie.value=new Set(Gn)}function Fn(Gn,Wn){z(NODE_CLICK,Gn.data,Gn,Wn),Dn(Gn),$.expandOnClickNode&&An(Gn),$.showCheckbox&&$.checkOnClickNode&&!Gn.disabled&&Ce(Gn,!_e(Gn),!0)}function Dn(Gn){Hn(Gn)||(le.value=Gn.key,z(CURRENT_CHANGE,Gn.data,Gn))}function On(Gn,Wn){Ce(Gn,Wn)}function Vn(Gn){const Wn=ie.value;if(ue.value&&$.accordion){const{treeNodeMap:Qn}=ue.value;Wn.forEach(fr=>{const jn=Qn.get(fr);Gn&&Gn.level===(jn==null?void 0:jn.level)&&Wn.delete(fr)})}Wn.add(Gn.key),z(NODE_EXPAND,Gn.data,Gn)}function Mn(Gn){ie.value.delete(Gn.key),z(NODE_COLLAPSE,Gn.data,Gn)}function zn(Gn){return ie.value.has(Gn.key)}function Kn(Gn){return!!Gn.disabled}function Hn(Gn){const Wn=le.value;return!!Wn&&Wn===Gn.key}function Xn(){var Gn,Wn;if(le.value)return(Wn=(Gn=ue.value)==null?void 0:Gn.treeNodeMap.get(le.value))==null?void 0:Wn.data}function lr(){return le.value}function yr(Gn){le.value=Gn}function ir(Gn){nextTick(()=>ue.value=En(Gn))}function Yn(Gn){var Wn;const Qn=isObject$9(Gn)?kn(Gn):Gn;return(Wn=ue.value)==null?void 0:Wn.treeNodeMap.get(Qn)}return{tree:ue,flattenTree:Cn,isNotEmpty:Sn,getKey:kn,getChildren:Tn,toggleExpand:An,toggleCheckbox:Ce,isExpanded:zn,isChecked:_e,isIndeterminate:pe,isDisabled:Kn,isCurrent:Hn,isForceHiddenExpandIcon:Lt,handleNodeClick:Fn,handleNodeCheck:On,getCurrentNode:Xn,getCurrentKey:lr,setCurrentKey:yr,getCheckedKeys:$e,getCheckedNodes:xe,getHalfCheckedKeys:Ie,getHalfCheckedNodes:Ve,setChecked:ze,setCheckedKeys:Ue,filter:wn,setData:ir,getNode:Yn,expandNode:Vn,collapseNode:Mn,setExpandedKeys:In}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup($){const z=inject(ROOT_TREE_INJECTION_KEY),ie=useNamespace("tree");return()=>{const le=$.node,{data:ue}=le;return z!=null&&z.ctx.slots.default?z.ctx.slots.default({node:le,data:ue}):h$3("span",{class:ie.be("node","label")},[le==null?void 0:le.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($,{emit:z}){const ie=$,le=inject(ROOT_TREE_INJECTION_KEY),ue=useNamespace("tree"),pe=computed(()=>{var Ve;return(Ve=le==null?void 0:le.props.indent)!=null?Ve:16}),_e=computed(()=>{var Ve;return(Ve=le==null?void 0:le.props.icon)!=null?Ve:caret_right_default}),Ce=Ve=>{z("click",ie.node,Ve)},$e=()=>{z("toggle",ie.node)},xe=Ve=>{z("check",ie.node,Ve)},Ie=Ve=>{var ze,Ue,qe,Et;(qe=(Ue=(ze=le==null?void 0:le.instance)==null?void 0:ze.vnode)==null?void 0:Ue.props)!=null&&qe.onNodeContextmenu&&(Ve.stopPropagation(),Ve.preventDefault()),le==null||le.ctx.emit(NODE_CONTEXTMENU,Ve,(Et=ie.node)==null?void 0:Et.data,ie.node)};return(Ve,ze)=>{var Ue,qe,Et;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(ue).b("node"),unref(ue).is("expanded",Ve.expanded),unref(ue).is("current",Ve.current),unref(ue).is("focusable",!Ve.disabled),unref(ue).is("checked",!Ve.disabled&&Ve.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":Ve.expanded,"aria-disabled":Ve.disabled,"aria-checked":Ve.checked,"data-key":(Ue=Ve.node)==null?void 0:Ue.key,onClick:withModifiers(Ce,["stop"]),onContextmenu:Ie},[createBaseVNode("div",{class:normalizeClass(unref(ue).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(Ve.node.level-1)*unref(pe)}px`,height:Ve.itemSize+"px"})},[unref(_e)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ue).is("leaf",!!((qe=Ve.node)!=null&&qe.isLeaf)),unref(ue).is("hidden",Ve.hiddenExpandIcon),{expanded:!((Et=Ve.node)!=null&&Et.isLeaf)&&Ve.expanded},unref(ue).be("node","expand-icon")]),onClick:withModifiers($e,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_e))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),Ve.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":Ve.checked,indeterminate:Ve.indeterminate,disabled:Ve.disabled,onChange:xe,onClick:ze[0]||(ze[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode(unref(ElNodeContent),{node:Ve.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($,{expose:z,emit:ie}){const le=$,ue=useSlots(),pe=computed(()=>le.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:ie,slots:ue},props:le,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:_e}=useLocale(),Ce=useNamespace("tree"),{flattenTree:$e,isNotEmpty:xe,toggleExpand:Ie,isExpanded:Ve,isIndeterminate:ze,isChecked:Ue,isDisabled:qe,isCurrent:Et,isForceHiddenExpandIcon:Lt,handleNodeClick:hn,handleNodeCheck:vn,toggleCheckbox:_n,getCurrentNode:bn,getCurrentKey:Cn,setCurrentKey:Sn,getCheckedKeys:En,getCheckedNodes:wn,getHalfCheckedKeys:Tn,getHalfCheckedNodes:kn,setChecked:xn,setCheckedKeys:Pn,filter:An,setData:In,getNode:Fn,expandNode:Dn,collapseNode:On,setExpandedKeys:Vn}=useTree(le,ie);return z({toggleCheckbox:_n,getCurrentNode:bn,getCurrentKey:Cn,setCurrentKey:Sn,getCheckedKeys:En,getCheckedNodes:wn,getHalfCheckedKeys:Tn,getHalfCheckedNodes:kn,setChecked:xn,setCheckedKeys:Pn,filter:An,setData:In,getNode:Fn,expandNode:Dn,collapseNode:On,setExpandedKeys:Vn}),(Mn,zn)=>{var Kn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ce).b(),{[unref(Ce).m("highlight-current")]:Mn.highlightCurrent}]),role:"tree"},[unref(xe)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(Ce).b("virtual-list"),data:unref($e),total:unref($e).length,height:Mn.height,"item-size":unref(pe),"perf-mode":Mn.perfMode},{default:withCtx(({data:Hn,index:Xn,style:lr})=>[(openBlock(),createBlock(ElTreeNode,{key:Hn[Xn].key,style:normalizeStyle$1(lr),node:Hn[Xn],expanded:unref(Ve)(Hn[Xn]),"show-checkbox":Mn.showCheckbox,checked:unref(Ue)(Hn[Xn]),indeterminate:unref(ze)(Hn[Xn]),"item-size":unref(pe),disabled:unref(qe)(Hn[Xn]),current:unref(Et)(Hn[Xn]),"hidden-expand-icon":unref(Lt)(Hn[Xn]),onClick:unref(hn),onToggle:unref(Ie),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(Ce).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(Ce).e("empty-text"))},toDisplayString$1((Kn=Mn.emptyText)!=null?Kn:unref(_e)("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(z,ie,le,ue){super(z),this.name="UploadAjaxError",this.status=ie,this.method=le,this.url=ue}}function getError($,z,ie){let le;return ie.response?le=`${ie.response.error||ie.response}`:ie.responseText?le=`${ie.responseText}`:le=`fail to ${z.method} ${$} ${ie.status}`,new UploadAjaxError(le,ie.status,z.method,$)}function getBody($){const z=$.responseText||$.response;if(!z)return z;try{return JSON.parse(z)}catch{return z}}const ajaxUpload=$=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const z=new XMLHttpRequest,ie=$.action;z.upload&&z.upload.addEventListener("progress",pe=>{const _e=pe;_e.percent=pe.total>0?pe.loaded/pe.total*100:0,$.onProgress(_e)});const le=new FormData;if($.data)for(const[pe,_e]of Object.entries($.data))Array.isArray(_e)?le.append(pe,..._e):le.append(pe,_e);le.append($.filename,$.file,$.file.name),z.addEventListener("error",()=>{$.onError(getError(ie,$,z))}),z.addEventListener("load",()=>{if(z.status<200||z.status>=300)return $.onError(getError(ie,$,z));$.onSuccess(getBody(z))}),z.open($.method,ie,!0),$.withCredentials&&"withCredentials"in z&&(z.withCredentials=!0);const ue=$.headers||{};if(ue instanceof Headers)ue.forEach((pe,_e)=>z.setRequestHeader(_e,pe));else for(const[pe,_e]of Object.entries(ue))isNil(_e)||z.setRequestHeader(pe,String(_e));return z.send(le),z},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:$=>!!$},_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($,{emit:z}){const{t:ie}=useLocale(),le=useNamespace("upload"),ue=useNamespace("icon"),pe=useNamespace("list"),_e=useFormDisabled(),Ce=ref(!1),$e=xe=>{z("remove",xe)};return(xe,Ie)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass([unref(le).b("list"),unref(le).bm("list",xe.listType),unref(le).is("disabled",unref(_e))]),name:unref(pe).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.files,Ve=>(openBlock(),createElementBlock("li",{key:Ve.uid||Ve.name,class:normalizeClass([unref(le).be("list","item"),unref(le).is(Ve.status),{focusing:Ce.value}]),tabindex:"0",onKeydown:withKeys(ze=>!unref(_e)&&$e(Ve),["delete"]),onFocus:Ie[0]||(Ie[0]=ze=>Ce.value=!0),onBlur:Ie[1]||(Ie[1]=ze=>Ce.value=!1),onClick:Ie[2]||(Ie[2]=ze=>Ce.value=!1)},[renderSlot(xe.$slots,"default",{file:Ve},()=>[xe.listType==="picture"||Ve.status!=="uploading"&&xe.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(le).be("list","item-thumbnail")),src:Ve.url,alt:""},null,10,_hoisted_2$6)):createCommentVNode("v-if",!0),Ve.status==="uploading"||xe.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(le).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(le).be("list","item-name")),onClick:withModifiers(ze=>xe.handlePreview(Ve),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(le).be("list","item-file-name"))},toDisplayString$1(Ve.name),3)],10,_hoisted_3$4),Ve.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:xe.listType==="picture-card"?"circle":"line","stroke-width":xe.listType==="picture-card"?6:2,percentage:Number(Ve.percentage),style:normalizeStyle$1(xe.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(le).be("list","item-status-label"))},[xe.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ue).m("upload-success"),unref(ue).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(xe.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ue).m("upload-success"),unref(ue).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(_e)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ue).m("close")),onClick:ze=>$e(Ve)},{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(_e)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(ue).m("close-tip"))},toDisplayString$1(unref(ie)("el.upload.deleteTip")),3)),xe.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(le).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(le).be("list","item-preview")),onClick:ze=>xe.handlePreview(Ve)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_4$2),unref(_e)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(le).be("list","item-delete")),onClick:ze=>$e(Ve)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).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(xe.$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:$=>isArray$c($)},_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($,{emit:z}){const ie=inject(uploadContextKey);ie||throwError$1(COMPONENT_NAME,"usage: <el-upload><el-upload-dragger /></el-upload>");const le=useNamespace("upload"),ue=ref(!1),pe=useFormDisabled(),_e=$e=>{if(pe.value)return;ue.value=!1,$e.stopPropagation();const xe=Array.from($e.dataTransfer.files),Ie=ie.accept.value;if(!Ie){z("file",xe);return}const Ve=xe.filter(ze=>{const{type:Ue,name:qe}=ze,Et=qe.includes(".")?`.${qe.split(".").pop()}`:"",Lt=Ue.replace(/\/.*$/,"");return Ie.split(",").map(hn=>hn.trim()).filter(hn=>hn).some(hn=>hn.startsWith(".")?Et===hn:/\/\*$/.test(hn)?Lt===hn.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(hn)?Ue===hn:!1)});z("file",Ve)},Ce=()=>{pe.value||(ue.value=!0)};return($e,xe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b("dragger"),unref(le).is("dragover",ue.value)]),onDrop:withModifiers(_e,["prevent"]),onDragover:withModifiers(Ce,["prevent"]),onDragleave:xe[0]||(xe[0]=withModifiers(Ie=>ue.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($,{expose:z}){const ie=$,le=useNamespace("upload"),ue=useFormDisabled(),pe=shallowRef({}),_e=shallowRef(),Ce=qe=>{if(qe.length===0)return;const{autoUpload:Et,limit:Lt,fileList:hn,multiple:vn,onStart:_n,onExceed:bn}=ie;if(Lt&&hn.length+qe.length>Lt){bn(qe,hn);return}vn||(qe=qe.slice(0,1));for(const Cn of qe){const Sn=Cn;Sn.uid=genFileId(),_n(Sn),Et&&$e(Sn)}},$e=async qe=>{if(_e.value.value="",!ie.beforeUpload)return xe(qe);let Et,Lt={};try{const vn=ie.data,_n=ie.beforeUpload(qe);Lt=isObject$9(ie.data)?cloneDeep(ie.data):ie.data,Et=await _n,isObject$9(ie.data)&&isEqual$1(vn,Lt)&&(Lt=cloneDeep(ie.data))}catch{Et=!1}if(Et===!1){ie.onRemove(qe);return}let hn=qe;Et instanceof Blob&&(Et instanceof File?hn=Et:hn=new File([Et],qe.name,{type:qe.type})),xe(Object.assign(hn,{uid:qe.uid}),Lt)},xe=(qe,Et)=>{const{headers:Lt,data:hn,method:vn,withCredentials:_n,name:bn,action:Cn,onProgress:Sn,onSuccess:En,onError:wn,httpRequest:Tn}=ie,{uid:kn}=qe,xn={headers:Lt||{},withCredentials:_n,file:qe,data:Et??hn,method:vn,filename:bn,action:Cn,onProgress:An=>{Sn(An,qe)},onSuccess:An=>{En(An,qe),delete pe.value[kn]},onError:An=>{wn(An,qe),delete pe.value[kn]}},Pn=Tn(xn);pe.value[kn]=Pn,Pn instanceof Promise&&Pn.then(xn.onSuccess,xn.onError)},Ie=qe=>{const Et=qe.target.files;Et&&Ce(Array.from(Et))},Ve=()=>{ue.value||(_e.value.value="",_e.value.click())},ze=()=>{Ve()};return z({abort:qe=>{entriesOf(pe.value).filter(qe?([Lt])=>String(qe.uid)===Lt:()=>!0).forEach(([Lt,hn])=>{hn instanceof XMLHttpRequest&&hn.abort(),delete pe.value[Lt]})},upload:$e}),(qe,Et)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(le).m(qe.listType),unref(le).is("drag",qe.drag)]),tabindex:"0",onClick:Ve,onKeydown:withKeys(withModifiers(ze,["self"]),["enter","space"])},[qe.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(ue),onFile:Ce},{default:withCtx(()=>[renderSlot(qe.$slots,"default")]),_:3},8,["disabled"])):renderSlot(qe.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:_e,class:normalizeClass(unref(le).e("input")),name:qe.name,multiple:qe.multiple,accept:qe.accept,type:"file",onChange:Ie,onClick:Et[0]||(Et[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=$=>{var z;(z=$.url)!=null&&z.startsWith("blob:")&&URL.revokeObjectURL($.url)},useHandlers=($,z)=>{const ie=useVModel($,"fileList",void 0,{passive:!0}),le=ze=>ie.value.find(Ue=>Ue.uid===ze.uid);function ue(ze){var Ue;(Ue=z.value)==null||Ue.abort(ze)}function pe(ze=["ready","uploading","success","fail"]){ie.value=ie.value.filter(Ue=>!ze.includes(Ue.status))}const _e=(ze,Ue)=>{const qe=le(Ue);qe&&(console.error(ze),qe.status="fail",ie.value.splice(ie.value.indexOf(qe),1),$.onError(ze,qe,ie.value),$.onChange(qe,ie.value))},Ce=(ze,Ue)=>{const qe=le(Ue);qe&&($.onProgress(ze,qe,ie.value),qe.status="uploading",qe.percentage=Math.round(ze.percent))},$e=(ze,Ue)=>{const qe=le(Ue);qe&&(qe.status="success",qe.response=ze,$.onSuccess(ze,qe,ie.value),$.onChange(qe,ie.value))},xe=ze=>{isNil(ze.uid)&&(ze.uid=genFileId());const Ue={name:ze.name,percentage:0,status:"ready",size:ze.size,raw:ze,uid:ze.uid};if($.listType==="picture-card"||$.listType==="picture")try{Ue.url=URL.createObjectURL(ze)}catch(qe){qe.message,$.onError(qe,Ue,ie.value)}ie.value=[...ie.value,Ue],$.onChange(Ue,ie.value)},Ie=async ze=>{const Ue=ze instanceof File?le(ze):ze;Ue||throwError$1(SCOPE$1,"file to be removed not found");const qe=Et=>{ue(Et);const Lt=ie.value;Lt.splice(Lt.indexOf(Et),1),$.onRemove(Et,Lt),revokeObjectURL(Et)};$.beforeRemove?await $.beforeRemove(Ue,ie.value)!==!1&&qe(Ue):qe(Ue)};function Ve(){ie.value.filter(({status:ze})=>ze==="ready").forEach(({raw:ze})=>{var Ue;return ze&&((Ue=z.value)==null?void 0:Ue.upload(ze))})}return watch(()=>$.listType,ze=>{ze!=="picture-card"&&ze!=="picture"||(ie.value=ie.value.map(Ue=>{const{raw:qe,url:Et}=Ue;if(!Et&&qe)try{Ue.url=URL.createObjectURL(qe)}catch(Lt){$.onError(Lt,Ue,ie.value)}return Ue}))}),watch(ie,ze=>{for(const Ue of ze)Ue.uid||(Ue.uid=genFileId()),Ue.status||(Ue.status="success")},{immediate:!0,deep:!0}),{uploadFiles:ie,abort:ue,clearFiles:pe,handleError:_e,handleProgress:Ce,handleStart:xe,handleSuccess:$e,handleRemove:Ie,submit:Ve}},__default__$2=defineComponent({name:"ElUpload"}),_sfc_main$5=defineComponent({...__default__$2,props:uploadProps,setup($,{expose:z}){const ie=$,le=useSlots(),ue=useFormDisabled(),pe=shallowRef(),{abort:_e,submit:Ce,clearFiles:$e,uploadFiles:xe,handleStart:Ie,handleError:Ve,handleRemove:ze,handleSuccess:Ue,handleProgress:qe}=useHandlers(ie,pe),Et=computed(()=>ie.listType==="picture-card"),Lt=computed(()=>({...ie,fileList:xe.value,onStart:Ie,onProgress:qe,onSuccess:Ue,onError:Ve,onRemove:ze}));return onBeforeUnmount(()=>{xe.value.forEach(({url:hn})=>{hn!=null&&hn.startsWith("blob:")&&URL.revokeObjectURL(hn)})}),provide(uploadContextKey,{accept:toRef$1(ie,"accept")}),z({abort:_e,submit:Ce,clearFiles:$e,handleStart:Ie,handleRemove:ze}),(hn,vn)=>(openBlock(),createElementBlock("div",null,[unref(Et)&&hn.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(ue),"list-type":hn.listType,files:unref(xe),"handle-preview":hn.onPreview,onRemove:unref(ze)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:pe},unref(Lt)),{default:withCtx(()=>[unref(le).trigger?renderSlot(hn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(le).trigger&&unref(le).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(Et)||unref(Et)&&!hn.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:pe},unref(Lt)),{default:withCtx(()=>[unref(le).trigger?renderSlot(hn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(le).trigger&&unref(le).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(Et)&&hn.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(ue),"list-type":hn.listType,files:unref(xe),"handle-preview":hn.onPreview,onRemove:unref(ze)},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=($,z)=>Object.entries(attributes).reduce((ie,[le,ue])=>{var pe,_e;const{type:Ce,default:$e}=ue,xe=$.getAttribute(`infinite-scroll-${le}`);let Ie=(_e=(pe=z[xe])!=null?pe:xe)!=null?_e:$e;return Ie=Ie==="false"?!1:Ie,Ie=Ce(Ie),ie[le]=Number.isNaN(Ie)?$e:Ie,ie},{}),destroyObserver=$=>{const{observer:z}=$[SCOPE];z&&(z.disconnect(),delete $[SCOPE].observer)},handleScroll=($,z)=>{const{container:ie,containerEl:le,instance:ue,observer:pe,lastScrollTop:_e}=$[SCOPE],{disabled:Ce,distance:$e}=getScrollOptions($,ue),{clientHeight:xe,scrollHeight:Ie,scrollTop:Ve}=le,ze=Ve-_e;if($[SCOPE].lastScrollTop=Ve,pe||Ce||ze<0)return;let Ue=!1;if(ie===$)Ue=Ie-(xe+Ve)<=$e;else{const{clientTop:qe,scrollHeight:Et}=$,Lt=getOffsetTopDistance($,le);Ue=Ve+xe>=Lt+qe+Et-$e}Ue&&z.call(ue)};function checkFull($,z){const{containerEl:ie,instance:le}=$[SCOPE],{disabled:ue}=getScrollOptions($,le);ue||ie.clientHeight===0||(ie.scrollHeight<=ie.clientHeight?z.call(le):destroyObserver($))}const InfiniteScroll={async mounted($,z){const{instance:ie,value:le}=z;isFunction$5(le)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:ue,immediate:pe}=getScrollOptions($,ie),_e=getScrollContainer($,!0),Ce=_e===window?document.documentElement:_e,$e=throttle$1(handleScroll.bind(null,$,le),ue);if(_e){if($[SCOPE]={instance:ie,container:_e,containerEl:Ce,delay:ue,cb:le,onScroll:$e,lastScrollTop:Ce.scrollTop},pe){const xe=new MutationObserver(throttle$1(checkFull.bind(null,$,le),CHECK_INTERVAL));$[SCOPE].observer=xe,xe.observe($,{childList:!0,subtree:!0}),checkFull($,le)}_e.addEventListener("scroll",$e)}},unmounted($){const{container:z,onScroll:ie}=$[SCOPE];z==null||z.removeEventListener("scroll",ie),destroyObserver($)},async updated($){if(!$[SCOPE])await nextTick();else{const{containerEl:z,cb:ie,observer:le}=$[SCOPE];z.clientHeight&&le&&checkFull($,ie)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=$=>{$.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent($){let z;const ie=ref(!1),le=reactive({...$,originalPosition:"",originalOverflow:"",visible:!1});function ue(ze){le.text=ze}function pe(){const ze=le.parent,Ue=Ve.ns;if(!ze.vLoadingAddClassList){let qe=ze.getAttribute("loading-number");qe=Number.parseInt(qe)-1,qe?ze.setAttribute("loading-number",qe.toString()):(removeClass(ze,Ue.bm("parent","relative")),ze.removeAttribute("loading-number")),removeClass(ze,Ue.bm("parent","hidden"))}_e(),Ie.unmount()}function _e(){var ze,Ue;(Ue=(ze=Ve.$el)==null?void 0:ze.parentNode)==null||Ue.removeChild(Ve.$el)}function Ce(){var ze;$.beforeClose&&!$.beforeClose()||(ie.value=!0,clearTimeout(z),z=window.setTimeout($e,400),le.visible=!1,(ze=$.closed)==null||ze.call($))}function $e(){if(!ie.value)return;const ze=le.parent;ie.value=!1,ze.vLoadingAddClassList=void 0,pe()}const xe=defineComponent({name:"ElLoading",setup(ze,{expose:Ue}){const{ns:qe,zIndex:Et}=useGlobalComponentSettings("loading");return Ue({ns:qe,zIndex:Et}),()=>{const Lt=le.spinner||le.svg,hn=h$3("svg",{class:"circular",viewBox:le.svgViewBox?le.svgViewBox:"0 0 50 50",...Lt?{innerHTML:Lt}:{}},[h$3("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),vn=le.text?h$3("p",{class:qe.b("text")},[le.text]):void 0;return h$3(Transition,{name:qe.b("fade"),onAfterLeave:$e},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:le.background||""},class:[qe.b("mask"),le.customClass,le.fullscreen?"is-fullscreen":""]},[h$3("div",{class:qe.b("spinner")},[hn,vn])]),[[vShow,le.visible]])])})}}}),Ie=createApp(xe),Ve=Ie.mount(document.createElement("div"));return{...toRefs(le),setText:ue,removeElLoadingChild:_e,close:Ce,handleAfterLeave:$e,vm:Ve,get $el(){return Ve.$el}}}let fullscreenInstance;const Loading=function($={}){if(!isClient$1)return;const z=resolveOptions($);if(z.fullscreen&&fullscreenInstance)return fullscreenInstance;const ie=createLoadingComponent({...z,closed:()=>{var ue;(ue=z.closed)==null||ue.call(z),z.fullscreen&&(fullscreenInstance=void 0)}});addStyle(z,z.parent,ie),addClassList(z,z.parent,ie),z.parent.vLoadingAddClassList=()=>addClassList(z,z.parent,ie);let le=z.parent.getAttribute("loading-number");return le?le=`${Number.parseInt(le)+1}`:le="1",z.parent.setAttribute("loading-number",le),z.parent.appendChild(ie.$el),nextTick(()=>ie.visible.value=z.visible),z.fullscreen&&(fullscreenInstance=ie),ie},resolveOptions=$=>{var z,ie,le,ue;let pe;return isString$6($.target)?pe=(z=document.querySelector($.target))!=null?z:document.body:pe=$.target||document.body,{parent:pe===document.body||$.body?document.body:pe,background:$.background||"",svg:$.svg||"",svgViewBox:$.svgViewBox||"",spinner:$.spinner||!1,text:$.text||"",fullscreen:pe===document.body&&((ie=$.fullscreen)!=null?ie:!0),lock:(le=$.lock)!=null?le:!1,customClass:$.customClass||"",visible:(ue=$.visible)!=null?ue:!0,target:pe}},addStyle=async($,z,ie)=>{const{nextZIndex:le}=ie.vm.zIndex||ie.vm._.exposed.zIndex,ue={};if($.fullscreen)ie.originalPosition.value=getStyle$1(document.body,"position"),ie.originalOverflow.value=getStyle$1(document.body,"overflow"),ue.zIndex=le();else if($.parent===document.body){ie.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const pe of["top","left"]){const _e=pe==="top"?"scrollTop":"scrollLeft";ue[pe]=`${$.target.getBoundingClientRect()[pe]+document.body[_e]+document.documentElement[_e]-Number.parseInt(getStyle$1(document.body,`margin-${pe}`),10)}px`}for(const pe of["height","width"])ue[pe]=`${$.target.getBoundingClientRect()[pe]}px`}else ie.originalPosition.value=getStyle$1(z,"position");for(const[pe,_e]of Object.entries(ue))ie.$el.style[pe]=_e},addClassList=($,z,ie)=>{const le=ie.vm.ns||ie.vm._.exposed.ns;["absolute","fixed","sticky"].includes(ie.originalPosition.value)?removeClass(z,le.bm("parent","relative")):addClass(z,le.bm("parent","relative")),$.fullscreen&&$.lock?addClass(z,le.bm("parent","hidden")):removeClass(z,le.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=($,z)=>{var ie,le,ue,pe;const _e=z.instance,Ce=ze=>isObject$9(z.value)?z.value[ze]:void 0,$e=ze=>{const Ue=isString$6(ze)&&(_e==null?void 0:_e[ze])||ze;return Ue&&ref(Ue)},xe=ze=>$e(Ce(ze)||$.getAttribute(`element-loading-${hyphenate(ze)}`)),Ie=(ie=Ce("fullscreen"))!=null?ie:z.modifiers.fullscreen,Ve={text:xe("text"),svg:xe("svg"),svgViewBox:xe("svgViewBox"),spinner:xe("spinner"),background:xe("background"),customClass:xe("customClass"),fullscreen:Ie,target:(le=Ce("target"))!=null?le:Ie?void 0:$,body:(ue=Ce("body"))!=null?ue:z.modifiers.body,lock:(pe=Ce("lock"))!=null?pe:z.modifiers.lock};$[INSTANCE_KEY]={options:Ve,instance:Loading(Ve)}},updateOptions=($,z)=>{for(const ie of Object.keys(z))isRef(z[ie])&&(z[ie].value=$[ie])},vLoading={mounted($,z){z.value&&createInstance$1($,z)},updated($,z){const ie=$[INSTANCE_KEY];z.oldValue!==z.value&&(z.value&&!z.oldValue?createInstance$1($,z):z.value&&z.oldValue?isObject$9(z.value)&&updateOptions(z.value,ie.options):ie==null||ie.instance.close())},unmounted($){var z;(z=$[INSTANCE_KEY])==null||z.instance.close()}},ElLoading={install($){$.directive("loading",vLoading),$.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=$=>{const z=instances$2.findIndex(ue=>ue.id===$),ie=instances$2[z];let le;return z>0&&(le=instances$2[z-1]),{current:ie,prev:le}},getLastOffset=$=>{const{prev:z}=getInstance$1($);return z?z.vm.exposed.bottom.value:0},getOffsetOrSpace=($,z)=>instances$2.findIndex(le=>le.id===$)>0?20:z,_hoisted_1$4=["id"],_hoisted_2$4=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$4=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup($,{expose:z}){const ie=$,{Close:le}=TypeComponents,{ns:ue,zIndex:pe}=useGlobalComponentSettings("message"),{currentZIndex:_e,nextZIndex:Ce}=pe,$e=ref(),xe=ref(!1),Ie=ref(0);let Ve;const ze=computed(()=>ie.type?ie.type==="error"?"danger":ie.type:"info"),Ue=computed(()=>{const En=ie.type;return{[ue.bm("icon",En)]:En&&TypeComponentsMap[En]}}),qe=computed(()=>ie.icon||TypeComponentsMap[ie.type]||""),Et=computed(()=>getLastOffset(ie.id)),Lt=computed(()=>getOffsetOrSpace(ie.id,ie.offset)+Et.value),hn=computed(()=>Ie.value+Lt.value),vn=computed(()=>({top:`${Lt.value}px`,zIndex:_e.value}));function _n(){ie.duration!==0&&({stop:Ve}=useTimeoutFn$1(()=>{Cn()},ie.duration))}function bn(){Ve==null||Ve()}function Cn(){xe.value=!1}function Sn({code:En}){En===EVENT_CODE.esc&&Cn()}return onMounted(()=>{_n(),Ce(),xe.value=!0}),watch(()=>ie.repeatNum,()=>{bn(),_n()}),useEventListener$1(document,"keydown",Sn),useResizeObserver$1($e,()=>{Ie.value=$e.value.getBoundingClientRect().height}),z({visible:xe,bottom:hn,close:Cn}),(En,wn)=>(openBlock(),createBlock(Transition,{name:unref(ue).b("fade"),onBeforeLeave:En.onClose,onAfterLeave:wn[0]||(wn[0]=Tn=>En.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:En.id,ref_key:"messageRef",ref:$e,class:normalizeClass([unref(ue).b(),{[unref(ue).m(En.type)]:En.type&&!En.icon},unref(ue).is("center",En.center),unref(ue).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(ze),class:normalizeClass(unref(ue).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(qe)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ue).e("icon"),unref(Ue)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(qe))))]),_: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(ue).e("content")),innerHTML:En.message},null,10,_hoisted_2$4)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(ue).e("content"))},toDisplayString$1(En.message),3))]),En.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ue).e("closeBtn")),onClick:withModifiers(Cn,["stop"])},{default:withCtx(()=>[createVNode(unref(le))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$4),[[vShow,xe.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=$=>{const z=!$||isString$6($)||isVNode$1($)||isFunction$5($)?{message:$}:$,ie={...messageDefaults,...z};if(!ie.appendTo)ie.appendTo=document.body;else if(isString$6(ie.appendTo)){let le=document.querySelector(ie.appendTo);isElement$2(le)||(le=document.body),ie.appendTo=le}return ie},closeMessage=$=>{const z=instances$2.indexOf($);if(z===-1)return;instances$2.splice(z,1);const{handler:ie}=$;ie.close()},createMessage=({appendTo:$,...z},ie)=>{const le=`message_${seed$1++}`,ue=z.onClose,pe=document.createElement("div"),_e={...z,id:le,onClose:()=>{ue==null||ue(),closeMessage(Ie)},onDestroy:()=>{render$4(null,pe)}},Ce=createVNode(MessageConstructor,_e,isFunction$5(_e.message)||isVNode$1(_e.message)?{default:isFunction$5(_e.message)?_e.message:()=>_e.message}:null);Ce.appContext=ie||message._context,render$4(Ce,pe),$.appendChild(pe.firstElementChild);const $e=Ce.component,Ie={id:le,vnode:Ce,vm:$e,handler:{close:()=>{$e.exposed.visible.value=!1}},props:Ce.component.props};return Ie},message=($={},z)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$4(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const ie=normalizeOptions($);if(ie.grouping&&instances$2.length){const ue=instances$2.find(({vnode:pe})=>{var _e;return((_e=pe.props)==null?void 0:_e.message)===ie.message});if(ue)return ue.props.repeatNum+=1,ue.props.type=ie.type,ue.handler}const le=createMessage(ie,z);return instances$2.push(le),le.handler};messageTypes.forEach($=>{message[$]=(z={},ie)=>{const le=normalizeOptions(z);return message({...le,type:$},ie)}});function closeAll$1($){for(const z of instances$2)(!$||$===z.props.type)&&z.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$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($,{emit:z}){const{locale:ie,zIndex:le,ns:ue,size:pe}=useGlobalComponentSettings("message-box",computed(()=>$.buttonSize)),{t:_e}=ie,{nextZIndex:Ce}=le,$e=ref(!1),xe=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:Ce()}),Ie=computed(()=>{const Fn=xe.type;return{[ue.bm("icon",Fn)]:Fn&&TypeComponentsMap[Fn]}}),Ve=useId(),ze=useId(),Ue=computed(()=>xe.icon||TypeComponentsMap[xe.type]||""),qe=computed(()=>!!xe.message),Et=ref(),Lt=ref(),hn=ref(),vn=ref(),_n=ref(),bn=computed(()=>xe.confirmButtonClass);watch(()=>xe.inputValue,async Fn=>{await nextTick(),$.boxType==="prompt"&&Fn!==null&&xn()},{immediate:!0}),watch(()=>$e.value,Fn=>{var Dn,On;Fn&&($.boxType!=="prompt"&&(xe.autofocus?hn.value=(On=(Dn=_n.value)==null?void 0:Dn.$el)!=null?On:Et.value:hn.value=Et.value),xe.zIndex=Ce()),$.boxType==="prompt"&&(Fn?nextTick().then(()=>{var Vn;vn.value&&vn.value.$el&&(xe.autofocus?hn.value=(Vn=Pn())!=null?Vn:Et.value:hn.value=Et.value)}):(xe.editorErrorMessage="",xe.validateError=!1))});const Cn=computed(()=>$.draggable);useDraggable(Et,Lt,Cn),onMounted(async()=>{await nextTick(),$.closeOnHashChange&&window.addEventListener("hashchange",Sn)}),onBeforeUnmount(()=>{$.closeOnHashChange&&window.removeEventListener("hashchange",Sn)});function Sn(){$e.value&&($e.value=!1,nextTick(()=>{xe.action&&z("action",xe.action)}))}const En=()=>{$.closeOnClickModal&&kn(xe.distinguishCancelAndClose?"close":"cancel")},wn=useSameTarget(En),Tn=Fn=>{if(xe.inputType!=="textarea")return Fn.preventDefault(),kn("confirm")},kn=Fn=>{var Dn;$.boxType==="prompt"&&Fn==="confirm"&&!xn()||(xe.action=Fn,xe.beforeClose?(Dn=xe.beforeClose)==null||Dn.call(xe,Fn,xe,Sn):Sn())},xn=()=>{if($.boxType==="prompt"){const Fn=xe.inputPattern;if(Fn&&!Fn.test(xe.inputValue||""))return xe.editorErrorMessage=xe.inputErrorMessage||_e("el.messagebox.error"),xe.validateError=!0,!1;const Dn=xe.inputValidator;if(typeof Dn=="function"){const On=Dn(xe.inputValue);if(On===!1)return xe.editorErrorMessage=xe.inputErrorMessage||_e("el.messagebox.error"),xe.validateError=!0,!1;if(typeof On=="string")return xe.editorErrorMessage=On,xe.validateError=!0,!1}}return xe.editorErrorMessage="",xe.validateError=!1,!0},Pn=()=>{const Fn=vn.value.$refs;return Fn.input||Fn.textarea},An=()=>{kn("close")},In=()=>{$.closeOnPressEscape&&An()};return $.lockScroll&&useLockscreen($e),{...toRefs(xe),ns:ue,overlayEvent:wn,visible:$e,hasMessage:qe,typeClass:Ie,contentId:Ve,inputId:ze,btnSize:pe,iconComponent:Ue,confirmButtonClasses:bn,rootRef:Et,focusStartRef:hn,headerRef:Lt,inputRef:vn,confirmRef:_n,doClose:Sn,handleClose:An,onCloseRequested:In,handleWrapperClick:En,handleInputEnter:Tn,handleAction:kn,t:_e}}}),_hoisted_1$3=["aria-label","aria-describedby"],_hoisted_2$3=["aria-label"],_hoisted_3$3=["id"];function _sfc_render$1($,z,ie,le,ue,pe){const _e=resolveComponent("el-icon"),Ce=resolveComponent("close"),$e=resolveComponent("el-input"),xe=resolveComponent("el-button"),Ie=resolveComponent("el-focus-trap"),Ve=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:z[11]||(z[11]=ze=>$.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(Ve,{"z-index":$.zIndex,"overlay-class":[$.ns.is("message-box"),$.modalClass],mask:$.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":$.title,"aria-modal":"true","aria-describedby":$.showInput?void 0:$.contentId,class:normalizeClass(`${$.ns.namespace.value}-overlay-message-box`),onClick:z[8]||(z[8]=(...ze)=>$.overlayEvent.onClick&&$.overlayEvent.onClick(...ze)),onMousedown:z[9]||(z[9]=(...ze)=>$.overlayEvent.onMousedown&&$.overlayEvent.onMousedown(...ze)),onMouseup:z[10]||(z[10]=(...ze)=>$.overlayEvent.onMouseup&&$.overlayEvent.onMouseup(...ze))},[createVNode(Ie,{loop:"",trapped:$.visible,"focus-trap-el":$.rootRef,"focus-start-el":$.focusStartRef,onReleaseRequested:$.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([$.ns.b(),$.customClass,$.ns.is("draggable",$.draggable),{[$.ns.m("center")]:$.center}]),style:normalizeStyle$1($.customStyle),tabindex:"-1",onClick:z[7]||(z[7]=withModifiers(()=>{},["stop"]))},[$.title!==null&&$.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass($.ns.e("header"))},[createBaseVNode("div",{class:normalizeClass($.ns.e("title"))},[$.iconComponent&&$.center?(openBlock(),createBlock(_e,{key:0,class:normalizeClass([$.ns.e("status"),$.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString$1($.title),1)],2),$.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass($.ns.e("headerbtn")),"aria-label":$.t("el.messagebox.close"),onClick:z[0]||(z[0]=ze=>$.handleAction($.distinguishCancelAndClose?"close":"cancel")),onKeydown:z[1]||(z[1]=withKeys(withModifiers(ze=>$.handleAction($.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode(_e,{class:normalizeClass($.ns.e("close"))},{default:withCtx(()=>[createVNode(Ce)]),_:1},8,["class"])],42,_hoisted_2$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:$.contentId,class:normalizeClass($.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass($.ns.e("container"))},[$.iconComponent&&!$.center&&$.hasMessage?(openBlock(),createBlock(_e,{key:0,class:normalizeClass([$.ns.e("status"),$.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),$.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.ns.e("message"))},[renderSlot($.$slots,"default",{},()=>[$.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent($.showInput?"label":"p"),{key:1,for:$.showInput?$.inputId:void 0,innerHTML:$.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent($.showInput?"label":"p"),{key:0,for:$.showInput?$.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString$1($.dangerouslyUseHTMLString?"":$.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass($.ns.e("input"))},[createVNode($e,{id:$.inputId,ref:"inputRef",modelValue:$.inputValue,"onUpdate:modelValue":z[2]||(z[2]=ze=>$.inputValue=ze),type:$.inputType,placeholder:$.inputPlaceholder,"aria-invalid":$.validateError,class:normalizeClass({invalid:$.validateError}),onKeydown:withKeys($.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass($.ns.e("errormsg")),style:normalizeStyle$1({visibility:$.editorErrorMessage?"visible":"hidden"})},toDisplayString$1($.editorErrorMessage),7)],2),[[vShow,$.showInput]])],10,_hoisted_3$3),createBaseVNode("div",{class:normalizeClass($.ns.e("btns"))},[$.showCancelButton?(openBlock(),createBlock(xe,{key:0,loading:$.cancelButtonLoading,class:normalizeClass([$.cancelButtonClass]),round:$.roundButton,size:$.btnSize,onClick:z[3]||(z[3]=ze=>$.handleAction("cancel")),onKeydown:z[4]||(z[4]=withKeys(withModifiers(ze=>$.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1($.cancelButtonText||$.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode(xe,{ref:"confirmRef",type:"primary",loading:$.confirmButtonLoading,class:normalizeClass([$.confirmButtonClasses]),round:$.roundButton,disabled:$.confirmButtonDisabled,size:$.btnSize,onClick:z[5]||(z[5]=ze=>$.handleAction("confirm")),onKeydown:z[6]||(z[6]=withKeys(withModifiers(ze=>$.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1($.confirmButtonText||$.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,$.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,$.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=$=>{let z=document.body;return $.appendTo&&(isString$6($.appendTo)&&(z=document.querySelector($.appendTo)),isElement$2($.appendTo)&&(z=$.appendTo),isElement$2(z)||(z=document.body)),z},initInstance=($,z,ie=null)=>{const le=createVNode(MessageBoxConstructor,$,isFunction$5($.message)||isVNode$1($.message)?{default:isFunction$5($.message)?$.message:()=>$.message}:null);return le.appContext=ie,render$4(le,z),getAppendToElement($).appendChild(z.firstElementChild),le.component},genContainer=()=>document.createElement("div"),showMessage=($,z)=>{const ie=genContainer();$.onVanish=()=>{render$4(null,ie),messageInstance.delete(ue)},$.onAction=pe=>{const _e=messageInstance.get(ue);let Ce;$.showInput?Ce={value:ue.inputValue,action:pe}:Ce=pe,$.callback?$.callback(Ce,le.proxy):pe==="cancel"||pe==="close"?$.distinguishCancelAndClose&&pe!=="cancel"?_e.reject("close"):_e.reject("cancel"):_e.resolve(Ce)};const le=initInstance($,ie,z),ue=le.proxy;for(const pe in $)hasOwn$4($,pe)&&!hasOwn$4(ue.$props,pe)&&(ue[pe]=$[pe]);return ue.visible=!0,ue};function MessageBox($,z=null){if(!isClient$1)return Promise.reject();let ie;return isString$6($)||isVNode$1($)?$={message:$}:ie=$.callback,new Promise((le,ue)=>{const pe=showMessage($,z??MessageBox._context);messageInstance.set(pe,{options:$,callback:ie,resolve:le,reject:ue})})}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($=>{MessageBox[$]=messageBoxFactory($)});function messageBoxFactory($){return(z,ie,le,ue)=>{let pe="";return isObject$9(ie)?(le=ie,pe=""):isUndefined$1(ie)?pe="":pe=ie,MessageBox(Object.assign({title:pe,message:z,type:"",...MESSAGE_BOX_DEFAULT_OPTS[$]},le,{boxType:$}),ue)}}MessageBox.close=()=>{messageInstance.forEach(($,z)=>{z.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=$=>{_MessageBox._context=$._context,$.config.globalProperties.$msgbox=_MessageBox,$.config.globalProperties.$messageBox=_MessageBox,$.config.globalProperties.$alert=_MessageBox.alert,$.config.globalProperties.$confirm=_MessageBox.confirm,$.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($,{expose:z}){const ie=$,{ns:le,zIndex:ue}=useGlobalComponentSettings("notification"),{nextZIndex:pe,currentZIndex:_e}=ue,{Close:Ce}=CloseComponents,$e=ref(!1);let xe;const Ie=computed(()=>{const _n=ie.type;return _n&&TypeComponentsMap[ie.type]?le.m(_n):""}),Ve=computed(()=>ie.type&&TypeComponentsMap[ie.type]||ie.icon),ze=computed(()=>ie.position.endsWith("right")?"right":"left"),Ue=computed(()=>ie.position.startsWith("top")?"top":"bottom"),qe=computed(()=>{var _n;return{[Ue.value]:`${ie.offset}px`,zIndex:(_n=ie.zIndex)!=null?_n:_e.value}});function Et(){ie.duration>0&&({stop:xe}=useTimeoutFn$1(()=>{$e.value&&hn()},ie.duration))}function Lt(){xe==null||xe()}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():Et()}return onMounted(()=>{Et(),pe(),$e.value=!0}),useEventListener$1(document,"keydown",vn),z({visible:$e,close:hn}),(_n,bn)=>(openBlock(),createBlock(Transition,{name:unref(le).b("fade"),onBeforeLeave:_n.onClose,onAfterLeave:bn[1]||(bn[1]=Cn=>_n.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:_n.id,class:normalizeClass([unref(le).b(),_n.customClass,unref(ze)]),style:normalizeStyle$1(unref(qe)),role:"alert",onMouseenter:Lt,onMouseleave:Et,onClick:bn[0]||(bn[0]=(...Cn)=>_n.onClick&&_n.onClick(...Cn))},[unref(Ve)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(le).e("icon"),unref(Ie)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ve))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(le).e("title")),textContent:toDisplayString$1(_n.title)},null,10,_hoisted_2$2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(le).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(le).e("closeBtn")),onClick:withModifiers(hn,["stop"])},{default:withCtx(()=>[createVNode(unref(Ce))]),_: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($={},z=null){if(!isClient$1)return{close:()=>{}};(typeof $=="string"||isVNode$1($))&&($={message:$});const ie=$.position||"top-right";let le=$.offset||0;notifications[ie].forEach(({vm:Ie})=>{var Ve;le+=(((Ve=Ie.el)==null?void 0:Ve.offsetHeight)||0)+GAP_SIZE}),le+=GAP_SIZE;const ue=`notification_${seed++}`,pe=$.onClose,_e={...$,offset:le,id:ue,onClose:()=>{close(ue,ie,pe)}};let Ce=document.body;isElement$2($.appendTo)?Ce=$.appendTo:isString$6($.appendTo)&&(Ce=document.querySelector($.appendTo)),isElement$2(Ce)||(Ce=document.body);const $e=document.createElement("div"),xe=createVNode(NotificationConstructor,_e,isVNode$1(_e.message)?{default:()=>_e.message}:null);return xe.appContext=z??notify._context,xe.props.onDestroy=()=>{render$4(null,$e)},render$4(xe,$e),notifications[ie].push({vm:xe}),Ce.appendChild($e.firstElementChild),{close:()=>{xe.component.exposed.visible.value=!1}}};notificationTypes.forEach($=>{notify[$]=(z={})=>((typeof z=="string"||isVNode$1(z))&&(z={message:z}),notify({...z,type:$}))});function close($,z,ie){const le=notifications[z],ue=le.findIndex(({vm:xe})=>{var Ie;return((Ie=xe.component)==null?void 0:Ie.props.id)===$});if(ue===-1)return;const{vm:pe}=le[ue];if(!pe)return;ie==null||ie(pe);const _e=pe.el.offsetHeight,Ce=z.split("-")[0];le.splice(ue,1);const $e=le.length;if(!($e<1))for(let xe=ue;xe<$e;xe++){const{el:Ie,component:Ve}=le[xe].vm,ze=Number.parseInt(Ie.style[Ce],10)-_e-GAP_SIZE;Ve.props.offset=ze}}function closeAll(){for(const $ of Object.values(notifications))$.forEach(({vm:z})=>{z.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($){Object.defineProperty($,"__esModule",{value:!0});var z={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"}}};$.default=z})(en$1);const enLocale=getDefaultExportFromCjs(en$1);var at=Object.defineProperty,$t$1=Object.getOwnPropertyDescriptor,kt=Object.getOwnPropertyNames,Dt=Object.prototype.hasOwnProperty,It=($,z)=>{for(var ie in z)at($,ie,{get:z[ie],enumerable:!0})},it=($,z,ie,le)=>{if(z&&typeof z=="object"||typeof z=="function")for(let ue of kt(z))!Dt.call($,ue)&&ue!==ie&&at($,ue,{get:()=>z[ue],enumerable:!(le=$t$1(z,ue))||le.enumerable});return $},K$1=($,z,ie)=>(it($,z,"default"),ie&&it(ie,z,"default"));function ut($){let z=$.split(","),ie=z[0].match(/:(.*?);/)[1],le=window.atob(z[1]),ue=le.length,pe=new Uint8Array(ue);for(;ue--;)pe[ue]=le.charCodeAt(ue);return new Blob([pe],{type:ie})}function lt$1($,z,ie){return new Promise((le,ue)=>{let pe=document.createElement("CANVAS"),_e=pe.getContext("2d"),Ce=new Image;Ce.crossOrigin="",Ce.onload=function(){if(!pe||!_e)return ue();pe.height=Ce.height,pe.width=Ce.width,_e.drawImage(Ce,0,0);let $e=pe.toDataURL(z||"image/png",ie);pe=null,le($e)},Ce.src=$})}var Pt=Object.prototype.toString;function O($,z){return Pt.call($)===`[object ${z}]`}function j$2($){return $!==null&&O($,"Object")}function R($){return typeof $<"u"}function pt($){return!R($)}function mt($){return $===null}function Ut($){return mt($)||pt($)}function Bt($){return tt($)||C($)?$.length===0:$ instanceof Map||$ instanceof Set?$.size===0:j$2($)?Object.keys($).length===0:!1}function P$1($){return!!(Bt($)||Ut($))}function dt($){return O($,"Number")}function C($){return O($,"String")}function H$1($){return typeof $=="function"}function Le($){return O($,"Boolean")}function tt($){return $&&Array.isArray($)}var et=typeof window>"u",nt=!et;function gt($){let z="^((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(z,"ig").test($)}function Ne($){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($)}function Fe($){return/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test($)}var Y=($,z)=>!!($!=null&&$.className.match(new RegExp("(\\s|^)"+z+"(\\s|$)"))),Ze=($,z,ie)=>{Y($,z)||($.className+=" "+z),ie&&!Y($,ie)&&($.className+=" "+ie)},Ge=($,z,ie)=>{if(Y($,z)){let le=new RegExp("(\\s|^)"+z+"(\\s|$)");$.className=$.className.replace(le," ").trim()}if(ie&&Y($,ie)){let le=new RegExp("(\\s|^)"+ie+"(\\s|$)");$.className=$.className.replace(le," ").trim()}},Qe=($,z,ie)=>{let le=ie||document.body,{className:ue}=le,pe=ue.replace(z,"").trim().split(/\s+/).join(" ");le.className=$?`${pe} ${z}`:pe},Nt=Object.prototype.toString;function Ft($,z){return $&&$.hasOwnProperty?$.hasOwnProperty(z):!1}function Ht($,z,ie){if($)if($.forEach)$.forEach(z,ie);else for(let le=0,ue=$.length;le<ue;le++)z.call(ie,$[le],le,$)}function jt($,z,ie){if($)for(let le in $)Ft($,le)&&z.call(ie,$[le],le,$)}function rt$1($,z){let ie=$.__proto__.constructor;return z?new ie(z):new ie}function q($,z){return z?ot($,z):$}function ot($,z){if($)switch(Nt.call($)){case"[object Object]":{let ie=Object.create($.__proto__);return jt($,function(le,ue){ie[ue]=q(le,z)}),ie}case"[object Date]":case"[object RegExp]":return rt$1($,$.valueOf());case"[object Array]":case"[object Arguments]":{let ie=[];return Ht($,function(le){ie.push(q(le,z))}),ie}case"[object Set]":{let ie=rt$1($);return ie.forEach(function(le){ie.add(q(le,z))}),ie}case"[object Map]":{let ie=rt$1($);return ie.forEach(function(le){ie.set(q(le,z))}),ie}}return $}function tn($,z){return $&&ot($,z)}function en($){return $&&ot($,!0)}var rn=$=>{let z=($==null?void 0:$.type)??"rgb",ie=($==null?void 0:$.num)??0;if(ie===0)switch(z){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(z){case"rgb":let le=[];for(let _e=0;_e<ie;_e++)le.push(window.crypto.getRandomValues(new Uint8Array(3)).toString());return le;case"hex":let ue=[];for(let _e=0;_e<ie;_e++)ue.push(`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,`${Math.random()*10}`)}`);return ue;case"hsl":let pe=[];for(let _e=0;_e<ie;_e++)pe.push([360*Math.random(),`${100*Math.random()}%`,`${100*Math.random()}%`].toString());return pe}},k$1=($=20)=>new Promise(z=>setTimeout(z,$)),vt=($,z=200,ie=!1)=>{let le,ue=z,pe;return function(){le&&clearTimeout(le),ie?(le||$.call(pe,...arguments),le=setTimeout(()=>le=null,ue)):le=setTimeout(()=>$.call(pe,...arguments),ue)}},Ln=($,z=1e3)=>{let ie;return function(){ie||(ie=setTimeout(()=>{$.call(void 0,...arguments),ie=null},z))}},$n=()=>{let $=navigator.userAgent.toLowerCase(),z=$.match(/midp/i)=="midp",ie=$.match(/ucweb/i)=="ucweb",le=$.match(/android/i)=="android",ue=$.match(/iphone os/i)=="iphone os",pe=$.match(/windows ce/i)=="windows ce",_e=$.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",Ce=$.match(/windows mobile/i)=="windows mobile";return z||ie||le||ue||pe||_e||Ce},Mt=($,z="_blank")=>{let ie=document.createElement("a");ie.setAttribute("href",$),ie.setAttribute("target",z),ie.setAttribute("rel","noreferrer noopener"),ie.setAttribute("id","external");let le=document.getElementById("external");le&&document.body.removeChild(le),document.body.appendChild(ie),ie.click(),ie.remove()};function Bn($,z,ie,le){lt$1($).then(ue=>{zt(ue,z,ie,le)})}function zt($,z,ie,le){let ue=ut($);_t(ue,z,ie,le)}function _t($,z,ie,le){let ue=typeof le<"u"?[le,$]:[$],pe=new Blob(ue,{type:ie||"application/octet-stream"}),_e=window.URL.createObjectURL(pe),Ce=document.createElement("a");Ce.style.display="none",Ce.href=_e,Ce.setAttribute("download",z),typeof Ce.download>"u"&&Ce.setAttribute("target","_blank"),document.body.appendChild(Ce),Ce.click(),document.body.removeChild(Ce),window.URL.revokeObjectURL(_e)}function Nn($,z,ie="_self"){let le=window.navigator.userAgent.toLowerCase().indexOf("chrome")>-1,ue=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(le||ue){let pe=document.createElement("a");if(pe.href=$,pe.target=ie,pe.download!==void 0&&(pe.download=z||$.substring($.lastIndexOf("/")+1,$.length)),document.createEvent){let _e=document.createEvent("MouseEvents");return _e.initEvent("click",!0,!0),pe.dispatchEvent(_e),!0}}return $.indexOf("?")===-1&&($+="?download"),Mt($,ie),!0}function Wt($,z){if(!$||!z||$.length!==z.length)return!1;for(let ie of Object.keys($))if(!St($[ie],z[ie]))return!1;return!0}function Xt($,z){if(!$||!z)return!1;let{length:ie}=$;if(ie!==z.length)return!1;for(let le=0;le<ie;le++)if(!St($[le],z[le]))return!1;return!0}function St($,z){let ie=Object.prototype.toString.call($);return ie!==Object.prototype.toString.call(z)?!1:ie==="[object Object]"?Wt($,z):ie==="[object Array]"?Xt($,z):ie==="[object Function]"?$===z?!0:$.toString()===z.toString():$===z}var qn=($,z)=>{if($.install=ie=>{for(let le of[$,...Object.values(z??{})])ie.component(le.name,le)},z)for(let[ie,le]of Object.entries(z))$[ie]=le;return $},U=class{constructor($){ro(this,"storage");this.storage=$}setItem($,z){P$1(this.storage)||this.storage.setItem($,JSON.stringify(z))}getItem($){if(!P$1(this.storage))return JSON.parse(this.storage.getItem($))}removeItem($){P$1(this.storage)||this.storage.removeItem($)}clear(){P$1(this.storage)||this.storage.clear()}},Z=class extends U{constructor($){super($)}},er=()=>nt?new Z(window.localStorage):new Z(""),nr=()=>nt?new U(window.sessionStorage):new U("");function Vt($,z){return C(z)?$.substring(0,$.indexOf(z)):""}function dr($){if(!gt($))return console.error(`${$}不符合超链接规范`),{};let z=$.indexOf("?"),ie=$.slice(z+1).split("&"),le={};for(let ue=0;ue<ie.length;ue++)le[ie[ue].split("=")[0]]=ie[ue].split("=")[1];return le}function wr($,z){return $.every(ie=>z.some(le=>le===ie))}var Er=(...$)=>[...$].reduce((z,ie)=>z.filter(le=>ie.includes(le)));function vr($,z){let ie=[];for(let le of $)le[z]&&ie.push(le[z]);return Array.from(new Set(ie))}var i={};It(i,{Vue:()=>vue_runtime_esmBundler});K$1(i,vue_runtime_esmBundler);var ne=["class","style"],re=/^on[A-Z]/;function oe($){return Object.keys($).map(z=>[z,$[z]])}function Ar($={}){let z=(0,i.getCurrentInstance)();if(!z)return{};let{excludeListeners:ie=!1,excludeKeys:le=[]}=$,ue=(0,i.shallowRef)({}),pe=le.concat(ne);return z.attrs=(0,i.reactive)(z.attrs),(0,i.watchEffect)(()=>{let _e=oe(z.attrs).reduce((Ce,[$e,xe])=>(!pe.includes($e)&&!(ie&&re.test($e))&&(Ce[$e]=xe),Ce),{});ue.value=_e}),ue}function L$2($){(0,i.getCurrentInstance)()&&(0,i.onUnmounted)($)}var Hr=()=>{let $=(0,i.shallowRef)(!1),z,ie=()=>{$.value=document.documentElement.classList.contains("dark")};return L$2(()=>{z.takeRecords(),z.disconnect()}),(0,i.onBeforeMount)(()=>{ie(),z=new MutationObserver(ie),z.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:$}};function At(){let{appContext:{config:{globalProperties:$}}}=(0,i.getCurrentInstance)();return $}var Jr=($,z)=>{let ie=(z==null?void 0:z.theme)??(0,i.ref)("default"),le=(z==null?void 0:z.tooltipId)??"tooltipElement",ue=At().$echarts,pe=null,_e=(0,i.ref)({}),Ce=(0,i.ref)(),$e=(0,i.computed)(()=>ie.value!=="dark"?_e.value:{backgroundColor:"transparent",..._e.value});function xe(Tn){let kn=(0,i.unref)($);!kn||!(0,i.unref)(kn)||(pe=ue.init(kn,Tn))}function Ie(Tn,...kn){var xn;if(_e.value=Tn,Ce.value=kn,((xn=(0,i.unref)($))==null?void 0:xn.offsetHeight)===0){k$1().then(()=>Ie((0,i.unref)($e),...kn));return}(0,i.nextTick)(()=>{k$1().then(()=>{!pe&&xe(ie.value),(Tn.clear??!0)&&Ve(),pe==null||pe.setOption((0,i.unref)($e)),kn&&kn.map(Pn=>{(Pn==null?void 0:Pn.type)!=="zrender"&&typeof(Pn==null?void 0:Pn.callback)=="function"&&(pe==null||pe.on(Pn==null?void 0:Pn.name,Pn!=null&&Pn.query?Pn==null?void 0:Pn.query:"",An=>{Pn==null||Pn.callback(An)})),(Pn==null?void 0:Pn.type)==="zrender"&&typeof(Pn==null?void 0:Pn.callback)=="function"&&(pe==null||pe.getZr().on(Pn==null?void 0:Pn.name,An=>{An.target||(Pn==null||Pn.callback(An))}))}),Tn!=null&&Tn.addTooltip&&En(Tn.addTooltip)})})}function Ve(){pe&&pe.clear()}function ze(){pe.resize()}function Ue(Tn){let kn=(Tn==null?void 0:Tn.type)??"default",xn=(Tn==null?void 0:Tn.opts)??{};pe.showLoading(kn,xn)}function qe(){pe.hideLoading()}function Et(Tn){pe.appendData(Tn)}function Lt(){return pe.getWidth()}function hn(){return pe.getHeight()}function vn(){return pe||xe(ie.value),pe}function _n(){return pe.getDom()}function bn(){return pe.getOption()}function Cn(Tn){return pe.getDataURL(Tn)}function Sn(Tn){return pe.getConnectedDataURL(Tn)}function En(Tn){if(!Tn)return;let kn=document.querySelector("html");if(!document.getElementById(le)){let An=document.createElement("div");An.setAttribute("id",le),An.style.display="block",kn.appendChild(An)}let xn=document.querySelector(`#${le}`),Pn=An=>{if((An==null?void 0:An.targetType)!=="axisLabel")return;let In=`
|
||
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;
|
||
`;xn.style.cssText=In,xn.innerHTML=An==null?void 0:An.value,kn.onmousemove=Fn=>{let Dn=Fn.pageX-10,On=Fn.pageY+15;xn.style.top=On+"px",xn.style.left=Dn+"px"}};pe==null||pe.on("mouseover",An=>{(Tn==="x"&&An.componentType=="xAxis"||Tn==="y"&&An.componentType=="yAxis"||Tn.toString()==="true"&&An.componentType.includes("Axis"))&&Pn(An)}),pe==null||pe.on("mouseout",()=>{kn.onmousemove=null,xn.style.cssText="display:none"})}(0,i.watch)(()=>ie.value,Tn=>{pe&&(pe.dispose(),xe(Tn),Ie(_e.value,...Ce.value))});function wn(){var Tn;!pe||k$1(((Tn=_e.value)==null?void 0:Tn.delay)??300).then(()=>{ze()})}return(0,i.onMounted)(()=>{(0,i.nextTick)(()=>{window.addEventListener("resize",wn)})}),L$2(()=>{var Tn;window.removeEventListener("resize",wn),pe&&(pe.dispose(),pe=null,(Tn=document.querySelector(`#${le}`))==null||Tn.remove())}),{echarts:ue,clear:Ve,resize:ze,getDom:_n,getWidth:Lt,getOption:bn,getHeight:hn,addTooltip:En,getDataURL:Cn,setOptions:Ie,appendData:Et,getInstance:vn,showLoading:Ue,hideLoading:qe,getConnectedDataURL:Sn}},ae=Symbol("watermark-dom"),fo=($=(0,i.ref)(document.body))=>{let z=ae.toString(),ie=(0,i.shallowRef)(),le=()=>{let Ve=(0,i.unref)(ie);ie.value=void 0;let ze=(0,i.unref)($);!ze||Ve&&ze.removeChild(Ve)};function ue(Ve,ze){let Ue=document.createElement("canvas"),qe=(ze==null?void 0:ze.width)??250,Et=(ze==null?void 0:ze.height)??100;Object.assign(Ue,{width:qe,height:Et});let Lt=Ue.getContext("2d");if(Lt){if(Lt.rotate(((ze==null?void 0:ze.rotate)??-10*Math.PI)/120),Lt.font=(ze==null?void 0:ze.font)??"15px Reggae One",(ze==null?void 0:ze.gradient)&&tt(ze==null?void 0:ze.gradient)){let hn=Lt.createLinearGradient(0,0,qe,0);ze==null||ze.gradient.forEach(vn=>{hn.addColorStop(vn.value,vn.color)}),Lt.fillStyle=hn}else Lt.fillStyle=(ze==null?void 0:ze.fillStyle)??"rgba(0, 0, 0, 0.15)";if(Lt.textAlign="left",Lt.textBaseline="middle",ze!=null&&ze.globalAlpha&&(Lt.globalAlpha=ze.globalAlpha),ze==null?void 0:ze.shadowConfig){let{shadowConfig:hn}=ze;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(Ve,qe/((ze==null?void 0:ze.fillTextWidth)??20),Et/((ze==null?void 0:ze.fillTextHeight)??2))}return Ue.toDataURL("image/png")}function pe(Ve={}){let ze=(0,i.unref)(ie);!ze||(R(Ve.width)&&(ze.style.width=`${Ve.width}px`),R(Ve.height)&&(ze.style.height=`${Ve.height}px`),R(Ve.str)&&(ze.style.background=`url(${ue(Ve.str,Ve.attr)}) left top repeat`))}let _e=vt(()=>{let Ve=(0,i.unref)($);if(!Ve)return;let{clientHeight:ze,clientWidth:Ue}=Ve;pe({height:ze,width:Ue})}),Ce=(Ve,ze)=>{var hn;if((0,i.unref)(ie))return pe({str:Ve,attr:ze}),z;let Ue=document.createElement("div");ie.value=Ue,Ue.id=z,Ue.style.pointerEvents="none",Ue.style.top="0px",Ue.style.left="0px",Ue.style.position="absolute",Ue.style.zIndex=(ze==null?void 0:ze.zIndex)??"100000";let qe=(0,i.unref)($);if(!qe)return z;let{clientHeight:Et,clientWidth:Lt}=qe;return pe({str:Ve,width:Lt,height:Et,attr:ze}),(hn=qe==null?void 0:qe.style)!=null&&hn.position||(qe.style.position="relative"),qe.appendChild(Ue),z};function $e(Ve,{str:ze,attr:Ue}){Ve[0].removedNodes[0]&&Ve[0].removedNodes[0].id===z&&(ie.value=void 0,Ce(ze,Ue))}function xe(Ve,ze){let Ue={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(qe=>$e(qe,{str:Ve,attr:ze})).observe((0,i.unref)($),Ue)}function Ie(Ve,ze){Ce(Ve,ze),window.addEventListener("resize",_e),ze!=null&&ze.forever&&xe(Ve,ze),(0,i.getCurrentInstance)()&&le&&le()}return L$2(()=>{window.removeEventListener("resize",_e)}),{clear:le,setWatermark:Ie}};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($){const z=ref(!1),ie=computed(()=>_e=>{var Ce;return((Ce=_e==null?void 0:_e.footerButtons)==null?void 0:Ce.length)>0?_e.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:xe}})=>{const Ie=()=>closeDialog($e,xe,{command:"cancel"});$e!=null&&$e.beforeCancel&&H$1($e==null?void 0:$e.beforeCancel)?$e.beforeCancel(Ie,{options:$e,index:xe}):Ie()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:xe}})=>{const Ie=()=>closeDialog($e,xe,{command:"sure"});$e!=null&&$e.beforeSure&&H$1($e==null?void 0:$e.beforeSure)?$e.beforeSure(Ie,{options:$e,index:xe}):Ie()}}]}),le=computed(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function ue(_e,Ce,$e){if(z.value=(Ce==null?void 0:Ce.fullscreen)??!1,Ce!=null&&Ce[_e]&&H$1(Ce==null?void 0:Ce[_e]))return Ce==null?void 0:Ce[_e]({options:Ce,index:$e})}function pe(_e,Ce,$e={command:"close"}){closeDialog(_e,Ce,$e),ue("close",_e,Ce)}return(_e,Ce)=>{const $e=resolveComponent("IconifyIconOffline"),xe=resolveComponent("el-button"),Ie=resolveComponent("el-dialog");return openBlock(!0),createElementBlock(Fragment,null,renderList(unref(dialogStore),(Ve,ze)=>(openBlock(),createBlock(Ie,mergeProps({class:"pure-dialog",key:ze},Ve,{modelValue:Ve.visible,"onUpdate:modelValue":Ue=>Ve.visible=Ue,fullscreen:z.value?!0:!!(Ve!=null&&Ve.fullscreen),onClose:Ue=>pe(Ve,ze),onOpened:Ue=>ue("open",Ve,ze),onOpenAutoFocus:Ue=>ue("openAutoFocus",Ve,ze),onCloseAutoFocus:Ue=>ue("closeAutoFocus",Ve,ze)}),createSlots({default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ve.contentRenderer({options:Ve,index:ze})),mergeProps(Ve==null?void 0:Ve.props,{onClose:Ue=>pe(Ve,ze,Ue)}),null,16,["onClose"]))]),_:2},[Ve!=null&&Ve.fullscreenIcon||Ve!=null&&Ve.headerRenderer?{name:"header",fn:withCtx(({close:Ue,titleId:qe,titleClass:Et})=>[Ve!=null&&Ve.fullscreenIcon?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("span",{id:qe,class:normalizeClass(Et)},toDisplayString$1(Ve==null?void 0:Ve.title),11,_hoisted_2$1),Ve!=null&&Ve.fullscreen?createCommentVNode("",!0):(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(le.value),onClick:Ce[0]||(Ce[0]=Lt=>z.value=!z.value)},[createVNode($e,{class:"pure-dialog-svg",icon:Ve!=null&&Ve.fullscreen||z.value?unref(data):unref(data$1)},null,8,["icon"])],2))])):(openBlock(),createBlock(resolveDynamicComponent(Ve==null?void 0:Ve.headerRenderer({close:Ue,titleId:qe,titleClass:Et})),{key:1}))]),key:"0"}:void 0,Ve!=null&&Ve.hideFooter?void 0:{name:"footer",fn:withCtx(()=>[Ve!=null&&Ve.footerRenderer?(openBlock(),createBlock(resolveDynamicComponent(Ve==null?void 0:Ve.footerRenderer({options:Ve,index:ze})),{key:0})):(openBlock(),createElementBlock("span",_hoisted_3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.value(Ve),(Ue,qe)=>(openBlock(),createBlock(xe,mergeProps({key:qe},Ue,{onClick:Et=>Ue.btnClick({dialog:{options:Ve,index:ze},button:{btn:Ue,index:qe}})}),{default:withCtx(()=>[createTextVNode(toDisplayString$1(Ue==null?void 0:Ue.label),1)]),_:2},1040,["onClick"]))),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClose","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function tryOnScopeDispose($){return getCurrentScope()?(onScopeDispose($),!0):!1}function toValue($){return typeof $=="function"?$():unref($)}const isClient=typeof window<"u",notNullish=$=>$!=null,toString$1=Object.prototype.toString,isObject$7=$=>toString$1.call($)==="[object Object]",noop$4=()=>{},isIOS=getIsIOS();function getIsIOS(){var $;return isClient&&(($=window==null?void 0:window.navigator)==null?void 0:$.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function createFilterWrapper($,z){function ie(...le){return new Promise((ue,pe)=>{Promise.resolve($(()=>z.apply(this,le),{fn:z,thisArg:this,args:le})).then(ue).catch(pe)})}return ie}function debounceFilter($,z={}){let ie,le,ue=noop$4;const pe=Ce=>{clearTimeout(Ce),ue(),ue=noop$4};return Ce=>{const $e=toValue($),xe=toValue(z.maxWait);return ie&&pe(ie),$e<=0||xe!==void 0&&xe<=0?(le&&(pe(le),le=null),Promise.resolve(Ce())):new Promise((Ie,Ve)=>{ue=z.rejectOnCancel?Ve:Ie,xe&&!le&&(le=setTimeout(()=>{ie&&pe(ie),le=null,Ie(Ce())},xe)),ie=setTimeout(()=>{le&&pe(le),le=null,Ie(Ce())},$e)})}}function toRef(...$){if($.length!==1)return toRef$1(...$);const z=$[0];return typeof z=="function"?readonly(customRef(()=>({get:z,set:noop$4}))):ref(z)}function useDebounceFn($,z=200,ie={}){return createFilterWrapper(debounceFilter(z,ie),$)}function tryOnMounted($,z=!0){getCurrentInstance()?onMounted($):z?$():nextTick($)}function tryOnUnmounted($){getCurrentInstance()&&onUnmounted($)}function useIntervalFn($,z=1e3,ie={}){const{immediate:le=!0,immediateCallback:ue=!1}=ie;let pe=null;const _e=ref(!1);function Ce(){pe&&(clearInterval(pe),pe=null)}function $e(){_e.value=!1,Ce()}function xe(){const Ie=toValue(z);Ie<=0||(_e.value=!0,ue&&$(),Ce(),pe=setInterval($,Ie))}if(le&&isClient&&xe(),isRef(z)||typeof z=="function"){const Ie=watch(z,()=>{_e.value&&isClient&&xe()});tryOnScopeDispose(Ie)}return tryOnScopeDispose($e),{isActive:_e,pause:$e,resume:xe}}function useTimeoutFn($,z,ie={}){const{immediate:le=!0}=ie,ue=ref(!1);let pe=null;function _e(){pe&&(clearTimeout(pe),pe=null)}function Ce(){ue.value=!1,_e()}function $e(...xe){_e(),ue.value=!0,pe=setTimeout(()=>{ue.value=!1,pe=null,$(...xe)},toValue(z))}return le&&(ue.value=!0,isClient&&$e()),tryOnScopeDispose(Ce),{isPending:readonly(ue),start:$e,stop:Ce}}function unrefElement($){var z;const ie=toValue($);return(z=ie==null?void 0:ie.$el)!=null?z:ie}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...$){let z,ie,le,ue;if(typeof $[0]=="string"||Array.isArray($[0])?([ie,le,ue]=$,z=defaultWindow):[z,ie,le,ue]=$,!z)return noop$4;Array.isArray(ie)||(ie=[ie]),Array.isArray(le)||(le=[le]);const pe=[],_e=()=>{pe.forEach(Ie=>Ie()),pe.length=0},Ce=(Ie,Ve,ze,Ue)=>(Ie.addEventListener(Ve,ze,Ue),()=>Ie.removeEventListener(Ve,ze,Ue)),$e=watch(()=>[unrefElement(z),toValue(ue)],([Ie,Ve])=>{_e(),Ie&&pe.push(...ie.flatMap(ze=>le.map(Ue=>Ce(Ie,ze,Ue,Ve))))},{immediate:!0,flush:"post"}),xe=()=>{$e(),_e()};return tryOnScopeDispose(xe),xe}let _iOSWorkaround=!1;function onClickOutside($,z,ie={}){const{window:le=defaultWindow,ignore:ue=[],capture:pe=!0,detectIframe:_e=!1}=ie;if(!le)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(le.document.body.children).forEach(ze=>ze.addEventListener("click",noop$4)));let Ce=!0;const $e=ze=>ue.some(Ue=>{if(typeof Ue=="string")return Array.from(le.document.querySelectorAll(Ue)).some(qe=>qe===ze.target||ze.composedPath().includes(qe));{const qe=unrefElement(Ue);return qe&&(ze.target===qe||ze.composedPath().includes(qe))}}),Ie=[useEventListener(le,"click",ze=>{const Ue=unrefElement($);if(!(!Ue||Ue===ze.target||ze.composedPath().includes(Ue))){if(ze.detail===0&&(Ce=!$e(ze)),!Ce){Ce=!0;return}z(ze)}},{passive:!0,capture:pe}),useEventListener(le,"pointerdown",ze=>{const Ue=unrefElement($);Ue&&(Ce=!ze.composedPath().includes(Ue)&&!$e(ze))},{passive:!0}),_e&&useEventListener(le,"blur",ze=>{var Ue;const qe=unrefElement($);((Ue=le.document.activeElement)==null?void 0:Ue.tagName)==="IFRAME"&&!(qe!=null&&qe.contains(le.document.activeElement))&&z(ze)})].filter(Boolean);return()=>Ie.forEach(ze=>ze())}function createKeyPredicate($){return typeof $=="function"?$:typeof $=="string"?z=>z.key===$:Array.isArray($)?z=>$.includes(z.key):()=>!0}function onKeyStroke(...$){let z,ie,le={};$.length===3?(z=$[0],ie=$[1],le=$[2]):$.length===2?typeof $[1]=="object"?(z=!0,ie=$[0],le=$[1]):(z=$[0],ie=$[1]):(z=!0,ie=$[0]);const{target:ue=defaultWindow,eventName:pe="keydown",passive:_e=!1,dedupe:Ce=!1}=le,$e=createKeyPredicate(z);return useEventListener(ue,pe,Ie=>{Ie.repeat&&toValue(Ce)||$e(Ie)&&ie(Ie)},_e)}function templateRef($,z=null){const ie=getCurrentInstance();let le=()=>{};const ue=customRef((pe,_e)=>(le=_e,{get(){var Ce,$e;return pe(),($e=(Ce=ie==null?void 0:ie.proxy)==null?void 0:Ce.$refs[$])!=null?$e:z},set(){}}));return tryOnMounted(le),onUpdated(le),ue}function useMounted(){const $=ref(!1);return getCurrentInstance()&&onMounted(()=>{$.value=!0}),$}function useSupported($){const z=useMounted();return computed(()=>(z.value,!!$()))}function useMediaQuery($,z={}){const{window:ie=defaultWindow}=z,le=useSupported(()=>ie&&"matchMedia"in ie&&typeof ie.matchMedia=="function");let ue;const pe=ref(!1),_e=()=>{ue&&("removeEventListener"in ue?ue.removeEventListener("change",Ce):ue.removeListener(Ce))},Ce=()=>{le.value&&(_e(),ue=ie.matchMedia(toRef($).value),pe.value=!!(ue!=null&&ue.matches),ue&&("addEventListener"in ue?ue.addEventListener("change",Ce):ue.addListener(Ce)))};return watchEffect(Ce),tryOnScopeDispose(()=>_e()),pe}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=($,z)=>{var ie={};for(var le in $)__hasOwnProp$g.call($,le)&&z.indexOf(le)<0&&(ie[le]=$[le]);if($!=null&&__getOwnPropSymbols$g)for(var le of __getOwnPropSymbols$g($))z.indexOf(le)<0&&__propIsEnum$g.call($,le)&&(ie[le]=$[le]);return ie};function useResizeObserver($,z,ie={}){const le=ie,{window:ue=defaultWindow}=le,pe=__objRest$2(le,["window"]);let _e;const Ce=useSupported(()=>ue&&"ResizeObserver"in ue),$e=()=>{_e&&(_e.disconnect(),_e=void 0)},xe=computed(()=>Array.isArray($)?$.map(ze=>unrefElement(ze)):[unrefElement($)]),Ie=watch(xe,ze=>{if($e(),Ce.value&&ue){_e=new ResizeObserver(z);for(const Ue of ze)Ue&&_e.observe(Ue,pe)}},{immediate:!0,flush:"post",deep:!0}),Ve=()=>{$e(),Ie()};return tryOnScopeDispose(Ve),{isSupported:Ce,stop:Ve}}function useIntersectionObserver($,z,ie={}){const{root:le,rootMargin:ue="0px",threshold:pe=.1,window:_e=defaultWindow,immediate:Ce=!0}=ie,$e=useSupported(()=>_e&&"IntersectionObserver"in _e),xe=computed(()=>{const qe=toValue($);return(Array.isArray(qe)?qe:[qe]).map(unrefElement).filter(notNullish)});let Ie=noop$4;const Ve=ref(Ce),ze=$e.value?watch(()=>[xe.value,unrefElement(le),Ve.value],([qe,Et])=>{if(Ie(),!Ve.value||!qe.length)return;const Lt=new IntersectionObserver(z,{root:unrefElement(Et),rootMargin:ue,threshold:pe});qe.forEach(hn=>hn&&Lt.observe(hn)),Ie=()=>{Lt.disconnect(),Ie=noop$4}},{immediate:Ce,flush:"post"}):noop$4,Ue=()=>{Ie(),ze(),Ve.value=!1};return tryOnScopeDispose(Ue),{isSupported:$e,isActive:Ve,pause(){Ie(),Ve.value=!1},resume(){Ve.value=!0},stop:Ue}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen($,z={}){const{document:ie=defaultDocument,autoExit:le=!1}=z,ue=computed(()=>{var hn;return(hn=unrefElement($))!=null?hn:ie==null?void 0:ie.querySelector("html")}),pe=ref(!1),_e=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(hn=>ie&&hn in ie||ue.value&&hn in ue.value)),Ce=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(hn=>ie&&hn in ie||ue.value&&hn in ue.value)),$e=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(hn=>ie&&hn in ie||ue.value&&hn in ue.value)),xe=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(hn=>ie&&hn in ie),Ie=useSupported(()=>ue.value&&ie&&_e.value!==void 0&&Ce.value!==void 0&&$e.value!==void 0),Ve=()=>xe?(ie==null?void 0:ie[xe])===ue.value:!1,ze=()=>{if($e.value){if(ie&&ie[$e.value]!=null)return ie[$e.value];{const hn=ue.value;if((hn==null?void 0:hn[$e.value])!=null)return!!hn[$e.value]}}return!1};async function Ue(){if(Ie.value){if(Ce.value)if((ie==null?void 0:ie[Ce.value])!=null)await ie[Ce.value]();else{const hn=ue.value;(hn==null?void 0:hn[Ce.value])!=null&&await hn[Ce.value]()}pe.value=!1}}async function qe(){if(!Ie.value)return;ze()&&await Ue();const hn=ue.value;_e.value&&(hn==null?void 0:hn[_e.value])!=null&&(await hn[_e.value](),pe.value=!0)}async function Et(){await(pe.value?Ue():qe())}const Lt=()=>{const hn=ze();(!hn||hn&&Ve())&&(pe.value=hn)};return useEventListener(ie,eventHandlers,Lt,!1),useEventListener(()=>unrefElement(ue),eventHandlers,Lt,!1),le&&tryOnScopeDispose(Ue),{isSupported:Ie,isFullscreen:pe,enter:qe,exit:Ue,toggle:Et}}function useWindowSize($={}){const{window:z=defaultWindow,initialWidth:ie=1/0,initialHeight:le=1/0,listenOrientation:ue=!0,includeScrollbar:pe=!0}=$,_e=ref(ie),Ce=ref(le),$e=()=>{z&&(pe?(_e.value=z.innerWidth,Ce.value=z.innerHeight):(_e.value=z.document.documentElement.clientWidth,Ce.value=z.document.documentElement.clientHeight))};if($e(),tryOnMounted($e),useEventListener("resize",$e,{passive:!0}),ue){const xe=useMediaQuery("(orientation: portrait)");watch(xe,()=>$e())}return{width:_e,height:Ce}}const dialogStore=ref([]),addDialog=$=>{const z=()=>dialogStore.value.push(Object.assign($,{visible:!0}));$!=null&&$.openDelay?useTimeoutFn(()=>{z()},$.openDelay):z()},closeDialog=($,z,ie)=>{dialogStore.value.splice(z,1),$.closeCallBack&&$.closeCallBack({options:$,index:z,args:ie})},updateDialog=($,z="title",ie=0)=>{dialogStore.value[ie][z]=$},closeAllDialog=()=>{dialogStore.value=[]},ReDialog=qn(_sfc_main$1);var zhCn={};(function($){Object.defineProperty($,"__esModule",{value:!0});var z={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:"取消"}}};$.default=z})(zhCn);const zhLocale=getDefaultExportFromCjs(zhCn),_sfc_main=defineComponent({name:"app",components:{[ElConfigProvider.name]:ElConfigProvider,ReDialog},computed:{currentLocale(){var $;return(($=this.$storage.locale)==null?void 0:$.locale)==="zh"?zhLocale:enLocale}},beforeCreate(){const{version:$,name:z}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.7","@logicflow/extension":"^1.2.7","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.2.0","@pureadmin/utils":"^1.9.2","@vueuse/core":"^10.1.2","@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.7",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.5","element-resize-detector":"^1.2.4","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.3",qrcode:"^1.5.3",qs:"^6.11.1","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.3.2",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.2",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.1","vue-types":"^5.0.3","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.2",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.3","@commitlint/config-conventional":"^17.6.3","@iconify-icons/ep":"^1.2.11","@iconify-icons/ri":"^1.2.7","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.10.0","@pureadmin/theme":"^3.0.0","@types/element-resize-detector":"1.1.3","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.15.12","@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.59.8","@typescript-eslint/parser":"^5.59.8","@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.42.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.14.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.23","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.0",sass:"^1.62.1","sass-loader":"^13.3.0",stylelint:"^15.6.2","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.0.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^11.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.0",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.17.6",typescript:"^5.1.3",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.0","vue-tsc":"^1.6.5"},name:"vue-pure-admin",version:"4.3.0"},{VITE_PUBLIC_PATH:ie,MODE:le}={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};le==="production"&&checkVersion({pollingTime:3e5,localPackageVersion:$,originVersionFileUrl:`${location.origin}${ie}version.json`},{title:z,description:"检测到新版本",buttonText:"立即更新"})}}),_export_sfc=($,z)=>{const ie=$.__vccOpts||$;for(const[le,ue]of z)ie[le]=ue;return ie};function _sfc_render($,z,ie,le,ue,pe){const _e=resolveComponent("router-view"),Ce=resolveComponent("ReDialog"),$e=resolveComponent("el-config-provider");return openBlock(),createBlock($e,{locale:$.currentLocale},{default:withCtx(()=>[createVNode(_e),createVNode(Ce)]),_:1},8,["locale"])}const App=_export_sfc(_sfc_main,[["render",_sfc_render]]),scriptRel="modulepreload",assetsURL=function($){return"/vue-pure-admin/"+$},seen={},__vitePreload=function(z,ie,le){if(!ie||ie.length===0)return z();const ue=document.getElementsByTagName("link");return Promise.all(ie.map(pe=>{if(pe=assetsURL(pe),pe in seen)return;seen[pe]=!0;const _e=pe.endsWith(".css"),Ce=_e?'[rel="stylesheet"]':"";if(!!le)for(let Ie=ue.length-1;Ie>=0;Ie--){const Ve=ue[Ie];if(Ve.href===pe&&(!_e||Ve.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${pe}"]${Ce}`))return;const xe=document.createElement("link");if(xe.rel=_e?"stylesheet":scriptRel,_e||(xe.as="script",xe.crossOrigin=""),xe.href=pe,document.head.appendChild(xe),_e)return new Promise((Ie,Ve)=>{xe.addEventListener("load",Ie),xe.addEventListener("error",()=>Ve(new Error(`Unable to preload CSS for ${pe}`)))})})).then(()=>z())},resource$1={buttons:{hsLoginOut:$=>{const{normalize:z}=$;return z(["LoginOut"])},hsfullscreen:$=>{const{normalize:z}=$;return z(["FullScreen"])},hsexitfullscreen:$=>{const{normalize:z}=$;return z(["ExitFullscreen"])},hsrefreshRoute:$=>{const{normalize:z}=$;return z(["RefreshRoute"])},hslogin:$=>{const{normalize:z}=$;return z(["Login"])},hsadd:$=>{const{normalize:z}=$;return z(["Add"])},hsmark:$=>{const{normalize:z}=$;return z(["Mark/Cancel"])},hssave:$=>{const{normalize:z}=$;return z(["Save"])},hssearch:$=>{const{normalize:z}=$;return z(["Search"])},hsexpendAll:$=>{const{normalize:z}=$;return z(["Expand All"])},hscollapseAll:$=>{const{normalize:z}=$;return z(["Collapse All"])},hssystemSet:$=>{const{normalize:z}=$;return z(["Open ProjectConfig"])},hsdelete:$=>{const{normalize:z}=$;return z(["Delete"])},hsreload:$=>{const{normalize:z}=$;return z(["Reload"])},hscloseCurrentTab:$=>{const{normalize:z}=$;return z(["Close CurrentTab"])},hscloseLeftTabs:$=>{const{normalize:z}=$;return z(["Close LeftTabs"])},hscloseRightTabs:$=>{const{normalize:z}=$;return z(["Close RightTabs"])},hscloseOtherTabs:$=>{const{normalize:z}=$;return z(["Close OtherTabs"])},hscloseAllTabs:$=>{const{normalize:z}=$;return z(["Close AllTabs"])},hswholeFullScreen:$=>{const{normalize:z}=$;return z(["FullScreen"])},hswholeExitFullScreen:$=>{const{normalize:z}=$;return z(["ExitFull"])},hscontentFullScreen:$=>{const{normalize:z}=$;return z(["Content FullScreen"])},hscontentExitFullScreen:$=>{const{normalize:z}=$;return z(["Content ExitFullScreen"])}},menus:{hshome:$=>{const{normalize:z}=$;return z(["Home"])},hslogin:$=>{const{normalize:z}=$;return z(["Login"])},hsempty:$=>{const{normalize:z}=$;return z(["Empty Page"])},hssysManagement:$=>{const{normalize:z}=$;return z(["System Manage"])},hsUser:$=>{const{normalize:z}=$;return z(["User Manage"])},hsRole:$=>{const{normalize:z}=$;return z(["Role Manage"])},hsDept:$=>{const{normalize:z}=$;return z(["Dept Manage"])},hseditor:$=>{const{normalize:z}=$;return z(["Editor"])},hsabnormal:$=>{const{normalize:z}=$;return z(["Abnormal Page"])},hsfourZeroFour:$=>{const{normalize:z}=$;return z(["404"])},hsfourZeroOne:$=>{const{normalize:z}=$;return z(["403"])},hsFive:$=>{const{normalize:z}=$;return z(["500"])},hscomponents:$=>{const{normalize:z}=$;return z(["Components"])},hsdialog:$=>{const{normalize:z}=$;return z(["Dialog Components"])},hsmessage:$=>{const{normalize:z}=$;return z(["Message Tips Components"])},hsvideo:$=>{const{normalize:z}=$;return z(["Video Components"])},hssegmented:$=>{const{normalize:z}=$;return z(["Segmented Components"])},hswaterfall:$=>{const{normalize:z}=$;return z(["Waterfall Components"])},hsmap:$=>{const{normalize:z}=$;return z(["Map Components"])},hsdraggable:$=>{const{normalize:z}=$;return z(["Draggable Components"])},hssplitPane:$=>{const{normalize:z}=$;return z(["Split Pane"])},hsbutton:$=>{const{normalize:z}=$;return z(["Button Components"])},hscropping:$=>{const{normalize:z}=$;return z(["Picture Cropping"])},hscountTo:$=>{const{normalize:z}=$;return z(["Digital Animation"])},hsselector:$=>{const{normalize:z}=$;return z(["Selector Components"])},hsflowChart:$=>{const{normalize:z}=$;return z(["Flow Chart"])},hsseamless:$=>{const{normalize:z}=$;return z(["Seamless Scroll"])},hscontextmenu:$=>{const{normalize:z}=$;return z(["Context Menu"])},hstypeit:$=>{const{normalize:z}=$;return z(["Typeit Components"])},hsjsoneditor:$=>{const{normalize:z}=$;return z(["JSON Editor"])},hsmenus:$=>{const{normalize:z}=$;return z(["MultiLevel Menu"])},hsmenu1:$=>{const{normalize:z}=$;return z(["Menu1"])},"hsmenu1-1":$=>{const{normalize:z}=$;return z(["Menu1-1"])},"hsmenu1-2":$=>{const{normalize:z}=$;return z(["Menu1-2"])},"hsmenu1-2-1":$=>{const{normalize:z}=$;return z(["Menu1-2-1"])},"hsmenu1-2-2":$=>{const{normalize:z}=$;return z(["Menu1-2-2"])},"hsmenu1-3":$=>{const{normalize:z}=$;return z(["Menu1-3"])},hsmenu2:$=>{const{normalize:z}=$;return z(["Menu2"])},permission:$=>{const{normalize:z}=$;return z(["Permission Manage"])},permissionPage:$=>{const{normalize:z}=$;return z(["Page Permission"])},permissionButton:$=>{const{normalize:z}=$;return z(["Button Permission"])},hstabs:$=>{const{normalize:z}=$;return z(["Tabs Operate"])},hsguide:$=>{const{normalize:z}=$;return z(["Guide"])},hsAble:$=>{const{normalize:z}=$;return z(["Able"])},hsMenuTree:$=>{const{normalize:z}=$;return z(["Menu Tree"])},hsWatermark:$=>{const{normalize:z}=$;return z(["Water Mark"])},hsPrint:$=>{const{normalize:z}=$;return z(["Print"])},hsDownload:$=>{const{normalize:z}=$;return z(["Download"])},hsExternalPage:$=>{const{normalize:z}=$;return z(["External Page"])},hsPureDocument:$=>{const{normalize:z}=$;return z(["Pure Doc(Embedded)"])},externalLink:$=>{const{normalize:z}=$;return z(["Pure Doc(External)"])},hsEpDocument:$=>{const{normalize:z}=$;return z(["Element Plus Doc(Embedded)"])},hsVueDocument:$=>{const{normalize:z}=$;return z(["Vue3 Doc(Embedded)"])},hsViteDocument:$=>{const{normalize:z}=$;return z(["Vite Doc(Embedded)"])},hsPiniaDocument:$=>{const{normalize:z}=$;return z(["Pinia Doc(Embedded)"])},hsRouterDocument:$=>{const{normalize:z}=$;return z(["Vue Router Doc(Embedded)"])},hsTailwindcssDocument:$=>{const{normalize:z}=$;return z(["Tailwindcss Doc(Embedded)"])},hsAbout:$=>{const{normalize:z}=$;return z(["About"])},hsResult:$=>{const{normalize:z}=$;return z(["Result Page"])},hsSuccess:$=>{const{normalize:z}=$;return z(["Success Page"])},hsFail:$=>{const{normalize:z}=$;return z(["Fail Page"])},hsIconSelect:$=>{const{normalize:z}=$;return z(["Icon Select"])},hsTimeline:$=>{const{normalize:z}=$;return z(["Time Line"])},hsLineTree:$=>{const{normalize:z}=$;return z(["LineTree"])},hsList:$=>{const{normalize:z}=$;return z(["List Page"])},hsListCard:$=>{const{normalize:z}=$;return z(["Card List Page"])},hsDebounce:$=>{const{normalize:z}=$;return z(["Debounce & Throttle"])},hsFormDesign:$=>{const{normalize:z}=$;return z(["Form Design"])},hsBarcode:$=>{const{normalize:z}=$;return z(["Barcode"])},hsQrcode:$=>{const{normalize:z}=$;return z(["Qrcode"])},hsCascader:$=>{const{normalize:z}=$;return z(["Area Cascader"])},hsSwiper:$=>{const{normalize:z}=$;return z(["Swiper Plugin"])},hsVirtualList:$=>{const{normalize:z}=$;return z(["Virtual List"])},hsPdf:$=>{const{normalize:z}=$;return z(["PDF Preview"])},hsExecl:$=>{const{normalize:z}=$;return z(["Export Excel"])},hsInfiniteScroll:$=>{const{normalize:z}=$;return z(["Table Infinite Scroll"])},hsdanmaku:$=>{const{normalize:z}=$;return z(["Danmaku Components"])},hsPureTableBase:$=>{const{normalize:z}=$;return z(["Base Usage"])},hsPureTableHigh:$=>{const{normalize:z}=$;return z(["High Usage"])},hsTree:$=>{const{normalize:z}=$;return z(["Big Data Tree"])},hsMenuoverflow:$=>{const{normalize:z}=$;return z(["Menu Overflow Show Tooltip Text"])},hsChildMenuoverflow:$=>{const{normalize:z}=$;return z(["Child Menu Overflow Show Tooltip Text"])}},status:{hsLoad:$=>{const{normalize:z}=$;return z(["Loading..."])}},login:{username:$=>{const{normalize:z}=$;return z(["Username"])},password:$=>{const{normalize:z}=$;return z(["Password"])},verifyCode:$=>{const{normalize:z}=$;return z(["VerifyCode"])},remember:$=>{const{normalize:z}=$;return z(["Remember Password"])},sure:$=>{const{normalize:z}=$;return z(["Sure Password"])},forget:$=>{const{normalize:z}=$;return z(["Forget Password?"])},login:$=>{const{normalize:z}=$;return z(["Login"])},thirdLogin:$=>{const{normalize:z}=$;return z(["Third Login"])},phoneLogin:$=>{const{normalize:z}=$;return z(["Phone Login"])},qRCodeLogin:$=>{const{normalize:z}=$;return z(["QRCode Login"])},register:$=>{const{normalize:z}=$;return z(["Register"])},weChatLogin:$=>{const{normalize:z}=$;return z(["WeChat Login"])},alipayLogin:$=>{const{normalize:z}=$;return z(["Alipay Login"])},qqLogin:$=>{const{normalize:z}=$;return z(["QQ Login"])},weiboLogin:$=>{const{normalize:z}=$;return z(["Weibo Login"])},phone:$=>{const{normalize:z}=$;return z(["Phone"])},smsVerifyCode:$=>{const{normalize:z}=$;return z(["SMS VerifyCode"])},back:$=>{const{normalize:z}=$;return z(["Back"])},test:$=>{const{normalize:z}=$;return z(["Mock Test"])},tip:$=>{const{normalize:z}=$;return z(['After scanning the code, click "Confirm" to complete the login'])},definite:$=>{const{normalize:z}=$;return z(["Definite"])},loginSuccess:$=>{const{normalize:z}=$;return z(["Login Success"])},registerSuccess:$=>{const{normalize:z}=$;return z(["Regist Success"])},tickPrivacy:$=>{const{normalize:z}=$;return z(["Please tick Privacy Policy"])},readAccept:$=>{const{normalize:z}=$;return z(["I have read it carefully and accept"])},privacyPolicy:$=>{const{normalize:z}=$;return z(["Privacy Policy"])},getVerifyCode:$=>{const{normalize:z}=$;return z(["Get VerifyCode"])},info:$=>{const{normalize:z}=$;return z(["Seconds"])},usernameReg:$=>{const{normalize:z}=$;return z(["Please enter username"])},passwordReg:$=>{const{normalize:z}=$;return z(["Please enter password"])},verifyCodeReg:$=>{const{normalize:z}=$;return z(["Please enter verify code"])},verifyCodeCorrectReg:$=>{const{normalize:z}=$;return z(["Please enter correct verify code"])},verifyCodeSixReg:$=>{const{normalize:z}=$;return z(["Please enter a 6-digit verify code"])},phoneReg:$=>{const{normalize:z}=$;return z(["Please enter the phone"])},phoneCorrectReg:$=>{const{normalize:z}=$;return z(["Please enter the correct phone number format"])},passwordRuleReg:$=>{const{normalize:z}=$;return z(["The password format should be any combination of 8-18 digits"])},passwordSureReg:$=>{const{normalize:z}=$;return z(["Please enter confirm password"])},passwordDifferentReg:$=>{const{normalize:z}=$;return z(["The two passwords do not match!"])},passwordUpdateReg:$=>{const{normalize:z}=$;return z(["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:$=>{const{normalize:z}=$;return z(["退出系统"])},hsfullscreen:$=>{const{normalize:z}=$;return z(["全屏"])},hsexitfullscreen:$=>{const{normalize:z}=$;return z(["退出全屏"])},hsrefreshRoute:$=>{const{normalize:z}=$;return z(["刷新路由"])},hslogin:$=>{const{normalize:z}=$;return z(["登录"])},hsadd:$=>{const{normalize:z}=$;return z(["新增"])},hsmark:$=>{const{normalize:z}=$;return z(["标记/取消"])},hssave:$=>{const{normalize:z}=$;return z(["保存"])},hssearch:$=>{const{normalize:z}=$;return z(["搜索"])},hsexpendAll:$=>{const{normalize:z}=$;return z(["全部展开"])},hscollapseAll:$=>{const{normalize:z}=$;return z(["全部折叠"])},hssystemSet:$=>{const{normalize:z}=$;return z(["打开项目配置"])},hsdelete:$=>{const{normalize:z}=$;return z(["删除"])},hsreload:$=>{const{normalize:z}=$;return z(["重新加载"])},hscloseCurrentTab:$=>{const{normalize:z}=$;return z(["关闭当前标签页"])},hscloseLeftTabs:$=>{const{normalize:z}=$;return z(["关闭左侧标签页"])},hscloseRightTabs:$=>{const{normalize:z}=$;return z(["关闭右侧标签页"])},hscloseOtherTabs:$=>{const{normalize:z}=$;return z(["关闭其他标签页"])},hscloseAllTabs:$=>{const{normalize:z}=$;return z(["关闭全部标签页"])},hswholeFullScreen:$=>{const{normalize:z}=$;return z(["全屏"])},hswholeExitFullScreen:$=>{const{normalize:z}=$;return z(["退出全屏"])},hscontentFullScreen:$=>{const{normalize:z}=$;return z(["内容区全屏"])},hscontentExitFullScreen:$=>{const{normalize:z}=$;return z(["内容区退出全屏"])}},menus:{hshome:$=>{const{normalize:z}=$;return z(["首页"])},hslogin:$=>{const{normalize:z}=$;return z(["登录"])},hsempty:$=>{const{normalize:z}=$;return z(["无Layout页"])},hssysManagement:$=>{const{normalize:z}=$;return z(["系统管理"])},hsUser:$=>{const{normalize:z}=$;return z(["用户管理"])},hsRole:$=>{const{normalize:z}=$;return z(["角色管理"])},hsDept:$=>{const{normalize:z}=$;return z(["部门管理"])},hseditor:$=>{const{normalize:z}=$;return z(["编辑器"])},hsabnormal:$=>{const{normalize:z}=$;return z(["异常页面"])},hsfourZeroFour:$=>{const{normalize:z}=$;return z(["404"])},hsfourZeroOne:$=>{const{normalize:z}=$;return z(["403"])},hsFive:$=>{const{normalize:z}=$;return z(["500"])},hscomponents:$=>{const{normalize:z}=$;return z(["组件"])},hsdialog:$=>{const{normalize:z}=$;return z(["函数式弹框组件"])},hsmessage:$=>{const{normalize:z}=$;return z(["消息提示组件"])},hsvideo:$=>{const{normalize:z}=$;return z(["视频组件"])},hssegmented:$=>{const{normalize:z}=$;return z(["分段控制器组件"])},hswaterfall:$=>{const{normalize:z}=$;return z(["瀑布流无限滚动组件"])},hsmap:$=>{const{normalize:z}=$;return z(["地图组件"])},hsdraggable:$=>{const{normalize:z}=$;return z(["拖拽组件"])},hssplitPane:$=>{const{normalize:z}=$;return z(["切割面板"])},hsbutton:$=>{const{normalize:z}=$;return z(["按钮组件"])},hscropping:$=>{const{normalize:z}=$;return z(["图片裁剪"])},hscountTo:$=>{const{normalize:z}=$;return z(["数字动画"])},hsselector:$=>{const{normalize:z}=$;return z(["选择器组件"])},hsflowChart:$=>{const{normalize:z}=$;return z(["流程图"])},hsseamless:$=>{const{normalize:z}=$;return z(["无缝滚动"])},hscontextmenu:$=>{const{normalize:z}=$;return z(["右键菜单"])},hstypeit:$=>{const{normalize:z}=$;return z(["打字机组件"])},hsjsoneditor:$=>{const{normalize:z}=$;return z(["JSON编辑器"])},hsmenus:$=>{const{normalize:z}=$;return z(["多级菜单"])},hsmenu1:$=>{const{normalize:z}=$;return z(["菜单1"])},"hsmenu1-1":$=>{const{normalize:z}=$;return z(["菜单1-1"])},"hsmenu1-2":$=>{const{normalize:z}=$;return z(["菜单1-2"])},"hsmenu1-2-1":$=>{const{normalize:z}=$;return z(["菜单1-2-1"])},"hsmenu1-2-2":$=>{const{normalize:z}=$;return z(["菜单1-2-2"])},"hsmenu1-3":$=>{const{normalize:z}=$;return z(["菜单1-3"])},hsmenu2:$=>{const{normalize:z}=$;return z(["菜单2"])},permission:$=>{const{normalize:z}=$;return z(["权限管理"])},permissionPage:$=>{const{normalize:z}=$;return z(["页面权限"])},permissionButton:$=>{const{normalize:z}=$;return z(["按钮权限"])},hstabs:$=>{const{normalize:z}=$;return z(["标签页操作"])},hsguide:$=>{const{normalize:z}=$;return z(["引导页"])},hsAble:$=>{const{normalize:z}=$;return z(["功能"])},hsMenuTree:$=>{const{normalize:z}=$;return z(["菜单树结构"])},hsWatermark:$=>{const{normalize:z}=$;return z(["水印"])},hsPrint:$=>{const{normalize:z}=$;return z(["打印"])},hsDownload:$=>{const{normalize:z}=$;return z(["下载"])},hsExternalPage:$=>{const{normalize:z}=$;return z(["外部页面"])},hsPureDocument:$=>{const{normalize:z}=$;return z(["平台文档(内嵌)"])},externalLink:$=>{const{normalize:z}=$;return z(["平台文档(外链)"])},hsEpDocument:$=>{const{normalize:z}=$;return z(["Element Plus 文档(内嵌)"])},hsVueDocument:$=>{const{normalize:z}=$;return z(["Vue3 文档(内嵌)"])},hsViteDocument:$=>{const{normalize:z}=$;return z(["Vite 文档(内嵌)"])},hsPiniaDocument:$=>{const{normalize:z}=$;return z(["Pinia 文档(内嵌)"])},hsRouterDocument:$=>{const{normalize:z}=$;return z(["Vue Router 文档(内嵌)"])},hsTailwindcssDocument:$=>{const{normalize:z}=$;return z(["Tailwindcss 文档(内嵌)"])},hsAbout:$=>{const{normalize:z}=$;return z(["关于"])},hsResult:$=>{const{normalize:z}=$;return z(["结果页面"])},hsSuccess:$=>{const{normalize:z}=$;return z(["成功页面"])},hsFail:$=>{const{normalize:z}=$;return z(["失败页面"])},hsIconSelect:$=>{const{normalize:z}=$;return z(["图标选择器"])},hsTimeline:$=>{const{normalize:z}=$;return z(["时间线"])},hsLineTree:$=>{const{normalize:z}=$;return z(["树形连接线"])},hsList:$=>{const{normalize:z}=$;return z(["列表页"])},hsListCard:$=>{const{normalize:z}=$;return z(["卡片列表页"])},hsDebounce:$=>{const{normalize:z}=$;return z(["防抖节流"])},hsFormDesign:$=>{const{normalize:z}=$;return z(["表单设计器"])},hsBarcode:$=>{const{normalize:z}=$;return z(["条形码"])},hsQrcode:$=>{const{normalize:z}=$;return z(["二维码"])},hsCascader:$=>{const{normalize:z}=$;return z(["区域级联选择器"])},hsSwiper:$=>{const{normalize:z}=$;return z(["Swiper插件"])},hsVirtualList:$=>{const{normalize:z}=$;return z(["虚拟列表"])},hsPdf:$=>{const{normalize:z}=$;return z(["PDF预览"])},hsExecl:$=>{const{normalize:z}=$;return z(["导出Excel"])},hsInfiniteScroll:$=>{const{normalize:z}=$;return z(["表格无限滚动"])},hsdanmaku:$=>{const{normalize:z}=$;return z(["弹幕组件"])},hsPureTableBase:$=>{const{normalize:z}=$;return z(["基础用法(23个示例)"])},hsPureTableHigh:$=>{const{normalize:z}=$;return z(["高级用法(10个示例)"])},hsTree:$=>{const{normalize:z}=$;return z(["大数据树业务组件"])},hsMenuoverflow:$=>{const{normalize:z}=$;return z(["目录超出显示 Tooltip 文字提示"])},hsChildMenuoverflow:$=>{const{normalize:z}=$;return z(["菜单超出显示 Tooltip 文字提示"])}},status:{hsLoad:$=>{const{normalize:z}=$;return z(["加载中..."])}},login:{username:$=>{const{normalize:z}=$;return z(["账号"])},password:$=>{const{normalize:z}=$;return z(["密码"])},verifyCode:$=>{const{normalize:z}=$;return z(["验证码"])},remember:$=>{const{normalize:z}=$;return z(["记住密码"])},sure:$=>{const{normalize:z}=$;return z(["确认密码"])},forget:$=>{const{normalize:z}=$;return z(["忘记密码?"])},login:$=>{const{normalize:z}=$;return z(["登录"])},thirdLogin:$=>{const{normalize:z}=$;return z(["第三方登录"])},phoneLogin:$=>{const{normalize:z}=$;return z(["手机登录"])},qRCodeLogin:$=>{const{normalize:z}=$;return z(["二维码登录"])},register:$=>{const{normalize:z}=$;return z(["注册"])},weChatLogin:$=>{const{normalize:z}=$;return z(["微信登录"])},alipayLogin:$=>{const{normalize:z}=$;return z(["支付宝登录"])},qqLogin:$=>{const{normalize:z}=$;return z(["QQ登录"])},weiboLogin:$=>{const{normalize:z}=$;return z(["微博登录"])},phone:$=>{const{normalize:z}=$;return z(["手机号码"])},smsVerifyCode:$=>{const{normalize:z}=$;return z(["短信验证码"])},back:$=>{const{normalize:z}=$;return z(["返回"])},test:$=>{const{normalize:z}=$;return z(["模拟测试"])},tip:$=>{const{normalize:z}=$;return z(['扫码后点击"确认",即可完成登录'])},definite:$=>{const{normalize:z}=$;return z(["确定"])},loginSuccess:$=>{const{normalize:z}=$;return z(["登录成功"])},registerSuccess:$=>{const{normalize:z}=$;return z(["注册成功"])},tickPrivacy:$=>{const{normalize:z}=$;return z(["请勾选隐私政策"])},readAccept:$=>{const{normalize:z}=$;return z(["我已仔细阅读并接受"])},privacyPolicy:$=>{const{normalize:z}=$;return z(["《隐私政策》"])},getVerifyCode:$=>{const{normalize:z}=$;return z(["获取验证码"])},info:$=>{const{normalize:z}=$;return z(["秒后重新获取"])},usernameReg:$=>{const{normalize:z}=$;return z(["请输入账号"])},passwordReg:$=>{const{normalize:z}=$;return z(["请输入密码"])},verifyCodeReg:$=>{const{normalize:z}=$;return z(["请输入验证码"])},verifyCodeCorrectReg:$=>{const{normalize:z}=$;return z(["请输入正确的验证码"])},verifyCodeSixReg:$=>{const{normalize:z}=$;return z(["请输入6位数字验证码"])},phoneReg:$=>{const{normalize:z}=$;return z(["请输入手机号码"])},phoneCorrectReg:$=>{const{normalize:z}=$;return z(["请输入正确的手机号码格式"])},passwordRuleReg:$=>{const{normalize:z}=$;return z(["密码格式应为8-18位数字、字母、符号的任意两种组合"])},passwordSureReg:$=>{const{normalize:z}=$;return z(["请输入确认密码"])},passwordDifferentReg:$=>{const{normalize:z}=$;return z(["两次密码不一致!"])},passwordUpdateReg:$=>{const{normalize:z}=$;return z(["修改密码成功"])}}},__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=$=>hasSymbol?Symbol($):$,generateFormatCacheKey=($,z,ie)=>friendlyJSONstringify({l:$,k:z,s:ie}),friendlyJSONstringify=$=>JSON.stringify($).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber$3=$=>typeof $=="number"&&isFinite($),isDate$2=$=>toTypeString($)==="[object Date]",isRegExp$4=$=>toTypeString($)==="[object RegExp]",isEmptyObject=$=>isPlainObject$2($)&&Object.keys($).length===0;function warn$1($,z){typeof console<"u"&&(console.warn("[intlify] "+$),z&&console.warn(z.stack))}const assign$4=Object.assign;function escapeHtml($){return $.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const hasOwnProperty$1=Object.prototype.hasOwnProperty;function hasOwn$3($,z){return hasOwnProperty$1.call($,z)}const isArray$9=Array.isArray,isFunction$2=$=>typeof $=="function",isString$4=$=>typeof $=="string",isBoolean$2=$=>typeof $=="boolean",isObject$6=$=>$!==null&&typeof $=="object",objectToString$1=Object.prototype.toString,toTypeString=$=>objectToString$1.call($),isPlainObject$2=$=>toTypeString($)==="[object Object]",toDisplayString=$=>$==null?"":isArray$9($)||isPlainObject$2($)&&$.toString===objectToString$1?JSON.stringify($,null,2):String($);/*!
|
||
* 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($,z,ie={}){const{domain:le,messages:ue,args:pe}=ie,_e=$,Ce=new SyntaxError(String(_e));return Ce.code=$,z&&(Ce.location=z),Ce.domain=le,Ce}/*!
|
||
* 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($){return literalValueRE.test($)}function stripQuotes($){const z=$.charCodeAt(0),ie=$.charCodeAt($.length-1);return z===ie&&(z===34||z===39)?$.slice(1,-1):$}function getPathCharType($){if($==null)return"o";switch($.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return $;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($){const z=$.trim();return $.charAt(0)==="0"&&isNaN(parseInt($))?!1:isLiteral(z)?stripQuotes(z):"*"+z}function parse$5($){const z=[];let ie=-1,le=0,ue=0,pe,_e,Ce,$e,xe,Ie,Ve;const ze=[];ze[0]=()=>{_e===void 0?_e=Ce:_e+=Ce},ze[1]=()=>{_e!==void 0&&(z.push(_e),_e=void 0)},ze[2]=()=>{ze[0](),ue++},ze[3]=()=>{if(ue>0)ue--,le=4,ze[0]();else{if(ue=0,_e===void 0||(_e=formatSubPath(_e),_e===!1))return!1;ze[1]()}};function Ue(){const qe=$[ie+1];if(le===5&&qe==="'"||le===6&&qe==='"')return ie++,Ce="\\"+qe,ze[0](),!0}for(;le!==null;)if(ie++,pe=$[ie],!(pe==="\\"&&Ue())){if($e=getPathCharType(pe),Ve=pathStateMachine[le],xe=Ve[$e]||Ve.l||8,xe===8||(le=xe[0],xe[1]!==void 0&&(Ie=ze[xe[1]],Ie&&(Ce=pe,Ie()===!1))))return;if(le===7)return z}}const cache=new Map;function resolveWithKeyValue($,z){return isObject$6($)?$[z]:null}function resolveValue($,z){if(!isObject$6($))return null;let ie=cache.get(z);if(ie||(ie=parse$5(z),ie&&cache.set(z,ie)),!ie)return null;const le=ie.length;let ue=$,pe=0;for(;pe<le;){const _e=ue[ie[pe]];if(_e===void 0)return null;ue=_e,pe++}return ue}const DEFAULT_MODIFIER=$=>$,DEFAULT_MESSAGE=$=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=$=>$.length===0?"":$.join(""),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault($,z){return $=Math.abs($),z===2?$?$>1?1:0:1:$?Math.min($,2):0}function getPluralIndex($){const z=isNumber$3($.pluralIndex)?$.pluralIndex:-1;return $.named&&(isNumber$3($.named.count)||isNumber$3($.named.n))?isNumber$3($.named.count)?$.named.count:isNumber$3($.named.n)?$.named.n:z:z}function normalizeNamed($,z){z.count||(z.count=$),z.n||(z.n=$)}function createMessageContext($={}){const z=$.locale,ie=getPluralIndex($),le=isObject$6($.pluralRules)&&isString$4(z)&&isFunction$2($.pluralRules[z])?$.pluralRules[z]:pluralDefault,ue=isObject$6($.pluralRules)&&isString$4(z)&&isFunction$2($.pluralRules[z])?pluralDefault:void 0,pe=hn=>hn[le(ie,hn.length,ue)],_e=$.list||[],Ce=hn=>_e[hn],$e=$.named||{};isNumber$3($.pluralIndex)&&normalizeNamed(ie,$e);const xe=hn=>$e[hn];function Ie(hn){const vn=isFunction$2($.messages)?$.messages(hn):isObject$6($.messages)?$.messages[hn]:!1;return vn||($.parent?$.parent.message(hn):DEFAULT_MESSAGE)}const Ve=hn=>$.modifiers?$.modifiers[hn]:DEFAULT_MODIFIER,ze=isPlainObject$2($.processor)&&isFunction$2($.processor.normalize)?$.processor.normalize:DEFAULT_NORMALIZE,Ue=isPlainObject$2($.processor)&&isFunction$2($.processor.interpolate)?$.processor.interpolate:DEFAULT_INTERPOLATE,qe=isPlainObject$2($.processor)&&isString$4($.processor.type)?$.processor.type:DEFAULT_MESSAGE_DATA_TYPE,Lt={list:Ce,named:xe,plural:pe,linked:(hn,...vn)=>{const[_n,bn]=vn;let Cn="text",Sn="";vn.length===1?isObject$6(_n)?(Sn=_n.modifier||Sn,Cn=_n.type||Cn):isString$4(_n)&&(Sn=_n||Sn):vn.length===2&&(isString$4(_n)&&(Sn=_n||Sn),isString$4(bn)&&(Cn=bn||Cn));let En=Ie(hn)(Lt);return Cn==="vnode"&&isArray$9(En)&&Sn&&(En=En[0]),Sn?Ve(Sn)(En,Cn):En},message:Ie,type:qe,interpolate:Ue,normalize:ze};return Lt}function fallbackWithSimple($,z,ie){return[...new Set([ie,...isArray$9(z)?z:isObject$6(z)?Object.keys(z):isString$4(z)?[z]:[ie]])]}function fallbackWithLocaleChain($,z,ie){const le=isString$4(ie)?ie:DEFAULT_LOCALE$1,ue=$;ue.__localeChainCache||(ue.__localeChainCache=new Map);let pe=ue.__localeChainCache.get(le);if(!pe){pe=[];let _e=[ie];for(;isArray$9(_e);)_e=appendBlockToChain(pe,_e,z);const Ce=isArray$9(z)||!isPlainObject$2(z)?z:z.default?z.default:null;_e=isString$4(Ce)?[Ce]:Ce,isArray$9(_e)&&appendBlockToChain(pe,_e,!1),ue.__localeChainCache.set(le,pe)}return pe}function appendBlockToChain($,z,ie){let le=!0;for(let ue=0;ue<z.length&&isBoolean$2(le);ue++){const pe=z[ue];isString$4(pe)&&(le=appendLocaleToChain($,z[ue],ie))}return le}function appendLocaleToChain($,z,ie){let le;const ue=z.split("-");do{const pe=ue.join("-");le=appendItemToChain($,pe,ie),ue.splice(-1,1)}while(ue.length&&le===!0);return le}function appendItemToChain($,z,ie){let le=!1;if(!$.includes(z)&&(le=!0,z)){le=z[z.length-1]!=="!";const ue=z.replace(/!/g,"");$.push(ue),(isArray$9(ie)||isPlainObject$2(ie))&&ie[ue]&&(le=ie[ue])}return le}const VERSION$2="9.2.2",NOT_REOSLVED=-1,DEFAULT_LOCALE$1="en-US",MISSING_RESOLVE_VALUE="",capitalize=$=>`${$.charAt(0).toLocaleUpperCase()}${$.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:($,z)=>z==="text"&&isString$4($)?$.toUpperCase():z==="vnode"&&isObject$6($)&&"__v_isVNode"in $?$.children.toUpperCase():$,lower:($,z)=>z==="text"&&isString$4($)?$.toLowerCase():z==="vnode"&&isObject$6($)&&"__v_isVNode"in $?$.children.toLowerCase():$,capitalize:($,z)=>z==="text"&&isString$4($)?capitalize($):z==="vnode"&&isObject$6($)&&"__v_isVNode"in $?capitalize($.children):$}}let _compiler,_resolver;function registerMessageResolver($){_resolver=$}let _fallbacker;function registerLocaleFallbacker($){_fallbacker=$}let _cid=0;function createCoreContext($={}){const z=isString$4($.version)?$.version:VERSION$2,ie=isString$4($.locale)?$.locale:DEFAULT_LOCALE$1,le=isArray$9($.fallbackLocale)||isPlainObject$2($.fallbackLocale)||isString$4($.fallbackLocale)||$.fallbackLocale===!1?$.fallbackLocale:ie,ue=isPlainObject$2($.messages)?$.messages:{[ie]:{}},pe=isPlainObject$2($.datetimeFormats)?$.datetimeFormats:{[ie]:{}},_e=isPlainObject$2($.numberFormats)?$.numberFormats:{[ie]:{}},Ce=assign$4({},$.modifiers||{},getDefaultLinkedModifiers()),$e=$.pluralRules||{},xe=isFunction$2($.missing)?$.missing:null,Ie=isBoolean$2($.missingWarn)||isRegExp$4($.missingWarn)?$.missingWarn:!0,Ve=isBoolean$2($.fallbackWarn)||isRegExp$4($.fallbackWarn)?$.fallbackWarn:!0,ze=!!$.fallbackFormat,Ue=!!$.unresolving,qe=isFunction$2($.postTranslation)?$.postTranslation:null,Et=isPlainObject$2($.processor)?$.processor:null,Lt=isBoolean$2($.warnHtmlMessage)?$.warnHtmlMessage:!0,hn=!!$.escapeParameter,vn=isFunction$2($.messageCompiler)?$.messageCompiler:_compiler,_n=isFunction$2($.messageResolver)?$.messageResolver:_resolver||resolveWithKeyValue,bn=isFunction$2($.localeFallbacker)?$.localeFallbacker:_fallbacker||fallbackWithSimple,Cn=isObject$6($.fallbackContext)?$.fallbackContext:void 0,Sn=isFunction$2($.onWarn)?$.onWarn:warn$1,En=$,wn=isObject$6(En.__datetimeFormatters)?En.__datetimeFormatters:new Map,Tn=isObject$6(En.__numberFormatters)?En.__numberFormatters:new Map,kn=isObject$6(En.__meta)?En.__meta:{};_cid++;const xn={version:z,cid:_cid,locale:ie,fallbackLocale:le,messages:ue,modifiers:Ce,pluralRules:$e,missing:xe,missingWarn:Ie,fallbackWarn:Ve,fallbackFormat:ze,unresolving:Ue,postTranslation:qe,processor:Et,warnHtmlMessage:Lt,escapeParameter:hn,messageCompiler:vn,messageResolver:_n,localeFallbacker:bn,fallbackContext:Cn,onWarn:Sn,__meta:kn};return xn.datetimeFormats=pe,xn.numberFormats=_e,xn.__datetimeFormatters=wn,xn.__numberFormatters=Tn,xn}function handleMissing($,z,ie,le,ue){const{missing:pe,onWarn:_e}=$;if(pe!==null){const Ce=pe($,ie,z,ue);return isString$4(Ce)?Ce:z}else return z}function updateFallbackLocale($,z,ie){const le=$;le.__localeChainCache=new Map,$.localeFallbacker($,ie,z)}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($){return createCompileError($,null,void 0)}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=$=>isFunction$2($);function translate$1($,...z){const{fallbackFormat:ie,postTranslation:le,unresolving:ue,messageCompiler:pe,fallbackLocale:_e,messages:Ce}=$,[$e,xe]=parseTranslateArgs(...z),Ie=isBoolean$2(xe.missingWarn)?xe.missingWarn:$.missingWarn,Ve=isBoolean$2(xe.fallbackWarn)?xe.fallbackWarn:$.fallbackWarn,ze=isBoolean$2(xe.escapeParameter)?xe.escapeParameter:$.escapeParameter,Ue=!!xe.resolvedMessage,qe=isString$4(xe.default)||isBoolean$2(xe.default)?isBoolean$2(xe.default)?pe?$e:()=>$e:xe.default:ie?pe?$e:()=>$e:"",Et=ie||qe!=="",Lt=isString$4(xe.locale)?xe.locale:$.locale;ze&&escapeParams(xe);let[hn,vn,_n]=Ue?[$e,Lt,Ce[Lt]||{}]:resolveMessageFormat($,$e,Lt,_e,Ve,Ie),bn=hn,Cn=$e;if(!Ue&&!(isString$4(bn)||isMessageFunction(bn))&&Et&&(bn=qe,Cn=bn),!Ue&&(!(isString$4(bn)||isMessageFunction(bn))||!isString$4(vn)))return ue?NOT_REOSLVED:$e;let Sn=!1;const En=()=>{Sn=!0},wn=isMessageFunction(bn)?bn:compileMessageFormat($,$e,vn,bn,Cn,En);if(Sn)return bn;const Tn=getMessageContextOptions($,vn,_n,xe),kn=createMessageContext(Tn),xn=evaluateMessage($,wn,kn);return le?le(xn,$e):xn}function escapeParams($){isArray$9($.list)?$.list=$.list.map(z=>isString$4(z)?escapeHtml(z):z):isObject$6($.named)&&Object.keys($.named).forEach(z=>{isString$4($.named[z])&&($.named[z]=escapeHtml($.named[z]))})}function resolveMessageFormat($,z,ie,le,ue,pe){const{messages:_e,onWarn:Ce,messageResolver:$e,localeFallbacker:xe}=$,Ie=xe($,le,ie);let Ve={},ze,Ue=null;const qe="translate";for(let Et=0;Et<Ie.length&&(ze=Ie[Et],Ve=_e[ze]||{},(Ue=$e(Ve,z))===null&&(Ue=Ve[z]),!(isString$4(Ue)||isFunction$2(Ue)));Et++){const Lt=handleMissing($,z,ze,pe,qe);Lt!==z&&(Ue=Lt)}return[Ue,ze,Ve]}function compileMessageFormat($,z,ie,le,ue,pe){const{messageCompiler:_e,warnHtmlMessage:Ce}=$;if(isMessageFunction(le)){const xe=le;return xe.locale=xe.locale||ie,xe.key=xe.key||z,xe}if(_e==null){const xe=()=>le;return xe.locale=ie,xe.key=z,xe}const $e=_e(le,getCompileOptions($,ie,ue,le,Ce,pe));return $e.locale=ie,$e.key=z,$e.source=le,$e}function evaluateMessage($,z,ie){return z(ie)}function parseTranslateArgs(...$){const[z,ie,le]=$,ue={};if(!isString$4(z)&&!isNumber$3(z)&&!isMessageFunction(z))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const pe=isNumber$3(z)?String(z):(isMessageFunction(z),z);return isNumber$3(ie)?ue.plural=ie:isString$4(ie)?ue.default=ie:isPlainObject$2(ie)&&!isEmptyObject(ie)?ue.named=ie:isArray$9(ie)&&(ue.list=ie),isNumber$3(le)?ue.plural=le:isString$4(le)?ue.default=le:isPlainObject$2(le)&&assign$4(ue,le),[pe,ue]}function getCompileOptions($,z,ie,le,ue,pe){return{warnHtmlMessage:ue,onError:_e=>{throw pe&&pe(_e),_e},onCacheKey:_e=>generateFormatCacheKey(z,ie,_e)}}function getMessageContextOptions($,z,ie,le){const{modifiers:ue,pluralRules:pe,messageResolver:_e,fallbackLocale:Ce,fallbackWarn:$e,missingWarn:xe,fallbackContext:Ie}=$,ze={locale:z,modifiers:ue,pluralRules:pe,messages:Ue=>{let qe=_e(ie,Ue);if(qe==null&&Ie){const[,,Et]=resolveMessageFormat(Ie,Ue,z,Ce,$e,xe);qe=_e(Et,Ue)}if(isString$4(qe)){let Et=!1;const hn=compileMessageFormat($,Ue,z,qe,Ue,()=>{Et=!0});return Et?NOOP_MESSAGE_FUNCTION:hn}else return isMessageFunction(qe)?qe:NOOP_MESSAGE_FUNCTION}};return $.processor&&(ze.processor=$.processor),le.list&&(ze.list=le.list),le.named&&(ze.named=le.named),isNumber$3(le.plural)&&(ze.pluralIndex=le.plural),ze}function datetime($,...z){const{datetimeFormats:ie,unresolving:le,fallbackLocale:ue,onWarn:pe,localeFallbacker:_e}=$,{__datetimeFormatters:Ce}=$,[$e,xe,Ie,Ve]=parseDateTimeArgs(...z),ze=isBoolean$2(Ie.missingWarn)?Ie.missingWarn:$.missingWarn;isBoolean$2(Ie.fallbackWarn)?Ie.fallbackWarn:$.fallbackWarn;const Ue=!!Ie.part,qe=isString$4(Ie.locale)?Ie.locale:$.locale,Et=_e($,ue,qe);if(!isString$4($e)||$e==="")return new Intl.DateTimeFormat(qe,Ve).format(xe);let Lt={},hn,vn=null;const _n="datetime format";for(let Sn=0;Sn<Et.length&&(hn=Et[Sn],Lt=ie[hn]||{},vn=Lt[$e],!isPlainObject$2(vn));Sn++)handleMissing($,$e,hn,ze,_n);if(!isPlainObject$2(vn)||!isString$4(hn))return le?NOT_REOSLVED:$e;let bn=`${hn}__${$e}`;isEmptyObject(Ve)||(bn=`${bn}__${JSON.stringify(Ve)}`);let Cn=Ce.get(bn);return Cn||(Cn=new Intl.DateTimeFormat(hn,assign$4({},vn,Ve)),Ce.set(bn,Cn)),Ue?Cn.formatToParts(xe):Cn.format(xe)}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(...$){const[z,ie,le,ue]=$,pe={};let _e={},Ce;if(isString$4(z)){const $e=z.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!$e)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const xe=$e[3]?$e[3].trim().startsWith("T")?`${$e[1].trim()}${$e[3].trim()}`:`${$e[1].trim()}T${$e[3].trim()}`:$e[1].trim();Ce=new Date(xe);try{Ce.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate$2(z)){if(isNaN(z.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);Ce=z}else if(isNumber$3(z))Ce=z;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString$4(ie)?pe.key=ie:isPlainObject$2(ie)&&Object.keys(ie).forEach($e=>{DATETIME_FORMAT_OPTIONS_KEYS.includes($e)?_e[$e]=ie[$e]:pe[$e]=ie[$e]}),isString$4(le)?pe.locale=le:isPlainObject$2(le)&&(_e=le),isPlainObject$2(ue)&&(_e=ue),[pe.key||"",Ce,pe,_e]}function clearDateTimeFormat($,z,ie){const le=$;for(const ue in ie){const pe=`${z}__${ue}`;le.__datetimeFormatters.has(pe)&&le.__datetimeFormatters.delete(pe)}}function number$2($,...z){const{numberFormats:ie,unresolving:le,fallbackLocale:ue,onWarn:pe,localeFallbacker:_e}=$,{__numberFormatters:Ce}=$,[$e,xe,Ie,Ve]=parseNumberArgs(...z),ze=isBoolean$2(Ie.missingWarn)?Ie.missingWarn:$.missingWarn;isBoolean$2(Ie.fallbackWarn)?Ie.fallbackWarn:$.fallbackWarn;const Ue=!!Ie.part,qe=isString$4(Ie.locale)?Ie.locale:$.locale,Et=_e($,ue,qe);if(!isString$4($e)||$e==="")return new Intl.NumberFormat(qe,Ve).format(xe);let Lt={},hn,vn=null;const _n="number format";for(let Sn=0;Sn<Et.length&&(hn=Et[Sn],Lt=ie[hn]||{},vn=Lt[$e],!isPlainObject$2(vn));Sn++)handleMissing($,$e,hn,ze,_n);if(!isPlainObject$2(vn)||!isString$4(hn))return le?NOT_REOSLVED:$e;let bn=`${hn}__${$e}`;isEmptyObject(Ve)||(bn=`${bn}__${JSON.stringify(Ve)}`);let Cn=Ce.get(bn);return Cn||(Cn=new Intl.NumberFormat(hn,assign$4({},vn,Ve)),Ce.set(bn,Cn)),Ue?Cn.formatToParts(xe):Cn.format(xe)}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(...$){const[z,ie,le,ue]=$,pe={};let _e={};if(!isNumber$3(z))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const Ce=z;return isString$4(ie)?pe.key=ie:isPlainObject$2(ie)&&Object.keys(ie).forEach($e=>{NUMBER_FORMAT_OPTIONS_KEYS.includes($e)?_e[$e]=ie[$e]:pe[$e]=ie[$e]}),isString$4(le)?pe.locale=le:isPlainObject$2(le)&&(_e=le),isPlainObject$2(ue)&&(_e=ue),[pe.key||"",Ce,pe,_e]}function clearNumberFormat($,z,ie){const le=$;for(const ue in ie){const pe=`${z}__${ue}`;le.__numberFormatters.has(pe)&&le.__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($,...z){return createCompileError($,null,void 0)}const TransrateVNodeSymbol=makeSymbol("__transrateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOption=makeSymbol("__injectWithOption");function handleFlatJson($){if(!isObject$6($))return $;for(const z in $)if(hasOwn$3($,z))if(!z.includes("."))isObject$6($[z])&&handleFlatJson($[z]);else{const ie=z.split("."),le=ie.length-1;let ue=$;for(let pe=0;pe<le;pe++)ie[pe]in ue||(ue[ie[pe]]={}),ue=ue[ie[pe]];ue[ie[le]]=$[z],delete $[z],isObject$6(ue[ie[le]])&&handleFlatJson(ue[ie[le]])}return $}function getLocaleMessages($,z){const{messages:ie,__i18n:le,messageResolver:ue,flatJson:pe}=z,_e=isPlainObject$2(ie)?ie:isArray$9(le)?{}:{[$]:{}};if(isArray$9(le)&&le.forEach(Ce=>{if("locale"in Ce&&"resource"in Ce){const{locale:$e,resource:xe}=Ce;$e?(_e[$e]=_e[$e]||{},deepCopy(xe,_e[$e])):deepCopy(xe,_e)}else isString$4(Ce)&&deepCopy(JSON.parse(Ce),_e)}),ue==null&&pe)for(const Ce in _e)hasOwn$3(_e,Ce)&&handleFlatJson(_e[Ce]);return _e}const isNotObjectOrIsArray=$=>!isObject$6($)||isArray$9($);function deepCopy($,z){if(isNotObjectOrIsArray($)||isNotObjectOrIsArray(z))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const ie in $)hasOwn$3($,ie)&&(isNotObjectOrIsArray($[ie])||isNotObjectOrIsArray(z[ie])?z[ie]=$[ie]:deepCopy($[ie],z[ie]))}function getComponentOptions($){return $.type}function adjustI18nResources($,z,ie){let le=isObject$6(z.messages)?z.messages:{};"__i18nGlobal"in ie&&(le=getLocaleMessages($.locale.value,{messages:le,__i18n:ie.__i18nGlobal}));const ue=Object.keys(le);ue.length&&ue.forEach(pe=>{$.mergeLocaleMessage(pe,le[pe])});{if(isObject$6(z.datetimeFormats)){const pe=Object.keys(z.datetimeFormats);pe.length&&pe.forEach(_e=>{$.mergeDateTimeFormat(_e,z.datetimeFormats[_e])})}if(isObject$6(z.numberFormats)){const pe=Object.keys(z.numberFormats);pe.length&&pe.forEach(_e=>{$.mergeNumberFormat(_e,z.numberFormats[_e])})}}}function createTextNode($){return createVNode(Text$1,null,$,0)}let composerID=0;function defineCoreMissingHandler($){return(z,ie,le,ue)=>$(ie,le,getCurrentInstance()||void 0,ue)}function createComposer($={},z){const{__root:ie}=$,le=ie===void 0;let ue=isBoolean$2($.inheritLocale)?$.inheritLocale:!0;const pe=ref(ie&&ue?ie.locale.value:isString$4($.locale)?$.locale:DEFAULT_LOCALE$1),_e=ref(ie&&ue?ie.fallbackLocale.value:isString$4($.fallbackLocale)||isArray$9($.fallbackLocale)||isPlainObject$2($.fallbackLocale)||$.fallbackLocale===!1?$.fallbackLocale:pe.value),Ce=ref(getLocaleMessages(pe.value,$)),$e=ref(isPlainObject$2($.datetimeFormats)?$.datetimeFormats:{[pe.value]:{}}),xe=ref(isPlainObject$2($.numberFormats)?$.numberFormats:{[pe.value]:{}});let Ie=ie?ie.missingWarn:isBoolean$2($.missingWarn)||isRegExp$4($.missingWarn)?$.missingWarn:!0,Ve=ie?ie.fallbackWarn:isBoolean$2($.fallbackWarn)||isRegExp$4($.fallbackWarn)?$.fallbackWarn:!0,ze=ie?ie.fallbackRoot:isBoolean$2($.fallbackRoot)?$.fallbackRoot:!0,Ue=!!$.fallbackFormat,qe=isFunction$2($.missing)?$.missing:null,Et=isFunction$2($.missing)?defineCoreMissingHandler($.missing):null,Lt=isFunction$2($.postTranslation)?$.postTranslation:null,hn=ie?ie.warnHtmlMessage:isBoolean$2($.warnHtmlMessage)?$.warnHtmlMessage:!0,vn=!!$.escapeParameter;const _n=ie?ie.modifiers:isPlainObject$2($.modifiers)?$.modifiers:{};let bn=$.pluralRules||ie&&ie.pluralRules,Cn;Cn=(()=>{const sr={version:VERSION$1,locale:pe.value,fallbackLocale:_e.value,messages:Ce.value,modifiers:_n,pluralRules:bn,missing:Et===null?void 0:Et,missingWarn:Ie,fallbackWarn:Ve,fallbackFormat:Ue,unresolving:!0,postTranslation:Lt===null?void 0:Lt,warnHtmlMessage:hn,escapeParameter:vn,messageResolver:$.messageResolver,__meta:{framework:"vue"}};return sr.datetimeFormats=$e.value,sr.numberFormats=xe.value,sr.__datetimeFormatters=isPlainObject$2(Cn)?Cn.__datetimeFormatters:void 0,sr.__numberFormatters=isPlainObject$2(Cn)?Cn.__numberFormatters:void 0,createCoreContext(sr)})(),updateFallbackLocale(Cn,pe.value,_e.value);function En(){return[pe.value,_e.value,Ce.value,$e.value,xe.value]}const wn=computed({get:()=>pe.value,set:sr=>{pe.value=sr,Cn.locale=pe.value}}),Tn=computed({get:()=>_e.value,set:sr=>{_e.value=sr,Cn.fallbackLocale=_e.value,updateFallbackLocale(Cn,pe.value,sr)}}),kn=computed(()=>Ce.value),xn=computed(()=>$e.value),Pn=computed(()=>xe.value);function An(){return isFunction$2(Lt)?Lt:null}function In(sr){Lt=sr,Cn.postTranslation=sr}function Fn(){return qe}function Dn(sr){sr!==null&&(Et=defineCoreMissingHandler(sr)),qe=sr,Cn.missing=Et}const On=(sr,cr,hr,Pr,Dr,Lr)=>{En();let Nr;if(Nr=sr(Cn),isNumber$3(Nr)&&Nr===NOT_REOSLVED){const[br,Tr]=cr();return ie&&ze?Pr(ie):Dr(br)}else{if(Lr(Nr))return Nr;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function Vn(...sr){return On(cr=>Reflect.apply(translate$1,null,[cr,...sr]),()=>parseTranslateArgs(...sr),"translate",cr=>Reflect.apply(cr.t,cr,[...sr]),cr=>cr,cr=>isString$4(cr))}function Mn(...sr){const[cr,hr,Pr]=sr;if(Pr&&!isObject$6(Pr))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return Vn(cr,hr,assign$4({resolvedMessage:!0},Pr||{}))}function zn(...sr){return On(cr=>Reflect.apply(datetime,null,[cr,...sr]),()=>parseDateTimeArgs(...sr),"datetime format",cr=>Reflect.apply(cr.d,cr,[...sr]),()=>MISSING_RESOLVE_VALUE,cr=>isString$4(cr))}function Kn(...sr){return On(cr=>Reflect.apply(number$2,null,[cr,...sr]),()=>parseNumberArgs(...sr),"number format",cr=>Reflect.apply(cr.n,cr,[...sr]),()=>MISSING_RESOLVE_VALUE,cr=>isString$4(cr))}function Hn(sr){return sr.map(cr=>isString$4(cr)||isNumber$3(cr)||isBoolean$2(cr)?createTextNode(String(cr)):cr)}const lr={normalize:Hn,interpolate:sr=>sr,type:"vnode"};function yr(...sr){return On(cr=>{let hr;const Pr=cr;try{Pr.processor=lr,hr=Reflect.apply(translate$1,null,[Pr,...sr])}finally{Pr.processor=null}return hr},()=>parseTranslateArgs(...sr),"translate",cr=>cr[TransrateVNodeSymbol](...sr),cr=>[createTextNode(cr)],cr=>isArray$9(cr))}function ir(...sr){return On(cr=>Reflect.apply(number$2,null,[cr,...sr]),()=>parseNumberArgs(...sr),"number format",cr=>cr[NumberPartsSymbol](...sr),()=>[],cr=>isString$4(cr)||isArray$9(cr))}function Yn(...sr){return On(cr=>Reflect.apply(datetime,null,[cr,...sr]),()=>parseDateTimeArgs(...sr),"datetime format",cr=>cr[DatetimePartsSymbol](...sr),()=>[],cr=>isString$4(cr)||isArray$9(cr))}function Gn(sr){bn=sr,Cn.pluralRules=bn}function Wn(sr,cr){const hr=isString$4(cr)?cr:pe.value,Pr=jn(hr);return Cn.messageResolver(Pr,sr)!==null}function Qn(sr){let cr=null;const hr=fallbackWithLocaleChain(Cn,_e.value,pe.value);for(let Pr=0;Pr<hr.length;Pr++){const Dr=Ce.value[hr[Pr]]||{},Lr=Cn.messageResolver(Dr,sr);if(Lr!=null){cr=Lr;break}}return cr}function fr(sr){const cr=Qn(sr);return cr??(ie?ie.tm(sr)||{}:{})}function jn(sr){return Ce.value[sr]||{}}function Zn(sr,cr){Ce.value[sr]=cr,Cn.messages=Ce.value}function rr(sr,cr){Ce.value[sr]=Ce.value[sr]||{},deepCopy(cr,Ce.value[sr]),Cn.messages=Ce.value}function mr(sr){return $e.value[sr]||{}}function _r(sr,cr){$e.value[sr]=cr,Cn.datetimeFormats=$e.value,clearDateTimeFormat(Cn,sr,cr)}function or(sr,cr){$e.value[sr]=assign$4($e.value[sr]||{},cr),Cn.datetimeFormats=$e.value,clearDateTimeFormat(Cn,sr,cr)}function $r(sr){return xe.value[sr]||{}}function gr(sr,cr){xe.value[sr]=cr,Cn.numberFormats=xe.value,clearNumberFormat(Cn,sr,cr)}function xr(sr,cr){xe.value[sr]=assign$4(xe.value[sr]||{},cr),Cn.numberFormats=xe.value,clearNumberFormat(Cn,sr,cr)}composerID++,ie&&inBrowser&&(watch(ie.locale,sr=>{ue&&(pe.value=sr,Cn.locale=sr,updateFallbackLocale(Cn,pe.value,_e.value))}),watch(ie.fallbackLocale,sr=>{ue&&(_e.value=sr,Cn.fallbackLocale=sr,updateFallbackLocale(Cn,pe.value,_e.value))}));const pr={id:composerID,locale:wn,fallbackLocale:Tn,get inheritLocale(){return ue},set inheritLocale(sr){ue=sr,sr&&ie&&(pe.value=ie.locale.value,_e.value=ie.fallbackLocale.value,updateFallbackLocale(Cn,pe.value,_e.value))},get availableLocales(){return Object.keys(Ce.value).sort()},messages:kn,get modifiers(){return _n},get pluralRules(){return bn||{}},get isGlobal(){return le},get missingWarn(){return Ie},set missingWarn(sr){Ie=sr,Cn.missingWarn=Ie},get fallbackWarn(){return Ve},set fallbackWarn(sr){Ve=sr,Cn.fallbackWarn=Ve},get fallbackRoot(){return ze},set fallbackRoot(sr){ze=sr},get fallbackFormat(){return Ue},set fallbackFormat(sr){Ue=sr,Cn.fallbackFormat=Ue},get warnHtmlMessage(){return hn},set warnHtmlMessage(sr){hn=sr,Cn.warnHtmlMessage=sr},get escapeParameter(){return vn},set escapeParameter(sr){vn=sr,Cn.escapeParameter=sr},t:Vn,getLocaleMessage:jn,setLocaleMessage:Zn,mergeLocaleMessage:rr,getPostTranslationHandler:An,setPostTranslationHandler:In,getMissingHandler:Fn,setMissingHandler:Dn,[SetPluralRulesSymbol]:Gn};return pr.datetimeFormats=xn,pr.numberFormats=Pn,pr.rt=Mn,pr.te=Wn,pr.tm=fr,pr.d=zn,pr.n=Kn,pr.getDateTimeFormat=mr,pr.setDateTimeFormat=_r,pr.mergeDateTimeFormat=or,pr.getNumberFormat=$r,pr.setNumberFormat=gr,pr.mergeNumberFormat=xr,pr[InejctWithOption]=$.__injectWithOption,pr[TransrateVNodeSymbol]=yr,pr[DatetimePartsSymbol]=Yn,pr[NumberPartsSymbol]=ir,pr}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:$=>$==="parent"||$==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:$},z){return z.length===1&&z[0]==="default"?($.default?$.default():[]).reduce((le,ue)=>le=[...le,...isArray$9(ue.children)?ue.children:[ue]],[]):z.reduce((ie,le)=>{const ue=$[le];return ue&&(ie[le]=ue()),ie},{})}function getFragmentableTag($){return Fragment}const Translation={name:"i18n-t",props:assign$4({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:$=>isNumber$3($)||!isNaN($)}},baseFormatProps),setup($,z){const{slots:ie,attrs:le}=z,ue=$.i18n||useI18n$1({useScope:$.scope,__useComponent:!0});return()=>{const pe=Object.keys(ie).filter(Ve=>Ve!=="_"),_e={};$.locale&&(_e.locale=$.locale),$.plural!==void 0&&(_e.plural=isString$4($.plural)?+$.plural:$.plural);const Ce=getInterpolateArg(z,pe),$e=ue[TransrateVNodeSymbol]($.keypath,Ce,_e),xe=assign$4({},le),Ie=isString$4($.tag)||isObject$6($.tag)?$.tag:getFragmentableTag();return h$3(Ie,xe,$e)}}};function isVNode($){return isArray$9($)&&!isString$4($[0])}function renderFormatter($,z,ie,le){const{slots:ue,attrs:pe}=z;return()=>{const _e={part:!0};let Ce={};$.locale&&(_e.locale=$.locale),isString$4($.format)?_e.key=$.format:isObject$6($.format)&&(isString$4($.format.key)&&(_e.key=$.format.key),Ce=Object.keys($.format).reduce((ze,Ue)=>ie.includes(Ue)?assign$4({},ze,{[Ue]:$.format[Ue]}):ze,{}));const $e=le($.value,_e,Ce);let xe=[_e.key];isArray$9($e)?xe=$e.map((ze,Ue)=>{const qe=ue[ze.type],Et=qe?qe({[ze.type]:ze.value,index:Ue,parts:$e}):[ze.value];return isVNode(Et)&&(Et[0].key=`${ze.type}-${Ue}`),Et}):isString$4($e)&&(xe=[$e]);const Ie=assign$4({},pe),Ve=isString$4($.tag)||isObject$6($.tag)?$.tag:getFragmentableTag();return h$3(Ve,Ie,xe)}}const NumberFormat={name:"i18n-n",props:assign$4({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup($,z){const ie=$.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter($,z,NUMBER_FORMAT_OPTIONS_KEYS,(...le)=>ie[NumberPartsSymbol](...le))}},DatetimeFormat={name:"i18n-d",props:assign$4({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup($,z){const ie=$.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter($,z,DATETIME_FORMAT_OPTIONS_KEYS,(...le)=>ie[DatetimePartsSymbol](...le))}};function getComposer$2($,z){const ie=$;if($.mode==="composition")return ie.__getInstance(z)||$.global;{const le=ie.__getInstance(z);return le!=null?le.__composer:$.global.__composer}}function vTDirective($){const z=_e=>{const{instance:Ce,modifiers:$e,value:xe}=_e;if(!Ce||!Ce.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const Ie=getComposer$2($,Ce.$),Ve=parseValue(xe);return[Reflect.apply(Ie.t,Ie,[...makeParams(Ve)]),Ie]};return{created:(_e,Ce)=>{const[$e,xe]=z(Ce);inBrowser&&$.global===xe&&(_e.__i18nWatcher=watch(xe.locale,()=>{Ce.instance&&Ce.instance.$forceUpdate()})),_e.__composer=xe,_e.textContent=$e},unmounted:_e=>{inBrowser&&_e.__i18nWatcher&&(_e.__i18nWatcher(),_e.__i18nWatcher=void 0,delete _e.__i18nWatcher),_e.__composer&&(_e.__composer=void 0,delete _e.__composer)},beforeUpdate:(_e,{value:Ce})=>{if(_e.__composer){const $e=_e.__composer,xe=parseValue(Ce);_e.textContent=Reflect.apply($e.t,$e,[...makeParams(xe)])}},getSSRProps:_e=>{const[Ce]=z(_e);return{textContent:Ce}}}}function parseValue($){if(isString$4($))return{path:$};if(isPlainObject$2($)){if(!("path"in $))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return $}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams($){const{path:z,locale:ie,args:le,choice:ue,plural:pe}=$,_e={},Ce=le||{};return isString$4(ie)&&(_e.locale=ie),isNumber$3(ue)&&(_e.plural=ue),isNumber$3(pe)&&(_e.plural=pe),[z,Ce,_e]}function apply($,z,...ie){const le=isPlainObject$2(ie[0])?ie[0]:{},ue=!!le.useI18nComponentName;(isBoolean$2(le.globalInstall)?le.globalInstall:!0)&&($.component(ue?"i18n":Translation.name,Translation),$.component(NumberFormat.name,NumberFormat),$.component(DatetimeFormat.name,DatetimeFormat)),$.directive("t",vTDirective(z))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n($={},z){const ie=isBoolean$2($.globalInjection)?$.globalInjection:!0,le=!0,ue=new Map,[pe,_e]=createGlobal($),Ce=makeSymbol("");function $e(Ve){return ue.get(Ve)||null}function xe(Ve,ze){ue.set(Ve,ze)}function Ie(Ve){ue.delete(Ve)}{const Ve={get mode(){return"composition"},get allowComposition(){return le},async install(ze,...Ue){ze.__VUE_I18N_SYMBOL__=Ce,ze.provide(ze.__VUE_I18N_SYMBOL__,Ve),ie&&injectGlobalFields(ze,Ve.global),apply(ze,Ve,...Ue);const qe=ze.unmount;ze.unmount=()=>{Ve.dispose(),qe()}},get global(){return _e},dispose(){pe.stop()},__instances:ue,__getInstance:$e,__setInstance:xe,__deleteInstance:Ie};return Ve}}function useI18n$1($={}){const z=getCurrentInstance();if(z==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!z.isCE&&z.appContext.app!=null&&!z.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSLALLED);const ie=getI18nInstance(z),le=getGlobalComposer(ie),ue=getComponentOptions(z),pe=getScope($,ue);if(pe==="global")return adjustI18nResources(le,$,ue),le;if(pe==="parent"){let $e=getComposer(ie,z,$.__useComponent);return $e==null&&($e=le),$e}const _e=ie;let Ce=_e.__getInstance(z);if(Ce==null){const $e=assign$4({},$);"__i18n"in ue&&($e.__i18n=ue.__i18n),le&&($e.__root=le),Ce=createComposer($e),setupLifeCycle(_e,z),_e.__setInstance(z,Ce)}return Ce}function createGlobal($,z,ie){const le=effectScope();{const ue=le.run(()=>createComposer($));if(ue==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[le,ue]}}function getI18nInstance($){{const z=inject($.isCE?I18nInjectionKey:$.appContext.app.__VUE_I18N_SYMBOL__);if(!z)throw createI18nError($.isCE?I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return z}}function getScope($,z){return isEmptyObject($)?"__i18n"in z?"local":"global":$.useScope?$.useScope:"local"}function getGlobalComposer($){return $.mode==="composition"?$.global:$.global.__composer}function getComposer($,z,ie=!1){let le=null;const ue=z.root;let pe=z.parent;for(;pe!=null;){const _e=$;if($.mode==="composition"&&(le=_e.__getInstance(pe)),le!=null||ue===pe)break;pe=pe.parent}return le}function setupLifeCycle($,z,ie){onMounted(()=>{},z),onUnmounted(()=>{$.__deleteInstance(z)},z)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm"];function injectGlobalFields($,z){const ie=Object.create(null);globalExportProps.forEach(le=>{const ue=Object.getOwnPropertyDescriptor(z,le);if(!ue)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const pe=isRef(ue.value)?{get(){return ue.value.value},set(_e){ue.value.value=_e}}:{get(){return ue.get&&ue.get()}};Object.defineProperty(ie,le,pe)}),$.config.globalProperties.$i18n=ie,globalExportMethods.forEach(le=>{const ue=Object.getOwnPropertyDescriptor(z,le);if(!ue||!ue.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty($.config.globalProperties,`$${le}`,ue)})}registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);function bind$4($,z){return function(){return $.apply(z,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=($=>z=>{const ie=toString.call(z);return $[ie]||($[ie]=ie.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=$=>($=$.toLowerCase(),z=>kindOf(z)===$),typeOfTest=$=>z=>typeof z===$,{isArray:isArray$8}=Array,isUndefined=typeOfTest("undefined");function isBuffer$1($){return $!==null&&!isUndefined($)&&$.constructor!==null&&!isUndefined($.constructor)&&isFunction$1($.constructor.isBuffer)&&$.constructor.isBuffer($)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView($){let z;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?z=ArrayBuffer.isView($):z=$&&$.buffer&&isArrayBuffer($.buffer),z}const isString$3=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$2=typeOfTest("number"),isObject$5=$=>$!==null&&typeof $=="object",isBoolean$1=$=>$===!0||$===!1,isPlainObject$1=$=>{if(kindOf($)!=="object")return!1;const z=getPrototypeOf($);return(z===null||z===Object.prototype||Object.getPrototypeOf(z)===null)&&!(Symbol.toStringTag in $)&&!(Symbol.iterator in $)},isDate$1=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=$=>isObject$5($)&&isFunction$1($.pipe),isFormData=$=>{let z;return $&&(typeof FormData=="function"&&$ instanceof FormData||isFunction$1($.append)&&((z=kindOf($))==="formdata"||z==="object"&&isFunction$1($.toString)&&$.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim$2=$=>$.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$2($,z,{allOwnKeys:ie=!1}={}){if($===null||typeof $>"u")return;let le,ue;if(typeof $!="object"&&($=[$]),isArray$8($))for(le=0,ue=$.length;le<ue;le++)z.call(null,$[le],le,$);else{const pe=ie?Object.getOwnPropertyNames($):Object.keys($),_e=pe.length;let Ce;for(le=0;le<_e;le++)Ce=pe[le],z.call(null,$[Ce],Ce,$)}}function findKey($,z){z=z.toLowerCase();const ie=Object.keys($);let le=ie.length,ue;for(;le-- >0;)if(ue=ie[le],z===ue.toLowerCase())return ue;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=$=>!isUndefined($)&&$!==_global;function merge$2(){const{caseless:$}=isContextDefined(this)&&this||{},z={},ie=(le,ue)=>{const pe=$&&findKey(z,ue)||ue;isPlainObject$1(z[pe])&&isPlainObject$1(le)?z[pe]=merge$2(z[pe],le):isPlainObject$1(le)?z[pe]=merge$2({},le):isArray$8(le)?z[pe]=le.slice():z[pe]=le};for(let le=0,ue=arguments.length;le<ue;le++)arguments[le]&&forEach$2(arguments[le],ie);return z}const extend$1=($,z,ie,{allOwnKeys:le}={})=>(forEach$2(z,(ue,pe)=>{ie&&isFunction$1(ue)?$[pe]=bind$4(ue,ie):$[pe]=ue},{allOwnKeys:le}),$),stripBOM=$=>($.charCodeAt(0)===65279&&($=$.slice(1)),$),inherits$1=($,z,ie,le)=>{$.prototype=Object.create(z.prototype,le),$.prototype.constructor=$,Object.defineProperty($,"super",{value:z.prototype}),ie&&Object.assign($.prototype,ie)},toFlatObject=($,z,ie,le)=>{let ue,pe,_e;const Ce={};if(z=z||{},$==null)return z;do{for(ue=Object.getOwnPropertyNames($),pe=ue.length;pe-- >0;)_e=ue[pe],(!le||le(_e,$,z))&&!Ce[_e]&&(z[_e]=$[_e],Ce[_e]=!0);$=ie!==!1&&getPrototypeOf($)}while($&&(!ie||ie($,z))&&$!==Object.prototype);return z},endsWith=($,z,ie)=>{$=String($),(ie===void 0||ie>$.length)&&(ie=$.length),ie-=z.length;const le=$.indexOf(z,ie);return le!==-1&&le===ie},toArray$1=$=>{if(!$)return null;if(isArray$8($))return $;let z=$.length;if(!isNumber$2(z))return null;const ie=new Array(z);for(;z-- >0;)ie[z]=$[z];return ie},isTypedArray$1=($=>z=>$&&z instanceof $)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=($,z)=>{const le=($&&$[Symbol.iterator]).call($);let ue;for(;(ue=le.next())&&!ue.done;){const pe=ue.value;z.call($,pe[0],pe[1])}},matchAll=($,z)=>{let ie;const le=[];for(;(ie=$.exec(z))!==null;)le.push(ie);return le},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=$=>$.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ie,le,ue){return le.toUpperCase()+ue}),hasOwnProperty=(({hasOwnProperty:$})=>(z,ie)=>$.call(z,ie))(Object.prototype),isRegExp$3=kindOfTest("RegExp"),reduceDescriptors=($,z)=>{const ie=Object.getOwnPropertyDescriptors($),le={};forEach$2(ie,(ue,pe)=>{z(ue,pe,$)!==!1&&(le[pe]=ue)}),Object.defineProperties($,le)},freezeMethods=$=>{reduceDescriptors($,(z,ie)=>{if(isFunction$1($)&&["arguments","caller","callee"].indexOf(ie)!==-1)return!1;const le=$[ie];if(isFunction$1(le)){if(z.enumerable=!1,"writable"in z){z.writable=!1;return}z.set||(z.set=()=>{throw Error("Can not rewrite read-only method '"+ie+"'")})}})},toObjectSet=($,z)=>{const ie={},le=ue=>{ue.forEach(pe=>{ie[pe]=!0})};return isArray$8($)?le($):le(String($).split(z)),ie},noop$3=()=>{},toFiniteNumber=($,z)=>($=+$,Number.isFinite($)?$:z),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=($=16,z=ALPHABET.ALPHA_DIGIT)=>{let ie="";const{length:le}=z;for(;$--;)ie+=z[Math.random()*le|0];return ie};function isSpecCompliantForm($){return!!($&&isFunction$1($.append)&&$[Symbol.toStringTag]==="FormData"&&$[Symbol.iterator])}const toJSONObject=$=>{const z=new Array(10),ie=(le,ue)=>{if(isObject$5(le)){if(z.indexOf(le)>=0)return;if(!("toJSON"in le)){z[ue]=le;const pe=isArray$8(le)?[]:{};return forEach$2(le,(_e,Ce)=>{const $e=ie(_e,ue+1);!isUndefined($e)&&(pe[Ce]=$e)}),z[ue]=void 0,pe}}return le};return ie($,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=$=>$&&(isObject$5($)||isFunction$1($))&&isFunction$1($.then)&&isFunction$1($.catch),utils$8={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:forEach$2,merge:merge$2,extend:extend$1,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,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($,z,ie,le,ue){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=$,this.name="AxiosError",z&&(this.code=z),ie&&(this.config=ie),le&&(this.request=le),ue&&(this.response=ue)}utils$8.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$8.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($=>{descriptors[$]={value:$}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=($,z,ie,le,ue,pe)=>{const _e=Object.create(prototype$1);return utils$8.toFlatObject($,_e,function($e){return $e!==Error.prototype},Ce=>Ce!=="isAxiosError"),AxiosError.call(_e,$.message,z,ie,le,ue),_e.cause=$,_e.name=$.name,pe&&Object.assign(_e,pe),_e};const httpAdapter=null;function isVisitable($){return utils$8.isPlainObject($)||utils$8.isArray($)}function removeBrackets($){return utils$8.endsWith($,"[]")?$.slice(0,-2):$}function renderKey($,z,ie){return $?$.concat(z).map(function(ue,pe){return ue=removeBrackets(ue),!ie&&pe?"["+ue+"]":ue}).join(ie?".":""):z}function isFlatArray($){return utils$8.isArray($)&&!$.some(isVisitable)}const predicates=utils$8.toFlatObject(utils$8,{},null,function(z){return/^is[A-Z]/.test(z)});function toFormData($,z,ie){if(!utils$8.isObject($))throw new TypeError("target must be an object");z=z||new FormData,ie=utils$8.toFlatObject(ie,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Et,Lt){return!utils$8.isUndefined(Lt[Et])});const le=ie.metaTokens,ue=ie.visitor||Ie,pe=ie.dots,_e=ie.indexes,$e=(ie.Blob||typeof Blob<"u"&&Blob)&&utils$8.isSpecCompliantForm(z);if(!utils$8.isFunction(ue))throw new TypeError("visitor must be a function");function xe(qe){if(qe===null)return"";if(utils$8.isDate(qe))return qe.toISOString();if(!$e&&utils$8.isBlob(qe))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$8.isArrayBuffer(qe)||utils$8.isTypedArray(qe)?$e&&typeof Blob=="function"?new Blob([qe]):Buffer.from(qe):qe}function Ie(qe,Et,Lt){let hn=qe;if(qe&&!Lt&&typeof qe=="object"){if(utils$8.endsWith(Et,"{}"))Et=le?Et:Et.slice(0,-2),qe=JSON.stringify(qe);else if(utils$8.isArray(qe)&&isFlatArray(qe)||(utils$8.isFileList(qe)||utils$8.endsWith(Et,"[]"))&&(hn=utils$8.toArray(qe)))return Et=removeBrackets(Et),hn.forEach(function(_n,bn){!(utils$8.isUndefined(_n)||_n===null)&&z.append(_e===!0?renderKey([Et],bn,pe):_e===null?Et:Et+"[]",xe(_n))}),!1}return isVisitable(qe)?!0:(z.append(renderKey(Lt,Et,pe),xe(qe)),!1)}const Ve=[],ze=Object.assign(predicates,{defaultVisitor:Ie,convertValue:xe,isVisitable});function Ue(qe,Et){if(!utils$8.isUndefined(qe)){if(Ve.indexOf(qe)!==-1)throw Error("Circular reference detected in "+Et.join("."));Ve.push(qe),utils$8.forEach(qe,function(hn,vn){(!(utils$8.isUndefined(hn)||hn===null)&&ue.call(z,hn,utils$8.isString(vn)?vn.trim():vn,Et,ze))===!0&&Ue(hn,Et?Et.concat(vn):[vn])}),Ve.pop()}}if(!utils$8.isObject($))throw new TypeError("data must be an object");return Ue($),z}function encode$2($){const z={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent($).replace(/[!'()~]|%20|%00/g,function(le){return z[le]})}function AxiosURLSearchParams($,z){this._pairs=[],$&&toFormData($,this,z)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(z,ie){this._pairs.push([z,ie])};prototype.toString=function(z){const ie=z?function(le){return z.call(this,le,encode$2)}:encode$2;return this._pairs.map(function(ue){return ie(ue[0])+"="+ie(ue[1])},"").join("&")};function encode$1($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL($,z,ie){if(!z)return $;const le=ie&&ie.encode||encode$1,ue=ie&&ie.serialize;let pe;if(ue?pe=ue(z,ie):pe=utils$8.isURLSearchParams(z)?z.toString():new AxiosURLSearchParams(z,ie).toString(le),pe){const _e=$.indexOf("#");_e!==-1&&($=$.slice(0,_e)),$+=($.indexOf("?")===-1?"?":"&")+pe}return $}class InterceptorManager{constructor(){this.handlers=[]}use(z,ie,le){return this.handlers.push({fulfilled:z,rejected:ie,synchronous:le?le.synchronous:!1,runWhen:le?le.runWhen:null}),this.handlers.length-1}eject(z){this.handlers[z]&&(this.handlers[z]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(z){utils$8.forEach(this.handlers,function(le){le!==null&&z(le)})}}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 $;return typeof navigator<"u"&&(($=navigator.product)==="ReactNative"||$==="NativeScript"||$==="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($,z){return toFormData($,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(ie,le,ue,pe){return platform$1.isNode&&utils$8.isBuffer(ie)?(this.append(le,ie.toString("base64")),!1):pe.defaultVisitor.apply(this,arguments)}},z))}function parsePropPath($){return utils$8.matchAll(/\w+|\[(\w*)]/g,$).map(z=>z[0]==="[]"?"":z[1]||z[0])}function arrayToObject$1($){const z={},ie=Object.keys($);let le;const ue=ie.length;let pe;for(le=0;le<ue;le++)pe=ie[le],z[pe]=$[pe];return z}function formDataToJSON($){function z(ie,le,ue,pe){let _e=ie[pe++];const Ce=Number.isFinite(+_e),$e=pe>=ie.length;return _e=!_e&&utils$8.isArray(ue)?ue.length:_e,$e?(utils$8.hasOwnProp(ue,_e)?ue[_e]=[ue[_e],le]:ue[_e]=le,!Ce):((!ue[_e]||!utils$8.isObject(ue[_e]))&&(ue[_e]=[]),z(ie,le,ue[_e],pe)&&utils$8.isArray(ue[_e])&&(ue[_e]=arrayToObject$1(ue[_e])),!Ce)}if(utils$8.isFormData($)&&utils$8.isFunction($.entries)){const ie={};return utils$8.forEachEntry($,(le,ue)=>{z(parsePropPath(le),ue,ie,0)}),ie}return null}const DEFAULT_CONTENT_TYPE={"Content-Type":void 0};function stringifySafely($,z,ie){if(utils$8.isString($))try{return(z||JSON.parse)($),utils$8.trim($)}catch(le){if(le.name!=="SyntaxError")throw le}return(ie||JSON.stringify)($)}const defaults$3={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(z,ie){const le=ie.getContentType()||"",ue=le.indexOf("application/json")>-1,pe=utils$8.isObject(z);if(pe&&utils$8.isHTMLForm(z)&&(z=new FormData(z)),utils$8.isFormData(z))return ue&&ue?JSON.stringify(formDataToJSON(z)):z;if(utils$8.isArrayBuffer(z)||utils$8.isBuffer(z)||utils$8.isStream(z)||utils$8.isFile(z)||utils$8.isBlob(z))return z;if(utils$8.isArrayBufferView(z))return z.buffer;if(utils$8.isURLSearchParams(z))return ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),z.toString();let Ce;if(pe){if(le.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(z,this.formSerializer).toString();if((Ce=utils$8.isFileList(z))||le.indexOf("multipart/form-data")>-1){const $e=this.env&&this.env.FormData;return toFormData(Ce?{"files[]":z}:z,$e&&new $e,this.formSerializer)}}return pe||ue?(ie.setContentType("application/json",!1),stringifySafely(z)):z}],transformResponse:[function(z){const ie=this.transitional||defaults$3.transitional,le=ie&&ie.forcedJSONParsing,ue=this.responseType==="json";if(z&&utils$8.isString(z)&&(le&&!this.responseType||ue)){const _e=!(ie&&ie.silentJSONParsing)&&ue;try{return JSON.parse(z)}catch(Ce){if(_e)throw Ce.name==="SyntaxError"?AxiosError.from(Ce,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Ce}}return z}],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(z){return z>=200&&z<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$8.forEach(["delete","get","head"],function(z){defaults$3.headers[z]={}});utils$8.forEach(["post","put","patch"],function(z){defaults$3.headers[z]=utils$8.merge(DEFAULT_CONTENT_TYPE)});const defaults$4=defaults$3,ignoreDuplicateOf=utils$8.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=$=>{const z={};let ie,le,ue;return $&&$.split(`
|
||
`).forEach(function(_e){ue=_e.indexOf(":"),ie=_e.substring(0,ue).trim().toLowerCase(),le=_e.substring(ue+1).trim(),!(!ie||z[ie]&&ignoreDuplicateOf[ie])&&(ie==="set-cookie"?z[ie]?z[ie].push(le):z[ie]=[le]:z[ie]=z[ie]?z[ie]+", "+le:le)}),z},$internals=Symbol("internals");function normalizeHeader($){return $&&String($).trim().toLowerCase()}function normalizeValue($){return $===!1||$==null?$:utils$8.isArray($)?$.map(normalizeValue):String($)}function parseTokens($){const z=Object.create(null),ie=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let le;for(;le=ie.exec($);)z[le[1]]=le[2];return z}const isValidHeaderName=$=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim());function matchHeaderValue($,z,ie,le,ue){if(utils$8.isFunction(le))return le.call(this,z,ie);if(ue&&(z=ie),!!utils$8.isString(z)){if(utils$8.isString(le))return z.indexOf(le)!==-1;if(utils$8.isRegExp(le))return le.test(z)}}function formatHeader($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(z,ie,le)=>ie.toUpperCase()+le)}function buildAccessors($,z){const ie=utils$8.toCamelCase(" "+z);["get","set","has"].forEach(le=>{Object.defineProperty($,le+ie,{value:function(ue,pe,_e){return this[le].call(this,z,ue,pe,_e)},configurable:!0})})}class AxiosHeaders{constructor(z){z&&this.set(z)}set(z,ie,le){const ue=this;function pe(Ce,$e,xe){const Ie=normalizeHeader($e);if(!Ie)throw new Error("header name must be a non-empty string");const Ve=utils$8.findKey(ue,Ie);(!Ve||ue[Ve]===void 0||xe===!0||xe===void 0&&ue[Ve]!==!1)&&(ue[Ve||$e]=normalizeValue(Ce))}const _e=(Ce,$e)=>utils$8.forEach(Ce,(xe,Ie)=>pe(xe,Ie,$e));return utils$8.isPlainObject(z)||z instanceof this.constructor?_e(z,ie):utils$8.isString(z)&&(z=z.trim())&&!isValidHeaderName(z)?_e(parseHeaders(z),ie):z!=null&&pe(ie,z,le),this}get(z,ie){if(z=normalizeHeader(z),z){const le=utils$8.findKey(this,z);if(le){const ue=this[le];if(!ie)return ue;if(ie===!0)return parseTokens(ue);if(utils$8.isFunction(ie))return ie.call(this,ue,le);if(utils$8.isRegExp(ie))return ie.exec(ue);throw new TypeError("parser must be boolean|regexp|function")}}}has(z,ie){if(z=normalizeHeader(z),z){const le=utils$8.findKey(this,z);return!!(le&&this[le]!==void 0&&(!ie||matchHeaderValue(this,this[le],le,ie)))}return!1}delete(z,ie){const le=this;let ue=!1;function pe(_e){if(_e=normalizeHeader(_e),_e){const Ce=utils$8.findKey(le,_e);Ce&&(!ie||matchHeaderValue(le,le[Ce],Ce,ie))&&(delete le[Ce],ue=!0)}}return utils$8.isArray(z)?z.forEach(pe):pe(z),ue}clear(z){const ie=Object.keys(this);let le=ie.length,ue=!1;for(;le--;){const pe=ie[le];(!z||matchHeaderValue(this,this[pe],pe,z,!0))&&(delete this[pe],ue=!0)}return ue}normalize(z){const ie=this,le={};return utils$8.forEach(this,(ue,pe)=>{const _e=utils$8.findKey(le,pe);if(_e){ie[_e]=normalizeValue(ue),delete ie[pe];return}const Ce=z?formatHeader(pe):String(pe).trim();Ce!==pe&&delete ie[pe],ie[Ce]=normalizeValue(ue),le[Ce]=!0}),this}concat(...z){return this.constructor.concat(this,...z)}toJSON(z){const ie=Object.create(null);return utils$8.forEach(this,(le,ue)=>{le!=null&&le!==!1&&(ie[ue]=z&&utils$8.isArray(le)?le.join(", "):le)}),ie}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([z,ie])=>z+": "+ie).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(z){return z instanceof this?z:new this(z)}static concat(z,...ie){const le=new this(z);return ie.forEach(ue=>le.set(ue)),le}static accessor(z){const le=(this[$internals]=this[$internals]={accessors:{}}).accessors,ue=this.prototype;function pe(_e){const Ce=normalizeHeader(_e);le[Ce]||(buildAccessors(ue,_e),le[Ce]=!0)}return utils$8.isArray(z)?z.forEach(pe):pe(z),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$8.freezeMethods(AxiosHeaders.prototype);utils$8.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData($,z){const ie=this||defaults$4,le=z||ie,ue=AxiosHeaders$1.from(le.headers);let pe=le.data;return utils$8.forEach($,function(Ce){pe=Ce.call(ie,pe,ue.normalize(),z?z.status:void 0)}),ue.normalize(),pe}function isCancel($){return!!($&&$.__CANCEL__)}function CanceledError($,z,ie){AxiosError.call(this,$??"canceled",AxiosError.ERR_CANCELED,z,ie),this.name="CanceledError"}utils$8.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle($,z,ie){const le=ie.config.validateStatus;!ie.status||!le||le(ie.status)?$(ie):z(new AxiosError("Request failed with status code "+ie.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(ie.status/100)-4],ie.config,ie.request,ie))}const cookies=platform$1.isStandardBrowserEnv?function(){return{write:function(ie,le,ue,pe,_e,Ce){const $e=[];$e.push(ie+"="+encodeURIComponent(le)),utils$8.isNumber(ue)&&$e.push("expires="+new Date(ue).toGMTString()),utils$8.isString(pe)&&$e.push("path="+pe),utils$8.isString(_e)&&$e.push("domain="+_e),Ce===!0&&$e.push("secure"),document.cookie=$e.join("; ")},read:function(ie){const le=document.cookie.match(new RegExp("(^|;\\s*)("+ie+")=([^;]*)"));return le?decodeURIComponent(le[3]):null},remove:function(ie){this.write(ie,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL($){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}function combineURLs($,z){return z?$.replace(/\/+$/,"")+"/"+z.replace(/^\/+/,""):$}function buildFullPath($,z){return $&&!isAbsoluteURL(z)?combineURLs($,z):z}const isURLSameOrigin=platform$1.isStandardBrowserEnv?function(){const z=/(msie|trident)/i.test(navigator.userAgent),ie=document.createElement("a");let le;function ue(pe){let _e=pe;return z&&(ie.setAttribute("href",_e),_e=ie.href),ie.setAttribute("href",_e),{href:ie.href,protocol:ie.protocol?ie.protocol.replace(/:$/,""):"",host:ie.host,search:ie.search?ie.search.replace(/^\?/,""):"",hash:ie.hash?ie.hash.replace(/^#/,""):"",hostname:ie.hostname,port:ie.port,pathname:ie.pathname.charAt(0)==="/"?ie.pathname:"/"+ie.pathname}}return le=ue(window.location.href),function(_e){const Ce=utils$8.isString(_e)?ue(_e):_e;return Ce.protocol===le.protocol&&Ce.host===le.host}}():function(){return function(){return!0}}();function parseProtocol($){const z=/^([-+\w]{1,25})(:?\/\/|:)/.exec($);return z&&z[1]||""}function speedometer($,z){$=$||10;const ie=new Array($),le=new Array($);let ue=0,pe=0,_e;return z=z!==void 0?z:1e3,function($e){const xe=Date.now(),Ie=le[pe];_e||(_e=xe),ie[ue]=$e,le[ue]=xe;let Ve=pe,ze=0;for(;Ve!==ue;)ze+=ie[Ve++],Ve=Ve%$;if(ue=(ue+1)%$,ue===pe&&(pe=(pe+1)%$),xe-_e<z)return;const Ue=Ie&&xe-Ie;return Ue?Math.round(ze*1e3/Ue):void 0}}function progressEventReducer($,z){let ie=0;const le=speedometer(50,250);return ue=>{const pe=ue.loaded,_e=ue.lengthComputable?ue.total:void 0,Ce=pe-ie,$e=le(Ce),xe=pe<=_e;ie=pe;const Ie={loaded:pe,total:_e,progress:_e?pe/_e:void 0,bytes:Ce,rate:$e||void 0,estimated:$e&&_e&&xe?(_e-pe)/$e:void 0,event:ue};Ie[z?"download":"upload"]=!0,$(Ie)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function($){return new Promise(function(ie,le){let ue=$.data;const pe=AxiosHeaders$1.from($.headers).normalize(),_e=$.responseType;let Ce;function $e(){$.cancelToken&&$.cancelToken.unsubscribe(Ce),$.signal&&$.signal.removeEventListener("abort",Ce)}utils$8.isFormData(ue)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?pe.setContentType(!1):pe.setContentType("multipart/form-data;",!1));let xe=new XMLHttpRequest;if($.auth){const Ue=$.auth.username||"",qe=$.auth.password?unescape(encodeURIComponent($.auth.password)):"";pe.set("Authorization","Basic "+btoa(Ue+":"+qe))}const Ie=buildFullPath($.baseURL,$.url);xe.open($.method.toUpperCase(),buildURL(Ie,$.params,$.paramsSerializer),!0),xe.timeout=$.timeout;function Ve(){if(!xe)return;const Ue=AxiosHeaders$1.from("getAllResponseHeaders"in xe&&xe.getAllResponseHeaders()),Et={data:!_e||_e==="text"||_e==="json"?xe.responseText:xe.response,status:xe.status,statusText:xe.statusText,headers:Ue,config:$,request:xe};settle(function(hn){ie(hn),$e()},function(hn){le(hn),$e()},Et),xe=null}if("onloadend"in xe?xe.onloadend=Ve:xe.onreadystatechange=function(){!xe||xe.readyState!==4||xe.status===0&&!(xe.responseURL&&xe.responseURL.indexOf("file:")===0)||setTimeout(Ve)},xe.onabort=function(){xe&&(le(new AxiosError("Request aborted",AxiosError.ECONNABORTED,$,xe)),xe=null)},xe.onerror=function(){le(new AxiosError("Network Error",AxiosError.ERR_NETWORK,$,xe)),xe=null},xe.ontimeout=function(){let qe=$.timeout?"timeout of "+$.timeout+"ms exceeded":"timeout exceeded";const Et=$.transitional||transitionalDefaults;$.timeoutErrorMessage&&(qe=$.timeoutErrorMessage),le(new AxiosError(qe,Et.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,$,xe)),xe=null},platform$1.isStandardBrowserEnv){const Ue=($.withCredentials||isURLSameOrigin(Ie))&&$.xsrfCookieName&&cookies.read($.xsrfCookieName);Ue&&pe.set($.xsrfHeaderName,Ue)}ue===void 0&&pe.setContentType(null),"setRequestHeader"in xe&&utils$8.forEach(pe.toJSON(),function(qe,Et){xe.setRequestHeader(Et,qe)}),utils$8.isUndefined($.withCredentials)||(xe.withCredentials=!!$.withCredentials),_e&&_e!=="json"&&(xe.responseType=$.responseType),typeof $.onDownloadProgress=="function"&&xe.addEventListener("progress",progressEventReducer($.onDownloadProgress,!0)),typeof $.onUploadProgress=="function"&&xe.upload&&xe.upload.addEventListener("progress",progressEventReducer($.onUploadProgress)),($.cancelToken||$.signal)&&(Ce=Ue=>{xe&&(le(!Ue||Ue.type?new CanceledError(null,$,xe):Ue),xe.abort(),xe=null)},$.cancelToken&&$.cancelToken.subscribe(Ce),$.signal&&($.signal.aborted?Ce():$.signal.addEventListener("abort",Ce)));const ze=parseProtocol(Ie);if(ze&&platform$1.protocols.indexOf(ze)===-1){le(new AxiosError("Unsupported protocol "+ze+":",AxiosError.ERR_BAD_REQUEST,$));return}xe.send(ue||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$8.forEach(knownAdapters,($,z)=>{if($){try{Object.defineProperty($,"name",{value:z})}catch{}Object.defineProperty($,"adapterName",{value:z})}});const adapters={getAdapter:$=>{$=utils$8.isArray($)?$:[$];const{length:z}=$;let ie,le;for(let ue=0;ue<z&&(ie=$[ue],!(le=utils$8.isString(ie)?knownAdapters[ie.toLowerCase()]:ie));ue++);if(!le)throw le===!1?new AxiosError(`Adapter ${ie} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(utils$8.hasOwnProp(knownAdapters,ie)?`Adapter '${ie}' is not available in the build`:`Unknown adapter '${ie}'`);if(!utils$8.isFunction(le))throw new TypeError("adapter is not a function");return le},adapters:knownAdapters};function throwIfCancellationRequested($){if($.cancelToken&&$.cancelToken.throwIfRequested(),$.signal&&$.signal.aborted)throw new CanceledError(null,$)}function dispatchRequest($){return throwIfCancellationRequested($),$.headers=AxiosHeaders$1.from($.headers),$.data=transformData.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1&&$.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter($.adapter||defaults$4.adapter)($).then(function(le){return throwIfCancellationRequested($),le.data=transformData.call($,$.transformResponse,le),le.headers=AxiosHeaders$1.from(le.headers),le},function(le){return isCancel(le)||(throwIfCancellationRequested($),le&&le.response&&(le.response.data=transformData.call($,$.transformResponse,le.response),le.response.headers=AxiosHeaders$1.from(le.response.headers))),Promise.reject(le)})}const headersToObject=$=>$ instanceof AxiosHeaders$1?$.toJSON():$;function mergeConfig($,z){z=z||{};const ie={};function le(xe,Ie,Ve){return utils$8.isPlainObject(xe)&&utils$8.isPlainObject(Ie)?utils$8.merge.call({caseless:Ve},xe,Ie):utils$8.isPlainObject(Ie)?utils$8.merge({},Ie):utils$8.isArray(Ie)?Ie.slice():Ie}function ue(xe,Ie,Ve){if(utils$8.isUndefined(Ie)){if(!utils$8.isUndefined(xe))return le(void 0,xe,Ve)}else return le(xe,Ie,Ve)}function pe(xe,Ie){if(!utils$8.isUndefined(Ie))return le(void 0,Ie)}function _e(xe,Ie){if(utils$8.isUndefined(Ie)){if(!utils$8.isUndefined(xe))return le(void 0,xe)}else return le(void 0,Ie)}function Ce(xe,Ie,Ve){if(Ve in z)return le(xe,Ie);if(Ve in $)return le(void 0,xe)}const $e={url:pe,method:pe,data:pe,baseURL:_e,transformRequest:_e,transformResponse:_e,paramsSerializer:_e,timeout:_e,timeoutMessage:_e,withCredentials:_e,adapter:_e,responseType:_e,xsrfCookieName:_e,xsrfHeaderName:_e,onUploadProgress:_e,onDownloadProgress:_e,decompress:_e,maxContentLength:_e,maxBodyLength:_e,beforeRedirect:_e,transport:_e,httpAgent:_e,httpsAgent:_e,cancelToken:_e,socketPath:_e,responseEncoding:_e,validateStatus:Ce,headers:(xe,Ie)=>ue(headersToObject(xe),headersToObject(Ie),!0)};return utils$8.forEach(Object.keys(Object.assign({},$,z)),function(Ie){const Ve=$e[Ie]||ue,ze=Ve($[Ie],z[Ie],Ie);utils$8.isUndefined(ze)&&Ve!==Ce||(ie[Ie]=ze)}),ie}const VERSION="1.4.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach(($,z)=>{validators$1[$]=function(le){return typeof le===$||"a"+(z<1?"n ":" ")+$}});const deprecatedWarnings={};validators$1.transitional=function(z,ie,le){function ue(pe,_e){return"[Axios v"+VERSION+"] Transitional option '"+pe+"'"+_e+(le?". "+le:"")}return(pe,_e,Ce)=>{if(z===!1)throw new AxiosError(ue(_e," has been removed"+(ie?" in "+ie:"")),AxiosError.ERR_DEPRECATED);return ie&&!deprecatedWarnings[_e]&&(deprecatedWarnings[_e]=!0,console.warn(ue(_e," has been deprecated since v"+ie+" and will be removed in the near future"))),z?z(pe,_e,Ce):!0}};function assertOptions($,z,ie){if(typeof $!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const le=Object.keys($);let ue=le.length;for(;ue-- >0;){const pe=le[ue],_e=z[pe];if(_e){const Ce=$[pe],$e=Ce===void 0||_e(Ce,pe,$);if($e!==!0)throw new AxiosError("option "+pe+" must be "+$e,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(ie!==!0)throw new AxiosError("Unknown option "+pe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(z){this.defaults=z,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(z,ie){typeof z=="string"?(ie=ie||{},ie.url=z):ie=z||{},ie=mergeConfig(this.defaults,ie);const{transitional:le,paramsSerializer:ue,headers:pe}=ie;le!==void 0&&validator.assertOptions(le,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ue!=null&&(utils$8.isFunction(ue)?ie.paramsSerializer={serialize:ue}:validator.assertOptions(ue,{encode:validators.function,serialize:validators.function},!0)),ie.method=(ie.method||this.defaults.method||"get").toLowerCase();let _e;_e=pe&&utils$8.merge(pe.common,pe[ie.method]),_e&&utils$8.forEach(["delete","get","head","post","put","patch","common"],qe=>{delete pe[qe]}),ie.headers=AxiosHeaders$1.concat(_e,pe);const Ce=[];let $e=!0;this.interceptors.request.forEach(function(Et){typeof Et.runWhen=="function"&&Et.runWhen(ie)===!1||($e=$e&&Et.synchronous,Ce.unshift(Et.fulfilled,Et.rejected))});const xe=[];this.interceptors.response.forEach(function(Et){xe.push(Et.fulfilled,Et.rejected)});let Ie,Ve=0,ze;if(!$e){const qe=[dispatchRequest.bind(this),void 0];for(qe.unshift.apply(qe,Ce),qe.push.apply(qe,xe),ze=qe.length,Ie=Promise.resolve(ie);Ve<ze;)Ie=Ie.then(qe[Ve++],qe[Ve++]);return Ie}ze=Ce.length;let Ue=ie;for(Ve=0;Ve<ze;){const qe=Ce[Ve++],Et=Ce[Ve++];try{Ue=qe(Ue)}catch(Lt){Et.call(this,Lt);break}}try{Ie=dispatchRequest.call(this,Ue)}catch(qe){return Promise.reject(qe)}for(Ve=0,ze=xe.length;Ve<ze;)Ie=Ie.then(xe[Ve++],xe[Ve++]);return Ie}getUri(z){z=mergeConfig(this.defaults,z);const ie=buildFullPath(z.baseURL,z.url);return buildURL(ie,z.params,z.paramsSerializer)}}utils$8.forEach(["delete","get","head","options"],function(z){Axios.prototype[z]=function(ie,le){return this.request(mergeConfig(le||{},{method:z,url:ie,data:(le||{}).data}))}});utils$8.forEach(["post","put","patch"],function(z){function ie(le){return function(pe,_e,Ce){return this.request(mergeConfig(Ce||{},{method:z,headers:le?{"Content-Type":"multipart/form-data"}:{},url:pe,data:_e}))}}Axios.prototype[z]=ie(),Axios.prototype[z+"Form"]=ie(!0)});const Axios$1=Axios;class CancelToken{constructor(z){if(typeof z!="function")throw new TypeError("executor must be a function.");let ie;this.promise=new Promise(function(pe){ie=pe});const le=this;this.promise.then(ue=>{if(!le._listeners)return;let pe=le._listeners.length;for(;pe-- >0;)le._listeners[pe](ue);le._listeners=null}),this.promise.then=ue=>{let pe;const _e=new Promise(Ce=>{le.subscribe(Ce),pe=Ce}).then(ue);return _e.cancel=function(){le.unsubscribe(pe)},_e},z(function(pe,_e,Ce){le.reason||(le.reason=new CanceledError(pe,_e,Ce),ie(le.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(z){if(this.reason){z(this.reason);return}this._listeners?this._listeners.push(z):this._listeners=[z]}unsubscribe(z){if(!this._listeners)return;const ie=this._listeners.indexOf(z);ie!==-1&&this._listeners.splice(ie,1)}static source(){let z;return{token:new CancelToken(function(ue){z=ue}),cancel:z}}}const CancelToken$1=CancelToken;function spread($){return function(ie){return $.apply(null,ie)}}function isAxiosError($){return utils$8.isObject($)&&$.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(([$,z])=>{HttpStatusCode[z]=$});const HttpStatusCode$1=HttpStatusCode;function createInstance($){const z=new Axios$1($),ie=bind$4(Axios$1.prototype.request,z);return utils$8.extend(ie,Axios$1.prototype,z,{allOwnKeys:!0}),utils$8.extend(ie,z,null,{allOwnKeys:!0}),ie.create=function(ue){return createInstance(mergeConfig($,ue))},ie}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(z){return Promise.all(z)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=$=>formDataToJSON(utils$8.isHTMLForm($)?new FormData($):$);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=$=>{config=Object.assign(config,$)},getConfig=$=>{if(typeof $=="string"){const z=$.split(".");if(z&&z.length){let ie=config;return z.forEach(le=>{ie&&typeof ie[le]<"u"?ie=ie[le]:ie=null}),ie}}return config},getServerConfig=async $=>($.config.globalProperties.$config=getConfig(),axios$1({method:"get",url:`${VITE_PUBLIC_PATH}serverConfig.json`}).then(({data:z})=>{let ie=$.config.globalProperties.$config;return $&&ie&&typeof z=="object"&&(ie=Object.assign(ie,z),$.config.globalProperties.$config=ie,setConfig(ie)),ie}).catch(()=>{throw"请在public文件夹下添加serverConfig.json配置文件"})),responsiveStorageNameSpace=()=>getConfig().ResponsiveStorageNameSpace;function siphonI18n($="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(([z,ie])=>[z.match(/([A-Za-z0-9-_]+)\./i)[1],ie.default]))[$]}const localesConfigs={zh:{...siphonI18n("zh-CN"),...zhLocale},en:{...siphonI18n("en"),...enLocale}};function transformI18n($=""){var ie;if(!$)return"";if(typeof $=="object"){const le=i18n.global.locale;return $[le==null?void 0:le.value]}const z=(ie=$.match(/(\S*)\./))==null?void 0:ie[1];return z&&Object.keys(siphonI18n("zh-CN")).includes(z)||!z&&Object.keys(siphonI18n("zh-CN")).includes($)?i18n.global.t.call(i18n.global.locale,$):$}const $t=$=>$;var Qo;const i18n=createI18n({legacy:!1,locale:((Qo=er().getItem(`${responsiveStorageNameSpace()}locale`))==null?void 0:Qo.locale)??"zh",fallbackLocale:"en",messages:localesConfigs});function useI18n($){$.use(i18n)}const home$1=0,doc=1,utils$7=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/watermark",name:"WaterMark",component:()=>__vitePreload(()=>import("./watermark-19f04f8a.js"),[]),meta:{title:$t("menus.hsWatermark")}},{path:"/able/print",name:"Print",component:()=>__vitePreload(()=>import("./print-3470e2a7.js"),["static/js/print-3470e2a7.js","static/js/print-a6e42845.js","static/js/Line.vue_vue_type_script_setup_true_lang-1750da80.js","static/js/app-a27157ff.js","static/css/print-8831c8b6.css"]),meta:{title:$t("menus.hsPrint")}},{path:"/able/download",name:"Download",component:()=>__vitePreload(()=>import("./download-cc2be078.js"),[]),meta:{title:$t("menus.hsDownload")}},{path:"/able/iconSelect",name:"IconSelect",component:()=>__vitePreload(()=>import("./icon-select-980054dc.js"),["static/js/icon-select-980054dc.js","static/css/icon-select-e8efdfdc.css"]),meta:{title:$t("menus.hsIconSelect")}},{path:"/able/timeline",name:"TimeLine",component:()=>__vitePreload(()=>import("./timeline-8d5336c3.js"),["static/js/timeline-8d5336c3.js","static/js/index-6313ba66.js","static/css/index-18417f34.css","static/js/hooks-3aae2893.js","static/js/iphone-bcaa848c.js","static/css/timeline-12434188.css"]),meta:{title:$t("menus.hsTimeline")}},{path:"/able/menuTree",name:"MenuTree",component:()=>__vitePreload(()=>import("./menu-tree-bfe1d985.js"),["static/js/menu-tree-bfe1d985.js","static/js/hooks-3aae2893.js"]),meta:{title:$t("menus.hsMenuTree")}},{path:"/able/lineTree",name:"LineTree",component:()=>__vitePreload(()=>import("./line-tree-a7ce4c70.js"),["static/js/line-tree-a7ce4c70.js","static/css/line-tree-970a113a.css"]),meta:{title:$t("menus.hsLineTree")}},{path:"/able/debounce",name:"Debounce",component:()=>__vitePreload(()=>import("./debounce-dfdd9ef4.js"),["static/js/debounce-dfdd9ef4.js","static/js/message-e10b411d.js"]),meta:{title:$t("menus.hsDebounce")}},{path:"/able/barcode",name:"BarCode",component:()=>__vitePreload(()=>import("./barcode-7fdf6e26.js"),[]),meta:{title:$t("menus.hsBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>__vitePreload(()=>import("./qrcode-ec091efa.js"),["static/js/qrcode-ec091efa.js","static/js/message-e10b411d.js","static/js/index-904bc39a.js","static/js/propTypes-3b04af70.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),meta:{title:$t("menus.hsQrcode")}},{path:"/able/cascader",name:"Cascader",component:()=>__vitePreload(()=>import("./cascader-9b6749c0.js"),["static/js/cascader-9b6749c0.js","static/css/cascader-843853c0.css"]),meta:{title:$t("menus.hsCascader")}},{path:"/able/swiper",name:"Swiper",component:()=>__vitePreload(()=>import("./swiper-be2791d8.js"),["static/js/swiper-be2791d8.js","static/css/swiper-4182dcb7.css"]),meta:{title:$t("menus.hsSwiper")}},{path:"/able/virtualList",name:"VirtualList",component:()=>__vitePreload(()=>import("./index-bbcac6ce.js"),["static/js/index-bbcac6ce.js","static/js/vertical-ac6edffa.js","static/js/vue-virtual-scroller.esm-835c3bfa.js","static/css/vertical-c0ec8bec.css","static/js/horizontal-710a98ce.js","static/css/horizontal-f9c9bac5.css","static/css/index-bbe280a3.css"]),meta:{title:$t("menus.hsVirtualList")}},{path:"/able/pdf",name:"Pdf",component:()=>__vitePreload(()=>import("./pdf-e4788f4a.js"),["static/js/pdf-e4788f4a.js","static/js/vue.runtime.esm-bundler-8716bea3.js"]),meta:{title:$t("menus.hsPdf")}},{path:"/able/execl",name:"Execl",component:()=>__vitePreload(()=>import("./execl-3589352d.js"),["static/js/execl-3589352d.js","static/js/xlsx-f5126985.js"]),meta:{title:$t("menus.hsExecl")}},{path:"/able/infiniteScroll",name:"InfiniteScroll",component:()=>__vitePreload(()=>import("./infinite-scroll-9055bfd2.js"),[]),meta:{title:$t("menus.hsInfiniteScroll")}}]},__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("./index-bec4982f.js"),["static/js/index-bec4982f.js","static/js/columns-e9adf573.js","static/css/index-cb8197dd.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("./index-cadc3e51.js"),["static/js/index-cadc3e51.js","static/js/message-e10b411d.js","static/js/form.vue_vue_type_script_setup_true_lang-7b06da28.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("./index-198013f4.js"),["static/js/index-198013f4.js","static/js/message-e10b411d.js","static/js/hooks-3aae2893.js","static/js/check-3815600c.js"]),meta:{title:$t("menus.hsmessage")}},{path:"/components/segmented",name:"Segmented",component:()=>__vitePreload(()=>import("./index-47467377.js"),["static/js/index-47467377.js","static/js/message-e10b411d.js","static/js/home-filled-05cc090c.js","static/js/hooks-3aae2893.js","static/css/index-fa517f4b.css"]),meta:{title:$t("menus.hssegmented"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/waterfall",name:"Waterfall",component:()=>__vitePreload(()=>import("./index-c748122e.js"),["static/js/index-c748122e.js","static/js/back_top-a38086db.js","static/css/index-d102724b.css"]),meta:{title:$t("menus.hswaterfall"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/video",name:"VideoPage",component:()=>__vitePreload(()=>import("./index-2313ea64.js"),["static/js/index-2313ea64.js","static/js/hooks-3aae2893.js","static/css/index-48d8c7cf.css"]),meta:{title:$t("menus.hsvideo")}},{path:"/components/map",name:"MapPage",component:()=>__vitePreload(()=>import("./index-06ad2f60.js"),["static/js/index-06ad2f60.js","static/css/index-c6f744fa.css"]),meta:{title:$t("menus.hsmap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/components/draggable",name:"Draggable",component:()=>__vitePreload(()=>import("./index-a5f12f88.js"),["static/js/index-a5f12f88.js","static/js/sortable.esm-e674cde8.js","static/js/app-a27157ff.js","static/js/hooks-3aae2893.js","static/css/index-b2ddca14.css"]),meta:{title:$t("menus.hsdraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/components/splitPane",name:"SplitPane",component:()=>__vitePreload(()=>import("./index-1ca78246.js"),["static/js/index-1ca78246.js","static/css/index-e0a7f2a0.css"]),meta:{title:$t("menus.hssplitPane")}},{path:"/components/button",name:"ButtonPage",component:()=>__vitePreload(()=>import("./index-d8193791.js"),[]),meta:{title:$t("menus.hsbutton")}},{path:"/components/cropping",name:"Cropping",component:()=>__vitePreload(()=>import("./index-fb5bbe20.js"),["static/js/index-fb5bbe20.js","static/css/index-fdfcfa11.css"]),meta:{title:$t("menus.hscropping")}},{path:"/components/countTo",name:"CountTo",component:()=>__vitePreload(()=>import("./index-02165c4e.js"),["static/js/index-02165c4e.js","static/js/propTypes-3b04af70.js","static/css/index-a129e600.css"]),meta:{title:$t("menus.hscountTo")}},{path:"/components/selector",name:"Selector",component:()=>__vitePreload(()=>import("./index-f9d04f1d.js"),["static/js/index-f9d04f1d.js","static/css/index-ea4ab5c7.css"]),meta:{title:$t("menus.hsselector")}},{path:"/components/seamlessScroll",name:"SeamlessScroll",component:()=>__vitePreload(()=>import("./index-0d5c6bd7.js"),["static/js/index-0d5c6bd7.js","static/css/index-53a917f7.css"]),meta:{title:$t("menus.hsseamless")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>__vitePreload(()=>import("./index-29f6a75c.js"),["static/js/index-29f6a75c.js","static/js/basic-1ba7c043.js","static/js/index.esm-1536583a.js","static/css/basic-d842f1a0.css","static/js/menuGroup-5c403ef7.js","static/css/menuGroup-1ac3332c.css","static/js/menuDynamic-da03481f.js","static/css/menuDynamic-8e12a25c.css","static/css/index-5d2daf4d.css"]),meta:{title:$t("menus.hscontextmenu")}},{path:"/components/typeit",name:"Typeit",component:()=>__vitePreload(()=>import("./index-62c5ed86.js"),["static/js/index-62c5ed86.js","static/js/index-a4286b33.js"]),meta:{title:$t("menus.hstypeit")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>__vitePreload(()=>import("./index-8ac1bec4.js"),["static/js/index-8ac1bec4.js","static/js/styles-cbad4420.js","static/js/vue.runtime.esm-bundler-8716bea3.js","static/css/styles-670012e0.css"]),meta:{title:$t("menus.hsjsoneditor")}},{path:"/components/danmaku",name:"Danmaku",component:()=>__vitePreload(()=>import("./index-70192ec0.js"),["static/js/index-70192ec0.js","static/css/index-14392f45.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("./index-a1627eda.js"),["static/js/index-a1627eda.js","static/js/base.vue_vue_type_script_setup_true_lang-bdc6c323.js","static/js/index.esm-55ccaf0b.js","static/css/index-f38a3df6.css","static/js/multi.vue_vue_type_script_setup_true_lang-76d091f6.js","static/js/index-901d205d.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-359dbd7f.js","static/css/index-2bb08053.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-d067056b.js"),[]),meta:{title:$t("menus.hsfourZeroOne")}},{path:"/error/404",name:"404",component:()=>__vitePreload(()=>import("./404-e1215c02.js"),[]),meta:{title:$t("menus.hsfourZeroFour")}},{path:"/error/500",name:"500",component:()=>__vitePreload(()=>import("./500-29988951.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("./index-82064034.js"),["static/js/index-82064034.js","static/js/hooks-3aae2893.js","static/js/styles-cbad4420.js","static/js/vue.runtime.esm-bundler-8716bea3.js","static/css/styles-670012e0.css","static/js/set-up-e6942411.js","static/css/index-6bd35e69.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-cd1fc4a9.js"),["static/js/frameView-cd1fc4a9.js","static/css/frameView-ed080731.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("./index-3e771bdc.js"),["static/js/index-3e771bdc.js","static/css/index-38ef32bb.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("./index-b95a73ea.js"),["static/js/index-b95a73ea.js","static/js/menu-a4fe64fb.js","static/js/set-up-e6942411.js","static/js/home-filled-05cc090c.js","static/js/admin-line-92b9acda.js","static/js/git-branch-line-aa4cb38f.js","static/js/dark-a47106dd.js","static/js/epTheme-f7fc4ebb.js","static/js/app-a27157ff.js","static/js/hooks-3aae2893.js","static/js/search-cc37b371.js","static/js/check-3815600c.js","static/js/refresh-right-6177e75c.js","static/js/arrow-right-s-line-2977cc7e.js","static/js/back_top-a38086db.js","static/css/index-6bfc0cd3.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("./index-1cc51413.js"),["static/js/index-1cc51413.js","static/js/Bar.vue_vue_type_script_setup_true_lang-a92e41dc.js","static/js/app-a27157ff.js","static/js/Pie.vue_vue_type_script_setup_true_lang-7bdfae54.js","static/js/Line.vue_vue_type_script_setup_true_lang-1750da80.js","static/js/list-2ad84199.js","static/js/index-a4286b33.js","static/js/Github.vue_vue_type_script_setup_true_lang-28736f29.js","static/js/columns-645bcb44.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js","static/js/index-6313ba66.js","static/css/index-18417f34.css","static/css/index-dba21543.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("./index-59dc7606.js"),["static/js/index-59dc7606.js","static/js/Card-63e8eee6.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css","static/js/list-2ad84199.js","static/js/message-e10b411d.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-3cbe7144.js","static/js/hooks-3aae2893.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.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("./index-c9a13b0b.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("./index-ebbfffc8.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("./index-186d83be.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("./index-08c577b6.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("./index-947c816b.js"),[]),name:"Menu1-3",meta:{title:$t("menus.hsmenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./index-f9edb411.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-cd1fc4a9.js"),["static/js/frameView-cd1fc4a9.js","static/css/frameView-ed080731.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($,z){return openBlock(),createElementBlock("svg",_hoisted_1,_hoisted_4)}const hot={render:render$3},IFrame$2=()=>__vitePreload(()=>import("./frameView-cd1fc4a9.js"),["static/js/frameView-cd1fc4a9.js","static/css/frameView-ed080731.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-cd1fc4a9.js"),["static/js/frameView-cd1fc4a9.js","static/css/frameView-ed080731.css"]),pureutils={path:"/pure-admin-utils",redirect:"/pure-admin-utils/index",meta:{icon:hot,title:"pure-admin-utils",rank:utils$7},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-b904adcd.js"),["static/js/success-b904adcd.js","static/css/success-42084dfc.css"]),meta:{title:$t("menus.hsSuccess")}},{path:"/result/fail",name:"Fail",component:()=>__vitePreload(()=>import("./fail-de72359d.js"),["static/js/fail-de72359d.js","static/js/columns-58153ba2.js","static/js/arrow-right-s-line-2977cc7e.js","static/css/fail-8c7d12a4.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("./index-0359919c.js"),["static/js/index-0359919c.js","static/js/list-3854bd22.js","static/js/base.vue_vue_type_script_setup_true_lang-532b5825.js","static/js/data-e0a89625.js","static/js/stripe.vue_vue_type_script_setup_true_lang-24bf9656.js","static/js/border.vue_vue_type_script_setup_true_lang-235b951f.js","static/js/status.vue_vue_type_style_index_0_lang-6a6d11cd.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-893593d6.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-5513ac19.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-bac2c741.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-318c555d.js","static/js/radio.vue_vue_type_script_setup_true_lang-c62f9c3e.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c57d578b.js","static/js/sortable.vue_vue_type_script_setup_true_lang-f2c39ea5.js","static/js/filters.vue_vue_type_script_setup_true_lang-1d88ece7.js","static/js/index.vue_vue_type_script_setup_true_lang-143c70d1.js","static/js/columns-08b23bf3.js","static/js/message-e10b411d.js","static/js/index.vue_vue_type_script_setup_true_lang-7d8460d9.js","static/js/columns-2228efa6.js","static/js/expand.vue_vue_type_script_setup_true_lang-0c0d5af4.js","static/js/tree.vue_vue_type_script_setup_true_lang-e6234e60.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-59f90176.js","static/js/merge.vue_vue_type_script_setup_true_lang-a3575553.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-3f478d86.js","static/js/layout.vue_vue_type_script_setup_true_lang-ba3aaca4.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-8036d0ef.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-e8505c5e.js","static/css/index-c6b6432d.css"]),meta:{title:$t("menus.hsPureTableBase")}},{path:"/pure-table/high",name:"PureTableHigh",component:()=>__vitePreload(()=>import("./high-f73b4847.js"),["static/js/high-f73b4847.js","static/js/list-576676b9.js","static/js/index.vue_vue_type_script_setup_true_lang-782f884b.js","static/js/columns-23d85fd8.js","static/js/data-2a459e4f.js","static/js/index.vue_vue_type_script_setup_true_lang-ebf4953c.js","static/js/columns-d2f4be8c.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-938c1052.js","static/js/columns-c1a23753.js","static/js/index.vue_vue_type_script_setup_true_lang-f38d0b07.js","static/js/columns-6e4a0218.js","static/js/message-e10b411d.js","static/js/index.vue_vue_type_script_setup_true_lang-9537d197.js","static/js/columns-985fc166.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-9d3753d6.js","static/js/columns-b044ca8f.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-e72ab48c.js","static/js/columns-39243a2d.js","static/js/index.vue_vue_type_script_setup_true_lang-e86fa6d1.js","static/js/columns-124b7161.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-fa009012.js","static/js/columns-823e8344.js","static/js/index.vue_vue_type_script_setup_true_lang-6b8767b8.js","static/js/index.vue_vue_type_script_setup_true_lang-571287f7.js","static/js/columns-070fe5af.js","static/js/index.vue_vue_type_script_setup_true_lang-2ebcbc7e.js","static/js/columns-1fd16450.js","static/css/high-5bc3f1f1.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($){for(var z=1;z<arguments.length;z++){var ie=arguments[z];for(var le in ie)$[le]=ie[le]}return $}var defaultConverter={read:function($){return $[0]==='"'&&($=$.slice(1,-1)),$.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function($){return encodeURIComponent($).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init$2($,z){function ie(ue,pe,_e){if(!(typeof document>"u")){_e=assign$3({},z,_e),typeof _e.expires=="number"&&(_e.expires=new Date(Date.now()+_e.expires*864e5)),_e.expires&&(_e.expires=_e.expires.toUTCString()),ue=encodeURIComponent(ue).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var Ce="";for(var $e in _e)_e[$e]&&(Ce+="; "+$e,_e[$e]!==!0&&(Ce+="="+_e[$e].split(";")[0]));return document.cookie=ue+"="+$.write(pe,ue)+Ce}}function le(ue){if(!(typeof document>"u"||arguments.length&&!ue)){for(var pe=document.cookie?document.cookie.split("; "):[],_e={},Ce=0;Ce<pe.length;Ce++){var $e=pe[Ce].split("="),xe=$e.slice(1).join("=");try{var Ie=decodeURIComponent($e[0]);if(_e[Ie]=$.read(xe,Ie),ue===Ie)break}catch{}}return ue?_e[ue]:_e}}return Object.create({set:ie,get:le,remove:function(ue,pe){ie(ue,"",assign$3({},pe,{expires:-1}))},withAttributes:function(ue){return init$2(this.converter,assign$3({},this.attributes,ue))},withConverter:function(ue){return init$2(assign$3({},this.converter,ue),this.attributes)}},{attributes:{value:Object.freeze(z)},converter:{value:Object.freeze($)}})}var api=init$2(defaultConverter,{path:"/"});/*!
|
||
* pinia v2.1.3
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let activePinia;const setActivePinia=$=>activePinia=$,piniaSymbol=Symbol();function isPlainObject($){return $&&typeof $=="object"&&Object.prototype.toString.call($)==="[object Object]"&&typeof $.toJSON!="function"}var MutationType;(function($){$.direct="direct",$.patchObject="patch object",$.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const $=effectScope(!0),z=$.run(()=>ref({}));let ie=[],le=[];const ue=markRaw({install(pe){setActivePinia(ue),ue._a=pe,pe.provide(piniaSymbol,ue),pe.config.globalProperties.$pinia=ue,le.forEach(_e=>ie.push(_e)),le=[]},use(pe){return!this._a&&!isVue2?le.push(pe):ie.push(pe),this},_p:ie,_a:null,_e:$,_s:new Map,state:z});return ue}const noop$2=()=>{};function addSubscription($,z,ie,le=noop$2){$.push(z);const ue=()=>{const pe=$.indexOf(z);pe>-1&&($.splice(pe,1),le())};return!ie&&getCurrentScope()&&onScopeDispose(ue),ue}function triggerSubscriptions($,...z){$.slice().forEach(ie=>{ie(...z)})}const fallbackRunWithContext=$=>$();function mergeReactiveObjects($,z){$ instanceof Map&&z instanceof Map&&z.forEach((ie,le)=>$.set(le,ie)),$ instanceof Set&&z instanceof Set&&z.forEach($.add,$);for(const ie in z){if(!z.hasOwnProperty(ie))continue;const le=z[ie],ue=$[ie];isPlainObject(ue)&&isPlainObject(le)&&$.hasOwnProperty(ie)&&!isRef(le)&&!isReactive(le)?$[ie]=mergeReactiveObjects(ue,le):$[ie]=le}return $}const skipHydrateSymbol=Symbol();function shouldHydrate($){return!isPlainObject($)||!$.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$2}=Object;function isComputed($){return!!(isRef($)&&$.effect)}function createOptionsStore($,z,ie,le){const{state:ue,actions:pe,getters:_e}=z,Ce=ie.state.value[$];let $e;function xe(){Ce||(ie.state.value[$]=ue?ue():{});const Ie=toRefs(ie.state.value[$]);return assign$2(Ie,pe,Object.keys(_e||{}).reduce((Ve,ze)=>(Ve[ze]=markRaw(computed(()=>{setActivePinia(ie);const Ue=ie._s.get($);return _e[ze].call(Ue,Ue)})),Ve),{}))}return $e=createSetupStore($,xe,z,ie,le,!0),$e}function createSetupStore($,z,ie={},le,ue,pe){let _e;const Ce=assign$2({actions:{}},ie),$e={deep:!0};let xe,Ie,Ve=[],ze=[],Ue;const qe=le.state.value[$];!pe&&!qe&&(le.state.value[$]={}),ref({});let Et;function Lt(wn){let Tn;xe=Ie=!1,typeof wn=="function"?(wn(le.state.value[$]),Tn={type:MutationType.patchFunction,storeId:$,events:Ue}):(mergeReactiveObjects(le.state.value[$],wn),Tn={type:MutationType.patchObject,payload:wn,storeId:$,events:Ue});const kn=Et=Symbol();nextTick().then(()=>{Et===kn&&(xe=!0)}),Ie=!0,triggerSubscriptions(Ve,Tn,le.state.value[$])}const hn=pe?function(){const{state:Tn}=ie,kn=Tn?Tn():{};this.$patch(xn=>{assign$2(xn,kn)})}:noop$2;function vn(){_e.stop(),Ve=[],ze=[],le._s.delete($)}function _n(wn,Tn){return function(){setActivePinia(le);const kn=Array.from(arguments),xn=[],Pn=[];function An(Dn){xn.push(Dn)}function In(Dn){Pn.push(Dn)}triggerSubscriptions(ze,{args:kn,name:wn,store:Cn,after:An,onError:In});let Fn;try{Fn=Tn.apply(this&&this.$id===$?this:Cn,kn)}catch(Dn){throw triggerSubscriptions(Pn,Dn),Dn}return Fn instanceof Promise?Fn.then(Dn=>(triggerSubscriptions(xn,Dn),Dn)).catch(Dn=>(triggerSubscriptions(Pn,Dn),Promise.reject(Dn))):(triggerSubscriptions(xn,Fn),Fn)}}const bn={_p:le,$id:$,$onAction:addSubscription.bind(null,ze),$patch:Lt,$reset:hn,$subscribe(wn,Tn={}){const kn=addSubscription(Ve,wn,Tn.detached,()=>xn()),xn=_e.run(()=>watch(()=>le.state.value[$],Pn=>{(Tn.flush==="sync"?Ie:xe)&&wn({storeId:$,type:MutationType.direct,events:Ue},Pn)},assign$2({},$e,Tn)));return kn},$dispose:vn},Cn=reactive(bn);le._s.set($,Cn);const Sn=le._a&&le._a.runWithContext||fallbackRunWithContext,En=le._e.run(()=>(_e=effectScope(),Sn(()=>_e.run(z))));for(const wn in En){const Tn=En[wn];if(isRef(Tn)&&!isComputed(Tn)||isReactive(Tn))pe||(qe&&shouldHydrate(Tn)&&(isRef(Tn)?Tn.value=qe[wn]:mergeReactiveObjects(Tn,qe[wn])),le.state.value[$][wn]=Tn);else if(typeof Tn=="function"){const kn=_n(wn,Tn);En[wn]=kn,Ce.actions[wn]=Tn}}return assign$2(Cn,En),assign$2(toRaw(Cn),En),Object.defineProperty(Cn,"$state",{get:()=>le.state.value[$],set:wn=>{Lt(Tn=>{assign$2(Tn,wn)})}}),le._p.forEach(wn=>{assign$2(Cn,_e.run(()=>wn({store:Cn,app:le._a,pinia:le,options:Ce})))}),qe&&pe&&ie.hydrate&&ie.hydrate(Cn.$state,qe),xe=!0,Ie=!0,Cn}function defineStore($,z,ie){let le,ue;const pe=typeof z=="function";typeof $=="string"?(le=$,ue=pe?ie:z):(ue=$,le=$.id);function _e(Ce,$e){const xe=hasInjectionContext();return Ce=Ce||(xe?inject(piniaSymbol,null):null),Ce&&setActivePinia(Ce),Ce=activePinia,Ce._s.has(le)||(pe?createSetupStore(le,z,ue,Ce):createOptionsStore(le,ue,Ce)),Ce._s.get(le)}return _e.$id=le,_e}function storeToRefs($){{$=toRaw($);const z={};for(const ie in $){const le=$[ie];(isRef(le)||isReactive(le))&&(z[ie]=toRef$1($,ie))}return z}}const store=createPinia();function setupStore($){$.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",parentPath:"/",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 z={},ie=Symbol("test"),le=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(le)!=="[object Symbol]")return!1;var ue=42;z[ie]=ue;for(ie in z)return!1;if(typeof Object.keys=="function"&&Object.keys(z).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(z).length!==0)return!1;var pe=Object.getOwnPropertySymbols(z);if(pe.length!==1||pe[0]!==ie||!Object.prototype.propertyIsEnumerable.call(z,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var _e=Object.getOwnPropertyDescriptor(z,ie);if(_e.value!==ue||_e.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(z){var ie=this;if(typeof ie!="function"||toStr$1.call(ie)!==funcType)throw new TypeError(ERROR_MESSAGE+ie);for(var le=slice$1.call(arguments,1),ue,pe=function(){if(this instanceof ue){var Ie=ie.apply(this,le.concat(slice$1.call(arguments)));return Object(Ie)===Ie?Ie:this}else return ie.apply(z,le.concat(slice$1.call(arguments)))},_e=Math.max(0,ie.length-le.length),Ce=[],$e=0;$e<_e;$e++)Ce.push("$"+$e);if(ue=Function("binder","return function ("+Ce.join(",")+"){ return binder.apply(this,arguments); }")(pe),ie.prototype){var xe=function(){};xe.prototype=ie.prototype,ue.prototype=new xe,xe.prototype=null}return ue},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($){try{return $Function('"use strict"; return ('+$+").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($){return $.__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($){var errorProto=getProto(getProto($));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function $(z){var ie;if(z==="%AsyncFunction%")ie=getEvalledConstructor("async function () {}");else if(z==="%GeneratorFunction%")ie=getEvalledConstructor("function* () {}");else if(z==="%AsyncGeneratorFunction%")ie=getEvalledConstructor("async function* () {}");else if(z==="%AsyncGenerator%"){var le=$("%AsyncGeneratorFunction%");le&&(ie=le.prototype)}else if(z==="%AsyncIteratorPrototype%"){var ue=$("%AsyncGenerator%");ue&&getProto&&(ie=getProto(ue.prototype))}return INTRINSICS[z]=ie,ie},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(z){var ie=$strSlice(z,0,1),le=$strSlice(z,-1);if(ie==="%"&&le!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(le==="%"&&ie!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var ue=[];return $replace$1(z,rePropName,function(pe,_e,Ce,$e){ue[ue.length]=Ce?$replace$1($e,reEscapeChar,"$1"):_e||pe}),ue},getBaseIntrinsic=function(z,ie){var le=z,ue;if(hasOwn$2(LEGACY_ALIASES,le)&&(ue=LEGACY_ALIASES[le],le="%"+ue[0]+"%"),hasOwn$2(INTRINSICS,le)){var pe=INTRINSICS[le];if(pe===needsEval&&(pe=doEval(le)),typeof pe>"u"&&!ie)throw new $TypeError$1("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:ue,name:le,value:pe}}throw new $SyntaxError("intrinsic "+z+" does not exist!")},getIntrinsic=function(z,ie){if(typeof z!="string"||z.length===0)throw new $TypeError$1("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new $TypeError$1('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,z)===null)throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var le=stringToPath(z),ue=le.length>0?le[0]:"",pe=getBaseIntrinsic("%"+ue+"%",ie),_e=pe.name,Ce=pe.value,$e=!1,xe=pe.alias;xe&&(ue=xe[0],$spliceApply(le,$concat$1([0,1],xe)));for(var Ie=1,Ve=!0;Ie<le.length;Ie+=1){var ze=le[Ie],Ue=$strSlice(ze,0,1),qe=$strSlice(ze,-1);if((Ue==='"'||Ue==="'"||Ue==="`"||qe==='"'||qe==="'"||qe==="`")&&Ue!==qe)throw new $SyntaxError("property names with quotes must have matching quotes");if((ze==="constructor"||!Ve)&&($e=!0),ue+="."+ze,_e="%"+ue+"%",hasOwn$2(INTRINSICS,_e))Ce=INTRINSICS[_e];else if(Ce!=null){if(!(ze in Ce)){if(!ie)throw new $TypeError$1("base intrinsic for "+z+" exists, but the property is not available.");return}if($gOPD&&Ie+1>=le.length){var Et=$gOPD(Ce,ze);Ve=!!Et,Ve&&"get"in Et&&!("originalValue"in Et.get)?Ce=Et.get:Ce=Ce[ze]}else Ve=hasOwn$2(Ce,ze),Ce=Ce[ze];Ve&&!$e&&(INTRINSICS[_e]=Ce)}}return Ce},callBind$1={exports:{}};(function($){var z=functionBind,ie=getIntrinsic,le=ie("%Function.prototype.apply%"),ue=ie("%Function.prototype.call%"),pe=ie("%Reflect.apply%",!0)||z.call(ue,le),_e=ie("%Object.getOwnPropertyDescriptor%",!0),Ce=ie("%Object.defineProperty%",!0),$e=ie("%Math.max%");if(Ce)try{Ce({},"a",{value:1})}catch{Ce=null}$.exports=function(Ve){var ze=pe(z,ue,arguments);if(_e&&Ce){var Ue=_e(ze,"length");Ue.configurable&&Ce(ze,"length",{value:1+$e(0,Ve.length-(arguments.length-1))})}return ze};var xe=function(){return pe(z,le,arguments)};Ce?Ce($.exports,"apply",{value:xe}):$.exports.apply=xe})(callBind$1);var callBindExports=callBind$1.exports,GetIntrinsic$1=getIntrinsic,callBind=callBindExports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(z,ie){var le=GetIntrinsic$1(z,!!ie);return typeof le=="function"&&$indexOf(z,".prototype.")>-1?callBind(le):le};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($){return $.__proto__}:null);function addNumericSeparator($,z){if($===1/0||$===-1/0||$!==$||$&&$>-1e3&&$<1e3||$test.call(/e/,z))return z;var ie=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof $=="number"){var le=$<0?-$floor(-$):$floor($);if(le!==$){var ue=String(le),pe=$slice.call(z,ue.length+1);return $replace.call(ue,ie,"$&_")+"."+$replace.call($replace.call(pe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(z,ie,"$&_")}var utilInspect=require$$0,inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null,objectInspect=function $(z,ie,le,ue){var pe=ie||{};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 _e=has$4(pe,"customInspect")?pe.customInspect:!0;if(typeof _e!="boolean"&&_e!=="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 Ce=pe.numericSeparator;if(typeof z>"u")return"undefined";if(z===null)return"null";if(typeof z=="boolean")return z?"true":"false";if(typeof z=="string")return inspectString(z,pe);if(typeof z=="number"){if(z===0)return 1/0/z>0?"0":"-0";var $e=String(z);return Ce?addNumericSeparator(z,$e):$e}if(typeof z=="bigint"){var xe=String(z)+"n";return Ce?addNumericSeparator(z,xe):xe}var Ie=typeof pe.depth>"u"?5:pe.depth;if(typeof le>"u"&&(le=0),le>=Ie&&Ie>0&&typeof z=="object")return isArray$7(z)?"[Array]":"[Object]";var Ve=getIndent(pe,le);if(typeof ue>"u")ue=[];else if(indexOf$1(ue,z)>=0)return"[Circular]";function ze(An,In,Fn){if(In&&(ue=$arrSlice.call(ue),ue.push(In)),Fn){var Dn={depth:pe.depth};return has$4(pe,"quoteStyle")&&(Dn.quoteStyle=pe.quoteStyle),$(An,Dn,le+1,ue)}return $(An,pe,le+1,ue)}if(typeof z=="function"&&!isRegExp$2(z)){var Ue=nameOf(z),qe=arrObjKeys(z,ze);return"[Function"+(Ue?": "+Ue:" (anonymous)")+"]"+(qe.length>0?" { "+$join.call(qe,", ")+" }":"")}if(isSymbol(z)){var Et=hasShammedSymbols?$replace.call(String(z),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(z);return typeof z=="object"&&!hasShammedSymbols?markBoxed(Et):Et}if(isElement$1(z)){for(var Lt="<"+$toLowerCase.call(String(z.nodeName)),hn=z.attributes||[],vn=0;vn<hn.length;vn++)Lt+=" "+hn[vn].name+"="+wrapQuotes(quote(hn[vn].value),"double",pe);return Lt+=">",z.childNodes&&z.childNodes.length&&(Lt+="..."),Lt+="</"+$toLowerCase.call(String(z.nodeName))+">",Lt}if(isArray$7(z)){if(z.length===0)return"[]";var _n=arrObjKeys(z,ze);return Ve&&!singleLineValues(_n)?"["+indentedJoin(_n,Ve)+"]":"[ "+$join.call(_n,", ")+" ]"}if(isError(z)){var bn=arrObjKeys(z,ze);return!("cause"in Error.prototype)&&"cause"in z&&!isEnumerable.call(z,"cause")?"{ ["+String(z)+"] "+$join.call($concat.call("[cause]: "+ze(z.cause),bn),", ")+" }":bn.length===0?"["+String(z)+"]":"{ ["+String(z)+"] "+$join.call(bn,", ")+" }"}if(typeof z=="object"&&_e){if(inspectSymbol&&typeof z[inspectSymbol]=="function"&&utilInspect)return utilInspect(z,{depth:Ie-le});if(_e!=="symbol"&&typeof z.inspect=="function")return z.inspect()}if(isMap(z)){var Cn=[];return mapForEach&&mapForEach.call(z,function(An,In){Cn.push(ze(In,z,!0)+" => "+ze(An,z))}),collectionOf("Map",mapSize.call(z),Cn,Ve)}if(isSet(z)){var Sn=[];return setForEach&&setForEach.call(z,function(An){Sn.push(ze(An,z))}),collectionOf("Set",setSize.call(z),Sn,Ve)}if(isWeakMap(z))return weakCollectionOf("WeakMap");if(isWeakSet(z))return weakCollectionOf("WeakSet");if(isWeakRef(z))return weakCollectionOf("WeakRef");if(isNumber$1(z))return markBoxed(ze(Number(z)));if(isBigInt(z))return markBoxed(ze(bigIntValueOf.call(z)));if(isBoolean(z))return markBoxed(booleanValueOf.call(z));if(isString$2(z))return markBoxed(ze(String(z)));if(!isDate(z)&&!isRegExp$2(z)){var En=arrObjKeys(z,ze),wn=gPO?gPO(z)===Object.prototype:z instanceof Object||z.constructor===Object,Tn=z instanceof Object?"":"null prototype",kn=!wn&&toStringTag&&Object(z)===z&&toStringTag in z?$slice.call(toStr(z),8,-1):Tn?"Object":"",xn=wn||typeof z.constructor!="function"?"":z.constructor.name?z.constructor.name+" ":"",Pn=xn+(kn||Tn?"["+$join.call($concat.call([],kn||[],Tn||[]),": ")+"] ":"");return En.length===0?Pn+"{}":Ve?Pn+"{"+indentedJoin(En,Ve)+"}":Pn+"{ "+$join.call(En,", ")+" }"}return String(z)};function wrapQuotes($,z,ie){var le=(ie.quoteStyle||z)==="double"?'"':"'";return le+$+le}function quote($){return $replace.call(String($),/"/g,""")}function isArray$7($){return toStr($)==="[object Array]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isDate($){return toStr($)==="[object Date]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isRegExp$2($){return toStr($)==="[object RegExp]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isError($){return toStr($)==="[object Error]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isString$2($){return toStr($)==="[object String]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isNumber$1($){return toStr($)==="[object Number]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isBoolean($){return toStr($)==="[object Boolean]"&&(!toStringTag||!(typeof $=="object"&&toStringTag in $))}function isSymbol($){if(hasShammedSymbols)return $&&typeof $=="object"&&$ instanceof Symbol;if(typeof $=="symbol")return!0;if(!$||typeof $!="object"||!symToString)return!1;try{return symToString.call($),!0}catch{}return!1}function isBigInt($){if(!$||typeof $!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call($),!0}catch{}return!1}var hasOwn$1=Object.prototype.hasOwnProperty||function($){return $ in this};function has$4($,z){return hasOwn$1.call($,z)}function toStr($){return objectToString.call($)}function nameOf($){if($.name)return $.name;var z=$match.call(functionToString.call($),/^function\s*([\w$]+)/);return z?z[1]:null}function indexOf$1($,z){if($.indexOf)return $.indexOf(z);for(var ie=0,le=$.length;ie<le;ie++)if($[ie]===z)return ie;return-1}function isMap($){if(!mapSize||!$||typeof $!="object")return!1;try{mapSize.call($);try{setSize.call($)}catch{return!0}return $ instanceof Map}catch{}return!1}function isWeakMap($){if(!weakMapHas||!$||typeof $!="object")return!1;try{weakMapHas.call($,weakMapHas);try{weakSetHas.call($,weakSetHas)}catch{return!0}return $ instanceof WeakMap}catch{}return!1}function isWeakRef($){if(!weakRefDeref||!$||typeof $!="object")return!1;try{return weakRefDeref.call($),!0}catch{}return!1}function isSet($){if(!setSize||!$||typeof $!="object")return!1;try{setSize.call($);try{mapSize.call($)}catch{return!0}return $ instanceof Set}catch{}return!1}function isWeakSet($){if(!weakSetHas||!$||typeof $!="object")return!1;try{weakSetHas.call($,weakSetHas);try{weakMapHas.call($,weakMapHas)}catch{return!0}return $ instanceof WeakSet}catch{}return!1}function isElement$1($){return!$||typeof $!="object"?!1:typeof HTMLElement<"u"&&$ instanceof HTMLElement?!0:typeof $.nodeName=="string"&&typeof $.getAttribute=="function"}function inspectString($,z){if($.length>z.maxStringLength){var ie=$.length-z.maxStringLength,le="... "+ie+" more character"+(ie>1?"s":"");return inspectString($slice.call($,0,z.maxStringLength),z)+le}var ue=$replace.call($replace.call($,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(ue,"single",z)}function lowbyte($){var z=$.charCodeAt(0),ie={8:"b",9:"t",10:"n",12:"f",13:"r"}[z];return ie?"\\"+ie:"\\x"+(z<16?"0":"")+$toUpperCase.call(z.toString(16))}function markBoxed($){return"Object("+$+")"}function weakCollectionOf($){return $+" { ? }"}function collectionOf($,z,ie,le){var ue=le?indentedJoin(ie,le):$join.call(ie,", ");return $+" ("+z+") {"+ue+"}"}function singleLineValues($){for(var z=0;z<$.length;z++)if(indexOf$1($[z],`
|
||
`)>=0)return!1;return!0}function getIndent($,z){var ie;if($.indent===" ")ie=" ";else if(typeof $.indent=="number"&&$.indent>0)ie=$join.call(Array($.indent+1)," ");else return null;return{base:ie,prev:$join.call(Array(z+1),ie)}}function indentedJoin($,z){if($.length===0)return"";var ie=`
|
||
`+z.prev+z.base;return ie+$join.call($,","+ie)+`
|
||
`+z.prev}function arrObjKeys($,z){var ie=isArray$7($),le=[];if(ie){le.length=$.length;for(var ue=0;ue<$.length;ue++)le[ue]=has$4($,ue)?z($[ue],$):""}var pe=typeof gOPS=="function"?gOPS($):[],_e;if(hasShammedSymbols){_e={};for(var Ce=0;Ce<pe.length;Ce++)_e["$"+pe[Ce]]=pe[Ce]}for(var $e in $)has$4($,$e)&&(ie&&String(Number($e))===$e&&$e<$.length||hasShammedSymbols&&_e["$"+$e]instanceof Symbol||($test.call(/[^\w$]/,$e)?le.push(z($e,$)+": "+z($[$e],$)):le.push($e+": "+z($[$e],$))));if(typeof gOPS=="function")for(var xe=0;xe<pe.length;xe++)isEnumerable.call($,pe[xe])&&le.push("["+z(pe[xe])+"]: "+z($[pe[xe]],$));return le}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($,z){for(var ie=$,le;(le=ie.next)!==null;ie=le)if(le.key===z)return ie.next=le.next,le.next=$.next,$.next=le,le},listGet=function($,z){var ie=listGetNode($,z);return ie&&ie.value},listSet=function($,z,ie){var le=listGetNode($,z);le?le.value=ie:$.next={key:z,next:$.next,value:ie}},listHas=function($,z){return!!listGetNode($,z)},sideChannel=function(){var z,ie,le,ue={assert:function(pe){if(!ue.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(z)return $weakMapGet(z,pe)}else if($Map){if(ie)return $mapGet(ie,pe)}else if(le)return listGet(le,pe)},has:function(pe){if($WeakMap&&pe&&(typeof pe=="object"||typeof pe=="function")){if(z)return $weakMapHas(z,pe)}else if($Map){if(ie)return $mapHas(ie,pe)}else if(le)return listHas(le,pe);return!1},set:function(pe,_e){$WeakMap&&pe&&(typeof pe=="object"||typeof pe=="function")?(z||(z=new $WeakMap),$weakMapSet(z,pe,_e)):$Map?(ie||(ie=new $Map),$mapSet(ie,pe,_e)):(le||(le={key:{},next:null}),listSet(le,pe,_e))}};return ue},replace=String.prototype.replace,percentTwenties=/%20/g,Format={RFC1738:"RFC1738",RFC3986:"RFC3986"},formats$3={default:Format.RFC3986,formatters:{RFC1738:function($){return replace.call($,percentTwenties,"+")},RFC3986:function($){return String($)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986},formats$2=formats$3,has$3=Object.prototype.hasOwnProperty,isArray$6=Array.isArray,hexTable=function(){for(var $=[],z=0;z<256;++z)$.push("%"+((z<16?"0":"")+z.toString(16)).toUpperCase());return $}(),compactQueue=function(z){for(;z.length>1;){var ie=z.pop(),le=ie.obj[ie.prop];if(isArray$6(le)){for(var ue=[],pe=0;pe<le.length;++pe)typeof le[pe]<"u"&&ue.push(le[pe]);ie.obj[ie.prop]=ue}}},arrayToObject=function(z,ie){for(var le=ie&&ie.plainObjects?Object.create(null):{},ue=0;ue<z.length;++ue)typeof z[ue]<"u"&&(le[ue]=z[ue]);return le},merge$1=function $(z,ie,le){if(!ie)return z;if(typeof ie!="object"){if(isArray$6(z))z.push(ie);else if(z&&typeof z=="object")(le&&(le.plainObjects||le.allowPrototypes)||!has$3.call(Object.prototype,ie))&&(z[ie]=!0);else return[z,ie];return z}if(!z||typeof z!="object")return[z].concat(ie);var ue=z;return isArray$6(z)&&!isArray$6(ie)&&(ue=arrayToObject(z,le)),isArray$6(z)&&isArray$6(ie)?(ie.forEach(function(pe,_e){if(has$3.call(z,_e)){var Ce=z[_e];Ce&&typeof Ce=="object"&&pe&&typeof pe=="object"?z[_e]=$(Ce,pe,le):z.push(pe)}else z[_e]=pe}),z):Object.keys(ie).reduce(function(pe,_e){var Ce=ie[_e];return has$3.call(pe,_e)?pe[_e]=$(pe[_e],Ce,le):pe[_e]=Ce,pe},ue)},assign$1=function(z,ie){return Object.keys(ie).reduce(function(le,ue){return le[ue]=ie[ue],le},z)},decode$2=function($,z,ie){var le=$.replace(/\+/g," ");if(ie==="iso-8859-1")return le.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(le)}catch{return le}},encode=function(z,ie,le,ue,pe){if(z.length===0)return z;var _e=z;if(typeof z=="symbol"?_e=Symbol.prototype.toString.call(z):typeof z!="string"&&(_e=String(z)),le==="iso-8859-1")return escape(_e).replace(/%u[0-9a-f]{4}/gi,function(Ie){return"%26%23"+parseInt(Ie.slice(2),16)+"%3B"});for(var Ce="",$e=0;$e<_e.length;++$e){var xe=_e.charCodeAt($e);if(xe===45||xe===46||xe===95||xe===126||xe>=48&&xe<=57||xe>=65&&xe<=90||xe>=97&&xe<=122||pe===formats$2.RFC1738&&(xe===40||xe===41)){Ce+=_e.charAt($e);continue}if(xe<128){Ce=Ce+hexTable[xe];continue}if(xe<2048){Ce=Ce+(hexTable[192|xe>>6]+hexTable[128|xe&63]);continue}if(xe<55296||xe>=57344){Ce=Ce+(hexTable[224|xe>>12]+hexTable[128|xe>>6&63]+hexTable[128|xe&63]);continue}$e+=1,xe=65536+((xe&1023)<<10|_e.charCodeAt($e)&1023),Ce+=hexTable[240|xe>>18]+hexTable[128|xe>>12&63]+hexTable[128|xe>>6&63]+hexTable[128|xe&63]}return Ce},compact=function(z){for(var ie=[{obj:{o:z},prop:"o"}],le=[],ue=0;ue<ie.length;++ue)for(var pe=ie[ue],_e=pe.obj[pe.prop],Ce=Object.keys(_e),$e=0;$e<Ce.length;++$e){var xe=Ce[$e],Ie=_e[xe];typeof Ie=="object"&&Ie!==null&&le.indexOf(Ie)===-1&&(ie.push({obj:_e,prop:xe}),le.push(Ie))}return compactQueue(ie),z},isRegExp$1=function(z){return Object.prototype.toString.call(z)==="[object RegExp]"},isBuffer=function(z){return!z||typeof z!="object"?!1:!!(z.constructor&&z.constructor.isBuffer&&z.constructor.isBuffer(z))},combine=function(z,ie){return[].concat(z,ie)},maybeMap=function(z,ie){if(isArray$6(z)){for(var le=[],ue=0;ue<z.length;ue+=1)le.push(ie(z[ue]));return le}return ie(z)},utils$6={arrayToObject,assign:assign$1,combine,compact,decode:decode$2,encode,isBuffer,isRegExp:isRegExp$1,maybeMap,merge:merge$1},getSideChannel=sideChannel,utils$5=utils$6,formats$1=formats$3,has$2=Object.prototype.hasOwnProperty,arrayPrefixGenerators={brackets:function(z){return z+"[]"},comma:"comma",indices:function(z,ie){return z+"["+ie+"]"},repeat:function(z){return z}},isArray$5=Array.isArray,push$1=Array.prototype.push,pushToArray=function($,z){push$1.apply($,isArray$5(z)?z:[z])},toISO=Date.prototype.toISOString,defaultFormat=formats$1.default,defaults$2={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:utils$5.encode,encodeValuesOnly:!1,format:defaultFormat,formatter:formats$1.formatters[defaultFormat],indices:!1,serializeDate:function(z){return toISO.call(z)},skipNulls:!1,strictNullHandling:!1},isNonNullishPrimitive=function(z){return typeof z=="string"||typeof z=="number"||typeof z=="boolean"||typeof z=="symbol"||typeof z=="bigint"},sentinel={},stringify$2=function $(z,ie,le,ue,pe,_e,Ce,$e,xe,Ie,Ve,ze,Ue,qe,Et,Lt){for(var hn=z,vn=Lt,_n=0,bn=!1;(vn=vn.get(sentinel))!==void 0&&!bn;){var Cn=vn.get(z);if(_n+=1,typeof Cn<"u"){if(Cn===_n)throw new RangeError("Cyclic object value");bn=!0}typeof vn.get(sentinel)>"u"&&(_n=0)}if(typeof $e=="function"?hn=$e(ie,hn):hn instanceof Date?hn=Ve(hn):le==="comma"&&isArray$5(hn)&&(hn=utils$5.maybeMap(hn,function(Dn){return Dn instanceof Date?Ve(Dn):Dn})),hn===null){if(pe)return Ce&&!qe?Ce(ie,defaults$2.encoder,Et,"key",ze):ie;hn=""}if(isNonNullishPrimitive(hn)||utils$5.isBuffer(hn)){if(Ce){var Sn=qe?ie:Ce(ie,defaults$2.encoder,Et,"key",ze);return[Ue(Sn)+"="+Ue(Ce(hn,defaults$2.encoder,Et,"value",ze))]}return[Ue(ie)+"="+Ue(String(hn))]}var En=[];if(typeof hn>"u")return En;var wn;if(le==="comma"&&isArray$5(hn))qe&&Ce&&(hn=utils$5.maybeMap(hn,Ce)),wn=[{value:hn.length>0?hn.join(",")||null:void 0}];else if(isArray$5($e))wn=$e;else{var Tn=Object.keys(hn);wn=xe?Tn.sort(xe):Tn}for(var kn=ue&&isArray$5(hn)&&hn.length===1?ie+"[]":ie,xn=0;xn<wn.length;++xn){var Pn=wn[xn],An=typeof Pn=="object"&&typeof Pn.value<"u"?Pn.value:hn[Pn];if(!(_e&&An===null)){var In=isArray$5(hn)?typeof le=="function"?le(kn,Pn):kn:kn+(Ie?"."+Pn:"["+Pn+"]");Lt.set(z,_n);var Fn=getSideChannel();Fn.set(sentinel,Lt),pushToArray(En,$(An,In,le,ue,pe,_e,le==="comma"&&qe&&isArray$5(hn)?null:Ce,$e,xe,Ie,Ve,ze,Ue,qe,Et,Fn))}}return En},normalizeStringifyOptions=function(z){if(!z)return defaults$2;if(z.encoder!==null&&typeof z.encoder<"u"&&typeof z.encoder!="function")throw new TypeError("Encoder has to be a function.");var ie=z.charset||defaults$2.charset;if(typeof z.charset<"u"&&z.charset!=="utf-8"&&z.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var le=formats$1.default;if(typeof z.format<"u"){if(!has$2.call(formats$1.formatters,z.format))throw new TypeError("Unknown format option provided.");le=z.format}var ue=formats$1.formatters[le],pe=defaults$2.filter;return(typeof z.filter=="function"||isArray$5(z.filter))&&(pe=z.filter),{addQueryPrefix:typeof z.addQueryPrefix=="boolean"?z.addQueryPrefix:defaults$2.addQueryPrefix,allowDots:typeof z.allowDots>"u"?defaults$2.allowDots:!!z.allowDots,charset:ie,charsetSentinel:typeof z.charsetSentinel=="boolean"?z.charsetSentinel:defaults$2.charsetSentinel,delimiter:typeof z.delimiter>"u"?defaults$2.delimiter:z.delimiter,encode:typeof z.encode=="boolean"?z.encode:defaults$2.encode,encoder:typeof z.encoder=="function"?z.encoder:defaults$2.encoder,encodeValuesOnly:typeof z.encodeValuesOnly=="boolean"?z.encodeValuesOnly:defaults$2.encodeValuesOnly,filter:pe,format:le,formatter:ue,serializeDate:typeof z.serializeDate=="function"?z.serializeDate:defaults$2.serializeDate,skipNulls:typeof z.skipNulls=="boolean"?z.skipNulls:defaults$2.skipNulls,sort:typeof z.sort=="function"?z.sort:null,strictNullHandling:typeof z.strictNullHandling=="boolean"?z.strictNullHandling:defaults$2.strictNullHandling}},stringify_1=function($,z){var ie=$,le=normalizeStringifyOptions(z),ue,pe;typeof le.filter=="function"?(pe=le.filter,ie=pe("",ie)):isArray$5(le.filter)&&(pe=le.filter,ue=pe);var _e=[];if(typeof ie!="object"||ie===null)return"";var Ce;z&&z.arrayFormat in arrayPrefixGenerators?Ce=z.arrayFormat:z&&"indices"in z?Ce=z.indices?"indices":"repeat":Ce="indices";var $e=arrayPrefixGenerators[Ce];if(z&&"commaRoundTrip"in z&&typeof z.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var xe=$e==="comma"&&z&&z.commaRoundTrip;ue||(ue=Object.keys(ie)),le.sort&&ue.sort(le.sort);for(var Ie=getSideChannel(),Ve=0;Ve<ue.length;++Ve){var ze=ue[Ve];le.skipNulls&&ie[ze]===null||pushToArray(_e,stringify$2(ie[ze],ze,$e,xe,le.strictNullHandling,le.skipNulls,le.encode?le.encoder:null,le.filter,le.sort,le.allowDots,le.serializeDate,le.format,le.formatter,le.encodeValuesOnly,le.charset,Ie))}var Ue=_e.join(le.delimiter),qe=le.addQueryPrefix===!0?"?":"";return le.charsetSentinel&&(le.charset==="iso-8859-1"?qe+="utf8=%26%2310003%3B&":qe+="utf8=%E2%9C%93&"),Ue.length>0?qe+Ue:""},utils$4=utils$6,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$4.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function($){return $.replace(/&#(\d+);/g,function(z,ie){return String.fromCharCode(parseInt(ie,10))})},parseArrayValue=function($,z){return $&&typeof $=="string"&&z.comma&&$.indexOf(",")>-1?$.split(","):$},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(z,ie){var le={__proto__:null},ue=ie.ignoreQueryPrefix?z.replace(/^\?/,""):z,pe=ie.parameterLimit===1/0?void 0:ie.parameterLimit,_e=ue.split(ie.delimiter,pe),Ce=-1,$e,xe=ie.charset;if(ie.charsetSentinel)for($e=0;$e<_e.length;++$e)_e[$e].indexOf("utf8=")===0&&(_e[$e]===charsetSentinel?xe="utf-8":_e[$e]===isoSentinel&&(xe="iso-8859-1"),Ce=$e,$e=_e.length);for($e=0;$e<_e.length;++$e)if($e!==Ce){var Ie=_e[$e],Ve=Ie.indexOf("]="),ze=Ve===-1?Ie.indexOf("="):Ve+1,Ue,qe;ze===-1?(Ue=ie.decoder(Ie,defaults$1.decoder,xe,"key"),qe=ie.strictNullHandling?null:""):(Ue=ie.decoder(Ie.slice(0,ze),defaults$1.decoder,xe,"key"),qe=utils$4.maybeMap(parseArrayValue(Ie.slice(ze+1),ie),function(Et){return ie.decoder(Et,defaults$1.decoder,xe,"value")})),qe&&ie.interpretNumericEntities&&xe==="iso-8859-1"&&(qe=interpretNumericEntities(qe)),Ie.indexOf("[]=")>-1&&(qe=isArray$4(qe)?[qe]:qe),has$1.call(le,Ue)?le[Ue]=utils$4.combine(le[Ue],qe):le[Ue]=qe}return le},parseObject=function($,z,ie,le){for(var ue=le?z:parseArrayValue(z,ie),pe=$.length-1;pe>=0;--pe){var _e,Ce=$[pe];if(Ce==="[]"&&ie.parseArrays)_e=[].concat(ue);else{_e=ie.plainObjects?Object.create(null):{};var $e=Ce.charAt(0)==="["&&Ce.charAt(Ce.length-1)==="]"?Ce.slice(1,-1):Ce,xe=parseInt($e,10);!ie.parseArrays&&$e===""?_e={0:ue}:!isNaN(xe)&&Ce!==$e&&String(xe)===$e&&xe>=0&&ie.parseArrays&&xe<=ie.arrayLimit?(_e=[],_e[xe]=ue):$e!=="__proto__"&&(_e[$e]=ue)}ue=_e}return ue},parseKeys=function(z,ie,le,ue){if(z){var pe=le.allowDots?z.replace(/\.([^.[]+)/g,"[$1]"):z,_e=/(\[[^[\]]*])/,Ce=/(\[[^[\]]*])/g,$e=le.depth>0&&_e.exec(pe),xe=$e?pe.slice(0,$e.index):pe,Ie=[];if(xe){if(!le.plainObjects&&has$1.call(Object.prototype,xe)&&!le.allowPrototypes)return;Ie.push(xe)}for(var Ve=0;le.depth>0&&($e=Ce.exec(pe))!==null&&Ve<le.depth;){if(Ve+=1,!le.plainObjects&&has$1.call(Object.prototype,$e[1].slice(1,-1))&&!le.allowPrototypes)return;Ie.push($e[1])}return $e&&Ie.push("["+pe.slice($e.index)+"]"),parseObject(Ie,ie,le,ue)}},normalizeParseOptions=function(z){if(!z)return defaults$1;if(z.decoder!==null&&z.decoder!==void 0&&typeof z.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof z.charset<"u"&&z.charset!=="utf-8"&&z.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var ie=typeof z.charset>"u"?defaults$1.charset:z.charset;return{allowDots:typeof z.allowDots>"u"?defaults$1.allowDots:!!z.allowDots,allowPrototypes:typeof z.allowPrototypes=="boolean"?z.allowPrototypes:defaults$1.allowPrototypes,allowSparse:typeof z.allowSparse=="boolean"?z.allowSparse:defaults$1.allowSparse,arrayLimit:typeof z.arrayLimit=="number"?z.arrayLimit:defaults$1.arrayLimit,charset:ie,charsetSentinel:typeof z.charsetSentinel=="boolean"?z.charsetSentinel:defaults$1.charsetSentinel,comma:typeof z.comma=="boolean"?z.comma:defaults$1.comma,decoder:typeof z.decoder=="function"?z.decoder:defaults$1.decoder,delimiter:typeof z.delimiter=="string"||utils$4.isRegExp(z.delimiter)?z.delimiter:defaults$1.delimiter,depth:typeof z.depth=="number"||z.depth===!1?+z.depth:defaults$1.depth,ignoreQueryPrefix:z.ignoreQueryPrefix===!0,interpretNumericEntities:typeof z.interpretNumericEntities=="boolean"?z.interpretNumericEntities:defaults$1.interpretNumericEntities,parameterLimit:typeof z.parameterLimit=="number"?z.parameterLimit:defaults$1.parameterLimit,parseArrays:z.parseArrays!==!1,plainObjects:typeof z.plainObjects=="boolean"?z.plainObjects:defaults$1.plainObjects,strictNullHandling:typeof z.strictNullHandling=="boolean"?z.strictNullHandling:defaults$1.strictNullHandling}},parse$4=function($,z){var ie=normalizeParseOptions(z);if($===""||$===null||typeof $>"u")return ie.plainObjects?Object.create(null):{};for(var le=typeof $=="string"?parseValues($,ie):$,ue=ie.plainObjects?Object.create(null):{},pe=Object.keys(le),_e=0;_e<pe.length;++_e){var Ce=pe[_e],$e=parseKeys(Ce,le[Ce],ie,typeof $=="string");ue=utils$4.merge(ue,$e,ie)}return ie.allowSparse===!0?ue:utils$4.compact(ue)},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($,z){(function(ie,le){$.exports=le()})(commonjsGlobal,function(){var ie={};ie.version="0.2.0";var le=ie.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>'};ie.configure=function(qe){var Et,Lt;for(Et in qe)Lt=qe[Et],Lt!==void 0&&qe.hasOwnProperty(Et)&&(le[Et]=Lt);return this},ie.status=null,ie.set=function(qe){var Et=ie.isStarted();qe=ue(qe,le.minimum,1),ie.status=qe===1?null:qe;var Lt=ie.render(!Et),hn=Lt.querySelector(le.barSelector),vn=le.speed,_n=le.easing;return Lt.offsetWidth,Ce(function(bn){le.positionUsing===""&&(le.positionUsing=ie.getPositioningCSS()),$e(hn,_e(qe,vn,_n)),qe===1?($e(Lt,{transition:"none",opacity:1}),Lt.offsetWidth,setTimeout(function(){$e(Lt,{transition:"all "+vn+"ms linear",opacity:0}),setTimeout(function(){ie.remove(),bn()},vn)},vn)):setTimeout(bn,vn)}),this},ie.isStarted=function(){return typeof ie.status=="number"},ie.start=function(){ie.status||ie.set(0);var qe=function(){setTimeout(function(){ie.status&&(ie.trickle(),qe())},le.trickleSpeed)};return le.trickle&&qe(),this},ie.done=function(qe){return!qe&&!ie.status?this:ie.inc(.3+.5*Math.random()).set(1)},ie.inc=function(qe){var Et=ie.status;return Et?(typeof qe!="number"&&(qe=(1-Et)*ue(Math.random()*Et,.1,.95)),Et=ue(Et+qe,0,.994),ie.set(Et)):ie.start()},ie.trickle=function(){return ie.inc(Math.random()*le.trickleRate)},function(){var qe=0,Et=0;ie.promise=function(Lt){return!Lt||Lt.state()==="resolved"?this:(Et===0&&ie.start(),qe++,Et++,Lt.always(function(){Et--,Et===0?(qe=0,ie.done()):ie.set((qe-Et)/qe)}),this)}}(),ie.render=function(qe){if(ie.isRendered())return document.getElementById("nprogress");Ie(document.documentElement,"nprogress-busy");var Et=document.createElement("div");Et.id="nprogress",Et.innerHTML=le.template;var Lt=Et.querySelector(le.barSelector),hn=qe?"-100":pe(ie.status||0),vn=document.querySelector(le.parent),_n;return $e(Lt,{transition:"all 0 linear",transform:"translate3d("+hn+"%,0,0)"}),le.showSpinner||(_n=Et.querySelector(le.spinnerSelector),_n&&Ue(_n)),vn!=document.body&&Ie(vn,"nprogress-custom-parent"),vn.appendChild(Et),Et},ie.remove=function(){Ve(document.documentElement,"nprogress-busy"),Ve(document.querySelector(le.parent),"nprogress-custom-parent");var qe=document.getElementById("nprogress");qe&&Ue(qe)},ie.isRendered=function(){return!!document.getElementById("nprogress")},ie.getPositioningCSS=function(){var qe=document.body.style,Et="WebkitTransform"in qe?"Webkit":"MozTransform"in qe?"Moz":"msTransform"in qe?"ms":"OTransform"in qe?"O":"";return Et+"Perspective"in qe?"translate3d":Et+"Transform"in qe?"translate":"margin"};function ue(qe,Et,Lt){return qe<Et?Et:qe>Lt?Lt:qe}function pe(qe){return(-1+qe)*100}function _e(qe,Et,Lt){var hn;return le.positionUsing==="translate3d"?hn={transform:"translate3d("+pe(qe)+"%,0,0)"}:le.positionUsing==="translate"?hn={transform:"translate("+pe(qe)+"%,0)"}:hn={"margin-left":pe(qe)+"%"},hn.transition="all "+Et+"ms "+Lt,hn}var Ce=function(){var qe=[];function Et(){var Lt=qe.shift();Lt&&Lt(Et)}return function(Lt){qe.push(Lt),qe.length==1&&Et()}}(),$e=function(){var qe=["Webkit","O","Moz","ms"],Et={};function Lt(bn){return bn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(Cn,Sn){return Sn.toUpperCase()})}function hn(bn){var Cn=document.body.style;if(bn in Cn)return bn;for(var Sn=qe.length,En=bn.charAt(0).toUpperCase()+bn.slice(1),wn;Sn--;)if(wn=qe[Sn]+En,wn in Cn)return wn;return bn}function vn(bn){return bn=Lt(bn),Et[bn]||(Et[bn]=hn(bn))}function _n(bn,Cn,Sn){Cn=vn(Cn),bn.style[Cn]=Sn}return function(bn,Cn){var Sn=arguments,En,wn;if(Sn.length==2)for(En in Cn)wn=Cn[En],wn!==void 0&&Cn.hasOwnProperty(En)&&_n(bn,En,wn);else _n(bn,Sn[1],Sn[2])}}();function xe(qe,Et){var Lt=typeof qe=="string"?qe:ze(qe);return Lt.indexOf(" "+Et+" ")>=0}function Ie(qe,Et){var Lt=ze(qe),hn=Lt+Et;xe(Lt,Et)||(qe.className=hn.substring(1))}function Ve(qe,Et){var Lt=ze(qe),hn;xe(qe,Et)&&(hn=Lt.replace(" "+Et+" "," "),qe.className=hn.substring(1,hn.length-1))}function ze(qe){return(" "+(qe.className||"")+" ").replace(/\s+/gi," ")}function Ue(qe){qe&&qe.parentNode&&qe.parentNode.removeChild(qe)}return ie})})(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(z){return new Promise(ie=>{eo.requests.push(le=>{z.headers.Authorization=formatToken(le),ie(z)})})}httpInterceptorsRequest(){eo.axiosInstance.interceptors.request.use(async z=>(NProgress.start(),typeof z.beforeRequestCallback=="function"?(z.beforeRequestCallback(z),z):eo.initConfig.beforeRequestCallback?(eo.initConfig.beforeRequestCallback(z),z):["/refreshToken","/login"].some(le=>z.url.indexOf(le)>-1)?z:new Promise(le=>{const ue=getToken();if(ue){const pe=new Date().getTime();parseInt(ue.expires)-pe<=0?(eo.isRefreshing||(eo.isRefreshing=!0,useUserStoreHook().handRefreshToken({refreshToken:ue.refreshToken}).then(Ce=>{const $e=Ce.data.accessToken;z.headers.Authorization=formatToken($e),eo.requests.forEach(xe=>xe($e)),eo.requests=[]}).finally(()=>{eo.isRefreshing=!1})),le(eo.retryOriginalRequest(z))):(z.headers.Authorization=formatToken(ue.accessToken),le(z))}else le(z)})),z=>Promise.reject(z))}httpInterceptorsResponse(){eo.axiosInstance.interceptors.response.use(ie=>{const le=ie.config;return NProgress.done(),typeof le.beforeResponseCallback=="function"?(le.beforeResponseCallback(ie),ie.data):(eo.initConfig.beforeResponseCallback&&eo.initConfig.beforeResponseCallback(ie),ie.data)},ie=>{const le=ie;return le.isCancelRequest=axios$1.isCancel(le),NProgress.done(),Promise.reject(le)})}request(z,ie,le,ue){const pe={method:z,url:ie,...le,...ue};return new Promise((_e,Ce)=>{eo.axiosInstance.request(pe).then($e=>{_e($e)}).catch($e=>{Ce($e)})})}post(z,ie,le){return this.request("post",z,ie,le)}get(z,ie,le){return this.request("get",z,ie,le)}};let PureHttp=eo;ro(PureHttp,"requests",[]),ro(PureHttp,"isRefreshing",!1),ro(PureHttp,"initConfig",{}),ro(PureHttp,"axiosInstance",axios$1.create(defaultConfig$1));const http=new PureHttp,getLogin=$=>http.request("post","/login",{data:$}),refreshTokenApi=$=>http.request("post","/refreshToken",{data:$}),useMultiTagsStore=defineStore({id:"pure-multiTags",state:()=>{var $,z;return{multiTags:($=er().getItem(`${responsiveStorageNameSpace()}configure`))!=null&&$.multiTagsCache?er().getItem(`${responsiveStorageNameSpace()}tags`):[...routerArrays],multiTagsCache:(z=er().getItem(`${responsiveStorageNameSpace()}configure`))==null?void 0:z.multiTagsCache}},getters:{getMultiTagsCache($){return $.multiTagsCache}},actions:{multiTagsCacheChange($){this.multiTagsCache=$,$?er().setItem(`${responsiveStorageNameSpace()}tags`,this.multiTags):er().removeItem(`${responsiveStorageNameSpace()}tags`)},tagsCache($){this.getMultiTagsCache&&er().setItem(`${responsiveStorageNameSpace()}tags`,$)},handleTags($,z,ie){var le,ue,pe,_e,Ce;switch($){case"equal":this.multiTags=z,this.tagsCache(this.multiTags);break;case"push":{const $e=z;if((le=$e==null?void 0:$e.meta)!=null&&le.hiddenTag||gt($e==null?void 0:$e.name)||((ue=$e==null?void 0:$e.meta)==null?void 0:ue.title.length)===0||Le((pe=$e==null?void 0:$e.meta)==null?void 0:pe.showLink)&&!((_e=$e==null?void 0:$e.meta)!=null&&_e.showLink))return;const xe=$e.path,Ie=this.multiTags.some(qe=>qe.path===xe),Ve=this.multiTags.some(qe=>St(qe==null?void 0:qe.query,$e==null?void 0:$e.query)),ze=this.multiTags.some(qe=>St(qe==null?void 0:qe.params,$e==null?void 0:$e.params));if(Ie&&Ve&&ze)return;const Ue=((Ce=$e==null?void 0:$e.meta)==null?void 0:Ce.dynamicLevel)??-1;if(Ue>0&&this.multiTags.filter(qe=>(qe==null?void 0:qe.path)===xe).length>=Ue){const qe=this.multiTags.findIndex(Et=>(Et==null?void 0:Et.path)===xe);qe!==-1&&this.multiTags.splice(qe,1)}this.multiTags.push(z),this.tagsCache(this.multiTags)}break;case"splice":if(ie)this.multiTags.splice(ie==null?void 0:ie.startIndex,ie==null?void 0:ie.length);else{const $e=this.multiTags.findIndex(xe=>xe.path===z);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 $,z;return{username:(($=nr().getItem(sessionKey))==null?void 0:$.username)??"",roles:((z=nr().getItem(sessionKey))==null?void 0:z.roles)??[],verifyCode:"",currentPage:0}},actions:{SET_USERNAME($){this.username=$},SET_ROLES($){this.roles=$},SET_VERIFYCODE($){this.verifyCode=$},SET_CURRENTPAGE($){this.currentPage=$},async loginByUsername($){return new Promise((z,ie)=>{getLogin($).then(le=>{le&&(setToken(le.data),z(le))}).catch(le=>{ie(le)})})},logOut(){this.username="",this.roles=[],removeToken(),useMultiTagsStoreHook().handleTags("equal",[...routerArrays]),resetRouter(),router.push("/login")},async handRefreshToken($){return new Promise((z,ie)=>{refreshTokenApi($).then(le=>{le&&(setToken(le.data),z(le))}).catch(le=>{ie(le)})})}}});function useUserStoreHook(){return useUserStore(store)}const sessionKey="user-info",TokenKey="authorized-token";function getToken(){return api.get(TokenKey)?JSON.parse(api.get(TokenKey)):nr().getItem(sessionKey)}function setToken($){var _e,Ce;let z=0;const{accessToken:ie,refreshToken:le}=$;z=new Date($.expires).getTime();const ue=JSON.stringify({accessToken:ie,expires:z});z>0?api.set(TokenKey,ue,{expires:(z-Date.now())/864e5}):api.set(TokenKey,ue);function pe($e,xe){useUserStoreHook().SET_USERNAME($e),useUserStoreHook().SET_ROLES(xe),nr().setItem(sessionKey,{refreshToken:le,expires:z,username:$e,roles:xe})}if($.username&&$.roles){const{username:$e,roles:xe}=$;pe($e,xe)}else{const $e=((_e=nr().getItem(sessionKey))==null?void 0:_e.username)??"",xe=((Ce=nr().getItem(sessionKey))==null?void 0:Ce.roles)??[];pe($e,xe)}}function removeToken(){api.remove(TokenKey),sessionStorage.clear()}const formatToken=$=>"Bearer "+$;(function(){const $=dr(location.href),z=["username","roles","accessToken"],ie=z.length;if(Object.keys($).length!==ie)return;let le=[],ue=0;for(;ue<ie;)Object.keys($).includes(z[ue])&&le.length<=ie?le.push(z[ue]):le=[],ue++;if(le.length===ie){removeToken(),setToken($),delete $.roles,delete $.accessToken;const pe=`${location.origin}${location.pathname}${Vt(location.hash,"?")}?${JSON.stringify($).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($){return $.__esModule||$[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams($,z){const ie={};for(const le in z){const ue=z[le];ie[le]=isArray$3(ue)?ue.map($):$(ue)}return ie}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=$=>$.replace(TRAILING_SLASH_RE,"");function parseURL($,z,ie="/"){let le,ue={},pe="",_e="";const Ce=z.indexOf("#");let $e=z.indexOf("?");return Ce<$e&&Ce>=0&&($e=-1),$e>-1&&(le=z.slice(0,$e),pe=z.slice($e+1,Ce>-1?Ce:z.length),ue=$(pe)),Ce>-1&&(le=le||z.slice(0,Ce),_e=z.slice(Ce,z.length)),le=resolveRelativePath(le??z,ie),{fullPath:le+(pe&&"?")+pe+_e,path:le,query:ue,hash:_e}}function stringifyURL($,z){const ie=z.query?$(z.query):"";return z.path+(ie&&"?")+ie+(z.hash||"")}function stripBase($,z){return!z||!$.toLowerCase().startsWith(z.toLowerCase())?$:$.slice(z.length)||"/"}function isSameRouteLocation($,z,ie){const le=z.matched.length-1,ue=ie.matched.length-1;return le>-1&&le===ue&&isSameRouteRecord(z.matched[le],ie.matched[ue])&&isSameRouteLocationParams(z.params,ie.params)&&$(z.query)===$(ie.query)&&z.hash===ie.hash}function isSameRouteRecord($,z){return($.aliasOf||$)===(z.aliasOf||z)}function isSameRouteLocationParams($,z){if(Object.keys($).length!==Object.keys(z).length)return!1;for(const ie in $)if(!isSameRouteLocationParamsValue($[ie],z[ie]))return!1;return!0}function isSameRouteLocationParamsValue($,z){return isArray$3($)?isEquivalentArray($,z):isArray$3(z)?isEquivalentArray(z,$):$===z}function isEquivalentArray($,z){return isArray$3(z)?$.length===z.length&&$.every((ie,le)=>ie===z[le]):$.length===1&&$[0]===z}function resolveRelativePath($,z){if($.startsWith("/"))return $;if(!$)return z;const ie=z.split("/"),le=$.split("/"),ue=le[le.length-1];(ue===".."||ue===".")&&le.push("");let pe=ie.length-1,_e,Ce;for(_e=0;_e<le.length;_e++)if(Ce=le[_e],Ce!==".")if(Ce==="..")pe>1&&pe--;else break;return ie.slice(0,pe).join("/")+"/"+le.slice(_e-(_e===le.length?1:0)).join("/")}var NavigationType;(function($){$.pop="pop",$.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function($){$.back="back",$.forward="forward",$.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase($){if(!$)if(isBrowser$1){const z=document.querySelector("base");$=z&&z.getAttribute("href")||"/",$=$.replace(/^\w+:\/\/[^\/]+/,"")}else $="/";return $[0]!=="/"&&$[0]!=="#"&&($="/"+$),removeTrailingSlash($)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref($,z){return $.replace(BEFORE_HASH_RE,"#")+z}function getElementPosition($,z){const ie=document.documentElement.getBoundingClientRect(),le=$.getBoundingClientRect();return{behavior:z.behavior,left:le.left-ie.left-(z.left||0),top:le.top-ie.top-(z.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition($){let z;if("el"in $){const ie=$.el,le=typeof ie=="string"&&ie.startsWith("#"),ue=typeof ie=="string"?le?document.getElementById(ie.slice(1)):document.querySelector(ie):ie;if(!ue)return;z=getElementPosition(ue,$)}else z=$;"scrollBehavior"in document.documentElement.style?window.scrollTo(z):window.scrollTo(z.left!=null?z.left:window.pageXOffset,z.top!=null?z.top:window.pageYOffset)}function getScrollKey($,z){return(history.state?history.state.position-z:-1)+$}const scrollPositions=new Map;function saveScrollPosition($,z){scrollPositions.set($,z)}function getSavedScrollPosition($){const z=scrollPositions.get($);return scrollPositions.delete($),z}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation($,z){const{pathname:ie,search:le,hash:ue}=z,pe=$.indexOf("#");if(pe>-1){let Ce=ue.includes($.slice(pe))?$.slice(pe).length:1,$e=ue.slice(Ce);return $e[0]!=="/"&&($e="/"+$e),stripBase($e,"")}return stripBase(ie,$)+le+ue}function useHistoryListeners($,z,ie,le){let ue=[],pe=[],_e=null;const Ce=({state:ze})=>{const Ue=createCurrentLocation($,location),qe=ie.value,Et=z.value;let Lt=0;if(ze){if(ie.value=Ue,z.value=ze,_e&&_e===qe){_e=null;return}Lt=Et?ze.position-Et.position:0}else le(Ue);ue.forEach(hn=>{hn(ie.value,qe,{delta:Lt,type:NavigationType.pop,direction:Lt?Lt>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function $e(){_e=ie.value}function xe(ze){ue.push(ze);const Ue=()=>{const qe=ue.indexOf(ze);qe>-1&&ue.splice(qe,1)};return pe.push(Ue),Ue}function Ie(){const{history:ze}=window;ze.state&&ze.replaceState(assign({},ze.state,{scroll:computeScrollPosition()}),"")}function Ve(){for(const ze of pe)ze();pe=[],window.removeEventListener("popstate",Ce),window.removeEventListener("beforeunload",Ie)}return window.addEventListener("popstate",Ce),window.addEventListener("beforeunload",Ie,{passive:!0}),{pauseListeners:$e,listen:xe,destroy:Ve}}function buildState($,z,ie,le=!1,ue=!1){return{back:$,current:z,forward:ie,replaced:le,position:window.history.length,scroll:ue?computeScrollPosition():null}}function useHistoryStateNavigation($){const{history:z,location:ie}=window,le={value:createCurrentLocation($,ie)},ue={value:z.state};ue.value||pe(le.value,{back:null,current:le.value,forward:null,position:z.length-1,replaced:!0,scroll:null},!0);function pe($e,xe,Ie){const Ve=$.indexOf("#"),ze=Ve>-1?(ie.host&&document.querySelector("base")?$:$.slice(Ve))+$e:createBaseLocation()+$+$e;try{z[Ie?"replaceState":"pushState"](xe,"",ze),ue.value=xe}catch(Ue){console.error(Ue),ie[Ie?"replace":"assign"](ze)}}function _e($e,xe){const Ie=assign({},z.state,buildState(ue.value.back,$e,ue.value.forward,!0),xe,{position:ue.value.position});pe($e,Ie,!0),le.value=$e}function Ce($e,xe){const Ie=assign({},ue.value,z.state,{forward:$e,scroll:computeScrollPosition()});pe(Ie.current,Ie,!0);const Ve=assign({},buildState(le.value,$e,null),{position:Ie.position+1},xe);pe($e,Ve,!1),le.value=$e}return{location:le,state:ue,push:Ce,replace:_e}}function createWebHistory($){$=normalizeBase($);const z=useHistoryStateNavigation($),ie=useHistoryListeners($,z.state,z.location,z.replace);function le(pe,_e=!0){_e||ie.pauseListeners(),history.go(pe)}const ue=assign({location:"",base:$,go:le,createHref:createHref.bind(null,$)},z,ie);return Object.defineProperty(ue,"location",{enumerable:!0,get:()=>z.location.value}),Object.defineProperty(ue,"state",{enumerable:!0,get:()=>z.state.value}),ue}function createWebHashHistory($){return $=location.host?$||location.pathname+location.search:"",$.includes("#")||($+="#"),createWebHistory($)}function isRouteLocation($){return typeof $=="string"||$&&typeof $=="object"}function isRouteName($){return typeof $=="string"||typeof $=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function($){$[$.aborted=4]="aborted",$[$.cancelled=8]="cancelled",$[$.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError($,z){return assign(new Error,{type:$,[NavigationFailureSymbol]:!0},z)}function isNavigationFailure($,z){return $ instanceof Error&&NavigationFailureSymbol in $&&(z==null||!!($.type&z))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser($,z){const ie=assign({},BASE_PATH_PARSER_OPTIONS,z),le=[];let ue=ie.start?"^":"";const pe=[];for(const xe of $){const Ie=xe.length?[]:[90];ie.strict&&!xe.length&&(ue+="/");for(let Ve=0;Ve<xe.length;Ve++){const ze=xe[Ve];let Ue=40+(ie.sensitive?.25:0);if(ze.type===0)Ve||(ue+="/"),ue+=ze.value.replace(REGEX_CHARS_RE,"\\$&"),Ue+=40;else if(ze.type===1){const{value:qe,repeatable:Et,optional:Lt,regexp:hn}=ze;pe.push({name:qe,repeatable:Et,optional:Lt});const vn=hn||BASE_PARAM_PATTERN;if(vn!==BASE_PARAM_PATTERN){Ue+=10;try{new RegExp(`(${vn})`)}catch(bn){throw new Error(`Invalid custom RegExp for param "${qe}" (${vn}): `+bn.message)}}let _n=Et?`((?:${vn})(?:/(?:${vn}))*)`:`(${vn})`;Ve||(_n=Lt&&xe.length<2?`(?:/${_n})`:"/"+_n),Lt&&(_n+="?"),ue+=_n,Ue+=20,Lt&&(Ue+=-8),Et&&(Ue+=-20),vn===".*"&&(Ue+=-50)}Ie.push(Ue)}le.push(Ie)}if(ie.strict&&ie.end){const xe=le.length-1;le[xe][le[xe].length-1]+=.7000000000000001}ie.strict||(ue+="/?"),ie.end?ue+="$":ie.strict&&(ue+="(?:/|$)");const _e=new RegExp(ue,ie.sensitive?"":"i");function Ce(xe){const Ie=xe.match(_e),Ve={};if(!Ie)return null;for(let ze=1;ze<Ie.length;ze++){const Ue=Ie[ze]||"",qe=pe[ze-1];Ve[qe.name]=Ue&&qe.repeatable?Ue.split("/"):Ue}return Ve}function $e(xe){let Ie="",Ve=!1;for(const ze of $){(!Ve||!Ie.endsWith("/"))&&(Ie+="/"),Ve=!1;for(const Ue of ze)if(Ue.type===0)Ie+=Ue.value;else if(Ue.type===1){const{value:qe,repeatable:Et,optional:Lt}=Ue,hn=qe in xe?xe[qe]:"";if(isArray$3(hn)&&!Et)throw new Error(`Provided param "${qe}" is an array but it is not repeatable (* or + modifiers)`);const vn=isArray$3(hn)?hn.join("/"):hn;if(!vn)if(Lt)ze.length<2&&(Ie.endsWith("/")?Ie=Ie.slice(0,-1):Ve=!0);else throw new Error(`Missing required param "${qe}"`);Ie+=vn}}return Ie||"/"}return{re:_e,score:le,keys:pe,parse:Ce,stringify:$e}}function compareScoreArray($,z){let ie=0;for(;ie<$.length&&ie<z.length;){const le=z[ie]-$[ie];if(le)return le;ie++}return $.length<z.length?$.length===1&&$[0]===40+40?-1:1:$.length>z.length?z.length===1&&z[0]===40+40?1:-1:0}function comparePathParserScore($,z){let ie=0;const le=$.score,ue=z.score;for(;ie<le.length&&ie<ue.length;){const pe=compareScoreArray(le[ie],ue[ie]);if(pe)return pe;ie++}if(Math.abs(ue.length-le.length)===1){if(isLastScoreNegative(le))return 1;if(isLastScoreNegative(ue))return-1}return ue.length-le.length}function isLastScoreNegative($){const z=$[$.length-1];return $.length>0&&z[z.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath($){if(!$)return[[]];if($==="/")return[[ROOT_TOKEN]];if(!$.startsWith("/"))throw new Error(`Invalid path "${$}"`);function z(Ue){throw new Error(`ERR (${ie})/"${xe}": ${Ue}`)}let ie=0,le=ie;const ue=[];let pe;function _e(){pe&&ue.push(pe),pe=[]}let Ce=0,$e,xe="",Ie="";function Ve(){xe&&(ie===0?pe.push({type:0,value:xe}):ie===1||ie===2||ie===3?(pe.length>1&&($e==="*"||$e==="+")&&z(`A repeatable param (${xe}) must be alone in its segment. eg: '/:ids+.`),pe.push({type:1,value:xe,regexp:Ie,repeatable:$e==="*"||$e==="+",optional:$e==="*"||$e==="?"})):z("Invalid state to consume buffer"),xe="")}function ze(){xe+=$e}for(;Ce<$.length;){if($e=$[Ce++],$e==="\\"&&ie!==2){le=ie,ie=4;continue}switch(ie){case 0:$e==="/"?(xe&&Ve(),_e()):$e===":"?(Ve(),ie=1):ze();break;case 4:ze(),ie=le;break;case 1:$e==="("?ie=2:VALID_PARAM_RE.test($e)?ze():(Ve(),ie=0,$e!=="*"&&$e!=="?"&&$e!=="+"&&Ce--);break;case 2:$e===")"?Ie[Ie.length-1]=="\\"?Ie=Ie.slice(0,-1)+$e:ie=3:Ie+=$e;break;case 3:Ve(),ie=0,$e!=="*"&&$e!=="?"&&$e!=="+"&&Ce--,Ie="";break;default:z("Unknown state");break}}return ie===2&&z(`Unfinished custom RegExp for param "${xe}"`),Ve(),_e(),ue}function createRouteRecordMatcher($,z,ie){const le=tokensToParser(tokenizePath($.path),ie),ue=assign(le,{record:$,parent:z,children:[],alias:[]});return z&&!ue.record.aliasOf==!z.record.aliasOf&&z.children.push(ue),ue}function createRouterMatcher($,z){const ie=[],le=new Map;z=mergeOptions({strict:!1,end:!0,sensitive:!1},z);function ue(Ie){return le.get(Ie)}function pe(Ie,Ve,ze){const Ue=!ze,qe=normalizeRouteRecord(Ie);qe.aliasOf=ze&&ze.record;const Et=mergeOptions(z,Ie),Lt=[qe];if("alias"in Ie){const _n=typeof Ie.alias=="string"?[Ie.alias]:Ie.alias;for(const bn of _n)Lt.push(assign({},qe,{components:ze?ze.record.components:qe.components,path:bn,aliasOf:ze?ze.record:qe}))}let hn,vn;for(const _n of Lt){const{path:bn}=_n;if(Ve&&bn[0]!=="/"){const Cn=Ve.record.path,Sn=Cn[Cn.length-1]==="/"?"":"/";_n.path=Ve.record.path+(bn&&Sn+bn)}if(hn=createRouteRecordMatcher(_n,Ve,Et),ze?ze.alias.push(hn):(vn=vn||hn,vn!==hn&&vn.alias.push(hn),Ue&&Ie.name&&!isAliasRecord(hn)&&_e(Ie.name)),qe.children){const Cn=qe.children;for(let Sn=0;Sn<Cn.length;Sn++)pe(Cn[Sn],hn,ze&&ze.children[Sn])}ze=ze||hn,(hn.record.components&&Object.keys(hn.record.components).length||hn.record.name||hn.record.redirect)&&$e(hn)}return vn?()=>{_e(vn)}:noop$1}function _e(Ie){if(isRouteName(Ie)){const Ve=le.get(Ie);Ve&&(le.delete(Ie),ie.splice(ie.indexOf(Ve),1),Ve.children.forEach(_e),Ve.alias.forEach(_e))}else{const Ve=ie.indexOf(Ie);Ve>-1&&(ie.splice(Ve,1),Ie.record.name&&le.delete(Ie.record.name),Ie.children.forEach(_e),Ie.alias.forEach(_e))}}function Ce(){return ie}function $e(Ie){let Ve=0;for(;Ve<ie.length&&comparePathParserScore(Ie,ie[Ve])>=0&&(Ie.record.path!==ie[Ve].record.path||!isRecordChildOf(Ie,ie[Ve]));)Ve++;ie.splice(Ve,0,Ie),Ie.record.name&&!isAliasRecord(Ie)&&le.set(Ie.record.name,Ie)}function xe(Ie,Ve){let ze,Ue={},qe,Et;if("name"in Ie&&Ie.name){if(ze=le.get(Ie.name),!ze)throw createRouterError(1,{location:Ie});Et=ze.record.name,Ue=assign(paramsFromLocation(Ve.params,ze.keys.filter(vn=>!vn.optional).map(vn=>vn.name)),Ie.params&¶msFromLocation(Ie.params,ze.keys.map(vn=>vn.name))),qe=ze.stringify(Ue)}else if("path"in Ie)qe=Ie.path,ze=ie.find(vn=>vn.re.test(qe)),ze&&(Ue=ze.parse(qe),Et=ze.record.name);else{if(ze=Ve.name?le.get(Ve.name):ie.find(vn=>vn.re.test(Ve.path)),!ze)throw createRouterError(1,{location:Ie,currentLocation:Ve});Et=ze.record.name,Ue=assign({},Ve.params,Ie.params),qe=ze.stringify(Ue)}const Lt=[];let hn=ze;for(;hn;)Lt.unshift(hn.record),hn=hn.parent;return{name:Et,path:qe,params:Ue,matched:Lt,meta:mergeMetaFields(Lt)}}return $.forEach(Ie=>pe(Ie)),{addRoute:pe,resolve:xe,removeRoute:_e,getRoutes:Ce,getRecordMatcher:ue}}function paramsFromLocation($,z){const ie={};for(const le of z)le in $&&(ie[le]=$[le]);return ie}function normalizeRouteRecord($){return{path:$.path,redirect:$.redirect,name:$.name,meta:$.meta||{},aliasOf:void 0,beforeEnter:$.beforeEnter,props:normalizeRecordProps($),children:$.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in $?$.components||null:$.component&&{default:$.component}}}function normalizeRecordProps($){const z={},ie=$.props||!1;if("component"in $)z.default=ie;else for(const le in $.components)z[le]=typeof ie=="boolean"?ie:ie[le];return z}function isAliasRecord($){for(;$;){if($.record.aliasOf)return!0;$=$.parent}return!1}function mergeMetaFields($){return $.reduce((z,ie)=>assign(z,ie.meta),{})}function mergeOptions($,z){const ie={};for(const le in $)ie[le]=le in z?z[le]:$[le];return ie}function isRecordChildOf($,z){return z.children.some(ie=>ie===$||isRecordChildOf($,ie))}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($){return encodeURI(""+$).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash($){return commonEncode($).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue($){return commonEncode($).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($){return encodeQueryValue($).replace(EQUAL_RE,"%3D")}function encodePath($){return commonEncode($).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam($){return $==null?"":encodePath($).replace(SLASH_RE,"%2F")}function decode$1($){try{return decodeURIComponent(""+$)}catch{}return""+$}function parseQuery($){const z={};if($===""||$==="?")return z;const le=($[0]==="?"?$.slice(1):$).split("&");for(let ue=0;ue<le.length;++ue){const pe=le[ue].replace(PLUS_RE," "),_e=pe.indexOf("="),Ce=decode$1(_e<0?pe:pe.slice(0,_e)),$e=_e<0?null:decode$1(pe.slice(_e+1));if(Ce in z){let xe=z[Ce];isArray$3(xe)||(xe=z[Ce]=[xe]),xe.push($e)}else z[Ce]=$e}return z}function stringifyQuery($){let z="";for(let ie in $){const le=$[ie];if(ie=encodeQueryKey(ie),le==null){le!==void 0&&(z+=(z.length?"&":"")+ie);continue}(isArray$3(le)?le.map(pe=>pe&&encodeQueryValue(pe)):[le&&encodeQueryValue(le)]).forEach(pe=>{pe!==void 0&&(z+=(z.length?"&":"")+ie,pe!=null&&(z+="="+pe))})}return z}function normalizeQuery($){const z={};for(const ie in $){const le=$[ie];le!==void 0&&(z[ie]=isArray$3(le)?le.map(ue=>ue==null?null:""+ue):le==null?le:""+le)}return z}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let $=[];function z(le){return $.push(le),()=>{const ue=$.indexOf(le);ue>-1&&$.splice(ue,1)}}function ie(){$=[]}return{add:z,list:()=>$,reset:ie}}function guardToPromiseFn($,z,ie,le,ue){const pe=le&&(le.enterCallbacks[ue]=le.enterCallbacks[ue]||[]);return()=>new Promise((_e,Ce)=>{const $e=Ve=>{Ve===!1?Ce(createRouterError(4,{from:ie,to:z})):Ve instanceof Error?Ce(Ve):isRouteLocation(Ve)?Ce(createRouterError(2,{from:z,to:Ve})):(pe&&le.enterCallbacks[ue]===pe&&typeof Ve=="function"&&pe.push(Ve),_e())},xe=$.call(le&&le.instances[ue],z,ie,$e);let Ie=Promise.resolve(xe);$.length<3&&(Ie=Ie.then($e)),Ie.catch(Ve=>Ce(Ve))})}function extractComponentsGuards($,z,ie,le){const ue=[];for(const pe of $)for(const _e in pe.components){let Ce=pe.components[_e];if(!(z!=="beforeRouteEnter"&&!pe.instances[_e]))if(isRouteComponent(Ce)){const xe=(Ce.__vccOpts||Ce)[z];xe&&ue.push(guardToPromiseFn(xe,ie,le,pe,_e))}else{let $e=Ce();ue.push(()=>$e.then(xe=>{if(!xe)return Promise.reject(new Error(`Couldn't resolve component "${_e}" at "${pe.path}"`));const Ie=isESModule(xe)?xe.default:xe;pe.components[_e]=Ie;const ze=(Ie.__vccOpts||Ie)[z];return ze&&guardToPromiseFn(ze,ie,le,pe,_e)()}))}}return ue}function isRouteComponent($){return typeof $=="object"||"displayName"in $||"props"in $||"__vccOpts"in $}function useLink($){const z=inject(routerKey),ie=inject(routeLocationKey),le=computed(()=>z.resolve(unref($.to))),ue=computed(()=>{const{matched:$e}=le.value,{length:xe}=$e,Ie=$e[xe-1],Ve=ie.matched;if(!Ie||!Ve.length)return-1;const ze=Ve.findIndex(isSameRouteRecord.bind(null,Ie));if(ze>-1)return ze;const Ue=getOriginalPath($e[xe-2]);return xe>1&&getOriginalPath(Ie)===Ue&&Ve[Ve.length-1].path!==Ue?Ve.findIndex(isSameRouteRecord.bind(null,$e[xe-2])):ze}),pe=computed(()=>ue.value>-1&&includesParams(ie.params,le.value.params)),_e=computed(()=>ue.value>-1&&ue.value===ie.matched.length-1&&isSameRouteLocationParams(ie.params,le.value.params));function Ce($e={}){return guardEvent($e)?z[unref($.replace)?"replace":"push"](unref($.to)).catch(noop$1):Promise.resolve()}return{route:le,href:computed(()=>le.value.href),isActive:pe,isExactActive:_e,navigate:Ce}}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($,{slots:z}){const ie=reactive(useLink($)),{options:le}=inject(routerKey),ue=computed(()=>({[getLinkClass($.activeClass,le.linkActiveClass,"router-link-active")]:ie.isActive,[getLinkClass($.exactActiveClass,le.linkExactActiveClass,"router-link-exact-active")]:ie.isExactActive}));return()=>{const pe=z.default&&z.default(ie);return $.custom?pe:h$3("a",{"aria-current":ie.isExactActive?$.ariaCurrentValue:null,href:ie.href,onClick:ie.navigate,class:ue.value},pe)}}}),RouterLink=RouterLinkImpl;function guardEvent($){if(!($.metaKey||$.altKey||$.ctrlKey||$.shiftKey)&&!$.defaultPrevented&&!($.button!==void 0&&$.button!==0)){if($.currentTarget&&$.currentTarget.getAttribute){const z=$.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(z))return}return $.preventDefault&&$.preventDefault(),!0}}function includesParams($,z){for(const ie in z){const le=z[ie],ue=$[ie];if(typeof le=="string"){if(le!==ue)return!1}else if(!isArray$3(ue)||ue.length!==le.length||le.some((pe,_e)=>pe!==ue[_e]))return!1}return!0}function getOriginalPath($){return $?$.aliasOf?$.aliasOf.path:$.path:""}const getLinkClass=($,z,ie)=>$??z??ie,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup($,{attrs:z,slots:ie}){const le=inject(routerViewLocationKey),ue=computed(()=>$.route||le.value),pe=inject(viewDepthKey,0),_e=computed(()=>{let xe=unref(pe);const{matched:Ie}=ue.value;let Ve;for(;(Ve=Ie[xe])&&!Ve.components;)xe++;return xe}),Ce=computed(()=>ue.value.matched[_e.value]);provide(viewDepthKey,computed(()=>_e.value+1)),provide(matchedRouteKey,Ce),provide(routerViewLocationKey,ue);const $e=ref();return watch(()=>[$e.value,Ce.value,$.name],([xe,Ie,Ve],[ze,Ue,qe])=>{Ie&&(Ie.instances[Ve]=xe,Ue&&Ue!==Ie&&xe&&xe===ze&&(Ie.leaveGuards.size||(Ie.leaveGuards=Ue.leaveGuards),Ie.updateGuards.size||(Ie.updateGuards=Ue.updateGuards))),xe&&Ie&&(!Ue||!isSameRouteRecord(Ie,Ue)||!ze)&&(Ie.enterCallbacks[Ve]||[]).forEach(Et=>Et(xe))},{flush:"post"}),()=>{const xe=ue.value,Ie=$.name,Ve=Ce.value,ze=Ve&&Ve.components[Ie];if(!ze)return normalizeSlot(ie.default,{Component:ze,route:xe});const Ue=Ve.props[Ie],qe=Ue?Ue===!0?xe.params:typeof Ue=="function"?Ue(xe):Ue:null,Lt=h$3(ze,assign({},qe,z,{onVnodeUnmounted:hn=>{hn.component.isUnmounted&&(Ve.instances[Ie]=null)},ref:$e}));return normalizeSlot(ie.default,{Component:Lt,route:xe})||Lt}}});function normalizeSlot($,z){if(!$)return null;const ie=$(z);return ie.length===1?ie[0]:ie}const RouterView=RouterViewImpl;function createRouter($){const z=createRouterMatcher($.routes,$),ie=$.parseQuery||parseQuery,le=$.stringifyQuery||stringifyQuery,ue=$.history,pe=useCallbacks(),_e=useCallbacks(),Ce=useCallbacks(),$e=shallowRef(START_LOCATION_NORMALIZED);let xe=START_LOCATION_NORMALIZED;isBrowser$1&&$.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Ie=applyToParams.bind(null,Yn=>""+Yn),Ve=applyToParams.bind(null,encodeParam),ze=applyToParams.bind(null,decode$1);function Ue(Yn,Gn){let Wn,Qn;return isRouteName(Yn)?(Wn=z.getRecordMatcher(Yn),Qn=Gn):Qn=Yn,z.addRoute(Qn,Wn)}function qe(Yn){const Gn=z.getRecordMatcher(Yn);Gn&&z.removeRoute(Gn)}function Et(){return z.getRoutes().map(Yn=>Yn.record)}function Lt(Yn){return!!z.getRecordMatcher(Yn)}function hn(Yn,Gn){if(Gn=assign({},Gn||$e.value),typeof Yn=="string"){const rr=parseURL(ie,Yn,Gn.path),mr=z.resolve({path:rr.path},Gn),_r=ue.createHref(rr.fullPath);return assign(rr,mr,{params:ze(mr.params),hash:decode$1(rr.hash),redirectedFrom:void 0,href:_r})}let Wn;if("path"in Yn)Wn=assign({},Yn,{path:parseURL(ie,Yn.path,Gn.path).path});else{const rr=assign({},Yn.params);for(const mr in rr)rr[mr]==null&&delete rr[mr];Wn=assign({},Yn,{params:Ve(rr)}),Gn.params=Ve(Gn.params)}const Qn=z.resolve(Wn,Gn),fr=Yn.hash||"";Qn.params=Ie(ze(Qn.params));const jn=stringifyURL(le,assign({},Yn,{hash:encodeHash(fr),path:Qn.path})),Zn=ue.createHref(jn);return assign({fullPath:jn,hash:fr,query:le===stringifyQuery?normalizeQuery(Yn.query):Yn.query||{}},Qn,{redirectedFrom:void 0,href:Zn})}function vn(Yn){return typeof Yn=="string"?parseURL(ie,Yn,$e.value.path):assign({},Yn)}function _n(Yn,Gn){if(xe!==Yn)return createRouterError(8,{from:Gn,to:Yn})}function bn(Yn){return En(Yn)}function Cn(Yn){return bn(assign(vn(Yn),{replace:!0}))}function Sn(Yn){const Gn=Yn.matched[Yn.matched.length-1];if(Gn&&Gn.redirect){const{redirect:Wn}=Gn;let Qn=typeof Wn=="function"?Wn(Yn):Wn;return typeof Qn=="string"&&(Qn=Qn.includes("?")||Qn.includes("#")?Qn=vn(Qn):{path:Qn},Qn.params={}),assign({query:Yn.query,hash:Yn.hash,params:"path"in Qn?{}:Yn.params},Qn)}}function En(Yn,Gn){const Wn=xe=hn(Yn),Qn=$e.value,fr=Yn.state,jn=Yn.force,Zn=Yn.replace===!0,rr=Sn(Wn);if(rr)return En(assign(vn(rr),{state:typeof rr=="object"?assign({},fr,rr.state):fr,force:jn,replace:Zn}),Gn||Wn);const mr=Wn;mr.redirectedFrom=Gn;let _r;return!jn&&isSameRouteLocation(le,Qn,Wn)&&(_r=createRouterError(16,{to:mr,from:Qn}),Kn(Qn,Qn,!0,!1)),(_r?Promise.resolve(_r):kn(mr,Qn)).catch(or=>isNavigationFailure(or)?isNavigationFailure(or,2)?or:zn(or):Vn(or,mr,Qn)).then(or=>{if(or){if(isNavigationFailure(or,2))return En(assign({replace:Zn},vn(or.to),{state:typeof or.to=="object"?assign({},fr,or.to.state):fr,force:jn}),Gn||mr)}else or=Pn(mr,Qn,!0,Zn,fr);return xn(mr,Qn,or),or})}function wn(Yn,Gn){const Wn=_n(Yn,Gn);return Wn?Promise.reject(Wn):Promise.resolve()}function Tn(Yn){const Gn=lr.values().next().value;return Gn&&typeof Gn.runWithContext=="function"?Gn.runWithContext(Yn):Yn()}function kn(Yn,Gn){let Wn;const[Qn,fr,jn]=extractChangingRecords(Yn,Gn);Wn=extractComponentsGuards(Qn.reverse(),"beforeRouteLeave",Yn,Gn);for(const rr of Qn)rr.leaveGuards.forEach(mr=>{Wn.push(guardToPromiseFn(mr,Yn,Gn))});const Zn=wn.bind(null,Yn,Gn);return Wn.push(Zn),ir(Wn).then(()=>{Wn=[];for(const rr of pe.list())Wn.push(guardToPromiseFn(rr,Yn,Gn));return Wn.push(Zn),ir(Wn)}).then(()=>{Wn=extractComponentsGuards(fr,"beforeRouteUpdate",Yn,Gn);for(const rr of fr)rr.updateGuards.forEach(mr=>{Wn.push(guardToPromiseFn(mr,Yn,Gn))});return Wn.push(Zn),ir(Wn)}).then(()=>{Wn=[];for(const rr of Yn.matched)if(rr.beforeEnter&&!Gn.matched.includes(rr))if(isArray$3(rr.beforeEnter))for(const mr of rr.beforeEnter)Wn.push(guardToPromiseFn(mr,Yn,Gn));else Wn.push(guardToPromiseFn(rr.beforeEnter,Yn,Gn));return Wn.push(Zn),ir(Wn)}).then(()=>(Yn.matched.forEach(rr=>rr.enterCallbacks={}),Wn=extractComponentsGuards(jn,"beforeRouteEnter",Yn,Gn),Wn.push(Zn),ir(Wn))).then(()=>{Wn=[];for(const rr of _e.list())Wn.push(guardToPromiseFn(rr,Yn,Gn));return Wn.push(Zn),ir(Wn)}).catch(rr=>isNavigationFailure(rr,8)?rr:Promise.reject(rr))}function xn(Yn,Gn,Wn){for(const Qn of Ce.list())Tn(()=>Qn(Yn,Gn,Wn))}function Pn(Yn,Gn,Wn,Qn,fr){const jn=_n(Yn,Gn);if(jn)return jn;const Zn=Gn===START_LOCATION_NORMALIZED,rr=isBrowser$1?history.state:{};Wn&&(Qn||Zn?ue.replace(Yn.fullPath,assign({scroll:Zn&&rr&&rr.scroll},fr)):ue.push(Yn.fullPath,fr)),$e.value=Yn,Kn(Yn,Gn,Wn,Zn),zn()}let An;function In(){An||(An=ue.listen((Yn,Gn,Wn)=>{if(!yr.listening)return;const Qn=hn(Yn),fr=Sn(Qn);if(fr){En(assign(fr,{replace:!0}),Qn).catch(noop$1);return}xe=Qn;const jn=$e.value;isBrowser$1&&saveScrollPosition(getScrollKey(jn.fullPath,Wn.delta),computeScrollPosition()),kn(Qn,jn).catch(Zn=>isNavigationFailure(Zn,12)?Zn:isNavigationFailure(Zn,2)?(En(Zn.to,Qn).then(rr=>{isNavigationFailure(rr,20)&&!Wn.delta&&Wn.type===NavigationType.pop&&ue.go(-1,!1)}).catch(noop$1),Promise.reject()):(Wn.delta&&ue.go(-Wn.delta,!1),Vn(Zn,Qn,jn))).then(Zn=>{Zn=Zn||Pn(Qn,jn,!1),Zn&&(Wn.delta&&!isNavigationFailure(Zn,8)?ue.go(-Wn.delta,!1):Wn.type===NavigationType.pop&&isNavigationFailure(Zn,20)&&ue.go(-1,!1)),xn(Qn,jn,Zn)}).catch(noop$1)}))}let Fn=useCallbacks(),Dn=useCallbacks(),On;function Vn(Yn,Gn,Wn){zn(Yn);const Qn=Dn.list();return Qn.length?Qn.forEach(fr=>fr(Yn,Gn,Wn)):console.error(Yn),Promise.reject(Yn)}function Mn(){return On&&$e.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Yn,Gn)=>{Fn.add([Yn,Gn])})}function zn(Yn){return On||(On=!Yn,In(),Fn.list().forEach(([Gn,Wn])=>Yn?Wn(Yn):Gn()),Fn.reset()),Yn}function Kn(Yn,Gn,Wn,Qn){const{scrollBehavior:fr}=$;if(!isBrowser$1||!fr)return Promise.resolve();const jn=!Wn&&getSavedScrollPosition(getScrollKey(Yn.fullPath,0))||(Qn||!Wn)&&history.state&&history.state.scroll||null;return nextTick().then(()=>fr(Yn,Gn,jn)).then(Zn=>Zn&&scrollToPosition(Zn)).catch(Zn=>Vn(Zn,Yn,Gn))}const Hn=Yn=>ue.go(Yn);let Xn;const lr=new Set,yr={currentRoute:$e,listening:!0,addRoute:Ue,removeRoute:qe,hasRoute:Lt,getRoutes:Et,resolve:hn,options:$,push:bn,replace:Cn,go:Hn,back:()=>Hn(-1),forward:()=>Hn(1),beforeEach:pe.add,beforeResolve:_e.add,afterEach:Ce.add,onError:Dn.add,isReady:Mn,install(Yn){const Gn=this;Yn.component("RouterLink",RouterLink),Yn.component("RouterView",RouterView),Yn.config.globalProperties.$router=Gn,Object.defineProperty(Yn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref($e)}),isBrowser$1&&!Xn&&$e.value===START_LOCATION_NORMALIZED&&(Xn=!0,bn(ue.location).catch(fr=>{}));const Wn={};for(const fr in START_LOCATION_NORMALIZED)Wn[fr]=computed(()=>$e.value[fr]);Yn.provide(routerKey,Gn),Yn.provide(routeLocationKey,reactive(Wn)),Yn.provide(routerViewLocationKey,$e);const Qn=Yn.unmount;lr.add(Yn),Yn.unmount=function(){lr.delete(Yn),lr.size<1&&(xe=START_LOCATION_NORMALIZED,An&&An(),An=null,$e.value=START_LOCATION_NORMALIZED,Xn=!1,On=!1),Qn()}}};function ir(Yn){return Yn.reduce((Gn,Wn)=>Gn.then(()=>Tn(Wn)),Promise.resolve())}return yr}function extractChangingRecords($,z){const ie=[],le=[],ue=[],pe=Math.max(z.matched.length,$.matched.length);for(let _e=0;_e<pe;_e++){const Ce=z.matched[_e];Ce&&($.matched.find(xe=>isSameRouteRecord(xe,Ce))?le.push(Ce):ie.push(Ce));const $e=$.matched[_e];$e&&(z.matched.find(xe=>isSameRouteRecord(xe,$e))||ue.push($e))}return[ie,le,ue]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const extractPathList=$=>{if(!Array.isArray($))return console.warn("tree must be an array"),[];if(!$||$.length===0)return[];const z=[];for(const ie of $)ie.children&&ie.children.length>0&&extractPathList(ie.children),z.push(ie.uniqueId);return z},deleteChildren=($,z=[])=>{if(!Array.isArray($))return console.warn("menuTree must be an array"),[];if(!$||$.length===0)return[];for(const[ie,le]of $.entries())le.children&&le.children.length===1&&delete le.children,le.id=ie,le.parentId=z.length?z[z.length-1]:null,le.pathList=[...z,le.id],le.uniqueId=le.pathList.length>1?le.pathList.join("-"):le.pathList[0],le.children&&le.children.length>0&&deleteChildren(le.children,le.pathList);return $},buildHierarchyTree=($,z=[])=>{if(!Array.isArray($))return console.warn("tree must be an array"),[];if(!$||$.length===0)return[];for(const[ie,le]of $.entries())le.id=ie,le.parentId=z.length?z[z.length-1]:null,le.pathList=[...z,le.id],le.children&&le.children.length>0&&buildHierarchyTree(le.children,le.pathList);return $},getNodeByUniqueId=($,z)=>{if(!Array.isArray($))return console.warn("menuTree must be an array"),[];if(!$||$.length===0)return[];const ie=$.find(ue=>ue.uniqueId===z);if(ie)return ie;const le=$.filter(ue=>ue.children).map(ue=>ue.children).flat(1);return getNodeByUniqueId(le,z)},appendFieldByUniqueId=($,z,ie)=>{if(!Array.isArray($))return console.warn("menuTree must be an array"),[];if(!$||$.length===0)return[];for(const le of $){const ue=le.children&&le.children.length>0;le.uniqueId===z&&Object.prototype.toString.call(ie)==="[object Object]"&&Object.assign(le,ie),ue&&appendFieldByUniqueId(le.children,z,ie)}return $},handleTree=($,z,ie,le)=>{if(!Array.isArray($))return console.warn("data must be an array"),[];const ue={id:z||"id",parentId:ie||"parentId",childrenList:le||"children"},pe={},_e={},Ce=[];for(const xe of $){const Ie=xe[ue.parentId];pe[Ie]==null&&(pe[Ie]=[]),_e[xe[ue.id]]=xe,pe[Ie].push(xe)}for(const xe of $){const Ie=xe[ue.parentId];_e[Ie]==null&&Ce.push(xe)}for(const xe of Ce)$e(xe);function $e(xe){if(pe[xe[ue.id]]!==null&&(xe[ue.childrenList]=pe[xe[ue.id]]),xe[ue.childrenList])for(const Ie of xe[ue.childrenList])$e(Ie)}return Ce},getAsyncRoutes=()=>http.request("get","/getAsyncRoutes"),IFrame=()=>__vitePreload(()=>import("./frameView-cd1fc4a9.js"),["static/js/frameView-cd1fc4a9.js","static/css/frameView-ed080731.css"]),modulesRoutes=Object.assign({"/src/views/able/barcode.vue":()=>__vitePreload(()=>import("./barcode-7fdf6e26.js"),[]),"/src/views/able/cascader.vue":()=>__vitePreload(()=>import("./cascader-9b6749c0.js"),["static/js/cascader-9b6749c0.js","static/css/cascader-843853c0.css"]),"/src/views/able/debounce.vue":()=>__vitePreload(()=>import("./debounce-dfdd9ef4.js"),["static/js/debounce-dfdd9ef4.js","static/js/message-e10b411d.js"]),"/src/views/able/download.vue":()=>__vitePreload(()=>import("./download-cc2be078.js"),[]),"/src/views/able/execl.vue":()=>__vitePreload(()=>import("./execl-3589352d.js"),["static/js/execl-3589352d.js","static/js/xlsx-f5126985.js"]),"/src/views/able/icon-select.vue":()=>__vitePreload(()=>import("./icon-select-980054dc.js"),["static/js/icon-select-980054dc.js","static/css/icon-select-e8efdfdc.css"]),"/src/views/able/infinite-scroll.vue":()=>__vitePreload(()=>import("./infinite-scroll-9055bfd2.js"),[]),"/src/views/able/line-tree.vue":()=>__vitePreload(()=>import("./line-tree-a7ce4c70.js"),["static/js/line-tree-a7ce4c70.js","static/css/line-tree-970a113a.css"]),"/src/views/able/menu-tree.vue":()=>__vitePreload(()=>import("./menu-tree-bfe1d985.js"),["static/js/menu-tree-bfe1d985.js","static/js/hooks-3aae2893.js"]),"/src/views/able/pdf.vue":()=>__vitePreload(()=>import("./pdf-e4788f4a.js"),["static/js/pdf-e4788f4a.js","static/js/vue.runtime.esm-bundler-8716bea3.js"]),"/src/views/able/print.vue":()=>__vitePreload(()=>import("./print-3470e2a7.js"),["static/js/print-3470e2a7.js","static/js/print-a6e42845.js","static/js/Line.vue_vue_type_script_setup_true_lang-1750da80.js","static/js/app-a27157ff.js","static/css/print-8831c8b6.css"]),"/src/views/able/qrcode.vue":()=>__vitePreload(()=>import("./qrcode-ec091efa.js"),["static/js/qrcode-ec091efa.js","static/js/message-e10b411d.js","static/js/index-904bc39a.js","static/js/propTypes-3b04af70.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),"/src/views/able/swiper.vue":()=>__vitePreload(()=>import("./swiper-be2791d8.js"),["static/js/swiper-be2791d8.js","static/css/swiper-4182dcb7.css"]),"/src/views/able/timeline.vue":()=>__vitePreload(()=>import("./timeline-8d5336c3.js"),["static/js/timeline-8d5336c3.js","static/js/index-6313ba66.js","static/css/index-18417f34.css","static/js/hooks-3aae2893.js","static/js/iphone-bcaa848c.js","static/css/timeline-12434188.css"]),"/src/views/able/virtual-list/horizontal.vue":()=>__vitePreload(()=>import("./horizontal-710a98ce.js"),["static/js/horizontal-710a98ce.js","static/js/vue-virtual-scroller.esm-835c3bfa.js","static/css/horizontal-f9c9bac5.css"]),"/src/views/able/virtual-list/index.vue":()=>__vitePreload(()=>import("./index-bbcac6ce.js"),["static/js/index-bbcac6ce.js","static/js/vertical-ac6edffa.js","static/js/vue-virtual-scroller.esm-835c3bfa.js","static/css/vertical-c0ec8bec.css","static/js/horizontal-710a98ce.js","static/css/horizontal-f9c9bac5.css","static/css/index-bbe280a3.css"]),"/src/views/able/virtual-list/vertical.vue":()=>__vitePreload(()=>import("./vertical-ac6edffa.js"),["static/js/vertical-ac6edffa.js","static/js/vue-virtual-scroller.esm-835c3bfa.js","static/css/vertical-c0ec8bec.css"]),"/src/views/able/watermark.vue":()=>__vitePreload(()=>import("./watermark-19f04f8a.js"),[]),"/src/views/about/columns.tsx":()=>__vitePreload(()=>import("./columns-e9adf573.js"),[]),"/src/views/about/index.vue":()=>__vitePreload(()=>import("./index-bec4982f.js"),["static/js/index-bec4982f.js","static/js/columns-e9adf573.js","static/css/index-cb8197dd.css"]),"/src/views/components/button/index.vue":()=>__vitePreload(()=>import("./index-d8193791.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>__vitePreload(()=>import("./basic-1ba7c043.js"),["static/js/basic-1ba7c043.js","static/js/index.esm-1536583a.js","static/css/basic-d842f1a0.css"]),"/src/views/components/contextmenu/index.vue":()=>__vitePreload(()=>import("./index-29f6a75c.js"),["static/js/index-29f6a75c.js","static/js/basic-1ba7c043.js","static/js/index.esm-1536583a.js","static/css/basic-d842f1a0.css","static/js/menuGroup-5c403ef7.js","static/css/menuGroup-1ac3332c.css","static/js/menuDynamic-da03481f.js","static/css/menuDynamic-8e12a25c.css","static/css/index-5d2daf4d.css"]),"/src/views/components/contextmenu/menuDynamic.vue":()=>__vitePreload(()=>import("./menuDynamic-da03481f.js"),["static/js/menuDynamic-da03481f.js","static/js/index.esm-1536583a.js","static/css/menuDynamic-8e12a25c.css"]),"/src/views/components/contextmenu/menuGroup.vue":()=>__vitePreload(()=>import("./menuGroup-5c403ef7.js"),["static/js/menuGroup-5c403ef7.js","static/js/index.esm-1536583a.js","static/css/menuGroup-1ac3332c.css"]),"/src/views/components/count-to/index.vue":()=>__vitePreload(()=>import("./index-02165c4e.js"),["static/js/index-02165c4e.js","static/js/propTypes-3b04af70.js","static/css/index-a129e600.css"]),"/src/views/components/cropping/index.vue":()=>__vitePreload(()=>import("./index-fb5bbe20.js"),["static/js/index-fb5bbe20.js","static/css/index-fdfcfa11.css"]),"/src/views/components/danmaku/index.vue":()=>__vitePreload(()=>import("./index-70192ec0.js"),["static/js/index-70192ec0.js","static/css/index-14392f45.css"]),"/src/views/components/dialog/form.vue":()=>__vitePreload(()=>import("./form-dd697615.js"),["static/js/form-dd697615.js","static/js/form.vue_vue_type_script_setup_true_lang-7b06da28.js"]),"/src/views/components/dialog/index.vue":()=>__vitePreload(()=>import("./index-cadc3e51.js"),["static/js/index-cadc3e51.js","static/js/message-e10b411d.js","static/js/form.vue_vue_type_script_setup_true_lang-7b06da28.js"]),"/src/views/components/draggable/index.vue":()=>__vitePreload(()=>import("./index-a5f12f88.js"),["static/js/index-a5f12f88.js","static/js/sortable.esm-e674cde8.js","static/js/app-a27157ff.js","static/js/hooks-3aae2893.js","static/css/index-b2ddca14.css"]),"/src/views/components/json-editor/index.vue":()=>__vitePreload(()=>import("./index-8ac1bec4.js"),["static/js/index-8ac1bec4.js","static/js/styles-cbad4420.js","static/js/vue.runtime.esm-bundler-8716bea3.js","static/css/styles-670012e0.css"]),"/src/views/components/map/index.vue":()=>__vitePreload(()=>import("./index-06ad2f60.js"),["static/js/index-06ad2f60.js","static/css/index-c6f744fa.css"]),"/src/views/components/message/index.vue":()=>__vitePreload(()=>import("./index-198013f4.js"),["static/js/index-198013f4.js","static/js/message-e10b411d.js","static/js/hooks-3aae2893.js","static/js/check-3815600c.js"]),"/src/views/components/seamless-scroll/index.vue":()=>__vitePreload(()=>import("./index-0d5c6bd7.js"),["static/js/index-0d5c6bd7.js","static/css/index-53a917f7.css"]),"/src/views/components/segmented/index.vue":()=>__vitePreload(()=>import("./index-47467377.js"),["static/js/index-47467377.js","static/js/message-e10b411d.js","static/js/home-filled-05cc090c.js","static/js/hooks-3aae2893.js","static/css/index-fa517f4b.css"]),"/src/views/components/selector/index.vue":()=>__vitePreload(()=>import("./index-f9d04f1d.js"),["static/js/index-f9d04f1d.js","static/css/index-ea4ab5c7.css"]),"/src/views/components/split-pane/index.vue":()=>__vitePreload(()=>import("./index-1ca78246.js"),["static/js/index-1ca78246.js","static/css/index-e0a7f2a0.css"]),"/src/views/components/typeit/index.vue":()=>__vitePreload(()=>import("./index-62c5ed86.js"),["static/js/index-62c5ed86.js","static/js/index-a4286b33.js"]),"/src/views/components/video/index.vue":()=>__vitePreload(()=>import("./index-2313ea64.js"),["static/js/index-2313ea64.js","static/js/hooks-3aae2893.js","static/css/index-48d8c7cf.css"]),"/src/views/components/waterfall/index.vue":()=>__vitePreload(()=>import("./index-c748122e.js"),["static/js/index-c748122e.js","static/js/back_top-a38086db.js","static/css/index-d102724b.css"]),"/src/views/editor/components/base.vue":()=>__vitePreload(()=>import("./base-e69a474f.js"),["static/js/base-e69a474f.js","static/js/base.vue_vue_type_script_setup_true_lang-bdc6c323.js","static/js/index.esm-55ccaf0b.js","static/css/index-f38a3df6.css"]),"/src/views/editor/components/multi.vue":()=>__vitePreload(()=>import("./multi-fa3290b2.js"),["static/js/multi-fa3290b2.js","static/js/multi.vue_vue_type_script_setup_true_lang-76d091f6.js","static/js/index-901d205d.js","static/js/index.esm-55ccaf0b.js","static/css/index-f38a3df6.css"]),"/src/views/editor/components/picUpload.vue":()=>__vitePreload(()=>import("./picUpload-f3f7ee42.js"),["static/js/picUpload-f3f7ee42.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-359dbd7f.js","static/js/index.esm-55ccaf0b.js","static/css/index-f38a3df6.css"]),"/src/views/editor/index.vue":()=>__vitePreload(()=>import("./index-a1627eda.js"),["static/js/index-a1627eda.js","static/js/base.vue_vue_type_script_setup_true_lang-bdc6c323.js","static/js/index.esm-55ccaf0b.js","static/css/index-f38a3df6.css","static/js/multi.vue_vue_type_script_setup_true_lang-76d091f6.js","static/js/index-901d205d.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-359dbd7f.js","static/css/index-2bb08053.css"]),"/src/views/empty/index.vue":()=>__vitePreload(()=>import("./index-b620d086.js"),["static/js/index-b620d086.js","static/css/index-18755a0a.css"]),"/src/views/error/403.vue":()=>__vitePreload(()=>import("./403-d067056b.js"),[]),"/src/views/error/404.vue":()=>__vitePreload(()=>import("./404-e1215c02.js"),[]),"/src/views/error/500.vue":()=>__vitePreload(()=>import("./500-29988951.js"),[]),"/src/views/flow-chart/index.vue":()=>__vitePreload(()=>import("./index-82064034.js"),["static/js/index-82064034.js","static/js/hooks-3aae2893.js","static/js/styles-cbad4420.js","static/js/vue.runtime.esm-bundler-8716bea3.js","static/css/styles-670012e0.css","static/js/set-up-e6942411.js","static/css/index-6bd35e69.css"]),"/src/views/guide/index.vue":()=>__vitePreload(()=>import("./index-3e771bdc.js"),["static/js/index-3e771bdc.js","static/css/index-38ef32bb.css"]),"/src/views/list/card/components/Card.vue":()=>__vitePreload(()=>import("./Card-63e8eee6.js"),["static/js/Card-63e8eee6.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css"]),"/src/views/list/card/components/DialogForm.vue":()=>__vitePreload(()=>import("./DialogForm-d927cafb.js"),["static/js/DialogForm-d927cafb.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-3cbe7144.js","static/js/message-e10b411d.js"]),"/src/views/list/card/index.vue":()=>__vitePreload(()=>import("./index-59dc7606.js"),["static/js/index-59dc7606.js","static/js/Card-63e8eee6.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css","static/js/list-2ad84199.js","static/js/message-e10b411d.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-3cbe7144.js","static/js/hooks-3aae2893.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js"]),"/src/views/login/components/phone.vue":()=>__vitePreload(()=>import("./phone-c13ef572.js"),["static/js/phone-c13ef572.js","static/js/phone.vue_vue_type_script_setup_true_lang-2d6e69ee.js","static/js/motion-35b32314.js","static/js/message-e10b411d.js","static/js/verifyCode-d5581e1c.js","static/js/hooks-3aae2893.js","static/js/iphone-bcaa848c.js"]),"/src/views/login/components/qrCode.vue":()=>__vitePreload(()=>import("./qrCode-0ff4505b.js"),["static/js/qrCode-0ff4505b.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-10476f53.js","static/js/motion-35b32314.js","static/js/index-904bc39a.js","static/js/propTypes-3b04af70.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),"/src/views/login/components/regist.vue":()=>__vitePreload(()=>import("./regist-000dc572.js"),["static/js/regist-000dc572.js","static/js/regist.vue_vue_type_script_setup_true_lang-bd50cfa3.js","static/js/motion-35b32314.js","static/js/message-e10b411d.js","static/js/verifyCode-d5581e1c.js","static/js/hooks-3aae2893.js","static/js/lock-fill-34b71c6c.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/login/components/update.vue":()=>__vitePreload(()=>import("./update-d2645501.js"),["static/js/update-d2645501.js","static/js/update.vue_vue_type_script_setup_true_lang-69c15c4d.js","static/js/motion-35b32314.js","static/js/message-e10b411d.js","static/js/verifyCode-d5581e1c.js","static/js/hooks-3aae2893.js","static/js/lock-fill-34b71c6c.js","static/js/iphone-bcaa848c.js"]),"/src/views/login/index.vue":()=>__vitePreload(()=>import("./index-2abaa74c.js"),["static/js/index-2abaa74c.js","static/js/motion-35b32314.js","static/js/message-e10b411d.js","static/js/verifyCode-d5581e1c.js","static/js/phone.vue_vue_type_script_setup_true_lang-2d6e69ee.js","static/js/hooks-3aae2893.js","static/js/iphone-bcaa848c.js","static/js/index-a4286b33.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-10476f53.js","static/js/index-904bc39a.js","static/js/propTypes-3b04af70.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css","static/js/regist.vue_vue_type_script_setup_true_lang-bd50cfa3.js","static/js/lock-fill-34b71c6c.js","static/js/user-3-fill-70ba8c19.js","static/js/update.vue_vue_type_script_setup_true_lang-69c15c4d.js","static/js/dark-a47106dd.js","static/js/epTheme-f7fc4ebb.js","static/js/app-a27157ff.js","static/js/check-3815600c.js","static/css/index-90a3ebb5.css"]),"/src/views/menuoverflow/index.vue":()=>__vitePreload(()=>import("./index-c9a13b0b.js"),[]),"/src/views/nested/menu1/menu1-1/index.vue":()=>__vitePreload(()=>import("./index-ebbfffc8.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>__vitePreload(()=>import("./index-186d83be.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>__vitePreload(()=>import("./index-08c577b6.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>__vitePreload(()=>import("./index-947c816b.js"),[]),"/src/views/nested/menu2/index.vue":()=>__vitePreload(()=>import("./index-f9edb411.js"),[]),"/src/views/permission/button/index.vue":()=>__vitePreload(()=>import("./index-37605864.js"),[]),"/src/views/permission/page/index.vue":()=>__vitePreload(()=>import("./index-3fb54318.js"),[]),"/src/views/pure-table/base/base.vue":()=>__vitePreload(()=>import("./base-705e19ae.js"),["static/js/base-705e19ae.js","static/js/base.vue_vue_type_script_setup_true_lang-532b5825.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/border.vue":()=>__vitePreload(()=>import("./border-fcd52988.js"),["static/js/border-fcd52988.js","static/js/border.vue_vue_type_script_setup_true_lang-235b951f.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/column-template/columns.tsx":()=>__vitePreload(()=>import("./columns-08b23bf3.js"),["static/js/columns-08b23bf3.js","static/js/message-e10b411d.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/column-template/index.vue":()=>__vitePreload(()=>import("./index-17593e50.js"),["static/js/index-17593e50.js","static/js/index.vue_vue_type_script_setup_true_lang-143c70d1.js","static/js/columns-08b23bf3.js","static/js/message-e10b411d.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/customIndex.vue":()=>__vitePreload(()=>import("./customIndex-75aeb5a7.js"),["static/js/customIndex-75aeb5a7.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-3f478d86.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/expand.vue":()=>__vitePreload(()=>import("./expand-25033322.js"),["static/js/expand-25033322.js","static/js/expand.vue_vue_type_script_setup_true_lang-0c0d5af4.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/filters.vue":()=>__vitePreload(()=>import("./filters-5416492d.js"),["static/js/filters-5416492d.js","static/js/filters.vue_vue_type_script_setup_true_lang-1d88ece7.js"]),"/src/views/pure-table/base/fixColumn.vue":()=>__vitePreload(()=>import("./fixColumn-19e00b4a.js"),["static/js/fixColumn-19e00b4a.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-5513ac19.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/fixHeader.vue":()=>__vitePreload(()=>import("./fixHeader-629a7f31.js"),["static/js/fixHeader-629a7f31.js","static/js/fixHeader.vue_vue_type_script_setup_true_lang-893593d6.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/fluidHeight.vue":()=>__vitePreload(()=>import("./fluidHeight-22b128ca.js"),["static/js/fluidHeight-22b128ca.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-bac2c741.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/groupHeader.vue":()=>__vitePreload(()=>import("./groupHeader-7c6b139a.js"),["static/js/groupHeader-7c6b139a.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-318c555d.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/header-renderer/columns.tsx":()=>__vitePreload(()=>import("./columns-2228efa6.js"),["static/js/columns-2228efa6.js","static/js/message-e10b411d.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/header-renderer/index.vue":()=>__vitePreload(()=>import("./index-a0ab93e8.js"),["static/js/index-a0ab93e8.js","static/js/index.vue_vue_type_script_setup_true_lang-7d8460d9.js","static/js/columns-2228efa6.js","static/js/message-e10b411d.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/imgPreview.vue":()=>__vitePreload(()=>import("./imgPreview-7f136082.js"),["static/js/imgPreview-7f136082.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-e8505c5e.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/layout.vue":()=>__vitePreload(()=>import("./layout-b8cad284.js"),["static/js/layout-b8cad284.js","static/js/layout.vue_vue_type_script_setup_true_lang-ba3aaca4.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/list.tsx":()=>__vitePreload(()=>import("./list-3854bd22.js"),["static/js/list-3854bd22.js","static/js/base.vue_vue_type_script_setup_true_lang-532b5825.js","static/js/data-e0a89625.js","static/js/stripe.vue_vue_type_script_setup_true_lang-24bf9656.js","static/js/border.vue_vue_type_script_setup_true_lang-235b951f.js","static/js/status.vue_vue_type_style_index_0_lang-6a6d11cd.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-893593d6.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-5513ac19.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-bac2c741.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-318c555d.js","static/js/radio.vue_vue_type_script_setup_true_lang-c62f9c3e.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c57d578b.js","static/js/sortable.vue_vue_type_script_setup_true_lang-f2c39ea5.js","static/js/filters.vue_vue_type_script_setup_true_lang-1d88ece7.js","static/js/index.vue_vue_type_script_setup_true_lang-143c70d1.js","static/js/columns-08b23bf3.js","static/js/message-e10b411d.js","static/js/index.vue_vue_type_script_setup_true_lang-7d8460d9.js","static/js/columns-2228efa6.js","static/js/expand.vue_vue_type_script_setup_true_lang-0c0d5af4.js","static/js/tree.vue_vue_type_script_setup_true_lang-e6234e60.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-59f90176.js","static/js/merge.vue_vue_type_script_setup_true_lang-a3575553.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-3f478d86.js","static/js/layout.vue_vue_type_script_setup_true_lang-ba3aaca4.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-8036d0ef.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-e8505c5e.js"]),"/src/views/pure-table/base/merge.vue":()=>__vitePreload(()=>import("./merge-f15c77ff.js"),["static/js/merge-f15c77ff.js","static/js/merge.vue_vue_type_script_setup_true_lang-a3575553.js"]),"/src/views/pure-table/base/multipleChoice.vue":()=>__vitePreload(()=>import("./multipleChoice-8f3ca1b3.js"),["static/js/multipleChoice-8f3ca1b3.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c57d578b.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/nestProp.vue":()=>__vitePreload(()=>import("./nestProp-d76b3df1.js"),["static/js/nestProp-d76b3df1.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-8036d0ef.js"]),"/src/views/pure-table/base/radio.vue":()=>__vitePreload(()=>import("./radio-423a0fb8.js"),["static/js/radio-423a0fb8.js","static/js/radio.vue_vue_type_script_setup_true_lang-c62f9c3e.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/sortable.vue":()=>__vitePreload(()=>import("./sortable-318c96d1.js"),["static/js/sortable-318c96d1.js","static/js/sortable.vue_vue_type_script_setup_true_lang-f2c39ea5.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/status.vue":()=>__vitePreload(()=>import("./status-c156fefe.js"),["static/js/status-c156fefe.js","static/js/status.vue_vue_type_style_index_0_lang-6a6d11cd.js","static/js/data-e0a89625.js","static/css/status-3db11369.css"]),"/src/views/pure-table/base/stripe.vue":()=>__vitePreload(()=>import("./stripe-289fa320.js"),["static/js/stripe-289fa320.js","static/js/stripe.vue_vue_type_script_setup_true_lang-24bf9656.js","static/js/data-e0a89625.js"]),"/src/views/pure-table/base/totalRow.vue":()=>__vitePreload(()=>import("./totalRow-e5d7f582.js"),["static/js/totalRow-e5d7f582.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-59f90176.js"]),"/src/views/pure-table/base/tree.vue":()=>__vitePreload(()=>import("./tree-8a4026b4.js"),["static/js/tree-8a4026b4.js","static/js/tree.vue_vue_type_script_setup_true_lang-e6234e60.js"]),"/src/views/pure-table/high.vue":()=>__vitePreload(()=>import("./high-f73b4847.js"),["static/js/high-f73b4847.js","static/js/list-576676b9.js","static/js/index.vue_vue_type_script_setup_true_lang-782f884b.js","static/js/columns-23d85fd8.js","static/js/data-2a459e4f.js","static/js/index.vue_vue_type_script_setup_true_lang-ebf4953c.js","static/js/columns-d2f4be8c.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-938c1052.js","static/js/columns-c1a23753.js","static/js/index.vue_vue_type_script_setup_true_lang-f38d0b07.js","static/js/columns-6e4a0218.js","static/js/message-e10b411d.js","static/js/index.vue_vue_type_script_setup_true_lang-9537d197.js","static/js/columns-985fc166.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-9d3753d6.js","static/js/columns-b044ca8f.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-e72ab48c.js","static/js/columns-39243a2d.js","static/js/index.vue_vue_type_script_setup_true_lang-e86fa6d1.js","static/js/columns-124b7161.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-fa009012.js","static/js/columns-823e8344.js","static/js/index.vue_vue_type_script_setup_true_lang-6b8767b8.js","static/js/index.vue_vue_type_script_setup_true_lang-571287f7.js","static/js/columns-070fe5af.js","static/js/index.vue_vue_type_script_setup_true_lang-2ebcbc7e.js","static/js/columns-1fd16450.js","static/css/high-5bc3f1f1.css"]),"/src/views/pure-table/high/contextmenu/columns.tsx":()=>__vitePreload(()=>import("./columns-6e4a0218.js"),["static/js/columns-6e4a0218.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js"]),"/src/views/pure-table/high/contextmenu/index.vue":()=>__vitePreload(()=>import("./index-ebc41aeb.js"),["static/js/index-ebc41aeb.js","static/js/index.vue_vue_type_script_setup_true_lang-f38d0b07.js","static/js/columns-6e4a0218.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js"]),"/src/views/pure-table/high/drag/column/columns.tsx":()=>__vitePreload(()=>import("./columns-c1a23753.js"),["static/js/columns-c1a23753.js","static/js/sortable.esm-e674cde8.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/drag/column/index.vue":()=>__vitePreload(()=>import("./index-2fc7c0a8.js"),["static/js/index-2fc7c0a8.js","static/js/index.vue_vue_type_script_setup_true_lang-938c1052.js","static/js/columns-c1a23753.js","static/js/sortable.esm-e674cde8.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/drag/row/columns.tsx":()=>__vitePreload(()=>import("./columns-d2f4be8c.js"),["static/js/columns-d2f4be8c.js","static/js/sortable.esm-e674cde8.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/drag/row/index.vue":()=>__vitePreload(()=>import("./index-65362db6.js"),["static/js/index-65362db6.js","static/js/index.vue_vue_type_script_setup_true_lang-ebf4953c.js","static/js/columns-d2f4be8c.js","static/js/sortable.esm-e674cde8.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/echarts/columns.tsx":()=>__vitePreload(()=>import("./columns-823e8344.js"),["static/js/columns-823e8344.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js"]),"/src/views/pure-table/high/echarts/index.vue":()=>__vitePreload(()=>import("./index-4df74238.js"),["static/js/index-4df74238.js","static/js/index.vue_vue_type_script_setup_true_lang-fa009012.js","static/js/columns-823e8344.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js"]),"/src/views/pure-table/high/edit/columns.tsx":()=>__vitePreload(()=>import("./columns-b044ca8f.js"),["static/js/columns-b044ca8f.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js"]),"/src/views/pure-table/high/edit/index.vue":()=>__vitePreload(()=>import("./index-adf8c8ec.js"),["static/js/index-adf8c8ec.js","static/js/index.vue_vue_type_script_setup_true_lang-9d3753d6.js","static/js/columns-b044ca8f.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js"]),"/src/views/pure-table/high/execl/columns.tsx":()=>__vitePreload(()=>import("./columns-985fc166.js"),["static/js/columns-985fc166.js","static/js/xlsx-f5126985.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js"]),"/src/views/pure-table/high/execl/index.vue":()=>__vitePreload(()=>import("./index-56f29874.js"),["static/js/index-56f29874.js","static/js/index.vue_vue_type_script_setup_true_lang-9537d197.js","static/js/columns-985fc166.js","static/js/xlsx-f5126985.js","static/js/data-2a459e4f.js","static/js/message-e10b411d.js"]),"/src/views/pure-table/high/list.tsx":()=>__vitePreload(()=>import("./list-576676b9.js"),["static/js/list-576676b9.js","static/js/index.vue_vue_type_script_setup_true_lang-782f884b.js","static/js/columns-23d85fd8.js","static/js/data-2a459e4f.js","static/js/index.vue_vue_type_script_setup_true_lang-ebf4953c.js","static/js/columns-d2f4be8c.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-938c1052.js","static/js/columns-c1a23753.js","static/js/index.vue_vue_type_script_setup_true_lang-f38d0b07.js","static/js/columns-6e4a0218.js","static/js/message-e10b411d.js","static/js/index.vue_vue_type_script_setup_true_lang-9537d197.js","static/js/columns-985fc166.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-9d3753d6.js","static/js/columns-b044ca8f.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-e72ab48c.js","static/js/columns-39243a2d.js","static/js/index.vue_vue_type_script_setup_true_lang-e86fa6d1.js","static/js/columns-124b7161.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-fa009012.js","static/js/columns-823e8344.js","static/js/index.vue_vue_type_script_setup_true_lang-6b8767b8.js","static/js/index.vue_vue_type_script_setup_true_lang-571287f7.js","static/js/columns-070fe5af.js","static/js/index.vue_vue_type_script_setup_true_lang-2ebcbc7e.js","static/js/columns-1fd16450.js"]),"/src/views/pure-table/high/page/columns.tsx":()=>__vitePreload(()=>import("./columns-23d85fd8.js"),["static/js/columns-23d85fd8.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/page/index.vue":()=>__vitePreload(()=>import("./index-e62d24e0.js"),["static/js/index-e62d24e0.js","static/js/index.vue_vue_type_script_setup_true_lang-782f884b.js","static/js/columns-23d85fd8.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/prints/columns.tsx":()=>__vitePreload(()=>import("./columns-124b7161.js"),["static/js/columns-124b7161.js","static/js/print-a6e42845.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/prints/index.vue":()=>__vitePreload(()=>import("./index-9be64130.js"),["static/js/index-9be64130.js","static/js/index.vue_vue_type_script_setup_true_lang-e86fa6d1.js","static/js/columns-124b7161.js","static/js/print-a6e42845.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/table-select/index.vue":()=>__vitePreload(()=>import("./index-5440fdf3.js"),["static/js/index-5440fdf3.js","static/js/index.vue_vue_type_script_setup_true_lang-6b8767b8.js","static/js/index.vue_vue_type_script_setup_true_lang-571287f7.js","static/js/columns-070fe5af.js","static/js/message-e10b411d.js","static/js/data-2a459e4f.js","static/js/index.vue_vue_type_script_setup_true_lang-2ebcbc7e.js","static/js/columns-1fd16450.js"]),"/src/views/pure-table/high/table-select/multiple/columns.tsx":()=>__vitePreload(()=>import("./columns-1fd16450.js"),["static/js/columns-1fd16450.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/table-select/multiple/index.vue":()=>__vitePreload(()=>import("./index-8ec19226.js"),["static/js/index-8ec19226.js","static/js/index.vue_vue_type_script_setup_true_lang-2ebcbc7e.js","static/js/columns-1fd16450.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/table-select/radio/columns.tsx":()=>__vitePreload(()=>import("./columns-070fe5af.js"),["static/js/columns-070fe5af.js","static/js/message-e10b411d.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/table-select/radio/index.vue":()=>__vitePreload(()=>import("./index-9d997df8.js"),["static/js/index-9d997df8.js","static/js/index.vue_vue_type_script_setup_true_lang-571287f7.js","static/js/columns-070fe5af.js","static/js/message-e10b411d.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/watermark/columns.tsx":()=>__vitePreload(()=>import("./columns-39243a2d.js"),["static/js/columns-39243a2d.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/high/watermark/index.vue":()=>__vitePreload(()=>import("./index-20754821.js"),["static/js/index-20754821.js","static/js/index.vue_vue_type_script_setup_true_lang-e72ab48c.js","static/js/columns-39243a2d.js","static/js/data-2a459e4f.js"]),"/src/views/pure-table/index.vue":()=>__vitePreload(()=>import("./index-0359919c.js"),["static/js/index-0359919c.js","static/js/list-3854bd22.js","static/js/base.vue_vue_type_script_setup_true_lang-532b5825.js","static/js/data-e0a89625.js","static/js/stripe.vue_vue_type_script_setup_true_lang-24bf9656.js","static/js/border.vue_vue_type_script_setup_true_lang-235b951f.js","static/js/status.vue_vue_type_style_index_0_lang-6a6d11cd.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-893593d6.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-5513ac19.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-bac2c741.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-318c555d.js","static/js/radio.vue_vue_type_script_setup_true_lang-c62f9c3e.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c57d578b.js","static/js/sortable.vue_vue_type_script_setup_true_lang-f2c39ea5.js","static/js/filters.vue_vue_type_script_setup_true_lang-1d88ece7.js","static/js/index.vue_vue_type_script_setup_true_lang-143c70d1.js","static/js/columns-08b23bf3.js","static/js/message-e10b411d.js","static/js/index.vue_vue_type_script_setup_true_lang-7d8460d9.js","static/js/columns-2228efa6.js","static/js/expand.vue_vue_type_script_setup_true_lang-0c0d5af4.js","static/js/tree.vue_vue_type_script_setup_true_lang-e6234e60.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-59f90176.js","static/js/merge.vue_vue_type_script_setup_true_lang-a3575553.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-3f478d86.js","static/js/layout.vue_vue_type_script_setup_true_lang-ba3aaca4.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-8036d0ef.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-e8505c5e.js","static/css/index-c6b6432d.css"]),"/src/views/result/columns.tsx":()=>__vitePreload(()=>import("./columns-58153ba2.js"),["static/js/columns-58153ba2.js","static/js/arrow-right-s-line-2977cc7e.js"]),"/src/views/result/fail.vue":()=>__vitePreload(()=>import("./fail-de72359d.js"),["static/js/fail-de72359d.js","static/js/columns-58153ba2.js","static/js/arrow-right-s-line-2977cc7e.js","static/css/fail-8c7d12a4.css"]),"/src/views/result/success.vue":()=>__vitePreload(()=>import("./success-b904adcd.js"),["static/js/success-b904adcd.js","static/css/success-42084dfc.css"]),"/src/views/system/dept/form.vue":()=>__vitePreload(()=>import("./form-ca133f59.js"),["static/js/form-ca133f59.js","static/js/form.vue_vue_type_script_setup_true_lang-8ea61c88.js","static/js/index-901d205d.js","static/js/hooks-7e66a96a.js"]),"/src/views/system/dept/index.vue":()=>__vitePreload(()=>import("./index-ca4ae882.js"),["static/js/index-ca4ae882.js","static/js/hook-6b0d869c.js","static/js/form.vue_vue_type_script_setup_true_lang-8ea61c88.js","static/js/index-901d205d.js","static/js/hooks-7e66a96a.js","static/js/message-e10b411d.js","static/js/system-f161212a.js","static/js/refresh-7544be81.js","static/js/epTheme-f7fc4ebb.js","static/js/sortable.esm-e674cde8.js","static/js/hooks-3aae2893.js","static/js/edit-pen-37b5ced2.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-bf90facc.css"]),"/src/views/system/dept/utils/hook.tsx":()=>__vitePreload(()=>import("./hook-6b0d869c.js"),["static/js/hook-6b0d869c.js","static/js/form.vue_vue_type_script_setup_true_lang-8ea61c88.js","static/js/index-901d205d.js","static/js/hooks-7e66a96a.js","static/js/message-e10b411d.js","static/js/system-f161212a.js"]),"/src/views/system/role/form.vue":()=>__vitePreload(()=>import("./form-8bc4cef2.js"),["static/js/form-8bc4cef2.js","static/js/form.vue_vue_type_script_setup_true_lang-1aa9427d.js"]),"/src/views/system/role/index.vue":()=>__vitePreload(()=>import("./index-a671e17d.js"),["static/js/index-a671e17d.js","static/js/hook-e8de3770.js","static/js/form.vue_vue_type_script_setup_true_lang-1aa9427d.js","static/js/message-e10b411d.js","static/js/system-f161212a.js","static/js/hooks-7e66a96a.js","static/js/refresh-7544be81.js","static/js/epTheme-f7fc4ebb.js","static/js/sortable.esm-e674cde8.js","static/js/hooks-3aae2893.js","static/js/edit-pen-37b5ced2.js","static/js/search-cc37b371.js","static/js/menu-a4fe64fb.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-7c3c2130.css"]),"/src/views/system/role/utils/hook.tsx":()=>__vitePreload(()=>import("./hook-e8de3770.js"),["static/js/hook-e8de3770.js","static/js/form.vue_vue_type_script_setup_true_lang-1aa9427d.js","static/js/message-e10b411d.js","static/js/system-f161212a.js","static/js/hooks-7e66a96a.js"]),"/src/views/system/user/hook.tsx":()=>__vitePreload(()=>import("./hook-8d7ec098.js"),["static/js/hook-8d7ec098.js","static/js/message-e10b411d.js","static/js/system-f161212a.js"]),"/src/views/system/user/index.vue":()=>__vitePreload(()=>import("./index-b7c8405a.js"),["static/js/index-b7c8405a.js","static/js/tree-b32b7ff8.js","static/js/system-f161212a.js","static/js/hooks-3aae2893.js","static/js/git-branch-line-aa4cb38f.js","static/js/search-cc37b371.js","static/js/more-2-fill-a666858a.js","static/js/office-building-cc7a1721.js","static/css/tree-12381322.css","static/js/hook-8d7ec098.js","static/js/message-e10b411d.js","static/js/refresh-7544be81.js","static/js/epTheme-f7fc4ebb.js","static/js/sortable.esm-e674cde8.js","static/js/admin-line-92b9acda.js","static/js/edit-pen-37b5ced2.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-92c82461.css"]),"/src/views/system/user/tree.vue":()=>__vitePreload(()=>import("./tree-b32b7ff8.js"),["static/js/tree-b32b7ff8.js","static/js/system-f161212a.js","static/js/hooks-3aae2893.js","static/js/git-branch-line-aa4cb38f.js","static/js/search-cc37b371.js","static/js/more-2-fill-a666858a.js","static/js/office-building-cc7a1721.js","static/css/tree-12381322.css"]),"/src/views/tabs/index.vue":()=>__vitePreload(()=>import("./index-d401db92.js"),["static/js/index-d401db92.js","static/js/hooks-5c2eb5f7.js"]),"/src/views/tabs/params-detail.vue":()=>__vitePreload(()=>import("./params-detail-2283f6eb.js"),["static/js/params-detail-2283f6eb.js","static/js/hooks-5c2eb5f7.js"]),"/src/views/tabs/query-detail.vue":()=>__vitePreload(()=>import("./query-detail-f0301036.js"),["static/js/query-detail-f0301036.js","static/js/hooks-5c2eb5f7.js"]),"/src/views/welcome/components/Bar.vue":()=>__vitePreload(()=>import("./Bar-7dd90804.js"),["static/js/Bar-7dd90804.js","static/js/Bar.vue_vue_type_script_setup_true_lang-a92e41dc.js","static/js/app-a27157ff.js"]),"/src/views/welcome/components/Github.vue":()=>__vitePreload(()=>import("./Github-480e649c.js"),["static/js/Github-480e649c.js","static/js/Github.vue_vue_type_script_setup_true_lang-28736f29.js","static/js/columns-645bcb44.js","static/js/index-a4286b33.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/welcome/components/Line.vue":()=>__vitePreload(()=>import("./Line-166e62ba.js"),["static/js/Line-166e62ba.js","static/js/Line.vue_vue_type_script_setup_true_lang-1750da80.js","static/js/app-a27157ff.js"]),"/src/views/welcome/components/Pie.vue":()=>__vitePreload(()=>import("./Pie-15e1e867.js"),["static/js/Pie-15e1e867.js","static/js/Pie.vue_vue_type_script_setup_true_lang-7bdfae54.js","static/js/app-a27157ff.js"]),"/src/views/welcome/components/columns.tsx":()=>__vitePreload(()=>import("./columns-645bcb44.js"),["static/js/columns-645bcb44.js","static/js/index-a4286b33.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/welcome/index.vue":()=>__vitePreload(()=>import("./index-1cc51413.js"),["static/js/index-1cc51413.js","static/js/Bar.vue_vue_type_script_setup_true_lang-a92e41dc.js","static/js/app-a27157ff.js","static/js/Pie.vue_vue_type_script_setup_true_lang-7bdfae54.js","static/js/Line.vue_vue_type_script_setup_true_lang-1750da80.js","static/js/list-2ad84199.js","static/js/index-a4286b33.js","static/js/Github.vue_vue_type_script_setup_true_lang-28736f29.js","static/js/columns-645bcb44.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js","static/js/index-6313ba66.js","static/css/index-18417f34.css","static/css/index-dba21543.css"])});function handRank($){const{name:z,path:ie,parentId:le,meta:ue}=$;return P$1(le)?!!(P$1(ue==null?void 0:ue.rank)||(ue==null?void 0:ue.rank)===0&&z!=="Home"&&ie!=="/"):!1}function ascending($){return $.forEach((z,ie)=>{handRank(z)&&(z.meta.rank=ie+2)}),$.sort((z,ie)=>(z==null?void 0:z.meta.rank)-(ie==null?void 0:ie.meta.rank))}function filterTree($){const z=en($).filter(ie=>{var le;return((le=ie.meta)==null?void 0:le.showLink)!==!1});return z.forEach(ie=>ie.children&&(ie.children=filterTree(ie.children))),z}function filterChildrenTree($){const z=en($).filter(ie=>{var le;return((le=ie==null?void 0:ie.children)==null?void 0:le.length)!==0});return z.forEach(ie=>ie.children&&(ie.children=filterTree(ie.children))),z}function isOneOfArray($,z){return Array.isArray($)&&Array.isArray(z)?Er($,z).length>0:!0}function filterNoPermissionTree($){var le;const z=((le=nr().getItem(sessionKey))==null?void 0:le.roles)??[],ie=en($).filter(ue=>{var pe;return isOneOfArray((pe=ue.meta)==null?void 0:pe.roles,z)});return ie.forEach(ue=>ue.children&&(ue.children=filterNoPermissionTree(ue.children))),filterChildrenTree(ie)}function getParentPaths($,z,ie="path"){function le(ue,pe,_e){for(let Ce=0;Ce<ue.length;Ce++){const $e=ue[Ce];if($e[ie]===pe)return _e;if(!(!$e.children||!$e.children.length)){if(_e.push($e.path),le($e.children,pe,_e).length)return _e;_e.pop()}}return[]}return le(z,$,[])}function findRouteByPath($,z){let ie=z.find(le=>le.path==$);if(ie)return isProxy(ie)?toRaw(ie):ie;for(let le=0;le<z.length;le++)if(z[le].children instanceof Array&&z[le].children.length>0&&(ie=findRouteByPath($,z[le].children),ie))return isProxy(ie)?toRaw(ie):ie;return null}function addPathMatch(){router.hasRoute("pathMatch")||router.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function handleAsyncRoutes($){$.length===0||formatFlatteningRoutes(addAsyncRoutes($)).map(z=>{if(router.options.routes[0].children.findIndex(ie=>ie.path===z.path)===-1){router.options.routes[0].children.push(z),ascending(router.options.routes[0].children),router.hasRoute(z==null?void 0:z.name)||router.addRoute(z);const ie=router.getRoutes().find(le=>le.path==="/");router.addRoute(ie)}}),usePermissionStoreHook().handleWholeMenus($),addPathMatch()}function initRouter(){var $;if(($=getConfig())!=null&&$.CachingAsyncRoutes){const z="async-routes",ie=nr().getItem(z);return ie&&(ie==null?void 0:ie.length)>0?new Promise(le=>{handleAsyncRoutes(ie),le(router)}):new Promise(le=>{getAsyncRoutes().then(({data:ue})=>{handleAsyncRoutes(en(ue)),nr().setItem(z,ue),le(router)})})}else return new Promise(z=>{getAsyncRoutes().then(({data:ie})=>{handleAsyncRoutes(en(ie)),z(router)})})}function formatFlatteningRoutes($){if($.length===0)return $;let z=buildHierarchyTree($);for(let ie=0;ie<z.length;ie++)z[ie].children&&(z=z.slice(0,ie+1).concat(z[ie].children,z.slice(ie+1)));return z}function formatTwoStageRoutes($){if($.length===0)return $;const z=[];return $.forEach(ie=>{var le;ie.path==="/"?z.push({component:ie.component,name:ie.name,path:ie.path,redirect:ie.redirect,meta:ie.meta,children:[]}):(le=z[0])==null||le.children.push({...ie})}),z}function handleAliveRoute({name:$},z){switch(z){case"add":usePermissionStoreHook().cacheOperate({mode:"add",name:$});break;case"delete":usePermissionStoreHook().cacheOperate({mode:"delete",name:$});break;case"refresh":usePermissionStoreHook().cacheOperate({mode:"refresh",name:$});break;default:usePermissionStoreHook().cacheOperate({mode:"delete",name:$}),useTimeoutFn(()=>{usePermissionStoreHook().cacheOperate({mode:"add",name:$})},100)}}function addAsyncRoutes($){if(!$||!$.length)return;const z=Object.keys(modulesRoutes);return $.forEach(ie=>{var le;if(ie.meta.backstage=!0,ie!=null&&ie.children&&ie.children.length&&!ie.redirect&&(ie.redirect=ie.children[0].path),ie!=null&&ie.children&&ie.children.length&&!ie.name&&(ie.name=ie.children[0].name+"Parent"),(le=ie.meta)!=null&&le.frameSrc)ie.component=IFrame;else{const ue=ie!=null&&ie.component?z.findIndex(pe=>pe.includes(ie.component)):z.findIndex(pe=>pe.includes(ie.path));ie.component=modulesRoutes[z[ue]]}ie!=null&&ie.children&&ie.children.length&&addAsyncRoutes(ie.children)}),$}function getHistoryMode($){const z=$.split(","),ie=z[0],le=z[1];if(z.length===1){if(ie==="hash")return createWebHashHistory("");if(ie==="h5")return createWebHistory("")}else if(z.length===2){if(ie==="hash")return createWebHashHistory(le);if(ie==="h5")return createWebHistory(le)}}function getAuths(){return router.currentRoute.value.meta.auths}function hasAuth($){if(!$)return!1;const z=getAuths();return z?!!(C($)?z.includes($):wr($,z)):!1}function getTopMenu($=!1){var ie;const z=(ie=usePermissionStoreHook().wholeMenus[0])==null?void 0:ie.children[0];return $&&useMultiTagsStoreHook().handleTags("push",z),z}const usePermissionStore=defineStore({id:"pure-permission",state:()=>({constantMenus,wholeMenus:[],cachePageList:[]}),actions:{handleWholeMenus($){this.wholeMenus=filterNoPermissionTree(filterTree(ascending(this.constantMenus.concat($))))},cacheOperate({mode:$,name:z}){const ie=this.cachePageList.findIndex(le=>le===z);switch($){case"refresh":this.cachePageList=this.cachePageList.filter(le=>le!==z);break;case"add":this.cachePageList.push(z);break;case"delete":ie!==-1&&this.cachePageList.splice(ie,1);break}(()=>{let le=this.cachePageList.length;const ue=vr(useMultiTagsStoreHook().multiTags,"name");for(;le>0;)ue.findIndex(pe=>pe===this.cachePageList[le-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[le-1]),1),le--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function usePermissionStoreHook(){return usePermissionStore(store)}const Layout=()=>__vitePreload(()=>import("./index-b95a73ea.js"),["static/js/index-b95a73ea.js","static/js/menu-a4fe64fb.js","static/js/set-up-e6942411.js","static/js/home-filled-05cc090c.js","static/js/admin-line-92b9acda.js","static/js/git-branch-line-aa4cb38f.js","static/js/dark-a47106dd.js","static/js/epTheme-f7fc4ebb.js","static/js/app-a27157ff.js","static/js/hooks-3aae2893.js","static/js/search-cc37b371.js","static/js/check-3815600c.js","static/js/refresh-right-6177e75c.js","static/js/arrow-right-s-line-2977cc7e.js","static/js/back_top-a38086db.js","static/css/index-6bfc0cd3.css"]),remainingRouter=[{path:"/login",name:"Login",component:()=>__vitePreload(()=>import("./index-2abaa74c.js"),["static/js/index-2abaa74c.js","static/js/motion-35b32314.js","static/js/message-e10b411d.js","static/js/verifyCode-d5581e1c.js","static/js/phone.vue_vue_type_script_setup_true_lang-2d6e69ee.js","static/js/hooks-3aae2893.js","static/js/iphone-bcaa848c.js","static/js/index-a4286b33.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-10476f53.js","static/js/index-904bc39a.js","static/js/propTypes-3b04af70.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css","static/js/regist.vue_vue_type_script_setup_true_lang-bd50cfa3.js","static/js/lock-fill-34b71c6c.js","static/js/user-3-fill-70ba8c19.js","static/js/update.vue_vue_type_script_setup_true_lang-69c15c4d.js","static/js/dark-a47106dd.js","static/js/epTheme-f7fc4ebb.js","static/js/app-a27157ff.js","static/js/check-3815600c.js","static/css/index-90a3ebb5.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-25200bde.js"),[])}]},{path:"/empty",name:"Empty",component:()=>__vitePreload(()=>import("./index-b620d086.js"),["static/js/index-b620d086.js","static/css/index-18755a0a.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($=>{routes.push(modules$1[$].default)});const constantRoutes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))),constantMenus=ascending(routes.flat(1/0)).concat(...remainingRouter),remainingPaths=Object.keys(remainingRouter).map($=>remainingRouter[$].path),router=createRouter({history:getHistoryMode("hash"),routes:constantRoutes.concat(...remainingRouter),strict:!0,scrollBehavior($,z,ie){return new Promise(le=>{if(ie)return ie;if(z.meta.saveSrollTop){const ue=document.documentElement.scrollTop||document.body.scrollTop;le({left:0,top:ue})}})}});function resetRouter(){router.getRoutes().forEach($=>{const{name:z,meta:ie}=$;z&&router.hasRoute(z)&&(ie!=null&&ie.backstage)&&(router.removeRoute(z),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(($,z,ie)=>{var _e,Ce,$e;(_e=$.meta)!=null&&_e.keepAlive&&(handleAliveRoute($,"add"),(z.name===void 0||z.name==="Redirect")&&handleAliveRoute($));const le=nr().getItem(sessionKey);NProgress.start();const ue=gt($==null?void 0:$.name);ue||$.matched.some(xe=>{if(!xe.meta.title)return"";const Ie=getConfig().Title;Ie?document.title=`${transformI18n(xe.meta.title)} | ${Ie}`:document.title=transformI18n(xe.meta.title)});function pe(){whiteList.includes($.fullPath)?ie(z.fullPath):ie()}le?((Ce=$.meta)!=null&&Ce.roles&&!isOneOfArray(($e=$.meta)==null?void 0:$e.roles,le==null?void 0:le.roles)&&ie({path:"/error/403"}),VITE_HIDE_HOME==="true"&&$.fullPath==="/welcome"&&ie({path:"/error/404"}),z!=null&&z.name?ue?(Mt($==null?void 0:$.name),NProgress.done()):pe():(usePermissionStoreHook().wholeMenus.length===0&&$.path!=="/login"&&initRouter().then(xe=>{var Ie,Ve;if(!useMultiTagsStoreHook().getMultiTagsCache){const{path:ze}=$,Ue=findRouteByPath(ze,xe.options.routes[0].children);if(getTopMenu(!0),Ue&&((Ie=Ue.meta)!=null&&Ie.title))if(P$1(Ue.parentId)&&((Ve=Ue.meta)!=null&&Ve.backstage)){const{path:qe,name:Et,meta:Lt}=Ue.children[0];useMultiTagsStoreHook().handleTags("push",{path:qe,name:Et,meta:Lt})}else{const{path:qe,name:Et,meta:Lt}=Ue;useMultiTagsStoreHook().handleTags("push",{path:qe,name:Et,meta:Lt})}}xe.push($.fullPath)}),pe())):$.path!=="/login"?whiteList.indexOf($.path)!==-1?ie():ie({path:"/login"}):ie()});router.afterEach(()=>{NProgress.done()});function isObject$4($){return $!==null&&typeof $=="object"}function _defu($,z,ie=".",le){if(!isObject$4(z))return _defu($,{},ie,le);const ue=Object.assign({},z);for(const pe in $){if(pe==="__proto__"||pe==="constructor")continue;const _e=$[pe];_e!=null&&(le&&le(ue,pe,_e,ie)||(Array.isArray(_e)&&Array.isArray(ue[pe])?ue[pe]=[..._e,...ue[pe]]:isObject$4(_e)&&isObject$4(ue[pe])?ue[pe]=_defu(_e,ue[pe],(ie?`${ie}.`:"")+pe.toString(),le):ue[pe]=_e))}return ue}function createDefu($){return(...z)=>z.reduce((ie,le)=>_defu(ie,le,"",$),{})}const defu=createDefu(),defaultTimestep=1/60*1e3,getCurrentTime=typeof performance<"u"?()=>performance.now():()=>Date.now(),onNextFrame=typeof window<"u"?$=>window.requestAnimationFrame($):$=>setTimeout(()=>$(getCurrentTime()),defaultTimestep);function createRenderStep($){let z=[],ie=[],le=0,ue=!1,pe=!1;const _e=new WeakSet,Ce={schedule:($e,xe=!1,Ie=!1)=>{const Ve=Ie&&ue,ze=Ve?z:ie;return xe&&_e.add($e),ze.indexOf($e)===-1&&(ze.push($e),Ve&&ue&&(le=z.length)),$e},cancel:$e=>{const xe=ie.indexOf($e);xe!==-1&&ie.splice(xe,1),_e.delete($e)},process:$e=>{if(ue){pe=!0;return}if(ue=!0,[z,ie]=[ie,z],ie.length=0,le=z.length,le)for(let xe=0;xe<le;xe++){const Ie=z[xe];Ie($e),_e.has(Ie)&&(Ce.schedule(Ie),$())}ue=!1,pe&&(pe=!1,Ce.process($e))}};return Ce}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(($,z)=>($[z]=createRenderStep(()=>runNextFrame=!0),$),{}),sync=stepsOrder.reduce(($,z)=>{const ie=steps[z];return $[z]=(le,ue=!1,pe=!1)=>(runNextFrame||startLoop(),ie.schedule(le,ue,pe)),$},{}),cancelSync=stepsOrder.reduce(($,z)=>($[z]=steps[z].cancel,$),{});stepsOrder.reduce(($,z)=>($[z]=()=>steps[z].process(frame),$),{});const processStep=$=>steps[$].process(frame),processFrame=$=>{runNextFrame=!1,frame.delta=useDefaultElapsed?defaultTimestep:Math.max(Math.min($-frame.timestamp,maxElapsed),1),frame.timestamp=$,isProcessing=!0,stepsOrder.forEach(processStep),isProcessing=!1,runNextFrame&&(useDefaultElapsed=!1,onNextFrame(processFrame))},startLoop=()=>{runNextFrame=!0,useDefaultElapsed=!0,isProcessing||onNextFrame(processFrame)},getFrameData=()=>frame;function __rest($,z){var ie={};for(var le in $)Object.prototype.hasOwnProperty.call($,le)&&z.indexOf(le)<0&&(ie[le]=$[le]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,le=Object.getOwnPropertySymbols($);ue<le.length;ue++)z.indexOf(le[ue])<0&&Object.prototype.propertyIsEnumerable.call($,le[ue])&&(ie[le[ue]]=$[le[ue]]);return ie}var warning=function(){},invariant=function(){};const clamp$2=($,z,ie)=>Math.min(Math.max(ie,$),z),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:$=800,bounce:z=.25,velocity:ie=0,mass:le=1}){let ue,pe;warning($<=maxDuration*1e3);let _e=1-z;_e=clamp$2(minDamping,maxDamping,_e),$=clamp$2(minDuration,maxDuration,$/1e3),_e<1?(ue=xe=>{const Ie=xe*_e,Ve=Ie*$,ze=Ie-ie,Ue=calcAngularFreq(xe,_e),qe=Math.exp(-Ve);return safeMin-ze/Ue*qe},pe=xe=>{const Ve=xe*_e*$,ze=Ve*ie+ie,Ue=Math.pow(_e,2)*Math.pow(xe,2)*$,qe=Math.exp(-Ve),Et=calcAngularFreq(Math.pow(xe,2),_e);return(-ue(xe)+safeMin>0?-1:1)*((ze-Ue)*qe)/Et}):(ue=xe=>{const Ie=Math.exp(-xe*$),Ve=(xe-ie)*$+1;return-safeMin+Ie*Ve},pe=xe=>{const Ie=Math.exp(-xe*$),Ve=(ie-xe)*($*$);return Ie*Ve});const Ce=5/$,$e=approximateRoot(ue,pe,Ce);if($=$*1e3,isNaN($e))return{stiffness:100,damping:10,duration:$};{const xe=Math.pow($e,2)*le;return{stiffness:xe,damping:_e*2*Math.sqrt(le*xe),duration:$}}}const rootIterations=12;function approximateRoot($,z,ie){let le=ie;for(let ue=1;ue<rootIterations;ue++)le=le-$(le)/z(le);return le}function calcAngularFreq($,z){return $*Math.sqrt(1-z*z)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType($,z){return z.some(ie=>$[ie]!==void 0)}function getSpringOptions($){let z=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},$);if(!isSpringType($,physicsKeys)&&isSpringType($,durationKeys)){const ie=findSpring($);z=Object.assign(Object.assign(Object.assign({},z),ie),{velocity:0,mass:1}),z.isResolvedFromDuration=!0}return z}function spring($){var{from:z=0,to:ie=1,restSpeed:le=2,restDelta:ue}=$,pe=__rest($,["from","to","restSpeed","restDelta"]);const _e={done:!1,value:z};let{stiffness:Ce,damping:$e,mass:xe,velocity:Ie,duration:Ve,isResolvedFromDuration:ze}=getSpringOptions(pe),Ue=zero,qe=zero;function Et(){const Lt=Ie?-(Ie/1e3):0,hn=ie-z,vn=$e/(2*Math.sqrt(Ce*xe)),_n=Math.sqrt(Ce/xe)/1e3;if(ue===void 0&&(ue=Math.min(Math.abs(ie-z)/100,.4)),vn<1){const bn=calcAngularFreq(_n,vn);Ue=Cn=>{const Sn=Math.exp(-vn*_n*Cn);return ie-Sn*((Lt+vn*_n*hn)/bn*Math.sin(bn*Cn)+hn*Math.cos(bn*Cn))},qe=Cn=>{const Sn=Math.exp(-vn*_n*Cn);return vn*_n*Sn*(Math.sin(bn*Cn)*(Lt+vn*_n*hn)/bn+hn*Math.cos(bn*Cn))-Sn*(Math.cos(bn*Cn)*(Lt+vn*_n*hn)-bn*hn*Math.sin(bn*Cn))}}else if(vn===1)Ue=bn=>ie-Math.exp(-_n*bn)*(hn+(Lt+_n*hn)*bn);else{const bn=_n*Math.sqrt(vn*vn-1);Ue=Cn=>{const Sn=Math.exp(-vn*_n*Cn),En=Math.min(bn*Cn,300);return ie-Sn*((Lt+vn*_n*hn)*Math.sinh(En)+bn*hn*Math.cosh(En))/bn}}}return Et(),{next:Lt=>{const hn=Ue(Lt);if(ze)_e.done=Lt>=Ve;else{const vn=qe(Lt)*1e3,_n=Math.abs(vn)<=le,bn=Math.abs(ie-hn)<=ue;_e.done=_n&&bn}return _e.value=_e.done?ie:hn,_e},flipTarget:()=>{Ie=-Ie,[z,ie]=[ie,z],Et()}}}spring.needsInterpolation=($,z)=>typeof $=="string"||typeof z=="string";const zero=$=>0,progress=($,z,ie)=>{const le=z-$;return le===0?1:(ie-$)/le},mix=($,z,ie)=>-ie*$+ie*z+$,clamp$1=($,z)=>ie=>Math.max(Math.min(ie,z),$),sanitize=$=>$%1?Number($.toFixed(5)):$,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($){return typeof $=="string"}const number$1={test:$=>typeof $=="number",parse:parseFloat,transform:$=>$},alpha=Object.assign(Object.assign({},number$1),{transform:clamp$1(0,1)}),scale$3=Object.assign(Object.assign({},number$1),{default:1}),createUnitType=$=>({test:z=>isString$1(z)&&z.endsWith($)&&z.split(" ").length===1,parse:parseFloat,transform:z=>`${z}${$}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),progressPercentage=Object.assign(Object.assign({},percent),{parse:$=>percent.parse($)/100,transform:$=>percent.transform($*100)}),isColorString=($,z)=>ie=>!!(isString$1(ie)&&singleColorRegex.test(ie)&&ie.startsWith($)||z&&Object.prototype.hasOwnProperty.call(ie,z)),splitColor=($,z,ie)=>le=>{if(!isString$1(le))return le;const[ue,pe,_e,Ce]=le.match(floatRegex);return{[$]:parseFloat(ue),[z]:parseFloat(pe),[ie]:parseFloat(_e),alpha:Ce!==void 0?parseFloat(Ce):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:$,saturation:z,lightness:ie,alpha:le=1})=>"hsla("+Math.round($)+", "+percent.transform(sanitize(z))+", "+percent.transform(sanitize(ie))+", "+sanitize(alpha.transform(le))+")"},clampRgbUnit=clamp$1(0,255),rgbUnit=Object.assign(Object.assign({},number$1),{transform:$=>Math.round(clampRgbUnit($))}),rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:$,green:z,blue:ie,alpha:le=1})=>"rgba("+rgbUnit.transform($)+", "+rgbUnit.transform(z)+", "+rgbUnit.transform(ie)+", "+sanitize(alpha.transform(le))+")"};function parseHex($){let z="",ie="",le="",ue="";return $.length>5?(z=$.substr(1,2),ie=$.substr(3,2),le=$.substr(5,2),ue=$.substr(7,2)):(z=$.substr(1,1),ie=$.substr(2,1),le=$.substr(3,1),ue=$.substr(4,1),z+=z,ie+=ie,le+=le,ue+=ue),{red:parseInt(z,16),green:parseInt(ie,16),blue:parseInt(le,16),alpha:ue?parseInt(ue,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},color$1={test:$=>rgba.test($)||hex.test($)||hsla.test($),parse:$=>rgba.test($)?rgba.parse($):hsla.test($)?hsla.parse($):hex.parse($),transform:$=>isString$1($)?$:$.hasOwnProperty("red")?rgba.transform($):hsla.transform($)},colorToken="${c}",numberToken="${n}";function test($){var z,ie,le,ue;return isNaN($)&&isString$1($)&&((ie=(z=$.match(floatRegex))===null||z===void 0?void 0:z.length)!==null&&ie!==void 0?ie:0)+((ue=(le=$.match(colorRegex))===null||le===void 0?void 0:le.length)!==null&&ue!==void 0?ue:0)>0}function analyse$1($){typeof $=="number"&&($=`${$}`);const z=[];let ie=0;const le=$.match(colorRegex);le&&(ie=le.length,$=$.replace(colorRegex,colorToken),z.push(...le.map(color$1.parse)));const ue=$.match(floatRegex);return ue&&($=$.replace(floatRegex,numberToken),z.push(...ue.map(number$1.parse))),{values:z,numColors:ie,tokenised:$}}function parse$2($){return analyse$1($).values}function createTransformer($){const{values:z,numColors:ie,tokenised:le}=analyse$1($),ue=z.length;return pe=>{let _e=le;for(let Ce=0;Ce<ue;Ce++)_e=_e.replace(Ce<ie?colorToken:numberToken,Ce<ie?color$1.transform(pe[Ce]):sanitize(pe[Ce]));return _e}}const convertNumbersToZero=$=>typeof $=="number"?0:$;function getAnimatableNone$1($){const z=parse$2($);return createTransformer($)(z.map(convertNumbersToZero))}const complex={test,parse:parse$2,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter($){let[z,ie]=$.slice(0,-1).split("(");if(z==="drop-shadow")return $;const[le]=ie.match(floatRegex)||[];if(!le)return $;const ue=ie.replace(le,"");let pe=maxDefaults.has(z)?1:0;return le!==ie&&(pe*=100),z+"("+pe+ue+")"}const functionRegex=/([a-z-]*)\(.*?\)/g,filter$1=Object.assign(Object.assign({},complex),{getAnimatableNone:$=>{const z=$.match(functionRegex);return z?z.map(applyDefaultFilter).join(" "):$}});function hueToRgb($,z,ie){return ie<0&&(ie+=1),ie>1&&(ie-=1),ie<1/6?$+(z-$)*6*ie:ie<1/2?z:ie<2/3?$+(z-$)*(2/3-ie)*6:$}function hslaToRgba({hue:$,saturation:z,lightness:ie,alpha:le}){$/=360,z/=100,ie/=100;let ue=0,pe=0,_e=0;if(!z)ue=pe=_e=ie;else{const Ce=ie<.5?ie*(1+z):ie+z-ie*z,$e=2*ie-Ce;ue=hueToRgb($e,Ce,$+1/3),pe=hueToRgb($e,Ce,$),_e=hueToRgb($e,Ce,$-1/3)}return{red:Math.round(ue*255),green:Math.round(pe*255),blue:Math.round(_e*255),alpha:le}}const mixLinearColor=($,z,ie)=>{const le=$*$,ue=z*z;return Math.sqrt(Math.max(0,ie*(ue-le)+le))},colorTypes=[hex,rgba,hsla],getColorType=$=>colorTypes.find(z=>z.test($)),mixColor=($,z)=>{let ie=getColorType($),le=getColorType(z),ue=ie.parse($),pe=le.parse(z);ie===hsla&&(ue=hslaToRgba(ue),ie=rgba),le===hsla&&(pe=hslaToRgba(pe),le=rgba);const _e=Object.assign({},ue);return Ce=>{for(const $e in _e)$e!=="alpha"&&(_e[$e]=mixLinearColor(ue[$e],pe[$e],Ce));return _e.alpha=mix(ue.alpha,pe.alpha,Ce),ie.transform(_e)}},isNum=$=>typeof $=="number",combineFunctions=($,z)=>ie=>z($(ie)),pipe=(...$)=>$.reduce(combineFunctions);function getMixer($,z){return isNum($)?ie=>mix($,z,ie):color$1.test($)?mixColor($,z):mixComplex($,z)}const mixArray=($,z)=>{const ie=[...$],le=ie.length,ue=$.map((pe,_e)=>getMixer(pe,z[_e]));return pe=>{for(let _e=0;_e<le;_e++)ie[_e]=ue[_e](pe);return ie}},mixObject=($,z)=>{const ie=Object.assign(Object.assign({},$),z),le={};for(const ue in ie)$[ue]!==void 0&&z[ue]!==void 0&&(le[ue]=getMixer($[ue],z[ue]));return ue=>{for(const pe in le)ie[pe]=le[pe](ue);return ie}};function analyse($){const z=complex.parse($),ie=z.length;let le=0,ue=0,pe=0;for(let _e=0;_e<ie;_e++)le||typeof z[_e]=="number"?le++:z[_e].hue!==void 0?pe++:ue++;return{parsed:z,numNumbers:le,numRGB:ue,numHSL:pe}}const mixComplex=($,z)=>{const ie=complex.createTransformer(z),le=analyse($),ue=analyse(z);return le.numHSL===ue.numHSL&&le.numRGB===ue.numRGB&&le.numNumbers>=ue.numNumbers?pipe(mixArray(le.parsed,ue.parsed),ie):_e=>`${_e>0?z:$}`},mixNumber=($,z)=>ie=>mix($,z,ie);function detectMixerFactory($){if(typeof $=="number")return mixNumber;if(typeof $=="string")return color$1.test($)?mixColor:mixComplex;if(Array.isArray($))return mixArray;if(typeof $=="object")return mixObject}function createMixers($,z,ie){const le=[],ue=ie||detectMixerFactory($[0]),pe=$.length-1;for(let _e=0;_e<pe;_e++){let Ce=ue($[_e],$[_e+1]);if(z){const $e=Array.isArray(z)?z[_e]:z;Ce=pipe($e,Ce)}le.push(Ce)}return le}function fastInterpolate([$,z],[ie]){return le=>ie(progress($,z,le))}function slowInterpolate($,z){const ie=$.length,le=ie-1;return ue=>{let pe=0,_e=!1;if(ue<=$[0]?_e=!0:ue>=$[le]&&(pe=le-1,_e=!0),!_e){let $e=1;for(;$e<ie&&!($[$e]>ue||$e===le);$e++);pe=$e-1}const Ce=progress($[pe],$[pe+1],ue);return z[pe](Ce)}}function interpolate($,z,{clamp:ie=!0,ease:le,mixer:ue}={}){const pe=$.length;invariant(pe===z.length),invariant(!le||!Array.isArray(le)||le.length===pe-1),$[0]>$[pe-1]&&($=[].concat($),z=[].concat(z),$.reverse(),z.reverse());const _e=createMixers(z,le,ue),Ce=pe===2?fastInterpolate($,_e):slowInterpolate($,_e);return ie?$e=>Ce(clamp$2($[0],$[pe-1],$e)):Ce}const reverseEasing=$=>z=>1-$(1-z),mirrorEasing=$=>z=>z<=.5?$(2*z)/2:(2-$(2*(1-z)))/2,createExpoIn=$=>z=>Math.pow(z,$),createBackIn=$=>z=>z*z*(($+1)*z-$),createAnticipate=$=>{const z=createBackIn($);return ie=>(ie*=2)<1?.5*z(ie):.5*(2-Math.pow(2,-10*(ie-1)))},DEFAULT_OVERSHOOT_STRENGTH=1.525,BOUNCE_FIRST_THRESHOLD=4/11,BOUNCE_SECOND_THRESHOLD=8/11,BOUNCE_THIRD_THRESHOLD=9/10,linear=$=>$,easeIn=createExpoIn(2),easeOut=reverseEasing(easeIn),easeInOut=mirrorEasing(easeIn),circIn=$=>1-Math.sin(Math.acos($)),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=$=>{if($===1||$===0)return $;const z=$*$;return $<BOUNCE_FIRST_THRESHOLD?7.5625*z:$<BOUNCE_SECOND_THRESHOLD?9.075*z-9.9*$+3.4:$<BOUNCE_THIRD_THRESHOLD?ca*z-cb*$+cc:10.8*$*$-20.52*$+10.72},bounceIn=reverseEasing(bounceOut),bounceInOut=$=>$<.5?.5*(1-bounceOut(1-$*2)):.5*bounceOut($*2-1)+.5;function defaultEasing($,z){return $.map(()=>z||easeInOut).splice(0,$.length-1)}function defaultOffset($){const z=$.length;return $.map((ie,le)=>le!==0?le/(z-1):0)}function convertOffsetToTimes($,z){return $.map(ie=>ie*z)}function keyframes$1({from:$=0,to:z=1,ease:ie,offset:le,duration:ue=300}){const pe={done:!1,value:$},_e=Array.isArray(z)?z:[$,z],Ce=convertOffsetToTimes(le&&le.length===_e.length?le:defaultOffset(_e),ue);function $e(){return interpolate(Ce,_e,{ease:Array.isArray(ie)?ie:defaultEasing(_e,ie)})}let xe=$e();return{next:Ie=>(pe.value=xe(Ie),pe.done=Ie>=ue,pe),flipTarget:()=>{_e.reverse(),xe=$e()}}}function decay({velocity:$=0,from:z=0,power:ie=.8,timeConstant:le=350,restDelta:ue=.5,modifyTarget:pe}){const _e={done:!1,value:z};let Ce=ie*$;const $e=z+Ce,xe=pe===void 0?$e:pe($e);return xe!==$e&&(Ce=xe-z),{next:Ie=>{const Ve=-Ce*Math.exp(-Ie/le);return _e.done=!(Ve>ue||Ve<-ue),_e.value=_e.done?xe:xe+Ve,_e},flipTarget:()=>{}}}const types={keyframes:keyframes$1,spring,decay};function detectAnimationFromOptions($){if(Array.isArray($.to))return keyframes$1;if(types[$.type])return types[$.type];const z=new Set(Object.keys($));return z.has("ease")||z.has("duration")&&!z.has("dampingRatio")?keyframes$1:z.has("dampingRatio")||z.has("stiffness")||z.has("mass")||z.has("damping")||z.has("restSpeed")||z.has("restDelta")?spring:keyframes$1}function loopElapsed($,z,ie=0){return $-z-ie}function reverseElapsed($,z,ie=0,le=!0){return le?loopElapsed(z+-$,z,ie):z-($-z)+ie}function hasRepeatDelayElapsed($,z,ie,le){return le?$>=z+ie:$<=-ie}const framesync=$=>{const z=({delta:ie})=>$(ie);return{start:()=>sync.update(z,!0),stop:()=>cancelSync.update(z)}};function animate($){var z,ie,{from:le,autoplay:ue=!0,driver:pe=framesync,elapsed:_e=0,repeat:Ce=0,repeatType:$e="loop",repeatDelay:xe=0,onPlay:Ie,onStop:Ve,onComplete:ze,onRepeat:Ue,onUpdate:qe}=$,Et=__rest($,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:Lt}=Et,hn,vn=0,_n=Et.duration,bn,Cn=!1,Sn=!0,En;const wn=detectAnimationFromOptions(Et);!((ie=(z=wn).needsInterpolation)===null||ie===void 0)&&ie.call(z,le,Lt)&&(En=interpolate([0,100],[le,Lt],{clamp:!1}),le=0,Lt=100);const Tn=wn(Object.assign(Object.assign({},Et),{from:le,to:Lt}));function kn(){vn++,$e==="reverse"?(Sn=vn%2===0,_e=reverseElapsed(_e,_n,xe,Sn)):(_e=loopElapsed(_e,_n,xe),$e==="mirror"&&Tn.flipTarget()),Cn=!1,Ue&&Ue()}function xn(){hn.stop(),ze&&ze()}function Pn(In){if(Sn||(In=-In),_e+=In,!Cn){const Fn=Tn.next(Math.max(0,_e));bn=Fn.value,En&&(bn=En(bn)),Cn=Sn?Fn.done:_e<=0}qe==null||qe(bn),Cn&&(vn===0&&(_n??(_n=_e)),vn<Ce?hasRepeatDelayElapsed(_e,_n,xe,Sn)&&kn():xn())}function An(){Ie==null||Ie(),hn=pe(Pn),hn.start()}return ue&&An(),{stop:()=>{Ve==null||Ve(),hn.stop()}}}function velocityPerSecond($,z){return z?$*(1e3/z):0}function inertia({from:$=0,velocity:z=0,min:ie,max:le,power:ue=.8,timeConstant:pe=750,bounceStiffness:_e=500,bounceDamping:Ce=10,restDelta:$e=1,modifyTarget:xe,driver:Ie,onUpdate:Ve,onComplete:ze,onStop:Ue}){let qe;function Et(_n){return ie!==void 0&&_n<ie||le!==void 0&&_n>le}function Lt(_n){return ie===void 0?le:le===void 0||Math.abs(ie-_n)<Math.abs(le-_n)?ie:le}function hn(_n){qe==null||qe.stop(),qe=animate(Object.assign(Object.assign({},_n),{driver:Ie,onUpdate:bn=>{var Cn;Ve==null||Ve(bn),(Cn=_n.onUpdate)===null||Cn===void 0||Cn.call(_n,bn)},onComplete:ze,onStop:Ue}))}function vn(_n){hn(Object.assign({type:"spring",stiffness:_e,damping:Ce,restDelta:$e},_n))}if(Et($))vn({from:$,velocity:z,to:Lt($)});else{let _n=ue*z+$;typeof xe<"u"&&(_n=xe(_n));const bn=Lt(_n),Cn=bn===ie?-1:1;let Sn,En;const wn=Tn=>{Sn=En,En=Tn,z=velocityPerSecond(Tn-Sn,getFrameData().delta),(Cn===1&&Tn>bn||Cn===-1&&Tn<bn)&&vn({from:Tn,to:bn,velocity:z})};hn({type:"decay",from:$,velocity:z,timeConstant:pe,power:ue,restDelta:$e,modifyTarget:xe,onUpdate:Et(_n)?wn:void 0})}return{stop:()=>qe==null?void 0:qe.stop()}}const a=($,z)=>1-3*z+3*$,b=($,z)=>3*z-6*$,c$1=$=>3*$,calcBezier=($,z,ie)=>((a(z,ie)*$+b(z,ie))*$+c$1(z))*$,getSlope=($,z,ie)=>3*a(z,ie)*$*$+2*b(z,ie)*$+c$1(z),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide($,z,ie,le,ue){let pe,_e,Ce=0;do _e=z+(ie-z)/2,pe=calcBezier(_e,le,ue)-$,pe>0?ie=_e:z=_e;while(Math.abs(pe)>subdivisionPrecision&&++Ce<subdivisionMaxIterations);return _e}const newtonIterations=8,newtonMinSlope=.001;function newtonRaphsonIterate($,z,ie,le){for(let ue=0;ue<newtonIterations;++ue){const pe=getSlope(z,ie,le);if(pe===0)return z;const _e=calcBezier(z,ie,le)-$;z-=_e/pe}return z}const kSplineTableSize=11,kSampleStepSize=1/(kSplineTableSize-1);function cubicBezier($,z,ie,le){if($===z&&ie===le)return linear;const ue=new Float32Array(kSplineTableSize);for(let _e=0;_e<kSplineTableSize;++_e)ue[_e]=calcBezier(_e*kSampleStepSize,$,ie);function pe(_e){let Ce=0,$e=1;const xe=kSplineTableSize-1;for(;$e!==xe&&ue[$e]<=_e;++$e)Ce+=kSampleStepSize;--$e;const Ie=(_e-ue[$e])/(ue[$e+1]-ue[$e]),Ve=Ce+Ie*kSampleStepSize,ze=getSlope(Ve,$,ie);return ze>=newtonMinSlope?newtonRaphsonIterate(_e,Ve,$,ie):ze===0?Ve:binarySubdivide(_e,Ce,Ce+kSampleStepSize,$,ie)}return _e=>_e===0||_e===1?_e:calcBezier(pe(_e),z,le)}const motionState={};class SubscriptionManager{constructor(){this.subscriptions=new Set}add(z){return this.subscriptions.add(z),()=>this.subscriptions.delete(z)}notify(z,ie,le){if(this.subscriptions.size)for(const ue of this.subscriptions)ue(z,ie,le)}clear(){this.subscriptions.clear()}}function isFloat($){return!isNaN(parseFloat($))}class MotionValue{constructor(z){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new SubscriptionManager,this.canTrackVelocity=!1,this.updateAndNotify=ie=>{this.prev=this.current,this.current=ie;const{delta:le,timestamp:ue}=getFrameData();this.lastUpdated!==ue&&(this.timeDelta=le,this.lastUpdated=ue),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:ie})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),ie!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=z,this.canTrackVelocity=isFloat(this.current)}onChange(z){return this.updateSubscribers.add(z)}clearListeners(){this.updateSubscribers.clear()}set(z){this.updateAndNotify(z)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(z){return this.stop(),new Promise(ie=>{const{stop:le}=z(ie);this.stopAnimation=le}).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($){return new MotionValue($)}const{isArray:isArray$2}=Array;function useMotionValues(){const $=ref({}),z=le=>{const ue=pe=>{$.value[pe]&&($.value[pe].stop(),$.value[pe].destroy(),delete $.value[pe])};le?isArray$2(le)?le.forEach(ue):ue(le):Object.keys($.value).forEach(ue)},ie=(le,ue,pe)=>{if($.value[le])return $.value[le];const _e=getMotionValue(ue);return _e.onChange(Ce=>pe[le]=Ce),$.value[le]=_e,_e};return tryOnUnmounted(z),{motionValues:$,get:ie,stop:z}}function isKeyframesTarget($){return Array.isArray($)}function underDampedSpring(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function criticallyDampedSpring($){return{type:"spring",stiffness:550,damping:$===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function overDampedSpring($){return{type:"spring",stiffness:550,damping:$===0?100:30,restDelta:.01,restSpeed:10}}function linearTween(){return{type:"keyframes",ease:"linear",duration:300}}function keyframes($){return{type:"keyframes",duration:800,values:$}}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($,z){let ie;return isKeyframesTarget(z)?ie=keyframes:ie=defaultTransitions[$]||defaultTransitions.default,{to:z,...ie(z)}}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=$=>valueTypes[$];function getValueAsType($,z){return z&&typeof $=="number"&&z.transform?z.transform($):$}function getAnimatableNone($,z){let ie=getValueType($);return ie!==filter$1&&(ie=complex),ie.getAnimatableNone?ie.getAnimatableNone(z):void 0}const easingLookup={linear,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate,bounceIn,bounceInOut,bounceOut};function easingDefinitionToFunction($){if(Array.isArray($)){const[z,ie,le,ue]=$;return cubicBezier(z,ie,le,ue)}else if(typeof $=="string")return easingLookup[$];return $}function isEasingArray($){return Array.isArray($)&&typeof $[0]!="number"}function isAnimatable($,z){return $==="zIndex"?!1:!!(typeof z=="number"||Array.isArray(z)||typeof z=="string"&&complex.test(z)&&!z.startsWith("url("))}function hydrateKeyframes($){return Array.isArray($.to)&&$.to[0]===null&&($.to=[...$.to],$.to[0]=$.from),$}function convertTransitionToAnimationOptions({ease:$,times:z,delay:ie,...le}){const ue={...le};return z&&(ue.offset=z),$&&(ue.ease=isEasingArray($)?$.map(easingDefinitionToFunction):easingDefinitionToFunction($)),ie&&(ue.elapsed=-ie),ue}function getPopmotionAnimationOptions($,z,ie){return Array.isArray(z.to)&&($.duration||($.duration=800)),hydrateKeyframes(z),isTransitionDefined($)||($={...$,...getDefaultTransition(ie,z.to)}),{...z,...convertTransitionToAnimationOptions($)}}function isTransitionDefined({delay:$,repeat:z,repeatType:ie,repeatDelay:le,from:ue,...pe}){return!!Object.keys(pe).length}function getValueTransition($,z){return $[z]||$.default||$}function getAnimation($,z,ie,le,ue){const pe=getValueTransition(le,$);let _e=pe.from===null||pe.from===void 0?z.get():pe.from;const Ce=isAnimatable($,ie);_e==="none"&&Ce&&typeof ie=="string"&&(_e=getAnimatableNone($,ie));const $e=isAnimatable($,_e);function xe(Ve){const ze={from:_e,to:ie,velocity:le.velocity?le.velocity:z.getVelocity(),onUpdate:Ue=>z.set(Ue)};return pe.type==="inertia"||pe.type==="decay"?inertia({...ze,...pe}):animate({...getPopmotionAnimationOptions(pe,ze,$),onUpdate:Ue=>{ze.onUpdate(Ue),pe.onUpdate&&pe.onUpdate(Ue)},onComplete:()=>{le.onComplete&&le.onComplete(),ue&&ue(),Ve&&Ve()}})}function Ie(Ve){return z.set(ie),le.onComplete&&le.onComplete(),ue&&ue(),Ve&&Ve(),{stop:()=>{}}}return!$e||!Ce||pe.type===!1?Ie:xe}function useMotionTransitions(){const{motionValues:$,stop:z,get:ie}=useMotionValues();return{motionValues:$,stop:z,push:(ue,pe,_e,Ce={},$e)=>{const xe=_e[ue],Ie=ie(ue,xe,_e);if(Ce&&Ce.immediate){Ie.set(pe);return}const Ve=getAnimation(ue,Ie,pe,Ce,$e);Ie.start(Ve)}}}function useMotionControls($,z={},{motionValues:ie,push:le,stop:ue}=useMotionTransitions()){const pe=unref(z),_e=ref(!1);watch(ie,Ve=>{_e.value=Object.values(Ve).filter(ze=>ze.isAnimating()).length>0},{immediate:!0,deep:!0});const Ce=Ve=>{if(!pe||!pe[Ve])throw new Error(`The variant ${Ve} does not exist.`);return pe[Ve]},$e=Ve=>(typeof Ve=="string"&&(Ve=Ce(Ve)),Promise.all(Object.entries(Ve).map(([ze,Ue])=>{if(ze!=="transition")return new Promise(qe=>le(ze,Ue,$,Ve.transition||getDefaultTransition(ze,Ve[ze]),qe))}).filter(Boolean)));return{isAnimating:_e,apply:$e,set:Ve=>{const ze=isObject$7(Ve)?Ve:Ce(Ve);Object.entries(ze).forEach(([Ue,qe])=>{Ue!=="transition"&&le(Ue,qe,$,{immediate:!0})})},leave:async Ve=>{let ze;if(pe&&(pe.leave&&(ze=pe.leave),!pe.leave&&pe.initial&&(ze=pe.initial)),!ze){Ve();return}await $e(ze),Ve()},stop:ue}}const isBrowser=typeof window<"u",supportsPointerEvents=()=>isBrowser&&window.onpointerdown===null,supportsTouchEvents=()=>isBrowser&&window.ontouchstart===null,supportsMouseEvents=()=>isBrowser&&window.onmousedown===null;function registerEventListeners({target:$,state:z,variants:ie,apply:le}){const ue=unref(ie),pe=ref(!1),_e=ref(!1),Ce=ref(!1),$e=computed(()=>{let Ie=[];return ue&&(ue.hovered&&(Ie=[...Ie,...Object.keys(ue.hovered)]),ue.tapped&&(Ie=[...Ie,...Object.keys(ue.tapped)]),ue.focused&&(Ie=[...Ie,...Object.keys(ue.focused)])),Ie}),xe=computed(()=>{const Ie={};Object.assign(Ie,z.value),pe.value&&ue.hovered&&Object.assign(Ie,ue.hovered),_e.value&&ue.tapped&&Object.assign(Ie,ue.tapped),Ce.value&&ue.focused&&Object.assign(Ie,ue.focused);for(const Ve in Ie)$e.value.includes(Ve)||delete Ie[Ve];return Ie});ue.hovered&&(useEventListener($,"mouseenter",()=>pe.value=!0),useEventListener($,"mouseleave",()=>{pe.value=!1,_e.value=!1}),useEventListener($,"mouseout",()=>{pe.value=!1,_e.value=!1})),ue.tapped&&(supportsMouseEvents()&&(useEventListener($,"mousedown",()=>_e.value=!0),useEventListener($,"mouseup",()=>_e.value=!1)),supportsPointerEvents()&&(useEventListener($,"pointerdown",()=>_e.value=!0),useEventListener($,"pointerup",()=>_e.value=!1)),supportsTouchEvents()&&(useEventListener($,"touchstart",()=>_e.value=!0),useEventListener($,"touchend",()=>_e.value=!1))),ue.focused&&(useEventListener($,"focus",()=>Ce.value=!0),useEventListener($,"blur",()=>Ce.value=!1)),watch(xe,le)}function registerLifeCycleHooks({set:$,target:z,variants:ie,variant:le}){const ue=unref(ie);watch(()=>z,()=>{ue&&(ue.initial&&$("initial"),ue.enter&&(le.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:$,apply:z}){watch($,ie=>{ie&&z(ie)},{immediate:!0})}function registerVisibilityHooks({target:$,variants:z,variant:ie}){const le=unref(z);le&&(le.visible||le.visibleOnce)&&useIntersectionObserver($,([{isIntersecting:ue}])=>{le.visible?ue?ie.value="visible":ie.value="initial":le.visibleOnce&&(ue&&ie.value!=="visibleOnce"?ie.value="visibleOnce":ie.value||(ie.value="initial"))})}function useMotionFeatures($,z={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){z.lifeCycleHooks&®isterLifeCycleHooks($),z.syncVariants&®isterVariantsSync($),z.visibilityHooks&®isterVisibilityHooks($),z.eventListeners&®isterEventListeners($)}function reactiveStyle($={}){const z=reactive({...$}),ie=ref({});return watch(z,()=>{const le={};for(const[ue,pe]of Object.entries(z)){const _e=getValueType(ue),Ce=getValueAsType(pe,_e);le[ue]=Ce}ie.value=le},{immediate:!0,deep:!0}),{state:z,style:ie}}function usePermissiveTarget($,z){watch(()=>unrefElement($),ie=>{ie&&z(ie)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform($={},z=!0){const ie=reactive({...$}),le=ref("");return watch(ie,ue=>{let pe="",_e=!1;if(z&&(ue.x||ue.y||ue.z)){const Ce=[ue.x||0,ue.y||0,ue.z||0].map(px.transform).join(",");pe+=`translate3d(${Ce}) `,_e=!0}for(const[Ce,$e]of Object.entries(ue)){if(z&&(Ce==="x"||Ce==="y"||Ce==="z"))continue;const xe=getValueType(Ce),Ie=getValueAsType($e,xe);pe+=`${translateAlias[Ce]||Ce}(${Ie}) `}z&&!_e&&(pe+="translateZ(0px) "),le.value=pe.trim()},{immediate:!0,deep:!0}),{state:ie,transform:le}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach($=>{transformAxes.forEach(z=>{const ie=$+z;transformProps.push(ie)})});const transformPropSet=new Set(transformProps);function isTransformProp($){return transformPropSet.has($)}const transformOriginProps=new Set(["originX","originY","originZ"]);function isTransformOriginProp($){return transformOriginProps.has($)}function splitValues($){const z={},ie={};return Object.entries($).forEach(([le,ue])=>{isTransformProp(le)||isTransformOriginProp(le)?z[le]=ue:ie[le]=ue}),{transform:z,style:ie}}function variantToStyle($){const{transform:z,style:ie}=splitValues($),{transform:le}=reactiveTransform(z),{style:ue}=reactiveStyle(ie);return le.value&&(ue.value.transform=le.value),ue.value}function useElementStyle($,z){let ie,le;const{state:ue,style:pe}=reactiveStyle();return usePermissiveTarget($,_e=>{le=_e;for(const Ce of Object.keys(valueTypes))_e.style[Ce]===null||_e.style[Ce]===""||isTransformProp(Ce)||isTransformOriginProp(Ce)||(ue[Ce]=_e.style[Ce]);ie&&Object.entries(ie).forEach(([Ce,$e])=>_e.style[Ce]=$e),z&&z(ue)}),watch(pe,_e=>{if(!le){ie=_e;return}for(const Ce in _e)le.style[Ce]=_e[Ce]},{immediate:!0}),{style:ue}}function parseTransform($){const z=$.trim().split(/\) |\)/);if(z.length===1)return{};const ie=le=>le.endsWith("px")||le.endsWith("deg")?parseFloat(le):isNaN(Number(le))?Number(le):le;return z.reduce((le,ue)=>{if(!ue)return le;const[pe,_e]=ue.split("("),$e=_e.split(",").map(Ie=>ie(Ie.endsWith(")")?Ie.replace(")",""):Ie.trim())),xe=$e.length===1?$e[0]:$e;return{...le,[pe]:xe}},{})}function stateFromTransform($,z){Object.entries(parseTransform(z)).forEach(([ie,le])=>{const ue=["x","y","z"];if(ie==="translate3d"){if(le===0){ue.forEach(pe=>$[pe]=0);return}le.forEach((pe,_e)=>$[ue[_e]]=pe);return}if(le=parseFloat(le),ie==="translateX"){$.x=le;return}if(ie==="translateY"){$.y=le;return}if(ie==="translateZ"){$.z=le;return}$[ie]=le})}function useElementTransform($,z){let ie,le;const{state:ue,transform:pe}=reactiveTransform();return usePermissiveTarget($,_e=>{le=_e,_e.style.transform&&stateFromTransform(ue,_e.style.transform),ie&&(_e.style.transform=ie),z&&z(ue)}),watch(pe,_e=>{if(!le){ie=_e;return}le.style.transform=_e},{immediate:!0}),{transform:ue}}function useMotionProperties($,z){const ie=reactive({}),le=_e=>Object.entries(_e).forEach(([Ce,$e])=>ie[Ce]=$e),{style:ue}=useElementStyle($,le),{transform:pe}=useElementTransform($,le);return watch(ie,_e=>{Object.entries(_e).forEach(([Ce,$e])=>{const xe=isTransformProp(Ce)?pe:ue;xe[Ce]&&xe[Ce]===$e||(xe[Ce]=$e)})},{immediate:!0,deep:!0}),usePermissiveTarget($,()=>z&&le(z)),{motionProperties:ie,style:ue,transform:pe}}function useMotionVariants($={}){const z=unref($),ie=ref();return{state:computed(()=>{if(ie.value)return z[ie.value]}),variant:ie}}function useMotion($,z={},ie){const{motionProperties:le}=useMotionProperties($),{variant:ue,state:pe}=useMotionVariants(z),_e=useMotionControls(le,z),Ce={target:$,variant:ue,variants:z,state:pe,motionProperties:le,..._e};return useMotionFeatures(Ce,ie),Ce}const directivePropsKeys=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function resolveVariants($,z){const ie=$.props?$.props:$.data&&$.data.attrs?$.data.attrs:{};ie&&(ie.variants&&isObject$7(ie.variants)&&(z.value={...z.value,...ie.variants}),directivePropsKeys.forEach(le=>{if(le==="delay"){if(ie&&ie[le]&&typeof ie[le]=="number"){const ue=ie[le];z&&z.value&&(z.value.enter&&(z.value.enter.transition||(z.value.enter.transition={}),z.value.enter.transition={delay:ue,...z.value.enter.transition}),z.value.visible&&(z.value.visible.transition||(z.value.visible.transition={}),z.value.visible.transition={delay:ue,...z.value.visible.transition}),z.value.visibleOnce&&(z.value.visibleOnce.transition||(z.value.visibleOnce.transition={}),z.value.visibleOnce.transition={delay:ue,...z.value.visibleOnce.transition}))}return}le==="visible-once"&&(le="visibleOnce"),ie&&ie[le]&&isObject$7(ie[le])&&(z.value[le]=ie[le])}))}function directive($){return{created:(ie,le,ue)=>{const pe=le.value&&typeof le.value=="string"?le.value:ue.key;pe&&motionState[pe]&&motionState[pe].stop();const _e=ref($||{});typeof le.value=="object"&&(_e.value=le.value),resolveVariants(ue,_e);const Ce=useMotion(ie,_e);ie.motionInstance=Ce,pe&&(motionState[pe]=Ce)},getSSRProps(ie,le){let{initial:ue}=ie.value||le&&(le==null?void 0:le.props)||{};ue=unref(ue);const pe=defu(($==null?void 0:$.initial)||{},ue||{});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($){var Ce;const z=useSlots(),ie=reactive({});if(!$.is&&!z.default)return()=>h$3("div",{});const le=computed(()=>{let $e;return $.preset&&($e=presets[$.preset]),$e}),ue=computed(()=>({initial:$.initial,enter:$.enter,leave:$.leave,visible:$.visible,visibleOnce:$.visibleOnce,hovered:$.hovered,tapped:$.tapped,focused:$.focused})),pe=computed(()=>{const $e={...ue.value,...le.value||{},...$.variants||{}};return $.delay&&($e.enter.transition={...$e.enter.transition},$e.enter.transition.delay=parseInt($.delay)),$e}),_e=computed(()=>{if(!$.is)return;let $e=$.is;return typeof _e.value=="string"&&!isHTMLTag($e)&&($e=resolveComponent($e)),$e});if(((Ce=process==null?void 0:process.env)==null?void 0:Ce.NODE_ENV)==="development"||process!=null&&process.dev){const $e=xe=>{var Ie;(Ie=xe.variants)!=null&&Ie.initial&&xe.set("initial"),setTimeout(()=>{var Ve,ze,Ue;(Ve=xe.variants)!=null&&Ve.enter&&xe.apply("enter"),(ze=xe.variants)!=null&&ze.visible&&xe.apply("visible"),(Ue=xe.variants)!=null&&Ue.visibleOnce&&xe.apply("visibleOnce")},10)};onUpdated(()=>Object.entries(ie).forEach(([xe,Ie])=>$e(Ie)))}return{slots:z,component:_e,motionConfig:pe,instances:ie}},render({slots:$,motionConfig:z,instances:ie,component:le}){var Ce;const ue=variantToStyle(z.initial||{}),pe=($e,xe)=>($e.props||($e.props={}),$e.props.style=ue,$e.props.onVnodeMounted=({el:Ie})=>{const Ve=useMotion(Ie,z);ie[xe]=Ve},$e);if(le){const $e=h$3(le,void 0,$);return pe($e,0),$e}return(((Ce=$.default)==null?void 0:Ce.call($))||[]).map(($e,xe)=>pe($e,xe))}});function slugify($){const z="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",ie="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",le=new RegExp(z.split("").join("|"),"g");return $.toString().replace(/[A-Z]/g,ue=>`-${ue}`).toLowerCase().replace(/\s+/g,"-").replace(le,ue=>ie.charAt(z.indexOf(ue))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const MotionPlugin={install($,z){if($.directive("motion",directive()),$.component("Motion",component),!z||z&&!z.excludePresets)for(const ie in presets){const le=presets[ie];$.directive(`motion-${slugify(ie)}`,directive(le))}if(z&&z.directives)for(const ie in z.directives){const le=z.directives[ie];!le.initial&&__DEV__&&console.warn(`Your directive v-motion-${ie} is missing initial variant!`),$.directive(`motion-${ie}`,directive(le))}}};/*! *****************************************************************************
|
||
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($,z){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,le){ie.__proto__=le}||function(ie,le){for(var ue in le)Object.prototype.hasOwnProperty.call(le,ue)&&(ie[ue]=le[ue])},extendStatics($,z)};function __extends($,z){if(typeof z!="function"&&z!==null)throw new TypeError("Class extends value "+String(z)+" is not a constructor or null");extendStatics($,z);function ie(){this.constructor=$}$.prototype=z===null?Object.create(z):(ie.prototype=z.prototype,new ie)}var Browser=function(){function $(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return $}(),Env=function(){function $(){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 $}(),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($,z){var ie=z.browser,le=$.match(/Firefox\/([\d.]+)/),ue=$.match(/MSIE\s([\d.]+)/)||$.match(/Trident\/.+?rv:(([\d.]+))/),pe=$.match(/Edge?\/([\d.]+)/),_e=/micromessenger/i.test($);le&&(ie.firefox=!0,ie.version=le[1]),ue&&(ie.ie=!0,ie.version=ue[1]),pe&&(ie.edge=!0,ie.version=pe[1],ie.newEdge=+pe[1].split(".")[0]>18),_e&&(ie.weChat=!0),z.svgSupported=typeof SVGRect<"u",z.touchEventsSupported="ontouchstart"in window&&!ie.ie&&!ie.edge,z.pointerEventsSupported="onpointerdown"in window&&(ie.edge||ie.ie&&+ie.version>=11),z.domSupported=typeof document<"u";var Ce=document.documentElement.style;z.transform3dSupported=(ie.ie&&"transition"in Ce||ie.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in Ce)&&!("OTransition"in Ce),z.transformSupported=z.transform3dSupported||ie.ie&&+ie.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($){var z={};if(typeof JSON>"u")return z;for(var ie=0;ie<$.length;ie++){var le=String.fromCharCode(ie+32),ue=($.charCodeAt(ie)-OFFSET)/SCALE;z[le]=ue}return z}var DEFAULT_TEXT_WIDTH_MAP=getTextWidthMap(defaultWidthMapStr),platformApi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var $,z;return function(ie,le){if(!$){var ue=platformApi.createCanvas();$=ue&&ue.getContext("2d")}if($)return z!==le&&(z=$.font=le||DEFAULT_FONT),$.measureText(ie);ie=ie||"",le=le||DEFAULT_FONT;var pe=/(\d+)px/.exec(le),_e=pe&&+pe[1]||DEFAULT_FONT_SIZE,Ce=0;if(le.indexOf("mono")>=0)Ce=_e*ie.length;else for(var $e=0;$e<ie.length;$e++){var xe=DEFAULT_TEXT_WIDTH_MAP[ie[$e]];Ce+=xe==null?_e:xe*_e}return{width:Ce}}}(),loadImage:function($,z,ie){var le=new Image;return le.onload=z,le.onerror=ie,le.src=$,le}};function setPlatformAPI($){for(var z in platformApi)$[z]&&(platformApi[z]=$[z])}var BUILTIN_OBJECT=reduce(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function($,z){return $["[object "+z+"]"]=!0,$},{}),TYPED_ARRAY=reduce(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function($,z){return $["[object "+z+"Array]"]=!0,$},{}),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 $=[],z=0;z<arguments.length;z++)$[z]=arguments[z];typeof console<"u"&&console.error.apply(console,$)}function clone$3($){if($==null||typeof $!="object")return $;var z=$,ie=objToString.call($);if(ie==="[object Array]"){if(!isPrimitive($)){z=[];for(var le=0,ue=$.length;le<ue;le++)z[le]=clone$3($[le])}}else if(TYPED_ARRAY[ie]){if(!isPrimitive($)){var pe=$.constructor;if(pe.from)z=pe.from($);else{z=new pe($.length);for(var le=0,ue=$.length;le<ue;le++)z[le]=$[le]}}}else if(!BUILTIN_OBJECT[ie]&&!isPrimitive($)&&!isDom($)){z={};for(var _e in $)$.hasOwnProperty(_e)&&_e!==protoKey&&(z[_e]=clone$3($[_e]))}return z}function merge($,z,ie){if(!isObject$3(z)||!isObject$3($))return ie?clone$3(z):$;for(var le in z)if(z.hasOwnProperty(le)&&le!==protoKey){var ue=$[le],pe=z[le];isObject$3(pe)&&isObject$3(ue)&&!isArray$1(pe)&&!isArray$1(ue)&&!isDom(pe)&&!isDom(ue)&&!isBuiltInObject(pe)&&!isBuiltInObject(ue)&&!isPrimitive(pe)&&!isPrimitive(ue)?merge(ue,pe,ie):(ie||!(le in $))&&($[le]=clone$3(z[le]))}return $}function mergeAll($,z){for(var ie=$[0],le=1,ue=$.length;le<ue;le++)ie=merge(ie,$[le],z);return ie}function extend($,z){if(Object.assign)Object.assign($,z);else for(var ie in z)z.hasOwnProperty(ie)&&ie!==protoKey&&($[ie]=z[ie]);return $}function defaults($,z,ie){for(var le=keys(z),ue=0;ue<le.length;ue++){var pe=le[ue];(ie?z[pe]!=null:$[pe]==null)&&($[pe]=z[pe])}return $}var createCanvas=platformApi.createCanvas;function indexOf($,z){if($){if($.indexOf)return $.indexOf(z);for(var ie=0,le=$.length;ie<le;ie++)if($[ie]===z)return ie}return-1}function inherits($,z){var ie=$.prototype;function le(){}le.prototype=z.prototype,$.prototype=new le;for(var ue in ie)ie.hasOwnProperty(ue)&&($.prototype[ue]=ie[ue]);$.prototype.constructor=$,$.superClass=z}function mixin($,z,ie){if($="prototype"in $?$.prototype:$,z="prototype"in z?z.prototype:z,Object.getOwnPropertyNames)for(var le=Object.getOwnPropertyNames(z),ue=0;ue<le.length;ue++){var pe=le[ue];pe!=="constructor"&&(ie?z[pe]!=null:$[pe]==null)&&($[pe]=z[pe])}else defaults($,z,ie)}function isArrayLike($){return!$||typeof $=="string"?!1:typeof $.length=="number"}function each$c($,z,ie){if($&&z)if($.forEach&&$.forEach===nativeForEach)$.forEach(z,ie);else if($.length===+$.length)for(var le=0,ue=$.length;le<ue;le++)z.call(ie,$[le],le,$);else for(var pe in $)$.hasOwnProperty(pe)&&z.call(ie,$[pe],pe,$)}function map$2($,z,ie){if(!$)return[];if(!z)return slice($);if($.map&&$.map===nativeMap)return $.map(z,ie);for(var le=[],ue=0,pe=$.length;ue<pe;ue++)le.push(z.call(ie,$[ue],ue,$));return le}function reduce($,z,ie,le){if($&&z){for(var ue=0,pe=$.length;ue<pe;ue++)ie=z.call(le,ie,$[ue],ue,$);return ie}}function filter($,z,ie){if(!$)return[];if(!z)return slice($);if($.filter&&$.filter===nativeFilter)return $.filter(z,ie);for(var le=[],ue=0,pe=$.length;ue<pe;ue++)z.call(ie,$[ue],ue,$)&&le.push($[ue]);return le}function find($,z,ie){if($&&z){for(var le=0,ue=$.length;le<ue;le++)if(z.call(ie,$[le],le,$))return $[le]}}function keys($){if(!$)return[];if(Object.keys)return Object.keys($);var z=[];for(var ie in $)$.hasOwnProperty(ie)&&z.push(ie);return z}function bindPolyfill($,z){for(var ie=[],le=2;le<arguments.length;le++)ie[le-2]=arguments[le];return function(){return $.apply(z,ie.concat(nativeSlice.call(arguments)))}}var bind$1=protoFunction&&isFunction(protoFunction.bind)?protoFunction.call.bind(protoFunction.bind):bindPolyfill;function curry$1($){for(var z=[],ie=1;ie<arguments.length;ie++)z[ie-1]=arguments[ie];return function(){return $.apply(this,z.concat(nativeSlice.call(arguments)))}}function isArray$1($){return Array.isArray?Array.isArray($):objToString.call($)==="[object Array]"}function isFunction($){return typeof $=="function"}function isString($){return typeof $=="string"}function isStringSafe($){return objToString.call($)==="[object String]"}function isNumber($){return typeof $=="number"}function isObject$3($){var z=typeof $;return z==="function"||!!$&&z==="object"}function isBuiltInObject($){return!!BUILTIN_OBJECT[objToString.call($)]}function isTypedArray($){return!!TYPED_ARRAY[objToString.call($)]}function isDom($){return typeof $=="object"&&typeof $.nodeType=="number"&&typeof $.ownerDocument=="object"}function isGradientObject($){return $.colorStops!=null}function isImagePatternObject($){return $.image!=null}function isRegExp($){return objToString.call($)==="[object RegExp]"}function eqNaN($){return $!==$}function retrieve(){for(var $=[],z=0;z<arguments.length;z++)$[z]=arguments[z];for(var ie=0,le=$.length;ie<le;ie++)if($[ie]!=null)return $[ie]}function retrieve2($,z){return $??z}function retrieve3($,z,ie){return $??z??ie}function slice($){for(var z=[],ie=1;ie<arguments.length;ie++)z[ie-1]=arguments[ie];return nativeSlice.apply($,z)}function normalizeCssArray$1($){if(typeof $=="number")return[$,$,$,$];var z=$.length;return z===2?[$[0],$[1],$[0],$[1]]:z===3?[$[0],$[1],$[2],$[1]]:$}function assert($,z){if(!$)throw new Error(z)}function trim$1($){return $==null?null:typeof $.trim=="function"?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var primitiveKey="__ec_primitive__";function setAsPrimitive($){$[primitiveKey]=!0}function isPrimitive($){return $[primitiveKey]}var MapPolyfill=function(){function $(){this.data={}}return $.prototype.delete=function(z){var ie=this.has(z);return ie&&delete this.data[z],ie},$.prototype.has=function(z){return this.data.hasOwnProperty(z)},$.prototype.get=function(z){return this.data[z]},$.prototype.set=function(z,ie){return this.data[z]=ie,this},$.prototype.keys=function(){return keys(this.data)},$.prototype.forEach=function(z){var ie=this.data;for(var le in ie)ie.hasOwnProperty(le)&&z(ie[le],le)},$}(),isNativeMapSupported=typeof Map=="function";function maybeNativeMap(){return isNativeMapSupported?new Map:new MapPolyfill}var HashMap=function(){function $(z){var ie=isArray$1(z);this.data=maybeNativeMap();var le=this;z instanceof $?z.each(ue):z&&each$c(z,ue);function ue(pe,_e){ie?le.set(pe,_e):le.set(_e,pe)}}return $.prototype.hasKey=function(z){return this.data.has(z)},$.prototype.get=function(z){return this.data.get(z)},$.prototype.set=function(z,ie){return this.data.set(z,ie),ie},$.prototype.each=function(z,ie){this.data.forEach(function(le,ue){z.call(ie,le,ue)})},$.prototype.keys=function(){var z=this.data.keys();return isNativeMapSupported?Array.from(z):z},$.prototype.removeKey=function(z){this.data.delete(z)},$}();function createHashMap($){return new HashMap($)}function concatArray($,z){for(var ie=new $.constructor($.length+z.length),le=0;le<$.length;le++)ie[le]=$[le];for(var ue=$.length,le=0;le<z.length;le++)ie[le+ue]=z[le];return ie}function createObject($,z){var ie;if(Object.create)ie=Object.create($);else{var le=function(){};le.prototype=$,ie=new le}return z&&extend(ie,z),ie}function disableUserSelect($){var z=$.style;z.webkitUserSelect="none",z.userSelect="none",z.webkitTapHighlightColor="rgba(0,0,0,0)",z["-webkit-touch-callout"]="none"}function hasOwn($,z){return $.hasOwnProperty(z)}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($,z){return $==null&&($=0),z==null&&(z=0),[$,z]}function copy$1($,z){return $[0]=z[0],$[1]=z[1],$}function clone$2($){return[$[0],$[1]]}function set$1($,z,ie){return $[0]=z,$[1]=ie,$}function add($,z,ie){return $[0]=z[0]+ie[0],$[1]=z[1]+ie[1],$}function scaleAndAdd($,z,ie,le){return $[0]=z[0]+ie[0]*le,$[1]=z[1]+ie[1]*le,$}function sub($,z,ie){return $[0]=z[0]-ie[0],$[1]=z[1]-ie[1],$}function len($){return Math.sqrt(lenSquare($))}var length=len;function lenSquare($){return $[0]*$[0]+$[1]*$[1]}var lengthSquare=lenSquare;function mul$1($,z,ie){return $[0]=z[0]*ie[0],$[1]=z[1]*ie[1],$}function div($,z,ie){return $[0]=z[0]/ie[0],$[1]=z[1]/ie[1],$}function dot($,z){return $[0]*z[0]+$[1]*z[1]}function scale$2($,z,ie){return $[0]=z[0]*ie,$[1]=z[1]*ie,$}function normalize$1($,z){var ie=len(z);return ie===0?($[0]=0,$[1]=0):($[0]=z[0]/ie,$[1]=z[1]/ie),$}function distance($,z){return Math.sqrt(($[0]-z[0])*($[0]-z[0])+($[1]-z[1])*($[1]-z[1]))}var dist$1=distance;function distanceSquare($,z){return($[0]-z[0])*($[0]-z[0])+($[1]-z[1])*($[1]-z[1])}var distSquare=distanceSquare;function negate($,z){return $[0]=-z[0],$[1]=-z[1],$}function lerp$1($,z,ie,le){return $[0]=z[0]+le*(ie[0]-z[0]),$[1]=z[1]+le*(ie[1]-z[1]),$}function applyTransform$1($,z,ie){var le=z[0],ue=z[1];return $[0]=ie[0]*le+ie[2]*ue+ie[4],$[1]=ie[1]*le+ie[3]*ue+ie[5],$}function min$1($,z,ie){return $[0]=Math.min(z[0],ie[0]),$[1]=Math.min(z[1],ie[1]),$}function max$1($,z,ie){return $[0]=Math.max(z[0],ie[0]),$[1]=Math.max(z[1],ie[1]),$}const vector=Object.freeze(Object.defineProperty({__proto__:null,add,applyTransform:applyTransform$1,clone:clone$2,copy:copy$1,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 $(z,ie){this.target=z,this.topTarget=ie&&ie.topTarget}return $}(),Draggable=function(){function $(z){this.handler=z,z.on("mousedown",this._dragStart,this),z.on("mousemove",this._drag,this),z.on("mouseup",this._dragEnd,this)}return $.prototype._dragStart=function(z){for(var ie=z.target;ie&&!ie.draggable;)ie=ie.parent||ie.__hostTarget;ie&&(this._draggingTarget=ie,ie.dragging=!0,this._x=z.offsetX,this._y=z.offsetY,this.handler.dispatchToElement(new Param(ie,z),"dragstart",z.event))},$.prototype._drag=function(z){var ie=this._draggingTarget;if(ie){var le=z.offsetX,ue=z.offsetY,pe=le-this._x,_e=ue-this._y;this._x=le,this._y=ue,ie.drift(pe,_e,z),this.handler.dispatchToElement(new Param(ie,z),"drag",z.event);var Ce=this.handler.findHover(le,ue,ie).target,$e=this._dropTarget;this._dropTarget=Ce,ie!==Ce&&($e&&Ce!==$e&&this.handler.dispatchToElement(new Param($e,z),"dragleave",z.event),Ce&&Ce!==$e&&this.handler.dispatchToElement(new Param(Ce,z),"dragenter",z.event))}},$.prototype._dragEnd=function(z){var ie=this._draggingTarget;ie&&(ie.dragging=!1),this.handler.dispatchToElement(new Param(ie,z),"dragend",z.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,z),"drop",z.event),this._draggingTarget=null,this._dropTarget=null},$}();const Draggable$1=Draggable;var Eventful=function(){function $(z){z&&(this._$eventProcessor=z)}return $.prototype.on=function(z,ie,le,ue){this._$handlers||(this._$handlers={});var pe=this._$handlers;if(typeof ie=="function"&&(ue=le,le=ie,ie=null),!le||!z)return this;var _e=this._$eventProcessor;ie!=null&&_e&&_e.normalizeQuery&&(ie=_e.normalizeQuery(ie)),pe[z]||(pe[z]=[]);for(var Ce=0;Ce<pe[z].length;Ce++)if(pe[z][Ce].h===le)return this;var $e={h:le,query:ie,ctx:ue||this,callAtLast:le.zrEventfulCallAtLast},xe=pe[z].length-1,Ie=pe[z][xe];return Ie&&Ie.callAtLast?pe[z].splice(xe,0,$e):pe[z].push($e),this},$.prototype.isSilent=function(z){var ie=this._$handlers;return!ie||!ie[z]||!ie[z].length},$.prototype.off=function(z,ie){var le=this._$handlers;if(!le)return this;if(!z)return this._$handlers={},this;if(ie){if(le[z]){for(var ue=[],pe=0,_e=le[z].length;pe<_e;pe++)le[z][pe].h!==ie&&ue.push(le[z][pe]);le[z]=ue}le[z]&&le[z].length===0&&delete le[z]}else delete le[z];return this},$.prototype.trigger=function(z){for(var ie=[],le=1;le<arguments.length;le++)ie[le-1]=arguments[le];if(!this._$handlers)return this;var ue=this._$handlers[z],pe=this._$eventProcessor;if(ue)for(var _e=ie.length,Ce=ue.length,$e=0;$e<Ce;$e++){var xe=ue[$e];if(!(pe&&pe.filter&&xe.query!=null&&!pe.filter(z,xe.query)))switch(_e){case 0:xe.h.call(xe.ctx);break;case 1:xe.h.call(xe.ctx,ie[0]);break;case 2:xe.h.call(xe.ctx,ie[0],ie[1]);break;default:xe.h.apply(xe.ctx,ie);break}}return pe&&pe.afterTrigger&&pe.afterTrigger(z),this},$.prototype.triggerWithContext=function(z){for(var ie=[],le=1;le<arguments.length;le++)ie[le-1]=arguments[le];if(!this._$handlers)return this;var ue=this._$handlers[z],pe=this._$eventProcessor;if(ue)for(var _e=ie.length,Ce=ie[_e-1],$e=ue.length,xe=0;xe<$e;xe++){var Ie=ue[xe];if(!(pe&&pe.filter&&Ie.query!=null&&!pe.filter(z,Ie.query)))switch(_e){case 0:Ie.h.call(Ce);break;case 1:Ie.h.call(Ce,ie[0]);break;case 2:Ie.h.call(Ce,ie[0],ie[1]);break;default:Ie.h.apply(Ce,ie.slice(1,_e-1));break}}return pe&&pe.afterTrigger&&pe.afterTrigger(z),this},$}();const Eventful$1=Eventful;var LN2=Math.log(2);function determinant($,z,ie,le,ue,pe){var _e=le+"-"+ue,Ce=$.length;if(pe.hasOwnProperty(_e))return pe[_e];if(z===1){var $e=Math.round(Math.log((1<<Ce)-1&~ue)/LN2);return $[ie][$e]}for(var xe=le|1<<ie,Ie=ie+1;le&1<<Ie;)Ie++;for(var Ve=0,ze=0,Ue=0;ze<Ce;ze++){var qe=1<<ze;qe&ue||(Ve+=(Ue%2?-1:1)*$[ie][ze]*determinant($,z-1,Ie,xe,ue|qe,pe),Ue++)}return pe[_e]=Ve,Ve}function buildTransformer($,z){var ie=[[$[0],$[1],1,0,0,0,-z[0]*$[0],-z[0]*$[1]],[0,0,0,$[0],$[1],1,-z[1]*$[0],-z[1]*$[1]],[$[2],$[3],1,0,0,0,-z[2]*$[2],-z[2]*$[3]],[0,0,0,$[2],$[3],1,-z[3]*$[2],-z[3]*$[3]],[$[4],$[5],1,0,0,0,-z[4]*$[4],-z[4]*$[5]],[0,0,0,$[4],$[5],1,-z[5]*$[4],-z[5]*$[5]],[$[6],$[7],1,0,0,0,-z[6]*$[6],-z[6]*$[7]],[0,0,0,$[6],$[7],1,-z[7]*$[6],-z[7]*$[7]]],le={},ue=determinant(ie,8,0,0,0,le);if(ue!==0){for(var pe=[],_e=0;_e<8;_e++)for(var Ce=0;Ce<8;Ce++)pe[Ce]==null&&(pe[Ce]=0),pe[Ce]+=((_e+Ce)%2?-1:1)*determinant(ie,7,_e===0?1:0,1<<_e,1<<Ce,le)/ue*z[_e];return function($e,xe,Ie){var Ve=xe*pe[6]+Ie*pe[7]+1;$e[0]=(xe*pe[0]+Ie*pe[1]+pe[2])/Ve,$e[1]=(xe*pe[3]+Ie*pe[4]+pe[5])/Ve}}}var EVENT_SAVED_PROP="___zrEVENTSAVED",_calcOut$1=[];function transformLocalCoord($,z,ie,le,ue){return transformCoordWithViewport(_calcOut$1,z,le,ue,!0)&&transformCoordWithViewport($,ie,_calcOut$1[0],_calcOut$1[1])}function transformCoordWithViewport($,z,ie,le,ue){if(z.getBoundingClientRect&&env$1.domSupported&&!isCanvasEl(z)){var pe=z[EVENT_SAVED_PROP]||(z[EVENT_SAVED_PROP]={}),_e=prepareCoordMarkers(z,pe),Ce=preparePointerTransformer(_e,pe,ue);if(Ce)return Ce($,ie,le),!0}return!1}function prepareCoordMarkers($,z){var ie=z.markers;if(ie)return ie;ie=z.markers=[];for(var le=["left","right"],ue=["top","bottom"],pe=0;pe<4;pe++){var _e=document.createElement("div"),Ce=_e.style,$e=pe%2,xe=(pe>>1)%2;Ce.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",le[$e]+":0",ue[xe]+":0",le[1-$e]+":auto",ue[1-xe]+":auto",""].join("!important;"),$.appendChild(_e),ie.push(_e)}return ie}function preparePointerTransformer($,z,ie){for(var le=ie?"invTrans":"trans",ue=z[le],pe=z.srcCoords,_e=[],Ce=[],$e=!0,xe=0;xe<4;xe++){var Ie=$[xe].getBoundingClientRect(),Ve=2*xe,ze=Ie.left,Ue=Ie.top;_e.push(ze,Ue),$e=$e&&pe&&ze===pe[Ve]&&Ue===pe[Ve+1],Ce.push($[xe].offsetLeft,$[xe].offsetTop)}return $e&&ue?ue:(z.srcCoords=_e,z[le]=ie?buildTransformer(Ce,_e):buildTransformer(_e,Ce))}function isCanvasEl($){return $.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML($){return $==null?"":($+"").replace(replaceReg,function(z,ie){return replaceMap[ie]})}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($,z,ie,le){return ie=ie||{},le?calculateZrXY($,z,ie):firefoxNotSupportOffsetXY&&z.layerX!=null&&z.layerX!==z.offsetX?(ie.zrX=z.layerX,ie.zrY=z.layerY):z.offsetX!=null?(ie.zrX=z.offsetX,ie.zrY=z.offsetY):calculateZrXY($,z,ie),ie}function calculateZrXY($,z,ie){if(env$1.domSupported&&$.getBoundingClientRect){var le=z.clientX,ue=z.clientY;if(isCanvasEl($)){var pe=$.getBoundingClientRect();ie.zrX=le-pe.left,ie.zrY=ue-pe.top;return}else if(transformCoordWithViewport(_calcOut,$,le,ue)){ie.zrX=_calcOut[0],ie.zrY=_calcOut[1];return}}ie.zrX=ie.zrY=0}function getNativeEvent($){return $||window.event}function normalizeEvent($,z,ie){if(z=getNativeEvent(z),z.zrX!=null)return z;var le=z.type,ue=le&&le.indexOf("touch")>=0;if(ue){var _e=le!=="touchend"?z.targetTouches[0]:z.changedTouches[0];_e&&clientToLocal($,_e,z,ie)}else{clientToLocal($,z,z,ie);var pe=getWheelDeltaMayPolyfill(z);z.zrDelta=pe?pe/120:-(z.detail||0)/3}var Ce=z.button;return z.which==null&&Ce!==void 0&&MOUSE_EVENT_REG.test(z.type)&&(z.which=Ce&1?1:Ce&2?3:Ce&4?2:0),z}function getWheelDeltaMayPolyfill($){var z=$.wheelDelta;if(z)return z;var ie=$.deltaX,le=$.deltaY;if(ie==null||le==null)return z;var ue=Math.abs(le!==0?le:ie),pe=le>0?-1:le<0?1:ie>0?-1:1;return 3*ue*pe}function addEventListener($,z,ie,le){$.addEventListener(z,ie,le)}function removeEventListener($,z,ie,le){$.removeEventListener(z,ie,le)}var stop=function($){$.preventDefault(),$.stopPropagation(),$.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown($){return $.which===2||$.which===3}var GestureMgr=function(){function $(){this._track=[]}return $.prototype.recognize=function(z,ie,le){return this._doTrack(z,ie,le),this._recognize(z)},$.prototype.clear=function(){return this._track.length=0,this},$.prototype._doTrack=function(z,ie,le){var ue=z.touches;if(ue){for(var pe={points:[],touches:[],target:ie,event:z},_e=0,Ce=ue.length;_e<Ce;_e++){var $e=ue[_e],xe=clientToLocal(le,$e,{});pe.points.push([xe.zrX,xe.zrY]),pe.touches.push($e)}this._track.push(pe)}},$.prototype._recognize=function(z){for(var ie in recognizers)if(recognizers.hasOwnProperty(ie)){var le=recognizers[ie](this._track,z);if(le)return le}},$}();function dist($){var z=$[1][0]-$[0][0],ie=$[1][1]-$[0][1];return Math.sqrt(z*z+ie*ie)}function center($){return[($[0][0]+$[1][0])/2,($[0][1]+$[1][1])/2]}var recognizers={pinch:function($,z){var ie=$.length;if(ie){var le=($[ie-1]||{}).points,ue=($[ie-2]||{}).points||le;if(ue&&ue.length>1&&le&&le.length>1){var pe=dist(le)/dist(ue);!isFinite(pe)&&(pe=1),z.pinchScale=pe;var _e=center(le);return z.pinchX=_e[0],z.pinchY=_e[1],{type:"pinch",target:$[0].target,event:z}}}}};function create(){return[1,0,0,1,0,0]}function identity($){return $[0]=1,$[1]=0,$[2]=0,$[3]=1,$[4]=0,$[5]=0,$}function copy($,z){return $[0]=z[0],$[1]=z[1],$[2]=z[2],$[3]=z[3],$[4]=z[4],$[5]=z[5],$}function mul($,z,ie){var le=z[0]*ie[0]+z[2]*ie[1],ue=z[1]*ie[0]+z[3]*ie[1],pe=z[0]*ie[2]+z[2]*ie[3],_e=z[1]*ie[2]+z[3]*ie[3],Ce=z[0]*ie[4]+z[2]*ie[5]+z[4],$e=z[1]*ie[4]+z[3]*ie[5]+z[5];return $[0]=le,$[1]=ue,$[2]=pe,$[3]=_e,$[4]=Ce,$[5]=$e,$}function translate($,z,ie){return $[0]=z[0],$[1]=z[1],$[2]=z[2],$[3]=z[3],$[4]=z[4]+ie[0],$[5]=z[5]+ie[1],$}function rotate($,z,ie){var le=z[0],ue=z[2],pe=z[4],_e=z[1],Ce=z[3],$e=z[5],xe=Math.sin(ie),Ie=Math.cos(ie);return $[0]=le*Ie+_e*xe,$[1]=-le*xe+_e*Ie,$[2]=ue*Ie+Ce*xe,$[3]=-ue*xe+Ie*Ce,$[4]=Ie*pe+xe*$e,$[5]=Ie*$e-xe*pe,$}function scale$1($,z,ie){var le=ie[0],ue=ie[1];return $[0]=z[0]*le,$[1]=z[1]*ue,$[2]=z[2]*le,$[3]=z[3]*ue,$[4]=z[4]*le,$[5]=z[5]*ue,$}function invert($,z){var ie=z[0],le=z[2],ue=z[4],pe=z[1],_e=z[3],Ce=z[5],$e=ie*_e-pe*le;return $e?($e=1/$e,$[0]=_e*$e,$[1]=-pe*$e,$[2]=-le*$e,$[3]=ie*$e,$[4]=(le*Ce-_e*ue)*$e,$[5]=(pe*ue-ie*Ce)*$e,$):null}function clone$1($){var z=create();return copy(z,$),z}const matrix=Object.freeze(Object.defineProperty({__proto__:null,clone:clone$1,copy,create,identity,invert,mul,rotate,scale:scale$1,translate},Symbol.toStringTag,{value:"Module"}));var Point=function(){function $(z,ie){this.x=z||0,this.y=ie||0}return $.prototype.copy=function(z){return this.x=z.x,this.y=z.y,this},$.prototype.clone=function(){return new $(this.x,this.y)},$.prototype.set=function(z,ie){return this.x=z,this.y=ie,this},$.prototype.equal=function(z){return z.x===this.x&&z.y===this.y},$.prototype.add=function(z){return this.x+=z.x,this.y+=z.y,this},$.prototype.scale=function(z){this.x*=z,this.y*=z},$.prototype.scaleAndAdd=function(z,ie){this.x+=z.x*ie,this.y+=z.y*ie},$.prototype.sub=function(z){return this.x-=z.x,this.y-=z.y,this},$.prototype.dot=function(z){return this.x*z.x+this.y*z.y},$.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},$.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},$.prototype.normalize=function(){var z=this.len();return this.x/=z,this.y/=z,this},$.prototype.distance=function(z){var ie=this.x-z.x,le=this.y-z.y;return Math.sqrt(ie*ie+le*le)},$.prototype.distanceSquare=function(z){var ie=this.x-z.x,le=this.y-z.y;return ie*ie+le*le},$.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},$.prototype.transform=function(z){if(z){var ie=this.x,le=this.y;return this.x=z[0]*ie+z[2]*le+z[4],this.y=z[1]*ie+z[3]*le+z[5],this}},$.prototype.toArray=function(z){return z[0]=this.x,z[1]=this.y,z},$.prototype.fromArray=function(z){this.x=z[0],this.y=z[1]},$.set=function(z,ie,le){z.x=ie,z.y=le},$.copy=function(z,ie){z.x=ie.x,z.y=ie.y},$.len=function(z){return Math.sqrt(z.x*z.x+z.y*z.y)},$.lenSquare=function(z){return z.x*z.x+z.y*z.y},$.dot=function(z,ie){return z.x*ie.x+z.y*ie.y},$.add=function(z,ie,le){z.x=ie.x+le.x,z.y=ie.y+le.y},$.sub=function(z,ie,le){z.x=ie.x-le.x,z.y=ie.y-le.y},$.scale=function(z,ie,le){z.x=ie.x*le,z.y=ie.y*le},$.scaleAndAdd=function(z,ie,le,ue){z.x=ie.x+le.x*ue,z.y=ie.y+le.y*ue},$.lerp=function(z,ie,le,ue){var pe=1-ue;z.x=pe*ie.x+ue*le.x,z.y=pe*ie.y+ue*le.y},$}();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 $(z,ie,le,ue){le<0&&(z=z+le,le=-le),ue<0&&(ie=ie+ue,ue=-ue),this.x=z,this.y=ie,this.width=le,this.height=ue}return $.prototype.union=function(z){var ie=mathMin$8(z.x,this.x),le=mathMin$8(z.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$8(z.x+z.width,this.x+this.width)-ie:this.width=z.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$8(z.y+z.height,this.y+this.height)-le:this.height=z.height,this.x=ie,this.y=le},$.prototype.applyTransform=function(z){$.applyTransform(this,this,z)},$.prototype.calculateTransform=function(z){var ie=this,le=z.width/ie.width,ue=z.height/ie.height,pe=create();return translate(pe,pe,[-ie.x,-ie.y]),scale$1(pe,pe,[le,ue]),translate(pe,pe,[z.x,z.y]),pe},$.prototype.intersect=function(z,ie){if(!z)return!1;z instanceof $||(z=$.create(z));var le=this,ue=le.x,pe=le.x+le.width,_e=le.y,Ce=le.y+le.height,$e=z.x,xe=z.x+z.width,Ie=z.y,Ve=z.y+z.height,ze=!(pe<$e||xe<ue||Ce<Ie||Ve<_e);if(ie){var Ue=1/0,qe=0,Et=Math.abs(pe-$e),Lt=Math.abs(xe-ue),hn=Math.abs(Ce-Ie),vn=Math.abs(Ve-_e),_n=Math.min(Et,Lt),bn=Math.min(hn,vn);pe<$e||xe<ue?_n>qe&&(qe=_n,Et<Lt?Point$1.set(maxTv$1,-Et,0):Point$1.set(maxTv$1,Lt,0)):_n<Ue&&(Ue=_n,Et<Lt?Point$1.set(minTv$1,Et,0):Point$1.set(minTv$1,-Lt,0)),Ce<Ie||Ve<_e?bn>qe&&(qe=bn,hn<vn?Point$1.set(maxTv$1,0,-hn):Point$1.set(maxTv$1,0,vn)):_n<Ue&&(Ue=_n,hn<vn?Point$1.set(minTv$1,0,hn):Point$1.set(minTv$1,0,-vn))}return ie&&Point$1.copy(ie,ze?minTv$1:maxTv$1),ze},$.prototype.contain=function(z,ie){var le=this;return z>=le.x&&z<=le.x+le.width&&ie>=le.y&&ie<=le.y+le.height},$.prototype.clone=function(){return new $(this.x,this.y,this.width,this.height)},$.prototype.copy=function(z){$.copy(this,z)},$.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},$.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},$.prototype.isZero=function(){return this.width===0||this.height===0},$.create=function(z){return new $(z.x,z.y,z.width,z.height)},$.copy=function(z,ie){z.x=ie.x,z.y=ie.y,z.width=ie.width,z.height=ie.height},$.applyTransform=function(z,ie,le){if(!le){z!==ie&&$.copy(z,ie);return}if(le[1]<1e-5&&le[1]>-1e-5&&le[2]<1e-5&&le[2]>-1e-5){var ue=le[0],pe=le[3],_e=le[4],Ce=le[5];z.x=ie.x*ue+_e,z.y=ie.y*pe+Ce,z.width=ie.width*ue,z.height=ie.height*pe,z.width<0&&(z.x+=z.width,z.width=-z.width),z.height<0&&(z.y+=z.height,z.height=-z.height);return}lt.x=lb.x=ie.x,lt.y=rt.y=ie.y,rb.x=rt.x=ie.x+ie.width,rb.y=lb.y=ie.y+ie.height,lt.transform(le),rt.transform(le),rb.transform(le),lb.transform(le),z.x=mathMin$8(lt.x,rb.x,lb.x,rt.x),z.y=mathMin$8(lt.y,rb.y,lb.y,rt.y);var $e=mathMax$8(lt.x,rb.x,lb.x,rt.x),xe=mathMax$8(lt.y,rb.y,lb.y,rt.y);z.width=$e-z.x,z.height=xe-z.y},$}();const BoundingRect$1=BoundingRect;var SILENT="silent";function makeEventPacket($,z,ie){return{type:$,event:ie,target:z.target,topTarget:z.topTarget,cancelBubble:!1,offsetX:ie.zrX,offsetY:ie.zrY,gestureEvent:ie.gestureEvent,pinchX:ie.pinchX,pinchY:ie.pinchY,pinchScale:ie.pinchScale,wheelDelta:ie.zrDelta,zrByTouch:ie.zrByTouch,which:ie.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.handler=null,ie}return z.prototype.dispose=function(){},z.prototype.setCursor=function(){},z}(Eventful$1),HoveredResult=function(){function $(z,ie){this.x=z,this.y=ie}return $}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect$1(0,0,0,0),Handler=function($){__extends(z,$);function z(ie,le,ue,pe,_e){var Ce=$.call(this)||this;return Ce._hovered=new HoveredResult(0,0),Ce.storage=ie,Ce.painter=le,Ce.painterRoot=pe,Ce._pointerSize=_e,ue=ue||new EmptyProxy,Ce.proxy=null,Ce.setHandlerProxy(ue),Ce._draggingMgr=new Draggable$1(Ce),Ce}return z.prototype.setHandlerProxy=function(ie){this.proxy&&this.proxy.dispose(),ie&&(each$c(handlerNames,function(le){ie.on&&ie.on(le,this[le],this)},this),ie.handler=this),this.proxy=ie},z.prototype.mousemove=function(ie){var le=ie.zrX,ue=ie.zrY,pe=isOutsideBoundary(this,le,ue),_e=this._hovered,Ce=_e.target;Ce&&!Ce.__zr&&(_e=this.findHover(_e.x,_e.y),Ce=_e.target);var $e=this._hovered=pe?new HoveredResult(le,ue):this.findHover(le,ue),xe=$e.target,Ie=this.proxy;Ie.setCursor&&Ie.setCursor(xe?xe.cursor:"default"),Ce&&xe!==Ce&&this.dispatchToElement(_e,"mouseout",ie),this.dispatchToElement($e,"mousemove",ie),xe&&xe!==Ce&&this.dispatchToElement($e,"mouseover",ie)},z.prototype.mouseout=function(ie){var le=ie.zrEventControl;le!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",ie),le!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:ie})},z.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},z.prototype.dispatch=function(ie,le){var ue=this[ie];ue&&ue.call(this,le)},z.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},z.prototype.setCursorStyle=function(ie){var le=this.proxy;le.setCursor&&le.setCursor(ie)},z.prototype.dispatchToElement=function(ie,le,ue){ie=ie||{};var pe=ie.target;if(!(pe&&pe.silent)){for(var _e="on"+le,Ce=makeEventPacket(le,ie,ue);pe&&(pe[_e]&&(Ce.cancelBubble=!!pe[_e].call(pe,Ce)),pe.trigger(le,Ce),pe=pe.__hostTarget?pe.__hostTarget:pe.parent,!Ce.cancelBubble););Ce.cancelBubble||(this.trigger(le,Ce),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function($e){typeof $e[_e]=="function"&&$e[_e].call($e,Ce),$e.trigger&&$e.trigger(le,Ce)}))}},z.prototype.findHover=function(ie,le,ue){var pe=this.storage.getDisplayList(),_e=new HoveredResult(ie,le);if(setHoverTarget(pe,_e,ie,le,ue),this._pointerSize&&!_e.target){for(var Ce=[],$e=this._pointerSize,xe=$e/2,Ie=new BoundingRect$1(ie-xe,le-xe,$e,$e),Ve=pe.length-1;Ve>=0;Ve--){var ze=pe[Ve];ze!==ue&&!ze.ignore&&!ze.ignoreCoarsePointer&&(!ze.parent||!ze.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(ze.getBoundingRect()),ze.transform&&tmpRect$1.applyTransform(ze.transform),tmpRect$1.intersect(Ie)&&Ce.push(ze))}if(Ce.length)for(var Ue=4,qe=Math.PI/12,Et=Math.PI*2,Lt=0;Lt<xe;Lt+=Ue)for(var hn=0;hn<Et;hn+=qe){var vn=ie+Lt*Math.cos(hn),_n=le+Lt*Math.sin(hn);if(setHoverTarget(Ce,_e,vn,_n,ue),_e.target)return _e}}return _e},z.prototype.processGesture=function(ie,le){this._gestureMgr||(this._gestureMgr=new GestureMgr);var ue=this._gestureMgr;le==="start"&&ue.clear();var pe=ue.recognize(ie,this.findHover(ie.zrX,ie.zrY,null).target,this.proxy.dom);if(le==="end"&&ue.clear(),pe){var _e=pe.type;ie.gestureEvent=_e;var Ce=new HoveredResult;Ce.target=pe.target,this.dispatchToElement(Ce,_e,pe.event)}},z}(Eventful$1);each$c(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function($){Handler.prototype[$]=function(z){var ie=z.zrX,le=z.zrY,ue=isOutsideBoundary(this,ie,le),pe,_e;if(($!=="mouseup"||!ue)&&(pe=this.findHover(ie,le),_e=pe.target),$==="mousedown")this._downEl=_e,this._downPoint=[z.zrX,z.zrY],this._upEl=_e;else if($==="mouseup")this._upEl=_e;else if($==="click"){if(this._downEl!==this._upEl||!this._downPoint||dist$1(this._downPoint,[z.zrX,z.zrY])>4)return;this._downPoint=null}this.dispatchToElement(pe,$,z)}});function isHover($,z,ie){if($[$.rectHover?"rectContain":"contain"](z,ie)){for(var le=$,ue=void 0,pe=!1;le;){if(le.ignoreClip&&(pe=!0),!pe){var _e=le.getClipPath();if(_e&&!_e.contain(z,ie))return!1;le.silent&&(ue=!0)}var Ce=le.__hostTarget;le=Ce||le.parent}return ue?SILENT:!0}return!1}function setHoverTarget($,z,ie,le,ue){for(var pe=$.length-1;pe>=0;pe--){var _e=$[pe],Ce=void 0;if(_e!==ue&&!_e.ignore&&(Ce=isHover(_e,ie,le))&&(!z.topTarget&&(z.topTarget=_e),Ce!==SILENT)){z.target=_e;break}}}function isOutsideBoundary($,z,ie){var le=$.painter;return z<0||z>le.getWidth()||ie<0||ie>le.getHeight()}const Handler$1=Handler;var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength($){for(var z=0;$>=DEFAULT_MIN_MERGE;)z|=$&1,$>>=1;return $+z}function makeAscendingRun($,z,ie,le){var ue=z+1;if(ue===ie)return 1;if(le($[ue++],$[z])<0){for(;ue<ie&&le($[ue],$[ue-1])<0;)ue++;reverseRun($,z,ue)}else for(;ue<ie&&le($[ue],$[ue-1])>=0;)ue++;return ue-z}function reverseRun($,z,ie){for(ie--;z<ie;){var le=$[z];$[z++]=$[ie],$[ie--]=le}}function binaryInsertionSort($,z,ie,le,ue){for(le===z&&le++;le<ie;le++){for(var pe=$[le],_e=z,Ce=le,$e;_e<Ce;)$e=_e+Ce>>>1,ue(pe,$[$e])<0?Ce=$e:_e=$e+1;var xe=le-_e;switch(xe){case 3:$[_e+3]=$[_e+2];case 2:$[_e+2]=$[_e+1];case 1:$[_e+1]=$[_e];break;default:for(;xe>0;)$[_e+xe]=$[_e+xe-1],xe--}$[_e]=pe}}function gallopLeft($,z,ie,le,ue,pe){var _e=0,Ce=0,$e=1;if(pe($,z[ie+ue])>0){for(Ce=le-ue;$e<Ce&&pe($,z[ie+ue+$e])>0;)_e=$e,$e=($e<<1)+1,$e<=0&&($e=Ce);$e>Ce&&($e=Ce),_e+=ue,$e+=ue}else{for(Ce=ue+1;$e<Ce&&pe($,z[ie+ue-$e])<=0;)_e=$e,$e=($e<<1)+1,$e<=0&&($e=Ce);$e>Ce&&($e=Ce);var xe=_e;_e=ue-$e,$e=ue-xe}for(_e++;_e<$e;){var Ie=_e+($e-_e>>>1);pe($,z[ie+Ie])>0?_e=Ie+1:$e=Ie}return $e}function gallopRight($,z,ie,le,ue,pe){var _e=0,Ce=0,$e=1;if(pe($,z[ie+ue])<0){for(Ce=ue+1;$e<Ce&&pe($,z[ie+ue-$e])<0;)_e=$e,$e=($e<<1)+1,$e<=0&&($e=Ce);$e>Ce&&($e=Ce);var xe=_e;_e=ue-$e,$e=ue-xe}else{for(Ce=le-ue;$e<Ce&&pe($,z[ie+ue+$e])>=0;)_e=$e,$e=($e<<1)+1,$e<=0&&($e=Ce);$e>Ce&&($e=Ce),_e+=ue,$e+=ue}for(_e++;_e<$e;){var Ie=_e+($e-_e>>>1);pe($,z[ie+Ie])<0?$e=Ie:_e=Ie+1}return $e}function TimSort($,z){var ie=DEFAULT_MIN_GALLOPING,le,ue,pe=0;$.length;var _e=[];le=[],ue=[];function Ce(Ue,qe){le[pe]=Ue,ue[pe]=qe,pe+=1}function $e(){for(;pe>1;){var Ue=pe-2;if(Ue>=1&&ue[Ue-1]<=ue[Ue]+ue[Ue+1]||Ue>=2&&ue[Ue-2]<=ue[Ue]+ue[Ue-1])ue[Ue-1]<ue[Ue+1]&&Ue--;else if(ue[Ue]>ue[Ue+1])break;Ie(Ue)}}function xe(){for(;pe>1;){var Ue=pe-2;Ue>0&&ue[Ue-1]<ue[Ue+1]&&Ue--,Ie(Ue)}}function Ie(Ue){var qe=le[Ue],Et=ue[Ue],Lt=le[Ue+1],hn=ue[Ue+1];ue[Ue]=Et+hn,Ue===pe-3&&(le[Ue+1]=le[Ue+2],ue[Ue+1]=ue[Ue+2]),pe--;var vn=gallopRight($[Lt],$,qe,Et,0,z);qe+=vn,Et-=vn,Et!==0&&(hn=gallopLeft($[qe+Et-1],$,Lt,hn,hn-1,z),hn!==0&&(Et<=hn?Ve(qe,Et,Lt,hn):ze(qe,Et,Lt,hn)))}function Ve(Ue,qe,Et,Lt){var hn=0;for(hn=0;hn<qe;hn++)_e[hn]=$[Ue+hn];var vn=0,_n=Et,bn=Ue;if($[bn++]=$[_n++],--Lt===0){for(hn=0;hn<qe;hn++)$[bn+hn]=_e[vn+hn];return}if(qe===1){for(hn=0;hn<Lt;hn++)$[bn+hn]=$[_n+hn];$[bn+Lt]=_e[vn];return}for(var Cn=ie,Sn,En,wn;;){Sn=0,En=0,wn=!1;do if(z($[_n],_e[vn])<0){if($[bn++]=$[_n++],En++,Sn=0,--Lt===0){wn=!0;break}}else if($[bn++]=_e[vn++],Sn++,En=0,--qe===1){wn=!0;break}while((Sn|En)<Cn);if(wn)break;do{if(Sn=gallopRight($[_n],_e,vn,qe,0,z),Sn!==0){for(hn=0;hn<Sn;hn++)$[bn+hn]=_e[vn+hn];if(bn+=Sn,vn+=Sn,qe-=Sn,qe<=1){wn=!0;break}}if($[bn++]=$[_n++],--Lt===0){wn=!0;break}if(En=gallopLeft(_e[vn],$,_n,Lt,0,z),En!==0){for(hn=0;hn<En;hn++)$[bn+hn]=$[_n+hn];if(bn+=En,_n+=En,Lt-=En,Lt===0){wn=!0;break}}if($[bn++]=_e[vn++],--qe===1){wn=!0;break}Cn--}while(Sn>=DEFAULT_MIN_GALLOPING||En>=DEFAULT_MIN_GALLOPING);if(wn)break;Cn<0&&(Cn=0),Cn+=2}if(ie=Cn,ie<1&&(ie=1),qe===1){for(hn=0;hn<Lt;hn++)$[bn+hn]=$[_n+hn];$[bn+Lt]=_e[vn]}else{if(qe===0)throw new Error;for(hn=0;hn<qe;hn++)$[bn+hn]=_e[vn+hn]}}function ze(Ue,qe,Et,Lt){var hn=0;for(hn=0;hn<Lt;hn++)_e[hn]=$[Et+hn];var vn=Ue+qe-1,_n=Lt-1,bn=Et+Lt-1,Cn=0,Sn=0;if($[bn--]=$[vn--],--qe===0){for(Cn=bn-(Lt-1),hn=0;hn<Lt;hn++)$[Cn+hn]=_e[hn];return}if(Lt===1){for(bn-=qe,vn-=qe,Sn=bn+1,Cn=vn+1,hn=qe-1;hn>=0;hn--)$[Sn+hn]=$[Cn+hn];$[bn]=_e[_n];return}for(var En=ie;;){var wn=0,Tn=0,kn=!1;do if(z(_e[_n],$[vn])<0){if($[bn--]=$[vn--],wn++,Tn=0,--qe===0){kn=!0;break}}else if($[bn--]=_e[_n--],Tn++,wn=0,--Lt===1){kn=!0;break}while((wn|Tn)<En);if(kn)break;do{if(wn=qe-gallopRight(_e[_n],$,Ue,qe,qe-1,z),wn!==0){for(bn-=wn,vn-=wn,qe-=wn,Sn=bn+1,Cn=vn+1,hn=wn-1;hn>=0;hn--)$[Sn+hn]=$[Cn+hn];if(qe===0){kn=!0;break}}if($[bn--]=_e[_n--],--Lt===1){kn=!0;break}if(Tn=Lt-gallopLeft($[vn],_e,0,Lt,Lt-1,z),Tn!==0){for(bn-=Tn,_n-=Tn,Lt-=Tn,Sn=bn+1,Cn=_n+1,hn=0;hn<Tn;hn++)$[Sn+hn]=_e[Cn+hn];if(Lt<=1){kn=!0;break}}if($[bn--]=$[vn--],--qe===0){kn=!0;break}En--}while(wn>=DEFAULT_MIN_GALLOPING||Tn>=DEFAULT_MIN_GALLOPING);if(kn)break;En<0&&(En=0),En+=2}if(ie=En,ie<1&&(ie=1),Lt===1){for(bn-=qe,vn-=qe,Sn=bn+1,Cn=vn+1,hn=qe-1;hn>=0;hn--)$[Sn+hn]=$[Cn+hn];$[bn]=_e[_n]}else{if(Lt===0)throw new Error;for(Cn=bn-(Lt-1),hn=0;hn<Lt;hn++)$[Cn+hn]=_e[hn]}}return{mergeRuns:$e,forceMergeRuns:xe,pushRun:Ce}}function sort($,z,ie,le){ie||(ie=0),le||(le=$.length);var ue=le-ie;if(!(ue<2)){var pe=0;if(ue<DEFAULT_MIN_MERGE){pe=makeAscendingRun($,ie,le,z),binaryInsertionSort($,ie,le,ie+pe,z);return}var _e=TimSort($,z),Ce=minRunLength(ue);do{if(pe=makeAscendingRun($,ie,le,z),pe<Ce){var $e=ue;$e>Ce&&($e=Ce),binaryInsertionSort($,ie,ie+$e,ie+pe,z),pe=$e}_e.pushRun(ie,pe),_e.mergeRuns(),ue-=pe,ie+=pe}while(ue!==0);_e.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($,z){return $.zlevel===z.zlevel?$.z===z.z?$.z2-z.z2:$.z-z.z:$.zlevel-z.zlevel}var Storage=function(){function $(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return $.prototype.traverse=function(z,ie){for(var le=0;le<this._roots.length;le++)this._roots[le].traverse(z,ie)},$.prototype.getDisplayList=function(z,ie){ie=ie||!1;var le=this._displayList;return(z||!le.length)&&this.updateDisplayList(ie),le},$.prototype.updateDisplayList=function(z){this._displayListLen=0;for(var ie=this._roots,le=this._displayList,ue=0,pe=ie.length;ue<pe;ue++)this._updateAndAddDisplayable(ie[ue],null,z);le.length=this._displayListLen,sort(le,shapeCompareFunc)},$.prototype._updateAndAddDisplayable=function(z,ie,le){if(!(z.ignore&&!le)){z.beforeUpdate(),z.update(),z.afterUpdate();var ue=z.getClipPath();if(z.ignoreClip)ie=null;else if(ue){ie?ie=ie.slice():ie=[];for(var pe=ue,_e=z;pe;)pe.parent=_e,pe.updateTransform(),ie.push(pe),_e=pe,pe=pe.getClipPath()}if(z.childrenRef){for(var Ce=z.childrenRef(),$e=0;$e<Ce.length;$e++){var xe=Ce[$e];z.__dirty&&(xe.__dirty|=REDRAW_BIT),this._updateAndAddDisplayable(xe,ie,le)}z.__dirty=0}else{var Ie=z;ie&&ie.length?Ie.__clipPaths=ie:Ie.__clipPaths&&Ie.__clipPaths.length>0&&(Ie.__clipPaths=[]),isNaN(Ie.z)&&(logInvalidZError(),Ie.z=0),isNaN(Ie.z2)&&(logInvalidZError(),Ie.z2=0),isNaN(Ie.zlevel)&&(logInvalidZError(),Ie.zlevel=0),this._displayList[this._displayListLen++]=Ie}var Ve=z.getDecalElement&&z.getDecalElement();Ve&&this._updateAndAddDisplayable(Ve,ie,le);var ze=z.getTextGuideLine();ze&&this._updateAndAddDisplayable(ze,ie,le);var Ue=z.getTextContent();Ue&&this._updateAndAddDisplayable(Ue,ie,le)}},$.prototype.addRoot=function(z){z.__zr&&z.__zr.storage===this||this._roots.push(z)},$.prototype.delRoot=function(z){if(z instanceof Array){for(var ie=0,le=z.length;ie<le;ie++)this.delRoot(z[ie]);return}var ue=indexOf(this._roots,z);ue>=0&&this._roots.splice(ue,1)},$.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},$.prototype.getRoots=function(){return this._roots},$.prototype.dispose=function(){this._displayList=null,this._roots=null},$}();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($){return setTimeout($,16)};const requestAnimationFrame$2=requestAnimationFrame$1;var easingFuncs={linear:function($){return $},quadraticIn:function($){return $*$},quadraticOut:function($){return $*(2-$)},quadraticInOut:function($){return($*=2)<1?.5*$*$:-.5*(--$*($-2)-1)},cubicIn:function($){return $*$*$},cubicOut:function($){return--$*$*$+1},cubicInOut:function($){return($*=2)<1?.5*$*$*$:.5*(($-=2)*$*$+2)},quarticIn:function($){return $*$*$*$},quarticOut:function($){return 1- --$*$*$*$},quarticInOut:function($){return($*=2)<1?.5*$*$*$*$:-.5*(($-=2)*$*$*$-2)},quinticIn:function($){return $*$*$*$*$},quinticOut:function($){return--$*$*$*$*$+1},quinticInOut:function($){return($*=2)<1?.5*$*$*$*$*$:.5*(($-=2)*$*$*$*$+2)},sinusoidalIn:function($){return 1-Math.cos($*Math.PI/2)},sinusoidalOut:function($){return Math.sin($*Math.PI/2)},sinusoidalInOut:function($){return .5*(1-Math.cos(Math.PI*$))},exponentialIn:function($){return $===0?0:Math.pow(1024,$-1)},exponentialOut:function($){return $===1?1:1-Math.pow(2,-10*$)},exponentialInOut:function($){return $===0?0:$===1?1:($*=2)<1?.5*Math.pow(1024,$-1):.5*(-Math.pow(2,-10*($-1))+2)},circularIn:function($){return 1-Math.sqrt(1-$*$)},circularOut:function($){return Math.sqrt(1- --$*$)},circularInOut:function($){return($*=2)<1?-.5*(Math.sqrt(1-$*$)-1):.5*(Math.sqrt(1-($-=2)*$)+1)},elasticIn:function($){var z,ie=.1,le=.4;return $===0?0:$===1?1:(!ie||ie<1?(ie=1,z=le/4):z=le*Math.asin(1/ie)/(2*Math.PI),-(ie*Math.pow(2,10*($-=1))*Math.sin(($-z)*(2*Math.PI)/le)))},elasticOut:function($){var z,ie=.1,le=.4;return $===0?0:$===1?1:(!ie||ie<1?(ie=1,z=le/4):z=le*Math.asin(1/ie)/(2*Math.PI),ie*Math.pow(2,-10*$)*Math.sin(($-z)*(2*Math.PI)/le)+1)},elasticInOut:function($){var z,ie=.1,le=.4;return $===0?0:$===1?1:(!ie||ie<1?(ie=1,z=le/4):z=le*Math.asin(1/ie)/(2*Math.PI),($*=2)<1?-.5*(ie*Math.pow(2,10*($-=1))*Math.sin(($-z)*(2*Math.PI)/le)):ie*Math.pow(2,-10*($-=1))*Math.sin(($-z)*(2*Math.PI)/le)*.5+1)},backIn:function($){var z=1.70158;return $*$*((z+1)*$-z)},backOut:function($){var z=1.70158;return--$*$*((z+1)*$+z)+1},backInOut:function($){var z=2.5949095;return($*=2)<1?.5*($*$*((z+1)*$-z)):.5*(($-=2)*$*((z+1)*$+z)+2)},bounceIn:function($){return 1-easingFuncs.bounceOut(1-$)},bounceOut:function($){return $<1/2.75?7.5625*$*$:$<2/2.75?7.5625*($-=1.5/2.75)*$+.75:$<2.5/2.75?7.5625*($-=2.25/2.75)*$+.9375:7.5625*($-=2.625/2.75)*$+.984375},bounceInOut:function($){return $<.5?easingFuncs.bounceIn($*2)*.5:easingFuncs.bounceOut($*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($){return $>-EPSILON$3&&$<EPSILON$3}function isNotAroundZero$1($){return $>EPSILON$3||$<-EPSILON$3}function cubicAt($,z,ie,le,ue){var pe=1-ue;return pe*pe*(pe*$+3*ue*z)+ue*ue*(ue*le+3*pe*ie)}function cubicDerivativeAt($,z,ie,le,ue){var pe=1-ue;return 3*(((z-$)*pe+2*(ie-z)*ue)*pe+(le-ie)*ue*ue)}function cubicRootAt($,z,ie,le,ue,pe){var _e=le+3*(z-ie)-$,Ce=3*(ie-z*2+$),$e=3*(z-$),xe=$-ue,Ie=Ce*Ce-3*_e*$e,Ve=Ce*$e-9*_e*xe,ze=$e*$e-3*Ce*xe,Ue=0;if(isAroundZero(Ie)&&isAroundZero(Ve))if(isAroundZero(Ce))pe[0]=0;else{var qe=-$e/Ce;qe>=0&&qe<=1&&(pe[Ue++]=qe)}else{var Et=Ve*Ve-4*Ie*ze;if(isAroundZero(Et)){var Lt=Ve/Ie,qe=-Ce/_e+Lt,hn=-Lt/2;qe>=0&&qe<=1&&(pe[Ue++]=qe),hn>=0&&hn<=1&&(pe[Ue++]=hn)}else if(Et>0){var vn=mathSqrt$3(Et),_n=Ie*Ce+1.5*_e*(-Ve+vn),bn=Ie*Ce+1.5*_e*(-Ve-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 qe=(-Ce-(_n+bn))/(3*_e);qe>=0&&qe<=1&&(pe[Ue++]=qe)}else{var Cn=(2*Ie*Ce-3*_e*Ve)/(2*mathSqrt$3(Ie*Ie*Ie)),Sn=Math.acos(Cn)/3,En=mathSqrt$3(Ie),wn=Math.cos(Sn),qe=(-Ce-2*En*wn)/(3*_e),hn=(-Ce+En*(wn+THREE_SQRT*Math.sin(Sn)))/(3*_e),Tn=(-Ce+En*(wn-THREE_SQRT*Math.sin(Sn)))/(3*_e);qe>=0&&qe<=1&&(pe[Ue++]=qe),hn>=0&&hn<=1&&(pe[Ue++]=hn),Tn>=0&&Tn<=1&&(pe[Ue++]=Tn)}}return Ue}function cubicExtrema($,z,ie,le,ue){var pe=6*ie-12*z+6*$,_e=9*z+3*le-3*$-9*ie,Ce=3*z-3*$,$e=0;if(isAroundZero(_e)){if(isNotAroundZero$1(pe)){var xe=-Ce/pe;xe>=0&&xe<=1&&(ue[$e++]=xe)}}else{var Ie=pe*pe-4*_e*Ce;if(isAroundZero(Ie))ue[0]=-pe/(2*_e);else if(Ie>0){var Ve=mathSqrt$3(Ie),xe=(-pe+Ve)/(2*_e),ze=(-pe-Ve)/(2*_e);xe>=0&&xe<=1&&(ue[$e++]=xe),ze>=0&&ze<=1&&(ue[$e++]=ze)}}return $e}function cubicSubdivide($,z,ie,le,ue,pe){var _e=(z-$)*ue+$,Ce=(ie-z)*ue+z,$e=(le-ie)*ue+ie,xe=(Ce-_e)*ue+_e,Ie=($e-Ce)*ue+Ce,Ve=(Ie-xe)*ue+xe;pe[0]=$,pe[1]=_e,pe[2]=xe,pe[3]=Ve,pe[4]=Ve,pe[5]=Ie,pe[6]=$e,pe[7]=le}function cubicProjectPoint($,z,ie,le,ue,pe,_e,Ce,$e,xe,Ie){var Ve,ze=.005,Ue=1/0,qe,Et,Lt,hn;_v0[0]=$e,_v0[1]=xe;for(var vn=0;vn<1;vn+=.05)_v1[0]=cubicAt($,ie,ue,_e,vn),_v1[1]=cubicAt(z,le,pe,Ce,vn),Lt=distSquare(_v0,_v1),Lt<Ue&&(Ve=vn,Ue=Lt);Ue=1/0;for(var _n=0;_n<32&&!(ze<EPSILON_NUMERIC);_n++)qe=Ve-ze,Et=Ve+ze,_v1[0]=cubicAt($,ie,ue,_e,qe),_v1[1]=cubicAt(z,le,pe,Ce,qe),Lt=distSquare(_v1,_v0),qe>=0&&Lt<Ue?(Ve=qe,Ue=Lt):(_v2[0]=cubicAt($,ie,ue,_e,Et),_v2[1]=cubicAt(z,le,pe,Ce,Et),hn=distSquare(_v2,_v0),Et<=1&&hn<Ue?(Ve=Et,Ue=hn):ze*=.5);return Ie&&(Ie[0]=cubicAt($,ie,ue,_e,Ve),Ie[1]=cubicAt(z,le,pe,Ce,Ve)),mathSqrt$3(Ue)}function cubicLength($,z,ie,le,ue,pe,_e,Ce,$e){for(var xe=$,Ie=z,Ve=0,ze=1/$e,Ue=1;Ue<=$e;Ue++){var qe=Ue*ze,Et=cubicAt($,ie,ue,_e,qe),Lt=cubicAt(z,le,pe,Ce,qe),hn=Et-xe,vn=Lt-Ie;Ve+=Math.sqrt(hn*hn+vn*vn),xe=Et,Ie=Lt}return Ve}function quadraticAt($,z,ie,le){var ue=1-le;return ue*(ue*$+2*le*z)+le*le*ie}function quadraticDerivativeAt($,z,ie,le){return 2*((1-le)*(z-$)+le*(ie-z))}function quadraticRootAt($,z,ie,le,ue){var pe=$-2*z+ie,_e=2*(z-$),Ce=$-le,$e=0;if(isAroundZero(pe)){if(isNotAroundZero$1(_e)){var xe=-Ce/_e;xe>=0&&xe<=1&&(ue[$e++]=xe)}}else{var Ie=_e*_e-4*pe*Ce;if(isAroundZero(Ie)){var xe=-_e/(2*pe);xe>=0&&xe<=1&&(ue[$e++]=xe)}else if(Ie>0){var Ve=mathSqrt$3(Ie),xe=(-_e+Ve)/(2*pe),ze=(-_e-Ve)/(2*pe);xe>=0&&xe<=1&&(ue[$e++]=xe),ze>=0&&ze<=1&&(ue[$e++]=ze)}}return $e}function quadraticExtremum($,z,ie){var le=$+ie-2*z;return le===0?.5:($-z)/le}function quadraticSubdivide($,z,ie,le,ue){var pe=(z-$)*le+$,_e=(ie-z)*le+z,Ce=(_e-pe)*le+pe;ue[0]=$,ue[1]=pe,ue[2]=Ce,ue[3]=Ce,ue[4]=_e,ue[5]=ie}function quadraticProjectPoint($,z,ie,le,ue,pe,_e,Ce,$e){var xe,Ie=.005,Ve=1/0;_v0[0]=_e,_v0[1]=Ce;for(var ze=0;ze<1;ze+=.05){_v1[0]=quadraticAt($,ie,ue,ze),_v1[1]=quadraticAt(z,le,pe,ze);var Ue=distSquare(_v0,_v1);Ue<Ve&&(xe=ze,Ve=Ue)}Ve=1/0;for(var qe=0;qe<32&&!(Ie<EPSILON_NUMERIC);qe++){var Et=xe-Ie,Lt=xe+Ie;_v1[0]=quadraticAt($,ie,ue,Et),_v1[1]=quadraticAt(z,le,pe,Et);var Ue=distSquare(_v1,_v0);if(Et>=0&&Ue<Ve)xe=Et,Ve=Ue;else{_v2[0]=quadraticAt($,ie,ue,Lt),_v2[1]=quadraticAt(z,le,pe,Lt);var hn=distSquare(_v2,_v0);Lt<=1&&hn<Ve?(xe=Lt,Ve=hn):Ie*=.5}}return $e&&($e[0]=quadraticAt($,ie,ue,xe),$e[1]=quadraticAt(z,le,pe,xe)),mathSqrt$3(Ve)}function quadraticLength($,z,ie,le,ue,pe,_e){for(var Ce=$,$e=z,xe=0,Ie=1/_e,Ve=1;Ve<=_e;Ve++){var ze=Ve*Ie,Ue=quadraticAt($,ie,ue,ze),qe=quadraticAt(z,le,pe,ze),Et=Ue-Ce,Lt=qe-$e;xe+=Math.sqrt(Et*Et+Lt*Lt),Ce=Ue,$e=qe}return xe}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc($){var z=$&®exp.exec($);if(z){var ie=z[1].split(","),le=+trim$1(ie[0]),ue=+trim$1(ie[1]),pe=+trim$1(ie[2]),_e=+trim$1(ie[3]);if(isNaN(le+ue+pe+_e))return;var Ce=[];return function($e){return $e<=0?0:$e>=1?1:cubicRootAt(0,le,pe,1,$e,Ce)&&cubicAt(0,ue,_e,1,Ce[0])}}}var Clip=function(){function $(z){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=z.life||1e3,this._delay=z.delay||0,this.loop=z.loop||!1,this.onframe=z.onframe||noop,this.ondestroy=z.ondestroy||noop,this.onrestart=z.onrestart||noop,z.easing&&this.setEasing(z.easing)}return $.prototype.step=function(z,ie){if(this._inited||(this._startTime=z+this._delay,this._inited=!0),this._paused){this._pausedTime+=ie;return}var le=this._life,ue=z-this._startTime-this._pausedTime,pe=ue/le;pe<0&&(pe=0),pe=Math.min(pe,1);var _e=this.easingFunc,Ce=_e?_e(pe):pe;if(this.onframe(Ce),pe===1)if(this.loop){var $e=ue%le;this._startTime=z-$e,this._pausedTime=0,this.onrestart()}else return!0;return!1},$.prototype.pause=function(){this._paused=!0},$.prototype.resume=function(){this._paused=!1},$.prototype.setEasing=function(z){this.easing=z,this.easingFunc=isFunction(z)?z:easingFuncs$1[z]||createCubicEasingFunc(z)},$}();const Clip$1=Clip;var Entry=function(){function $(z){this.value=z}return $}(),LinkedList=function(){function $(){this._len=0}return $.prototype.insert=function(z){var ie=new Entry(z);return this.insertEntry(ie),ie},$.prototype.insertEntry=function(z){this.head?(this.tail.next=z,z.prev=this.tail,z.next=null,this.tail=z):this.head=this.tail=z,this._len++},$.prototype.remove=function(z){var ie=z.prev,le=z.next;ie?ie.next=le:this.head=le,le?le.prev=ie:this.tail=ie,z.next=z.prev=null,this._len--},$.prototype.len=function(){return this._len},$.prototype.clear=function(){this.head=this.tail=null,this._len=0},$}(),LRU=function(){function $(z){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=z}return $.prototype.put=function(z,ie){var le=this._list,ue=this._map,pe=null;if(ue[z]==null){var _e=le.len(),Ce=this._lastRemovedEntry;if(_e>=this._maxSize&&_e>0){var $e=le.head;le.remove($e),delete ue[$e.key],pe=$e.value,this._lastRemovedEntry=$e}Ce?Ce.value=ie:Ce=new Entry(ie),Ce.key=z,le.insertEntry(Ce),ue[z]=Ce}return pe},$.prototype.get=function(z){var ie=this._map[z],le=this._list;if(ie!=null)return ie!==le.tail&&(le.remove(ie),le.insertEntry(ie)),ie.value},$.prototype.clear=function(){this._list.clear(),this._map={}},$.prototype.len=function(){return this._list.len()},$}();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($){return $=Math.round($),$<0?0:$>255?255:$}function clampCssAngle($){return $=Math.round($),$<0?0:$>360?360:$}function clampCssFloat($){return $<0?0:$>1?1:$}function parseCssInt($){var z=$;return z.length&&z.charAt(z.length-1)==="%"?clampCssByte(parseFloat(z)/100*255):clampCssByte(parseInt(z,10))}function parseCssFloat($){var z=$;return z.length&&z.charAt(z.length-1)==="%"?clampCssFloat(parseFloat(z)/100):clampCssFloat(parseFloat(z))}function cssHueToRgb($,z,ie){return ie<0?ie+=1:ie>1&&(ie-=1),ie*6<1?$+(z-$)*ie*6:ie*2<1?z:ie*3<2?$+(z-$)*(2/3-ie)*6:$}function lerpNumber($,z,ie){return $+(z-$)*ie}function setRgba($,z,ie,le,ue){return $[0]=z,$[1]=ie,$[2]=le,$[3]=ue,$}function copyRgba($,z){return $[0]=z[0],$[1]=z[1],$[2]=z[2],$[3]=z[3],$}var colorCache=new LRU$1(20),lastRemovedArr=null;function putToCache($,z){lastRemovedArr&©Rgba(lastRemovedArr,z),lastRemovedArr=colorCache.put($,lastRemovedArr||z.slice())}function parse$1($,z){if($){z=z||[];var ie=colorCache.get($);if(ie)return copyRgba(z,ie);$=$+"";var le=$.replace(/ /g,"").toLowerCase();if(le in kCSSColorTable)return copyRgba(z,kCSSColorTable[le]),putToCache($,z),z;var ue=le.length;if(le.charAt(0)==="#"){if(ue===4||ue===5){var pe=parseInt(le.slice(1,4),16);if(!(pe>=0&&pe<=4095)){setRgba(z,0,0,0,1);return}return setRgba(z,(pe&3840)>>4|(pe&3840)>>8,pe&240|(pe&240)>>4,pe&15|(pe&15)<<4,ue===5?parseInt(le.slice(4),16)/15:1),putToCache($,z),z}else if(ue===7||ue===9){var pe=parseInt(le.slice(1,7),16);if(!(pe>=0&&pe<=16777215)){setRgba(z,0,0,0,1);return}return setRgba(z,(pe&16711680)>>16,(pe&65280)>>8,pe&255,ue===9?parseInt(le.slice(7),16)/255:1),putToCache($,z),z}return}var _e=le.indexOf("("),Ce=le.indexOf(")");if(_e!==-1&&Ce+1===ue){var $e=le.substr(0,_e),xe=le.substr(_e+1,Ce-(_e+1)).split(","),Ie=1;switch($e){case"rgba":if(xe.length!==4)return xe.length===3?setRgba(z,+xe[0],+xe[1],+xe[2],1):setRgba(z,0,0,0,1);Ie=parseCssFloat(xe.pop());case"rgb":if(xe.length>=3)return setRgba(z,parseCssInt(xe[0]),parseCssInt(xe[1]),parseCssInt(xe[2]),xe.length===3?Ie:parseCssFloat(xe[3])),putToCache($,z),z;setRgba(z,0,0,0,1);return;case"hsla":if(xe.length!==4){setRgba(z,0,0,0,1);return}return xe[3]=parseCssFloat(xe[3]),hsla2rgba(xe,z),putToCache($,z),z;case"hsl":if(xe.length!==3){setRgba(z,0,0,0,1);return}return hsla2rgba(xe,z),putToCache($,z),z;default:return}}setRgba(z,0,0,0,1)}}function hsla2rgba($,z){var ie=(parseFloat($[0])%360+360)%360/360,le=parseCssFloat($[1]),ue=parseCssFloat($[2]),pe=ue<=.5?ue*(le+1):ue+le-ue*le,_e=ue*2-pe;return z=z||[],setRgba(z,clampCssByte(cssHueToRgb(_e,pe,ie+1/3)*255),clampCssByte(cssHueToRgb(_e,pe,ie)*255),clampCssByte(cssHueToRgb(_e,pe,ie-1/3)*255),1),$.length===4&&(z[3]=$[3]),z}function rgba2hsla($){if($){var z=$[0]/255,ie=$[1]/255,le=$[2]/255,ue=Math.min(z,ie,le),pe=Math.max(z,ie,le),_e=pe-ue,Ce=(pe+ue)/2,$e,xe;if(_e===0)$e=0,xe=0;else{Ce<.5?xe=_e/(pe+ue):xe=_e/(2-pe-ue);var Ie=((pe-z)/6+_e/2)/_e,Ve=((pe-ie)/6+_e/2)/_e,ze=((pe-le)/6+_e/2)/_e;z===pe?$e=ze-Ve:ie===pe?$e=1/3+Ie-ze:le===pe&&($e=2/3+Ve-Ie),$e<0&&($e+=1),$e>1&&($e-=1)}var Ue=[$e*360,xe,Ce];return $[3]!=null&&Ue.push($[3]),Ue}}function lift($,z){var ie=parse$1($);if(ie){for(var le=0;le<3;le++)z<0?ie[le]=ie[le]*(1-z)|0:ie[le]=(255-ie[le])*z+ie[le]|0,ie[le]>255?ie[le]=255:ie[le]<0&&(ie[le]=0);return stringify(ie,ie.length===4?"rgba":"rgb")}}function toHex($){var z=parse$1($);if(z)return((1<<24)+(z[0]<<16)+(z[1]<<8)+ +z[2]).toString(16).slice(1)}function fastLerp($,z,ie){if(!(!(z&&z.length)||!($>=0&&$<=1))){ie=ie||[];var le=$*(z.length-1),ue=Math.floor(le),pe=Math.ceil(le),_e=z[ue],Ce=z[pe],$e=le-ue;return ie[0]=clampCssByte(lerpNumber(_e[0],Ce[0],$e)),ie[1]=clampCssByte(lerpNumber(_e[1],Ce[1],$e)),ie[2]=clampCssByte(lerpNumber(_e[2],Ce[2],$e)),ie[3]=clampCssFloat(lerpNumber(_e[3],Ce[3],$e)),ie}}var fastMapToColor=fastLerp;function lerp($,z,ie){if(!(!(z&&z.length)||!($>=0&&$<=1))){var le=$*(z.length-1),ue=Math.floor(le),pe=Math.ceil(le),_e=parse$1(z[ue]),Ce=parse$1(z[pe]),$e=le-ue,xe=stringify([clampCssByte(lerpNumber(_e[0],Ce[0],$e)),clampCssByte(lerpNumber(_e[1],Ce[1],$e)),clampCssByte(lerpNumber(_e[2],Ce[2],$e)),clampCssFloat(lerpNumber(_e[3],Ce[3],$e))],"rgba");return ie?{color:xe,leftIndex:ue,rightIndex:pe,value:le}:xe}}var mapToColor=lerp;function modifyHSL($,z,ie,le){var ue=parse$1($);if($)return ue=rgba2hsla(ue),z!=null&&(ue[0]=clampCssAngle(z)),ie!=null&&(ue[1]=parseCssFloat(ie)),le!=null&&(ue[2]=parseCssFloat(le)),stringify(hsla2rgba(ue),"rgba")}function modifyAlpha($,z){var ie=parse$1($);if(ie&&z!=null)return ie[3]=clampCssFloat(z),stringify(ie,"rgba")}function stringify($,z){if(!(!$||!$.length)){var ie=$[0]+","+$[1]+","+$[2];return(z==="rgba"||z==="hsva"||z==="hsla")&&(ie+=","+$[3]),z+"("+ie+")"}}function lum($,z){var ie=parse$1($);return ie?(.299*ie[0]+.587*ie[1]+.114*ie[2])*ie[3]/255+(1-ie[3])*z: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($){return $.type==="linear"}function isRadialGradient($){return $.type==="radial"}(function(){return env$1.hasGlobalWindow&&isFunction(window.btoa)?function($){return window.btoa(unescape(encodeURIComponent($)))}:typeof Buffer<"u"?function($){return Buffer.from($).toString("base64")}:function($){return null}})();var arraySlice=Array.prototype.slice;function interpolateNumber$1($,z,ie){return(z-$)*ie+$}function interpolate1DArray($,z,ie,le){for(var ue=z.length,pe=0;pe<ue;pe++)$[pe]=interpolateNumber$1(z[pe],ie[pe],le);return $}function interpolate2DArray($,z,ie,le){for(var ue=z.length,pe=ue&&z[0].length,_e=0;_e<ue;_e++){$[_e]||($[_e]=[]);for(var Ce=0;Ce<pe;Ce++)$[_e][Ce]=interpolateNumber$1(z[_e][Ce],ie[_e][Ce],le)}return $}function add1DArray($,z,ie,le){for(var ue=z.length,pe=0;pe<ue;pe++)$[pe]=z[pe]+ie[pe]*le;return $}function add2DArray($,z,ie,le){for(var ue=z.length,pe=ue&&z[0].length,_e=0;_e<ue;_e++){$[_e]||($[_e]=[]);for(var Ce=0;Ce<pe;Ce++)$[_e][Ce]=z[_e][Ce]+ie[_e][Ce]*le}return $}function fillColorStops($,z){for(var ie=$.length,le=z.length,ue=ie>le?z:$,pe=Math.min(ie,le),_e=ue[pe-1]||{color:[0,0,0,0],offset:0},Ce=pe;Ce<Math.max(ie,le);Ce++)ue.push({offset:_e.offset,color:_e.color.slice()})}function fillArray($,z,ie){var le=$,ue=z;if(!(!le.push||!ue.push)){var pe=le.length,_e=ue.length;if(pe!==_e){var Ce=pe>_e;if(Ce)le.length=_e;else for(var $e=pe;$e<_e;$e++)le.push(ie===1?ue[$e]:arraySlice.call(ue[$e]))}for(var xe=le[0]&&le[0].length,$e=0;$e<le.length;$e++)if(ie===1)isNaN(le[$e])&&(le[$e]=ue[$e]);else for(var Ie=0;Ie<xe;Ie++)isNaN(le[$e][Ie])&&(le[$e][Ie]=ue[$e][Ie])}}function cloneValue($){if(isArrayLike($)){var z=$.length;if(isArrayLike($[0])){for(var ie=[],le=0;le<z;le++)ie.push(arraySlice.call($[le]));return ie}return arraySlice.call($)}return $}function rgba2String($){return $[0]=Math.floor($[0])||0,$[1]=Math.floor($[1])||0,$[2]=Math.floor($[2])||0,$[3]=$[3]==null?1:$[3],"rgba("+$.join(",")+")"}function guessArrayDim($){return isArrayLike($&&$[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($){return $===VALUE_TYPE_LINEAR_GRADIENT||$===VALUE_TYPE_RADIAL_GRADIENT}function isArrayValueType($){return $===VALUE_TYPE_1D_ARRAY||$===VALUE_TYPE_2D_ARRAY}var tmpRgba=[0,0,0,0],Track=function(){function $(z){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=z}return $.prototype.isFinished=function(){return this._finished},$.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},$.prototype.needsAnimate=function(){return this.keyframes.length>=1},$.prototype.getAdditiveTrack=function(){return this._additiveTrack},$.prototype.addKeyframe=function(z,ie,le){this._needsSort=!0;var ue=this.keyframes,pe=ue.length,_e=!1,Ce=VALUE_TYPE_UNKOWN,$e=ie;if(isArrayLike(ie)){var xe=guessArrayDim(ie);Ce=xe,(xe===1&&!isNumber(ie[0])||xe===2&&!isNumber(ie[0][0]))&&(_e=!0)}else if(isNumber(ie)&&!eqNaN(ie))Ce=VALUE_TYPE_NUMBER;else if(isString(ie))if(!isNaN(+ie))Ce=VALUE_TYPE_NUMBER;else{var Ie=parse$1(ie);Ie&&($e=Ie,Ce=VALUE_TYPE_COLOR)}else if(isGradientObject(ie)){var Ve=extend({},$e);Ve.colorStops=map$2(ie.colorStops,function(Ue){return{offset:Ue.offset,color:parse$1(Ue.color)}}),isLinearGradient(ie)?Ce=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(ie)&&(Ce=VALUE_TYPE_RADIAL_GRADIENT),$e=Ve}pe===0?this.valType=Ce:(Ce!==this.valType||Ce===VALUE_TYPE_UNKOWN)&&(_e=!0),this.discrete=this.discrete||_e;var ze={time:z,value:$e,rawValue:ie,percent:0};return le&&(ze.easing=le,ze.easingFunc=isFunction(le)?le:easingFuncs$1[le]||createCubicEasingFunc(le)),ue.push(ze),ze},$.prototype.prepare=function(z,ie){var le=this.keyframes;this._needsSort&&le.sort(function(Et,Lt){return Et.time-Lt.time});for(var ue=this.valType,pe=le.length,_e=le[pe-1],Ce=this.discrete,$e=isArrayValueType(ue),xe=isGradientValueType(ue),Ie=0;Ie<pe;Ie++){var Ve=le[Ie],ze=Ve.value,Ue=_e.value;Ve.percent=Ve.time/z,Ce||($e&&Ie!==pe-1?fillArray(ze,Ue,ue):xe&&fillColorStops(ze.colorStops,Ue.colorStops))}if(!Ce&&ue!==VALUE_TYPE_RADIAL_GRADIENT&&ie&&this.needsAnimate()&&ie.needsAnimate()&&ue===ie.valType&&!ie._finished){this._additiveTrack=ie;for(var qe=le[0].value,Ie=0;Ie<pe;Ie++)ue===VALUE_TYPE_NUMBER?le[Ie].additiveValue=le[Ie].value-qe:ue===VALUE_TYPE_COLOR?le[Ie].additiveValue=add1DArray([],le[Ie].value,qe,-1):isArrayValueType(ue)&&(le[Ie].additiveValue=ue===VALUE_TYPE_1D_ARRAY?add1DArray([],le[Ie].value,qe,-1):add2DArray([],le[Ie].value,qe,-1))}},$.prototype.step=function(z,ie){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var le=this._additiveTrack!=null,ue=le?"additiveValue":"value",pe=this.valType,_e=this.keyframes,Ce=_e.length,$e=this.propName,xe=pe===VALUE_TYPE_COLOR,Ie,Ve=this._lastFr,ze=Math.min,Ue,qe;if(Ce===1)Ue=qe=_e[0];else{if(ie<0)Ie=0;else if(ie<this._lastFrP){var Et=ze(Ve+1,Ce-1);for(Ie=Et;Ie>=0&&!(_e[Ie].percent<=ie);Ie--);Ie=ze(Ie,Ce-2)}else{for(Ie=Ve;Ie<Ce&&!(_e[Ie].percent>ie);Ie++);Ie=ze(Ie-1,Ce-2)}qe=_e[Ie+1],Ue=_e[Ie]}if(Ue&&qe){this._lastFr=Ie,this._lastFrP=ie;var Lt=qe.percent-Ue.percent,hn=Lt===0?1:ze((ie-Ue.percent)/Lt,1);qe.easingFunc&&(hn=qe.easingFunc(hn));var vn=le?this._additiveValue:xe?tmpRgba:z[$e];if((isArrayValueType(pe)||xe)&&!vn&&(vn=this._additiveValue=[]),this.discrete)z[$e]=hn<1?Ue.rawValue:qe.rawValue;else if(isArrayValueType(pe))pe===VALUE_TYPE_1D_ARRAY?interpolate1DArray(vn,Ue[ue],qe[ue],hn):interpolate2DArray(vn,Ue[ue],qe[ue],hn);else if(isGradientValueType(pe)){var _n=Ue[ue],bn=qe[ue],Cn=pe===VALUE_TYPE_LINEAR_GRADIENT;z[$e]={type:Cn?"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 Tn=bn.colorStops[wn];return{offset:interpolateNumber$1(En.offset,Tn.offset,hn),color:rgba2String(interpolate1DArray([],En.color,Tn.color,hn))}}),global:bn.global},Cn?(z[$e].x2=interpolateNumber$1(_n.x2,bn.x2,hn),z[$e].y2=interpolateNumber$1(_n.y2,bn.y2,hn)):z[$e].r=interpolateNumber$1(_n.r,bn.r,hn)}else if(xe)interpolate1DArray(vn,Ue[ue],qe[ue],hn),le||(z[$e]=rgba2String(vn));else{var Sn=interpolateNumber$1(Ue[ue],qe[ue],hn);le?this._additiveValue=Sn:z[$e]=Sn}le&&this._addToTarget(z)}}},$.prototype._addToTarget=function(z){var ie=this.valType,le=this.propName,ue=this._additiveValue;ie===VALUE_TYPE_NUMBER?z[le]=z[le]+ue:ie===VALUE_TYPE_COLOR?(parse$1(z[le],tmpRgba),add1DArray(tmpRgba,tmpRgba,ue,1),z[le]=rgba2String(tmpRgba)):ie===VALUE_TYPE_1D_ARRAY?add1DArray(z[le],z[le],ue,1):ie===VALUE_TYPE_2D_ARRAY&&add2DArray(z[le],z[le],ue,1)},$}(),Animator=function(){function $(z,ie,le,ue){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=z,this._loop=ie,ie&&ue){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=ue,this._allowDiscrete=le}return $.prototype.getMaxTime=function(){return this._maxTime},$.prototype.getDelay=function(){return this._delay},$.prototype.getLoop=function(){return this._loop},$.prototype.getTarget=function(){return this._target},$.prototype.changeTarget=function(z){this._target=z},$.prototype.when=function(z,ie,le){return this.whenWithKeys(z,ie,keys(ie),le)},$.prototype.whenWithKeys=function(z,ie,le,ue){for(var pe=this._tracks,_e=0;_e<le.length;_e++){var Ce=le[_e],$e=pe[Ce];if(!$e){$e=pe[Ce]=new Track(Ce);var xe=void 0,Ie=this._getAdditiveTrack(Ce);if(Ie){var Ve=Ie.keyframes,ze=Ve[Ve.length-1];xe=ze&&ze.value,Ie.valType===VALUE_TYPE_COLOR&&xe&&(xe=rgba2String(xe))}else xe=this._target[Ce];if(xe==null)continue;z>0&&$e.addKeyframe(0,cloneValue(xe),ue),this._trackKeys.push(Ce)}$e.addKeyframe(z,cloneValue(ie[Ce]),ue)}return this._maxTime=Math.max(this._maxTime,z),this},$.prototype.pause=function(){this._clip.pause(),this._paused=!0},$.prototype.resume=function(){this._clip.resume(),this._paused=!1},$.prototype.isPaused=function(){return!!this._paused},$.prototype.duration=function(z){return this._maxTime=z,this._force=!0,this},$.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var z=this._doneCbs;if(z)for(var ie=z.length,le=0;le<ie;le++)z[le].call(this)},$.prototype._abortedCallback=function(){this._setTracksFinished();var z=this.animation,ie=this._abortedCbs;if(z&&z.removeClip(this._clip),this._clip=null,ie)for(var le=0;le<ie.length;le++)ie[le].call(this)},$.prototype._setTracksFinished=function(){for(var z=this._tracks,ie=this._trackKeys,le=0;le<ie.length;le++)z[ie[le]].setFinished()},$.prototype._getAdditiveTrack=function(z){var ie,le=this._additiveAnimators;if(le)for(var ue=0;ue<le.length;ue++){var pe=le[ue].getTrack(z);pe&&(ie=pe)}return ie},$.prototype.start=function(z){if(!(this._started>0)){this._started=1;for(var ie=this,le=[],ue=this._maxTime||0,pe=0;pe<this._trackKeys.length;pe++){var _e=this._trackKeys[pe],Ce=this._tracks[_e],$e=this._getAdditiveTrack(_e),xe=Ce.keyframes,Ie=xe.length;if(Ce.prepare(ue,$e),Ce.needsAnimate())if(!this._allowDiscrete&&Ce.discrete){var Ve=xe[Ie-1];Ve&&(ie._target[Ce.propName]=Ve.rawValue),Ce.setFinished()}else le.push(Ce)}if(le.length||this._force){var ze=new Clip$1({life:ue,loop:this._loop,delay:this._delay||0,onframe:function(Ue){ie._started=2;var qe=ie._additiveAnimators;if(qe){for(var Et=!1,Lt=0;Lt<qe.length;Lt++)if(qe[Lt]._clip){Et=!0;break}Et||(ie._additiveAnimators=null)}for(var Lt=0;Lt<le.length;Lt++)le[Lt].step(ie._target,Ue);var hn=ie._onframeCbs;if(hn)for(var Lt=0;Lt<hn.length;Lt++)hn[Lt](ie._target,Ue)},ondestroy:function(){ie._doneCallback()}});this._clip=ze,this.animation&&this.animation.addClip(ze),z&&ze.setEasing(z)}else this._doneCallback();return this}},$.prototype.stop=function(z){if(this._clip){var ie=this._clip;z&&ie.onframe(1),this._abortedCallback()}},$.prototype.delay=function(z){return this._delay=z,this},$.prototype.during=function(z){return z&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(z)),this},$.prototype.done=function(z){return z&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(z)),this},$.prototype.aborted=function(z){return z&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(z)),this},$.prototype.getClip=function(){return this._clip},$.prototype.getTrack=function(z){return this._tracks[z]},$.prototype.getTracks=function(){var z=this;return map$2(this._trackKeys,function(ie){return z._tracks[ie]})},$.prototype.stopTracks=function(z,ie){if(!z.length||!this._clip)return!0;for(var le=this._tracks,ue=this._trackKeys,pe=0;pe<z.length;pe++){var _e=le[z[pe]];_e&&!_e.isFinished()&&(ie?_e.step(this._target,1):this._started===1&&_e.step(this._target,0),_e.setFinished())}for(var Ce=!0,pe=0;pe<ue.length;pe++)if(!le[ue[pe]].isFinished()){Ce=!1;break}return Ce&&this._abortedCallback(),Ce},$.prototype.saveTo=function(z,ie,le){if(z){ie=ie||this._trackKeys;for(var ue=0;ue<ie.length;ue++){var pe=ie[ue],_e=this._tracks[pe];if(!(!_e||_e.isFinished())){var Ce=_e.keyframes,$e=Ce[le?0:Ce.length-1];$e&&(z[pe]=cloneValue($e.rawValue))}}}},$.prototype.__changeFinalValue=function(z,ie){ie=ie||keys(z);for(var le=0;le<ie.length;le++){var ue=ie[le],pe=this._tracks[ue];if(pe){var _e=pe.keyframes;if(_e.length>1){var Ce=_e.pop();pe.addKeyframe(Ce.time,z[ue]),pe.prepare(this._maxTime,pe.getAdditiveTrack())}}}},$}();const Animator$1=Animator;function getTime(){return new Date().getTime()}var Animation=function($){__extends(z,$);function z(ie){var le=$.call(this)||this;return le._running=!1,le._time=0,le._pausedTime=0,le._pauseStart=0,le._paused=!1,ie=ie||{},le.stage=ie.stage||{},le}return z.prototype.addClip=function(ie){ie.animation&&this.removeClip(ie),this._head?(this._tail.next=ie,ie.prev=this._tail,ie.next=null,this._tail=ie):this._head=this._tail=ie,ie.animation=this},z.prototype.addAnimator=function(ie){ie.animation=this;var le=ie.getClip();le&&this.addClip(le)},z.prototype.removeClip=function(ie){if(ie.animation){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=ie.animation=null}},z.prototype.removeAnimator=function(ie){var le=ie.getClip();le&&this.removeClip(le),ie.animation=null},z.prototype.update=function(ie){for(var le=getTime()-this._pausedTime,ue=le-this._time,pe=this._head;pe;){var _e=pe.next,Ce=pe.step(le,ue);Ce&&(pe.ondestroy(),this.removeClip(pe)),pe=_e}this._time=le,ie||(this.trigger("frame",ue),this.stage.update&&this.stage.update())},z.prototype._startLoop=function(){var ie=this;this._running=!0;function le(){ie._running&&(requestAnimationFrame$2(le),!ie._paused&&ie.update())}requestAnimationFrame$2(le)},z.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},z.prototype.stop=function(){this._running=!1},z.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},z.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},z.prototype.clear=function(){for(var ie=this._head;ie;){var le=ie.next;ie.prev=ie.next=ie.animation=null,ie=le}this._head=this._tail=null},z.prototype.isFinished=function(){return this._head==null},z.prototype.animate=function(ie,le){le=le||{},this.start();var ue=new Animator$1(ie,le.loop);return this.addAnimator(ue),ue},z}(Eventful$1);const Animation$1=Animation;var TOUCH_CLICK_DELAY=300,globalEventSupported=env$1.domSupported,localNativeListenerNames=function(){var $=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],z=["touchstart","touchend","touchmove"],ie={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},le=map$2($,function(ue){var pe=ue.replace("mouse","pointer");return ie.hasOwnProperty(pe)?pe:ue});return{mouse:$,touch:z,pointer:le}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch($){var z=$.pointerType;return z==="pen"||z==="touch"}function setTouchTimer($){$.touching=!0,$.touchTimer!=null&&(clearTimeout($.touchTimer),$.touchTimer=null),$.touchTimer=setTimeout(function(){$.touching=!1,$.touchTimer=null},700)}function markTouch($){$&&($.zrByTouch=!0)}function normalizeGlobalEvent($,z){return normalizeEvent($.dom,new FakeGlobalEvent($,z),!0)}function isLocalEl($,z){for(var ie=z,le=!1;ie&&ie.nodeType!==9&&!(le=ie.domBelongToZr||ie!==z&&ie===$.painterRoot);)ie=ie.parentNode;return le}var FakeGlobalEvent=function(){function $(z,ie){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=ie.type,this.target=this.currentTarget=z.dom,this.pointerType=ie.pointerType,this.clientX=ie.clientX,this.clientY=ie.clientY}return $}(),localDOMHandlers={mousedown:function($){$=normalizeEvent(this.dom,$),this.__mayPointerCapture=[$.zrX,$.zrY],this.trigger("mousedown",$)},mousemove:function($){$=normalizeEvent(this.dom,$);var z=this.__mayPointerCapture;z&&($.zrX!==z[0]||$.zrY!==z[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",$)},mouseup:function($){$=normalizeEvent(this.dom,$),this.__togglePointerCapture(!1),this.trigger("mouseup",$)},mouseout:function($){$=normalizeEvent(this.dom,$);var z=$.toElement||$.relatedTarget;isLocalEl(this,z)||(this.__pointerCapturing&&($.zrEventControl="no_globalout"),this.trigger("mouseout",$))},wheel:function($){wheelEventSupported=!0,$=normalizeEvent(this.dom,$),this.trigger("mousewheel",$)},mousewheel:function($){wheelEventSupported||($=normalizeEvent(this.dom,$),this.trigger("mousewheel",$))},touchstart:function($){$=normalizeEvent(this.dom,$),markTouch($),this.__lastTouchMoment=new Date,this.handler.processGesture($,"start"),localDOMHandlers.mousemove.call(this,$),localDOMHandlers.mousedown.call(this,$)},touchmove:function($){$=normalizeEvent(this.dom,$),markTouch($),this.handler.processGesture($,"change"),localDOMHandlers.mousemove.call(this,$)},touchend:function($){$=normalizeEvent(this.dom,$),markTouch($),this.handler.processGesture($,"end"),localDOMHandlers.mouseup.call(this,$),+new Date-+this.__lastTouchMoment<TOUCH_CLICK_DELAY&&localDOMHandlers.click.call(this,$)},pointerdown:function($){localDOMHandlers.mousedown.call(this,$)},pointermove:function($){isPointerFromTouch($)||localDOMHandlers.mousemove.call(this,$)},pointerup:function($){localDOMHandlers.mouseup.call(this,$)},pointerout:function($){isPointerFromTouch($)||localDOMHandlers.mouseout.call(this,$)}};each$c(["click","dblclick","contextmenu"],function($){localDOMHandlers[$]=function(z){z=normalizeEvent(this.dom,z),this.trigger($,z)}});var globalDOMHandlers={pointermove:function($){isPointerFromTouch($)||globalDOMHandlers.mousemove.call(this,$)},pointerup:function($){globalDOMHandlers.mouseup.call(this,$)},mousemove:function($){this.trigger("mousemove",$)},mouseup:function($){var z=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",$),z&&($.zrEventControl="only_globalout",this.trigger("mouseout",$))}};function mountLocalDOMEventListeners($,z){var ie=z.domHandlers;env$1.pointerEventsSupported?each$c(localNativeListenerNames.pointer,function(le){mountSingleDOMEventListener(z,le,function(ue){ie[le].call($,ue)})}):(env$1.touchEventsSupported&&each$c(localNativeListenerNames.touch,function(le){mountSingleDOMEventListener(z,le,function(ue){ie[le].call($,ue),setTouchTimer(z)})}),each$c(localNativeListenerNames.mouse,function(le){mountSingleDOMEventListener(z,le,function(ue){ue=getNativeEvent(ue),z.touching||ie[le].call($,ue)})}))}function mountGlobalDOMEventListeners($,z){env$1.pointerEventsSupported?each$c(globalNativeListenerNames.pointer,ie):env$1.touchEventsSupported||each$c(globalNativeListenerNames.mouse,ie);function ie(le){function ue(pe){pe=getNativeEvent(pe),isLocalEl($,pe.target)||(pe=normalizeGlobalEvent($,pe),z.domHandlers[le].call($,pe))}mountSingleDOMEventListener(z,le,ue,{capture:!0})}}function mountSingleDOMEventListener($,z,ie,le){$.mounted[z]=ie,$.listenerOpts[z]=le,addEventListener($.domTarget,z,ie,le)}function unmountDOMEventListeners($){var z=$.mounted;for(var ie in z)z.hasOwnProperty(ie)&&removeEventListener($.domTarget,ie,z[ie],$.listenerOpts[ie]);$.mounted={}}var DOMHandlerScope=function(){function $(z,ie){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=z,this.domHandlers=ie}return $}(),HandlerDomProxy=function($){__extends(z,$);function z(ie,le){var ue=$.call(this)||this;return ue.__pointerCapturing=!1,ue.dom=ie,ue.painterRoot=le,ue._localHandlerScope=new DOMHandlerScope(ie,localDOMHandlers),globalEventSupported&&(ue._globalHandlerScope=new DOMHandlerScope(document,globalDOMHandlers)),mountLocalDOMEventListeners(ue,ue._localHandlerScope),ue}return z.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),globalEventSupported&&unmountDOMEventListeners(this._globalHandlerScope)},z.prototype.setCursor=function(ie){this.dom.style&&(this.dom.style.cursor=ie||"default")},z.prototype.__togglePointerCapture=function(ie){if(this.__mayPointerCapture=null,globalEventSupported&&+this.__pointerCapturing^+ie){this.__pointerCapturing=ie;var le=this._globalHandlerScope;ie?mountGlobalDOMEventListeners(this,le):unmountDOMEventListeners(le)}},z}(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($){return $>EPSILON$2||$<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create(),abs=Math.abs,Transformable=function(){function $(){}return $.prototype.getLocalTransform=function(z){return $.getLocalTransform(this,z)},$.prototype.setPosition=function(z){this.x=z[0],this.y=z[1]},$.prototype.setScale=function(z){this.scaleX=z[0],this.scaleY=z[1]},$.prototype.setSkew=function(z){this.skewX=z[0],this.skewY=z[1]},$.prototype.setOrigin=function(z){this.originX=z[0],this.originY=z[1]},$.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)},$.prototype.updateTransform=function(){var z=this.parent&&this.parent.transform,ie=this.needLocalTransform(),le=this.transform;if(!(ie||z)){le&&mIdentity(le);return}le=le||create(),ie?this.getLocalTransform(le):mIdentity(le),z&&(ie?mul(le,z,le):copy(le,z)),this.transform=le,this._resolveGlobalScaleRatio(le)},$.prototype._resolveGlobalScaleRatio=function(z){var ie=this.globalScaleRatio;if(ie!=null&&ie!==1){this.getGlobalScale(scaleTmp);var le=scaleTmp[0]<0?-1:1,ue=scaleTmp[1]<0?-1:1,pe=((scaleTmp[0]-le)*ie+le)/scaleTmp[0]||0,_e=((scaleTmp[1]-ue)*ie+ue)/scaleTmp[1]||0;z[0]*=pe,z[1]*=pe,z[2]*=_e,z[3]*=_e}this.invTransform=this.invTransform||create(),invert(this.invTransform,z)},$.prototype.getComputedTransform=function(){for(var z=this,ie=[];z;)ie.push(z),z=z.parent;for(;z=ie.pop();)z.updateTransform();return this.transform},$.prototype.setLocalTransform=function(z){if(z){var ie=z[0]*z[0]+z[1]*z[1],le=z[2]*z[2]+z[3]*z[3],ue=Math.atan2(z[1],z[0]),pe=Math.PI/2+ue-Math.atan2(z[3],z[2]);le=Math.sqrt(le)*Math.cos(pe),ie=Math.sqrt(ie),this.skewX=pe,this.skewY=0,this.rotation=-ue,this.x=+z[4],this.y=+z[5],this.scaleX=ie,this.scaleY=le,this.originX=0,this.originY=0}},$.prototype.decomposeTransform=function(){if(this.transform){var z=this.parent,ie=this.transform;z&&z.transform&&(mul(tmpTransform,z.invTransform,ie),ie=tmpTransform);var le=this.originX,ue=this.originY;(le||ue)&&(originTransform[4]=le,originTransform[5]=ue,mul(tmpTransform,ie,originTransform),tmpTransform[4]-=le,tmpTransform[5]-=ue,ie=tmpTransform),this.setLocalTransform(ie)}},$.prototype.getGlobalScale=function(z){var ie=this.transform;return z=z||[],ie?(z[0]=Math.sqrt(ie[0]*ie[0]+ie[1]*ie[1]),z[1]=Math.sqrt(ie[2]*ie[2]+ie[3]*ie[3]),ie[0]<0&&(z[0]=-z[0]),ie[3]<0&&(z[1]=-z[1]),z):(z[0]=1,z[1]=1,z)},$.prototype.transformCoordToLocal=function(z,ie){var le=[z,ie],ue=this.invTransform;return ue&&applyTransform$1(le,le,ue),le},$.prototype.transformCoordToGlobal=function(z,ie){var le=[z,ie],ue=this.transform;return ue&&applyTransform$1(le,le,ue),le},$.prototype.getLineScale=function(){var z=this.transform;return z&&abs(z[0]-1)>1e-10&&abs(z[3]-1)>1e-10?Math.sqrt(abs(z[0]*z[3]-z[2]*z[1])):1},$.prototype.copyTransform=function(z){copyTransform(this,z)},$.getLocalTransform=function(z,ie){ie=ie||[];var le=z.originX||0,ue=z.originY||0,pe=z.scaleX,_e=z.scaleY,Ce=z.anchorX,$e=z.anchorY,xe=z.rotation||0,Ie=z.x,Ve=z.y,ze=z.skewX?Math.tan(z.skewX):0,Ue=z.skewY?Math.tan(-z.skewY):0;if(le||ue||Ce||$e){var qe=le+Ce,Et=ue+$e;ie[4]=-qe*pe-ze*Et*_e,ie[5]=-Et*_e-Ue*qe*pe}else ie[4]=ie[5]=0;return ie[0]=pe,ie[3]=_e,ie[1]=Ue*pe,ie[2]=ze*_e,xe&&rotate(ie,ie,xe),ie[4]+=le+Ie,ie[5]+=ue+Ve,ie},$.initDefaultProps=function(){var z=$.prototype;z.scaleX=z.scaleY=z.globalScaleRatio=1,z.x=z.y=z.originX=z.originY=z.skewX=z.skewY=z.rotation=z.anchorX=z.anchorY=0}(),$}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform($,z){for(var ie=0;ie<TRANSFORMABLE_PROPS.length;ie++){var le=TRANSFORMABLE_PROPS[ie];$[le]=z[le]}}const Transformable$1=Transformable;var textWidthCache={};function getWidth($,z){z=z||DEFAULT_FONT;var ie=textWidthCache[z];ie||(ie=textWidthCache[z]=new LRU$1(500));var le=ie.get($);return le==null&&(le=platformApi.measureText($,z).width,ie.put($,le)),le}function innerGetBoundingRect($,z,ie,le){var ue=getWidth($,z),pe=getLineHeight(z),_e=adjustTextX(0,ue,ie),Ce=adjustTextY(0,pe,le),$e=new BoundingRect$1(_e,Ce,ue,pe);return $e}function getBoundingRect($,z,ie,le){var ue=(($||"")+"").split(`
|
||
`),pe=ue.length;if(pe===1)return innerGetBoundingRect(ue[0],z,ie,le);for(var _e=new BoundingRect$1(0,0,0,0),Ce=0;Ce<ue.length;Ce++){var $e=innerGetBoundingRect(ue[Ce],z,ie,le);Ce===0?_e.copy($e):_e.union($e)}return _e}function adjustTextX($,z,ie){return ie==="right"?$-=z:ie==="center"&&($-=z/2),$}function adjustTextY($,z,ie){return ie==="middle"?$-=z/2:ie==="bottom"&&($-=z),$}function getLineHeight($){return getWidth("国",$)}function parsePercent$1($,z){return typeof $=="string"?$.lastIndexOf("%")>=0?parseFloat($)/100*z:parseFloat($):$}function calculateTextPosition($,z,ie){var le=z.position||"inside",ue=z.distance!=null?z.distance:5,pe=ie.height,_e=ie.width,Ce=pe/2,$e=ie.x,xe=ie.y,Ie="left",Ve="top";if(le instanceof Array)$e+=parsePercent$1(le[0],ie.width),xe+=parsePercent$1(le[1],ie.height),Ie=null,Ve=null;else switch(le){case"left":$e-=ue,xe+=Ce,Ie="right",Ve="middle";break;case"right":$e+=ue+_e,xe+=Ce,Ve="middle";break;case"top":$e+=_e/2,xe-=ue,Ie="center",Ve="bottom";break;case"bottom":$e+=_e/2,xe+=pe+ue,Ie="center";break;case"inside":$e+=_e/2,xe+=Ce,Ie="center",Ve="middle";break;case"insideLeft":$e+=ue,xe+=Ce,Ve="middle";break;case"insideRight":$e+=_e-ue,xe+=Ce,Ie="right",Ve="middle";break;case"insideTop":$e+=_e/2,xe+=ue,Ie="center";break;case"insideBottom":$e+=_e/2,xe+=pe-ue,Ie="center",Ve="bottom";break;case"insideTopLeft":$e+=ue,xe+=ue;break;case"insideTopRight":$e+=_e-ue,xe+=ue,Ie="right";break;case"insideBottomLeft":$e+=ue,xe+=pe-ue,Ve="bottom";break;case"insideBottomRight":$e+=_e-ue,xe+=pe-ue,Ie="right",Ve="bottom";break}return $=$||{},$.x=$e,$.y=xe,$.align=Ie,$.verticalAlign=Ve,$}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function($,z){return $[z]=!0,$},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect$1(0,0,0,0),Element$1=function(){function $(z){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init(z)}return $.prototype._init=function(z){this.attr(z)},$.prototype.drift=function(z,ie,le){switch(this.draggable){case"horizontal":ie=0;break;case"vertical":z=0;break}var ue=this.transform;ue||(ue=this.transform=[1,0,0,1,0,0]),ue[4]+=z,ue[5]+=ie,this.decomposeTransform(),this.markRedraw()},$.prototype.beforeUpdate=function(){},$.prototype.afterUpdate=function(){},$.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},$.prototype.updateInnerText=function(z){var ie=this._textContent;if(ie&&(!ie.ignore||z)){this.textConfig||(this.textConfig={});var le=this.textConfig,ue=le.local,pe=ie.innerTransformable,_e=void 0,Ce=void 0,$e=!1;pe.parent=ue?this:null;var xe=!1;if(pe.copyTransform(ie),le.position!=null){var Ie=tmpBoundingRect;le.layoutRect?Ie.copy(le.layoutRect):Ie.copy(this.getBoundingRect()),ue||Ie.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,le,Ie):calculateTextPosition(tmpTextPosCalcRes,le,Ie),pe.x=tmpTextPosCalcRes.x,pe.y=tmpTextPosCalcRes.y,_e=tmpTextPosCalcRes.align,Ce=tmpTextPosCalcRes.verticalAlign;var Ve=le.origin;if(Ve&&le.rotation!=null){var ze=void 0,Ue=void 0;Ve==="center"?(ze=Ie.width*.5,Ue=Ie.height*.5):(ze=parsePercent$1(Ve[0],Ie.width),Ue=parsePercent$1(Ve[1],Ie.height)),xe=!0,pe.originX=-pe.x+ze+(ue?0:Ie.x),pe.originY=-pe.y+Ue+(ue?0:Ie.y)}}le.rotation!=null&&(pe.rotation=le.rotation);var qe=le.offset;qe&&(pe.x+=qe[0],pe.y+=qe[1],xe||(pe.originX=-qe[0],pe.originY=-qe[1]));var Et=le.inside==null?typeof le.position=="string"&&le.position.indexOf("inside")>=0:le.inside,Lt=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),hn=void 0,vn=void 0,_n=void 0;Et&&this.canBeInsideText()?(hn=le.insideFill,vn=le.insideStroke,(hn==null||hn==="auto")&&(hn=this.getInsideTextFill()),(vn==null||vn==="auto")&&(vn=this.getInsideTextStroke(hn),_n=!0)):(hn=le.outsideFill,vn=le.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||_e!==Lt.align||Ce!==Lt.verticalAlign)&&($e=!0,Lt.fill=hn,Lt.stroke=vn,Lt.autoStroke=_n,Lt.align=_e,Lt.verticalAlign=Ce,ie.setDefaultTextStyle(Lt)),ie.__dirty|=REDRAW_BIT,$e&&ie.dirtyStyle(!0)}},$.prototype.canBeInsideText=function(){return!0},$.prototype.getInsideTextFill=function(){return"#fff"},$.prototype.getInsideTextStroke=function(z){return"#000"},$.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},$.prototype.getOutsideStroke=function(z){var ie=this.__zr&&this.__zr.getBackgroundColor(),le=typeof ie=="string"&&parse$1(ie);le||(le=[255,255,255,1]);for(var ue=le[3],pe=this.__zr.isDarkMode(),_e=0;_e<3;_e++)le[_e]=le[_e]*ue+(pe?0:255)*(1-ue);return le[3]=1,stringify(le,"rgba")},$.prototype.traverse=function(z,ie){},$.prototype.attrKV=function(z,ie){z==="textConfig"?this.setTextConfig(ie):z==="textContent"?this.setTextContent(ie):z==="clipPath"?this.setClipPath(ie):z==="extra"?(this.extra=this.extra||{},extend(this.extra,ie)):this[z]=ie},$.prototype.hide=function(){this.ignore=!0,this.markRedraw()},$.prototype.show=function(){this.ignore=!1,this.markRedraw()},$.prototype.attr=function(z,ie){if(typeof z=="string")this.attrKV(z,ie);else if(isObject$3(z))for(var le=z,ue=keys(le),pe=0;pe<ue.length;pe++){var _e=ue[pe];this.attrKV(_e,z[_e])}return this.markRedraw(),this},$.prototype.saveCurrentToNormalState=function(z){this._innerSaveToNormal(z);for(var ie=this._normalState,le=0;le<this.animators.length;le++){var ue=this.animators[le],pe=ue.__fromStateTransition;if(!(ue.getLoop()||pe&&pe!==PRESERVED_NORMAL_STATE)){var _e=ue.targetName,Ce=_e?ie[_e]:ie;ue.saveTo(Ce)}}},$.prototype._innerSaveToNormal=function(z){var ie=this._normalState;ie||(ie=this._normalState={}),z.textConfig&&!ie.textConfig&&(ie.textConfig=this.textConfig),this._savePrimaryToNormal(z,ie,PRIMARY_STATES_KEYS$1)},$.prototype._savePrimaryToNormal=function(z,ie,le){for(var ue=0;ue<le.length;ue++){var pe=le[ue];z[pe]!=null&&!(pe in ie)&&(ie[pe]=this[pe])}},$.prototype.hasState=function(){return this.currentStates.length>0},$.prototype.getState=function(z){return this.states[z]},$.prototype.ensureState=function(z){var ie=this.states;return ie[z]||(ie[z]={}),ie[z]},$.prototype.clearStates=function(z){this.useState(PRESERVED_NORMAL_STATE,!1,z)},$.prototype.useState=function(z,ie,le,ue){var pe=z===PRESERVED_NORMAL_STATE,_e=this.hasState();if(!(!_e&&pe)){var Ce=this.currentStates,$e=this.stateTransition;if(!(indexOf(Ce,z)>=0&&(ie||Ce.length===1))){var xe;if(this.stateProxy&&!pe&&(xe=this.stateProxy(z)),xe||(xe=this.states&&this.states[z]),!xe&&!pe){logError("State "+z+" not exists.");return}pe||this.saveCurrentToNormalState(xe);var Ie=!!(xe&&xe.hoverLayer||ue);Ie&&this._toggleHoverLayerFlag(!0),this._applyStateObj(z,xe,this._normalState,ie,!le&&!this.__inHover&&$e&&$e.duration>0,$e);var Ve=this._textContent,ze=this._textGuide;return Ve&&Ve.useState(z,ie,le,Ie),ze&&ze.useState(z,ie,le,Ie),pe?(this.currentStates=[],this._normalState={}):ie?this.currentStates.push(z):this.currentStates=[z],this._updateAnimationTargets(),this.markRedraw(),!Ie&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),xe}}},$.prototype.useStates=function(z,ie,le){if(!z.length)this.clearStates();else{var ue=[],pe=this.currentStates,_e=z.length,Ce=_e===pe.length;if(Ce){for(var $e=0;$e<_e;$e++)if(z[$e]!==pe[$e]){Ce=!1;break}}if(Ce)return;for(var $e=0;$e<_e;$e++){var xe=z[$e],Ie=void 0;this.stateProxy&&(Ie=this.stateProxy(xe,z)),Ie||(Ie=this.states[xe]),Ie&&ue.push(Ie)}var Ve=ue[_e-1],ze=!!(Ve&&Ve.hoverLayer||le);ze&&this._toggleHoverLayerFlag(!0);var Ue=this._mergeStates(ue),qe=this.stateTransition;this.saveCurrentToNormalState(Ue),this._applyStateObj(z.join(","),Ue,this._normalState,!1,!ie&&!this.__inHover&&qe&&qe.duration>0,qe);var Et=this._textContent,Lt=this._textGuide;Et&&Et.useStates(z,ie,ze),Lt&&Lt.useStates(z,ie,ze),this._updateAnimationTargets(),this.currentStates=z.slice(),this.markRedraw(),!ze&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},$.prototype._updateAnimationTargets=function(){for(var z=0;z<this.animators.length;z++){var ie=this.animators[z];ie.targetName&&ie.changeTarget(this[ie.targetName])}},$.prototype.removeState=function(z){var ie=indexOf(this.currentStates,z);if(ie>=0){var le=this.currentStates.slice();le.splice(ie,1),this.useStates(le)}},$.prototype.replaceState=function(z,ie,le){var ue=this.currentStates.slice(),pe=indexOf(ue,z),_e=indexOf(ue,ie)>=0;pe>=0?_e?ue.splice(pe,1):ue[pe]=ie:le&&!_e&&ue.push(ie),this.useStates(ue)},$.prototype.toggleState=function(z,ie){ie?this.useState(z,!0):this.removeState(z)},$.prototype._mergeStates=function(z){for(var ie={},le,ue=0;ue<z.length;ue++){var pe=z[ue];extend(ie,pe),pe.textConfig&&(le=le||{},extend(le,pe.textConfig))}return le&&(ie.textConfig=le),ie},$.prototype._applyStateObj=function(z,ie,le,ue,pe,_e){var Ce=!(ie&&ue);ie&&ie.textConfig?(this.textConfig=extend({},ue?this.textConfig:le.textConfig),extend(this.textConfig,ie.textConfig)):Ce&&le.textConfig&&(this.textConfig=le.textConfig);for(var $e={},xe=!1,Ie=0;Ie<PRIMARY_STATES_KEYS$1.length;Ie++){var Ve=PRIMARY_STATES_KEYS$1[Ie],ze=pe&&DEFAULT_ANIMATABLE_MAP[Ve];ie&&ie[Ve]!=null?ze?(xe=!0,$e[Ve]=ie[Ve]):this[Ve]=ie[Ve]:Ce&&le[Ve]!=null&&(ze?(xe=!0,$e[Ve]=le[Ve]):this[Ve]=le[Ve])}if(!pe)for(var Ie=0;Ie<this.animators.length;Ie++){var Ue=this.animators[Ie],qe=Ue.targetName;Ue.getLoop()||Ue.__changeFinalValue(qe?(ie||le)[qe]:ie||le)}xe&&this._transitionState(z,$e,_e)},$.prototype._attachComponent=function(z){if(!(z.__zr&&!z.__hostTarget)&&z!==this){var ie=this.__zr;ie&&z.addSelfToZr(ie),z.__zr=ie,z.__hostTarget=this}},$.prototype._detachComponent=function(z){z.__zr&&z.removeSelfFromZr(z.__zr),z.__zr=null,z.__hostTarget=null},$.prototype.getClipPath=function(){return this._clipPath},$.prototype.setClipPath=function(z){this._clipPath&&this._clipPath!==z&&this.removeClipPath(),this._attachComponent(z),this._clipPath=z,this.markRedraw()},$.prototype.removeClipPath=function(){var z=this._clipPath;z&&(this._detachComponent(z),this._clipPath=null,this.markRedraw())},$.prototype.getTextContent=function(){return this._textContent},$.prototype.setTextContent=function(z){var ie=this._textContent;ie!==z&&(ie&&ie!==z&&this.removeTextContent(),z.innerTransformable=new Transformable$1,this._attachComponent(z),this._textContent=z,this.markRedraw())},$.prototype.setTextConfig=function(z){this.textConfig||(this.textConfig={}),extend(this.textConfig,z),this.markRedraw()},$.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},$.prototype.removeTextContent=function(){var z=this._textContent;z&&(z.innerTransformable=null,this._detachComponent(z),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},$.prototype.getTextGuideLine=function(){return this._textGuide},$.prototype.setTextGuideLine=function(z){this._textGuide&&this._textGuide!==z&&this.removeTextGuideLine(),this._attachComponent(z),this._textGuide=z,this.markRedraw()},$.prototype.removeTextGuideLine=function(){var z=this._textGuide;z&&(this._detachComponent(z),this._textGuide=null,this.markRedraw())},$.prototype.markRedraw=function(){this.__dirty|=REDRAW_BIT;var z=this.__zr;z&&(this.__inHover?z.refreshHover():z.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},$.prototype.dirty=function(){this.markRedraw()},$.prototype._toggleHoverLayerFlag=function(z){this.__inHover=z;var ie=this._textContent,le=this._textGuide;ie&&(ie.__inHover=z),le&&(le.__inHover=z)},$.prototype.addSelfToZr=function(z){if(this.__zr!==z){this.__zr=z;var ie=this.animators;if(ie)for(var le=0;le<ie.length;le++)z.animation.addAnimator(ie[le]);this._clipPath&&this._clipPath.addSelfToZr(z),this._textContent&&this._textContent.addSelfToZr(z),this._textGuide&&this._textGuide.addSelfToZr(z)}},$.prototype.removeSelfFromZr=function(z){if(this.__zr){this.__zr=null;var ie=this.animators;if(ie)for(var le=0;le<ie.length;le++)z.animation.removeAnimator(ie[le]);this._clipPath&&this._clipPath.removeSelfFromZr(z),this._textContent&&this._textContent.removeSelfFromZr(z),this._textGuide&&this._textGuide.removeSelfFromZr(z)}},$.prototype.animate=function(z,ie,le){var ue=z?this[z]:this,pe=new Animator$1(ue,ie,le);return z&&(pe.targetName=z),this.addAnimator(pe,z),pe},$.prototype.addAnimator=function(z,ie){var le=this.__zr,ue=this;z.during(function(){ue.updateDuringAnimation(ie)}).done(function(){var pe=ue.animators,_e=indexOf(pe,z);_e>=0&&pe.splice(_e,1)}),this.animators.push(z),le&&le.animation.addAnimator(z),le&&le.wakeUp()},$.prototype.updateDuringAnimation=function(z){this.markRedraw()},$.prototype.stopAnimation=function(z,ie){for(var le=this.animators,ue=le.length,pe=[],_e=0;_e<ue;_e++){var Ce=le[_e];!z||z===Ce.scope?Ce.stop(ie):pe.push(Ce)}return this.animators=pe,this},$.prototype.animateTo=function(z,ie,le){animateTo(this,z,ie,le)},$.prototype.animateFrom=function(z,ie,le){animateTo(this,z,ie,le,!0)},$.prototype._transitionState=function(z,ie,le,ue){for(var pe=animateTo(this,ie,le,ue),_e=0;_e<pe.length;_e++)pe[_e].__fromStateTransition=z},$.prototype.getBoundingRect=function(){return null},$.prototype.getPaintRect=function(){return null},$.initDefaultProps=function(){var z=$.prototype;z.type="element",z.name="",z.ignore=z.silent=z.isGroup=z.draggable=z.dragging=z.ignoreClip=z.__inHover=!1,z.__dirty=REDRAW_BIT;function ie(le,ue,pe,_e){Object.defineProperty(z,le,{get:function(){if(!this[ue]){var $e=this[ue]=[];Ce(this,$e)}return this[ue]},set:function($e){this[pe]=$e[0],this[_e]=$e[1],this[ue]=$e,Ce(this,$e)}});function Ce($e,xe){Object.defineProperty(xe,0,{get:function(){return $e[pe]},set:function(Ie){$e[pe]=Ie}}),Object.defineProperty(xe,1,{get:function(){return $e[_e]},set:function(Ie){$e[_e]=Ie}})}}Object.defineProperty&&(ie("position","_legacyPos","x","y"),ie("scale","_legacyScale","scaleX","scaleY"),ie("origin","_legacyOrigin","originX","originY"))}(),$}();mixin(Element$1,Eventful$1);mixin(Element$1,Transformable$1);function animateTo($,z,ie,le,ue){ie=ie||{};var pe=[];animateToShallow($,"",$,z,ie,le,pe,ue);var _e=pe.length,Ce=!1,$e=ie.done,xe=ie.aborted,Ie=function(){Ce=!0,_e--,_e<=0&&(Ce?$e&&$e():xe&&xe())},Ve=function(){_e--,_e<=0&&(Ce?$e&&$e():xe&&xe())};_e||$e&&$e(),pe.length>0&&ie.during&&pe[0].during(function(qe,Et){ie.during(Et)});for(var ze=0;ze<pe.length;ze++){var Ue=pe[ze];Ie&&Ue.done(Ie),Ve&&Ue.aborted(Ve),ie.force&&Ue.duration(ie.duration),Ue.start(ie.easing)}return pe}function copyArrShallow($,z,ie){for(var le=0;le<ie;le++)$[le]=z[le]}function is2DArray($){return isArrayLike($[0])}function copyValue($,z,ie){if(isArrayLike(z[ie]))if(isArrayLike($[ie])||($[ie]=[]),isTypedArray(z[ie])){var le=z[ie].length;$[ie].length!==le&&($[ie]=new z[ie].constructor(le),copyArrShallow($[ie],z[ie],le))}else{var ue=z[ie],pe=$[ie],_e=ue.length;if(is2DArray(ue))for(var Ce=ue[0].length,$e=0;$e<_e;$e++)pe[$e]?copyArrShallow(pe[$e],ue[$e],Ce):pe[$e]=Array.prototype.slice.call(ue[$e]);else copyArrShallow(pe,ue,_e);pe.length=ue.length}else $[ie]=z[ie]}function isValueSame($,z){return $===z||isArrayLike($)&&isArrayLike(z)&&is1DArraySame($,z)}function is1DArraySame($,z){var ie=$.length;if(ie!==z.length)return!1;for(var le=0;le<ie;le++)if($[le]!==z[le])return!1;return!0}function animateToShallow($,z,ie,le,ue,pe,_e,Ce){for(var $e=keys(le),xe=ue.duration,Ie=ue.delay,Ve=ue.additive,ze=ue.setToFinal,Ue=!isObject$3(pe),qe=$.animators,Et=[],Lt=0;Lt<$e.length;Lt++){var hn=$e[Lt],vn=le[hn];if(vn!=null&&ie[hn]!=null&&(Ue||pe[hn]))if(isObject$3(vn)&&!isArrayLike(vn)&&!isGradientObject(vn)){if(z){Ce||(ie[hn]=vn,$.updateDuringAnimation(z));continue}animateToShallow($,hn,ie[hn],vn,ue,pe&&pe[hn],_e,Ce)}else Et.push(hn);else Ce||(ie[hn]=vn,$.updateDuringAnimation(z),Et.push(hn))}var _n=Et.length;if(!Ve&&_n)for(var bn=0;bn<qe.length;bn++){var Cn=qe[bn];if(Cn.targetName===z){var Sn=Cn.stopTracks(Et);if(Sn){var En=indexOf(qe,Cn);qe.splice(En,1)}}}if(ue.force||(Et=filter(Et,function(xn){return!isValueSame(le[xn],ie[xn])}),_n=Et.length),_n>0||ue.force&&!_e.length){var wn=void 0,Tn=void 0,kn=void 0;if(Ce){Tn={},ze&&(wn={});for(var bn=0;bn<_n;bn++){var hn=Et[bn];Tn[hn]=ie[hn],ze?wn[hn]=le[hn]:ie[hn]=le[hn]}}else if(ze){kn={};for(var bn=0;bn<_n;bn++){var hn=Et[bn];kn[hn]=cloneValue(ie[hn]),copyValue(ie,le,hn)}}var Cn=new Animator$1(ie,!1,!1,Ve?filter(qe,function(Pn){return Pn.targetName===z}):null);Cn.targetName=z,ue.scope&&(Cn.scope=ue.scope),ze&&wn&&Cn.whenWithKeys(0,wn,Et),kn&&Cn.whenWithKeys(0,kn,Et),Cn.whenWithKeys(xe??500,Ce?Tn:le,Et).delay(Ie||0),$.addAnimator(Cn,z),_e.push(Cn)}}const Element$2=Element$1;var Group$2=function($){__extends(z,$);function z(ie){var le=$.call(this)||this;return le.isGroup=!0,le._children=[],le.attr(ie),le}return z.prototype.childrenRef=function(){return this._children},z.prototype.children=function(){return this._children.slice()},z.prototype.childAt=function(ie){return this._children[ie]},z.prototype.childOfName=function(ie){for(var le=this._children,ue=0;ue<le.length;ue++)if(le[ue].name===ie)return le[ue]},z.prototype.childCount=function(){return this._children.length},z.prototype.add=function(ie){return ie&&ie!==this&&ie.parent!==this&&(this._children.push(ie),this._doAdd(ie)),this},z.prototype.addBefore=function(ie,le){if(ie&&ie!==this&&ie.parent!==this&&le&&le.parent===this){var ue=this._children,pe=ue.indexOf(le);pe>=0&&(ue.splice(pe,0,ie),this._doAdd(ie))}return this},z.prototype.replace=function(ie,le){var ue=indexOf(this._children,ie);return ue>=0&&this.replaceAt(le,ue),this},z.prototype.replaceAt=function(ie,le){var ue=this._children,pe=ue[le];if(ie&&ie!==this&&ie.parent!==this&&ie!==pe){ue[le]=ie,pe.parent=null;var _e=this.__zr;_e&&pe.removeSelfFromZr(_e),this._doAdd(ie)}return this},z.prototype._doAdd=function(ie){ie.parent&&ie.parent.remove(ie),ie.parent=this;var le=this.__zr;le&&le!==ie.__zr&&ie.addSelfToZr(le),le&&le.refresh()},z.prototype.remove=function(ie){var le=this.__zr,ue=this._children,pe=indexOf(ue,ie);return pe<0?this:(ue.splice(pe,1),ie.parent=null,le&&ie.removeSelfFromZr(le),le&&le.refresh(),this)},z.prototype.removeAll=function(){for(var ie=this._children,le=this.__zr,ue=0;ue<ie.length;ue++){var pe=ie[ue];le&&pe.removeSelfFromZr(le),pe.parent=null}return ie.length=0,this},z.prototype.eachChild=function(ie,le){for(var ue=this._children,pe=0;pe<ue.length;pe++){var _e=ue[pe];ie.call(le,_e,pe)}return this},z.prototype.traverse=function(ie,le){for(var ue=0;ue<this._children.length;ue++){var pe=this._children[ue],_e=ie.call(le,pe);pe.isGroup&&!_e&&pe.traverse(ie,le)}return this},z.prototype.addSelfToZr=function(ie){$.prototype.addSelfToZr.call(this,ie);for(var le=0;le<this._children.length;le++){var ue=this._children[le];ue.addSelfToZr(ie)}},z.prototype.removeSelfFromZr=function(ie){$.prototype.removeSelfFromZr.call(this,ie);for(var le=0;le<this._children.length;le++){var ue=this._children[le];ue.removeSelfFromZr(ie)}},z.prototype.getBoundingRect=function(ie){for(var le=new BoundingRect$1(0,0,0,0),ue=ie||this._children,pe=[],_e=null,Ce=0;Ce<ue.length;Ce++){var $e=ue[Ce];if(!($e.ignore||$e.invisible)){var xe=$e.getBoundingRect(),Ie=$e.getLocalTransform(pe);Ie?(BoundingRect$1.applyTransform(le,xe,Ie),_e=_e||le.clone(),_e.union(le)):(_e=_e||xe.clone(),_e.union(xe))}}return _e||le},z}(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($){delete instances$1[$]}function isDarkMode($){if(!$)return!1;if(typeof $=="string")return lum($,1)<DARK_MODE_THRESHOLD;if($.colorStops){for(var z=$.colorStops,ie=0,le=z.length,ue=0;ue<le;ue++)ie+=lum(z[ue].color,1);return ie/=le,ie<DARK_MODE_THRESHOLD}return!1}var ZRender=function(){function $(z,ie,le){var ue=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,le=le||{},this.dom=ie,this.id=z;var pe=new Storage$1,_e=le.renderer||"canvas";painterCtors[_e]||(_e=keys(painterCtors)[0]),le.useDirtyRect=le.useDirtyRect==null?!1:le.useDirtyRect;var Ce=new painterCtors[_e](ie,pe,le,z),$e=le.ssr||Ce.ssrOnly;this.storage=pe,this.painter=Ce;var xe=!env$1.node&&!env$1.worker&&!$e?new HandlerProxy(Ce.getViewportRoot(),Ce.root):null,Ie=le.useCoarsePointer,Ve=Ie==null||Ie==="auto"?env$1.touchEventsSupported:!!Ie,ze=44,Ue;Ve&&(Ue=retrieve2(le.pointerSize,ze)),this.handler=new Handler$1(pe,Ce,xe,Ce.root,Ue),this.animation=new Animation$1({stage:{update:$e?null:function(){return ue._flush(!0)}}}),$e||this.animation.start()}return $.prototype.add=function(z){z&&(this.storage.addRoot(z),z.addSelfToZr(this),this.refresh())},$.prototype.remove=function(z){z&&(this.storage.delRoot(z),z.removeSelfFromZr(this),this.refresh())},$.prototype.configLayer=function(z,ie){this.painter.configLayer&&this.painter.configLayer(z,ie),this.refresh()},$.prototype.setBackgroundColor=function(z){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(z),this.refresh(),this._backgroundColor=z,this._darkMode=isDarkMode(z)},$.prototype.getBackgroundColor=function(){return this._backgroundColor},$.prototype.setDarkMode=function(z){this._darkMode=z},$.prototype.isDarkMode=function(){return this._darkMode},$.prototype.refreshImmediately=function(z){z||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},$.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},$.prototype.flush=function(){this._flush(!1)},$.prototype._flush=function(z){var ie,le=getTime();this._needsRefresh&&(ie=!0,this.refreshImmediately(z)),this._needsRefreshHover&&(ie=!0,this.refreshHoverImmediately());var ue=getTime();ie?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:ue-le})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},$.prototype.setSleepAfterStill=function(z){this._sleepAfterStill=z},$.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},$.prototype.refreshHover=function(){this._needsRefreshHover=!0},$.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},$.prototype.resize=function(z){z=z||{},this.painter.resize(z.width,z.height),this.handler.resize()},$.prototype.clearAnimation=function(){this.animation.clear()},$.prototype.getWidth=function(){return this.painter.getWidth()},$.prototype.getHeight=function(){return this.painter.getHeight()},$.prototype.setCursorStyle=function(z){this.handler.setCursorStyle(z)},$.prototype.findHover=function(z,ie){return this.handler.findHover(z,ie)},$.prototype.on=function(z,ie,le){return this.handler.on(z,ie,le),this},$.prototype.off=function(z,ie){this.handler.off(z,ie)},$.prototype.trigger=function(z,ie){this.handler.trigger(z,ie)},$.prototype.clear=function(){for(var z=this.storage.getRoots(),ie=0;ie<z.length;ie++)z[ie]instanceof Group$3&&z[ie].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},$.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)},$}();function init$1($,z){var ie=new ZRender(guid(),$,z);return instances$1[ie.id]=ie,ie}function dispose$1($){$.dispose()}function disposeAll(){for(var $ in instances$1)instances$1.hasOwnProperty($)&&instances$1[$].dispose();instances$1={}}function getInstance($){return instances$1[$]}function registerPainter($,z){painterCtors[$]=z}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($){return $.replace(/^\s+|\s+$/g,"")}function linearMap$2($,z,ie,le){var ue=z[0],pe=z[1],_e=ie[0],Ce=ie[1],$e=pe-ue,xe=Ce-_e;if($e===0)return xe===0?_e:(_e+Ce)/2;if(le)if($e>0){if($<=ue)return _e;if($>=pe)return Ce}else{if($>=ue)return _e;if($<=pe)return Ce}else{if($===ue)return _e;if($===pe)return Ce}return($-ue)/$e*xe+_e}function parsePercent($,z){switch($){case"center":case"middle":$="50%";break;case"left":case"top":$="0%";break;case"right":case"bottom":$="100%";break}return isString($)?_trim($).match(/%$/)?parseFloat($)/100*z:parseFloat($):$==null?NaN:+$}function round$1($,z,ie){return z==null&&(z=10),z=Math.min(Math.max(0,z),ROUND_SUPPORTED_PRECISION_MAX),$=(+$).toFixed(z),ie?$:+$}function asc$2($){return $.sort(function(z,ie){return z-ie}),$}function getPrecision($){if($=+$,isNaN($))return 0;if($>1e-14){for(var z=1,ie=0;ie<15;ie++,z*=10)if(Math.round($*z)/z===$)return ie}return getPrecisionSafe($)}function getPrecisionSafe($){var z=$.toString().toLowerCase(),ie=z.indexOf("e"),le=ie>0?+z.slice(ie+1):0,ue=ie>0?ie:z.length,pe=z.indexOf("."),_e=pe<0?0:ue-1-pe;return Math.max(0,_e-le)}function getPixelPrecision($,z){var ie=Math.log,le=Math.LN10,ue=Math.floor(ie($[1]-$[0])/le),pe=Math.round(ie(Math.abs(z[1]-z[0]))/le),_e=Math.min(Math.max(-ue+pe,0),20);return isFinite(_e)?_e:20}function getPercentWithPrecision($,z,ie){if(!$[z])return 0;var le=getPercentSeats($,ie);return le[z]||0}function getPercentSeats($,z){var ie=reduce($,function(Ue,qe){return Ue+(isNaN(qe)?0:qe)},0);if(ie===0)return[];for(var le=Math.pow(10,z),ue=map$2($,function(Ue){return(isNaN(Ue)?0:Ue)/ie*le*100}),pe=le*100,_e=map$2(ue,function(Ue){return Math.floor(Ue)}),Ce=reduce(_e,function(Ue,qe){return Ue+qe},0),$e=map$2(ue,function(Ue,qe){return Ue-_e[qe]});Ce<pe;){for(var xe=Number.NEGATIVE_INFINITY,Ie=null,Ve=0,ze=$e.length;Ve<ze;++Ve)$e[Ve]>xe&&(xe=$e[Ve],Ie=Ve);++_e[Ie],$e[Ie]=0,++Ce}return map$2(_e,function(Ue){return Ue/le})}function addSafe($,z){var ie=Math.max(getPrecision($),getPrecision(z)),le=$+z;return ie>ROUND_SUPPORTED_PRECISION_MAX?le:round$1(le,ie)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian($){var z=Math.PI*2;return($%z+z)%z}function isRadianAroundZero($){return $>-RADIAN_EPSILON&&$<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($){if($ instanceof Date)return $;if(isString($)){var z=TIME_REG.exec($);if(!z)return new Date(NaN);if(z[8]){var ie=+z[4]||0;return z[8].toUpperCase()!=="Z"&&(ie-=+z[8].slice(0,3)),new Date(Date.UTC(+z[1],+(z[2]||1)-1,+z[3]||1,ie,+(z[5]||0),+z[6]||0,z[7]?+z[7].substring(0,3):0))}else return new Date(+z[1],+(z[2]||1)-1,+z[3]||1,+z[4]||0,+(z[5]||0),+z[6]||0,z[7]?+z[7].substring(0,3):0)}else if($==null)return new Date(NaN);return new Date(Math.round($))}function quantity($){return Math.pow(10,quantityExponent($))}function quantityExponent($){if($===0)return 0;var z=Math.floor(Math.log($)/Math.LN10);return $/Math.pow(10,z)>=10&&z++,z}function nice($,z){var ie=quantityExponent($),le=Math.pow(10,ie),ue=$/le,pe;return z?ue<1.5?pe=1:ue<2.5?pe=2:ue<4?pe=3:ue<7?pe=5:pe=10:ue<1?pe=1:ue<2?pe=2:ue<3?pe=3:ue<5?pe=5:pe=10,$=pe*le,ie>=-20?+$.toFixed(ie<0?-ie:0):$}function quantile($,z){var ie=($.length-1)*z+1,le=Math.floor(ie),ue=+$[le-1],pe=ie-le;return pe?ue+pe*($[le]-ue):ue}function reformIntervals($){$.sort(function($e,xe){return Ce($e,xe,0)?-1:1});for(var z=-1/0,ie=1,le=0;le<$.length;){for(var ue=$[le].interval,pe=$[le].close,_e=0;_e<2;_e++)ue[_e]<=z&&(ue[_e]=z,pe[_e]=_e?1:1-ie),z=ue[_e],ie=pe[_e];ue[0]===ue[1]&&pe[0]*pe[1]!==1?$.splice(le,1):le++}return $;function Ce($e,xe,Ie){return $e.interval[Ie]<xe.interval[Ie]||$e.interval[Ie]===xe.interval[Ie]&&($e.close[Ie]-xe.close[Ie]===(Ie?-1:1)||!Ie&&Ce($e,xe,1))}}function numericToNumber($){var z=parseFloat($);return z==$&&(z!==0||!isString($)||$.indexOf("x")<=0)?z:NaN}function isNumeric($){return!isNaN(numericToNumber($))}function getRandomIdBase(){return Math.round(Math.random()*9)}function getGreatestCommonDividor($,z){return z===0?$:getGreatestCommonDividor(z,$%z)}function getLeastCommonMultiple($,z){return $==null?z:z==null?$:$*z/getGreatestCommonDividor($,z)}var ECHARTS_PREFIX="[ECharts] ",storedLogs={},hasConsole=typeof console<"u"&&console.warn&&console.log;function outputLog($,z,ie){if(hasConsole){if(ie){if(storedLogs[z])return;storedLogs[z]=!0}console[$](ECHARTS_PREFIX+z)}}function warn($,z){outputLog("warn",$,z)}function throwError($){throw new Error($)}function interpolateNumber($,z,ie){return(z-$)*ie+$}var DUMMY_COMPONENT_NAME_PREFIX="series\0",INTERNAL_COMPONENT_ID_PREFIX="\0_ec_\0";function normalizeToArray($){return $ instanceof Array?$:$==null?[]:[$]}function defaultEmphasis($,z,ie){if($){$[z]=$[z]||{},$.emphasis=$.emphasis||{},$.emphasis[z]=$.emphasis[z]||{};for(var le=0,ue=ie.length;le<ue;le++){var pe=ie[le];!$.emphasis[z].hasOwnProperty(pe)&&$[z].hasOwnProperty(pe)&&($.emphasis[z][pe]=$[z][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($){return isObject$3($)&&!isArray$1($)&&!($ instanceof Date)?$.value:$}function isDataItemOption($){return isObject$3($)&&!($ instanceof Array)}function mappingToExists($,z,ie){var le=ie==="normalMerge",ue=ie==="replaceMerge",pe=ie==="replaceAll";$=$||[],z=(z||[]).slice();var _e=createHashMap();each$c(z,function($e,xe){if(!isObject$3($e)){z[xe]=null;return}});var Ce=prepareResult($,_e,ie);return(le||ue)&&mappingById(Ce,$,_e,z),le&&mappingByName(Ce,z),le||ue?mappingByIndex(Ce,z,ue):pe&&mappingInReplaceAllMode(Ce,z),makeIdAndName(Ce),Ce}function prepareResult($,z,ie){var le=[];if(ie==="replaceAll")return le;for(var ue=0;ue<$.length;ue++){var pe=$[ue];pe&&pe.id!=null&&z.set(pe.id,ue),le.push({existing:ie==="replaceMerge"||isComponentIdInternal(pe)?null:pe,newOption:null,keyInfo:null,brandNew:null})}return le}function mappingById($,z,ie,le){each$c(le,function(ue,pe){if(!(!ue||ue.id==null)){var _e=makeComparableKey(ue.id),Ce=ie.get(_e);if(Ce!=null){var $e=$[Ce];assert(!$e.newOption,'Duplicated option on id "'+_e+'".'),$e.newOption=ue,$e.existing=z[Ce],le[pe]=null}}})}function mappingByName($,z){each$c(z,function(ie,le){if(!(!ie||ie.name==null))for(var ue=0;ue<$.length;ue++){var pe=$[ue].existing;if(!$[ue].newOption&&pe&&(pe.id==null||ie.id==null)&&!isComponentIdInternal(ie)&&!isComponentIdInternal(pe)&&keyExistAndEqual("name",pe,ie)){$[ue].newOption=ie,z[le]=null;return}}})}function mappingByIndex($,z,ie){each$c(z,function(le){if(le){for(var ue,pe=0;(ue=$[pe])&&(ue.newOption||isComponentIdInternal(ue.existing)||ue.existing&&le.id!=null&&!keyExistAndEqual("id",le,ue.existing));)pe++;ue?(ue.newOption=le,ue.brandNew=ie):$.push({newOption:le,brandNew:ie,existing:null,keyInfo:null}),pe++}})}function mappingInReplaceAllMode($,z){each$c(z,function(ie){$.push({newOption:ie,brandNew:!0,existing:null,keyInfo:null})})}function makeIdAndName($){var z=createHashMap();each$c($,function(ie){var le=ie.existing;le&&z.set(le.id,ie)}),each$c($,function(ie){var le=ie.newOption;assert(!le||le.id==null||!z.get(le.id)||z.get(le.id)===ie,"id duplicates: "+(le&&le.id)),le&&le.id!=null&&z.set(le.id,ie),!ie.keyInfo&&(ie.keyInfo={})}),each$c($,function(ie,le){var ue=ie.existing,pe=ie.newOption,_e=ie.keyInfo;if(isObject$3(pe)){if(_e.name=pe.name!=null?makeComparableKey(pe.name):ue?ue.name:DUMMY_COMPONENT_NAME_PREFIX+le,ue)_e.id=makeComparableKey(ue.id);else if(pe.id!=null)_e.id=makeComparableKey(pe.id);else{var Ce=0;do _e.id="\0"+_e.name+"\0"+Ce++;while(z.get(_e.id))}z.set(_e.id,ie)}})}function keyExistAndEqual($,z,ie){var le=convertOptionIdName(z[$],null),ue=convertOptionIdName(ie[$],null);return le!=null&&ue!=null&&le===ue}function makeComparableKey($){return convertOptionIdName($,"")}function convertOptionIdName($,z){return $==null?z:isString($)?$:isNumber($)||isStringSafe($)?$+"":z}function isNameSpecified($){var z=$.name;return!!(z&&z.indexOf(DUMMY_COMPONENT_NAME_PREFIX))}function isComponentIdInternal($){return $&&$.id!=null&&makeComparableKey($.id).indexOf(INTERNAL_COMPONENT_ID_PREFIX)===0}function makeInternalComponentId($){return INTERNAL_COMPONENT_ID_PREFIX+$}function setComponentTypeToKeyInfo($,z,ie){each$c($,function(le){var ue=le.newOption;isObject$3(ue)&&(le.keyInfo.mainType=z,le.keyInfo.subType=determineSubType(z,ue,le.existing,ie))})}function determineSubType($,z,ie,le){var ue=z.type?z.type:ie?ie.subType:le.determineSubType($,z);return ue}function compressBatches($,z){var ie={},le={};return ue($||[],ie),ue(z||[],le,ie),[pe(ie),pe(le)];function ue(_e,Ce,$e){for(var xe=0,Ie=_e.length;xe<Ie;xe++){var Ve=convertOptionIdName(_e[xe].seriesId,null);if(Ve==null)return;for(var ze=normalizeToArray(_e[xe].dataIndex),Ue=$e&&$e[Ve],qe=0,Et=ze.length;qe<Et;qe++){var Lt=ze[qe];Ue&&Ue[Lt]?Ue[Lt]=null:(Ce[Ve]||(Ce[Ve]={}))[Lt]=1}}}function pe(_e,Ce){var $e=[];for(var xe in _e)if(_e.hasOwnProperty(xe)&&_e[xe]!=null)if(Ce)$e.push(+xe);else{var Ie=pe(_e[xe],!0);Ie.length&&$e.push({seriesId:xe,dataIndex:Ie})}return $e}}function queryDataIndex($,z){if(z.dataIndexInside!=null)return z.dataIndexInside;if(z.dataIndex!=null)return isArray$1(z.dataIndex)?map$2(z.dataIndex,function(ie){return $.indexOfRawIndex(ie)}):$.indexOfRawIndex(z.dataIndex);if(z.name!=null)return isArray$1(z.name)?map$2(z.name,function(ie){return $.indexOfName(ie)}):$.indexOfName(z.name)}function makeInner(){var $="__ec_inner_"+innerUniqueIndex++;return function(z){return z[$]||(z[$]={})}}var innerUniqueIndex=getRandomIdBase();function parseFinder$1($,z,ie){var le=preParseFinder(z,ie),ue=le.mainTypeSpecified,pe=le.queryOptionMap,_e=le.others,Ce=_e,$e=ie?ie.defaultMainType:null;return!ue&&$e&&pe.set($e,{}),pe.each(function(xe,Ie){var Ve=queryReferringComponents($,Ie,xe,{useDefault:$e===Ie,enableAll:ie&&ie.enableAll!=null?ie.enableAll:!0,enableNone:ie&&ie.enableNone!=null?ie.enableNone:!0});Ce[Ie+"Models"]=Ve.models,Ce[Ie+"Model"]=Ve.models[0]}),Ce}function preParseFinder($,z){var ie;if(isString($)){var le={};le[$+"Index"]=0,ie=le}else ie=$;var ue=createHashMap(),pe={},_e=!1;return each$c(ie,function(Ce,$e){if($e==="dataIndex"||$e==="dataIndexInside"){pe[$e]=Ce;return}var xe=$e.match(/^(\w+)(Index|Id|Name)$/)||[],Ie=xe[1],Ve=(xe[2]||"").toLowerCase();if(!(!Ie||!Ve||z&&z.includeMainTypes&&indexOf(z.includeMainTypes,Ie)<0)){_e=_e||!!Ie;var ze=ue.get(Ie)||ue.set(Ie,{});ze[Ve]=Ce}}),{mainTypeSpecified:_e,queryOptionMap:ue,others:pe}}var SINGLE_REFERRING={useDefault:!0,enableAll:!1,enableNone:!1},MULTIPLE_REFERRING={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents($,z,ie,le){le=le||SINGLE_REFERRING;var ue=ie.index,pe=ie.id,_e=ie.name,Ce={models:null,specified:ue!=null||pe!=null||_e!=null};if(!Ce.specified){var $e=void 0;return Ce.models=le.useDefault&&($e=$.getComponent(z))?[$e]:[],Ce}return ue==="none"||ue===!1?(assert(le.enableNone,'`"none"` or `false` is not a valid value on index option.'),Ce.models=[],Ce):(ue==="all"&&(assert(le.enableAll,'`"all"` is not a valid value on index option.'),ue=pe=_e=null),Ce.models=$.queryComponents({mainType:z,index:ue,id:pe,name:_e}),Ce)}function setAttribute($,z,ie){$.setAttribute?$.setAttribute(z,ie):$[z]=ie}function getAttribute($,z){return $.getAttribute?$.getAttribute(z):$[z]}function getTooltipRenderMode($){return $==="auto"?env$1.domSupported?"html":"richText":$||"html"}function interpolateRawValues($,z,ie,le,ue){var pe=z==null||z==="auto";if(le==null)return le;if(isNumber(le)){var _e=interpolateNumber(ie||0,le,ue);return round$1(_e,pe?Math.max(getPrecision(ie||0),getPrecision(le)):z)}else{if(isString(le))return ue<1?ie:le;for(var Ce=[],$e=ie,xe=le,Ie=Math.max($e?$e.length:0,xe.length),Ve=0;Ve<Ie;++Ve){var ze=$.getDimensionInfo(Ve);if(ze&&ze.type==="ordinal")Ce[Ve]=(ue<1&&$e?$e:xe)[Ve];else{var Ue=$e&&$e[Ve]?$e[Ve]:0,qe=xe[Ve],_e=interpolateNumber(Ue,qe,ue);Ce[Ve]=round$1(_e,pe?Math.max(getPrecision(Ue),getPrecision(qe)):z)}}return Ce}}var TYPE_DELIMITER=".",IS_CONTAINER="___EC__COMPONENT__CONTAINER___",IS_EXTENDED_CLASS="___EC__EXTENDED_CLASS___";function parseClassType($){var z={main:"",sub:""};if($){var ie=$.split(TYPE_DELIMITER);z.main=ie[0]||"",z.sub=ie[1]||""}return z}function checkClassType($){assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test($),'componentType "'+$+'" illegal')}function isExtendedClass($){return!!($&&$[IS_EXTENDED_CLASS])}function enableClassExtend($,z){$.$constructor=$,$.extend=function(ie){var le=this,ue;return isESClass(le)?ue=function(pe){__extends(_e,pe);function _e(){return pe.apply(this,arguments)||this}return _e}(le):(ue=function(){(ie.$constructor||le).apply(this,arguments)},inherits(ue,this)),extend(ue.prototype,ie),ue[IS_EXTENDED_CLASS]=!0,ue.extend=this.extend,ue.superCall=superCall,ue.superApply=superApply,ue.superClass=le,ue}}function isESClass($){return isFunction($)&&/^class\s/.test(Function.prototype.toString.call($))}function mountExtend($,z){$.extend=z.extend}var classBase=Math.round(Math.random()*10);function enableClassCheck($){var z=["__\0is_clz",classBase++].join("_");$.prototype[z]=!0,$.isInstance=function(ie){return!!(ie&&ie[z])}}function superCall($,z){for(var ie=[],le=2;le<arguments.length;le++)ie[le-2]=arguments[le];return this.superClass.prototype[z].apply($,ie)}function superApply($,z,ie){return this.superClass.prototype[z].apply($,ie)}function enableClassManagement($){var z={};$.registerClass=function(le){var ue=le.type||le.prototype.type;if(ue){checkClassType(ue),le.prototype.type=ue;var pe=parseClassType(ue);if(!pe.sub)z[pe.main]=le;else if(pe.sub!==IS_CONTAINER){var _e=ie(pe);_e[pe.sub]=le}}return le},$.getClass=function(le,ue,pe){var _e=z[le];if(_e&&_e[IS_CONTAINER]&&(_e=ue?_e[ue]:null),pe&&!_e)throw new Error(ue?"Component "+le+"."+(ue||"")+" is used but not imported.":le+".type should be specified.");return _e},$.getClassesByMainType=function(le){var ue=parseClassType(le),pe=[],_e=z[ue.main];return _e&&_e[IS_CONTAINER]?each$c(_e,function(Ce,$e){$e!==IS_CONTAINER&&pe.push(Ce)}):pe.push(_e),pe},$.hasClass=function(le){var ue=parseClassType(le);return!!z[ue.main]},$.getAllClassMainTypes=function(){var le=[];return each$c(z,function(ue,pe){le.push(pe)}),le},$.hasSubTypes=function(le){var ue=parseClassType(le),pe=z[ue.main];return pe&&pe[IS_CONTAINER]};function ie(le){var ue=z[le.main];return(!ue||!ue[IS_CONTAINER])&&(ue=z[le.main]={},ue[IS_CONTAINER]=!0),ue}}function makeStyleMapper($,z){for(var ie=0;ie<$.length;ie++)$[ie][1]||($[ie][1]=$[ie][0]);return z=z||!1,function(le,ue,pe){for(var _e={},Ce=0;Ce<$.length;Ce++){var $e=$[Ce][1];if(!(ue&&indexOf(ue,$e)>=0||pe&&indexOf(pe,$e)<0)){var xe=le.getShallow($e,z);xe!=null&&(_e[$[Ce][0]]=xe)}}return _e}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function $(){}return $.prototype.getAreaStyle=function(z,ie){return getAreaStyle(this,z,ie)},$}(),globalImageCache=new LRU$1(50);function findExistImage($){if(typeof $=="string"){var z=globalImageCache.get($);return z&&z.image}else return $}function createOrUpdateImage($,z,ie,le,ue){if($)if(typeof $=="string"){if(z&&z.__zrImageSrc===$||!ie)return z;var pe=globalImageCache.get($),_e={hostEl:ie,cb:le,cbPayload:ue};return pe?(z=pe.image,!isImageReady(z)&&pe.pending.push(_e)):(z=platformApi.loadImage($,imageOnLoad,imageOnLoad),z.__zrImageSrc=$,globalImageCache.put($,z.__cachedImgObj={image:z,pending:[_e]})),z}else return $;else return z}function imageOnLoad(){var $=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var z=0;z<$.pending.length;z++){var ie=$.pending[z],le=ie.cb;le&&le(this,ie.cbPayload),ie.hostEl.dirty()}$.pending.length=0}function isImageReady($){return $&&$.width&&$.height}var STYLE_REG=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function truncateText($,z,ie,le,ue){if(!z)return"";var pe=($+"").split(`
|
||
`);ue=prepareTruncateOptions(z,ie,le,ue);for(var _e=0,Ce=pe.length;_e<Ce;_e++)pe[_e]=truncateSingleLine(pe[_e],ue);return pe.join(`
|
||
`)}function prepareTruncateOptions($,z,ie,le){le=le||{};var ue=extend({},le);ue.font=z,ie=retrieve2(ie,"..."),ue.maxIterations=retrieve2(le.maxIterations,2);var pe=ue.minChar=retrieve2(le.minChar,0);ue.cnCharWidth=getWidth("国",z);var _e=ue.ascCharWidth=getWidth("a",z);ue.placeholder=retrieve2(le.placeholder,"");for(var Ce=$=Math.max(0,$-1),$e=0;$e<pe&&Ce>=_e;$e++)Ce-=_e;var xe=getWidth(ie,z);return xe>Ce&&(ie="",xe=0),Ce=$-xe,ue.ellipsis=ie,ue.ellipsisWidth=xe,ue.contentWidth=Ce,ue.containerWidth=$,ue}function truncateSingleLine($,z){var ie=z.containerWidth,le=z.font,ue=z.contentWidth;if(!ie)return"";var pe=getWidth($,le);if(pe<=ie)return $;for(var _e=0;;_e++){if(pe<=ue||_e>=z.maxIterations){$+=z.ellipsis;break}var Ce=_e===0?estimateLength($,ue,z.ascCharWidth,z.cnCharWidth):pe>0?Math.floor($.length*ue/pe):0;$=$.substr(0,Ce),pe=getWidth($,le)}return $===""&&($=z.placeholder),$}function estimateLength($,z,ie,le){for(var ue=0,pe=0,_e=$.length;pe<_e&&ue<z;pe++){var Ce=$.charCodeAt(pe);ue+=0<=Ce&&Ce<=127?ie:le}return pe}function parsePlainText($,z){$!=null&&($+="");var ie=z.overflow,le=z.padding,ue=z.font,pe=ie==="truncate",_e=getLineHeight(ue),Ce=retrieve2(z.lineHeight,_e),$e=!!z.backgroundColor,xe=z.lineOverflow==="truncate",Ie=z.width,Ve;Ie!=null&&(ie==="break"||ie==="breakAll")?Ve=$?wrapText($,z.font,Ie,ie==="breakAll",0).lines:[]:Ve=$?$.split(`
|
||
`):[];var ze=Ve.length*Ce,Ue=retrieve2(z.height,ze);if(ze>Ue&&xe){var qe=Math.floor(Ue/Ce);Ve=Ve.slice(0,qe)}if($&&pe&&Ie!=null)for(var Et=prepareTruncateOptions(Ie,ue,z.ellipsis,{minChar:z.truncateMinChar,placeholder:z.placeholder}),Lt=0;Lt<Ve.length;Lt++)Ve[Lt]=truncateSingleLine(Ve[Lt],Et);for(var hn=Ue,vn=0,Lt=0;Lt<Ve.length;Lt++)vn=Math.max(getWidth(Ve[Lt],ue),vn);Ie==null&&(Ie=vn);var _n=vn;return le&&(hn+=le[0]+le[2],_n+=le[1]+le[3],Ie+=le[1]+le[3]),$e&&(_n=Ie),{lines:Ve,height:Ue,outerWidth:_n,outerHeight:hn,lineHeight:Ce,calculatedLineHeight:_e,contentWidth:vn,contentHeight:ze,width:Ie}}var RichTextToken=function(){function $(){}return $}(),RichTextLine=function(){function $(z){this.tokens=[],z&&(this.tokens=z)}return $}(),RichTextContentBlock=function(){function $(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return $}();function parseRichText($,z){var ie=new RichTextContentBlock;if($!=null&&($+=""),!$)return ie;for(var le=z.width,ue=z.height,pe=z.overflow,_e=(pe==="break"||pe==="breakAll")&&le!=null?{width:le,accumWidth:0,breakAll:pe==="breakAll"}:null,Ce=STYLE_REG.lastIndex=0,$e;($e=STYLE_REG.exec($))!=null;){var xe=$e.index;xe>Ce&&pushTokens(ie,$.substring(Ce,xe),z,_e),pushTokens(ie,$e[2],z,_e,$e[1]),Ce=STYLE_REG.lastIndex}Ce<$.length&&pushTokens(ie,$.substring(Ce,$.length),z,_e);var Ie=[],Ve=0,ze=0,Ue=z.padding,qe=pe==="truncate",Et=z.lineOverflow==="truncate";function Lt(Vn,Mn,zn){Vn.width=Mn,Vn.lineHeight=zn,Ve+=zn,ze=Math.max(ze,Mn)}e:for(var hn=0;hn<ie.lines.length;hn++){for(var vn=ie.lines[hn],_n=0,bn=0,Cn=0;Cn<vn.tokens.length;Cn++){var Sn=vn.tokens[Cn],En=Sn.styleName&&z.rich[Sn.styleName]||{},wn=Sn.textPadding=En.padding,Tn=wn?wn[1]+wn[3]:0,kn=Sn.font=En.font||z.font;Sn.contentHeight=getLineHeight(kn);var xn=retrieve2(En.height,Sn.contentHeight);if(Sn.innerHeight=xn,wn&&(xn+=wn[0]+wn[2]),Sn.height=xn,Sn.lineHeight=retrieve3(En.lineHeight,z.lineHeight,xn),Sn.align=En&&En.align||z.align,Sn.verticalAlign=En&&En.verticalAlign||"middle",Et&&ue!=null&&Ve+Sn.lineHeight>ue){Cn>0?(vn.tokens=vn.tokens.slice(0,Cn),Lt(vn,bn,_n),ie.lines=ie.lines.slice(0,hn+1)):ie.lines=ie.lines.slice(0,hn);break e}var Pn=En.width,An=Pn==null||Pn==="auto";if(typeof Pn=="string"&&Pn.charAt(Pn.length-1)==="%")Sn.percentWidth=Pn,Ie.push(Sn),Sn.contentWidth=getWidth(Sn.text,kn);else{if(An){var In=En.backgroundColor,Fn=In&&In.image;Fn&&(Fn=findExistImage(Fn),isImageReady(Fn)&&(Sn.width=Math.max(Sn.width,Fn.width*xn/Fn.height)))}var Dn=qe&&le!=null?le-bn:null;Dn!=null&&Dn<Sn.width?!An||Dn<Tn?(Sn.text="",Sn.width=Sn.contentWidth=0):(Sn.text=truncateText(Sn.text,Dn-Tn,kn,z.ellipsis,{minChar:z.truncateMinChar}),Sn.width=Sn.contentWidth=getWidth(Sn.text,kn)):Sn.contentWidth=getWidth(Sn.text,kn)}Sn.width+=Tn,bn+=Sn.width,En&&(_n=Math.max(_n,Sn.lineHeight))}Lt(vn,bn,_n)}ie.outerWidth=ie.width=retrieve2(le,ze),ie.outerHeight=ie.height=retrieve2(ue,Ve),ie.contentHeight=Ve,ie.contentWidth=ze,Ue&&(ie.outerWidth+=Ue[1]+Ue[3],ie.outerHeight+=Ue[0]+Ue[2]);for(var hn=0;hn<Ie.length;hn++){var Sn=Ie[hn],On=Sn.percentWidth;Sn.width=parseInt(On,10)/100*ie.width}return ie}function pushTokens($,z,ie,le,ue){var pe=z==="",_e=ue&&ie.rich[ue]||{},Ce=$.lines,$e=_e.font||ie.font,xe=!1,Ie,Ve;if(le){var ze=_e.padding,Ue=ze?ze[1]+ze[3]:0;if(_e.width!=null&&_e.width!=="auto"){var qe=parsePercent$1(_e.width,le.width)+Ue;Ce.length>0&&qe+le.accumWidth>le.width&&(Ie=z.split(`
|
||
`),xe=!0),le.accumWidth=qe}else{var Et=wrapText(z,$e,le.width,le.breakAll,le.accumWidth);le.accumWidth=Et.accumWidth+Ue,Ve=Et.linesWidths,Ie=Et.lines}}else Ie=z.split(`
|
||
`);for(var Lt=0;Lt<Ie.length;Lt++){var hn=Ie[Lt],vn=new RichTextToken;if(vn.styleName=ue,vn.text=hn,vn.isLineHolder=!hn&&!pe,typeof _e.width=="number"?vn.width=_e.width:vn.width=Ve?Ve[Lt]:getWidth(hn,$e),!Lt&&!xe){var _n=(Ce[Ce.length-1]||(Ce[0]=new RichTextLine)).tokens,bn=_n.length;bn===1&&_n[0].isLineHolder?_n[0]=vn:(hn||!bn||pe)&&_n.push(vn)}else Ce.push(new RichTextLine([vn]))}}function isAlphabeticLetter($){var z=$.charCodeAt(0);return z>=32&&z<=591||z>=880&&z<=4351||z>=4608&&z<=5119||z>=7680&&z<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function($,z){return $[z]=!0,$},{});function isWordBreakChar($){return isAlphabeticLetter($)?!!breakCharMap[$]:!0}function wrapText($,z,ie,le,ue){for(var pe=[],_e=[],Ce="",$e="",xe=0,Ie=0,Ve=0;Ve<$.length;Ve++){var ze=$.charAt(Ve);if(ze===`
|
||
`){$e&&(Ce+=$e,Ie+=xe),pe.push(Ce),_e.push(Ie),Ce="",$e="",xe=0,Ie=0;continue}var Ue=getWidth(ze,z),qe=le?!1:!isWordBreakChar(ze);if(pe.length?Ie+Ue>ie:ue+Ie+Ue>ie){Ie?(Ce||$e)&&(qe?(Ce||(Ce=$e,$e="",xe=0,Ie=xe),pe.push(Ce),_e.push(Ie-xe),$e+=ze,xe+=Ue,Ce="",Ie=xe):($e&&(Ce+=$e,$e="",xe=0),pe.push(Ce),_e.push(Ie),Ce=ze,Ie=Ue)):qe?(pe.push($e),_e.push(xe),$e=ze,xe=Ue):(pe.push(ze),_e.push(Ue));continue}Ie+=Ue,qe?($e+=ze,xe+=Ue):($e&&(Ce+=$e,$e="",xe=0),Ce+=ze)}return!pe.length&&!Ce&&(Ce=$,$e="",xe=0),$e&&(Ce+=$e),Ce&&(pe.push(Ce),_e.push(Ie)),pe.length===1&&(Ie+=ue),{accumWidth:Ie,lines:pe,linesWidths:_e}}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($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype._init=function(ie){for(var le=keys(ie),ue=0;ue<le.length;ue++){var pe=le[ue];pe==="style"?this.useStyle(ie[pe]):$.prototype.attrKV.call(this,pe,ie[pe])}this.style||this.useStyle({})},z.prototype.beforeBrush=function(){},z.prototype.afterBrush=function(){},z.prototype.innerBeforeBrush=function(){},z.prototype.innerAfterBrush=function(){},z.prototype.shouldBePainted=function(ie,le,ue,pe){var _e=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&isDisplayableCulled(this,ie,le)||_e&&!_e[0]&&!_e[3])return!1;if(ue&&this.__clipPaths){for(var Ce=0;Ce<this.__clipPaths.length;++Ce)if(this.__clipPaths[Ce].isZeroArea())return!1}if(pe&&this.parent)for(var $e=this.parent;$e;){if($e.ignore)return!1;$e=$e.parent}return!0},z.prototype.contain=function(ie,le){return this.rectContain(ie,le)},z.prototype.traverse=function(ie,le){ie.call(le,this)},z.prototype.rectContain=function(ie,le){var ue=this.transformCoordToLocal(ie,le),pe=this.getBoundingRect();return pe.contain(ue[0],ue[1])},z.prototype.getPaintRect=function(){var ie=this._paintRect;if(!this._paintRect||this.__dirty){var le=this.transform,ue=this.getBoundingRect(),pe=this.style,_e=pe.shadowBlur||0,Ce=pe.shadowOffsetX||0,$e=pe.shadowOffsetY||0;ie=this._paintRect||(this._paintRect=new BoundingRect$1(0,0,0,0)),le?BoundingRect$1.applyTransform(ie,ue,le):ie.copy(ue),(_e||Ce||$e)&&(ie.width+=_e*2+Math.abs(Ce),ie.height+=_e*2+Math.abs($e),ie.x=Math.min(ie.x,ie.x+Ce-_e),ie.y=Math.min(ie.y,ie.y+$e-_e));var xe=this.dirtyRectTolerance;ie.isZero()||(ie.x=Math.floor(ie.x-xe),ie.y=Math.floor(ie.y-xe),ie.width=Math.ceil(ie.width+1+xe*2),ie.height=Math.ceil(ie.height+1+xe*2))}return ie},z.prototype.setPrevPaintRect=function(ie){ie?(this._prevPaintRect=this._prevPaintRect||new BoundingRect$1(0,0,0,0),this._prevPaintRect.copy(ie)):this._prevPaintRect=null},z.prototype.getPrevPaintRect=function(){return this._prevPaintRect},z.prototype.animateStyle=function(ie){return this.animate("style",ie)},z.prototype.updateDuringAnimation=function(ie){ie==="style"?this.dirtyStyle():this.markRedraw()},z.prototype.attrKV=function(ie,le){ie!=="style"?$.prototype.attrKV.call(this,ie,le):this.style?this.setStyle(le):this.useStyle(le)},z.prototype.setStyle=function(ie,le){return typeof ie=="string"?this.style[ie]=le:extend(this.style,ie),this.dirtyStyle(),this},z.prototype.dirtyStyle=function(ie){ie||this.markRedraw(),this.__dirty|=STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},z.prototype.dirty=function(){this.dirtyStyle()},z.prototype.styleChanged=function(){return!!(this.__dirty&STYLE_CHANGED_BIT)},z.prototype.styleUpdated=function(){this.__dirty&=~STYLE_CHANGED_BIT},z.prototype.createStyle=function(ie){return createObject(DEFAULT_COMMON_STYLE,ie)},z.prototype.useStyle=function(ie){ie[STYLE_MAGIC_KEY]||(ie=this.createStyle(ie)),this.__inHover?this.__hoverStyle=ie:this.style=ie,this.dirtyStyle()},z.prototype.isStyleObject=function(ie){return ie[STYLE_MAGIC_KEY]},z.prototype._innerSaveToNormal=function(ie){$.prototype._innerSaveToNormal.call(this,ie);var le=this._normalState;ie.style&&!le.style&&(le.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(ie,le,PRIMARY_STATES_KEYS)},z.prototype._applyStateObj=function(ie,le,ue,pe,_e,Ce){$.prototype._applyStateObj.call(this,ie,le,ue,pe,_e,Ce);var $e=!(le&&pe),xe;if(le&&le.style?_e?pe?xe=le.style:(xe=this._mergeStyle(this.createStyle(),ue.style),this._mergeStyle(xe,le.style)):(xe=this._mergeStyle(this.createStyle(),pe?this.style:ue.style),this._mergeStyle(xe,le.style)):$e&&(xe=ue.style),xe)if(_e){var Ie=this.style;if(this.style=this.createStyle($e?{}:Ie),$e)for(var Ve=keys(Ie),ze=0;ze<Ve.length;ze++){var Ue=Ve[ze];Ue in xe&&(xe[Ue]=xe[Ue],this.style[Ue]=Ie[Ue])}for(var qe=keys(xe),ze=0;ze<qe.length;ze++){var Ue=qe[ze];this.style[Ue]=this.style[Ue]}this._transitionState(ie,{style:xe},Ce,this.getAnimationStyleProps())}else this.useStyle(xe);for(var Et=this.__inHover?PRIMARY_STATES_KEYS_IN_HOVER_LAYER:PRIMARY_STATES_KEYS,ze=0;ze<Et.length;ze++){var Ue=Et[ze];le&&le[Ue]!=null?this[Ue]=le[Ue]:$e&&ue[Ue]!=null&&(this[Ue]=ue[Ue])}},z.prototype._mergeStates=function(ie){for(var le=$.prototype._mergeStates.call(this,ie),ue,pe=0;pe<ie.length;pe++){var _e=ie[pe];_e.style&&(ue=ue||{},this._mergeStyle(ue,_e.style))}return ue&&(le.style=ue),le},z.prototype._mergeStyle=function(ie,le){return extend(ie,le),ie},z.prototype.getAnimationStyleProps=function(){return DEFAULT_COMMON_ANIMATION_PROPS},z.initDefaultProps=function(){var ie=z.prototype;ie.type="displayable",ie.invisible=!1,ie.z=0,ie.z2=0,ie.zlevel=0,ie.culling=!1,ie.cursor="pointer",ie.rectHover=!1,ie.incremental=!1,ie._rect=null,ie.dirtyRectTolerance=0,ie.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT}(),z}(Element$2),tmpRect=new BoundingRect$1(0,0,0,0),viewRect=new BoundingRect$1(0,0,0,0);function isDisplayableCulled($,z,ie){return tmpRect.copy($.getBoundingRect()),$.transform&&tmpRect.applyTransform($.transform),viewRect.width=z,viewRect.height=ie,!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($,z,ie,le,ue,pe){ue[0]=mathMin$7($,ie),ue[1]=mathMin$7(z,le),pe[0]=mathMax$7($,ie),pe[1]=mathMax$7(z,le)}var xDim=[],yDim=[];function fromCubic($,z,ie,le,ue,pe,_e,Ce,$e,xe){var Ie=cubicExtrema,Ve=cubicAt,ze=Ie($,ie,ue,_e,xDim);$e[0]=1/0,$e[1]=1/0,xe[0]=-1/0,xe[1]=-1/0;for(var Ue=0;Ue<ze;Ue++){var qe=Ve($,ie,ue,_e,xDim[Ue]);$e[0]=mathMin$7(qe,$e[0]),xe[0]=mathMax$7(qe,xe[0])}ze=Ie(z,le,pe,Ce,yDim);for(var Ue=0;Ue<ze;Ue++){var Et=Ve(z,le,pe,Ce,yDim[Ue]);$e[1]=mathMin$7(Et,$e[1]),xe[1]=mathMax$7(Et,xe[1])}$e[0]=mathMin$7($,$e[0]),xe[0]=mathMax$7($,xe[0]),$e[0]=mathMin$7(_e,$e[0]),xe[0]=mathMax$7(_e,xe[0]),$e[1]=mathMin$7(z,$e[1]),xe[1]=mathMax$7(z,xe[1]),$e[1]=mathMin$7(Ce,$e[1]),xe[1]=mathMax$7(Ce,xe[1])}function fromQuadratic($,z,ie,le,ue,pe,_e,Ce){var $e=quadraticExtremum,xe=quadraticAt,Ie=mathMax$7(mathMin$7($e($,ie,ue),1),0),Ve=mathMax$7(mathMin$7($e(z,le,pe),1),0),ze=xe($,ie,ue,Ie),Ue=xe(z,le,pe,Ve);_e[0]=mathMin$7($,ue,ze),_e[1]=mathMin$7(z,pe,Ue),Ce[0]=mathMax$7($,ue,ze),Ce[1]=mathMax$7(z,pe,Ue)}function fromArc($,z,ie,le,ue,pe,_e,Ce,$e){var xe=min$1,Ie=max$1,Ve=Math.abs(ue-pe);if(Ve%PI2$6<1e-4&&Ve>1e-4){Ce[0]=$-ie,Ce[1]=z-le,$e[0]=$+ie,$e[1]=z+le;return}if(start[0]=mathCos$3(ue)*ie+$,start[1]=mathSin$3(ue)*le+z,end[0]=mathCos$3(pe)*ie+$,end[1]=mathSin$3(pe)*le+z,xe(Ce,start,end),Ie($e,start,end),ue=ue%PI2$6,ue<0&&(ue=ue+PI2$6),pe=pe%PI2$6,pe<0&&(pe=pe+PI2$6),ue>pe&&!_e?pe+=PI2$6:ue<pe&&_e&&(ue+=PI2$6),_e){var ze=pe;pe=ue,ue=ze}for(var Ue=0;Ue<pe;Ue+=Math.PI/2)Ue>ue&&(extremity[0]=mathCos$3(Ue)*ie+$,extremity[1]=mathSin$3(Ue)*le+z,xe(Ce,extremity,Ce),Ie($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($){var z=Math.round($/PI$4*1e8)/1e8;return z%2*PI$4}function normalizeArcAngles($,z){var ie=modPI2($[0]);ie<0&&(ie+=PI2$5);var le=ie-$[0],ue=$[1];ue+=le,!z&&ue-ie>=PI2$5?ue=ie+PI2$5:z&&ie-ue>=PI2$5?ue=ie-PI2$5:!z&&ie>ue?ue=ie+(PI2$5-modPI2(ie-ue)):z&&ie<ue&&(ue=ie-(PI2$5-modPI2(ue-ie))),$[0]=ie,$[1]=ue}var PathProxy=function(){function $(z){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,z&&(this._saveData=!1),this._saveData&&(this.data=[])}return $.prototype.increaseVersion=function(){this._version++},$.prototype.getVersion=function(){return this._version},$.prototype.setScale=function(z,ie,le){le=le||0,le>0&&(this._ux=mathAbs$1(le/devicePixelRatio/z)||0,this._uy=mathAbs$1(le/devicePixelRatio/ie)||0)},$.prototype.setDPR=function(z){this.dpr=z},$.prototype.setContext=function(z){this._ctx=z},$.prototype.getContext=function(){return this._ctx},$.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},$.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},$.prototype.moveTo=function(z,ie){return this._drawPendingPt(),this.addData(CMD$2.M,z,ie),this._ctx&&this._ctx.moveTo(z,ie),this._x0=z,this._y0=ie,this._xi=z,this._yi=ie,this},$.prototype.lineTo=function(z,ie){var le=mathAbs$1(z-this._xi),ue=mathAbs$1(ie-this._yi),pe=le>this._ux||ue>this._uy;if(this.addData(CMD$2.L,z,ie),this._ctx&&pe&&this._ctx.lineTo(z,ie),pe)this._xi=z,this._yi=ie,this._pendingPtDist=0;else{var _e=le*le+ue*ue;_e>this._pendingPtDist&&(this._pendingPtX=z,this._pendingPtY=ie,this._pendingPtDist=_e)}return this},$.prototype.bezierCurveTo=function(z,ie,le,ue,pe,_e){return this._drawPendingPt(),this.addData(CMD$2.C,z,ie,le,ue,pe,_e),this._ctx&&this._ctx.bezierCurveTo(z,ie,le,ue,pe,_e),this._xi=pe,this._yi=_e,this},$.prototype.quadraticCurveTo=function(z,ie,le,ue){return this._drawPendingPt(),this.addData(CMD$2.Q,z,ie,le,ue),this._ctx&&this._ctx.quadraticCurveTo(z,ie,le,ue),this._xi=le,this._yi=ue,this},$.prototype.arc=function(z,ie,le,ue,pe,_e){this._drawPendingPt(),tmpAngles[0]=ue,tmpAngles[1]=pe,normalizeArcAngles(tmpAngles,_e),ue=tmpAngles[0],pe=tmpAngles[1];var Ce=pe-ue;return this.addData(CMD$2.A,z,ie,le,le,ue,Ce,0,_e?0:1),this._ctx&&this._ctx.arc(z,ie,le,ue,pe,_e),this._xi=mathCos$2(pe)*le+z,this._yi=mathSin$2(pe)*le+ie,this},$.prototype.arcTo=function(z,ie,le,ue,pe){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(z,ie,le,ue,pe),this},$.prototype.rect=function(z,ie,le,ue){return this._drawPendingPt(),this._ctx&&this._ctx.rect(z,ie,le,ue),this.addData(CMD$2.R,z,ie,le,ue),this},$.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$2.Z);var z=this._ctx,ie=this._x0,le=this._y0;return z&&z.closePath(),this._xi=ie,this._yi=le,this},$.prototype.fill=function(z){z&&z.fill(),this.toStatic()},$.prototype.stroke=function(z){z&&z.stroke(),this.toStatic()},$.prototype.len=function(){return this._len},$.prototype.setData=function(z){var ie=z.length;!(this.data&&this.data.length===ie)&&hasTypedArray&&(this.data=new Float32Array(ie));for(var le=0;le<ie;le++)this.data[le]=z[le];this._len=ie},$.prototype.appendPath=function(z){z instanceof Array||(z=[z]);for(var ie=z.length,le=0,ue=this._len,pe=0;pe<ie;pe++)le+=z[pe].len();hasTypedArray&&this.data instanceof Float32Array&&(this.data=new Float32Array(ue+le));for(var pe=0;pe<ie;pe++)for(var _e=z[pe].data,Ce=0;Ce<_e.length;Ce++)this.data[ue++]=_e[Ce];this._len=ue},$.prototype.addData=function(z,ie,le,ue,pe,_e,Ce,$e,xe){if(this._saveData){var Ie=this.data;this._len+arguments.length>Ie.length&&(this._expandData(),Ie=this.data);for(var Ve=0;Ve<arguments.length;Ve++)Ie[this._len++]=arguments[Ve]}},$.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},$.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var z=[],ie=0;ie<this._len;ie++)z[ie]=this.data[ie];this.data=z}},$.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var z=this.data;z instanceof Array&&(z.length=this._len,hasTypedArray&&this._len>11&&(this.data=new Float32Array(z)))}},$.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 z=this.data,ie=0,le=0,ue=0,pe=0,_e;for(_e=0;_e<this._len;){var Ce=z[_e++],$e=_e===1;switch($e&&(ie=z[_e],le=z[_e+1],ue=ie,pe=le),Ce){case CMD$2.M:ie=ue=z[_e++],le=pe=z[_e++],min2[0]=ue,min2[1]=pe,max2[0]=ue,max2[1]=pe;break;case CMD$2.L:fromLine(ie,le,z[_e],z[_e+1],min2,max2),ie=z[_e++],le=z[_e++];break;case CMD$2.C:fromCubic(ie,le,z[_e++],z[_e++],z[_e++],z[_e++],z[_e],z[_e+1],min2,max2),ie=z[_e++],le=z[_e++];break;case CMD$2.Q:fromQuadratic(ie,le,z[_e++],z[_e++],z[_e],z[_e+1],min2,max2),ie=z[_e++],le=z[_e++];break;case CMD$2.A:var xe=z[_e++],Ie=z[_e++],Ve=z[_e++],ze=z[_e++],Ue=z[_e++],qe=z[_e++]+Ue;_e+=1;var Et=!z[_e++];$e&&(ue=mathCos$2(Ue)*Ve+xe,pe=mathSin$2(Ue)*ze+Ie),fromArc(xe,Ie,Ve,ze,Ue,qe,Et,min2,max2),ie=mathCos$2(qe)*Ve+xe,le=mathSin$2(qe)*ze+Ie;break;case CMD$2.R:ue=ie=z[_e++],pe=le=z[_e++];var Lt=z[_e++],hn=z[_e++];fromLine(ue,pe,ue+Lt,pe+hn,min2,max2);break;case CMD$2.Z:ie=ue,le=pe;break}min$1(min,min,min2),max$1(max,max,max2)}return _e===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])},$.prototype._calculateLength=function(){var z=this.data,ie=this._len,le=this._ux,ue=this._uy,pe=0,_e=0,Ce=0,$e=0;this._pathSegLen||(this._pathSegLen=[]);for(var xe=this._pathSegLen,Ie=0,Ve=0,ze=0;ze<ie;){var Ue=z[ze++],qe=ze===1;qe&&(pe=z[ze],_e=z[ze+1],Ce=pe,$e=_e);var Et=-1;switch(Ue){case CMD$2.M:pe=Ce=z[ze++],_e=$e=z[ze++];break;case CMD$2.L:{var Lt=z[ze++],hn=z[ze++],vn=Lt-pe,_n=hn-_e;(mathAbs$1(vn)>le||mathAbs$1(_n)>ue||ze===ie-1)&&(Et=Math.sqrt(vn*vn+_n*_n),pe=Lt,_e=hn);break}case CMD$2.C:{var bn=z[ze++],Cn=z[ze++],Lt=z[ze++],hn=z[ze++],Sn=z[ze++],En=z[ze++];Et=cubicLength(pe,_e,bn,Cn,Lt,hn,Sn,En,10),pe=Sn,_e=En;break}case CMD$2.Q:{var bn=z[ze++],Cn=z[ze++],Lt=z[ze++],hn=z[ze++];Et=quadraticLength(pe,_e,bn,Cn,Lt,hn,10),pe=Lt,_e=hn;break}case CMD$2.A:var wn=z[ze++],Tn=z[ze++],kn=z[ze++],xn=z[ze++],Pn=z[ze++],An=z[ze++],In=An+Pn;ze+=1,z[ze++],qe&&(Ce=mathCos$2(Pn)*kn+wn,$e=mathSin$2(Pn)*xn+Tn),Et=mathMax$6(kn,xn)*mathMin$6(PI2$5,Math.abs(An)),pe=mathCos$2(In)*kn+wn,_e=mathSin$2(In)*xn+Tn;break;case CMD$2.R:{Ce=pe=z[ze++],$e=_e=z[ze++];var Fn=z[ze++],Dn=z[ze++];Et=Fn*2+Dn*2;break}case CMD$2.Z:{var vn=Ce-pe,_n=$e-_e;Et=Math.sqrt(vn*vn+_n*_n),pe=Ce,_e=$e;break}}Et>=0&&(xe[Ve++]=Et,Ie+=Et)}return this._pathLen=Ie,Ie},$.prototype.rebuildPath=function(z,ie){var le=this.data,ue=this._ux,pe=this._uy,_e=this._len,Ce,$e,xe,Ie,Ve,ze,Ue=ie<1,qe,Et,Lt=0,hn=0,vn,_n=0,bn,Cn;if(!(Ue&&(this._pathSegLen||this._calculateLength(),qe=this._pathSegLen,Et=this._pathLen,vn=ie*Et,!vn)))e:for(var Sn=0;Sn<_e;){var En=le[Sn++],wn=Sn===1;switch(wn&&(xe=le[Sn],Ie=le[Sn+1],Ce=xe,$e=Ie),En!==CMD$2.L&&_n>0&&(z.lineTo(bn,Cn),_n=0),En){case CMD$2.M:Ce=xe=le[Sn++],$e=Ie=le[Sn++],z.moveTo(xe,Ie);break;case CMD$2.L:{Ve=le[Sn++],ze=le[Sn++];var Tn=mathAbs$1(Ve-xe),kn=mathAbs$1(ze-Ie);if(Tn>ue||kn>pe){if(Ue){var xn=qe[hn++];if(Lt+xn>vn){var Pn=(vn-Lt)/xn;z.lineTo(xe*(1-Pn)+Ve*Pn,Ie*(1-Pn)+ze*Pn);break e}Lt+=xn}z.lineTo(Ve,ze),xe=Ve,Ie=ze,_n=0}else{var An=Tn*Tn+kn*kn;An>_n&&(bn=Ve,Cn=ze,_n=An)}break}case CMD$2.C:{var In=le[Sn++],Fn=le[Sn++],Dn=le[Sn++],On=le[Sn++],Vn=le[Sn++],Mn=le[Sn++];if(Ue){var xn=qe[hn++];if(Lt+xn>vn){var Pn=(vn-Lt)/xn;cubicSubdivide(xe,In,Dn,Vn,Pn,tmpOutX),cubicSubdivide(Ie,Fn,On,Mn,Pn,tmpOutY),z.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Lt+=xn}z.bezierCurveTo(In,Fn,Dn,On,Vn,Mn),xe=Vn,Ie=Mn;break}case CMD$2.Q:{var In=le[Sn++],Fn=le[Sn++],Dn=le[Sn++],On=le[Sn++];if(Ue){var xn=qe[hn++];if(Lt+xn>vn){var Pn=(vn-Lt)/xn;quadraticSubdivide(xe,In,Dn,Pn,tmpOutX),quadraticSubdivide(Ie,Fn,On,Pn,tmpOutY),z.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Lt+=xn}z.quadraticCurveTo(In,Fn,Dn,On),xe=Dn,Ie=On;break}case CMD$2.A:var zn=le[Sn++],Kn=le[Sn++],Hn=le[Sn++],Xn=le[Sn++],lr=le[Sn++],yr=le[Sn++],ir=le[Sn++],Yn=!le[Sn++],Gn=Hn>Xn?Hn:Xn,Wn=mathAbs$1(Hn-Xn)>.001,Qn=lr+yr,fr=!1;if(Ue){var xn=qe[hn++];Lt+xn>vn&&(Qn=lr+yr*(vn-Lt)/xn,fr=!0),Lt+=xn}if(Wn&&z.ellipse?z.ellipse(zn,Kn,Hn,Xn,ir,lr,Qn,Yn):z.arc(zn,Kn,Gn,lr,Qn,Yn),fr)break e;wn&&(Ce=mathCos$2(lr)*Hn+zn,$e=mathSin$2(lr)*Xn+Kn),xe=mathCos$2(Qn)*Hn+zn,Ie=mathSin$2(Qn)*Xn+Kn;break;case CMD$2.R:Ce=xe=le[Sn],$e=Ie=le[Sn+1],Ve=le[Sn++],ze=le[Sn++];var jn=le[Sn++],Zn=le[Sn++];if(Ue){var xn=qe[hn++];if(Lt+xn>vn){var rr=vn-Lt;z.moveTo(Ve,ze),z.lineTo(Ve+mathMin$6(rr,jn),ze),rr-=jn,rr>0&&z.lineTo(Ve+jn,ze+mathMin$6(rr,Zn)),rr-=Zn,rr>0&&z.lineTo(Ve+mathMax$6(jn-rr,0),ze+Zn),rr-=jn,rr>0&&z.lineTo(Ve,ze+mathMax$6(Zn-rr,0));break e}Lt+=xn}z.rect(Ve,ze,jn,Zn);break;case CMD$2.Z:if(Ue){var xn=qe[hn++];if(Lt+xn>vn){var Pn=(vn-Lt)/xn;z.lineTo(xe*(1-Pn)+Ce*Pn,Ie*(1-Pn)+$e*Pn);break e}Lt+=xn}z.closePath(),xe=Ce,Ie=$e}}},$.prototype.clone=function(){var z=new $,ie=this.data;return z.data=ie.slice?ie.slice():Array.prototype.slice.call(ie),z._len=this._len,z},$.CMD=CMD$2,$.initDefaultProps=function(){var z=$.prototype;z._saveData=!0,z._ux=0,z._uy=0,z._pendingPtDist=0,z._version=0}(),$}();const PathProxy$1=PathProxy;function containStroke$4($,z,ie,le,ue,pe,_e){if(ue===0)return!1;var Ce=ue,$e=0,xe=$;if(_e>z+Ce&&_e>le+Ce||_e<z-Ce&&_e<le-Ce||pe>$+Ce&&pe>ie+Ce||pe<$-Ce&&pe<ie-Ce)return!1;if($!==ie)$e=(z-le)/($-ie),xe=($*le-ie*z)/($-ie);else return Math.abs(pe-$)<=Ce/2;var Ie=$e*pe-_e+xe,Ve=Ie*Ie/($e*$e+1);return Ve<=Ce/2*Ce/2}function containStroke$3($,z,ie,le,ue,pe,_e,Ce,$e,xe,Ie){if($e===0)return!1;var Ve=$e;if(Ie>z+Ve&&Ie>le+Ve&&Ie>pe+Ve&&Ie>Ce+Ve||Ie<z-Ve&&Ie<le-Ve&&Ie<pe-Ve&&Ie<Ce-Ve||xe>$+Ve&&xe>ie+Ve&&xe>ue+Ve&&xe>_e+Ve||xe<$-Ve&&xe<ie-Ve&&xe<ue-Ve&&xe<_e-Ve)return!1;var ze=cubicProjectPoint($,z,ie,le,ue,pe,_e,Ce,xe,Ie,null);return ze<=Ve/2}function containStroke$2($,z,ie,le,ue,pe,_e,Ce,$e){if(_e===0)return!1;var xe=_e;if($e>z+xe&&$e>le+xe&&$e>pe+xe||$e<z-xe&&$e<le-xe&&$e<pe-xe||Ce>$+xe&&Ce>ie+xe&&Ce>ue+xe||Ce<$-xe&&Ce<ie-xe&&Ce<ue-xe)return!1;var Ie=quadraticProjectPoint($,z,ie,le,ue,pe,Ce,$e,null);return Ie<=xe/2}var PI2$4=Math.PI*2;function normalizeRadian($){return $%=PI2$4,$<0&&($+=PI2$4),$}var PI2$3=Math.PI*2;function containStroke$1($,z,ie,le,ue,pe,_e,Ce,$e){if(_e===0)return!1;var xe=_e;Ce-=$,$e-=z;var Ie=Math.sqrt(Ce*Ce+$e*$e);if(Ie-xe>ie||Ie+xe<ie)return!1;if(Math.abs(le-ue)%PI2$3<1e-4)return!0;if(pe){var Ve=le;le=normalizeRadian(ue),ue=normalizeRadian(Ve)}else le=normalizeRadian(le),ue=normalizeRadian(ue);le>ue&&(ue+=PI2$3);var ze=Math.atan2($e,Ce);return ze<0&&(ze+=PI2$3),ze>=le&&ze<=ue||ze+PI2$3>=le&&ze+PI2$3<=ue}function windingLine($,z,ie,le,ue,pe){if(pe>z&&pe>le||pe<z&&pe<le||le===z)return 0;var _e=(pe-z)/(le-z),Ce=le<z?1:-1;(_e===1||_e===0)&&(Ce=le<z?.5:-.5);var $e=_e*(ie-$)+$;return $e===ue?1/0:$e>ue?Ce:0}var CMD$1=PathProxy$1.CMD,PI2$2=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1($,z){return Math.abs($-z)<EPSILON$1}var roots=[-1,-1,-1],extrema=[-1,-1];function swapExtrema(){var $=extrema[0];extrema[0]=extrema[1],extrema[1]=$}function windingCubic($,z,ie,le,ue,pe,_e,Ce,$e,xe){if(xe>z&&xe>le&&xe>pe&&xe>Ce||xe<z&&xe<le&&xe<pe&&xe<Ce)return 0;var Ie=cubicRootAt(z,le,pe,Ce,xe,roots);if(Ie===0)return 0;for(var Ve=0,ze=-1,Ue=void 0,qe=void 0,Et=0;Et<Ie;Et++){var Lt=roots[Et],hn=Lt===0||Lt===1?.5:1,vn=cubicAt($,ie,ue,_e,Lt);vn<$e||(ze<0&&(ze=cubicExtrema(z,le,pe,Ce,extrema),extrema[1]<extrema[0]&&ze>1&&swapExtrema(),Ue=cubicAt(z,le,pe,Ce,extrema[0]),ze>1&&(qe=cubicAt(z,le,pe,Ce,extrema[1]))),ze===2?Lt<extrema[0]?Ve+=Ue<z?hn:-hn:Lt<extrema[1]?Ve+=qe<Ue?hn:-hn:Ve+=Ce<qe?hn:-hn:Lt<extrema[0]?Ve+=Ue<z?hn:-hn:Ve+=Ce<Ue?hn:-hn)}return Ve}function windingQuadratic($,z,ie,le,ue,pe,_e,Ce){if(Ce>z&&Ce>le&&Ce>pe||Ce<z&&Ce<le&&Ce<pe)return 0;var $e=quadraticRootAt(z,le,pe,Ce,roots);if($e===0)return 0;var xe=quadraticExtremum(z,le,pe);if(xe>=0&&xe<=1){for(var Ie=0,Ve=quadraticAt(z,le,pe,xe),ze=0;ze<$e;ze++){var Ue=roots[ze]===0||roots[ze]===1?.5:1,qe=quadraticAt($,ie,ue,roots[ze]);qe<_e||(roots[ze]<xe?Ie+=Ve<z?Ue:-Ue:Ie+=pe<Ve?Ue:-Ue)}return Ie}else{var Ue=roots[0]===0||roots[0]===1?.5:1,qe=quadraticAt($,ie,ue,roots[0]);return qe<_e?0:pe<z?Ue:-Ue}}function windingArc($,z,ie,le,ue,pe,_e,Ce){if(Ce-=z,Ce>ie||Ce<-ie)return 0;var $e=Math.sqrt(ie*ie-Ce*Ce);roots[0]=-$e,roots[1]=$e;var xe=Math.abs(le-ue);if(xe<1e-4)return 0;if(xe>=PI2$2-1e-4){le=0,ue=PI2$2;var Ie=pe?1:-1;return _e>=roots[0]+$&&_e<=roots[1]+$?Ie:0}if(le>ue){var Ve=le;le=ue,ue=Ve}le<0&&(le+=PI2$2,ue+=PI2$2);for(var ze=0,Ue=0;Ue<2;Ue++){var qe=roots[Ue];if(qe+$>_e){var Et=Math.atan2(Ce,qe),Ie=pe?1:-1;Et<0&&(Et=PI2$2+Et),(Et>=le&&Et<=ue||Et+PI2$2>=le&&Et+PI2$2<=ue)&&(Et>Math.PI/2&&Et<Math.PI*1.5&&(Ie=-Ie),ze+=Ie)}}return ze}function containPath($,z,ie,le,ue){for(var pe=$.data,_e=$.len(),Ce=0,$e=0,xe=0,Ie=0,Ve=0,ze,Ue,qe=0;qe<_e;){var Et=pe[qe++],Lt=qe===1;switch(Et===CMD$1.M&&qe>1&&(ie||(Ce+=windingLine($e,xe,Ie,Ve,le,ue))),Lt&&($e=pe[qe],xe=pe[qe+1],Ie=$e,Ve=xe),Et){case CMD$1.M:Ie=pe[qe++],Ve=pe[qe++],$e=Ie,xe=Ve;break;case CMD$1.L:if(ie){if(containStroke$4($e,xe,pe[qe],pe[qe+1],z,le,ue))return!0}else Ce+=windingLine($e,xe,pe[qe],pe[qe+1],le,ue)||0;$e=pe[qe++],xe=pe[qe++];break;case CMD$1.C:if(ie){if(containStroke$3($e,xe,pe[qe++],pe[qe++],pe[qe++],pe[qe++],pe[qe],pe[qe+1],z,le,ue))return!0}else Ce+=windingCubic($e,xe,pe[qe++],pe[qe++],pe[qe++],pe[qe++],pe[qe],pe[qe+1],le,ue)||0;$e=pe[qe++],xe=pe[qe++];break;case CMD$1.Q:if(ie){if(containStroke$2($e,xe,pe[qe++],pe[qe++],pe[qe],pe[qe+1],z,le,ue))return!0}else Ce+=windingQuadratic($e,xe,pe[qe++],pe[qe++],pe[qe],pe[qe+1],le,ue)||0;$e=pe[qe++],xe=pe[qe++];break;case CMD$1.A:var hn=pe[qe++],vn=pe[qe++],_n=pe[qe++],bn=pe[qe++],Cn=pe[qe++],Sn=pe[qe++];qe+=1;var En=!!(1-pe[qe++]);ze=Math.cos(Cn)*_n+hn,Ue=Math.sin(Cn)*bn+vn,Lt?(Ie=ze,Ve=Ue):Ce+=windingLine($e,xe,ze,Ue,le,ue);var wn=(le-hn)*bn/_n+hn;if(ie){if(containStroke$1(hn,vn,bn,Cn,Cn+Sn,En,z,wn,ue))return!0}else Ce+=windingArc(hn,vn,bn,Cn,Cn+Sn,En,wn,ue);$e=Math.cos(Cn+Sn)*_n+hn,xe=Math.sin(Cn+Sn)*bn+vn;break;case CMD$1.R:Ie=$e=pe[qe++],Ve=xe=pe[qe++];var Tn=pe[qe++],kn=pe[qe++];if(ze=Ie+Tn,Ue=Ve+kn,ie){if(containStroke$4(Ie,Ve,ze,Ve,z,le,ue)||containStroke$4(ze,Ve,ze,Ue,z,le,ue)||containStroke$4(ze,Ue,Ie,Ue,z,le,ue)||containStroke$4(Ie,Ue,Ie,Ve,z,le,ue))return!0}else Ce+=windingLine(ze,Ve,ze,Ue,le,ue),Ce+=windingLine(Ie,Ue,Ie,Ve,le,ue);break;case CMD$1.Z:if(ie){if(containStroke$4($e,xe,Ie,Ve,z,le,ue))return!0}else Ce+=windingLine($e,xe,Ie,Ve,le,ue);$e=Ie,xe=Ve;break}}return!ie&&!isAroundEqual$1(xe,Ve)&&(Ce+=windingLine($e,xe,Ie,Ve,le,ue)||0),Ce!==0}function contain$2($,z,ie){return containPath($,0,!1,z,ie)}function containStroke($,z,ie,le){return containPath($,z,!0,ie,le)}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($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.update=function(){var ie=this;$.prototype.update.call(this);var le=this.style;if(le.decal){var ue=this._decalEl=this._decalEl||new z;ue.buildPath===z.prototype.buildPath&&(ue.buildPath=function($e){ie.buildPath($e,ie.shape)}),ue.silent=!0;var pe=ue.style;for(var _e in le)pe[_e]!==le[_e]&&(pe[_e]=le[_e]);pe.fill=le.fill?le.decal:null,pe.decal=null,pe.shadowColor=null,le.strokeFirst&&(pe.stroke=null);for(var Ce=0;Ce<pathCopyParams.length;++Ce)ue[pathCopyParams[Ce]]=this[pathCopyParams[Ce]];ue.__dirty|=REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},z.prototype.getDecalElement=function(){return this._decalEl},z.prototype._init=function(ie){var le=keys(ie);this.shape=this.getDefaultShape();var ue=this.getDefaultStyle();ue&&this.useStyle(ue);for(var pe=0;pe<le.length;pe++){var _e=le[pe],Ce=ie[_e];_e==="style"?this.style?extend(this.style,Ce):this.useStyle(Ce):_e==="shape"?extend(this.shape,Ce):$.prototype.attrKV.call(this,_e,Ce)}this.style||this.useStyle({})},z.prototype.getDefaultStyle=function(){return null},z.prototype.getDefaultShape=function(){return{}},z.prototype.canBeInsideText=function(){return this.hasFill()},z.prototype.getInsideTextFill=function(){var ie=this.style.fill;if(ie!=="none"){if(isString(ie)){var le=lum(ie,0);return le>.5?DARK_LABEL_COLOR:le>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(ie)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},z.prototype.getInsideTextStroke=function(ie){var le=this.style.fill;if(isString(le)){var ue=this.__zr,pe=!!(ue&&ue.isDarkMode()),_e=lum(ie,0)<DARK_MODE_THRESHOLD;if(pe===_e)return le}},z.prototype.buildPath=function(ie,le,ue){},z.prototype.pathUpdated=function(){this.__dirty&=~SHAPE_CHANGED_BIT},z.prototype.getUpdatedPathProxy=function(ie){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,ie),this.path},z.prototype.createPathProxy=function(){this.path=new PathProxy$1(!1)},z.prototype.hasStroke=function(){var ie=this.style,le=ie.stroke;return!(le==null||le==="none"||!(ie.lineWidth>0))},z.prototype.hasFill=function(){var ie=this.style,le=ie.fill;return le!=null&&le!=="none"},z.prototype.getBoundingRect=function(){var ie=this._rect,le=this.style,ue=!ie;if(ue){var pe=!1;this.path||(pe=!0,this.createPathProxy());var _e=this.path;(pe||this.__dirty&SHAPE_CHANGED_BIT)&&(_e.beginPath(),this.buildPath(_e,this.shape,!1),this.pathUpdated()),ie=_e.getBoundingRect()}if(this._rect=ie,this.hasStroke()&&this.path&&this.path.len()>0){var Ce=this._rectStroke||(this._rectStroke=ie.clone());if(this.__dirty||ue){Ce.copy(ie);var $e=le.strokeNoScale?this.getLineScale():1,xe=le.lineWidth;if(!this.hasFill()){var Ie=this.strokeContainThreshold;xe=Math.max(xe,Ie??4)}$e>1e-10&&(Ce.width+=xe/$e,Ce.height+=xe/$e,Ce.x-=xe/$e/2,Ce.y-=xe/$e/2)}return Ce}return ie},z.prototype.contain=function(ie,le){var ue=this.transformCoordToLocal(ie,le),pe=this.getBoundingRect(),_e=this.style;if(ie=ue[0],le=ue[1],pe.contain(ie,le)){var Ce=this.path;if(this.hasStroke()){var $e=_e.lineWidth,xe=_e.strokeNoScale?this.getLineScale():1;if(xe>1e-10&&(this.hasFill()||($e=Math.max($e,this.strokeContainThreshold)),containStroke(Ce,$e/xe,ie,le)))return!0}if(this.hasFill())return contain$2(Ce,ie,le)}return!1},z.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},z.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},z.prototype.animateShape=function(ie){return this.animate("shape",ie)},z.prototype.updateDuringAnimation=function(ie){ie==="style"?this.dirtyStyle():ie==="shape"?this.dirtyShape():this.markRedraw()},z.prototype.attrKV=function(ie,le){ie==="shape"?this.setShape(le):$.prototype.attrKV.call(this,ie,le)},z.prototype.setShape=function(ie,le){var ue=this.shape;return ue||(ue=this.shape={}),typeof ie=="string"?ue[ie]=le:extend(ue,ie),this.dirtyShape(),this},z.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},z.prototype.createStyle=function(ie){return createObject(DEFAULT_PATH_STYLE,ie)},z.prototype._innerSaveToNormal=function(ie){$.prototype._innerSaveToNormal.call(this,ie);var le=this._normalState;ie.shape&&!le.shape&&(le.shape=extend({},this.shape))},z.prototype._applyStateObj=function(ie,le,ue,pe,_e,Ce){$.prototype._applyStateObj.call(this,ie,le,ue,pe,_e,Ce);var $e=!(le&&pe),xe;if(le&&le.shape?_e?pe?xe=le.shape:(xe=extend({},ue.shape),extend(xe,le.shape)):(xe=extend({},pe?this.shape:ue.shape),extend(xe,le.shape)):$e&&(xe=ue.shape),xe)if(_e){this.shape=extend({},this.shape);for(var Ie={},Ve=keys(xe),ze=0;ze<Ve.length;ze++){var Ue=Ve[ze];typeof xe[Ue]=="object"?this.shape[Ue]=xe[Ue]:Ie[Ue]=xe[Ue]}this._transitionState(ie,{shape:Ie},Ce)}else this.shape=xe,this.dirtyShape()},z.prototype._mergeStates=function(ie){for(var le=$.prototype._mergeStates.call(this,ie),ue,pe=0;pe<ie.length;pe++){var _e=ie[pe];_e.shape&&(ue=ue||{},this._mergeStyle(ue,_e.shape))}return ue&&(le.shape=ue),le},z.prototype.getAnimationStyleProps=function(){return DEFAULT_PATH_ANIMATION_PROPS},z.prototype.isZeroArea=function(){return!1},z.extend=function(ie){var le=function(pe){__extends(_e,pe);function _e(Ce){var $e=pe.call(this,Ce)||this;return ie.init&&ie.init.call($e,Ce),$e}return _e.prototype.getDefaultStyle=function(){return clone$3(ie.style)},_e.prototype.getDefaultShape=function(){return clone$3(ie.shape)},_e}(z);for(var ue in ie)typeof ie[ue]=="function"&&(le.prototype[ue]=ie[ue]);return le},z.initDefaultProps=function(){var ie=z.prototype;ie.type="path",ie.strokeContainThreshold=5,ie.segmentIgnoreThreshold=0,ie.subPixelOptimize=!1,ie.autoBatch=!1,ie.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT|SHAPE_CHANGED_BIT}(),z}(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($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.hasStroke=function(){var ie=this.style,le=ie.stroke;return le!=null&&le!=="none"&&ie.lineWidth>0},z.prototype.hasFill=function(){var ie=this.style,le=ie.fill;return le!=null&&le!=="none"},z.prototype.createStyle=function(ie){return createObject(DEFAULT_TSPAN_STYLE,ie)},z.prototype.setBoundingRect=function(ie){this._rect=ie},z.prototype.getBoundingRect=function(){var ie=this.style;if(!this._rect){var le=ie.text;le!=null?le+="":le="";var ue=getBoundingRect(le,ie.font,ie.textAlign,ie.textBaseline);if(ue.x+=ie.x||0,ue.y+=ie.y||0,this.hasStroke()){var pe=ie.lineWidth;ue.x-=pe/2,ue.y-=pe/2,ue.width+=pe,ue.height+=pe}this._rect=ue}return this._rect},z.initDefaultProps=function(){var ie=z.prototype;ie.dirtyRectTolerance=10}(),z}(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($){return!!($&&typeof $!="string"&&$.width&&$.height)}var ZRImage=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.createStyle=function(ie){return createObject(DEFAULT_IMAGE_STYLE,ie)},z.prototype._getSize=function(ie){var le=this.style,ue=le[ie];if(ue!=null)return ue;var pe=isImageLike(le.image)?le.image:this.__image;if(!pe)return 0;var _e=ie==="width"?"height":"width",Ce=le[_e];return Ce==null?pe[ie]:pe[ie]/pe[_e]*Ce},z.prototype.getWidth=function(){return this._getSize("width")},z.prototype.getHeight=function(){return this._getSize("height")},z.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},z.prototype.getBoundingRect=function(){var ie=this.style;return this._rect||(this._rect=new BoundingRect$1(ie.x||0,ie.y||0,this.getWidth(),this.getHeight())),this._rect},z}(Displayable$1);ZRImage.prototype.type="image";const ZRImage$1=ZRImage;function buildPath$2($,z){var ie=z.x,le=z.y,ue=z.width,pe=z.height,_e=z.r,Ce,$e,xe,Ie;ue<0&&(ie=ie+ue,ue=-ue),pe<0&&(le=le+pe,pe=-pe),typeof _e=="number"?Ce=$e=xe=Ie=_e:_e instanceof Array?_e.length===1?Ce=$e=xe=Ie=_e[0]:_e.length===2?(Ce=xe=_e[0],$e=Ie=_e[1]):_e.length===3?(Ce=_e[0],$e=Ie=_e[1],xe=_e[2]):(Ce=_e[0],$e=_e[1],xe=_e[2],Ie=_e[3]):Ce=$e=xe=Ie=0;var Ve;Ce+$e>ue&&(Ve=Ce+$e,Ce*=ue/Ve,$e*=ue/Ve),xe+Ie>ue&&(Ve=xe+Ie,xe*=ue/Ve,Ie*=ue/Ve),$e+xe>pe&&(Ve=$e+xe,$e*=pe/Ve,xe*=pe/Ve),Ce+Ie>pe&&(Ve=Ce+Ie,Ce*=pe/Ve,Ie*=pe/Ve),$.moveTo(ie+Ce,le),$.lineTo(ie+ue-$e,le),$e!==0&&$.arc(ie+ue-$e,le+$e,$e,-Math.PI/2,0),$.lineTo(ie+ue,le+pe-xe),xe!==0&&$.arc(ie+ue-xe,le+pe-xe,xe,0,Math.PI/2),$.lineTo(ie+Ie,le+pe),Ie!==0&&$.arc(ie+Ie,le+pe-Ie,Ie,Math.PI/2,Math.PI),$.lineTo(ie,le+Ce),Ce!==0&&$.arc(ie+Ce,le+Ce,Ce,Math.PI,Math.PI*1.5)}var round=Math.round;function subPixelOptimizeLine$1($,z,ie){if(z){var le=z.x1,ue=z.x2,pe=z.y1,_e=z.y2;$.x1=le,$.x2=ue,$.y1=pe,$.y2=_e;var Ce=ie&&ie.lineWidth;return Ce&&(round(le*2)===round(ue*2)&&($.x1=$.x2=subPixelOptimize$1(le,Ce,!0)),round(pe*2)===round(_e*2)&&($.y1=$.y2=subPixelOptimize$1(pe,Ce,!0))),$}}function subPixelOptimizeRect$1($,z,ie){if(z){var le=z.x,ue=z.y,pe=z.width,_e=z.height;$.x=le,$.y=ue,$.width=pe,$.height=_e;var Ce=ie&&ie.lineWidth;return Ce&&($.x=subPixelOptimize$1(le,Ce,!0),$.y=subPixelOptimize$1(ue,Ce,!0),$.width=Math.max(subPixelOptimize$1(le+pe,Ce,!1)-$.x,pe===0?0:1),$.height=Math.max(subPixelOptimize$1(ue+_e,Ce,!1)-$.y,_e===0?0:1)),$}}function subPixelOptimize$1($,z,ie){if(!z)return $;var le=round($*2);return(le+round(z))%2===0?le/2:(le+(ie?1:-1))/2}var RectShape=function(){function $(){this.x=0,this.y=0,this.width=0,this.height=0}return $}(),subPixelOptimizeOutputShape$1={},Rect$1=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultShape=function(){return new RectShape},z.prototype.buildPath=function(ie,le){var ue,pe,_e,Ce;if(this.subPixelOptimize){var $e=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,le,this.style);ue=$e.x,pe=$e.y,_e=$e.width,Ce=$e.height,$e.r=le.r,le=$e}else ue=le.x,pe=le.y,_e=le.width,Ce=le.height;le.r?buildPath$2(ie,le):ie.rect(ue,pe,_e,Ce)},z.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},z}(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($){__extends(z,$);function z(ie){var le=$.call(this)||this;return le.type="text",le._children=[],le._defaultStyle=DEFAULT_RICH_TEXT_COLOR,le.attr(ie),le}return z.prototype.childrenRef=function(){return this._children},z.prototype.update=function(){$.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var ie=0;ie<this._children.length;ie++){var le=this._children[ie];le.zlevel=this.zlevel,le.z=this.z,le.z2=this.z2,le.culling=this.culling,le.cursor=this.cursor,le.invisible=this.invisible}},z.prototype.updateTransform=function(){var ie=this.innerTransformable;ie?(ie.updateTransform(),ie.transform&&(this.transform=ie.transform)):$.prototype.updateTransform.call(this)},z.prototype.getLocalTransform=function(ie){var le=this.innerTransformable;return le?le.getLocalTransform(ie):$.prototype.getLocalTransform.call(this,ie)},z.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),$.prototype.getComputedTransform.call(this)},z.prototype._updateSubTexts=function(){this._childCursor=0,normalizeTextStyle(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},z.prototype.addSelfToZr=function(ie){$.prototype.addSelfToZr.call(this,ie);for(var le=0;le<this._children.length;le++)this._children[le].__zr=ie},z.prototype.removeSelfFromZr=function(ie){$.prototype.removeSelfFromZr.call(this,ie);for(var le=0;le<this._children.length;le++)this._children[le].__zr=null},z.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var ie=new BoundingRect$1(0,0,0,0),le=this._children,ue=[],pe=null,_e=0;_e<le.length;_e++){var Ce=le[_e],$e=Ce.getBoundingRect(),xe=Ce.getLocalTransform(ue);xe?(ie.copy($e),ie.applyTransform(xe),pe=pe||ie.clone(),pe.union(ie)):(pe=pe||$e.clone(),pe.union($e))}this._rect=pe||ie}return this._rect},z.prototype.setDefaultTextStyle=function(ie){this._defaultStyle=ie||DEFAULT_RICH_TEXT_COLOR},z.prototype.setTextContent=function(ie){},z.prototype._mergeStyle=function(ie,le){if(!le)return ie;var ue=le.rich,pe=ie.rich||ue&&{};return extend(ie,le),ue&&pe?(this._mergeRich(pe,ue),ie.rich=pe):pe&&(ie.rich=pe),ie},z.prototype._mergeRich=function(ie,le){for(var ue=keys(le),pe=0;pe<ue.length;pe++){var _e=ue[pe];ie[_e]=ie[_e]||{},extend(ie[_e],le[_e])}},z.prototype.getAnimationStyleProps=function(){return DEFAULT_TEXT_ANIMATION_PROPS},z.prototype._getOrCreateChild=function(ie){var le=this._children[this._childCursor];return(!le||!(le instanceof ie))&&(le=new ie),this._children[this._childCursor++]=le,le.__zr=this.__zr,le.parent=this,le},z.prototype._updatePlainTexts=function(){var ie=this.style,le=ie.font||DEFAULT_FONT,ue=ie.padding,pe=getStyleText(ie),_e=parsePlainText(pe,ie),Ce=needDrawBackground(ie),$e=!!ie.backgroundColor,xe=_e.outerHeight,Ie=_e.outerWidth,Ve=_e.contentWidth,ze=_e.lines,Ue=_e.lineHeight,qe=this._defaultStyle,Et=ie.x||0,Lt=ie.y||0,hn=ie.align||qe.align||"left",vn=ie.verticalAlign||qe.verticalAlign||"top",_n=Et,bn=adjustTextY(Lt,_e.contentHeight,vn);if(Ce||ue){var Cn=adjustTextX(Et,Ie,hn),Sn=adjustTextY(Lt,xe,vn);Ce&&this._renderBackground(ie,ie,Cn,Sn,Ie,xe)}bn+=Ue/2,ue&&(_n=getTextXForPadding(Et,hn,ue),vn==="top"?bn+=ue[0]:vn==="bottom"&&(bn-=ue[2]));for(var En=0,wn=!1,Tn=getFill("fill"in ie?ie.fill:(wn=!0,qe.fill)),kn=getStroke("stroke"in ie?ie.stroke:!$e&&(!qe.autoStroke||wn)?(En=DEFAULT_STROKE_LINE_WIDTH,qe.stroke):null),xn=ie.textShadowBlur>0,Pn=ie.width!=null&&(ie.overflow==="truncate"||ie.overflow==="break"||ie.overflow==="breakAll"),An=_e.calculatedLineHeight,In=0;In<ze.length;In++){var Fn=this._getOrCreateChild(TSpan$1),Dn=Fn.createStyle();Fn.useStyle(Dn),Dn.text=ze[In],Dn.x=_n,Dn.y=bn,hn&&(Dn.textAlign=hn),Dn.textBaseline="middle",Dn.opacity=ie.opacity,Dn.strokeFirst=!0,xn&&(Dn.shadowBlur=ie.textShadowBlur||0,Dn.shadowColor=ie.textShadowColor||"transparent",Dn.shadowOffsetX=ie.textShadowOffsetX||0,Dn.shadowOffsetY=ie.textShadowOffsetY||0),Dn.stroke=kn,Dn.fill=Tn,kn&&(Dn.lineWidth=ie.lineWidth||En,Dn.lineDash=ie.lineDash,Dn.lineDashOffset=ie.lineDashOffset||0),Dn.font=le,setSeparateFont(Dn,ie),bn+=Ue,Pn&&Fn.setBoundingRect(new BoundingRect$1(adjustTextX(Dn.x,ie.width,Dn.textAlign),adjustTextY(Dn.y,An,Dn.textBaseline),Ve,An))}},z.prototype._updateRichTexts=function(){var ie=this.style,le=getStyleText(ie),ue=parseRichText(le,ie),pe=ue.width,_e=ue.outerWidth,Ce=ue.outerHeight,$e=ie.padding,xe=ie.x||0,Ie=ie.y||0,Ve=this._defaultStyle,ze=ie.align||Ve.align,Ue=ie.verticalAlign||Ve.verticalAlign,qe=adjustTextX(xe,_e,ze),Et=adjustTextY(Ie,Ce,Ue),Lt=qe,hn=Et;$e&&(Lt+=$e[3],hn+=$e[0]);var vn=Lt+pe;needDrawBackground(ie)&&this._renderBackground(ie,ie,qe,Et,_e,Ce);for(var _n=!!ie.backgroundColor,bn=0;bn<ue.lines.length;bn++){for(var Cn=ue.lines[bn],Sn=Cn.tokens,En=Sn.length,wn=Cn.lineHeight,Tn=Cn.width,kn=0,xn=Lt,Pn=vn,An=En-1,In=void 0;kn<En&&(In=Sn[kn],!In.align||In.align==="left");)this._placeToken(In,ie,wn,hn,xn,"left",_n),Tn-=In.width,xn+=In.width,kn++;for(;An>=0&&(In=Sn[An],In.align==="right");)this._placeToken(In,ie,wn,hn,Pn,"right",_n),Tn-=In.width,Pn-=In.width,An--;for(xn+=(pe-(xn-Lt)-(vn-Pn)-Tn)/2;kn<=An;)In=Sn[kn],this._placeToken(In,ie,wn,hn,xn+In.width/2,"center",_n),xn+=In.width,kn++;hn+=wn}},z.prototype._placeToken=function(ie,le,ue,pe,_e,Ce,$e){var xe=le.rich[ie.styleName]||{};xe.text=ie.text;var Ie=ie.verticalAlign,Ve=pe+ue/2;Ie==="top"?Ve=pe+ie.height/2:Ie==="bottom"&&(Ve=pe+ue-ie.height/2);var ze=!ie.isLineHolder&&needDrawBackground(xe);ze&&this._renderBackground(xe,le,Ce==="right"?_e-ie.width:Ce==="center"?_e-ie.width/2:_e,Ve-ie.height/2,ie.width,ie.height);var Ue=!!xe.backgroundColor,qe=ie.textPadding;qe&&(_e=getTextXForPadding(_e,Ce,qe),Ve-=ie.height/2-qe[0]-ie.innerHeight/2);var Et=this._getOrCreateChild(TSpan$1),Lt=Et.createStyle();Et.useStyle(Lt);var hn=this._defaultStyle,vn=!1,_n=0,bn=getFill("fill"in xe?xe.fill:"fill"in le?le.fill:(vn=!0,hn.fill)),Cn=getStroke("stroke"in xe?xe.stroke:"stroke"in le?le.stroke:!Ue&&!$e&&(!hn.autoStroke||vn)?(_n=DEFAULT_STROKE_LINE_WIDTH,hn.stroke):null),Sn=xe.textShadowBlur>0||le.textShadowBlur>0;Lt.text=ie.text,Lt.x=_e,Lt.y=Ve,Sn&&(Lt.shadowBlur=xe.textShadowBlur||le.textShadowBlur||0,Lt.shadowColor=xe.textShadowColor||le.textShadowColor||"transparent",Lt.shadowOffsetX=xe.textShadowOffsetX||le.textShadowOffsetX||0,Lt.shadowOffsetY=xe.textShadowOffsetY||le.textShadowOffsetY||0),Lt.textAlign=Ce,Lt.textBaseline="middle",Lt.font=ie.font||DEFAULT_FONT,Lt.opacity=retrieve3(xe.opacity,le.opacity,1),setSeparateFont(Lt,xe),Cn&&(Lt.lineWidth=retrieve3(xe.lineWidth,le.lineWidth,_n),Lt.lineDash=retrieve2(xe.lineDash,le.lineDash),Lt.lineDashOffset=le.lineDashOffset||0,Lt.stroke=Cn),bn&&(Lt.fill=bn);var En=ie.contentWidth,wn=ie.contentHeight;Et.setBoundingRect(new BoundingRect$1(adjustTextX(Lt.x,En,Lt.textAlign),adjustTextY(Lt.y,wn,Lt.textBaseline),En,wn))},z.prototype._renderBackground=function(ie,le,ue,pe,_e,Ce){var $e=ie.backgroundColor,xe=ie.borderWidth,Ie=ie.borderColor,Ve=$e&&$e.image,ze=$e&&!Ve,Ue=ie.borderRadius,qe=this,Et,Lt;if(ze||ie.lineHeight||xe&&Ie){Et=this._getOrCreateChild(Rect$2),Et.useStyle(Et.createStyle()),Et.style.fill=null;var hn=Et.shape;hn.x=ue,hn.y=pe,hn.width=_e,hn.height=Ce,hn.r=Ue,Et.dirtyShape()}if(ze){var vn=Et.style;vn.fill=$e||null,vn.fillOpacity=retrieve2(ie.fillOpacity,1)}else if(Ve){Lt=this._getOrCreateChild(ZRImage$1),Lt.onload=function(){qe.dirtyStyle()};var _n=Lt.style;_n.image=$e.image,_n.x=ue,_n.y=pe,_n.width=_e,_n.height=Ce}if(xe&&Ie){var vn=Et.style;vn.lineWidth=xe,vn.stroke=Ie,vn.strokeOpacity=retrieve2(ie.strokeOpacity,1),vn.lineDash=ie.borderDash,vn.lineDashOffset=ie.borderDashOffset||0,Et.strokeContainThreshold=0,Et.hasFill()&&Et.hasStroke()&&(vn.strokeFirst=!0,vn.lineWidth*=2)}var bn=(Et||Lt).style;bn.shadowBlur=ie.shadowBlur||0,bn.shadowColor=ie.shadowColor||"transparent",bn.shadowOffsetX=ie.shadowOffsetX||0,bn.shadowOffsetY=ie.shadowOffsetY||0,bn.opacity=retrieve3(ie.opacity,le.opacity,1)},z.makeFont=function(ie){var le="";return hasSeparateFont(ie)&&(le=[ie.fontStyle,ie.fontWeight,parseFontSize(ie.fontSize),ie.fontFamily||"sans-serif"].join(" ")),le&&trim$1(le)||ie.textFont||ie.font},z}(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($){return typeof $=="string"&&($.indexOf("px")!==-1||$.indexOf("rem")!==-1||$.indexOf("em")!==-1)?$:isNaN(+$)?DEFAULT_FONT_SIZE+"px":$+"px"}function setSeparateFont($,z){for(var ie=0;ie<FONT_PARTS.length;ie++){var le=FONT_PARTS[ie],ue=z[le];ue!=null&&($[le]=ue)}}function hasSeparateFont($){return $.fontSize!=null||$.fontFamily||$.fontWeight}function normalizeTextStyle($){return normalizeStyle($),each$c($.rich,normalizeStyle),$}function normalizeStyle($){if($){$.font=ZRText.makeFont($);var z=$.align;z==="middle"&&(z="center"),$.align=z==null||VALID_TEXT_ALIGN[z]?z:"left";var ie=$.verticalAlign;ie==="center"&&(ie="middle"),$.verticalAlign=ie==null||VALID_TEXT_VERTICAL_ALIGN[ie]?ie:"top";var le=$.padding;le&&($.padding=normalizeCssArray$1($.padding))}}function getStroke($,z){return $==null||z<=0||$==="transparent"||$==="none"?null:$.image||$.colorStops?"#000":$}function getFill($){return $==null||$==="none"?null:$.image||$.colorStops?"#000":$}function getTextXForPadding($,z,ie){return z==="right"?$-ie[1]:z==="center"?$+ie[3]/2-ie[1]/2:$+ie[3]}function getStyleText($){var z=$.text;return z!=null&&(z+=""),z}function needDrawBackground($){return!!($.backgroundColor||$.lineHeight||$.borderWidth&&$.borderColor)}const ZRText$1=ZRText;var getECData=makeInner(),setCommonECData=function($,z,ie,le){if(le){var ue=getECData(le);ue.dataIndex=ie,ue.dataType=z,ue.seriesIndex=$,le.type==="group"&&le.traverse(function(pe){var _e=getECData(pe);_e.seriesIndex=$,_e.dataIndex=ie,_e.dataType=z})}},_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($){return $!=null&&$!=="none"}var liftedColorCache=new LRU$1(100);function liftColor($){if(isString($)){var z=liftedColorCache.get($);return z||(z=lift($,-.1),liftedColorCache.put($,z)),z}else if(isGradientObject($)){var ie=extend({},$);return ie.colorStops=map$2($.colorStops,function(le){return{offset:le.offset,color:lift(le.color,-.1)}}),ie}return $}function doChangeHoverState($,z,ie){$.onHoverStateChange&&($.hoverState||0)!==ie&&$.onHoverStateChange(z),$.hoverState=ie}function singleEnterEmphasis($){doChangeHoverState($,"emphasis",HOVER_STATE_EMPHASIS)}function singleLeaveEmphasis($){$.hoverState===HOVER_STATE_EMPHASIS&&doChangeHoverState($,"normal",HOVER_STATE_NORMAL)}function singleEnterBlur($){doChangeHoverState($,"blur",HOVER_STATE_BLUR)}function singleLeaveBlur($){$.hoverState===HOVER_STATE_BLUR&&doChangeHoverState($,"normal",HOVER_STATE_NORMAL)}function singleEnterSelect($){$.selected=!0}function singleLeaveSelect($){$.selected=!1}function updateElementState($,z,ie){z($,ie)}function traverseUpdateState($,z,ie){updateElementState($,z,ie),$.isGroup&&$.traverse(function(le){updateElementState(le,z,ie)})}function setStatesFlag($,z){switch(z){case"emphasis":$.hoverState=HOVER_STATE_EMPHASIS;break;case"normal":$.hoverState=HOVER_STATE_NORMAL;break;case"blur":$.hoverState=HOVER_STATE_BLUR;break;case"select":$.selected=!0}}function getFromStateStyle($,z,ie,le){for(var ue=$.style,pe={},_e=0;_e<z.length;_e++){var Ce=z[_e],$e=ue[Ce];pe[Ce]=$e??(le&&le[Ce])}for(var _e=0;_e<$.animators.length;_e++){var xe=$.animators[_e];xe.__fromStateTransition&&xe.__fromStateTransition.indexOf(ie)<0&&xe.targetName==="style"&&xe.saveTo(pe,z)}return pe}function createEmphasisDefaultState($,z,ie,le){var ue=ie&&indexOf(ie,"select")>=0,pe=!1;if($ instanceof Path$1){var _e=getSavedStates($),Ce=ue&&_e.selectFill||_e.normalFill,$e=ue&&_e.selectStroke||_e.normalStroke;if(hasFillOrStroke(Ce)||hasFillOrStroke($e)){le=le||{};var xe=le.style||{};xe.fill==="inherit"?(pe=!0,le=extend({},le),xe=extend({},xe),xe.fill=Ce):!hasFillOrStroke(xe.fill)&&hasFillOrStroke(Ce)?(pe=!0,le=extend({},le),xe=extend({},xe),xe.fill=liftColor(Ce)):!hasFillOrStroke(xe.stroke)&&hasFillOrStroke($e)&&(pe||(le=extend({},le),xe=extend({},xe)),xe.stroke=liftColor($e)),le.style=xe}}if(le&&le.z2==null){pe||(le=extend({},le));var Ie=$.z2EmphasisLift;le.z2=$.z2+(Ie??Z2_EMPHASIS_LIFT)}return le}function createSelectDefaultState($,z,ie){if(ie&&ie.z2==null){ie=extend({},ie);var le=$.z2SelectLift;ie.z2=$.z2+(le??Z2_SELECT_LIFT)}return ie}function createBlurDefaultState($,z,ie){var le=indexOf($.currentStates,z)>=0,ue=$.style.opacity,pe=le?null:getFromStateStyle($,["opacity"],z,{opacity:1});ie=ie||{};var _e=ie.style||{};return _e.opacity==null&&(ie=extend({},ie),_e=extend({opacity:le?ue:pe.opacity*.1},_e),ie.style=_e),ie}function elementStateProxy($,z){var ie=this.states[$];if(this.style){if($==="emphasis")return createEmphasisDefaultState(this,$,z,ie);if($==="blur")return createBlurDefaultState(this,$,ie);if($==="select")return createSelectDefaultState(this,$,ie)}return ie}function setDefaultStateProxy($){$.stateProxy=elementStateProxy;var z=$.getTextContent(),ie=$.getTextGuideLine();z&&(z.stateProxy=elementStateProxy),ie&&(ie.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver($,z){!shouldSilent($,z)&&!$.__highByOuter&&traverseUpdateState($,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut($,z){!shouldSilent($,z)&&!$.__highByOuter&&traverseUpdateState($,singleLeaveEmphasis)}function enterEmphasis($,z){$.__highByOuter|=1<<(z||0),traverseUpdateState($,singleEnterEmphasis)}function leaveEmphasis($,z){!($.__highByOuter&=~(1<<(z||0)))&&traverseUpdateState($,singleLeaveEmphasis)}function enterBlur($){traverseUpdateState($,singleEnterBlur)}function leaveBlur($){traverseUpdateState($,singleLeaveBlur)}function enterSelect($){traverseUpdateState($,singleEnterSelect)}function leaveSelect($){traverseUpdateState($,singleLeaveSelect)}function shouldSilent($,z){return $.__highDownSilentOnTouch&&z.zrByTouch}function allLeaveBlur($){var z=$.getModel(),ie=[],le=[];z.eachComponent(function(ue,pe){var _e=getComponentStates(pe),Ce=ue==="series",$e=Ce?$.getViewOfSeriesModel(pe):$.getViewOfComponentModel(pe);!Ce&&le.push($e),_e.isBlured&&($e.group.traverse(function(xe){singleLeaveBlur(xe)}),Ce&&ie.push(pe)),_e.isBlured=!1}),each$c(le,function(ue){ue&&ue.toggleBlurSeries&&ue.toggleBlurSeries(ie,!1,z)})}function blurSeries($,z,ie,le){var ue=le.getModel();ie=ie||"coordinateSystem";function pe(xe,Ie){for(var Ve=0;Ve<Ie.length;Ve++){var ze=xe.getItemGraphicEl(Ie[Ve]);ze&&leaveBlur(ze)}}if($!=null&&!(!z||z==="none")){var _e=ue.getSeriesByIndex($),Ce=_e.coordinateSystem;Ce&&Ce.master&&(Ce=Ce.master);var $e=[];ue.eachSeries(function(xe){var Ie=_e===xe,Ve=xe.coordinateSystem;Ve&&Ve.master&&(Ve=Ve.master);var ze=Ve&&Ce?Ve===Ce:Ie;if(!(ie==="series"&&!Ie||ie==="coordinateSystem"&&!ze||z==="series"&&Ie)){var Ue=le.getViewOfSeriesModel(xe);if(Ue.group.traverse(function(Lt){singleEnterBlur(Lt)}),isArrayLike(z))pe(xe.getData(),z);else if(isObject$3(z))for(var qe=keys(z),Et=0;Et<qe.length;Et++)pe(xe.getData(qe[Et]),z[qe[Et]]);$e.push(xe),getComponentStates(xe).isBlured=!0}}),ue.eachComponent(function(xe,Ie){if(xe!=="series"){var Ve=le.getViewOfComponentModel(Ie);Ve&&Ve.toggleBlurSeries&&Ve.toggleBlurSeries($e,!0,ue)}})}}function blurComponent($,z,ie){if(!($==null||z==null)){var le=ie.getModel().getComponent($,z);if(le){getComponentStates(le).isBlured=!0;var ue=ie.getViewOfComponentModel(le);!ue||!ue.focusBlurEnabled||ue.group.traverse(function(pe){singleEnterBlur(pe)})}}}function blurSeriesFromHighlightPayload($,z,ie){var le=$.seriesIndex,ue=$.getData(z.dataType);if(ue){var pe=queryDataIndex(ue,z);pe=(isArray$1(pe)?pe[0]:pe)||0;var _e=ue.getItemGraphicEl(pe);if(!_e)for(var Ce=ue.count(),$e=0;!_e&&$e<Ce;)_e=ue.getItemGraphicEl($e++);if(_e){var xe=getECData(_e);blurSeries(le,xe.focus,xe.blurScope,ie)}else{var Ie=$.get(["emphasis","focus"]),Ve=$.get(["emphasis","blurScope"]);Ie!=null&&blurSeries(le,Ie,Ve,ie)}}}function findComponentHighDownDispatchers($,z,ie,le){var ue={focusSelf:!1,dispatchers:null};if($==null||$==="series"||z==null||ie==null)return ue;var pe=le.getModel().getComponent($,z);if(!pe)return ue;var _e=le.getViewOfComponentModel(pe);if(!_e||!_e.findHighDownDispatchers)return ue;for(var Ce=_e.findHighDownDispatchers(ie),$e,xe=0;xe<Ce.length;xe++)if(getECData(Ce[xe]).focus==="self"){$e=!0;break}return{focusSelf:$e,dispatchers:Ce}}function handleGlobalMouseOverForHighDown($,z,ie){var le=getECData($),ue=findComponentHighDownDispatchers(le.componentMainType,le.componentIndex,le.componentHighDownName,ie),pe=ue.dispatchers,_e=ue.focusSelf;pe?(_e&&blurComponent(le.componentMainType,le.componentIndex,ie),each$c(pe,function(Ce){return enterEmphasisWhenMouseOver(Ce,z)})):(blurSeries(le.seriesIndex,le.focus,le.blurScope,ie),le.focus==="self"&&blurComponent(le.componentMainType,le.componentIndex,ie),enterEmphasisWhenMouseOver($,z))}function handleGlobalMouseOutForHighDown($,z,ie){allLeaveBlur(ie);var le=getECData($),ue=findComponentHighDownDispatchers(le.componentMainType,le.componentIndex,le.componentHighDownName,ie).dispatchers;ue?each$c(ue,function(pe){return leaveEmphasisWhenMouseOut(pe,z)}):leaveEmphasisWhenMouseOut($,z)}function toggleSelectionFromPayload($,z,ie){if(isSelectChangePayload(z)){var le=z.dataType,ue=$.getData(le),pe=queryDataIndex(ue,z);isArray$1(pe)||(pe=[pe]),$[z.type===TOGGLE_SELECT_ACTION_TYPE?"toggleSelect":z.type===SELECT_ACTION_TYPE?"select":"unselect"](pe,le)}}function updateSeriesElementSelection($){var z=$.getAllData();each$c(z,function(ie){var le=ie.data,ue=ie.type;le.eachItemGraphicEl(function(pe,_e){$.isSelected(_e,ue)?enterSelect(pe):leaveSelect(pe)})})}function getAllSelectedIndices($){var z=[];return $.eachSeries(function(ie){var le=ie.getAllData();each$c(le,function(ue){ue.data;var pe=ue.type,_e=ie.getSelectedDataIndices();if(_e.length>0){var Ce={dataIndex:_e,seriesIndex:ie.seriesIndex};pe!=null&&(Ce.dataType=pe),z.push(Ce)}})}),z}function enableHoverEmphasis($,z,ie){setAsHighDownDispatcher($,!0),traverseUpdateState($,setDefaultStateProxy),enableHoverFocus($,z,ie)}function disableHoverEmphasis($){setAsHighDownDispatcher($,!1)}function toggleHoverEmphasis($,z,ie,le){le?disableHoverEmphasis($):enableHoverEmphasis($,z,ie)}function enableHoverFocus($,z,ie){var le=getECData($);z!=null?(le.focus=z,le.blurScope=ie):le.focus&&(le.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel($,z,ie,le){ie=ie||"itemStyle";for(var ue=0;ue<OTHER_STATES.length;ue++){var pe=OTHER_STATES[ue],_e=z.getModel([pe,ie]),Ce=$.ensureState(pe);Ce.style=le?le(_e):_e[defaultStyleGetterMap[ie]]()}}function setAsHighDownDispatcher($,z){var ie=z===!1,le=$;$.highDownSilentOnTouch&&(le.__highDownSilentOnTouch=$.highDownSilentOnTouch),(!ie||le.__highDownDispatcher)&&(le.__highByOuter=le.__highByOuter||0,le.__highDownDispatcher=!ie)}function isHighDownDispatcher($){return!!($&&$.__highDownDispatcher)}function getHighlightDigit($){var z=_highlightKeyMap[$];return z==null&&_highlightNextDigit<=32&&(z=_highlightKeyMap[$]=_highlightNextDigit++),z}function isSelectChangePayload($){var z=$.type;return z===SELECT_ACTION_TYPE||z===UNSELECT_ACTION_TYPE||z===TOGGLE_SELECT_ACTION_TYPE}function isHighDownPayload($){var z=$.type;return z===HIGHLIGHT_ACTION_TYPE||z===DOWNPLAY_ACTION_TYPE}function savePathStates($){var z=getSavedStates($);z.normalFill=$.style.fill,z.normalStroke=$.style.stroke;var ie=$.states.select||{};z.selectFill=ie.style&&ie.style.fill||null,z.selectStroke=ie.style&&ie.style.stroke||null}var CMD=PathProxy$1.CMD,points=[[],[],[]],mathSqrt$2=Math.sqrt,mathAtan2=Math.atan2;function transformPath($,z){if(z){var ie=$.data,le=$.len(),ue,pe,_e,Ce,$e,xe,Ie=CMD.M,Ve=CMD.C,ze=CMD.L,Ue=CMD.R,qe=CMD.A,Et=CMD.Q;for(_e=0,Ce=0;_e<le;){switch(ue=ie[_e++],Ce=_e,pe=0,ue){case Ie:pe=1;break;case ze:pe=1;break;case Ve:pe=3;break;case Et:pe=2;break;case qe:var Lt=z[4],hn=z[5],vn=mathSqrt$2(z[0]*z[0]+z[1]*z[1]),_n=mathSqrt$2(z[2]*z[2]+z[3]*z[3]),bn=mathAtan2(-z[1]/_n,z[0]/vn);ie[_e]*=vn,ie[_e++]+=Lt,ie[_e]*=_n,ie[_e++]+=hn,ie[_e++]*=vn,ie[_e++]*=_n,ie[_e++]+=bn,ie[_e++]+=bn,_e+=2,Ce=_e;break;case Ue:xe[0]=ie[_e++],xe[1]=ie[_e++],applyTransform$1(xe,xe,z),ie[Ce++]=xe[0],ie[Ce++]=xe[1],xe[0]+=ie[_e++],xe[1]+=ie[_e++],applyTransform$1(xe,xe,z),ie[Ce++]=xe[0],ie[Ce++]=xe[1]}for($e=0;$e<pe;$e++){var Cn=points[$e];Cn[0]=ie[_e++],Cn[1]=ie[_e++],applyTransform$1(Cn,Cn,z),ie[Ce++]=Cn[0],ie[Ce++]=Cn[1]}}$.increaseVersion()}}var mathSqrt$1=Math.sqrt,mathSin$1=Math.sin,mathCos$1=Math.cos,PI$3=Math.PI;function vMag($){return Math.sqrt($[0]*$[0]+$[1]*$[1])}function vRatio($,z){return($[0]*z[0]+$[1]*z[1])/(vMag($)*vMag(z))}function vAngle($,z){return($[0]*z[1]<$[1]*z[0]?-1:1)*Math.acos(vRatio($,z))}function processArc($,z,ie,le,ue,pe,_e,Ce,$e,xe,Ie){var Ve=$e*(PI$3/180),ze=mathCos$1(Ve)*($-ie)/2+mathSin$1(Ve)*(z-le)/2,Ue=-1*mathSin$1(Ve)*($-ie)/2+mathCos$1(Ve)*(z-le)/2,qe=ze*ze/(_e*_e)+Ue*Ue/(Ce*Ce);qe>1&&(_e*=mathSqrt$1(qe),Ce*=mathSqrt$1(qe));var Et=(ue===pe?-1:1)*mathSqrt$1((_e*_e*(Ce*Ce)-_e*_e*(Ue*Ue)-Ce*Ce*(ze*ze))/(_e*_e*(Ue*Ue)+Ce*Ce*(ze*ze)))||0,Lt=Et*_e*Ue/Ce,hn=Et*-Ce*ze/_e,vn=($+ie)/2+mathCos$1(Ve)*Lt-mathSin$1(Ve)*hn,_n=(z+le)/2+mathSin$1(Ve)*Lt+mathCos$1(Ve)*hn,bn=vAngle([1,0],[(ze-Lt)/_e,(Ue-hn)/Ce]),Cn=[(ze-Lt)/_e,(Ue-hn)/Ce],Sn=[(-1*ze-Lt)/_e,(-1*Ue-hn)/Ce],En=vAngle(Cn,Sn);if(vRatio(Cn,Sn)<=-1&&(En=PI$3),vRatio(Cn,Sn)>=1&&(En=0),En<0){var wn=Math.round(En/PI$3*1e6)/1e6;En=PI$3*2+wn%2*PI$3}Ie.addData(xe,vn,_n,_e,Ce,bn,En,Ve,pe)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString($){var z=new PathProxy$1;if(!$)return z;var ie=0,le=0,ue=ie,pe=le,_e,Ce=PathProxy$1.CMD,$e=$.match(commandReg);if(!$e)return z;for(var xe=0;xe<$e.length;xe++){for(var Ie=$e[xe],Ve=Ie.charAt(0),ze=void 0,Ue=Ie.match(numberReg)||[],qe=Ue.length,Et=0;Et<qe;Et++)Ue[Et]=parseFloat(Ue[Et]);for(var Lt=0;Lt<qe;){var hn=void 0,vn=void 0,_n=void 0,bn=void 0,Cn=void 0,Sn=void 0,En=void 0,wn=ie,Tn=le,kn=void 0,xn=void 0;switch(Ve){case"l":ie+=Ue[Lt++],le+=Ue[Lt++],ze=Ce.L,z.addData(ze,ie,le);break;case"L":ie=Ue[Lt++],le=Ue[Lt++],ze=Ce.L,z.addData(ze,ie,le);break;case"m":ie+=Ue[Lt++],le+=Ue[Lt++],ze=Ce.M,z.addData(ze,ie,le),ue=ie,pe=le,Ve="l";break;case"M":ie=Ue[Lt++],le=Ue[Lt++],ze=Ce.M,z.addData(ze,ie,le),ue=ie,pe=le,Ve="L";break;case"h":ie+=Ue[Lt++],ze=Ce.L,z.addData(ze,ie,le);break;case"H":ie=Ue[Lt++],ze=Ce.L,z.addData(ze,ie,le);break;case"v":le+=Ue[Lt++],ze=Ce.L,z.addData(ze,ie,le);break;case"V":le=Ue[Lt++],ze=Ce.L,z.addData(ze,ie,le);break;case"C":ze=Ce.C,z.addData(ze,Ue[Lt++],Ue[Lt++],Ue[Lt++],Ue[Lt++],Ue[Lt++],Ue[Lt++]),ie=Ue[Lt-2],le=Ue[Lt-1];break;case"c":ze=Ce.C,z.addData(ze,Ue[Lt++]+ie,Ue[Lt++]+le,Ue[Lt++]+ie,Ue[Lt++]+le,Ue[Lt++]+ie,Ue[Lt++]+le),ie+=Ue[Lt-2],le+=Ue[Lt-1];break;case"S":hn=ie,vn=le,kn=z.len(),xn=z.data,_e===Ce.C&&(hn+=ie-xn[kn-4],vn+=le-xn[kn-3]),ze=Ce.C,wn=Ue[Lt++],Tn=Ue[Lt++],ie=Ue[Lt++],le=Ue[Lt++],z.addData(ze,hn,vn,wn,Tn,ie,le);break;case"s":hn=ie,vn=le,kn=z.len(),xn=z.data,_e===Ce.C&&(hn+=ie-xn[kn-4],vn+=le-xn[kn-3]),ze=Ce.C,wn=ie+Ue[Lt++],Tn=le+Ue[Lt++],ie+=Ue[Lt++],le+=Ue[Lt++],z.addData(ze,hn,vn,wn,Tn,ie,le);break;case"Q":wn=Ue[Lt++],Tn=Ue[Lt++],ie=Ue[Lt++],le=Ue[Lt++],ze=Ce.Q,z.addData(ze,wn,Tn,ie,le);break;case"q":wn=Ue[Lt++]+ie,Tn=Ue[Lt++]+le,ie+=Ue[Lt++],le+=Ue[Lt++],ze=Ce.Q,z.addData(ze,wn,Tn,ie,le);break;case"T":hn=ie,vn=le,kn=z.len(),xn=z.data,_e===Ce.Q&&(hn+=ie-xn[kn-4],vn+=le-xn[kn-3]),ie=Ue[Lt++],le=Ue[Lt++],ze=Ce.Q,z.addData(ze,hn,vn,ie,le);break;case"t":hn=ie,vn=le,kn=z.len(),xn=z.data,_e===Ce.Q&&(hn+=ie-xn[kn-4],vn+=le-xn[kn-3]),ie+=Ue[Lt++],le+=Ue[Lt++],ze=Ce.Q,z.addData(ze,hn,vn,ie,le);break;case"A":_n=Ue[Lt++],bn=Ue[Lt++],Cn=Ue[Lt++],Sn=Ue[Lt++],En=Ue[Lt++],wn=ie,Tn=le,ie=Ue[Lt++],le=Ue[Lt++],ze=Ce.A,processArc(wn,Tn,ie,le,Sn,En,_n,bn,Cn,ze,z);break;case"a":_n=Ue[Lt++],bn=Ue[Lt++],Cn=Ue[Lt++],Sn=Ue[Lt++],En=Ue[Lt++],wn=ie,Tn=le,ie+=Ue[Lt++],le+=Ue[Lt++],ze=Ce.A,processArc(wn,Tn,ie,le,Sn,En,_n,bn,Cn,ze,z);break}}(Ve==="z"||Ve==="Z")&&(ze=Ce.Z,z.addData(ze),ie=ue,le=pe),_e=ze}return z.toStatic(),z}var SVGPath=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.applyTransform=function(ie){},z}(Path$1);function isPathProxy($){return $.setData!=null}function createPathOptions($,z){var ie=createPathProxyFromString($),le=extend({},z);return le.buildPath=function(ue){if(isPathProxy(ue)){ue.setData(ie.data);var pe=ue.getContext();pe&&ue.rebuildPath(pe,1)}else{var pe=ue;ie.rebuildPath(pe,1)}},le.applyTransform=function(ue){transformPath(ie,ue),this.dirtyShape()},le}function createFromString($,z){return new SVGPath(createPathOptions($,z))}function extendFromString($,z){var ie=createPathOptions($,z),le=function(ue){__extends(pe,ue);function pe(_e){var Ce=ue.call(this,_e)||this;return Ce.applyTransform=ie.applyTransform,Ce.buildPath=ie.buildPath,Ce}return pe}(SVGPath);return le}function mergePath$1($,z){for(var ie=[],le=$.length,ue=0;ue<le;ue++){var pe=$[ue];ie.push(pe.getUpdatedPathProxy(!0))}var _e=new Path$1(z);return _e.createPathProxy(),_e.buildPath=function(Ce){if(isPathProxy(Ce)){Ce.appendPath(ie);var $e=Ce.getContext();$e&&Ce.rebuildPath($e,1)}},_e}var CircleShape=function(){function $(){this.cx=0,this.cy=0,this.r=0}return $}(),Circle=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultShape=function(){return new CircleShape},z.prototype.buildPath=function(ie,le){ie.moveTo(le.cx+le.r,le.cy),ie.arc(le.cx,le.cy,le.r,0,Math.PI*2)},z}(Path$1);Circle.prototype.type="circle";const Circle$1=Circle;var EllipseShape=function(){function $(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return $}(),Ellipse=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultShape=function(){return new EllipseShape},z.prototype.buildPath=function(ie,le){var ue=.5522848,pe=le.cx,_e=le.cy,Ce=le.rx,$e=le.ry,xe=Ce*ue,Ie=$e*ue;ie.moveTo(pe-Ce,_e),ie.bezierCurveTo(pe-Ce,_e-Ie,pe-xe,_e-$e,pe,_e-$e),ie.bezierCurveTo(pe+xe,_e-$e,pe+Ce,_e-Ie,pe+Ce,_e),ie.bezierCurveTo(pe+Ce,_e+Ie,pe+xe,_e+$e,pe,_e+$e),ie.bezierCurveTo(pe-xe,_e+$e,pe-Ce,_e+Ie,pe-Ce,_e),ie.closePath()},z}(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($,z,ie,le,ue,pe,_e,Ce){var $e=ie-$,xe=le-z,Ie=_e-ue,Ve=Ce-pe,ze=Ve*$e-Ie*xe;if(!(ze*ze<e))return ze=(Ie*(z-pe)-Ve*($-ue))/ze,[$+ze*$e,z+ze*xe]}function computeCornerTangents($,z,ie,le,ue,pe,_e){var Ce=$-ie,$e=z-le,xe=(_e?pe:-pe)/mathSqrt(Ce*Ce+$e*$e),Ie=xe*$e,Ve=-xe*Ce,ze=$+Ie,Ue=z+Ve,qe=ie+Ie,Et=le+Ve,Lt=(ze+qe)/2,hn=(Ue+Et)/2,vn=qe-ze,_n=Et-Ue,bn=vn*vn+_n*_n,Cn=ue-pe,Sn=ze*Et-qe*Ue,En=(_n<0?-1:1)*mathSqrt(mathMax$5(0,Cn*Cn*bn-Sn*Sn)),wn=(Sn*_n-vn*En)/bn,Tn=(-Sn*vn-_n*En)/bn,kn=(Sn*_n+vn*En)/bn,xn=(-Sn*vn+_n*En)/bn,Pn=wn-Lt,An=Tn-hn,In=kn-Lt,Fn=xn-hn;return Pn*Pn+An*An>In*In+Fn*Fn&&(wn=kn,Tn=xn),{cx:wn,cy:Tn,x0:-Ie,y0:-Ve,x1:wn*(ue/Cn-1),y1:Tn*(ue/Cn-1)}}function normalizeCornerRadius($){var z;if(isArray$1($)){var ie=$.length;if(!ie)return $;ie===1?z=[$[0],$[0],0,0]:ie===2?z=[$[0],$[0],$[1],$[1]]:ie===3?z=$.concat($[2]):z=$}else z=[$,$,$,$];return z}function buildPath$1($,z){var ie,le=mathMax$5(z.r,0),ue=mathMax$5(z.r0||0,0),pe=le>0,_e=ue>0;if(!(!pe&&!_e)){if(pe||(le=ue,ue=0),ue>le){var Ce=le;le=ue,ue=Ce}var $e=z.startAngle,xe=z.endAngle;if(!(isNaN($e)||isNaN(xe))){var Ie=z.cx,Ve=z.cy,ze=!!z.clockwise,Ue=mathAbs(xe-$e),qe=Ue>PI2$1&&Ue%PI2$1;if(qe>e&&(Ue=qe),!(le>e))$.moveTo(Ie,Ve);else if(Ue>PI2$1-e)$.moveTo(Ie+le*mathCos($e),Ve+le*mathSin($e)),$.arc(Ie,Ve,le,$e,xe,!ze),ue>e&&($.moveTo(Ie+ue*mathCos(xe),Ve+ue*mathSin(xe)),$.arc(Ie,Ve,ue,xe,$e,ze));else{var Et=void 0,Lt=void 0,hn=void 0,vn=void 0,_n=void 0,bn=void 0,Cn=void 0,Sn=void 0,En=void 0,wn=void 0,Tn=void 0,kn=void 0,xn=void 0,Pn=void 0,An=void 0,In=void 0,Fn=le*mathCos($e),Dn=le*mathSin($e),On=ue*mathCos(xe),Vn=ue*mathSin(xe),Mn=Ue>e;if(Mn){var zn=z.cornerRadius;zn&&(ie=normalizeCornerRadius(zn),Et=ie[0],Lt=ie[1],hn=ie[2],vn=ie[3]);var Kn=mathAbs(le-ue)/2;if(_n=mathMin$5(Kn,hn),bn=mathMin$5(Kn,vn),Cn=mathMin$5(Kn,Et),Sn=mathMin$5(Kn,Lt),Tn=En=mathMax$5(_n,bn),kn=wn=mathMax$5(Cn,Sn),(En>e||wn>e)&&(xn=le*mathCos(xe),Pn=le*mathSin(xe),An=ue*mathCos($e),In=ue*mathSin($e),Ue<PI$2)){var Hn=intersect(Fn,Dn,An,In,xn,Pn,On,Vn);if(Hn){var Xn=Fn-Hn[0],lr=Dn-Hn[1],yr=xn-Hn[0],ir=Pn-Hn[1],Yn=1/mathSin(mathACos((Xn*yr+lr*ir)/(mathSqrt(Xn*Xn+lr*lr)*mathSqrt(yr*yr+ir*ir)))/2),Gn=mathSqrt(Hn[0]*Hn[0]+Hn[1]*Hn[1]);Tn=mathMin$5(En,(le-Gn)/(Yn+1)),kn=mathMin$5(wn,(ue-Gn)/(Yn-1))}}}if(!Mn)$.moveTo(Ie+Fn,Ve+Dn);else if(Tn>e){var Wn=mathMin$5(hn,Tn),Qn=mathMin$5(vn,Tn),fr=computeCornerTangents(An,In,Fn,Dn,le,Wn,ze),jn=computeCornerTangents(xn,Pn,On,Vn,le,Qn,ze);$.moveTo(Ie+fr.cx+fr.x0,Ve+fr.cy+fr.y0),Tn<En&&Wn===Qn?$.arc(Ie+fr.cx,Ve+fr.cy,Tn,mathATan2(fr.y0,fr.x0),mathATan2(jn.y0,jn.x0),!ze):(Wn>0&&$.arc(Ie+fr.cx,Ve+fr.cy,Wn,mathATan2(fr.y0,fr.x0),mathATan2(fr.y1,fr.x1),!ze),$.arc(Ie,Ve,le,mathATan2(fr.cy+fr.y1,fr.cx+fr.x1),mathATan2(jn.cy+jn.y1,jn.cx+jn.x1),!ze),Qn>0&&$.arc(Ie+jn.cx,Ve+jn.cy,Qn,mathATan2(jn.y1,jn.x1),mathATan2(jn.y0,jn.x0),!ze))}else $.moveTo(Ie+Fn,Ve+Dn),$.arc(Ie,Ve,le,$e,xe,!ze);if(!(ue>e)||!Mn)$.lineTo(Ie+On,Ve+Vn);else if(kn>e){var Wn=mathMin$5(Et,kn),Qn=mathMin$5(Lt,kn),fr=computeCornerTangents(On,Vn,xn,Pn,ue,-Qn,ze),jn=computeCornerTangents(Fn,Dn,An,In,ue,-Wn,ze);$.lineTo(Ie+fr.cx+fr.x0,Ve+fr.cy+fr.y0),kn<wn&&Wn===Qn?$.arc(Ie+fr.cx,Ve+fr.cy,kn,mathATan2(fr.y0,fr.x0),mathATan2(jn.y0,jn.x0),!ze):(Qn>0&&$.arc(Ie+fr.cx,Ve+fr.cy,Qn,mathATan2(fr.y0,fr.x0),mathATan2(fr.y1,fr.x1),!ze),$.arc(Ie,Ve,ue,mathATan2(fr.cy+fr.y1,fr.cx+fr.x1),mathATan2(jn.cy+jn.y1,jn.cx+jn.x1),ze),Wn>0&&$.arc(Ie+jn.cx,Ve+jn.cy,Wn,mathATan2(jn.y1,jn.x1),mathATan2(jn.y0,jn.x0),!ze))}else $.lineTo(Ie+On,Ve+Vn),$.arc(Ie,Ve,ue,xe,$e,ze)}$.closePath()}}}var SectorShape=function(){function $(){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 $}(),Sector=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultShape=function(){return new SectorShape},z.prototype.buildPath=function(ie,le){buildPath$1(ie,le)},z.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},z}(Path$1);Sector.prototype.type="sector";const Sector$1=Sector;var RingShape=function(){function $(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return $}(),Ring=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultShape=function(){return new RingShape},z.prototype.buildPath=function(ie,le){var ue=le.cx,pe=le.cy,_e=Math.PI*2;ie.moveTo(ue+le.r,pe),ie.arc(ue,pe,le.r,0,_e,!1),ie.moveTo(ue+le.r0,pe),ie.arc(ue,pe,le.r0,0,_e,!0)},z}(Path$1);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier($,z,ie,le){var ue=[],pe=[],_e=[],Ce=[],$e,xe,Ie,Ve;if(le){Ie=[1/0,1/0],Ve=[-1/0,-1/0];for(var ze=0,Ue=$.length;ze<Ue;ze++)min$1(Ie,Ie,$[ze]),max$1(Ve,Ve,$[ze]);min$1(Ie,Ie,le[0]),max$1(Ve,Ve,le[1])}for(var ze=0,Ue=$.length;ze<Ue;ze++){var qe=$[ze];if(ie)$e=$[ze?ze-1:Ue-1],xe=$[(ze+1)%Ue];else if(ze===0||ze===Ue-1){ue.push(clone$2($[ze]));continue}else $e=$[ze-1],xe=$[ze+1];sub(pe,xe,$e),scale$2(pe,pe,z);var Et=distance(qe,$e),Lt=distance(qe,xe),hn=Et+Lt;hn!==0&&(Et/=hn,Lt/=hn),scale$2(_e,pe,-Et),scale$2(Ce,pe,Lt);var vn=add([],qe,_e),_n=add([],qe,Ce);le&&(max$1(vn,vn,Ie),min$1(vn,vn,Ve),max$1(_n,_n,Ie),min$1(_n,_n,Ve)),ue.push(vn),ue.push(_n)}return ie&&ue.push(ue.shift()),ue}function buildPath($,z,ie){var le=z.smooth,ue=z.points;if(ue&&ue.length>=2){if(le){var pe=smoothBezier(ue,le,ie,z.smoothConstraint);$.moveTo(ue[0][0],ue[0][1]);for(var _e=ue.length,Ce=0;Ce<(ie?_e:_e-1);Ce++){var $e=pe[Ce*2],xe=pe[Ce*2+1],Ie=ue[(Ce+1)%_e];$.bezierCurveTo($e[0],$e[1],xe[0],xe[1],Ie[0],Ie[1])}}else{$.moveTo(ue[0][0],ue[0][1]);for(var Ce=1,Ve=ue.length;Ce<Ve;Ce++)$.lineTo(ue[Ce][0],ue[Ce][1])}ie&&$.closePath()}}var PolygonShape=function(){function $(){this.points=null,this.smooth=0,this.smoothConstraint=null}return $}(),Polygon=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultShape=function(){return new PolygonShape},z.prototype.buildPath=function(ie,le){buildPath(ie,le,!0)},z}(Path$1);Polygon.prototype.type="polygon";const Polygon$1=Polygon;var PolylineShape=function(){function $(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return $}(),Polyline=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},z.prototype.getDefaultShape=function(){return new PolylineShape},z.prototype.buildPath=function(ie,le){buildPath(ie,le,!1)},z}(Path$1);Polyline.prototype.type="polyline";const Polyline$1=Polyline;var subPixelOptimizeOutputShape={},LineShape=function(){function $(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return $}(),Line=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},z.prototype.getDefaultShape=function(){return new LineShape},z.prototype.buildPath=function(ie,le){var ue,pe,_e,Ce;if(this.subPixelOptimize){var $e=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,le,this.style);ue=$e.x1,pe=$e.y1,_e=$e.x2,Ce=$e.y2}else ue=le.x1,pe=le.y1,_e=le.x2,Ce=le.y2;var xe=le.percent;xe!==0&&(ie.moveTo(ue,pe),xe<1&&(_e=ue*(1-xe)+_e*xe,Ce=pe*(1-xe)+Ce*xe),ie.lineTo(_e,Ce))},z.prototype.pointAt=function(ie){var le=this.shape;return[le.x1*(1-ie)+le.x2*ie,le.y1*(1-ie)+le.y2*ie]},z}(Path$1);Line.prototype.type="line";const Line$1=Line;var out=[],BezierCurveShape=function(){function $(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return $}();function someVectorAt($,z,ie){var le=$.cpx2,ue=$.cpy2;return le!=null||ue!=null?[(ie?cubicDerivativeAt:cubicAt)($.x1,$.cpx1,$.cpx2,$.x2,z),(ie?cubicDerivativeAt:cubicAt)($.y1,$.cpy1,$.cpy2,$.y2,z)]:[(ie?quadraticDerivativeAt:quadraticAt)($.x1,$.cpx1,$.x2,z),(ie?quadraticDerivativeAt:quadraticAt)($.y1,$.cpy1,$.y2,z)]}var BezierCurve=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},z.prototype.getDefaultShape=function(){return new BezierCurveShape},z.prototype.buildPath=function(ie,le){var ue=le.x1,pe=le.y1,_e=le.x2,Ce=le.y2,$e=le.cpx1,xe=le.cpy1,Ie=le.cpx2,Ve=le.cpy2,ze=le.percent;ze!==0&&(ie.moveTo(ue,pe),Ie==null||Ve==null?(ze<1&&(quadraticSubdivide(ue,$e,_e,ze,out),$e=out[1],_e=out[2],quadraticSubdivide(pe,xe,Ce,ze,out),xe=out[1],Ce=out[2]),ie.quadraticCurveTo($e,xe,_e,Ce)):(ze<1&&(cubicSubdivide(ue,$e,Ie,_e,ze,out),$e=out[1],Ie=out[2],_e=out[3],cubicSubdivide(pe,xe,Ve,Ce,ze,out),xe=out[1],Ve=out[2],Ce=out[3]),ie.bezierCurveTo($e,xe,Ie,Ve,_e,Ce)))},z.prototype.pointAt=function(ie){return someVectorAt(this.shape,ie,!1)},z.prototype.tangentAt=function(ie){var le=someVectorAt(this.shape,ie,!0);return normalize$1(le,le)},z}(Path$1);BezierCurve.prototype.type="bezier-curve";const BezierCurve$1=BezierCurve;var ArcShape=function(){function $(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return $}(),Arc=function($){__extends(z,$);function z(ie){return $.call(this,ie)||this}return z.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},z.prototype.getDefaultShape=function(){return new ArcShape},z.prototype.buildPath=function(ie,le){var ue=le.cx,pe=le.cy,_e=Math.max(le.r,0),Ce=le.startAngle,$e=le.endAngle,xe=le.clockwise,Ie=Math.cos(Ce),Ve=Math.sin(Ce);ie.moveTo(Ie*_e+ue,Ve*_e+pe),ie.arc(ue,pe,_e,Ce,$e,!xe)},z}(Path$1);Arc.prototype.type="arc";const Arc$1=Arc;var CompoundPath=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type="compound",ie}return z.prototype._updatePathDirty=function(){for(var ie=this.shape.paths,le=this.shapeChanged(),ue=0;ue<ie.length;ue++)le=le||ie[ue].shapeChanged();le&&this.dirtyShape()},z.prototype.beforeBrush=function(){this._updatePathDirty();for(var ie=this.shape.paths||[],le=this.getGlobalScale(),ue=0;ue<ie.length;ue++)ie[ue].path||ie[ue].createPathProxy(),ie[ue].path.setScale(le[0],le[1],ie[ue].segmentIgnoreThreshold)},z.prototype.buildPath=function(ie,le){for(var ue=le.paths||[],pe=0;pe<ue.length;pe++)ue[pe].buildPath(ie,ue[pe].shape,!0)},z.prototype.afterBrush=function(){for(var ie=this.shape.paths||[],le=0;le<ie.length;le++)ie[le].pathUpdated()},z.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Path$1.prototype.getBoundingRect.call(this)},z}(Path$1);const CompoundPath$1=CompoundPath;var Gradient=function(){function $(z){this.colorStops=z||[]}return $.prototype.addColorStop=function(z,ie){this.colorStops.push({offset:z,color:ie})},$}();const Gradient$1=Gradient;var LinearGradient=function($){__extends(z,$);function z(ie,le,ue,pe,_e,Ce){var $e=$.call(this,_e)||this;return $e.x=ie??0,$e.y=le??0,$e.x2=ue??1,$e.y2=pe??0,$e.type="linear",$e.global=Ce||!1,$e}return z}(Gradient$1);const LinearGradient$1=LinearGradient;var RadialGradient=function($){__extends(z,$);function z(ie,le,ue,pe,_e){var Ce=$.call(this,pe)||this;return Ce.x=ie??.5,Ce.y=le??.5,Ce.r=ue??.5,Ce.type="radial",Ce.global=_e||!1,Ce}return z}(Gradient$1);const RadialGradient$1=RadialGradient;var extent=[0,0],extent2=[0,0],minTv=new Point$1,maxTv=new Point$1,OrientedBoundingRect=function(){function $(z,ie){this._corners=[],this._axes=[],this._origin=[0,0];for(var le=0;le<4;le++)this._corners[le]=new Point$1;for(var le=0;le<2;le++)this._axes[le]=new Point$1;z&&this.fromBoundingRect(z,ie)}return $.prototype.fromBoundingRect=function(z,ie){var le=this._corners,ue=this._axes,pe=z.x,_e=z.y,Ce=pe+z.width,$e=_e+z.height;if(le[0].set(pe,_e),le[1].set(Ce,_e),le[2].set(Ce,$e),le[3].set(pe,$e),ie)for(var xe=0;xe<4;xe++)le[xe].transform(ie);Point$1.sub(ue[0],le[1],le[0]),Point$1.sub(ue[1],le[3],le[0]),ue[0].normalize(),ue[1].normalize();for(var xe=0;xe<2;xe++)this._origin[xe]=ue[xe].dot(le[0])},$.prototype.intersect=function(z,ie){var le=!0,ue=!ie;return minTv.set(1/0,1/0),maxTv.set(0,0),!this._intersectCheckOneSide(this,z,minTv,maxTv,ue,1)&&(le=!1,ue)||!this._intersectCheckOneSide(z,this,minTv,maxTv,ue,-1)&&(le=!1,ue)||ue||Point$1.copy(ie,le?minTv:maxTv),le},$.prototype._intersectCheckOneSide=function(z,ie,le,ue,pe,_e){for(var Ce=!0,$e=0;$e<2;$e++){var xe=this._axes[$e];if(this._getProjMinMaxOnAxis($e,z._corners,extent),this._getProjMinMaxOnAxis($e,ie._corners,extent2),extent[1]<extent2[0]||extent[0]>extent2[1]){if(Ce=!1,pe)return Ce;var Ie=Math.abs(extent2[0]-extent[1]),Ve=Math.abs(extent[0]-extent2[1]);Math.min(Ie,Ve)>ue.len()&&(Ie<Ve?Point$1.scale(ue,xe,-Ie*_e):Point$1.scale(ue,xe,Ve*_e))}else if(le){var Ie=Math.abs(extent2[0]-extent[1]),Ve=Math.abs(extent[0]-extent2[1]);Math.min(Ie,Ve)<le.len()&&(Ie<Ve?Point$1.scale(le,xe,Ie*_e):Point$1.scale(le,xe,-Ve*_e))}}return Ce},$.prototype._getProjMinMaxOnAxis=function(z,ie,le){for(var ue=this._axes[z],pe=this._origin,_e=ie[0].dot(ue)+pe[z],Ce=_e,$e=_e,xe=1;xe<ie.length;xe++){var Ie=ie[xe].dot(ue)+pe[z];Ce=Math.min(Ie,Ce),$e=Math.max(Ie,$e)}le[0]=Ce,le[1]=$e},$}();const OrientedBoundingRect$1=OrientedBoundingRect;var m$2=[],IncrementalDisplayable=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.notClear=!0,ie.incremental=!0,ie._displayables=[],ie._temporaryDisplayables=[],ie._cursor=0,ie}return z.prototype.traverse=function(ie,le){ie.call(le,this)},z.prototype.useStyle=function(){this.style={}},z.prototype.getCursor=function(){return this._cursor},z.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},z.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},z.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},z.prototype.addDisplayable=function(ie,le){le?this._temporaryDisplayables.push(ie):this._displayables.push(ie),this.markRedraw()},z.prototype.addDisplayables=function(ie,le){le=le||!1;for(var ue=0;ue<ie.length;ue++)this.addDisplayable(ie[ue],le)},z.prototype.getDisplayables=function(){return this._displayables},z.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},z.prototype.eachPendingDisplayable=function(ie){for(var le=this._cursor;le<this._displayables.length;le++)ie&&ie(this._displayables[le]);for(var le=0;le<this._temporaryDisplayables.length;le++)ie&&ie(this._temporaryDisplayables[le])},z.prototype.update=function(){this.updateTransform();for(var ie=this._cursor;ie<this._displayables.length;ie++){var le=this._displayables[ie];le.parent=this,le.update(),le.parent=null}for(var ie=0;ie<this._temporaryDisplayables.length;ie++){var le=this._temporaryDisplayables[ie];le.parent=this,le.update(),le.parent=null}},z.prototype.getBoundingRect=function(){if(!this._rect){for(var ie=new BoundingRect$1(1/0,1/0,-1/0,-1/0),le=0;le<this._displayables.length;le++){var ue=this._displayables[le],pe=ue.getBoundingRect().clone();ue.needLocalTransform()&&pe.applyTransform(ue.getLocalTransform(m$2)),ie.union(pe)}this._rect=ie}return this._rect},z.prototype.contain=function(ie,le){var ue=this.transformCoordToLocal(ie,le),pe=this.getBoundingRect();if(pe.contain(ue[0],ue[1]))for(var _e=0;_e<this._displayables.length;_e++){var Ce=this._displayables[_e];if(Ce.contain(ie,le))return!0}return!1},z}(Displayable$1);const IncrementalDisplayable$1=IncrementalDisplayable;var transitionStore=makeInner();function getAnimationConfig($,z,ie,le,ue){var pe;if(z&&z.ecModel){var _e=z.ecModel.getUpdatePayload();pe=_e&&_e.animation}var Ce=z&&z.isAnimationEnabled(),$e=$==="update";if(Ce){var xe=void 0,Ie=void 0,Ve=void 0;le?(xe=retrieve2(le.duration,200),Ie=retrieve2(le.easing,"cubicOut"),Ve=0):(xe=z.getShallow($e?"animationDurationUpdate":"animationDuration"),Ie=z.getShallow($e?"animationEasingUpdate":"animationEasing"),Ve=z.getShallow($e?"animationDelayUpdate":"animationDelay")),pe&&(pe.duration!=null&&(xe=pe.duration),pe.easing!=null&&(Ie=pe.easing),pe.delay!=null&&(Ve=pe.delay)),isFunction(Ve)&&(Ve=Ve(ie,ue)),isFunction(xe)&&(xe=xe(ie));var ze={duration:xe||0,delay:Ve,easing:Ie};return ze}else return null}function animateOrSetProps($,z,ie,le,ue,pe,_e){var Ce=!1,$e;isFunction(ue)?(_e=pe,pe=ue,ue=null):isObject$3(ue)&&(pe=ue.cb,_e=ue.during,Ce=ue.isFrom,$e=ue.removeOpt,ue=ue.dataIndex);var xe=$==="leave";xe||z.stopAnimation("leave");var Ie=getAnimationConfig($,le,ue,xe?$e||{}:null,le&&le.getAnimationDelayParams?le.getAnimationDelayParams(z,ue):null);if(Ie&&Ie.duration>0){var Ve=Ie.duration,ze=Ie.delay,Ue=Ie.easing,qe={duration:Ve,delay:ze||0,easing:Ue,done:pe,force:!!pe||!!_e,setToFinal:!xe,scope:$,during:_e};Ce?z.animateFrom(ie,qe):z.animateTo(ie,qe)}else z.stopAnimation(),!Ce&&z.attr(ie),_e&&_e(1),pe&&pe()}function updateProps$1($,z,ie,le,ue,pe){animateOrSetProps("update",$,z,ie,le,ue,pe)}function initProps($,z,ie,le,ue,pe){animateOrSetProps("enter",$,z,ie,le,ue,pe)}function isElementRemoved($){if(!$.__zr)return!0;for(var z=0;z<$.animators.length;z++){var ie=$.animators[z];if(ie.scope==="leave")return!0}return!1}function removeElement($,z,ie,le,ue,pe){isElementRemoved($)||animateOrSetProps("leave",$,z,ie,le,ue,pe)}function fadeOutDisplayable($,z,ie,le){$.removeTextContent(),$.removeTextGuideLine(),removeElement($,{style:{opacity:0}},z,ie,le)}function removeElementWithFadeOut($,z,ie){function le(){$.parent&&$.parent.remove($)}$.isGroup?$.traverse(function(ue){ue.isGroup||fadeOutDisplayable(ue,z,ie,le)}):fadeOutDisplayable($,z,ie,le)}function saveOldStyle($){transitionStore($).oldStyle=$.style}var mathMax$4=Math.max,mathMin$4=Math.min,_customShapeMap={};function extendShape($){return Path$1.extend($)}var extendPathFromString=extendFromString;function extendPath($,z){return extendPathFromString($,z)}function registerShape($,z){_customShapeMap[$]=z}function getShapeClass($){if(_customShapeMap.hasOwnProperty($))return _customShapeMap[$]}function makePath($,z,ie,le){var ue=createFromString($,z);return ie&&(le==="center"&&(ie=centerGraphic(ie,ue.getBoundingRect())),resizePath(ue,ie)),ue}function makeImage($,z,ie){var le=new ZRImage$1({style:{image:$,x:z.x,y:z.y,width:z.width,height:z.height},onload:function(ue){if(ie==="center"){var pe={width:ue.width,height:ue.height};le.setStyle(centerGraphic(z,pe))}}});return le}function centerGraphic($,z){var ie=z.width/z.height,le=$.height*ie,ue;le<=$.width?ue=$.height:(le=$.width,ue=le/ie);var pe=$.x+$.width/2,_e=$.y+$.height/2;return{x:pe-le/2,y:_e-ue/2,width:le,height:ue}}var mergePath=mergePath$1;function resizePath($,z){if($.applyTransform){var ie=$.getBoundingRect(),le=ie.calculateTransform(z);$.applyTransform(le)}}function subPixelOptimizeLine($,z){return subPixelOptimizeLine$1($,$,{lineWidth:z}),$}function subPixelOptimizeRect($){return subPixelOptimizeRect$1($.shape,$.shape,$.style),$}var subPixelOptimize=subPixelOptimize$1;function getTransform$1($,z){for(var ie=identity([]);$&&$!==z;)mul(ie,$.getLocalTransform(),ie),$=$.parent;return ie}function applyTransform($,z,ie){return z&&!isArrayLike(z)&&(z=Transformable$1.getLocalTransform(z)),ie&&(z=invert([],z)),applyTransform$1([],$,z)}function transformDirection($,z,ie){var le=z[4]===0||z[5]===0||z[0]===0?1:Math.abs(2*z[4]/z[0]),ue=z[4]===0||z[5]===0||z[2]===0?1:Math.abs(2*z[4]/z[2]),pe=[$==="left"?-le:$==="right"?le:0,$==="top"?-ue:$==="bottom"?ue:0];return pe=applyTransform(pe,z,ie),Math.abs(pe[0])>Math.abs(pe[1])?pe[0]>0?"right":"left":pe[1]>0?"bottom":"top"}function isNotGroup($){return!$.isGroup}function isPath($){return $.shape!=null}function groupTransition($,z,ie){if(!$||!z)return;function le(_e){var Ce={};return _e.traverse(function($e){isNotGroup($e)&&$e.anid&&(Ce[$e.anid]=$e)}),Ce}function ue(_e){var Ce={x:_e.x,y:_e.y,rotation:_e.rotation};return isPath(_e)&&(Ce.shape=extend({},_e.shape)),Ce}var pe=le($);z.traverse(function(_e){if(isNotGroup(_e)&&_e.anid){var Ce=pe[_e.anid];if(Ce){var $e=ue(_e);_e.attr(ue(Ce)),updateProps$1(_e,$e,ie,getECData(_e).dataIndex)}}})}function clipPointsByRect($,z){return map$2($,function(ie){var le=ie[0];le=mathMax$4(le,z.x),le=mathMin$4(le,z.x+z.width);var ue=ie[1];return ue=mathMax$4(ue,z.y),ue=mathMin$4(ue,z.y+z.height),[le,ue]})}function clipRectByRect($,z){var ie=mathMax$4($.x,z.x),le=mathMin$4($.x+$.width,z.x+z.width),ue=mathMax$4($.y,z.y),pe=mathMin$4($.y+$.height,z.y+z.height);if(le>=ie&&pe>=ue)return{x:ie,y:ue,width:le-ie,height:pe-ue}}function createIcon($,z,ie){var le=extend({rectHover:!0},z),ue=le.style={strokeNoScale:!0};if(ie=ie||{x:-1,y:-1,width:2,height:2},$)return $.indexOf("image://")===0?(ue.image=$.slice(8),defaults(ue,ie),new ZRImage$1(le)):makePath($.replace("path://",""),le,ie,"center")}function linePolygonIntersect($,z,ie,le,ue){for(var pe=0,_e=ue[ue.length-1];pe<ue.length;pe++){var Ce=ue[pe];if(lineLineIntersect($,z,ie,le,Ce[0],Ce[1],_e[0],_e[1]))return!0;_e=Ce}}function lineLineIntersect($,z,ie,le,ue,pe,_e,Ce){var $e=ie-$,xe=le-z,Ie=_e-ue,Ve=Ce-pe,ze=crossProduct2d(Ie,Ve,$e,xe);if(nearZero(ze))return!1;var Ue=$-ue,qe=z-pe,Et=crossProduct2d(Ue,qe,$e,xe)/ze;if(Et<0||Et>1)return!1;var Lt=crossProduct2d(Ue,qe,Ie,Ve)/ze;return!(Lt<0||Lt>1)}function crossProduct2d($,z,ie,le){return $*le-ie*z}function nearZero($){return $<=1e-6&&$>=-1e-6}function setTooltipConfig($){var z=$.itemTooltipOption,ie=$.componentModel,le=$.itemName,ue=isString(z)?{formatter:z}:z,pe=ie.mainType,_e=ie.componentIndex,Ce={componentType:pe,name:le,$vars:["name"]};Ce[pe+"Index"]=_e;var $e=$.formatterParamsExtra;$e&&each$c(keys($e),function(Ie){hasOwn(Ce,Ie)||(Ce[Ie]=$e[Ie],Ce.$vars.push(Ie))});var xe=getECData($.el);xe.componentMainType=pe,xe.componentIndex=_e,xe.tooltipConfig={name:le,option:defaults({content:le,formatterParams:Ce},ue)}}function traverseElement($,z){var ie;$.isGroup&&(ie=z($)),ie||$.traverse(z)}function traverseElements($,z){if($)if(isArray$1($))for(var ie=0;ie<$.length;ie++)traverseElement($[ie],z);else traverseElement($,z)}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($,z){for(var ie=0;ie<SPECIAL_STATES.length;ie++){var le=SPECIAL_STATES[ie],ue=z[le],pe=$.ensureState(le);pe.style=pe.style||{},pe.style.text=ue}var _e=$.currentStates.slice();$.clearStates(!0),$.setStyle({text:z.normal}),$.useStates(_e,!0)}function getLabelText($,z,ie){var le=$.labelFetcher,ue=$.labelDataIndex,pe=$.labelDimIndex,_e=z.normal,Ce;le&&(Ce=le.getFormattedLabel(ue,"normal",null,pe,_e&&_e.get("formatter"),ie!=null?{interpolatedValue:ie}:null)),Ce==null&&(Ce=isFunction($.defaultText)?$.defaultText(ue,$,ie):$.defaultText);for(var $e={normal:Ce},xe=0;xe<SPECIAL_STATES.length;xe++){var Ie=SPECIAL_STATES[xe],Ve=z[Ie];$e[Ie]=retrieve2(le?le.getFormattedLabel(ue,Ie,null,pe,Ve&&Ve.get("formatter")):null,Ce)}return $e}function setLabelStyle($,z,ie,le){ie=ie||EMPTY_OBJ;for(var ue=$ instanceof ZRText$1,pe=!1,_e=0;_e<DISPLAY_STATES.length;_e++){var Ce=z[DISPLAY_STATES[_e]];if(Ce&&Ce.getShallow("show")){pe=!0;break}}var $e=ue?$:$.getTextContent();if(pe){ue||($e||($e=new ZRText$1,$.setTextContent($e)),$.stateProxy&&($e.stateProxy=$.stateProxy));var xe=getLabelText(ie,z),Ie=z.normal,Ve=!!Ie.getShallow("show"),ze=createTextStyle$1(Ie,le&&le.normal,ie,!1,!ue);ze.text=xe.normal,ue||$.setTextConfig(createTextConfig(Ie,ie,!1));for(var _e=0;_e<SPECIAL_STATES.length;_e++){var Ue=SPECIAL_STATES[_e],Ce=z[Ue];if(Ce){var qe=$e.ensureState(Ue),Et=!!retrieve2(Ce.getShallow("show"),Ve);if(Et!==Ve&&(qe.ignore=!Et),qe.style=createTextStyle$1(Ce,le&&le[Ue],ie,!0,!ue),qe.style.text=xe[Ue],!ue){var Lt=$.ensureState(Ue);Lt.textConfig=createTextConfig(Ce,ie,!0)}}}$e.silent=!!Ie.getShallow("silent"),$e.style.x!=null&&(ze.x=$e.style.x),$e.style.y!=null&&(ze.y=$e.style.y),$e.ignore=!Ve,$e.useStyle(ze),$e.dirty(),ie.enableTextSetter&&(labelInner($e).setLabelText=function(hn){var vn=getLabelText(ie,z,hn);setLabelText($e,vn)})}else $e&&($e.ignore=!0);$.dirty()}function getLabelStatesModels($,z){z=z||"label";for(var ie={normal:$.getModel(z)},le=0;le<SPECIAL_STATES.length;le++){var ue=SPECIAL_STATES[le];ie[ue]=$.getModel([ue,z])}return ie}function createTextStyle$1($,z,ie,le,ue){var pe={};return setTextStyleCommon(pe,$,ie,le,ue),z&&extend(pe,z),pe}function createTextConfig($,z,ie){z=z||{};var le={},ue,pe=$.getShallow("rotate"),_e=retrieve2($.getShallow("distance"),ie?null:5),Ce=$.getShallow("offset");return ue=$.getShallow("position")||(ie?null:"inside"),ue==="outside"&&(ue=z.defaultOutsidePosition||"top"),ue!=null&&(le.position=ue),Ce!=null&&(le.offset=Ce),pe!=null&&(pe*=Math.PI/180,le.rotation=pe),_e!=null&&(le.distance=_e),le.outsideFill=$.get("color")==="inherit"?z.inheritColor||null:"auto",le}function setTextStyleCommon($,z,ie,le,ue){ie=ie||EMPTY_OBJ;var pe=z.ecModel,_e=pe&&pe.option.textStyle,Ce=getRichItemNames(z),$e;if(Ce){$e={};for(var xe in Ce)if(Ce.hasOwnProperty(xe)){var Ie=z.getModel(["rich",xe]);setTokenTextStyle($e[xe]={},Ie,_e,ie,le,ue,!1,!0)}}$e&&($.rich=$e);var Ve=z.get("overflow");Ve&&($.overflow=Ve);var ze=z.get("minMargin");ze!=null&&($.margin=ze),setTokenTextStyle($,z,_e,ie,le,ue,!0,!1)}function getRichItemNames($){for(var z;$&&$!==$.ecModel;){var ie=($.option||EMPTY_OBJ).rich;if(ie){z=z||{};for(var le=keys(ie),ue=0;ue<le.length;ue++){var pe=le[ue];z[pe]=1}}$=$.parentModel}return z}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($,z,ie,le,ue,pe,_e,Ce){ie=!ue&&ie||EMPTY_OBJ;var $e=le&&le.inheritColor,xe=z.getShallow("color"),Ie=z.getShallow("textBorderColor"),Ve=retrieve2(z.getShallow("opacity"),ie.opacity);(xe==="inherit"||xe==="auto")&&($e?xe=$e:xe=null),(Ie==="inherit"||Ie==="auto")&&($e?Ie=$e:Ie=null),pe||(xe=xe||ie.color,Ie=Ie||ie.textBorderColor),xe!=null&&($.fill=xe),Ie!=null&&($.stroke=Ie);var ze=retrieve2(z.getShallow("textBorderWidth"),ie.textBorderWidth);ze!=null&&($.lineWidth=ze);var Ue=retrieve2(z.getShallow("textBorderType"),ie.textBorderType);Ue!=null&&($.lineDash=Ue);var qe=retrieve2(z.getShallow("textBorderDashOffset"),ie.textBorderDashOffset);qe!=null&&($.lineDashOffset=qe),!ue&&Ve==null&&!Ce&&(Ve=le&&le.defaultOpacity),Ve!=null&&($.opacity=Ve),!ue&&!pe&&$.fill==null&&le.inheritColor&&($.fill=le.inheritColor);for(var Et=0;Et<TEXT_PROPS_WITH_GLOBAL.length;Et++){var Lt=TEXT_PROPS_WITH_GLOBAL[Et],hn=retrieve2(z.getShallow(Lt),ie[Lt]);hn!=null&&($[Lt]=hn)}for(var Et=0;Et<TEXT_PROPS_SELF.length;Et++){var Lt=TEXT_PROPS_SELF[Et],hn=z.getShallow(Lt);hn!=null&&($[Lt]=hn)}if($.verticalAlign==null){var vn=z.getShallow("baseline");vn!=null&&($.verticalAlign=vn)}if(!_e||!le.disableBox){for(var Et=0;Et<TEXT_PROPS_BOX.length;Et++){var Lt=TEXT_PROPS_BOX[Et],hn=z.getShallow(Lt);hn!=null&&($[Lt]=hn)}var _n=z.getShallow("borderType");_n!=null&&($.borderDash=_n),($.backgroundColor==="auto"||$.backgroundColor==="inherit")&&$e&&($.backgroundColor=$e),($.borderColor==="auto"||$.borderColor==="inherit")&&$e&&($.borderColor=$e)}}function getFont($,z){var ie=z&&z.getModel("textStyle");return trim$1([$.fontStyle||ie&&ie.getShallow("fontStyle")||"",$.fontWeight||ie&&ie.getShallow("fontWeight")||"",($.fontSize||ie&&ie.getShallow("fontSize")||12)+"px",$.fontFamily||ie&&ie.getShallow("fontFamily")||"sans-serif"].join(" "))}var labelInner=makeInner();function setLabelValueAnimation($,z,ie,le){if($){var ue=labelInner($);ue.prevValue=ue.value,ue.value=ie;var pe=z.normal;ue.valueAnimation=pe.get("valueAnimation"),ue.valueAnimation&&(ue.precision=pe.get("precision"),ue.defaultInterpolatedText=le,ue.statesModels=z)}}var PATH_COLOR=["textStyle","color"],textStyleParams=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],tmpText=new ZRText$1,TextStyleMixin=function(){function $(){}return $.prototype.getTextColor=function(z){var ie=this.ecModel;return this.getShallow("color")||(!z&&ie?ie.get(PATH_COLOR):null)},$.prototype.getFont=function(){return getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},$.prototype.getTextRect=function(z){for(var ie={text:z,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},le=0;le<textStyleParams.length;le++)ie[textStyleParams[le]]=this.getShallow(textStyleParams[le]);return tmpText.useStyle(ie),tmpText.update(),tmpText.getBoundingRect()},$}();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 $(){}return $.prototype.getLineStyle=function(z){return getLineStyle(this,z)},$}(),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 $(){}return $.prototype.getItemStyle=function(z,ie){return getItemStyle(this,z,ie)},$}(),Model=function(){function $(z,ie,le){this.parentModel=ie,this.ecModel=le,this.option=z}return $.prototype.init=function(z,ie,le){},$.prototype.mergeOption=function(z,ie){merge(this.option,z,!0)},$.prototype.get=function(z,ie){return z==null?this.option:this._doGet(this.parsePath(z),!ie&&this.parentModel)},$.prototype.getShallow=function(z,ie){var le=this.option,ue=le==null?le:le[z];if(ue==null&&!ie){var pe=this.parentModel;pe&&(ue=pe.getShallow(z))}return ue},$.prototype.getModel=function(z,ie){var le=z!=null,ue=le?this.parsePath(z):null,pe=le?this._doGet(ue):this.option;return ie=ie||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(ue)),new $(pe,ie,this.ecModel)},$.prototype.isEmpty=function(){return this.option==null},$.prototype.restoreData=function(){},$.prototype.clone=function(){var z=this.constructor;return new z(clone$3(this.option))},$.prototype.parsePath=function(z){return typeof z=="string"?z.split("."):z},$.prototype.resolveParentPath=function(z){return z},$.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()}},$.prototype._doGet=function(z,ie){var le=this.option;if(!z)return le;for(var ue=0;ue<z.length&&!(z[ue]&&(le=le&&typeof le=="object"?le[z[ue]]:null,le==null));ue++);return le==null&&ie&&(le=ie._doGet(this.resolveParentPath(z),ie.parentModel)),le},$}();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($){return[$||"",base++].join("_")}function enableSubTypeDefaulter($){var z={};$.registerSubTypeDefaulter=function(ie,le){var ue=parseClassType(ie);z[ue.main]=le},$.determineSubType=function(ie,le){var ue=le.type;if(!ue){var pe=parseClassType(ie).main;$.hasSubTypes(ie)&&z[pe]&&(ue=z[pe](le))}return ue}}function enableTopologicalTravel($,z){$.topologicalTravel=function(pe,_e,Ce,$e){if(!pe.length)return;var xe=ie(_e),Ie=xe.graph,Ve=xe.noEntryList,ze={};for(each$c(pe,function(vn){ze[vn]=!0});Ve.length;){var Ue=Ve.pop(),qe=Ie[Ue],Et=!!ze[Ue];Et&&(Ce.call($e,Ue,qe.originalDeps.slice()),delete ze[Ue]),each$c(qe.successor,Et?hn:Lt)}each$c(ze,function(){var vn="";throw new Error(vn)});function Lt(vn){Ie[vn].entryCount--,Ie[vn].entryCount===0&&Ve.push(vn)}function hn(vn){ze[vn]=!0,Lt(vn)}};function ie(pe){var _e={},Ce=[];return each$c(pe,function($e){var xe=le(_e,$e),Ie=xe.originalDeps=z($e),Ve=ue(Ie,pe);xe.entryCount=Ve.length,xe.entryCount===0&&Ce.push($e),each$c(Ve,function(ze){indexOf(xe.predecessor,ze)<0&&xe.predecessor.push(ze);var Ue=le(_e,ze);indexOf(Ue.successor,ze)<0&&Ue.successor.push($e)})}),{graph:_e,noEntryList:Ce}}function le(pe,_e){return pe[_e]||(pe[_e]={predecessor:[],successor:[]}),pe[_e]}function ue(pe,_e){var Ce=[];return each$c(pe,function($e){indexOf(_e,$e)>=0&&Ce.push($e)}),Ce}}function inheritDefaultOption($,z){return merge(merge({},$,!0),z,!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 $=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return $.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale($,z){$=$.toUpperCase(),localeModels[$]=new Model$1(z),localeStorage[$]=z}function createLocaleObject($){if(isString($)){var z=localeStorage[$.toUpperCase()]||{};return $===LOCALE_ZH||$===LOCALE_EN?clone$3(z):merge(clone$3(z),clone$3(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$3($),clone$3(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel($){return localeModels[$]}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($,z){return $+="","0000".substr(0,z-$.length)+$}function getPrimaryTimeUnit($){switch($){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return $}}function isPrimaryTimeUnit($){return $===getPrimaryTimeUnit($)}function getDefaultFormatPrecisionOfInterval($){switch($){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format$1($,z,ie,le){var ue=parseDate($),pe=ue[fullYearGetterName(ie)](),_e=ue[monthGetterName(ie)]()+1,Ce=Math.floor((_e-1)/3)+1,$e=ue[dateGetterName(ie)](),xe=ue["get"+(ie?"UTC":"")+"Day"](),Ie=ue[hoursGetterName(ie)](),Ve=(Ie-1)%12+1,ze=ue[minutesGetterName(ie)](),Ue=ue[secondsGetterName(ie)](),qe=ue[millisecondsGetterName(ie)](),Et=le instanceof Model$1?le:getLocaleModel(le||SYSTEM_LANG)||getDefaultLocaleModel(),Lt=Et.getModel("time"),hn=Lt.get("month"),vn=Lt.get("monthAbbr"),_n=Lt.get("dayOfWeek"),bn=Lt.get("dayOfWeekAbbr");return(z||"").replace(/{yyyy}/g,pe+"").replace(/{yy}/g,pe%100+"").replace(/{Q}/g,Ce+"").replace(/{MMMM}/g,hn[_e-1]).replace(/{MMM}/g,vn[_e-1]).replace(/{MM}/g,pad(_e,2)).replace(/{M}/g,_e+"").replace(/{dd}/g,pad($e,2)).replace(/{d}/g,$e+"").replace(/{eeee}/g,_n[xe]).replace(/{ee}/g,bn[xe]).replace(/{e}/g,xe+"").replace(/{HH}/g,pad(Ie,2)).replace(/{H}/g,Ie+"").replace(/{hh}/g,pad(Ve+"",2)).replace(/{h}/g,Ve+"").replace(/{mm}/g,pad(ze,2)).replace(/{m}/g,ze+"").replace(/{ss}/g,pad(Ue,2)).replace(/{s}/g,Ue+"").replace(/{SSS}/g,pad(qe,3)).replace(/{S}/g,qe+"")}function leveledFormat($,z,ie,le,ue){var pe=null;if(isString(ie))pe=ie;else if(isFunction(ie))pe=ie($.value,z,{level:$.level});else{var _e=extend({},defaultLeveledFormatter);if($.level>0)for(var Ce=0;Ce<primaryTimeUnits.length;++Ce)_e[primaryTimeUnits[Ce]]="{primary|"+_e[primaryTimeUnits[Ce]]+"}";var $e=ie?ie.inherit===!1?ie:defaults(ie,_e):_e,xe=getUnitFromValue($.value,ue);if($e[xe])pe=$e[xe];else if($e.inherit){for(var Ie=timeUnits.indexOf(xe),Ce=Ie-1;Ce>=0;--Ce)if($e[xe]){pe=$e[xe];break}pe=pe||_e.none}if(isArray$1(pe)){var Ve=$.level==null?0:$.level>=0?$.level:pe.length+$.level;Ve=Math.min(Ve,pe.length-1),pe=pe[Ve]}}return format$1(new Date($.value),pe,ue,le)}function getUnitFromValue($,z){var ie=parseDate($),le=ie[monthGetterName(z)]()+1,ue=ie[dateGetterName(z)](),pe=ie[hoursGetterName(z)](),_e=ie[minutesGetterName(z)](),Ce=ie[secondsGetterName(z)](),$e=ie[millisecondsGetterName(z)](),xe=$e===0,Ie=xe&&Ce===0,Ve=Ie&&_e===0,ze=Ve&&pe===0,Ue=ze&&ue===1,qe=Ue&&le===1;return qe?"year":Ue?"month":ze?"day":Ve?"hour":Ie?"minute":xe?"second":"millisecond"}function getUnitValue($,z,ie){var le=isNumber($)?parseDate($):$;switch(z=z||getUnitFromValue($,ie),z){case"year":return le[fullYearGetterName(ie)]();case"half-year":return le[monthGetterName(ie)]()>=6?1:0;case"quarter":return Math.floor((le[monthGetterName(ie)]()+1)/4);case"month":return le[monthGetterName(ie)]();case"day":return le[dateGetterName(ie)]();case"half-day":return le[hoursGetterName(ie)]()/24;case"hour":return le[hoursGetterName(ie)]();case"minute":return le[minutesGetterName(ie)]();case"second":return le[secondsGetterName(ie)]();case"millisecond":return le[millisecondsGetterName(ie)]()}}function fullYearGetterName($){return $?"getUTCFullYear":"getFullYear"}function monthGetterName($){return $?"getUTCMonth":"getMonth"}function dateGetterName($){return $?"getUTCDate":"getDate"}function hoursGetterName($){return $?"getUTCHours":"getHours"}function minutesGetterName($){return $?"getUTCMinutes":"getMinutes"}function secondsGetterName($){return $?"getUTCSeconds":"getSeconds"}function millisecondsGetterName($){return $?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName($){return $?"setUTCFullYear":"setFullYear"}function monthSetterName($){return $?"setUTCMonth":"setMonth"}function dateSetterName($){return $?"setUTCDate":"setDate"}function hoursSetterName($){return $?"setUTCHours":"setHours"}function minutesSetterName($){return $?"setUTCMinutes":"setMinutes"}function secondsSetterName($){return $?"setUTCSeconds":"setSeconds"}function millisecondsSetterName($){return $?"setUTCMilliseconds":"setMilliseconds"}function getTextRect($,z,ie,le,ue,pe,_e,Ce){var $e=new ZRText$1({style:{text:$,font:z,align:ie,verticalAlign:le,padding:ue,rich:pe,overflow:_e?"truncate":null,lineHeight:Ce}});return $e.getBoundingRect()}function addCommas($){if(!isNumeric($))return isString($)?$:"-";var z=($+"").split(".");return z[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(z.length>1?"."+z[1]:"")}function toCamelCase($,z){return $=($||"").toLowerCase().replace(/-(.)/g,function(ie,le){return le.toUpperCase()}),z&&$&&($=$.charAt(0).toUpperCase()+$.slice(1)),$}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable($,z,ie){var le="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function ue(Ie){return Ie&&trim$1(Ie)?Ie:"-"}function pe(Ie){return!!(Ie!=null&&!isNaN(Ie)&&isFinite(Ie))}var _e=z==="time",Ce=$ instanceof Date;if(_e||Ce){var $e=_e?parseDate($):$;if(isNaN(+$e)){if(Ce)return"-"}else return format$1($e,le,ie)}if(z==="ordinal")return isStringSafe($)?ue($):isNumber($)&&pe($)?$+"":"-";var xe=numericToNumber($);return pe(xe)?addCommas(xe):isStringSafe($)?ue($):typeof $=="boolean"?$+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function($,z){return"{"+$+(z??"")+"}"};function formatTpl($,z,ie){isArray$1(z)||(z=[z]);var le=z.length;if(!le)return"";for(var ue=z[0].$vars||[],pe=0;pe<ue.length;pe++){var _e=TPL_VAR_ALIAS[pe];$=$.replace(wrapVar(_e),wrapVar(_e,0))}for(var Ce=0;Ce<le;Ce++)for(var $e=0;$e<ue.length;$e++){var xe=z[Ce][ue[$e]];$=$.replace(wrapVar(TPL_VAR_ALIAS[$e],Ce),ie?encodeHTML(xe):xe)}return $}function getTooltipMarker($,z){var ie=isString($)?{color:$,extraCssText:z}:$||{},le=ie.color,ue=ie.type;z=ie.extraCssText;var pe=ie.renderMode||"html";if(!le)return"";if(pe==="html")return ue==="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(le)+";"+(z||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(le)+";"+(z||"")+'"></span>';var _e=ie.markerId||"markerX";return{renderMode:pe,content:"{"+_e+"|} ",style:ue==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:le}:{width:10,height:10,borderRadius:5,backgroundColor:le}}}function formatTime($,z,ie){($==="week"||$==="month"||$==="quarter"||$==="half-year"||$==="year")&&($=`MM-dd
|
||
yyyy`);var le=parseDate(z),ue=ie?"getUTC":"get",pe=le[ue+"FullYear"](),_e=le[ue+"Month"]()+1,Ce=le[ue+"Date"](),$e=le[ue+"Hours"](),xe=le[ue+"Minutes"](),Ie=le[ue+"Seconds"](),Ve=le[ue+"Milliseconds"]();return $=$.replace("MM",pad(_e,2)).replace("M",_e).replace("yyyy",pe).replace("yy",pad(pe%100+"",2)).replace("dd",pad(Ce,2)).replace("d",Ce).replace("hh",pad($e,2)).replace("h",$e).replace("mm",pad(xe,2)).replace("m",xe).replace("ss",pad(Ie,2)).replace("s",Ie).replace("SSS",pad(Ve,3)),$}function capitalFirst($){return $&&$.charAt(0).toUpperCase()+$.substr(1)}function convertToColorString($,z){return z=z||"transparent",isString($)?$:isObject$3($)&&$.colorStops&&($.colorStops[0]||{}).color||z}function windowOpen($,z){if(z==="_blank"||z==="blank"){var ie=window.open();ie.opener=null,ie.location.href=$}else window.open($,z)}var each$b=each$c,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout($,z,ie,le,ue){var pe=0,_e=0;le==null&&(le=1/0),ue==null&&(ue=1/0);var Ce=0;z.eachChild(function($e,xe){var Ie=$e.getBoundingRect(),Ve=z.childAt(xe+1),ze=Ve&&Ve.getBoundingRect(),Ue,qe;if($==="horizontal"){var Et=Ie.width+(ze?-ze.x+Ie.x:0);Ue=pe+Et,Ue>le||$e.newline?(pe=0,Ue=Et,_e+=Ce+ie,Ce=Ie.height):Ce=Math.max(Ce,Ie.height)}else{var Lt=Ie.height+(ze?-ze.y+Ie.y:0);qe=_e+Lt,qe>ue||$e.newline?(pe+=Ce+ie,_e=0,qe=Lt,Ce=Ie.width):Ce=Math.max(Ce,Ie.width)}$e.newline||($e.x=pe,$e.y=_e,$e.markRedraw(),$==="horizontal"?pe=Ue+ie:_e=qe+ie)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getLayoutRect($,z,ie){ie=normalizeCssArray(ie||0);var le=z.width,ue=z.height,pe=parsePercent($.left,le),_e=parsePercent($.top,ue),Ce=parsePercent($.right,le),$e=parsePercent($.bottom,ue),xe=parsePercent($.width,le),Ie=parsePercent($.height,ue),Ve=ie[2]+ie[0],ze=ie[1]+ie[3],Ue=$.aspect;switch(isNaN(xe)&&(xe=le-Ce-ze-pe),isNaN(Ie)&&(Ie=ue-$e-Ve-_e),Ue!=null&&(isNaN(xe)&&isNaN(Ie)&&(Ue>le/ue?xe=le*.8:Ie=ue*.8),isNaN(xe)&&(xe=Ue*Ie),isNaN(Ie)&&(Ie=xe/Ue)),isNaN(pe)&&(pe=le-Ce-xe-ze),isNaN(_e)&&(_e=ue-$e-Ie-Ve),$.left||$.right){case"center":pe=le/2-xe/2-ie[3];break;case"right":pe=le-xe-ze;break}switch($.top||$.bottom){case"middle":case"center":_e=ue/2-Ie/2-ie[0];break;case"bottom":_e=ue-Ie-Ve;break}pe=pe||0,_e=_e||0,isNaN(xe)&&(xe=le-ze-pe-(Ce||0)),isNaN(Ie)&&(Ie=ue-Ve-_e-($e||0));var qe=new BoundingRect$1(pe+ie[3],_e+ie[0],xe,Ie);return qe.margin=ie,qe}function positionElement($,z,ie,le,ue,pe){var _e=!ue||!ue.hv||ue.hv[0],Ce=!ue||!ue.hv||ue.hv[1],$e=ue&&ue.boundingMode||"all";if(pe=pe||$,pe.x=$.x,pe.y=$.y,!_e&&!Ce)return!1;var xe;if($e==="raw")xe=$.type==="group"?new BoundingRect$1(0,0,+z.width||0,+z.height||0):$.getBoundingRect();else if(xe=$.getBoundingRect(),$.needLocalTransform()){var Ie=$.getLocalTransform();xe=xe.clone(),xe.applyTransform(Ie)}var Ve=getLayoutRect(defaults({width:xe.width,height:xe.height},z),ie,le),ze=_e?Ve.x-xe.x:0,Ue=Ce?Ve.y-xe.y:0;return $e==="raw"?(pe.x=ze,pe.y=Ue):(pe.x+=ze,pe.y+=Ue),pe===$&&$.markRedraw(),!0}function fetchLayoutMode($){var z=$.layoutMode||$.constructor.layoutMode;return isObject$3(z)?z:z?{type:z}:null}function mergeLayoutParam($,z,ie){var le=ie&&ie.ignoreSize;!isArray$1(le)&&(le=[le,le]);var ue=_e(HV_NAMES[0],0),pe=_e(HV_NAMES[1],1);xe(HV_NAMES[0],$,ue),xe(HV_NAMES[1],$,pe);function _e(Ie,Ve){var ze={},Ue=0,qe={},Et=0,Lt=2;if(each$b(Ie,function(_n){qe[_n]=$[_n]}),each$b(Ie,function(_n){Ce(z,_n)&&(ze[_n]=qe[_n]=z[_n]),$e(ze,_n)&&Ue++,$e(qe,_n)&&Et++}),le[Ve])return $e(z,Ie[1])?qe[Ie[2]]=null:$e(z,Ie[2])&&(qe[Ie[1]]=null),qe;if(Et===Lt||!Ue)return qe;if(Ue>=Lt)return ze;for(var hn=0;hn<Ie.length;hn++){var vn=Ie[hn];if(!Ce(ze,vn)&&Ce($,vn)){ze[vn]=$[vn];break}}return ze}function Ce(Ie,Ve){return Ie.hasOwnProperty(Ve)}function $e(Ie,Ve){return Ie[Ve]!=null&&Ie[Ve]!=="auto"}function xe(Ie,Ve,ze){each$b(Ie,function(Ue){Ve[Ue]=ze[Ue]})}}function getLayoutParams($){return copyLayoutParams({},$)}function copyLayoutParams($,z){return z&&$&&each$b(LOCATION_PARAMS,function(ie){z.hasOwnProperty(ie)&&($[ie]=z[ie])}),$}var inner$c=makeInner(),ComponentModel=function($){__extends(z,$);function z(ie,le,ue){var pe=$.call(this,ie,le,ue)||this;return pe.uid=getUID("ec_cpt_model"),pe}return z.prototype.init=function(ie,le,ue){this.mergeDefaultAndTheme(ie,ue)},z.prototype.mergeDefaultAndTheme=function(ie,le){var ue=fetchLayoutMode(this),pe=ue?getLayoutParams(ie):{},_e=le.getTheme();merge(ie,_e.get(this.mainType)),merge(ie,this.getDefaultOption()),ue&&mergeLayoutParam(ie,pe,ue)},z.prototype.mergeOption=function(ie,le){merge(this.option,ie,!0);var ue=fetchLayoutMode(this);ue&&mergeLayoutParam(this.option,ie,ue)},z.prototype.optionUpdated=function(ie,le){},z.prototype.getDefaultOption=function(){var ie=this.constructor;if(!isExtendedClass(ie))return ie.defaultOption;var le=inner$c(this);if(!le.defaultOption){for(var ue=[],pe=ie;pe;){var _e=pe.prototype.defaultOption;_e&&ue.push(_e),pe=pe.superClass}for(var Ce={},$e=ue.length-1;$e>=0;$e--)Ce=merge(Ce,ue[$e],!0);le.defaultOption=Ce}return le.defaultOption},z.prototype.getReferringComponents=function(ie,le){var ue=ie+"Index",pe=ie+"Id";return queryReferringComponents(this.ecModel,ie,{index:this.get(ue,!0),id:this.get(pe,!0)},le)},z.prototype.getBoxLayoutParams=function(){var ie=this;return{left:ie.get("left"),top:ie.get("top"),right:ie.get("right"),bottom:ie.get("bottom"),width:ie.get("width"),height:ie.get("height")}},z.prototype.getZLevelKey=function(){return""},z.prototype.setZLevel=function(ie){this.option.zlevel=ie},z.protoInitialize=function(){var ie=z.prototype;ie.type="component",ie.id="",ie.name="",ie.mainType="",ie.subType="",ie.componentIndex=0}(),z}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies($){var z=[];return each$c(ComponentModel.getClassesByMainType($),function(ie){z=z.concat(ie.dependencies||ie.prototype.dependencies||[])}),z=map$2(z,function(ie){return parseClassType(ie).main}),$!=="dataset"&&indexOf(z,"dataset")<=0&&z.unshift("dataset"),z}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($){innerGlobalModel($).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys($,z,ie){var le={},ue=querySeriesUpstreamDatasetModel(z);if(!ue||!$)return le;var pe=[],_e=[],Ce=z.ecModel,$e=innerGlobalModel(Ce).datasetMap,xe=ue.uid+"_"+ie.seriesLayoutBy,Ie,Ve;$=$.slice(),each$c($,function(Et,Lt){var hn=isObject$3(Et)?Et:$[Lt]={name:Et};hn.type==="ordinal"&&Ie==null&&(Ie=Lt,Ve=qe(hn)),le[hn.name]=[]});var ze=$e.get(xe)||$e.set(xe,{categoryWayDim:Ve,valueWayDim:0});each$c($,function(Et,Lt){var hn=Et.name,vn=qe(Et);if(Ie==null){var _n=ze.valueWayDim;Ue(le[hn],_n,vn),Ue(_e,_n,vn),ze.valueWayDim+=vn}else if(Ie===Lt)Ue(le[hn],0,vn),Ue(pe,0,vn);else{var _n=ze.categoryWayDim;Ue(le[hn],_n,vn),Ue(_e,_n,vn),ze.categoryWayDim+=vn}});function Ue(Et,Lt,hn){for(var vn=0;vn<hn;vn++)Et.push(Lt+vn)}function qe(Et){var Lt=Et.dimsDef;return Lt?Lt.length:1}return pe.length&&(le.itemName=pe),_e.length&&(le.seriesName=_e),le}function makeSeriesEncodeForNameBased($,z,ie){var le={},ue=querySeriesUpstreamDatasetModel($);if(!ue)return le;var pe=z.sourceFormat,_e=z.dimensionsDefine,Ce;(pe===SOURCE_FORMAT_OBJECT_ROWS||pe===SOURCE_FORMAT_KEYED_COLUMNS)&&each$c(_e,function(Ie,Ve){(isObject$3(Ie)?Ie.name:Ie)==="name"&&(Ce=Ve)});var $e=function(){for(var Ie={},Ve={},ze=[],Ue=0,qe=Math.min(5,ie);Ue<qe;Ue++){var Et=doGuessOrdinal(z.data,pe,z.seriesLayoutBy,_e,z.startIndex,Ue);ze.push(Et);var Lt=Et===BE_ORDINAL.Not;if(Lt&&Ie.v==null&&Ue!==Ce&&(Ie.v=Ue),(Ie.n==null||Ie.n===Ie.v||!Lt&&ze[Ie.n]===BE_ORDINAL.Not)&&(Ie.n=Ue),hn(Ie)&&ze[Ie.n]!==BE_ORDINAL.Not)return Ie;Lt||(Et===BE_ORDINAL.Might&&Ve.v==null&&Ue!==Ce&&(Ve.v=Ue),(Ve.n==null||Ve.n===Ve.v)&&(Ve.n=Ue))}function hn(vn){return vn.v!=null&&vn.n!=null}return hn(Ie)?Ie:hn(Ve)?Ve:null}();if($e){le.value=[$e.v];var xe=Ce??$e.n;le.itemName=[xe],le.seriesName=[xe]}return le}function querySeriesUpstreamDatasetModel($){var z=$.get("data",!0);if(!z)return queryReferringComponents($.ecModel,"dataset",{index:$.get("datasetIndex",!0),id:$.get("datasetId",!0)},SINGLE_REFERRING).models[0]}function queryDatasetUpstreamDatasetModels($){return!$.get("transform",!0)&&!$.get("fromTransformResult",!0)?[]:queryReferringComponents($.ecModel,"dataset",{index:$.get("fromDatasetIndex",!0),id:$.get("fromDatasetId",!0)},SINGLE_REFERRING).models}function guessOrdinal($,z){return doGuessOrdinal($.data,$.sourceFormat,$.seriesLayoutBy,$.dimensionsDefine,$.startIndex,z)}function doGuessOrdinal($,z,ie,le,ue,pe){var _e,Ce=5;if(isTypedArray($))return BE_ORDINAL.Not;var $e,xe;if(le){var Ie=le[pe];isObject$3(Ie)?($e=Ie.name,xe=Ie.type):isString(Ie)&&($e=Ie)}if(xe!=null)return xe==="ordinal"?BE_ORDINAL.Must:BE_ORDINAL.Not;if(z===SOURCE_FORMAT_ARRAY_ROWS){var Ve=$;if(ie===SERIES_LAYOUT_BY_ROW){for(var ze=Ve[pe],Ue=0;Ue<(ze||[]).length&&Ue<Ce;Ue++)if((_e=bn(ze[ue+Ue]))!=null)return _e}else for(var Ue=0;Ue<Ve.length&&Ue<Ce;Ue++){var qe=Ve[ue+Ue];if(qe&&(_e=bn(qe[pe]))!=null)return _e}}else if(z===SOURCE_FORMAT_OBJECT_ROWS){var Et=$;if(!$e)return BE_ORDINAL.Not;for(var Ue=0;Ue<Et.length&&Ue<Ce;Ue++){var Lt=Et[Ue];if(Lt&&(_e=bn(Lt[$e]))!=null)return _e}}else if(z===SOURCE_FORMAT_KEYED_COLUMNS){var hn=$;if(!$e)return BE_ORDINAL.Not;var ze=hn[$e];if(!ze||isTypedArray(ze))return BE_ORDINAL.Not;for(var Ue=0;Ue<ze.length&&Ue<Ce;Ue++)if((_e=bn(ze[Ue]))!=null)return _e}else if(z===SOURCE_FORMAT_ORIGINAL)for(var vn=$,Ue=0;Ue<vn.length&&Ue<Ce;Ue++){var Lt=vn[Ue],_n=getDataItemValue(Lt);if(!isArray$1(_n))return BE_ORDINAL.Not;if((_e=bn(_n[pe]))!=null)return _e}function bn(Cn){var Sn=isString(Cn);if(Cn!=null&&isFinite(Cn)&&Cn!=="")return Sn?BE_ORDINAL.Might:BE_ORDINAL.Not;if(Sn&&Cn!=="-")return BE_ORDINAL.Must}return BE_ORDINAL.Not}var internalOptionCreatorMap=createHashMap();function registerInternalOptionCreator($,z){assert(internalOptionCreatorMap.get($)==null&&z),internalOptionCreatorMap.set($,z)}function concatInternalOptions($,z,ie){var le=internalOptionCreatorMap.get(z);if(!le)return ie;var ue=le($);return ue?ie.concat(ue):ie}var innerColor=makeInner();makeInner();var PaletteMixin=function(){function $(){}return $.prototype.getColorFromPalette=function(z,ie,le){var ue=normalizeToArray(this.get("color",!0)),pe=this.get("colorLayer",!0);return getFromPalette(this,innerColor,ue,pe,z,ie,le)},$.prototype.clearColorPalette=function(){clearPalette(this,innerColor)},$}();function getNearestPalette($,z){for(var ie=$.length,le=0;le<ie;le++)if($[le].length>z)return $[le];return $[ie-1]}function getFromPalette($,z,ie,le,ue,pe,_e){pe=pe||$;var Ce=z(pe),$e=Ce.paletteIdx||0,xe=Ce.paletteNameMap=Ce.paletteNameMap||{};if(xe.hasOwnProperty(ue))return xe[ue];var Ie=_e==null||!le?ie:getNearestPalette(le,_e);if(Ie=Ie||ie,!(!Ie||!Ie.length)){var Ve=Ie[$e];return ue&&(xe[ue]=Ve),Ce.paletteIdx=($e+1)%Ie.length,Ve}}function clearPalette($,z){z($).paletteIdx=0,z($).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.init=function(ie,le,ue,pe,_e,Ce){pe=pe||{},this.option=null,this._theme=new Model$1(pe),this._locale=new Model$1(_e),this._optionManager=Ce},z.prototype.setOption=function(ie,le,ue){var pe=normalizeSetOptionInput(le);this._optionManager.setOption(ie,ue,pe),this._resetOption(null,pe)},z.prototype.resetOption=function(ie,le){return this._resetOption(ie,normalizeSetOptionInput(le))},z.prototype._resetOption=function(ie,le){var ue=!1,pe=this._optionManager;if(!ie||ie==="recreate"){var _e=pe.mountOption(ie==="recreate");!this.option||ie==="recreate"?initBase(this,_e):(this.restoreData(),this._mergeOption(_e,le)),ue=!0}if((ie==="timeline"||ie==="media")&&this.restoreData(),!ie||ie==="recreate"||ie==="timeline"){var Ce=pe.getTimelineOption(this);Ce&&(ue=!0,this._mergeOption(Ce,le))}if(!ie||ie==="recreate"||ie==="media"){var $e=pe.getMediaOption(this);$e.length&&each$c($e,function(xe){ue=!0,this._mergeOption(xe,le)},this)}return ue},z.prototype.mergeOption=function(ie){this._mergeOption(ie,null)},z.prototype._mergeOption=function(ie,le){var ue=this.option,pe=this._componentsMap,_e=this._componentsCount,Ce=[],$e=createHashMap(),xe=le&&le.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$c(ie,function(Ve,ze){Ve!=null&&(ComponentModel$1.hasClass(ze)?ze&&(Ce.push(ze),$e.set(ze,!0)):ue[ze]=ue[ze]==null?clone$3(Ve):merge(ue[ze],Ve,!0))}),xe&&xe.each(function(Ve,ze){ComponentModel$1.hasClass(ze)&&!$e.get(ze)&&(Ce.push(ze),$e.set(ze,!0))}),ComponentModel$1.topologicalTravel(Ce,ComponentModel$1.getAllClassMainTypes(),Ie,this);function Ie(Ve){var ze=concatInternalOptions(this,Ve,normalizeToArray(ie[Ve])),Ue=pe.get(Ve),qe=Ue?xe&&xe.get(Ve)?"replaceMerge":"normalMerge":"replaceAll",Et=mappingToExists(Ue,ze,qe);setComponentTypeToKeyInfo(Et,Ve,ComponentModel$1),ue[Ve]=null,pe.set(Ve,null),_e.set(Ve,0);var Lt=[],hn=[],vn=0,_n;each$c(Et,function(bn,Cn){var Sn=bn.existing,En=bn.newOption;if(!En)Sn&&(Sn.mergeOption({},this),Sn.optionUpdated({},!1));else{var wn=Ve==="series",Tn=ComponentModel$1.getClass(Ve,bn.keyInfo.subType,!wn);if(!Tn)return;if(Ve==="tooltip"){if(_n)return;_n=!0}if(Sn&&Sn.constructor===Tn)Sn.name=bn.keyInfo.name,Sn.mergeOption(En,this),Sn.optionUpdated(En,!1);else{var kn=extend({componentIndex:Cn},bn.keyInfo);Sn=new Tn(En,this,this,kn),extend(Sn,kn),bn.brandNew&&(Sn.__requireNewView=!0),Sn.init(En,this,this),Sn.optionUpdated(null,!0)}}Sn?(Lt.push(Sn.option),hn.push(Sn),vn++):(Lt.push(void 0),hn.push(void 0))},this),ue[Ve]=Lt,pe.set(Ve,hn),_e.set(Ve,vn),Ve==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},z.prototype.getOption=function(){var ie=clone$3(this.option);return each$c(ie,function(le,ue){if(ComponentModel$1.hasClass(ue)){for(var pe=normalizeToArray(le),_e=pe.length,Ce=!1,$e=_e-1;$e>=0;$e--)pe[$e]&&!isComponentIdInternal(pe[$e])?Ce=!0:(pe[$e]=null,!Ce&&_e--);pe.length=_e,ie[ue]=pe}}),delete ie[OPTION_INNER_KEY],ie},z.prototype.getTheme=function(){return this._theme},z.prototype.getLocaleModel=function(){return this._locale},z.prototype.setUpdatePayload=function(ie){this._payload=ie},z.prototype.getUpdatePayload=function(){return this._payload},z.prototype.getComponent=function(ie,le){var ue=this._componentsMap.get(ie);if(ue){var pe=ue[le||0];if(pe)return pe;if(le==null){for(var _e=0;_e<ue.length;_e++)if(ue[_e])return ue[_e]}}},z.prototype.queryComponents=function(ie){var le=ie.mainType;if(!le)return[];var ue=ie.index,pe=ie.id,_e=ie.name,Ce=this._componentsMap.get(le);if(!Ce||!Ce.length)return[];var $e;return ue!=null?($e=[],each$c(normalizeToArray(ue),function(xe){Ce[xe]&&$e.push(Ce[xe])})):pe!=null?$e=queryByIdOrName("id",pe,Ce):_e!=null?$e=queryByIdOrName("name",_e,Ce):$e=filter(Ce,function(xe){return!!xe}),filterBySubType($e,ie)},z.prototype.findComponents=function(ie){var le=ie.query,ue=ie.mainType,pe=Ce(le),_e=pe?this.queryComponents(pe):filter(this._componentsMap.get(ue),function(xe){return!!xe});return $e(filterBySubType(_e,ie));function Ce(xe){var Ie=ue+"Index",Ve=ue+"Id",ze=ue+"Name";return xe&&(xe[Ie]!=null||xe[Ve]!=null||xe[ze]!=null)?{mainType:ue,index:xe[Ie],id:xe[Ve],name:xe[ze]}:null}function $e(xe){return ie.filter?filter(xe,ie.filter):xe}},z.prototype.eachComponent=function(ie,le,ue){var pe=this._componentsMap;if(isFunction(ie)){var _e=le,Ce=ie;pe.each(function(Ve,ze){for(var Ue=0;Ve&&Ue<Ve.length;Ue++){var qe=Ve[Ue];qe&&Ce.call(_e,ze,qe,qe.componentIndex)}})}else for(var $e=isString(ie)?pe.get(ie):isObject$3(ie)?this.findComponents(ie):null,xe=0;$e&&xe<$e.length;xe++){var Ie=$e[xe];Ie&&le.call(ue,Ie,Ie.componentIndex)}},z.prototype.getSeriesByName=function(ie){var le=convertOptionIdName(ie,null);return filter(this._componentsMap.get("series"),function(ue){return!!ue&&le!=null&&ue.name===le})},z.prototype.getSeriesByIndex=function(ie){return this._componentsMap.get("series")[ie]},z.prototype.getSeriesByType=function(ie){return filter(this._componentsMap.get("series"),function(le){return!!le&&le.subType===ie})},z.prototype.getSeries=function(){return filter(this._componentsMap.get("series"),function(ie){return!!ie})},z.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},z.prototype.eachSeries=function(ie,le){assertSeriesInitialized(this),each$c(this._seriesIndices,function(ue){var pe=this._componentsMap.get("series")[ue];ie.call(le,pe,ue)},this)},z.prototype.eachRawSeries=function(ie,le){each$c(this._componentsMap.get("series"),function(ue){ue&&ie.call(le,ue,ue.componentIndex)})},z.prototype.eachSeriesByType=function(ie,le,ue){assertSeriesInitialized(this),each$c(this._seriesIndices,function(pe){var _e=this._componentsMap.get("series")[pe];_e.subType===ie&&le.call(ue,_e,pe)},this)},z.prototype.eachRawSeriesByType=function(ie,le,ue){return each$c(this.getSeriesByType(ie),le,ue)},z.prototype.isSeriesFiltered=function(ie){return assertSeriesInitialized(this),this._seriesIndicesMap.get(ie.componentIndex)==null},z.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},z.prototype.filterSeries=function(ie,le){assertSeriesInitialized(this);var ue=[];each$c(this._seriesIndices,function(pe){var _e=this._componentsMap.get("series")[pe];ie.call(le,_e,pe)&&ue.push(pe)},this),this._seriesIndices=ue,this._seriesIndicesMap=createHashMap(ue)},z.prototype.restoreData=function(ie){reCreateSeriesIndices(this);var le=this._componentsMap,ue=[];le.each(function(pe,_e){ComponentModel$1.hasClass(_e)&&ue.push(_e)}),ComponentModel$1.topologicalTravel(ue,ComponentModel$1.getAllClassMainTypes(),function(pe){each$c(le.get(pe),function(_e){_e&&(pe!=="series"||!isNotTargetSeries(_e,ie))&&_e.restoreData()})})},z.internalField=function(){reCreateSeriesIndices=function(ie){var le=ie._seriesIndices=[];each$c(ie._componentsMap.get("series"),function(ue){ue&&le.push(ue.componentIndex)}),ie._seriesIndicesMap=createHashMap(le)},assertSeriesInitialized=function(ie){},initBase=function(ie,le){ie.option={},ie.option[OPTION_INNER_KEY]=OPTION_INNER_VALUE,ie._componentsMap=createHashMap({series:[]}),ie._componentsCount=createHashMap();var ue=le.aria;isObject$3(ue)&&ue.enabled==null&&(ue.enabled=!0),mergeTheme(le,ie._theme.option),merge(le,globalDefault,!1),ie._mergeOption(le,null)}}(),z}(Model$1);function isNotTargetSeries($,z){if(z){var ie=z.seriesIndex,le=z.seriesId,ue=z.seriesName;return ie!=null&&$.componentIndex!==ie||le!=null&&$.id!==le||ue!=null&&$.name!==ue}}function mergeTheme($,z){var ie=$.color&&!$.colorLayer;each$c(z,function(le,ue){ue==="colorLayer"&&ie||ComponentModel$1.hasClass(ue)||(typeof le=="object"?$[ue]=$[ue]?merge($[ue],le,!1):clone$3(le):$[ue]==null&&($[ue]=le))})}function queryByIdOrName($,z,ie){if(isArray$1(z)){var le=createHashMap();return each$c(z,function(pe){if(pe!=null){var _e=convertOptionIdName(pe,null);_e!=null&&le.set(pe,!0)}}),filter(ie,function(pe){return pe&&le.get(pe[$])})}else{var ue=convertOptionIdName(z,null);return filter(ie,function(pe){return pe&&ue!=null&&pe[$]===ue})}}function filterBySubType($,z){return z.hasOwnProperty("subType")?filter($,function(ie){return ie&&ie.subType===z.subType}):$}function normalizeSetOptionInput($){var z=createHashMap();return $&&each$c(normalizeToArray($.replaceMerge),function(ie){z.set(ie,!0)}),{replaceMergeMainTypeMap:z}}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 $(z){each$c(availableMethods,function(ie){this[ie]=bind$1(z[ie],z)},this)}return $}();const ExtensionAPI$1=ExtensionAPI;var coordinateSystemCreators={},CoordinateSystemManager=function(){function $(){this._coordinateSystems=[]}return $.prototype.create=function(z,ie){var le=[];each$c(coordinateSystemCreators,function(ue,pe){var _e=ue.create(z,ie);le=le.concat(_e||[])}),this._coordinateSystems=le},$.prototype.update=function(z,ie){each$c(this._coordinateSystems,function(le){le.update&&le.update(z,ie)})},$.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},$.register=function(z,ie){coordinateSystemCreators[z]=ie},$.get=function(z){return coordinateSystemCreators[z]},$}();const CoordinateSystem=CoordinateSystemManager;var QUERY_REG=/^(min|max)?(.+)$/,OptionManager=function(){function $(z){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=z}return $.prototype.setOption=function(z,ie,le){z&&(each$c(normalizeToArray(z.series),function(_e){_e&&_e.data&&isTypedArray(_e.data)&&setAsPrimitive(_e.data)}),each$c(normalizeToArray(z.dataset),function(_e){_e&&_e.source&&isTypedArray(_e.source)&&setAsPrimitive(_e.source)})),z=clone$3(z);var ue=this._optionBackup,pe=parseRawOption(z,ie,!ue);this._newBaseOption=pe.baseOption,ue?(pe.timelineOptions.length&&(ue.timelineOptions=pe.timelineOptions),pe.mediaList.length&&(ue.mediaList=pe.mediaList),pe.mediaDefault&&(ue.mediaDefault=pe.mediaDefault)):this._optionBackup=pe},$.prototype.mountOption=function(z){var ie=this._optionBackup;return this._timelineOptions=ie.timelineOptions,this._mediaList=ie.mediaList,this._mediaDefault=ie.mediaDefault,this._currentMediaIndices=[],clone$3(z?ie.baseOption:this._newBaseOption)},$.prototype.getTimelineOption=function(z){var ie,le=this._timelineOptions;if(le.length){var ue=z.getComponent("timeline");ue&&(ie=clone$3(le[ue.getCurrentIndex()]))}return ie},$.prototype.getMediaOption=function(z){var ie=this._api.getWidth(),le=this._api.getHeight(),ue=this._mediaList,pe=this._mediaDefault,_e=[],Ce=[];if(!ue.length&&!pe)return Ce;for(var $e=0,xe=ue.length;$e<xe;$e++)applyMediaQuery(ue[$e].query,ie,le)&&_e.push($e);return!_e.length&&pe&&(_e=[-1]),_e.length&&!indicesEquals(_e,this._currentMediaIndices)&&(Ce=map$2(_e,function(Ie){return clone$3(Ie===-1?pe.option:ue[Ie].option)})),this._currentMediaIndices=_e,Ce},$}();function parseRawOption($,z,ie){var le=[],ue,pe,_e=$.baseOption,Ce=$.timeline,$e=$.options,xe=$.media,Ie=!!$.media,Ve=!!($e||Ce||_e&&_e.timeline);_e?(pe=_e,pe.timeline||(pe.timeline=Ce)):((Ve||Ie)&&($.options=$.media=null),pe=$),Ie&&isArray$1(xe)&&each$c(xe,function(Ue){Ue&&Ue.option&&(Ue.query?le.push(Ue):ue||(ue=Ue))}),ze(pe),each$c($e,function(Ue){return ze(Ue)}),each$c(le,function(Ue){return ze(Ue.option)});function ze(Ue){each$c(z,function(qe){qe(Ue,ie)})}return{baseOption:pe,timelineOptions:$e||[],mediaDefault:ue,mediaList:le}}function applyMediaQuery($,z,ie){var le={width:z,height:ie,aspectratio:z/ie},ue=!0;return each$c($,function(pe,_e){var Ce=_e.match(QUERY_REG);if(!(!Ce||!Ce[1]||!Ce[2])){var $e=Ce[1],xe=Ce[2].toLowerCase();compare(le[xe],pe,$e)||(ue=!1)}}),ue}function compare($,z,ie){return ie==="min"?$>=z:ie==="max"?$<=z:$===z}function indicesEquals($,z){return $.join(",")===z.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($){var z=$&&$.itemStyle;if(z)for(var ie=0,le=POSSIBLE_STYLES.length;ie<le;ie++){var ue=POSSIBLE_STYLES[ie],pe=z.normal,_e=z.emphasis;pe&&pe[ue]&&($[ue]=$[ue]||{},$[ue].normal?merge($[ue].normal,pe[ue]):$[ue].normal=pe[ue],pe[ue]=null),_e&&_e[ue]&&($[ue]=$[ue]||{},$[ue].emphasis?merge($[ue].emphasis,_e[ue]):$[ue].emphasis=_e[ue],_e[ue]=null)}}function convertNormalEmphasis($,z,ie){if($&&$[z]&&($[z].normal||$[z].emphasis)){var le=$[z].normal,ue=$[z].emphasis;le&&(ie?($[z].normal=$[z].emphasis=null,defaults($[z],le)):$[z]=le),ue&&($.emphasis=$.emphasis||{},$.emphasis[z]=ue,ue.focus&&($.emphasis.focus=ue.focus),ue.blurScope&&($.emphasis.blurScope=ue.blurScope))}}function removeEC3NormalStatus($){convertNormalEmphasis($,"itemStyle"),convertNormalEmphasis($,"lineStyle"),convertNormalEmphasis($,"areaStyle"),convertNormalEmphasis($,"label"),convertNormalEmphasis($,"labelLine"),convertNormalEmphasis($,"upperLabel"),convertNormalEmphasis($,"edgeLabel")}function compatTextStyle($,z){var ie=isObject$2($)&&$[z],le=isObject$2(ie)&&ie.textStyle;if(le)for(var ue=0,pe=TEXT_STYLE_OPTIONS.length;ue<pe;ue++){var _e=TEXT_STYLE_OPTIONS[ue];le.hasOwnProperty(_e)&&(ie[_e]=le[_e])}}function compatEC3CommonStyles($){$&&(removeEC3NormalStatus($),compatTextStyle($,"label"),$.emphasis&&compatTextStyle($.emphasis,"label"))}function processSeries($){if(isObject$2($)){compatEC2ItemStyle($),removeEC3NormalStatus($),compatTextStyle($,"label"),compatTextStyle($,"upperLabel"),compatTextStyle($,"edgeLabel"),$.emphasis&&(compatTextStyle($.emphasis,"label"),compatTextStyle($.emphasis,"upperLabel"),compatTextStyle($.emphasis,"edgeLabel"));var z=$.markPoint;z&&(compatEC2ItemStyle(z),compatEC3CommonStyles(z));var ie=$.markLine;ie&&(compatEC2ItemStyle(ie),compatEC3CommonStyles(ie));var le=$.markArea;le&&compatEC3CommonStyles(le);var ue=$.data;if($.type==="graph"){ue=ue||$.nodes;var pe=$.links||$.edges;if(pe&&!isTypedArray(pe))for(var _e=0;_e<pe.length;_e++)compatEC3CommonStyles(pe[_e]);each$c($.categories,function(xe){removeEC3NormalStatus(xe)})}if(ue&&!isTypedArray(ue))for(var _e=0;_e<ue.length;_e++)compatEC3CommonStyles(ue[_e]);if(z=$.markPoint,z&&z.data)for(var Ce=z.data,_e=0;_e<Ce.length;_e++)compatEC3CommonStyles(Ce[_e]);if(ie=$.markLine,ie&&ie.data)for(var $e=ie.data,_e=0;_e<$e.length;_e++)isArray$1($e[_e])?(compatEC3CommonStyles($e[_e][0]),compatEC3CommonStyles($e[_e][1])):compatEC3CommonStyles($e[_e]);$.type==="gauge"?(compatTextStyle($,"axisLabel"),compatTextStyle($,"title"),compatTextStyle($,"detail")):$.type==="treemap"?(convertNormalEmphasis($.breadcrumb,"itemStyle"),each$c($.levels,function(xe){removeEC3NormalStatus(xe)})):$.type==="tree"&&removeEC3NormalStatus($.leaves)}}function toArr($){return isArray$1($)?$:$?[$]:[]}function toObj($){return(isArray$1($)?$[0]:$)||{}}function globalCompatStyle($,z){each$a(toArr($.series),function(le){isObject$2(le)&&processSeries(le)});var ie=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];z&&ie.push("valueAxis","categoryAxis","logAxis","timeAxis"),each$a(ie,function(le){each$a(toArr($[le]),function(ue){ue&&(compatTextStyle(ue,"axisLabel"),compatTextStyle(ue.axisPointer,"label"))})}),each$a(toArr($.parallel),function(le){var ue=le&&le.parallelAxisDefault;compatTextStyle(ue,"axisLabel"),compatTextStyle(ue&&ue.axisPointer,"label")}),each$a(toArr($.calendar),function(le){convertNormalEmphasis(le,"itemStyle"),compatTextStyle(le,"dayLabel"),compatTextStyle(le,"monthLabel"),compatTextStyle(le,"yearLabel")}),each$a(toArr($.radar),function(le){compatTextStyle(le,"name"),le.name&&le.axisName==null&&(le.axisName=le.name,delete le.name),le.nameGap!=null&&le.axisNameGap==null&&(le.axisNameGap=le.nameGap,delete le.nameGap)}),each$a(toArr($.geo),function(le){isObject$2(le)&&(compatEC3CommonStyles(le),each$a(toArr(le.regions),function(ue){compatEC3CommonStyles(ue)}))}),each$a(toArr($.timeline),function(le){compatEC3CommonStyles(le),convertNormalEmphasis(le,"label"),convertNormalEmphasis(le,"itemStyle"),convertNormalEmphasis(le,"controlStyle",!0);var ue=le.data;isArray$1(ue)&&each$c(ue,function(pe){isObject$3(pe)&&(convertNormalEmphasis(pe,"label"),convertNormalEmphasis(pe,"itemStyle"))})}),each$a(toArr($.toolbox),function(le){convertNormalEmphasis(le,"iconStyle"),each$a(le.feature,function(ue){convertNormalEmphasis(ue,"iconStyle")})}),compatTextStyle(toObj($.axisPointer),"label"),compatTextStyle(toObj($.tooltip).axisPointer,"label")}function get($,z){for(var ie=z.split(","),le=$,ue=0;ue<ie.length&&(le=le&&le[ie[ue]],le!=null);ue++);return le}function set($,z,ie,le){for(var ue=z.split(","),pe=$,_e,Ce=0;Ce<ue.length-1;Ce++)_e=ue[Ce],pe[_e]==null&&(pe[_e]={}),pe=pe[_e];(le||pe[ue[Ce]]==null)&&(pe[ue[Ce]]=ie)}function compatLayoutProperties($){$&&each$c(LAYOUT_PROPERTIES,function(z){z[0]in $&&!(z[1]in $)&&($[z[1]]=$[z[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($){var z=$&&$.itemStyle;if(z)for(var ie=0;ie<BAR_ITEM_STYLE_MAP.length;ie++){var le=BAR_ITEM_STYLE_MAP[ie][1],ue=BAR_ITEM_STYLE_MAP[ie][0];z[le]!=null&&(z[ue]=z[le])}}function compatPieLabel($){$&&$.alignTo==="edge"&&$.margin!=null&&$.edgeDistance==null&&($.edgeDistance=$.margin)}function compatSunburstState($){$&&$.downplay&&!$.blur&&($.blur=$.downplay)}function compatGraphFocus($){$&&$.focusNodeAdjacency!=null&&($.emphasis=$.emphasis||{},$.emphasis.focus==null&&($.emphasis.focus="adjacency"))}function traverseTree($,z){if($)for(var ie=0;ie<$.length;ie++)z($[ie]),$[ie]&&traverseTree($[ie].children,z)}function globalBackwardCompat($,z){globalCompatStyle($,z),$.series=normalizeToArray($.series),each$c($.series,function(ie){if(isObject$3(ie)){var le=ie.type;if(le==="line")ie.clipOverflow!=null&&(ie.clip=ie.clipOverflow);else if(le==="pie"||le==="gauge"){ie.clockWise!=null&&(ie.clockwise=ie.clockWise),compatPieLabel(ie.label);var ue=ie.data;if(ue&&!isTypedArray(ue))for(var pe=0;pe<ue.length;pe++)compatPieLabel(ue[pe]);ie.hoverOffset!=null&&(ie.emphasis=ie.emphasis||{},(ie.emphasis.scaleSize=null)&&(ie.emphasis.scaleSize=ie.hoverOffset))}else if(le==="gauge"){var _e=get(ie,"pointer.color");_e!=null&&set(ie,"itemStyle.color",_e)}else if(le==="bar"){compatBarItemStyle(ie),compatBarItemStyle(ie.backgroundStyle),compatBarItemStyle(ie.emphasis);var ue=ie.data;if(ue&&!isTypedArray(ue))for(var pe=0;pe<ue.length;pe++)typeof ue[pe]=="object"&&(compatBarItemStyle(ue[pe]),compatBarItemStyle(ue[pe]&&ue[pe].emphasis))}else if(le==="sunburst"){var Ce=ie.highlightPolicy;Ce&&(ie.emphasis=ie.emphasis||{},ie.emphasis.focus||(ie.emphasis.focus=Ce)),compatSunburstState(ie),traverseTree(ie.data,compatSunburstState)}else le==="graph"||le==="sankey"?compatGraphFocus(ie):le==="map"&&(ie.mapType&&!ie.map&&(ie.map=ie.mapType),ie.mapLocation&&defaults(ie,ie.mapLocation));ie.hoverAnimation!=null&&(ie.emphasis=ie.emphasis||{},ie.emphasis&&ie.emphasis.scale==null&&(ie.emphasis.scale=ie.hoverAnimation)),compatLayoutProperties(ie)}}),$.dataRange&&($.visualMap=$.dataRange),each$c(COMPATITABLE_COMPONENTS,function(ie){var le=$[ie];le&&(isArray$1(le)||(le=[le]),each$c(le,function(ue){compatLayoutProperties(ue)}))})}function dataStack$1($){var z=createHashMap();$.eachSeries(function(ie){var le=ie.get("stack");if(le){var ue=z.get(le)||z.set(le,[]),pe=ie.getData(),_e={stackResultDimension:pe.getCalculationInfo("stackResultDimension"),stackedOverDimension:pe.getCalculationInfo("stackedOverDimension"),stackedDimension:pe.getCalculationInfo("stackedDimension"),stackedByDimension:pe.getCalculationInfo("stackedByDimension"),isStackedByIndex:pe.getCalculationInfo("isStackedByIndex"),data:pe,seriesModel:ie};if(!_e.stackedDimension||!(_e.isStackedByIndex||_e.stackedByDimension))return;ue.length&&pe.setCalculationInfo("stackedOnSeries",ue[ue.length-1].seriesModel),ue.push(_e)}}),z.each(calculateStack)}function calculateStack($){each$c($,function(z,ie){var le=[],ue=[NaN,NaN],pe=[z.stackResultDimension,z.stackedOverDimension],_e=z.data,Ce=z.isStackedByIndex,$e=z.seriesModel.get("stackStrategy")||"samesign";_e.modify(pe,function(xe,Ie,Ve){var ze=_e.get(z.stackedDimension,Ve);if(isNaN(ze))return ue;var Ue,qe;Ce?qe=_e.getRawIndex(Ve):Ue=_e.get(z.stackedByDimension,Ve);for(var Et=NaN,Lt=ie-1;Lt>=0;Lt--){var hn=$[Lt];if(Ce||(qe=hn.data.rawIndexOf(hn.stackedByDimension,Ue)),qe>=0){var vn=hn.data.getByRawIndex(hn.stackResultDimension,qe);if($e==="all"||$e==="positive"&&vn>0||$e==="negative"&&vn<0||$e==="samesign"&&ze>=0&&vn>0||$e==="samesign"&&ze<=0&&vn<0){ze=addSafe(ze,vn),Et=vn;break}}}return le[0]=ze,le[1]=Et,le})})}var SourceImpl=function(){function $(z){this.data=z.data||(z.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=z.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=z.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=z.startIndex||0,this.dimensionsDetectedCount=z.dimensionsDetectedCount,this.metaRawOption=z.metaRawOption;var ie=this.dimensionsDefine=z.dimensionsDefine;if(ie)for(var le=0;le<ie.length;le++){var ue=ie[le];ue.type==null&&guessOrdinal(this,le)===BE_ORDINAL.Must&&(ue.type="ordinal")}}return $}();function isSourceInstance($){return $ instanceof SourceImpl}function createSource($,z,ie){ie=ie||detectSourceFormat($);var le=z.seriesLayoutBy,ue=determineSourceDimensions($,ie,le,z.sourceHeader,z.dimensions),pe=new SourceImpl({data:$,sourceFormat:ie,seriesLayoutBy:le,dimensionsDefine:ue.dimensionsDefine,startIndex:ue.startIndex,dimensionsDetectedCount:ue.dimensionsDetectedCount,metaRawOption:clone$3(z)});return pe}function createSourceFromSeriesDataOption($){return new SourceImpl({data:$,sourceFormat:isTypedArray($)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL})}function cloneSourceShallow($){return new SourceImpl({data:$.data,sourceFormat:$.sourceFormat,seriesLayoutBy:$.seriesLayoutBy,dimensionsDefine:clone$3($.dimensionsDefine),startIndex:$.startIndex,dimensionsDetectedCount:$.dimensionsDetectedCount})}function detectSourceFormat($){var z=SOURCE_FORMAT_UNKNOWN;if(isTypedArray($))z=SOURCE_FORMAT_TYPED_ARRAY;else if(isArray$1($)){$.length===0&&(z=SOURCE_FORMAT_ARRAY_ROWS);for(var ie=0,le=$.length;ie<le;ie++){var ue=$[ie];if(ue!=null){if(isArray$1(ue)){z=SOURCE_FORMAT_ARRAY_ROWS;break}else if(isObject$3(ue)){z=SOURCE_FORMAT_OBJECT_ROWS;break}}}}else if(isObject$3($)){for(var pe in $)if(hasOwn($,pe)&&isArrayLike($[pe])){z=SOURCE_FORMAT_KEYED_COLUMNS;break}}return z}function determineSourceDimensions($,z,ie,le,ue){var pe,_e;if(!$)return{dimensionsDefine:normalizeDimensionsOption(ue),startIndex:_e,dimensionsDetectedCount:pe};if(z===SOURCE_FORMAT_ARRAY_ROWS){var Ce=$;le==="auto"||le==null?arrayRowsTravelFirst(function(xe){xe!=null&&xe!=="-"&&(isString(xe)?_e==null&&(_e=1):_e=0)},ie,Ce,10):_e=isNumber(le)?le:le?1:0,!ue&&_e===1&&(ue=[],arrayRowsTravelFirst(function(xe,Ie){ue[Ie]=xe!=null?xe+"":""},ie,Ce,1/0)),pe=ue?ue.length:ie===SERIES_LAYOUT_BY_ROW?Ce.length:Ce[0]?Ce[0].length:null}else if(z===SOURCE_FORMAT_OBJECT_ROWS)ue||(ue=objectRowsCollectDimensions($));else if(z===SOURCE_FORMAT_KEYED_COLUMNS)ue||(ue=[],each$c($,function(xe,Ie){ue.push(Ie)}));else if(z===SOURCE_FORMAT_ORIGINAL){var $e=getDataItemValue($[0]);pe=isArray$1($e)&&$e.length||1}return{startIndex:_e,dimensionsDefine:normalizeDimensionsOption(ue),dimensionsDetectedCount:pe}}function objectRowsCollectDimensions($){for(var z=0,ie;z<$.length&&!(ie=$[z++]););if(ie)return keys(ie)}function normalizeDimensionsOption($){if($){var z=createHashMap();return map$2($,function(ie,le){ie=isObject$3(ie)?ie:{name:ie};var ue={name:ie.name,displayName:ie.displayName,type:ie.type};if(ue.name==null)return ue;ue.name+="",ue.displayName==null&&(ue.displayName=ue.name);var pe=z.get(ue.name);return pe?ue.name+="-"+pe.count++:z.set(ue.name,{count:1}),ue})}}function arrayRowsTravelFirst($,z,ie,le){if(z===SERIES_LAYOUT_BY_ROW)for(var ue=0;ue<ie.length&&ue<le;ue++)$(ie[ue]?ie[ue][0]:null,ue);else for(var pe=ie[0]||[],ue=0;ue<pe.length&&ue<le;ue++)$(pe[ue],ue)}function shouldRetrieveDataByName($){var z=$.sourceFormat;return z===SOURCE_FORMAT_OBJECT_ROWS||z===SOURCE_FORMAT_KEYED_COLUMNS}var _a,_b,_c,providerMethods,mountMethods,DefaultDataProvider=function(){function $(z,ie){var le=isSourceInstance(z)?z:createSourceFromSeriesDataOption(z);this._source=le;var ue=this._data=le.data;le.sourceFormat===SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=ie,this._data=ue),mountMethods(this,ue,le)}return $.prototype.getSource=function(){return this._source},$.prototype.count=function(){return 0},$.prototype.getItem=function(z,ie){},$.prototype.appendData=function(z){},$.prototype.clean=function(){},$.protoInitialize=function(){var z=$.prototype;z.pure=!1,z.persistent=!0}(),$.internalField=function(){var z;mountMethods=function(_e,Ce,$e){var xe=$e.sourceFormat,Ie=$e.seriesLayoutBy,Ve=$e.startIndex,ze=$e.dimensionsDefine,Ue=providerMethods[getMethodMapKey(xe,Ie)];if(extend(_e,Ue),xe===SOURCE_FORMAT_TYPED_ARRAY)_e.getItem=ie,_e.count=ue,_e.fillStorage=le;else{var qe=getRawSourceItemGetter(xe,Ie);_e.getItem=bind$1(qe,null,Ce,Ve,ze);var Et=getRawSourceDataCounter(xe,Ie);_e.count=bind$1(Et,null,Ce,Ve,ze)}};var ie=function(_e,Ce){_e=_e-this._offset,Ce=Ce||[];for(var $e=this._data,xe=this._dimSize,Ie=xe*_e,Ve=0;Ve<xe;Ve++)Ce[Ve]=$e[Ie+Ve];return Ce},le=function(_e,Ce,$e,xe){for(var Ie=this._data,Ve=this._dimSize,ze=0;ze<Ve;ze++){for(var Ue=xe[ze],qe=Ue[0]==null?1/0:Ue[0],Et=Ue[1]==null?-1/0:Ue[1],Lt=Ce-_e,hn=$e[ze],vn=0;vn<Lt;vn++){var _n=Ie[vn*Ve+ze];hn[_e+vn]=_n,_n<qe&&(qe=_n),_n>Et&&(Et=_n)}Ue[0]=qe,Ue[1]=Et}},ue=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(z={},z[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:pe},z[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},z[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:pe},z[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(_e){var Ce=this._data;each$c(_e,function($e,xe){for(var Ie=Ce[xe]||(Ce[xe]=[]),Ve=0;Ve<($e||[]).length;Ve++)Ie.push($e[Ve])})}},z[SOURCE_FORMAT_ORIGINAL]={appendData:pe},z[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(_e){this._data=_e},clean:function(){this._offset+=this.count(),this._data=null}},z);function pe(_e){for(var Ce=0;Ce<_e.length;Ce++)this._data.push(_e[Ce])}}(),$}(),getItemSimply=function($,z,ie,le){return $[le]},rawSourceItemGetterMap=(_a={},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function($,z,ie,le){return $[le+z]},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function($,z,ie,le,ue){le+=z;for(var pe=ue||[],_e=$,Ce=0;Ce<_e.length;Ce++){var $e=_e[Ce];pe[Ce]=$e?$e[le]:null}return pe},_a[SOURCE_FORMAT_OBJECT_ROWS]=getItemSimply,_a[SOURCE_FORMAT_KEYED_COLUMNS]=function($,z,ie,le,ue){for(var pe=ue||[],_e=0;_e<ie.length;_e++){var Ce=ie[_e].name,$e=$[Ce];pe[_e]=$e?$e[le]:null}return pe},_a[SOURCE_FORMAT_ORIGINAL]=getItemSimply,_a);function getRawSourceItemGetter($,z){var ie=rawSourceItemGetterMap[getMethodMapKey($,z)];return ie}var countSimply=function($,z,ie){return $.length},rawSourceDataCounterMap=(_b={},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function($,z,ie){return Math.max(0,$.length-z)},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function($,z,ie){var le=$[0];return le?Math.max(0,le.length-z):0},_b[SOURCE_FORMAT_OBJECT_ROWS]=countSimply,_b[SOURCE_FORMAT_KEYED_COLUMNS]=function($,z,ie){var le=ie[0].name,ue=$[le];return ue?ue.length:0},_b[SOURCE_FORMAT_ORIGINAL]=countSimply,_b);function getRawSourceDataCounter($,z){var ie=rawSourceDataCounterMap[getMethodMapKey($,z)];return ie}var getRawValueSimply=function($,z,ie){return $[z]},rawSourceValueGetterMap=(_c={},_c[SOURCE_FORMAT_ARRAY_ROWS]=getRawValueSimply,_c[SOURCE_FORMAT_OBJECT_ROWS]=function($,z,ie){return $[ie]},_c[SOURCE_FORMAT_KEYED_COLUMNS]=getRawValueSimply,_c[SOURCE_FORMAT_ORIGINAL]=function($,z,ie){var le=getDataItemValue($);return le instanceof Array?le[z]:le},_c[SOURCE_FORMAT_TYPED_ARRAY]=getRawValueSimply,_c);function getRawSourceValueGetter($){var z=rawSourceValueGetterMap[$];return z}function getMethodMapKey($,z){return $===SOURCE_FORMAT_ARRAY_ROWS?$+"_"+z:$}function retrieveRawValue($,z,ie){if($){var le=$.getRawDataItem(z);if(le!=null){var ue=$.getStore(),pe=ue.getSource().sourceFormat;if(ie!=null){var _e=$.getDimensionIndex(ie),Ce=ue.getDimensionProperty(_e);return getRawSourceValueGetter(pe)(le,_e,Ce)}else{var $e=le;return pe===SOURCE_FORMAT_ORIGINAL&&($e=getDataItemValue(le)),$e}}}}var DIMENSION_LABEL_REG=/\{@(.+?)\}/g,DataFormatMixin=function(){function $(){}return $.prototype.getDataParams=function(z,ie){var le=this.getData(ie),ue=this.getRawValue(z,ie),pe=le.getRawIndex(z),_e=le.getName(z),Ce=le.getRawDataItem(z),$e=le.getItemVisual(z,"style"),xe=$e&&$e[le.getItemVisual(z,"drawType")||"fill"],Ie=$e&&$e.stroke,Ve=this.mainType,ze=Ve==="series",Ue=le.userOutput&&le.userOutput.get();return{componentType:Ve,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:ze?this.subType:null,seriesIndex:this.seriesIndex,seriesId:ze?this.id:null,seriesName:ze?this.name:null,name:_e,dataIndex:pe,data:Ce,dataType:ie,value:ue,color:xe,borderColor:Ie,dimensionNames:Ue?Ue.fullDimensions:null,encode:Ue?Ue.encode:null,$vars:["seriesName","name","value"]}},$.prototype.getFormattedLabel=function(z,ie,le,ue,pe,_e){ie=ie||"normal";var Ce=this.getData(le),$e=this.getDataParams(z,le);if(_e&&($e.value=_e.interpolatedValue),ue!=null&&isArray$1($e.value)&&($e.value=$e.value[ue]),!pe){var xe=Ce.getItemModel(z);pe=xe.get(ie==="normal"?["label","formatter"]:[ie,"label","formatter"])}if(isFunction(pe))return $e.status=ie,$e.dimensionIndex=ue,pe($e);if(isString(pe)){var Ie=formatTpl(pe,$e);return Ie.replace(DIMENSION_LABEL_REG,function(Ve,ze){var Ue=ze.length,qe=ze;qe.charAt(0)==="["&&qe.charAt(Ue-1)==="]"&&(qe=+qe.slice(1,Ue-1));var Et=retrieveRawValue(Ce,z,qe);if(_e&&isArray$1(_e.interpolatedValue)){var Lt=Ce.getDimensionIndex(qe);Lt>=0&&(Et=_e.interpolatedValue[Lt])}return Et!=null?Et+"":""})}},$.prototype.getRawValue=function(z,ie){return retrieveRawValue(this.getData(ie),z)},$.prototype.formatTooltip=function(z,ie,le){},$}();function normalizeTooltipFormatResult($){var z,ie;return isObject$3($)?$.type&&(ie=$):z=$,{text:z,frag:ie}}function createTask($){return new Task($)}var Task=function(){function $(z){z=z||{},this._reset=z.reset,this._plan=z.plan,this._count=z.count,this._onDirty=z.onDirty,this._dirty=!0}return $.prototype.perform=function(z){var ie=this._upstream,le=z&&z.skip;if(this._dirty&&ie){var ue=this.context;ue.data=ue.outputData=ie.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var pe;this._plan&&!le&&(pe=this._plan(this.context));var _e=Ie(this._modBy),Ce=this._modDataCount||0,$e=Ie(z&&z.modBy),xe=z&&z.modDataCount||0;(_e!==$e||Ce!==xe)&&(pe="reset");function Ie(vn){return!(vn>=1)&&(vn=1),vn}var Ve;(this._dirty||pe==="reset")&&(this._dirty=!1,Ve=this._doReset(le)),this._modBy=$e,this._modDataCount=xe;var ze=z&&z.step;if(ie?this._dueEnd=ie._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var Ue=this._dueIndex,qe=Math.min(ze!=null?this._dueIndex+ze:1/0,this._dueEnd);if(!le&&(Ve||Ue<qe)){var Et=this._progress;if(isArray$1(Et))for(var Lt=0;Lt<Et.length;Lt++)this._doProgress(Et[Lt],Ue,qe,$e,xe);else this._doProgress(Et,Ue,qe,$e,xe)}this._dueIndex=qe;var hn=this._settedOutputEnd!=null?this._settedOutputEnd:qe;this._outputDueEnd=hn}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},$.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},$.prototype._doProgress=function(z,ie,le,ue,pe){iterator.reset(ie,le,ue,pe),this._callingProgress=z,this._callingProgress({start:ie,end:le,count:le-ie,next:iterator.next},this.context)},$.prototype._doReset=function(z){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var ie,le;!z&&this._reset&&(ie=this._reset(this.context),ie&&ie.progress&&(le=ie.forceFirstProgress,ie=ie.progress),isArray$1(ie)&&!ie.length&&(ie=null)),this._progress=ie,this._modBy=this._modDataCount=null;var ue=this._downstream;return ue&&ue.dirty(),le},$.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},$.prototype.pipe=function(z){(this._downstream!==z||this._dirty)&&(this._downstream=z,z._upstream=this,z.dirty())},$.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},$.prototype.getUpstream=function(){return this._upstream},$.prototype.getDownstream=function(){return this._downstream},$.prototype.setOutputEnd=function(z){this._outputDueEnd=this._settedOutputEnd=z},$}(),iterator=function(){var $,z,ie,le,ue,pe={reset:function($e,xe,Ie,Ve){z=$e,$=xe,ie=Ie,le=Ve,ue=Math.ceil(le/ie),pe.next=ie>1&&le>0?Ce:_e}};return pe;function _e(){return z<$?z++:null}function Ce(){var $e=z%ue*ie+Math.ceil(z/ue),xe=z>=$?null:$e<le?$e:z;return z++,xe}}();function parseDataValue($,z){var ie=z&&z.type;return ie==="ordinal"?$:(ie==="time"&&!isNumber($)&&$!=null&&$!=="-"&&($=+parseDate($)),$==null||$===""?NaN:+$)}createHashMap({number:function($){return parseFloat($)},time:function($){return+parseDate($)},trim:function($){return isString($)?trim$1($):$}});var SortOrderComparator=function(){function $(z,ie){var le=z==="desc";this._resultLT=le?1:-1,ie==null&&(ie=le?"min":"max"),this._incomparable=ie==="min"?-1/0:1/0}return $.prototype.evaluate=function(z,ie){var le=isNumber(z)?z:numericToNumber(z),ue=isNumber(ie)?ie:numericToNumber(ie),pe=isNaN(le),_e=isNaN(ue);if(pe&&(le=this._incomparable),_e&&(ue=this._incomparable),pe&&_e){var Ce=isString(z),$e=isString(ie);Ce&&(le=$e?z:0),$e&&(ue=Ce?ie:0)}return le<ue?this._resultLT:le>ue?-this._resultLT:0},$}(),ExternalSource=function(){function $(){}return $.prototype.getRawData=function(){throw new Error("not supported")},$.prototype.getRawDataItem=function(z){throw new Error("not supported")},$.prototype.cloneRawData=function(){},$.prototype.getDimensionInfo=function(z){},$.prototype.cloneAllDimensionInfo=function(){},$.prototype.count=function(){},$.prototype.retrieveValue=function(z,ie){},$.prototype.retrieveValueFromItem=function(z,ie){},$.prototype.convertValue=function(z,ie){return parseDataValue(z,ie)},$}();function createExternalSource($,z){var ie=new ExternalSource,le=$.data,ue=ie.sourceFormat=$.sourceFormat,pe=$.startIndex,_e="";$.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(_e);var Ce=[],$e={},xe=$.dimensionsDefine;if(xe)each$c(xe,function(Et,Lt){var hn=Et.name,vn={index:Lt,name:hn,displayName:Et.displayName};if(Ce.push(vn),hn!=null){var _n="";hasOwn($e,hn)&&throwError(_n),$e[hn]=vn}});else for(var Ie=0;Ie<$.dimensionsDetectedCount;Ie++)Ce.push({index:Ie});var Ve=getRawSourceItemGetter(ue,SERIES_LAYOUT_BY_COLUMN);z.__isBuiltIn&&(ie.getRawDataItem=function(Et){return Ve(le,pe,Ce,Et)},ie.getRawData=bind$1(getRawData,null,$)),ie.cloneRawData=bind$1(cloneRawData,null,$);var ze=getRawSourceDataCounter(ue,SERIES_LAYOUT_BY_COLUMN);ie.count=bind$1(ze,null,le,pe,Ce);var Ue=getRawSourceValueGetter(ue);ie.retrieveValue=function(Et,Lt){var hn=Ve(le,pe,Ce,Et);return qe(hn,Lt)};var qe=ie.retrieveValueFromItem=function(Et,Lt){if(Et!=null){var hn=Ce[Lt];if(hn)return Ue(Et,Lt,hn.name)}};return ie.getDimensionInfo=bind$1(getDimensionInfo,null,Ce,$e),ie.cloneAllDimensionInfo=bind$1(cloneAllDimensionInfo,null,Ce),ie}function getRawData($){var z=$.sourceFormat;if(!isSupportedSourceFormat(z)){var ie="";throwError(ie)}return $.data}function cloneRawData($){var z=$.sourceFormat,ie=$.data;if(!isSupportedSourceFormat(z)){var le="";throwError(le)}if(z===SOURCE_FORMAT_ARRAY_ROWS){for(var ue=[],pe=0,_e=ie.length;pe<_e;pe++)ue.push(ie[pe].slice());return ue}else if(z===SOURCE_FORMAT_OBJECT_ROWS){for(var ue=[],pe=0,_e=ie.length;pe<_e;pe++)ue.push(extend({},ie[pe]));return ue}}function getDimensionInfo($,z,ie){if(ie!=null){if(isNumber(ie)||!isNaN(ie)&&!hasOwn(z,ie))return $[ie];if(hasOwn(z,ie))return z[ie]}}function cloneAllDimensionInfo($){return clone$3($)}var externalTransformMap=createHashMap();function registerExternalTransform($){$=clone$3($);var z=$.type,ie="";z||throwError(ie);var le=z.split(":");le.length!==2&&throwError(ie);var ue=!1;le[0]==="echarts"&&(z=le[1],ue=!0),$.__isBuiltIn=ue,externalTransformMap.set(z,$)}function applyDataTransform($,z,ie){var le=normalizeToArray($),ue=le.length,pe="";ue||throwError(pe);for(var _e=0,Ce=ue;_e<Ce;_e++){var $e=le[_e];z=applySingleDataTransform($e,z),_e!==Ce-1&&(z.length=Math.max(z.length,1))}return z}function applySingleDataTransform($,z,ie,le){var ue="";z.length||throwError(ue),isObject$3($)||throwError(ue);var pe=$.type,_e=externalTransformMap.get(pe);_e||throwError(ue);var Ce=map$2(z,function(xe){return createExternalSource(xe,_e)}),$e=normalizeToArray(_e.transform({upstream:Ce[0],upstreamList:Ce,config:clone$3($.config)}));return map$2($e,function(xe,Ie){var Ve="";isObject$3(xe)||throwError(Ve),xe.data||throwError(Ve);var ze=detectSourceFormat(xe.data);isSupportedSourceFormat(ze)||throwError(Ve);var Ue,qe=z[0];if(qe&&Ie===0&&!xe.dimensions){var Et=qe.startIndex;Et&&(xe.data=qe.data.slice(0,Et).concat(xe.data)),Ue={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:Et,dimensions:qe.metaRawOption.dimensions}}else Ue={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:0,dimensions:xe.dimensions};return createSource(xe.data,Ue,null)})}function isSupportedSourceFormat($){return $===SOURCE_FORMAT_ARRAY_ROWS||$===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($){return $>65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk($){var z=$.constructor;return z===Array?$.slice():new z($)}function prepareStore($,z,ie,le,ue){var pe=dataCtors[ie||"float"];if(ue){var _e=$[z],Ce=_e&&_e.length;if(Ce!==le){for(var $e=new pe(le),xe=0;xe<Ce;xe++)$e[xe]=_e[xe];$[z]=$e}}else $[z]=new pe(le)}var DataStore=function(){function $(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=createHashMap()}return $.prototype.initData=function(z,ie,le){this._provider=z,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var ue=z.getSource(),pe=this.defaultDimValueGetter=defaultDimValueGetters[ue.sourceFormat];this._dimValueGetter=le||pe,this._rawExtent=[],shouldRetrieveDataByName(ue),this._dimensions=map$2(ie,function(_e){return{type:_e.type,property:_e.property}}),this._initDataFromProvider(0,z.count())},$.prototype.getProvider=function(){return this._provider},$.prototype.getSource=function(){return this._provider.getSource()},$.prototype.ensureCalculationDimension=function(z,ie){var le=this._calcDimNameToIdx,ue=this._dimensions,pe=le.get(z);if(pe!=null){if(ue[pe].type===ie)return pe}else pe=ue.length;return ue[pe]={type:ie},le.set(z,pe),this._chunks[pe]=new dataCtors[ie||"float"](this._rawCount),this._rawExtent[pe]=getInitialExtent(),pe},$.prototype.collectOrdinalMeta=function(z,ie){var le=this._chunks[z],ue=this._dimensions[z],pe=this._rawExtent,_e=ue.ordinalOffset||0,Ce=le.length;_e===0&&(pe[z]=getInitialExtent());for(var $e=pe[z],xe=_e;xe<Ce;xe++){var Ie=le[xe]=ie.parseAndCollect(le[xe]);isNaN(Ie)||($e[0]=Math.min(Ie,$e[0]),$e[1]=Math.max(Ie,$e[1]))}ue.ordinalMeta=ie,ue.ordinalOffset=Ce,ue.type="ordinal"},$.prototype.getOrdinalMeta=function(z){var ie=this._dimensions[z],le=ie.ordinalMeta;return le},$.prototype.getDimensionProperty=function(z){var ie=this._dimensions[z];return ie&&ie.property},$.prototype.appendData=function(z){var ie=this._provider,le=this.count();ie.appendData(z);var ue=ie.count();return ie.persistent||(ue+=le),le<ue&&this._initDataFromProvider(le,ue,!0),[le,ue]},$.prototype.appendValues=function(z,ie){for(var le=this._chunks,ue=this._dimensions,pe=ue.length,_e=this._rawExtent,Ce=this.count(),$e=Ce+Math.max(z.length,ie||0),xe=0;xe<pe;xe++){var Ie=ue[xe];prepareStore(le,xe,Ie.type,$e,!0)}for(var Ve=[],ze=Ce;ze<$e;ze++)for(var Ue=ze-Ce,qe=0;qe<pe;qe++){var Ie=ue[qe],Et=defaultDimValueGetters.arrayRows.call(this,z[Ue]||Ve,Ie.property,Ue,qe);le[qe][ze]=Et;var Lt=_e[qe];Et<Lt[0]&&(Lt[0]=Et),Et>Lt[1]&&(Lt[1]=Et)}return this._rawCount=this._count=$e,{start:Ce,end:$e}},$.prototype._initDataFromProvider=function(z,ie,le){for(var ue=this._provider,pe=this._chunks,_e=this._dimensions,Ce=_e.length,$e=this._rawExtent,xe=map$2(_e,function(vn){return vn.property}),Ie=0;Ie<Ce;Ie++){var Ve=_e[Ie];$e[Ie]||($e[Ie]=getInitialExtent()),prepareStore(pe,Ie,Ve.type,ie,le)}if(ue.fillStorage)ue.fillStorage(z,ie,pe,$e);else for(var ze=[],Ue=z;Ue<ie;Ue++){ze=ue.getItem(Ue,ze);for(var qe=0;qe<Ce;qe++){var Et=pe[qe],Lt=this._dimValueGetter(ze,xe[qe],Ue,qe);Et[Ue]=Lt;var hn=$e[qe];Lt<hn[0]&&(hn[0]=Lt),Lt>hn[1]&&(hn[1]=Lt)}}!ue.persistent&&ue.clean&&ue.clean(),this._rawCount=this._count=ie,this._extent=[]},$.prototype.count=function(){return this._count},$.prototype.get=function(z,ie){if(!(ie>=0&&ie<this._count))return NaN;var le=this._chunks[z];return le?le[this.getRawIndex(ie)]:NaN},$.prototype.getValues=function(z,ie){var le=[],ue=[];if(ie==null){ie=z,z=[];for(var pe=0;pe<this._dimensions.length;pe++)ue.push(pe)}else ue=z;for(var pe=0,_e=ue.length;pe<_e;pe++)le.push(this.get(ue[pe],ie));return le},$.prototype.getByRawIndex=function(z,ie){if(!(ie>=0&&ie<this._rawCount))return NaN;var le=this._chunks[z];return le?le[ie]:NaN},$.prototype.getSum=function(z){var ie=this._chunks[z],le=0;if(ie)for(var ue=0,pe=this.count();ue<pe;ue++){var _e=this.get(z,ue);isNaN(_e)||(le+=_e)}return le},$.prototype.getMedian=function(z){var ie=[];this.each([z],function(pe){isNaN(pe)||ie.push(pe)});var le=ie.sort(function(pe,_e){return pe-_e}),ue=this.count();return ue===0?0:ue%2===1?le[(ue-1)/2]:(le[ue/2]+le[ue/2-1])/2},$.prototype.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var ie=this._indices,le=ie[z];if(le!=null&&le<this._count&&le===z)return z;for(var ue=0,pe=this._count-1;ue<=pe;){var _e=(ue+pe)/2|0;if(ie[_e]<z)ue=_e+1;else if(ie[_e]>z)pe=_e-1;else return _e}return-1},$.prototype.indicesOfNearest=function(z,ie,le){var ue=this._chunks,pe=ue[z],_e=[];if(!pe)return _e;le==null&&(le=1/0);for(var Ce=1/0,$e=-1,xe=0,Ie=0,Ve=this.count();Ie<Ve;Ie++){var ze=this.getRawIndex(Ie),Ue=ie-pe[ze],qe=Math.abs(Ue);qe<=le&&((qe<Ce||qe===Ce&&Ue>=0&&$e<0)&&(Ce=qe,$e=Ue,xe=0),Ue===$e&&(_e[xe++]=Ie))}return _e.length=xe,_e},$.prototype.getIndices=function(){var z,ie=this._indices;if(ie){var le=ie.constructor,ue=this._count;if(le===Array){z=new le(ue);for(var pe=0;pe<ue;pe++)z[pe]=ie[pe]}else z=new le(ie.buffer,0,ue)}else{var le=getIndicesCtor(this._rawCount);z=new le(this.count());for(var pe=0;pe<z.length;pe++)z[pe]=pe}return z},$.prototype.filter=function(z,ie){if(!this._count)return this;for(var le=this.clone(),ue=le.count(),pe=getIndicesCtor(le._rawCount),_e=new pe(ue),Ce=[],$e=z.length,xe=0,Ie=z[0],Ve=le._chunks,ze=0;ze<ue;ze++){var Ue=void 0,qe=le.getRawIndex(ze);if($e===0)Ue=ie(ze);else if($e===1){var Et=Ve[Ie][qe];Ue=ie(Et,ze)}else{for(var Lt=0;Lt<$e;Lt++)Ce[Lt]=Ve[z[Lt]][qe];Ce[Lt]=ze,Ue=ie.apply(null,Ce)}Ue&&(_e[xe++]=qe)}return xe<ue&&(le._indices=_e),le._count=xe,le._extent=[],le._updateGetRawIdx(),le},$.prototype.selectRange=function(z){var ie=this.clone(),le=ie._count;if(!le)return this;var ue=keys(z),pe=ue.length;if(!pe)return this;var _e=ie.count(),Ce=getIndicesCtor(ie._rawCount),$e=new Ce(_e),xe=0,Ie=ue[0],Ve=z[Ie][0],ze=z[Ie][1],Ue=ie._chunks,qe=!1;if(!ie._indices){var Et=0;if(pe===1){for(var Lt=Ue[ue[0]],hn=0;hn<le;hn++){var vn=Lt[hn];(vn>=Ve&&vn<=ze||isNaN(vn))&&($e[xe++]=Et),Et++}qe=!0}else if(pe===2){for(var Lt=Ue[ue[0]],_n=Ue[ue[1]],bn=z[ue[1]][0],Cn=z[ue[1]][1],hn=0;hn<le;hn++){var vn=Lt[hn],Sn=_n[hn];(vn>=Ve&&vn<=ze||isNaN(vn))&&(Sn>=bn&&Sn<=Cn||isNaN(Sn))&&($e[xe++]=Et),Et++}qe=!0}}if(!qe)if(pe===1)for(var hn=0;hn<_e;hn++){var En=ie.getRawIndex(hn),vn=Ue[ue[0]][En];(vn>=Ve&&vn<=ze||isNaN(vn))&&($e[xe++]=En)}else for(var hn=0;hn<_e;hn++){for(var wn=!0,En=ie.getRawIndex(hn),Tn=0;Tn<pe;Tn++){var kn=ue[Tn],vn=Ue[kn][En];(vn<z[kn][0]||vn>z[kn][1])&&(wn=!1)}wn&&($e[xe++]=ie.getRawIndex(hn))}return xe<_e&&(ie._indices=$e),ie._count=xe,ie._extent=[],ie._updateGetRawIdx(),ie},$.prototype.map=function(z,ie){var le=this.clone(z);return this._updateDims(le,z,ie),le},$.prototype.modify=function(z,ie){this._updateDims(this,z,ie)},$.prototype._updateDims=function(z,ie,le){for(var ue=z._chunks,pe=[],_e=ie.length,Ce=z.count(),$e=[],xe=z._rawExtent,Ie=0;Ie<ie.length;Ie++)xe[ie[Ie]]=getInitialExtent();for(var Ve=0;Ve<Ce;Ve++){for(var ze=z.getRawIndex(Ve),Ue=0;Ue<_e;Ue++)$e[Ue]=ue[ie[Ue]][ze];$e[_e]=Ve;var qe=le&&le.apply(null,$e);if(qe!=null){typeof qe!="object"&&(pe[0]=qe,qe=pe);for(var Ie=0;Ie<qe.length;Ie++){var Et=ie[Ie],Lt=qe[Ie],hn=xe[Et],vn=ue[Et];vn&&(vn[ze]=Lt),Lt<hn[0]&&(hn[0]=Lt),Lt>hn[1]&&(hn[1]=Lt)}}}},$.prototype.lttbDownSample=function(z,ie){var le=this.clone([z],!0),ue=le._chunks,pe=ue[z],_e=this.count(),Ce=0,$e=Math.floor(1/ie),xe=this.getRawIndex(0),Ie,Ve,ze,Ue=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(_e/$e)+2)*2,_e));Ue[Ce++]=xe;for(var qe=1;qe<_e-1;qe+=$e){for(var Et=Math.min(qe+$e,_e-1),Lt=Math.min(qe+$e*2,_e),hn=(Lt+Et)/2,vn=0,_n=Et;_n<Lt;_n++){var bn=this.getRawIndex(_n),Cn=pe[bn];isNaN(Cn)||(vn+=Cn)}vn/=Lt-Et;var Sn=qe,En=Math.min(qe+$e,_e),wn=qe-1,Tn=pe[xe];Ie=-1,ze=Sn;for(var kn=-1,xn=0,_n=Sn;_n<En;_n++){var bn=this.getRawIndex(_n),Cn=pe[bn];if(isNaN(Cn)){xn++,kn<0&&(kn=bn);continue}Ve=Math.abs((wn-hn)*(Cn-Tn)-(wn-_n)*(vn-Tn)),Ve>Ie&&(Ie=Ve,ze=bn)}xn>0&&xn<En-Sn&&(Ue[Ce++]=Math.min(kn,ze),ze=Math.max(kn,ze)),Ue[Ce++]=ze,xe=ze}return Ue[Ce++]=this.getRawIndex(_e-1),le._count=Ce,le._indices=Ue,le.getRawIndex=this._getRawIdx,le},$.prototype.downSample=function(z,ie,le,ue){for(var pe=this.clone([z],!0),_e=pe._chunks,Ce=[],$e=Math.floor(1/ie),xe=_e[z],Ie=this.count(),Ve=pe._rawExtent[z]=getInitialExtent(),ze=new(getIndicesCtor(this._rawCount))(Math.ceil(Ie/$e)),Ue=0,qe=0;qe<Ie;qe+=$e){$e>Ie-qe&&($e=Ie-qe,Ce.length=$e);for(var Et=0;Et<$e;Et++){var Lt=this.getRawIndex(qe+Et);Ce[Et]=xe[Lt]}var hn=le(Ce),vn=this.getRawIndex(Math.min(qe+ue(Ce,hn)||0,Ie-1));xe[vn]=hn,hn<Ve[0]&&(Ve[0]=hn),hn>Ve[1]&&(Ve[1]=hn),ze[Ue++]=vn}return pe._count=Ue,pe._indices=ze,pe._updateGetRawIdx(),pe},$.prototype.each=function(z,ie){if(this._count)for(var le=z.length,ue=this._chunks,pe=0,_e=this.count();pe<_e;pe++){var Ce=this.getRawIndex(pe);switch(le){case 0:ie(pe);break;case 1:ie(ue[z[0]][Ce],pe);break;case 2:ie(ue[z[0]][Ce],ue[z[1]][Ce],pe);break;default:for(var $e=0,xe=[];$e<le;$e++)xe[$e]=ue[z[$e]][Ce];xe[$e]=pe,ie.apply(null,xe)}}},$.prototype.getDataExtent=function(z){var ie=this._chunks[z],le=getInitialExtent();if(!ie)return le;var ue=this.count(),pe=!this._indices,_e;if(pe)return this._rawExtent[z].slice();if(_e=this._extent[z],_e)return _e.slice();_e=le;for(var Ce=_e[0],$e=_e[1],xe=0;xe<ue;xe++){var Ie=this.getRawIndex(xe),Ve=ie[Ie];Ve<Ce&&(Ce=Ve),Ve>$e&&($e=Ve)}return _e=[Ce,$e],this._extent[z]=_e,_e},$.prototype.getRawDataItem=function(z){var ie=this.getRawIndex(z);if(this._provider.persistent)return this._provider.getItem(ie);for(var le=[],ue=this._chunks,pe=0;pe<ue.length;pe++)le.push(ue[pe][ie]);return le},$.prototype.clone=function(z,ie){var le=new $,ue=this._chunks,pe=z&&reduce(z,function(Ce,$e){return Ce[$e]=!0,Ce},{});if(pe)for(var _e=0;_e<ue.length;_e++)le._chunks[_e]=pe[_e]?cloneChunk(ue[_e]):ue[_e];else le._chunks=ue;return this._copyCommonProps(le),ie||(le._indices=this._cloneIndices()),le._updateGetRawIdx(),le},$.prototype._copyCommonProps=function(z){z._count=this._count,z._rawCount=this._rawCount,z._provider=this._provider,z._dimensions=this._dimensions,z._extent=clone$3(this._extent),z._rawExtent=clone$3(this._rawExtent)},$.prototype._cloneIndices=function(){if(this._indices){var z=this._indices.constructor,ie=void 0;if(z===Array){var le=this._indices.length;ie=new z(le);for(var ue=0;ue<le;ue++)ie[ue]=this._indices[ue]}else ie=new z(this._indices);return ie}return null},$.prototype._getRawIdxIdentity=function(z){return z},$.prototype._getRawIdx=function(z){return z<this._count&&z>=0?this._indices[z]:-1},$.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},$.internalField=function(){function z(ie,le,ue,pe){return parseDataValue(ie[pe],this._dimensions[pe])}defaultDimValueGetters={arrayRows:z,objectRows:function(ie,le,ue,pe){return parseDataValue(ie[le],this._dimensions[pe])},keyedColumns:z,original:function(ie,le,ue,pe){var _e=ie&&(ie.value==null?ie:ie.value);return parseDataValue(_e instanceof Array?_e[pe]:_e,this._dimensions[pe])},typedArray:function(ie,le,ue,pe){return ie[pe]}}}(),$}();const DataStore$1=DataStore;var SourceManager=function(){function $(z){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=z}return $.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},$.prototype._setLocalSource=function(z,ie){this._sourceList=z,this._upstreamSignList=ie,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},$.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},$.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},$.prototype._createSource=function(){this._setLocalSource([],[]);var z=this._sourceHost,ie=this._getUpstreamSourceManagers(),le=!!ie.length,ue,pe;if(isSeries(z)){var _e=z,Ce=void 0,$e=void 0,xe=void 0;if(le){var Ie=ie[0];Ie.prepareSource(),xe=Ie.getSource(),Ce=xe.data,$e=xe.sourceFormat,pe=[Ie._getVersionSign()]}else Ce=_e.get("data",!0),$e=isTypedArray(Ce)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,pe=[];var Ve=this._getSourceMetaRawOption()||{},ze=xe&&xe.metaRawOption||{},Ue=retrieve2(Ve.seriesLayoutBy,ze.seriesLayoutBy)||null,qe=retrieve2(Ve.sourceHeader,ze.sourceHeader),Et=retrieve2(Ve.dimensions,ze.dimensions),Lt=Ue!==ze.seriesLayoutBy||!!qe!=!!ze.sourceHeader||Et;ue=Lt?[createSource(Ce,{seriesLayoutBy:Ue,sourceHeader:qe,dimensions:Et},$e)]:[]}else{var hn=z;if(le){var vn=this._applyTransform(ie);ue=vn.sourceList,pe=vn.upstreamSignList}else{var _n=hn.get("source",!0);ue=[createSource(_n,this._getSourceMetaRawOption(),null)],pe=[]}}this._setLocalSource(ue,pe)},$.prototype._applyTransform=function(z){var ie=this._sourceHost,le=ie.get("transform",!0),ue=ie.get("fromTransformResult",!0);if(ue!=null){var pe="";z.length!==1&&doThrow(pe)}var _e,Ce=[],$e=[];return each$c(z,function(xe){xe.prepareSource();var Ie=xe.getSource(ue||0),Ve="";ue!=null&&!Ie&&doThrow(Ve),Ce.push(Ie),$e.push(xe._getVersionSign())}),le?_e=applyDataTransform(le,Ce,{datasetIndex:ie.componentIndex}):ue!=null&&(_e=[cloneSourceShallow(Ce[0])]),{sourceList:_e,upstreamSignList:$e}},$.prototype._isDirty=function(){if(this._dirty)return!0;for(var z=this._getUpstreamSourceManagers(),ie=0;ie<z.length;ie++){var le=z[ie];if(le._isDirty()||this._upstreamSignList[ie]!==le._getVersionSign())return!0}},$.prototype.getSource=function(z){z=z||0;var ie=this._sourceList[z];if(!ie){var le=this._getUpstreamSourceManagers();return le[0]&&le[0].getSource(z)}return ie},$.prototype.getSharedDataStore=function(z){var ie=z.makeStoreSchema();return this._innerGetDataStore(ie.dimensions,z.source,ie.hash)},$.prototype._innerGetDataStore=function(z,ie,le){var ue=0,pe=this._storeList,_e=pe[ue];_e||(_e=pe[ue]={});var Ce=_e[le];if(!Ce){var $e=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&$e?Ce=$e._innerGetDataStore(z,ie,le):(Ce=new DataStore$1,Ce.initData(new DefaultDataProvider(ie,z.length),z)),_e[le]=Ce}return Ce},$.prototype._getUpstreamSourceManagers=function(){var z=this._sourceHost;if(isSeries(z)){var ie=querySeriesUpstreamDatasetModel(z);return ie?[ie.getSourceManager()]:[]}else return map$2(queryDatasetUpstreamDatasetModels(z),function(le){return le.getSourceManager()})},$.prototype._getSourceMetaRawOption=function(){var z=this._sourceHost,ie,le,ue;if(isSeries(z))ie=z.get("seriesLayoutBy",!0),le=z.get("sourceHeader",!0),ue=z.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var pe=z;ie=pe.get("seriesLayoutBy",!0),le=pe.get("sourceHeader",!0),ue=pe.get("dimensions",!0)}return{seriesLayoutBy:ie,sourceHeader:le,dimensions:ue}},$}();function isSeries($){return $.mainType==="series"}function doThrow($){throw new Error($)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle($,z){var ie=$.color||"#6e7079",le=$.fontSize||12,ue=$.fontWeight||"400",pe=$.color||"#464646",_e=$.fontSize||14,Ce=$.fontWeight||"900";return z==="html"?{nameStyle:"font-size:"+encodeHTML(le+"")+"px;color:"+encodeHTML(ie)+";font-weight:"+encodeHTML(ue+""),valueStyle:"font-size:"+encodeHTML(_e+"")+"px;color:"+encodeHTML(pe)+";font-weight:"+encodeHTML(Ce+"")}:{nameStyle:{fontSize:le,fill:ie,fontWeight:ue},valueStyle:{fontSize:_e,fill:pe,fontWeight:Ce}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",`
|
||
`,`
|
||
|
||
`,`
|
||
|
||
|
||
`];function createTooltipMarkup($,z){return z.type=$,z}function isSectionFragment($){return $.type==="section"}function getBuilder($){return isSectionFragment($)?buildSection:buildNameValue}function getBlockGapLevel($){if(isSectionFragment($)){var z=0,ie=$.blocks.length,le=ie>1||ie>0&&!$.noHeader;return each$c($.blocks,function(ue){var pe=getBlockGapLevel(ue);pe>=z&&(z=pe+ +(le&&(!pe||isSectionFragment(ue)&&!ue.noHeader)))}),z}return 0}function buildSection($,z,ie,le){var ue=z.noHeader,pe=getGap(getBlockGapLevel(z)),_e=[],Ce=z.blocks||[];assert(!Ce||isArray$1(Ce)),Ce=Ce||[];var $e=$.orderMode;if(z.sortBlocks&&$e){Ce=Ce.slice();var xe={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(xe,$e)){var Ie=new SortOrderComparator(xe[$e],null);Ce.sort(function(qe,Et){return Ie.evaluate(qe.sortParam,Et.sortParam)})}else $e==="seriesDesc"&&Ce.reverse()}each$c(Ce,function(qe,Et){var Lt=z.valueFormatter,hn=getBuilder(qe)(Lt?extend(extend({},$),{valueFormatter:Lt}):$,qe,Et>0?pe.html:0,le);hn!=null&&_e.push(hn)});var Ve=$.renderMode==="richText"?_e.join(pe.richText):wrapBlockHTML(_e.join(""),ue?ie:pe.html);if(ue)return Ve;var ze=makeValueReadable(z.header,"ordinal",$.useUTC),Ue=getTooltipTextStyle(le,$.renderMode).nameStyle;return $.renderMode==="richText"?wrapInlineNameRichText($,ze,Ue)+pe.richText+Ve:wrapBlockHTML('<div style="'+Ue+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+encodeHTML(ze)+"</div>"+Ve,ie)}function buildNameValue($,z,ie,le){var ue=$.renderMode,pe=z.noName,_e=z.noValue,Ce=!z.markerType,$e=z.name,xe=$.useUTC,Ie=z.valueFormatter||$.valueFormatter||function(bn){return bn=isArray$1(bn)?bn:[bn],map$2(bn,function(Cn,Sn){return makeValueReadable(Cn,isArray$1(Ue)?Ue[Sn]:Ue,xe)})};if(!(pe&&_e)){var Ve=Ce?"":$.markupStyleCreator.makeTooltipMarker(z.markerType,z.markerColor||"#333",ue),ze=pe?"":makeValueReadable($e,"ordinal",xe),Ue=z.valueType,qe=_e?[]:Ie(z.value),Et=!Ce||!pe,Lt=!Ce&&pe,hn=getTooltipTextStyle(le,ue),vn=hn.nameStyle,_n=hn.valueStyle;return ue==="richText"?(Ce?"":Ve)+(pe?"":wrapInlineNameRichText($,ze,vn))+(_e?"":wrapInlineValueRichText($,qe,Et,Lt,_n)):wrapBlockHTML((Ce?"":Ve)+(pe?"":wrapInlineNameHTML(ze,!Ce,vn))+(_e?"":wrapInlineValueHTML(qe,Et,Lt,_n)),ie)}}function buildTooltipMarkup($,z,ie,le,ue,pe){if($){var _e=getBuilder($),Ce={useUTC:ue,renderMode:ie,orderMode:le,markupStyleCreator:z,valueFormatter:$.valueFormatter};return _e(Ce,$,0,pe)}}function getGap($){return{html:HTML_GAPS[$],richText:RICH_TEXT_GAPS[$]}}function wrapBlockHTML($,z){var ie='<div style="clear:both"></div>',le="margin: "+z+"px 0 0";return'<div style="'+le+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+$+ie+"</div>"}function wrapInlineNameHTML($,z,ie){var le=z?"margin-left:2px":"";return'<span style="'+ie+";"+le+'">'+encodeHTML($)+"</span>"}function wrapInlineValueHTML($,z,ie,le){var ue=ie?"10px":"20px",pe=z?"float:right;margin-left:"+ue:"";return $=isArray$1($)?$:[$],'<span style="'+pe+";"+le+'">'+map$2($,function(_e){return encodeHTML(_e)}).join(" ")+"</span>"}function wrapInlineNameRichText($,z,ie){return $.markupStyleCreator.wrapRichTextStyle(z,ie)}function wrapInlineValueRichText($,z,ie,le,ue){var pe=[ue],_e=le?10:20;return ie&&pe.push({padding:[0,0,0,_e],align:"right"}),$.markupStyleCreator.wrapRichTextStyle(isArray$1(z)?z.join(" "):z,pe)}function retrieveVisualColorForTooltipMarker($,z){var ie=$.getData().getItemVisual(z,"style"),le=ie[$.visualDrawType];return convertToColorString(le)}function getPaddingFromTooltipModel($,z){var ie=$.get("padding");return ie??(z==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function $(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return $.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},$.prototype.makeTooltipMarker=function(z,ie,le){var ue=le==="richText"?this._generateStyleName():null,pe=getTooltipMarker({color:ie,type:z,renderMode:le,markerId:ue});return isString(pe)?pe:(this.richTextStyles[ue]=pe.style,pe.content)},$.prototype.wrapRichTextStyle=function(z,ie){var le={};isArray$1(ie)?each$c(ie,function(pe){return extend(le,pe)}):extend(le,ie);var ue=this._generateStyleName();return this.richTextStyles[ue]=le,"{"+ue+"|"+z+"}"},$}();function defaultSeriesFormatTooltip($){var z=$.series,ie=$.dataIndex,le=$.multipleSeries,ue=z.getData(),pe=ue.mapDimensionsAll("defaultedTooltip"),_e=pe.length,Ce=z.getRawValue(ie),$e=isArray$1(Ce),xe=retrieveVisualColorForTooltipMarker(z,ie),Ie,Ve,ze,Ue;if(_e>1||$e&&!_e){var qe=formatTooltipArrayValue(Ce,z,ie,pe,xe);Ie=qe.inlineValues,Ve=qe.inlineValueTypes,ze=qe.blocks,Ue=qe.inlineValues[0]}else if(_e){var Et=ue.getDimensionInfo(pe[0]);Ue=Ie=retrieveRawValue(ue,ie,pe[0]),Ve=Et.type}else Ue=Ie=$e?Ce[0]:Ce;var Lt=isNameSpecified(z),hn=Lt&&z.name||"",vn=ue.getName(ie),_n=le?hn:vn;return createTooltipMarkup("section",{header:hn,noHeader:le||!Lt,sortParam:Ue,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:xe,name:_n,noName:!trim$1(_n),value:Ie,valueType:Ve})].concat(ze||[])})}function formatTooltipArrayValue($,z,ie,le,ue){var pe=z.getData(),_e=reduce($,function(Ve,ze,Ue){var qe=pe.getDimensionInfo(Ue);return Ve=Ve||qe&&qe.tooltip!==!1&&qe.displayName!=null},!1),Ce=[],$e=[],xe=[];le.length?each$c(le,function(Ve){Ie(retrieveRawValue(pe,ie,Ve),Ve)}):each$c($,Ie);function Ie(Ve,ze){var Ue=pe.getDimensionInfo(ze);!Ue||Ue.otherDims.tooltip===!1||(_e?xe.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:ue,name:Ue.displayName,value:Ve,valueType:Ue.type})):(Ce.push(Ve),$e.push(Ue.type)))}return{inlineValues:Ce,inlineValueTypes:$e,blocks:xe}}var inner$b=makeInner();function getSelectionKey($,z){return $.getName(z)||$.getId(z)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie._selectedDataIndicesMap={},ie}return z.prototype.init=function(ie,le,ue){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(ie,ue);var pe=inner$b(this).sourceManager=new SourceManager(this);pe.prepareSource();var _e=this.getInitialData(ie,ue);wrapData(_e,this),this.dataTask.context.data=_e,inner$b(this).dataBeforeProcessed=_e,autoSeriesName(this),this._initSelectedMapFromData(_e)},z.prototype.mergeDefaultAndTheme=function(ie,le){var ue=fetchLayoutMode(this),pe=ue?getLayoutParams(ie):{},_e=this.subType;ComponentModel$1.hasClass(_e)&&(_e+="Series"),merge(ie,le.getTheme().get(this.subType)),merge(ie,this.getDefaultOption()),defaultEmphasis(ie,"label",["show"]),this.fillDataTextStyle(ie.data),ue&&mergeLayoutParam(ie,pe,ue)},z.prototype.mergeOption=function(ie,le){ie=merge(this.option,ie,!0),this.fillDataTextStyle(ie.data);var ue=fetchLayoutMode(this);ue&&mergeLayoutParam(this.option,ie,ue);var pe=inner$b(this).sourceManager;pe.dirty(),pe.prepareSource();var _e=this.getInitialData(ie,le);wrapData(_e,this),this.dataTask.dirty(),this.dataTask.context.data=_e,inner$b(this).dataBeforeProcessed=_e,autoSeriesName(this),this._initSelectedMapFromData(_e)},z.prototype.fillDataTextStyle=function(ie){if(ie&&!isTypedArray(ie))for(var le=["show"],ue=0;ue<ie.length;ue++)ie[ue]&&ie[ue].label&&defaultEmphasis(ie[ue],"label",le)},z.prototype.getInitialData=function(ie,le){},z.prototype.appendData=function(ie){var le=this.getRawData();le.appendData(ie.data)},z.prototype.getData=function(ie){var le=getCurrentTask(this);if(le){var ue=le.context.data;return ie==null?ue:ue.getLinkedData(ie)}else return inner$b(this).data},z.prototype.getAllData=function(){var ie=this.getData();return ie&&ie.getLinkedDataAll?ie.getLinkedDataAll():[{data:ie}]},z.prototype.setData=function(ie){var le=getCurrentTask(this);if(le){var ue=le.context;ue.outputData=ie,le!==this.dataTask&&(ue.data=ie)}inner$b(this).data=ie},z.prototype.getEncode=function(){var ie=this.get("encode",!0);if(ie)return createHashMap(ie)},z.prototype.getSourceManager=function(){return inner$b(this).sourceManager},z.prototype.getSource=function(){return this.getSourceManager().getSource()},z.prototype.getRawData=function(){return inner$b(this).dataBeforeProcessed},z.prototype.getColorBy=function(){var ie=this.get("colorBy");return ie||"series"},z.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},z.prototype.getBaseAxis=function(){var ie=this.coordinateSystem;return ie&&ie.getBaseAxis&&ie.getBaseAxis()},z.prototype.formatTooltip=function(ie,le,ue){return defaultSeriesFormatTooltip({series:this,dataIndex:ie,multipleSeries:le})},z.prototype.isAnimationEnabled=function(){var ie=this.ecModel;if(env$1.node&&!(ie&&ie.ssr))return!1;var le=this.getShallow("animation");return le&&this.getData().count()>this.getShallow("animationThreshold")&&(le=!1),!!le},z.prototype.restoreData=function(){this.dataTask.dirty()},z.prototype.getColorFromPalette=function(ie,le,ue){var pe=this.ecModel,_e=PaletteMixin.prototype.getColorFromPalette.call(this,ie,le,ue);return _e||(_e=pe.getColorFromPalette(ie,le,ue)),_e},z.prototype.coordDimToDataDim=function(ie){return this.getRawData().mapDimensionsAll(ie)},z.prototype.getProgressive=function(){return this.get("progressive")},z.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},z.prototype.select=function(ie,le){this._innerSelect(this.getData(le),ie)},z.prototype.unselect=function(ie,le){var ue=this.option.selectedMap;if(ue){var pe=this.option.selectedMode,_e=this.getData(le);if(pe==="series"||ue==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var Ce=0;Ce<ie.length;Ce++){var $e=ie[Ce],xe=getSelectionKey(_e,$e);ue[xe]=!1,this._selectedDataIndicesMap[xe]=-1}}},z.prototype.toggleSelect=function(ie,le){for(var ue=[],pe=0;pe<ie.length;pe++)ue[0]=ie[pe],this.isSelected(ie[pe],le)?this.unselect(ue,le):this.select(ue,le)},z.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var ie=this._selectedDataIndicesMap,le=keys(ie),ue=[],pe=0;pe<le.length;pe++){var _e=ie[le[pe]];_e>=0&&ue.push(_e)}return ue},z.prototype.isSelected=function(ie,le){var ue=this.option.selectedMap;if(!ue)return!1;var pe=this.getData(le);return(ue==="all"||ue[getSelectionKey(pe,ie)])&&!pe.getItemModel(ie).get(["select","disabled"])},z.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var ie=this.option.universalTransition;return ie?ie===!0?!0:ie&&ie.enabled:!1},z.prototype._innerSelect=function(ie,le){var ue,pe,_e=this.option,Ce=_e.selectedMode,$e=le.length;if(!(!Ce||!$e)){if(Ce==="series")_e.selectedMap="all";else if(Ce==="multiple"){isObject$3(_e.selectedMap)||(_e.selectedMap={});for(var xe=_e.selectedMap,Ie=0;Ie<$e;Ie++){var Ve=le[Ie],ze=getSelectionKey(ie,Ve);xe[ze]=!0,this._selectedDataIndicesMap[ze]=ie.getRawIndex(Ve)}}else if(Ce==="single"||Ce===!0){var Ue=le[$e-1],ze=getSelectionKey(ie,Ue);_e.selectedMap=(ue={},ue[ze]=!0,ue),this._selectedDataIndicesMap=(pe={},pe[ze]=ie.getRawIndex(Ue),pe)}}},z.prototype._initSelectedMapFromData=function(ie){if(!this.option.selectedMap){var le=[];ie.hasItemOption&&ie.each(function(ue){var pe=ie.getRawDataItem(ue);pe&&pe.selected&&le.push(ue)}),le.length>0&&this._innerSelect(ie,le)}},z.registerClass=function(ie){return ComponentModel$1.registerClass(ie)},z.protoInitialize=function(){var ie=z.prototype;ie.type="series.__base__",ie.seriesIndex=0,ie.ignoreStyleOnData=!1,ie.hasSymbolVisual=!1,ie.defaultSymbol="circle",ie.visualStyleAccessPath="itemStyle",ie.visualDrawType="fill"}(),z}(ComponentModel$1);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel$1);function autoSeriesName($){var z=$.name;isNameSpecified($)||($.name=getSeriesAutoName($)||z)}function getSeriesAutoName($){var z=$.getRawData(),ie=z.mapDimensionsAll("seriesName"),le=[];return each$c(ie,function(ue){var pe=z.getDimensionInfo(ue);pe.displayName&&le.push(pe.displayName)}),le.join(" ")}function dataTaskCount($){return $.model.getRawData().count()}function dataTaskReset($){var z=$.model;return z.setData(z.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress($,z){z.outputData&&$.end>z.outputData.count()&&z.model.getRawData().cloneShallow(z.outputData)}function wrapData($,z){each$c(concatArray($.CHANGABLE_METHODS,$.DOWNSAMPLE_METHODS),function(ie){$.wrapMethod(ie,curry$1(onDataChange,z))})}function onDataChange($,z){var ie=getCurrentTask($);return ie&&ie.setOutputEnd((z||this).count()),z}function getCurrentTask($){var z=($.ecModel||{}).scheduler,ie=z&&z.getPipeline($.uid);if(ie){var le=ie.currentTask;if(le){var ue=le.agentStubMap;ue&&(le=ue.get($.uid))}return le}}const SeriesModel$1=SeriesModel;var ComponentView=function(){function $(){this.group=new Group$3,this.uid=getUID("viewComponent")}return $.prototype.init=function(z,ie){},$.prototype.render=function(z,ie,le,ue){},$.prototype.dispose=function(z,ie){},$.prototype.updateView=function(z,ie,le,ue){},$.prototype.updateLayout=function(z,ie,le,ue){},$.prototype.updateVisual=function(z,ie,le,ue){},$.prototype.toggleBlurSeries=function(z,ie,le){},$.prototype.eachRendered=function(z){var ie=this.group;ie&&ie.traverse(z)},$}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);const ComponentView$1=ComponentView;function createRenderPlanner(){var $=makeInner();return function(z){var ie=$(z),le=z.pipelineContext,ue=!!ie.large,pe=!!ie.progressiveRender,_e=ie.large=!!(le&&le.large),Ce=ie.progressiveRender=!!(le&&le.progressiveRender);return(ue!==_e||pe!==Ce)&&"reset"}}var inner$a=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function $(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return $.prototype.init=function(z,ie){},$.prototype.render=function(z,ie,le,ue){},$.prototype.highlight=function(z,ie,le,ue){var pe=z.getData(ue&&ue.dataType);pe&&toggleHighlight(pe,ue,"emphasis")},$.prototype.downplay=function(z,ie,le,ue){var pe=z.getData(ue&&ue.dataType);pe&&toggleHighlight(pe,ue,"normal")},$.prototype.remove=function(z,ie){this.group.removeAll()},$.prototype.dispose=function(z,ie){},$.prototype.updateView=function(z,ie,le,ue){this.render(z,ie,le,ue)},$.prototype.updateLayout=function(z,ie,le,ue){this.render(z,ie,le,ue)},$.prototype.updateVisual=function(z,ie,le,ue){this.render(z,ie,le,ue)},$.prototype.eachRendered=function(z){traverseElements(this.group,z)},$.markUpdateMethod=function(z,ie){inner$a(z).updateMethod=ie},$.protoInitialize=function(){var z=$.prototype;z.type="chart"}(),$}();function elSetState($,z,ie){$&&isHighDownDispatcher($)&&(z==="emphasis"?enterEmphasis:leaveEmphasis)($,ie)}function toggleHighlight($,z,ie){var le=queryDataIndex($,z),ue=z&&z.highlightKey!=null?getHighlightDigit(z.highlightKey):null;le!=null?each$c(normalizeToArray(le),function(pe){elSetState($.getItemGraphicEl(pe),ie,ue)}):$.eachItemGraphicEl(function(pe){elSetState(pe,ie,ue)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan($){return renderPlanner($.model)}function renderTaskReset($){var z=$.model,ie=$.ecModel,le=$.api,ue=$.payload,pe=z.pipelineContext.progressiveRender,_e=$.view,Ce=ue&&inner$a(ue).updateMethod,$e=pe?"incrementalPrepareRender":Ce&&_e[Ce]?Ce:"render";return $e!=="render"&&_e[$e](z,ie,le,ue),progressMethodMap[$e]}var progressMethodMap={incrementalPrepareRender:{progress:function($,z){z.view.incrementalRender($,z.model,z.ecModel,z.api,z.payload)}},render:{forceFirstProgress:!0,progress:function($,z){z.view.render(z.model,z.ecModel,z.api,z.payload)}}};const ChartView$1=ChartView;var ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle($,z,ie){var le,ue=0,pe=0,_e=null,Ce,$e,xe,Ie;z=z||0;function Ve(){pe=new Date().getTime(),_e=null,$.apply($e,xe||[])}var ze=function(){for(var Ue=[],qe=0;qe<arguments.length;qe++)Ue[qe]=arguments[qe];le=new Date().getTime(),$e=this,xe=Ue;var Et=Ie||z,Lt=Ie||ie;Ie=null,Ce=le-(Lt?ue:pe)-Et,clearTimeout(_e),Lt?_e=setTimeout(Ve,Et):Ce>=0?Ve():_e=setTimeout(Ve,-Ce),ue=le};return ze.clear=function(){_e&&(clearTimeout(_e),_e=null)},ze.debounceNextCall=function(Ue){Ie=Ue},ze}function createOrUpdate($,z,ie,le){var ue=$[z];if(ue){var pe=ue[ORIGIN_METHOD]||ue,_e=ue[THROTTLE_TYPE],Ce=ue[RATE];if(Ce!==ie||_e!==le){if(ie==null||!le)return $[z]=pe;ue=$[z]=throttle(pe,ie,le==="debounce"),ue[ORIGIN_METHOD]=pe,ue[THROTTLE_TYPE]=le,ue[RATE]=ie}return ue}}function clear$1($,z){var ie=$[z];ie&&ie[ORIGIN_METHOD]&&(ie.clear&&ie.clear(),$[z]=ie[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($,z){var ie=$.visualStyleMapper||defaultStyleMappers[z];return ie||(console.warn("Unknown style type '"+z+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey($,z){var ie=$.visualDrawType||defaultColorKey[z];return ie||(console.warn("Unknown style type '"+z+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function($,z){var ie=$.getData(),le=$.visualStyleAccessPath||"itemStyle",ue=$.getModel(le),pe=getStyleMapper($,le),_e=pe(ue),Ce=ue.getShallow("decal");Ce&&(ie.setVisual("decal",Ce),Ce.dirty=!0);var $e=getDefaultColorKey($,le),xe=_e[$e],Ie=isFunction(xe)?xe:null,Ve=_e.fill==="auto"||_e.stroke==="auto";if(!_e[$e]||Ie||Ve){var ze=$.getColorFromPalette($.name,null,z.getSeriesCount());_e[$e]||(_e[$e]=ze,ie.setVisual("colorFromPalette",!0)),_e.fill=_e.fill==="auto"||isFunction(_e.fill)?ze:_e.fill,_e.stroke=_e.stroke==="auto"||isFunction(_e.stroke)?ze:_e.stroke}if(ie.setVisual("style",_e),ie.setVisual("drawType",$e),!z.isSeriesFiltered($)&&Ie)return ie.setVisual("colorFromPalette",!1),{dataEach:function(Ue,qe){var Et=$.getDataParams(qe),Lt=extend({},_e);Lt[$e]=Ie(Et),Ue.setItemVisual(qe,"style",Lt)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function($,z){if(!($.ignoreStyleOnData||z.isSeriesFiltered($))){var ie=$.getData(),le=$.visualStyleAccessPath||"itemStyle",ue=getStyleMapper($,le),pe=ie.getVisual("drawType");return{dataEach:ie.hasItemOption?function(_e,Ce){var $e=_e.getRawDataItem(Ce);if($e&&$e[le]){sharedModel.option=$e[le];var xe=ue(sharedModel),Ie=_e.ensureUniqueItemVisual(Ce,"style");extend(Ie,xe),sharedModel.option.decal&&(_e.setItemVisual(Ce,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),pe in xe&&_e.setItemVisual(Ce,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function($){var z=createHashMap();$.eachSeries(function(ie){var le=ie.getColorBy();if(!ie.isColorBySeries()){var ue=ie.type+"-"+le,pe=z.get(ue);pe||(pe={},z.set(ue,pe)),inner$9(ie).scope=pe}}),$.eachSeries(function(ie){if(!(ie.isColorBySeries()||$.isSeriesFiltered(ie))){var le=ie.getRawData(),ue={},pe=ie.getData(),_e=inner$9(ie).scope,Ce=ie.visualStyleAccessPath||"itemStyle",$e=getDefaultColorKey(ie,Ce);pe.each(function(xe){var Ie=pe.getRawIndex(xe);ue[Ie]=xe}),le.each(function(xe){var Ie=ue[xe],Ve=pe.getItemVisual(Ie,"colorFromPalette");if(Ve){var ze=pe.ensureUniqueItemVisual(Ie,"style"),Ue=le.getName(xe)||xe+"",qe=le.count();ze[$e]=ie.getColorFromPalette(Ue,_e,qe)}})}})}},PI$1=Math.PI;function defaultLoading($,z){z=z||{},defaults(z,{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 ie=new Group$3,le=new Rect$2({style:{fill:z.maskColor},zlevel:z.zlevel,z:1e4});ie.add(le);var ue=new ZRText$1({style:{text:z.text,fill:z.textColor,fontSize:z.fontSize,fontWeight:z.fontWeight,fontStyle:z.fontStyle,fontFamily:z.fontFamily},zlevel:z.zlevel,z:10001}),pe=new Rect$2({style:{fill:"none"},textContent:ue,textConfig:{position:"right",distance:10},zlevel:z.zlevel,z:10001});ie.add(pe);var _e;return z.showSpinner&&(_e=new Arc$1({shape:{startAngle:-PI$1/2,endAngle:-PI$1/2+.1,r:z.spinnerRadius},style:{stroke:z.color,lineCap:"round",lineWidth:z.lineWidth},zlevel:z.zlevel,z:10001}),_e.animateShape(!0).when(1e3,{endAngle:PI$1*3/2}).start("circularInOut"),_e.animateShape(!0).when(1e3,{startAngle:PI$1*3/2}).delay(300).start("circularInOut"),ie.add(_e)),ie.resize=function(){var Ce=ue.getBoundingRect().width,$e=z.showSpinner?z.spinnerRadius:0,xe=($.getWidth()-$e*2-(z.showSpinner&&Ce?10:0)-Ce)/2-(z.showSpinner&&Ce?0:5+Ce/2)+(z.showSpinner?0:Ce/2)+(Ce?0:$e),Ie=$.getHeight()/2;z.showSpinner&&_e.setShape({cx:xe,cy:Ie}),pe.setShape({x:xe-$e,y:Ie-$e,width:$e*2,height:$e*2}),le.setShape({x:0,y:0,width:$.getWidth(),height:$.getHeight()})},ie.resize(),ie}var Scheduler=function(){function $(z,ie,le,ue){this._stageTaskMap=createHashMap(),this.ecInstance=z,this.api=ie,le=this._dataProcessorHandlers=le.slice(),ue=this._visualHandlers=ue.slice(),this._allHandlers=le.concat(ue)}return $.prototype.restoreData=function(z,ie){z.restoreData(ie),this._stageTaskMap.each(function(le){var ue=le.overallTask;ue&&ue.dirty()})},$.prototype.getPerformArgs=function(z,ie){if(z.__pipeline){var le=this._pipelineMap.get(z.__pipeline.id),ue=le.context,pe=!ie&&le.progressiveEnabled&&(!ue||ue.progressiveRender)&&z.__idxInPipeline>le.blockIndex,_e=pe?le.step:null,Ce=ue&&ue.modDataCount,$e=Ce!=null?Math.ceil(Ce/_e):null;return{step:_e,modBy:$e,modDataCount:Ce}}},$.prototype.getPipeline=function(z){return this._pipelineMap.get(z)},$.prototype.updateStreamModes=function(z,ie){var le=this._pipelineMap.get(z.uid),ue=z.getData(),pe=ue.count(),_e=le.progressiveEnabled&&ie.incrementalPrepareRender&&pe>=le.threshold,Ce=z.get("large")&&pe>=z.get("largeThreshold"),$e=z.get("progressiveChunkMode")==="mod"?pe:null;z.pipelineContext=le.context={progressiveRender:_e,modDataCount:$e,large:Ce}},$.prototype.restorePipelines=function(z){var ie=this,le=ie._pipelineMap=createHashMap();z.eachSeries(function(ue){var pe=ue.getProgressive(),_e=ue.uid;le.set(_e,{id:_e,head:null,tail:null,threshold:ue.getProgressiveThreshold(),progressiveEnabled:pe&&!(ue.preventIncremental&&ue.preventIncremental()),blockIndex:-1,step:Math.round(pe||700),count:0}),ie._pipe(ue,ue.dataTask)})},$.prototype.prepareStageTasks=function(){var z=this._stageTaskMap,ie=this.api.getModel(),le=this.api;each$c(this._allHandlers,function(ue){var pe=z.get(ue.uid)||z.set(ue.uid,{}),_e="";assert(!(ue.reset&&ue.overallReset),_e),ue.reset&&this._createSeriesStageTask(ue,pe,ie,le),ue.overallReset&&this._createOverallStageTask(ue,pe,ie,le)},this)},$.prototype.prepareView=function(z,ie,le,ue){var pe=z.renderTask,_e=pe.context;_e.model=ie,_e.ecModel=le,_e.api=ue,pe.__block=!z.incrementalPrepareRender,this._pipe(ie,pe)},$.prototype.performDataProcessorTasks=function(z,ie){this._performStageTasks(this._dataProcessorHandlers,z,ie,{block:!0})},$.prototype.performVisualTasks=function(z,ie,le){this._performStageTasks(this._visualHandlers,z,ie,le)},$.prototype._performStageTasks=function(z,ie,le,ue){ue=ue||{};var pe=!1,_e=this;each$c(z,function($e,xe){if(!(ue.visualType&&ue.visualType!==$e.visualType)){var Ie=_e._stageTaskMap.get($e.uid),Ve=Ie.seriesTaskMap,ze=Ie.overallTask;if(ze){var Ue,qe=ze.agentStubMap;qe.each(function(Lt){Ce(ue,Lt)&&(Lt.dirty(),Ue=!0)}),Ue&&ze.dirty(),_e.updatePayload(ze,le);var Et=_e.getPerformArgs(ze,ue.block);qe.each(function(Lt){Lt.perform(Et)}),ze.perform(Et)&&(pe=!0)}else Ve&&Ve.each(function(Lt,hn){Ce(ue,Lt)&&Lt.dirty();var vn=_e.getPerformArgs(Lt,ue.block);vn.skip=!$e.performRawSeries&&ie.isSeriesFiltered(Lt.context.model),_e.updatePayload(Lt,le),Lt.perform(vn)&&(pe=!0)})}});function Ce($e,xe){return $e.setDirty&&(!$e.dirtyMap||$e.dirtyMap.get(xe.__pipeline.id))}this.unfinished=pe||this.unfinished},$.prototype.performSeriesTasks=function(z){var ie;z.eachSeries(function(le){ie=le.dataTask.perform()||ie}),this.unfinished=ie||this.unfinished},$.prototype.plan=function(){this._pipelineMap.each(function(z){var ie=z.tail;do{if(ie.__block){z.blockIndex=ie.__idxInPipeline;break}ie=ie.getUpstream()}while(ie)})},$.prototype.updatePayload=function(z,ie){ie!=="remain"&&(z.context.payload=ie)},$.prototype._createSeriesStageTask=function(z,ie,le,ue){var pe=this,_e=ie.seriesTaskMap,Ce=ie.seriesTaskMap=createHashMap(),$e=z.seriesType,xe=z.getTargetSeries;z.createOnAllSeries?le.eachRawSeries(Ie):$e?le.eachRawSeriesByType($e,Ie):xe&&xe(le,ue).each(Ie);function Ie(Ve){var ze=Ve.uid,Ue=Ce.set(ze,_e&&_e.get(ze)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));Ue.context={model:Ve,ecModel:le,api:ue,useClearVisual:z.isVisual&&!z.isLayout,plan:z.plan,reset:z.reset,scheduler:pe},pe._pipe(Ve,Ue)}},$.prototype._createOverallStageTask=function(z,ie,le,ue){var pe=this,_e=ie.overallTask=ie.overallTask||createTask({reset:overallTaskReset});_e.context={ecModel:le,api:ue,overallReset:z.overallReset,scheduler:pe};var Ce=_e.agentStubMap,$e=_e.agentStubMap=createHashMap(),xe=z.seriesType,Ie=z.getTargetSeries,Ve=!0,ze=!1,Ue="";assert(!z.createOnAllSeries,Ue),xe?le.eachRawSeriesByType(xe,qe):Ie?Ie(le,ue).each(qe):(Ve=!1,each$c(le.getSeries(),qe));function qe(Et){var Lt=Et.uid,hn=$e.set(Lt,Ce&&Ce.get(Lt)||(ze=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));hn.context={model:Et,overallProgress:Ve},hn.agent=_e,hn.__block=Ve,pe._pipe(Et,hn)}ze&&_e.dirty()},$.prototype._pipe=function(z,ie){var le=z.uid,ue=this._pipelineMap.get(le);!ue.head&&(ue.head=ie),ue.tail&&ue.tail.pipe(ie),ue.tail=ie,ie.__idxInPipeline=ue.count++,ie.__pipeline=ue},$.wrapStageHandler=function(z,ie){return isFunction(z)&&(z={overallReset:z,seriesType:detectSeriseType(z)}),z.uid=getUID("stageHandler"),ie&&(z.visualType=ie),z},$}();function overallTaskReset($){$.overallReset($.ecModel,$.api,$.payload)}function stubReset($){return $.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan($){return $.plan?$.plan($.model,$.ecModel,$.api,$.payload):null}function seriesTaskReset($){$.useClearVisual&&$.data.clearAllVisual();var z=$.resetDefines=normalizeToArray($.reset($.model,$.ecModel,$.api,$.payload));return z.length>1?map$2(z,function(ie,le){return makeSeriesTaskProgress(le)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress($){return function(z,ie){var le=ie.data,ue=ie.resetDefines[$];if(ue&&ue.dataEach)for(var pe=z.start;pe<z.end;pe++)ue.dataEach(le,pe);else ue&&ue.progress&&ue.progress(z,le)}}function seriesTaskCount($){return $.data.count()}function detectSeriseType($){seriesType=null;try{$(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel$1);mockMethods(apiMock,ExtensionAPI$1);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function($){seriesType=$};ecModelMock.eachComponent=function($){$.mainType==="series"&&$.subType&&(seriesType=$.subType)};function mockMethods($,z){for(var ie in z.prototype)$[ie]=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 $(){}return $.prototype.normalizeQuery=function(z){var ie={},le={},ue={};if(isString(z)){var pe=parseClassType(z);ie.mainType=pe.main||null,ie.subType=pe.sub||null}else{var _e=["Index","Name","Id"],Ce={name:1,dataIndex:1,dataType:1};each$c(z,function($e,xe){for(var Ie=!1,Ve=0;Ve<_e.length;Ve++){var ze=_e[Ve],Ue=xe.lastIndexOf(ze);if(Ue>0&&Ue===xe.length-ze.length){var qe=xe.slice(0,Ue);qe!=="data"&&(ie.mainType=qe,ie[ze.toLowerCase()]=$e,Ie=!0)}}Ce.hasOwnProperty(xe)&&(le[xe]=$e,Ie=!0),Ie||(ue[xe]=$e)})}return{cptQuery:ie,dataQuery:le,otherQuery:ue}},$.prototype.filter=function(z,ie){var le=this.eventInfo;if(!le)return!0;var ue=le.targetEl,pe=le.packedEvent,_e=le.model,Ce=le.view;if(!_e||!Ce)return!0;var $e=ie.cptQuery,xe=ie.dataQuery;return Ie($e,_e,"mainType")&&Ie($e,_e,"subType")&&Ie($e,_e,"index","componentIndex")&&Ie($e,_e,"name")&&Ie($e,_e,"id")&&Ie(xe,pe,"name")&&Ie(xe,pe,"dataIndex")&&Ie(xe,pe,"dataType")&&(!Ce.filterForExposedEvent||Ce.filterForExposedEvent(z,ie.otherQuery,ue,pe));function Ie(Ve,ze,Ue,qe){return Ve[Ue]==null||ze[qe||Ue]===Ve[Ue]}},$.prototype.afterTrigger=function(){this.eventInfo=null},$}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function($,z){var ie=$.getData();if($.legendIcon&&ie.setVisual("legendIcon",$.legendIcon),!$.hasSymbolVisual)return;for(var le={},ue={},pe=!1,_e=0;_e<SYMBOL_PROPS_WITH_CB.length;_e++){var Ce=SYMBOL_PROPS_WITH_CB[_e],$e=$.get(Ce);isFunction($e)?(pe=!0,ue[Ce]=$e):le[Ce]=$e}if(le.symbol=le.symbol||$.defaultSymbol,ie.setVisual(extend({legendIcon:$.legendIcon||le.symbol,symbolKeepAspect:$.get("symbolKeepAspect")},le)),z.isSeriesFiltered($))return;var xe=keys(ue);function Ie(Ve,ze){for(var Ue=$.getRawValue(ze),qe=$.getDataParams(ze),Et=0;Et<xe.length;Et++){var Lt=xe[Et];Ve.setItemVisual(ze,Lt,ue[Lt](Ue,qe))}}return{dataEach:pe?Ie:null}}},dataSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function($,z){if(!$.hasSymbolVisual||z.isSeriesFiltered($))return;var ie=$.getData();function le(ue,pe){for(var _e=ue.getItemModel(pe),Ce=0;Ce<SYMBOL_PROPS.length;Ce++){var $e=SYMBOL_PROPS[Ce],xe=_e.getShallow($e,!0);xe!=null&&ue.setItemVisual(pe,$e,xe)}}return{dataEach:ie.hasItemOption?le:null}}};function getItemVisualFromData($,z,ie){switch(ie){case"color":var le=$.getItemVisual(z,"style");return le[$.getVisual("drawType")];case"opacity":return $.getItemVisual(z,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return $.getItemVisual(z,ie)}}function getVisualFromData($,z){switch(z){case"color":var ie=$.getVisual("style");return ie[$.getVisual("drawType")];case"opacity":return $.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return $.getVisual(z)}}function setItemVisualFromData($,z,ie,le){switch(ie){case"color":var ue=$.ensureUniqueItemVisual(z,"style");ue[$.getVisual("drawType")]=le,$.setItemVisual(z,"colorFromPalette",!1);break;case"opacity":$.ensureUniqueItemVisual(z,"style").opacity=le;break;case"symbol":case"symbolSize":case"liftZ":$.setItemVisual(z,ie,le);break}}function createLegacyDataSelectAction($,z){function ie(le,ue){var pe=[];return le.eachComponent({mainType:"series",subType:$,query:ue},function(_e){pe.push(_e.seriesIndex)}),pe}each$c([[$+"ToggleSelect","toggleSelect"],[$+"Select","select"],[$+"UnSelect","unselect"]],function(le){z(le[0],function(ue,pe,_e){ue=extend({},ue),_e.dispatchAction(extend(ue,{type:le[1],seriesIndex:ie(pe,ue)}))})})}function handleSeriesLegacySelectEvents($,z,ie,le,ue){var pe=$+z;ie.isSilent(pe)||le.eachComponent({mainType:"series",subType:"pie"},function(_e){for(var Ce=_e.seriesIndex,$e=_e.option.selectedMap,xe=ue.selected,Ie=0;Ie<xe.length;Ie++)if(xe[Ie].seriesIndex===Ce){var Ve=_e.getData(),ze=queryDataIndex(Ve,ue.fromActionPayload);ie.trigger(pe,{type:pe,seriesId:_e.id,name:isArray$1(ze)?Ve.getName(ze[0]):Ve.getName(ze),selected:isString($e)?$e:extend({},$e)})}})}function handleLegacySelectEvents($,z,ie){$.on("selectchanged",function(le){var ue=ie.getModel();le.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",z,ue,le),handleSeriesLegacySelectEvents("pie","selectchanged",z,ue,le)):le.fromAction==="select"?(handleSeriesLegacySelectEvents("map","selected",z,ue,le),handleSeriesLegacySelectEvents("pie","selected",z,ue,le)):le.fromAction==="unselect"&&(handleSeriesLegacySelectEvents("map","unselected",z,ue,le),handleSeriesLegacySelectEvents("pie","unselected",z,ue,le))})}function findEventDispatcher($,z,ie){for(var le;$&&!(z($)&&(le=$,ie));)$=$.__hostTarget||$.parent;return le}var wmUniqueIndex=Math.round(Math.random()*9),supportDefineProperty=typeof Object.defineProperty=="function",WeakMap$1=function(){function $(){this._id="__ec_inner_"+wmUniqueIndex++}return $.prototype.get=function(z){return this._guard(z)[this._id]},$.prototype.set=function(z,ie){var le=this._guard(z);return supportDefineProperty?Object.defineProperty(le,this._id,{value:ie,enumerable:!1,configurable:!0}):le[this._id]=ie,this},$.prototype.delete=function(z){return this.has(z)?(delete this._guard(z)[this._id],!0):!1},$.prototype.has=function(z){return!!this._guard(z)[this._id]},$.prototype._guard=function(z){if(z!==Object(z))throw TypeError("Value of WeakMap is not a non-null object.");return z},$}();const WeakMap$2=WeakMap$1;var Triangle=Path$1.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function($,z){var ie=z.cx,le=z.cy,ue=z.width/2,pe=z.height/2;$.moveTo(ie,le-pe),$.lineTo(ie+ue,le+pe),$.lineTo(ie-ue,le+pe),$.closePath()}}),Diamond=Path$1.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function($,z){var ie=z.cx,le=z.cy,ue=z.width/2,pe=z.height/2;$.moveTo(ie,le-pe),$.lineTo(ie+ue,le),$.lineTo(ie,le+pe),$.lineTo(ie-ue,le),$.closePath()}}),Pin=Path$1.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function($,z){var ie=z.x,le=z.y,ue=z.width/5*3,pe=Math.max(ue,z.height),_e=ue/2,Ce=_e*_e/(pe-_e),$e=le-pe+_e+Ce,xe=Math.asin(Ce/_e),Ie=Math.cos(xe)*_e,Ve=Math.sin(xe),ze=Math.cos(xe),Ue=_e*.6,qe=_e*.7;$.moveTo(ie-Ie,$e+Ce),$.arc(ie,$e,_e,Math.PI-xe,Math.PI*2+xe),$.bezierCurveTo(ie+Ie-Ve*Ue,$e+Ce+ze*Ue,ie,le-qe,ie,le),$.bezierCurveTo(ie,le-qe,ie-Ie+Ve*Ue,$e+Ce+ze*Ue,ie-Ie,$e+Ce),$.closePath()}}),Arrow=Path$1.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function($,z){var ie=z.height,le=z.width,ue=z.x,pe=z.y,_e=le/3*2;$.moveTo(ue,pe),$.lineTo(ue+_e,pe+ie),$.lineTo(ue,pe+ie/4*3),$.lineTo(ue-_e,pe+ie),$.lineTo(ue,pe),$.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($,z,ie,le,ue){ue.x1=$,ue.y1=z+le/2,ue.x2=$+ie,ue.y2=z+le/2},rect:function($,z,ie,le,ue){ue.x=$,ue.y=z,ue.width=ie,ue.height=le},roundRect:function($,z,ie,le,ue){ue.x=$,ue.y=z,ue.width=ie,ue.height=le,ue.r=Math.min(ie,le)/4},square:function($,z,ie,le,ue){var pe=Math.min(ie,le);ue.x=$,ue.y=z,ue.width=pe,ue.height=pe},circle:function($,z,ie,le,ue){ue.cx=$+ie/2,ue.cy=z+le/2,ue.r=Math.min(ie,le)/2},diamond:function($,z,ie,le,ue){ue.cx=$+ie/2,ue.cy=z+le/2,ue.width=ie,ue.height=le},pin:function($,z,ie,le,ue){ue.x=$+ie/2,ue.y=z+le/2,ue.width=ie,ue.height=le},arrow:function($,z,ie,le,ue){ue.x=$+ie/2,ue.y=z+le/2,ue.width=ie,ue.height=le},triangle:function($,z,ie,le,ue){ue.cx=$+ie/2,ue.cy=z+le/2,ue.width=ie,ue.height=le}},symbolBuildProxies={};each$c(symbolCtors,function($,z){symbolBuildProxies[z]=new $});var SymbolClz$1=Path$1.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function($,z,ie){var le=calculateTextPosition($,z,ie),ue=this.shape;return ue&&ue.symbolType==="pin"&&z.position==="inside"&&(le.y=ie.y+ie.height*.4),le},buildPath:function($,z,ie){var le=z.symbolType;if(le!=="none"){var ue=symbolBuildProxies[le];ue||(le="rect",ue=symbolBuildProxies[le]),symbolShapeMakers[le](z.x,z.y,z.width,z.height,ue.shape),ue.buildPath($,ue.shape,ie)}}});function symbolPathSetColor($,z){if(this.type!=="image"){var ie=this.style;this.__isEmptyBrush?(ie.stroke=$,ie.fill=z||"#fff",ie.lineWidth=2):this.shape.symbolType==="line"?ie.stroke=$:ie.fill=$,this.markRedraw()}}function createSymbol($,z,ie,le,ue,pe,_e){var Ce=$.indexOf("empty")===0;Ce&&($=$.substr(5,1).toLowerCase()+$.substr(6));var $e;return $.indexOf("image://")===0?$e=makeImage($.slice(8),new BoundingRect$1(z,ie,le,ue),_e?"center":"cover"):$.indexOf("path://")===0?$e=makePath($.slice(7),{},new BoundingRect$1(z,ie,le,ue),_e?"center":"cover"):$e=new SymbolClz$1({shape:{symbolType:$,x:z,y:ie,width:le,height:ue}}),$e.__isEmptyBrush=Ce,$e.setColor=symbolPathSetColor,pe&&$e.setColor(pe),$e}function normalizeSymbolSize($){return isArray$1($)||($=[+$,+$]),[$[0]||0,$[1]||0]}function normalizeSymbolOffset($,z){if($!=null)return isArray$1($)||($=[$,$]),[parsePercent($[0],z[0])||0,parsePercent(retrieve2($[1],$[0]),z[1])||0]}function isSafeNum($){return isFinite($)}function createLinearGradient($,z,ie){var le=z.x==null?0:z.x,ue=z.x2==null?1:z.x2,pe=z.y==null?0:z.y,_e=z.y2==null?0:z.y2;z.global||(le=le*ie.width+ie.x,ue=ue*ie.width+ie.x,pe=pe*ie.height+ie.y,_e=_e*ie.height+ie.y),le=isSafeNum(le)?le:0,ue=isSafeNum(ue)?ue:1,pe=isSafeNum(pe)?pe:0,_e=isSafeNum(_e)?_e:0;var Ce=$.createLinearGradient(le,pe,ue,_e);return Ce}function createRadialGradient($,z,ie){var le=ie.width,ue=ie.height,pe=Math.min(le,ue),_e=z.x==null?.5:z.x,Ce=z.y==null?.5:z.y,$e=z.r==null?.5:z.r;z.global||(_e=_e*le+ie.x,Ce=Ce*ue+ie.y,$e=$e*pe),_e=isSafeNum(_e)?_e:.5,Ce=isSafeNum(Ce)?Ce:.5,$e=$e>=0&&isSafeNum($e)?$e:.5;var xe=$.createRadialGradient(_e,Ce,0,_e,Ce,$e);return xe}function getCanvasGradient($,z,ie){for(var le=z.type==="radial"?createRadialGradient($,z,ie):createLinearGradient($,z,ie),ue=z.colorStops,pe=0;pe<ue.length;pe++)le.addColorStop(ue[pe].offset,ue[pe].color);return le}function isClipPathChanged($,z){if($===z||!$&&!z)return!1;if(!$||!z||$.length!==z.length)return!0;for(var ie=0;ie<$.length;ie++)if($[ie]!==z[ie])return!0;return!1}function parseInt10($){return parseInt($,10)}function getSize$1($,z,ie){var le=["width","height"][z],ue=["clientWidth","clientHeight"][z],pe=["paddingLeft","paddingTop"][z],_e=["paddingRight","paddingBottom"][z];if(ie[le]!=null&&ie[le]!=="auto")return parseFloat(ie[le]);var Ce=document.defaultView.getComputedStyle($);return($[ue]||parseInt10(Ce[le])||parseInt10($.style[le]))-(parseInt10(Ce[pe])||0)-(parseInt10(Ce[_e])||0)|0}function normalizeLineDash($,z){return!$||$==="solid"||!(z>0)?null:$==="dashed"?[4*z,2*z]:$==="dotted"?[z]:isNumber($)?[$]:isArray$1($)?$:null}function getLineDash($){var z=$.style,ie=z.lineDash&&z.lineWidth>0&&normalizeLineDash(z.lineDash,z.lineWidth),le=z.lineDashOffset;if(ie){var ue=z.strokeNoScale&&$.getLineScale?$.getLineScale():1;ue&&ue!==1&&(ie=map$2(ie,function(pe){return pe/ue}),le/=ue)}return[ie,le]}var pathProxyForDraw=new PathProxy$1(!0);function styleHasStroke($){var z=$.stroke;return!(z==null||z==="none"||!($.lineWidth>0))}function isValidStrokeFillStyle($){return typeof $=="string"&&$!=="none"}function styleHasFill($){var z=$.fill;return z!=null&&z!=="none"}function doFillPath($,z){if(z.fillOpacity!=null&&z.fillOpacity!==1){var ie=$.globalAlpha;$.globalAlpha=z.fillOpacity*z.opacity,$.fill(),$.globalAlpha=ie}else $.fill()}function doStrokePath($,z){if(z.strokeOpacity!=null&&z.strokeOpacity!==1){var ie=$.globalAlpha;$.globalAlpha=z.strokeOpacity*z.opacity,$.stroke(),$.globalAlpha=ie}else $.stroke()}function createCanvasPattern($,z,ie){var le=createOrUpdateImage(z.image,z.__image,ie);if(isImageReady(le)){var ue=$.createPattern(le,z.repeat||"repeat");if(typeof DOMMatrix=="function"&&ue&&ue.setTransform){var pe=new DOMMatrix;pe.translateSelf(z.x||0,z.y||0),pe.rotateSelf(0,0,(z.rotation||0)*RADIAN_TO_DEGREE),pe.scaleSelf(z.scaleX||1,z.scaleY||1),ue.setTransform(pe)}return ue}}function brushPath($,z,ie,le){var ue,pe=styleHasStroke(ie),_e=styleHasFill(ie),Ce=ie.strokePercent,$e=Ce<1,xe=!z.path;(!z.silent||$e)&&xe&&z.createPathProxy();var Ie=z.path||pathProxyForDraw,Ve=z.__dirty;if(!le){var ze=ie.fill,Ue=ie.stroke,qe=_e&&!!ze.colorStops,Et=pe&&!!Ue.colorStops,Lt=_e&&!!ze.image,hn=pe&&!!Ue.image,vn=void 0,_n=void 0,bn=void 0,Cn=void 0,Sn=void 0;(qe||Et)&&(Sn=z.getBoundingRect()),qe&&(vn=Ve?getCanvasGradient($,ze,Sn):z.__canvasFillGradient,z.__canvasFillGradient=vn),Et&&(_n=Ve?getCanvasGradient($,Ue,Sn):z.__canvasStrokeGradient,z.__canvasStrokeGradient=_n),Lt&&(bn=Ve||!z.__canvasFillPattern?createCanvasPattern($,ze,z):z.__canvasFillPattern,z.__canvasFillPattern=bn),hn&&(Cn=Ve||!z.__canvasStrokePattern?createCanvasPattern($,Ue,z):z.__canvasStrokePattern,z.__canvasStrokePattern=bn),qe?$.fillStyle=vn:Lt&&(bn?$.fillStyle=bn:_e=!1),Et?$.strokeStyle=_n:hn&&(Cn?$.strokeStyle=Cn:pe=!1)}var En=z.getGlobalScale();Ie.setScale(En[0],En[1],z.segmentIgnoreThreshold);var wn,Tn;$.setLineDash&&ie.lineDash&&(ue=getLineDash(z),wn=ue[0],Tn=ue[1]);var kn=!0;(xe||Ve&SHAPE_CHANGED_BIT)&&(Ie.setDPR($.dpr),$e?Ie.setContext(null):(Ie.setContext($),kn=!1),Ie.reset(),z.buildPath(Ie,z.shape,le),Ie.toStatic(),z.pathUpdated()),kn&&Ie.rebuildPath($,$e?Ce:1),wn&&($.setLineDash(wn),$.lineDashOffset=Tn),le||(ie.strokeFirst?(pe&&doStrokePath($,ie),_e&&doFillPath($,ie)):(_e&&doFillPath($,ie),pe&&doStrokePath($,ie))),wn&&$.setLineDash([])}function brushImage($,z,ie){var le=z.__image=createOrUpdateImage(ie.image,z.__image,z,z.onload);if(!(!le||!isImageReady(le))){var ue=ie.x||0,pe=ie.y||0,_e=z.getWidth(),Ce=z.getHeight(),$e=le.width/le.height;if(_e==null&&Ce!=null?_e=Ce*$e:Ce==null&&_e!=null?Ce=_e/$e:_e==null&&Ce==null&&(_e=le.width,Ce=le.height),ie.sWidth&&ie.sHeight){var xe=ie.sx||0,Ie=ie.sy||0;$.drawImage(le,xe,Ie,ie.sWidth,ie.sHeight,ue,pe,_e,Ce)}else if(ie.sx&&ie.sy){var xe=ie.sx,Ie=ie.sy,Ve=_e-xe,ze=Ce-Ie;$.drawImage(le,xe,Ie,Ve,ze,ue,pe,_e,Ce)}else $.drawImage(le,ue,pe,_e,Ce)}}function brushText($,z,ie){var le,ue=ie.text;if(ue!=null&&(ue+=""),ue){$.font=ie.font||DEFAULT_FONT,$.textAlign=ie.textAlign,$.textBaseline=ie.textBaseline;var pe=void 0,_e=void 0;$.setLineDash&&ie.lineDash&&(le=getLineDash(z),pe=le[0],_e=le[1]),pe&&($.setLineDash(pe),$.lineDashOffset=_e),ie.strokeFirst?(styleHasStroke(ie)&&$.strokeText(ue,ie.x,ie.y),styleHasFill(ie)&&$.fillText(ue,ie.x,ie.y)):(styleHasFill(ie)&&$.fillText(ue,ie.x,ie.y),styleHasStroke(ie)&&$.strokeText(ue,ie.x,ie.y)),pe&&$.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps($,z,ie,le,ue){var pe=!1;if(!le&&(ie=ie||{},z===ie))return!1;if(le||z.opacity!==ie.opacity){flushPathDrawn($,ue),pe=!0;var _e=Math.max(Math.min(z.opacity,1),0);$.globalAlpha=isNaN(_e)?DEFAULT_COMMON_STYLE.opacity:_e}(le||z.blend!==ie.blend)&&(pe||(flushPathDrawn($,ue),pe=!0),$.globalCompositeOperation=z.blend||DEFAULT_COMMON_STYLE.blend);for(var Ce=0;Ce<SHADOW_NUMBER_PROPS.length;Ce++){var $e=SHADOW_NUMBER_PROPS[Ce];(le||z[$e]!==ie[$e])&&(pe||(flushPathDrawn($,ue),pe=!0),$[$e]=$.dpr*(z[$e]||0))}return(le||z.shadowColor!==ie.shadowColor)&&(pe||(flushPathDrawn($,ue),pe=!0),$.shadowColor=z.shadowColor||DEFAULT_COMMON_STYLE.shadowColor),pe}function bindPathAndTextCommonStyle($,z,ie,le,ue){var pe=getStyle(z,ue.inHover),_e=le?null:ie&&getStyle(ie,ue.inHover)||{};if(pe===_e)return!1;var Ce=bindCommonProps($,pe,_e,le,ue);if((le||pe.fill!==_e.fill)&&(Ce||(flushPathDrawn($,ue),Ce=!0),isValidStrokeFillStyle(pe.fill)&&($.fillStyle=pe.fill)),(le||pe.stroke!==_e.stroke)&&(Ce||(flushPathDrawn($,ue),Ce=!0),isValidStrokeFillStyle(pe.stroke)&&($.strokeStyle=pe.stroke)),(le||pe.opacity!==_e.opacity)&&(Ce||(flushPathDrawn($,ue),Ce=!0),$.globalAlpha=pe.opacity==null?1:pe.opacity),z.hasStroke()){var $e=pe.lineWidth,xe=$e/(pe.strokeNoScale&&z.getLineScale?z.getLineScale():1);$.lineWidth!==xe&&(Ce||(flushPathDrawn($,ue),Ce=!0),$.lineWidth=xe)}for(var Ie=0;Ie<STROKE_PROPS.length;Ie++){var Ve=STROKE_PROPS[Ie],ze=Ve[0];(le||pe[ze]!==_e[ze])&&(Ce||(flushPathDrawn($,ue),Ce=!0),$[ze]=pe[ze]||Ve[1])}return Ce}function bindImageStyle($,z,ie,le,ue){return bindCommonProps($,getStyle(z,ue.inHover),ie&&getStyle(ie,ue.inHover),le,ue)}function setContextTransform($,z){var ie=z.transform,le=$.dpr||1;ie?$.setTransform(le*ie[0],le*ie[1],le*ie[2],le*ie[3],le*ie[4],le*ie[5]):$.setTransform(le,0,0,le,0,0)}function updateClipStatus($,z,ie){for(var le=!1,ue=0;ue<$.length;ue++){var pe=$[ue];le=le||pe.isZeroArea(),setContextTransform(z,pe),z.beginPath(),pe.buildPath(z,pe.shape),z.clip()}ie.allClipped=le}function isTransformChanged($,z){return $&&z?$[0]!==z[0]||$[1]!==z[1]||$[2]!==z[2]||$[3]!==z[3]||$[4]!==z[4]||$[5]!==z[5]:!(!$&&!z)}var DRAW_TYPE_PATH=1,DRAW_TYPE_IMAGE=2,DRAW_TYPE_TEXT=3,DRAW_TYPE_INCREMENTAL=4;function canPathBatch($){var z=styleHasFill($),ie=styleHasStroke($);return!($.lineDash||!(+z^+ie)||z&&typeof $.fill!="string"||ie&&typeof $.stroke!="string"||$.strokePercent<1||$.strokeOpacity<1||$.fillOpacity<1)}function flushPathDrawn($,z){z.batchFill&&$.fill(),z.batchStroke&&$.stroke(),z.batchFill="",z.batchStroke=""}function getStyle($,z){return z&&$.__hoverStyle||$.style}function brushSingle($,z){brush($,z,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function brush($,z,ie,le){var ue=z.transform;if(!z.shouldBePainted(ie.viewWidth,ie.viewHeight,!1,!1)){z.__dirty&=~REDRAW_BIT,z.__isRendered=!1;return}var pe=z.__clipPaths,_e=ie.prevElClipPaths,Ce=!1,$e=!1;if((!_e||isClipPathChanged(pe,_e))&&(_e&&_e.length&&(flushPathDrawn($,ie),$.restore(),$e=Ce=!0,ie.prevElClipPaths=null,ie.allClipped=!1,ie.prevEl=null),pe&&pe.length&&(flushPathDrawn($,ie),$.save(),updateClipStatus(pe,$,ie),Ce=!0),ie.prevElClipPaths=pe),ie.allClipped){z.__isRendered=!1;return}z.beforeBrush&&z.beforeBrush(),z.innerBeforeBrush();var xe=ie.prevEl;xe||($e=Ce=!0);var Ie=z instanceof Path$1&&z.autoBatch&&canPathBatch(z.style);Ce||isTransformChanged(ue,xe.transform)?(flushPathDrawn($,ie),setContextTransform($,z)):Ie||flushPathDrawn($,ie);var Ve=getStyle(z,ie.inHover);z instanceof Path$1?(ie.lastDrawType!==DRAW_TYPE_PATH&&($e=!0,ie.lastDrawType=DRAW_TYPE_PATH),bindPathAndTextCommonStyle($,z,xe,$e,ie),(!Ie||!ie.batchFill&&!ie.batchStroke)&&$.beginPath(),brushPath($,z,Ve,Ie),Ie&&(ie.batchFill=Ve.fill||"",ie.batchStroke=Ve.stroke||"")):z instanceof TSpan$1?(ie.lastDrawType!==DRAW_TYPE_TEXT&&($e=!0,ie.lastDrawType=DRAW_TYPE_TEXT),bindPathAndTextCommonStyle($,z,xe,$e,ie),brushText($,z,Ve)):z instanceof ZRImage$1?(ie.lastDrawType!==DRAW_TYPE_IMAGE&&($e=!0,ie.lastDrawType=DRAW_TYPE_IMAGE),bindImageStyle($,z,xe,$e,ie),brushImage($,z,Ve)):z.getTemporalDisplayables&&(ie.lastDrawType!==DRAW_TYPE_INCREMENTAL&&($e=!0,ie.lastDrawType=DRAW_TYPE_INCREMENTAL),brushIncremental($,z,ie)),Ie&&le&&flushPathDrawn($,ie),z.innerAfterBrush(),z.afterBrush&&z.afterBrush(),ie.prevEl=z,z.__dirty=0,z.__isRendered=!0}function brushIncremental($,z,ie){var le=z.getDisplayables(),ue=z.getTemporalDisplayables();$.save();var pe={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:ie.viewWidth,viewHeight:ie.viewHeight,inHover:ie.inHover},_e,Ce;for(_e=z.getCursor(),Ce=le.length;_e<Ce;_e++){var $e=le[_e];$e.beforeBrush&&$e.beforeBrush(),$e.innerBeforeBrush(),brush($,$e,pe,_e===Ce-1),$e.innerAfterBrush(),$e.afterBrush&&$e.afterBrush(),pe.prevEl=$e}for(var xe=0,Ie=ue.length;xe<Ie;xe++){var $e=ue[xe];$e.beforeBrush&&$e.beforeBrush(),$e.innerBeforeBrush(),brush($,$e,pe,xe===Ie-1),$e.innerAfterBrush(),$e.afterBrush&&$e.afterBrush(),pe.prevEl=$e}z.clearTemporalDisplayables(),z.notClear=!0,$.restore()}var decalMap=new WeakMap$2,decalCache=new LRU$1(100),decalKeys=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function createOrUpdatePatternFromDecal($,z){if($==="none")return null;var ie=z.getDevicePixelRatio(),le=z.getZr(),ue=le.painter.type==="svg";$.dirty&&decalMap.delete($);var pe=decalMap.get($);if(pe)return pe;var _e=defaults($,{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});_e.backgroundColor==="none"&&(_e.backgroundColor=null);var Ce={repeat:"repeat"};return $e(Ce),Ce.rotation=_e.rotation,Ce.scaleX=Ce.scaleY=ue?1:1/ie,decalMap.set($,Ce),$.dirty=!1,Ce;function $e(xe){for(var Ie=[ie],Ve=!0,ze=0;ze<decalKeys.length;++ze){var Ue=_e[decalKeys[ze]];if(Ue!=null&&!isArray$1(Ue)&&!isString(Ue)&&!isNumber(Ue)&&typeof Ue!="boolean"){Ve=!1;break}Ie.push(Ue)}var qe;if(Ve){qe=Ie.join(",")+(ue?"-svg":"");var Et=decalCache.get(qe);Et&&(ue?xe.svgElement=Et:xe.image=Et)}var Lt=normalizeDashArrayX(_e.dashArrayX),hn=normalizeDashArrayY(_e.dashArrayY),vn=normalizeSymbolArray(_e.symbol),_n=getLineBlockLengthX(Lt),bn=getLineBlockLengthY(hn),Cn=!ue&&platformApi.createCanvas(),Sn=ue&&{tag:"g",attrs:{},key:"dcl",children:[]},En=Tn(),wn;Cn&&(Cn.width=En.width*ie,Cn.height=En.height*ie,wn=Cn.getContext("2d")),kn(),Ve&&decalCache.put(qe,Cn||Sn),xe.image=Cn,xe.svgElement=Sn,xe.svgWidth=En.width,xe.svgHeight=En.height;function Tn(){for(var xn=1,Pn=0,An=_n.length;Pn<An;++Pn)xn=getLeastCommonMultiple(xn,_n[Pn]);for(var In=1,Pn=0,An=vn.length;Pn<An;++Pn)In=getLeastCommonMultiple(In,vn[Pn].length);xn*=In;var Fn=bn*_n.length*vn.length;return{width:Math.max(1,Math.min(xn,_e.maxTileWidth)),height:Math.max(1,Math.min(Fn,_e.maxTileHeight))}}function kn(){wn&&(wn.clearRect(0,0,Cn.width,Cn.height),_e.backgroundColor&&(wn.fillStyle=_e.backgroundColor,wn.fillRect(0,0,Cn.width,Cn.height)));for(var xn=0,Pn=0;Pn<hn.length;++Pn)xn+=hn[Pn];if(xn<=0)return;for(var An=-bn,In=0,Fn=0,Dn=0;An<En.height;){if(In%2===0){for(var On=Fn/2%vn.length,Vn=0,Mn=0,zn=0;Vn<En.width*2;){for(var Kn=0,Pn=0;Pn<Lt[Dn].length;++Pn)Kn+=Lt[Dn][Pn];if(Kn<=0)break;if(Mn%2===0){var Hn=(1-_e.symbolSize)*.5,Xn=Vn+Lt[Dn][Mn]*Hn,lr=An+hn[In]*Hn,yr=Lt[Dn][Mn]*_e.symbolSize,ir=hn[In]*_e.symbolSize,Yn=zn/2%vn[On].length;Gn(Xn,lr,yr,ir,vn[On][Yn])}Vn+=Lt[Dn][Mn],++zn,++Mn,Mn===Lt[Dn].length&&(Mn=0)}++Dn,Dn===Lt.length&&(Dn=0)}An+=hn[In],++Fn,++In,In===hn.length&&(In=0)}function Gn(Wn,Qn,fr,jn,Zn){var rr=ue?1:ie,mr=createSymbol(Zn,Wn*rr,Qn*rr,fr*rr,jn*rr,_e.color,_e.symbolKeepAspect);if(ue){var _r=le.painter.renderOneToVNode(mr);_r&&Sn.children.push(_r)}else brushSingle(wn,mr)}}}}function normalizeSymbolArray($){if(!$||$.length===0)return[["rect"]];if(isString($))return[[$]];for(var z=!0,ie=0;ie<$.length;++ie)if(!isString($[ie])){z=!1;break}if(z)return normalizeSymbolArray([$]);for(var le=[],ie=0;ie<$.length;++ie)isString($[ie])?le.push([$[ie]]):le.push($[ie]);return le}function normalizeDashArrayX($){if(!$||$.length===0)return[[0,0]];if(isNumber($)){var z=Math.ceil($);return[[z,z]]}for(var ie=!0,le=0;le<$.length;++le)if(!isNumber($[le])){ie=!1;break}if(ie)return normalizeDashArrayX([$]);for(var ue=[],le=0;le<$.length;++le)if(isNumber($[le])){var z=Math.ceil($[le]);ue.push([z,z])}else{var z=map$2($[le],function(Ce){return Math.ceil(Ce)});z.length%2===1?ue.push(z.concat(z)):ue.push(z)}return ue}function normalizeDashArrayY($){if(!$||typeof $=="object"&&$.length===0)return[0,0];if(isNumber($)){var z=Math.ceil($);return[z,z]}var ie=map$2($,function(le){return Math.ceil(le)});return $.length%2?ie.concat(ie):ie}function getLineBlockLengthX($){return map$2($,function(z){return getLineBlockLengthY(z)})}function getLineBlockLengthY($){for(var z=0,ie=0;ie<$.length;++ie)z+=$[ie];return $.length%2===1?z*2:z}function decalVisual($,z){$.eachRawSeries(function(ie){if(!$.isSeriesFiltered(ie)){var le=ie.getData();le.hasItemVisual()&&le.each(function(_e){var Ce=le.getItemVisual(_e,"decal");if(Ce){var $e=le.ensureUniqueItemVisual(_e,"style");$e.decal=createOrUpdatePatternFromDecal(Ce,z)}});var ue=le.getVisual("decal");if(ue){var pe=le.getVisual("style");pe.decal=createOrUpdatePatternFromDecal(ue,z)}}})}var lifecycle=new Eventful$1;const lifecycle$1=lifecycle;var implsStore={};function registerImpl($,z){implsStore[$]=z}function getImpl($){return implsStore[$]}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($){return function(){for(var z=[],ie=0;ie<arguments.length;ie++)z[ie]=arguments[ie];if(this.isDisposed()){this.id;return}return toLowercaseNameAndCallEventful(this,$,z)}}function createRegisterEventWithLowercaseMessageCenter($){return function(){for(var z=[],ie=0;ie<arguments.length;ie++)z[ie]=arguments[ie];return toLowercaseNameAndCallEventful(this,$,z)}}function toLowercaseNameAndCallEventful($,z,ie){return ie[0]=ie[0]&&ie[0].toLowerCase(),Eventful$1.prototype[z].apply($,ie)}var MessageCenter=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z}(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($){__extends(z,$);function z(ie,le,ue){var pe=$.call(this,new ECEventProcessor)||this;pe._chartsViews=[],pe._chartsMap={},pe._componentsViews=[],pe._componentsMap={},pe._pendingActions=[],ue=ue||{},isString(le)&&(le=themeStorage[le]),pe._dom=ie;var _e="canvas",Ce="auto",$e=!1,xe=pe._zr=init$1(ie,{renderer:ue.renderer||_e,devicePixelRatio:ue.devicePixelRatio,width:ue.width,height:ue.height,ssr:ue.ssr,useDirtyRect:retrieve2(ue.useDirtyRect,$e),useCoarsePointer:retrieve2(ue.useCoarsePointer,Ce),pointerSize:ue.pointerSize});pe._ssr=ue.ssr,pe._throttledZrFlush=throttle(bind$1(xe.flush,xe),17),le=clone$3(le),le&&globalBackwardCompat(le,!0),pe._theme=le,pe._locale=createLocaleObject(ue.locale||SYSTEM_LANG),pe._coordSysMgr=new CoordinateSystem;var Ie=pe._api=createExtensionAPI(pe);function Ve(ze,Ue){return ze.__prio-Ue.__prio}return sort(visualFuncs,Ve),sort(dataProcessorFuncs,Ve),pe._scheduler=new Scheduler$1(pe,Ie,dataProcessorFuncs,visualFuncs),pe._messageCenter=new MessageCenter,pe._initEvents(),pe.resize=bind$1(pe.resize,pe),xe.animation.on("frame",pe._onframe,pe),bindRenderedEvent(xe,pe),bindMouseEvent(xe,pe),setAsPrimitive(pe),pe}return z.prototype._onframe=function(){if(!this._disposed){applyChangedStates(this);var ie=this._scheduler;if(this[PENDING_UPDATE]){var le=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,le),triggerUpdatedEvent.call(this,le)}else if(ie.unfinished){var ue=TEST_FRAME_REMAIN_TIME,pe=this._model,_e=this._api;ie.unfinished=!1;do{var Ce=+new Date;ie.performSeriesTasks(pe),ie.performDataProcessorTasks(pe),updateStreamModes(this,pe),ie.performVisualTasks(pe),renderSeries(this,this._model,_e,"remain",{}),ue-=+new Date-Ce}while(ue>0&&ie.unfinished);ie.unfinished||this._zr.flush()}}},z.prototype.getDom=function(){return this._dom},z.prototype.getId=function(){return this.id},z.prototype.getZr=function(){return this._zr},z.prototype.isSSR=function(){return this._ssr},z.prototype.setOption=function(ie,le,ue){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var pe,_e,Ce;if(isObject$3(le)&&(ue=le.lazyUpdate,pe=le.silent,_e=le.replaceMerge,Ce=le.transition,le=le.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||le){var $e=new OptionManager$1(this._api),xe=this._theme,Ie=this._model=new GlobalModel$1;Ie.scheduler=this._scheduler,Ie.ssr=this._ssr,Ie.init(null,null,null,xe,this._locale,$e)}this._model.setOption(ie,{replaceMerge:_e},optionPreprocessorFuncs);var Ve={seriesTransition:Ce,optionChanged:!0};if(ue)this[PENDING_UPDATE]={silent:pe,updateParams:Ve},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare$1(this),updateMethods.update.call(this,null,Ve)}catch(ze){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,ze}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,pe),triggerUpdatedEvent.call(this,pe)}}},z.prototype.setTheme=function(){},z.prototype.getModel=function(){return this._model},z.prototype.getOption=function(){return this._model&&this._model.getOption()},z.prototype.getWidth=function(){return this._zr.getWidth()},z.prototype.getHeight=function(){return this._zr.getHeight()},z.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env$1.hasGlobalWindow&&window.devicePixelRatio||1},z.prototype.getRenderedCanvas=function(ie){return this.renderToCanvas(ie)},z.prototype.renderToCanvas=function(ie){ie=ie||{};var le=this._zr.painter;return le.getRenderedCanvas({backgroundColor:ie.backgroundColor||this._model.get("backgroundColor"),pixelRatio:ie.pixelRatio||this.getDevicePixelRatio()})},z.prototype.renderToSVGString=function(ie){ie=ie||{};var le=this._zr.painter;return le.renderToString({useViewBox:ie.useViewBox})},z.prototype.getSvgDataURL=function(){if(env$1.svgSupported){var ie=this._zr,le=ie.storage.getDisplayList();return each$c(le,function(ue){ue.stopAnimation(null,!0)}),ie.painter.toDataURL()}},z.prototype.getDataURL=function(ie){if(this._disposed){this.id;return}ie=ie||{};var le=ie.excludeComponents,ue=this._model,pe=[],_e=this;each$c(le,function($e){ue.eachComponent({mainType:$e},function(xe){var Ie=_e._componentsMap[xe.__viewId];Ie.group.ignore||(pe.push(Ie),Ie.group.ignore=!0)})});var Ce=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(ie).toDataURL("image/"+(ie&&ie.type||"png"));return each$c(pe,function($e){$e.group.ignore=!1}),Ce},z.prototype.getConnectedDataURL=function(ie){if(this._disposed){this.id;return}var le=ie.type==="svg",ue=this.group,pe=Math.min,_e=Math.max,Ce=1/0;if(connectedGroups[ue]){var $e=Ce,xe=Ce,Ie=-Ce,Ve=-Ce,ze=[],Ue=ie&&ie.pixelRatio||this.getDevicePixelRatio();each$c(instances,function(_n,bn){if(_n.group===ue){var Cn=le?_n.getZr().painter.getSvgDom().innerHTML:_n.renderToCanvas(clone$3(ie)),Sn=_n.getDom().getBoundingClientRect();$e=pe(Sn.left,$e),xe=pe(Sn.top,xe),Ie=_e(Sn.right,Ie),Ve=_e(Sn.bottom,Ve),ze.push({dom:Cn,left:Sn.left,top:Sn.top})}}),$e*=Ue,xe*=Ue,Ie*=Ue,Ve*=Ue;var qe=Ie-$e,Et=Ve-xe,Lt=platformApi.createCanvas(),hn=init$1(Lt,{renderer:le?"svg":"canvas"});if(hn.resize({width:qe,height:Et}),le){var vn="";return each$c(ze,function(_n){var bn=_n.left-$e,Cn=_n.top-xe;vn+='<g transform="translate('+bn+","+Cn+')">'+_n.dom+"</g>"}),hn.painter.getSvgRoot().innerHTML=vn,ie.connectedBackgroundColor&&hn.painter.setBackgroundColor(ie.connectedBackgroundColor),hn.refreshImmediately(),hn.painter.toDataURL()}else return ie.connectedBackgroundColor&&hn.add(new Rect$2({shape:{x:0,y:0,width:qe,height:Et},style:{fill:ie.connectedBackgroundColor}})),each$c(ze,function(_n){var bn=new ZRImage$1({style:{x:_n.left*Ue-$e,y:_n.top*Ue-xe,image:_n.dom}});hn.add(bn)}),hn.refreshImmediately(),Lt.toDataURL("image/"+(ie&&ie.type||"png"))}else return this.getDataURL(ie)},z.prototype.convertToPixel=function(ie,le){return doConvertPixel(this,"convertToPixel",ie,le)},z.prototype.convertFromPixel=function(ie,le){return doConvertPixel(this,"convertFromPixel",ie,le)},z.prototype.containPixel=function(ie,le){if(this._disposed){this.id;return}var ue=this._model,pe,_e=parseFinder$1(ue,ie);return each$c(_e,function(Ce,$e){$e.indexOf("Models")>=0&&each$c(Ce,function(xe){var Ie=xe.coordinateSystem;if(Ie&&Ie.containPoint)pe=pe||!!Ie.containPoint(le);else if($e==="seriesModels"){var Ve=this._chartsMap[xe.__viewId];Ve&&Ve.containPoint&&(pe=pe||Ve.containPoint(le,xe))}},this)},this),!!pe},z.prototype.getVisual=function(ie,le){var ue=this._model,pe=parseFinder$1(ue,ie,{defaultMainType:"series"}),_e=pe.seriesModel,Ce=_e.getData(),$e=pe.hasOwnProperty("dataIndexInside")?pe.dataIndexInside:pe.hasOwnProperty("dataIndex")?Ce.indexOfRawIndex(pe.dataIndex):null;return $e!=null?getItemVisualFromData(Ce,$e,le):getVisualFromData(Ce,le)},z.prototype.getViewOfComponentModel=function(ie){return this._componentsMap[ie.__viewId]},z.prototype.getViewOfSeriesModel=function(ie){return this._chartsMap[ie.__viewId]},z.prototype._initEvents=function(){var ie=this;each$c(MOUSE_EVENT_NAMES,function(le){var ue=function(pe){var _e=ie.getModel(),Ce=pe.target,$e,xe=le==="globalout";if(xe?$e={}:Ce&&findEventDispatcher(Ce,function(qe){var Et=getECData(qe);if(Et&&Et.dataIndex!=null){var Lt=Et.dataModel||_e.getSeriesByIndex(Et.seriesIndex);return $e=Lt&&Lt.getDataParams(Et.dataIndex,Et.dataType)||{},!0}else if(Et.eventData)return $e=extend({},Et.eventData),!0},!0),$e){var Ie=$e.componentType,Ve=$e.componentIndex;(Ie==="markLine"||Ie==="markPoint"||Ie==="markArea")&&(Ie="series",Ve=$e.seriesIndex);var ze=Ie&&Ve!=null&&_e.getComponent(Ie,Ve),Ue=ze&&ie[ze.mainType==="series"?"_chartsMap":"_componentsMap"][ze.__viewId];$e.event=pe,$e.type=le,ie._$eventProcessor.eventInfo={targetEl:Ce,packedEvent:$e,model:ze,view:Ue},ie.trigger(le,$e)}};ue.zrEventfulCallAtLast=!0,ie._zr.on(le,ue,ie)}),each$c(eventActionMap,function(le,ue){ie._messageCenter.on(ue,function(pe){this.trigger(ue,pe)},ie)}),each$c(["selectchanged"],function(le){ie._messageCenter.on(le,function(ue){this.trigger(le,ue)},ie)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},z.prototype.isDisposed=function(){return this._disposed},z.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},z.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var ie=this.getDom();ie&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var le=this,ue=le._api,pe=le._model;each$c(le._componentsViews,function(_e){_e.dispose(pe,ue)}),each$c(le._chartsViews,function(_e){_e.dispose(pe,ue)}),le._zr.dispose(),le._dom=le._model=le._chartsMap=le._componentsMap=le._chartsViews=le._componentsViews=le._scheduler=le._api=le._zr=le._throttledZrFlush=le._theme=le._coordSysMgr=le._messageCenter=null,delete instances[le.id]},z.prototype.resize=function(ie){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(ie);var le=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!le){var ue=le.resetOption("media"),pe=ie&&ie.silent;this[PENDING_UPDATE]&&(pe==null&&(pe=this[PENDING_UPDATE].silent),ue=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{ue&&prepare$1(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},ie&&ie.animation)})}catch(_e){throw this[IN_MAIN_PROCESS_KEY]=!1,_e}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,pe),triggerUpdatedEvent.call(this,pe)}}},z.prototype.showLoading=function(ie,le){if(this._disposed){this.id;return}if(isObject$3(ie)&&(le=ie,ie=""),ie=ie||"default",this.hideLoading(),!!loadingEffects[ie]){var ue=loadingEffects[ie](this._api,le),pe=this._zr;this._loadingFX=ue,pe.add(ue)}},z.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},z.prototype.makeActionFromEvent=function(ie){var le=extend({},ie);return le.type=eventActionMap[ie.type],le},z.prototype.dispatchAction=function(ie,le){if(this._disposed){this.id;return}if(isObject$3(le)||(le={silent:!!le}),!!actions[ie.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(ie);return}var ue=le.silent;doDispatchAction.call(this,ie,ue);var pe=le.flush;pe?this._zr.flush():pe!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,ue),triggerUpdatedEvent.call(this,ue)}},z.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},z.prototype.appendData=function(ie){if(this._disposed){this.id;return}var le=ie.seriesIndex,ue=this.getModel(),pe=ue.getSeriesByIndex(le);pe.appendData(ie),this._scheduler.unfinished=!0,this.getZr().wakeUp()},z.internalField=function(){prepare$1=function(Ve){var ze=Ve._scheduler;ze.restorePipelines(Ve._model),ze.prepareStageTasks(),prepareView(Ve,!0),prepareView(Ve,!1),ze.plan()},prepareView=function(Ve,ze){for(var Ue=Ve._model,qe=Ve._scheduler,Et=ze?Ve._componentsViews:Ve._chartsViews,Lt=ze?Ve._componentsMap:Ve._chartsMap,hn=Ve._zr,vn=Ve._api,_n=0;_n<Et.length;_n++)Et[_n].__alive=!1;ze?Ue.eachComponent(function(Sn,En){Sn!=="series"&&bn(En)}):Ue.eachSeries(bn);function bn(Sn){var En=Sn.__requireNewView;Sn.__requireNewView=!1;var wn="_ec_"+Sn.id+"_"+Sn.type,Tn=!En&&Lt[wn];if(!Tn){var kn=parseClassType(Sn.type),xn=ze?ComponentView$1.getClass(kn.main,kn.sub):ChartView$1.getClass(kn.sub);Tn=new xn,Tn.init(Ue,vn),Lt[wn]=Tn,Et.push(Tn),hn.add(Tn.group)}Sn.__viewId=Tn.__id=wn,Tn.__alive=!0,Tn.__model=Sn,Tn.group.__ecComponentInfo={mainType:Sn.mainType,index:Sn.componentIndex},!ze&&qe.prepareView(Tn,Sn,Ue,vn)}for(var _n=0;_n<Et.length;){var Cn=Et[_n];Cn.__alive?_n++:(!ze&&Cn.renderTask.dispose(),hn.remove(Cn.group),Cn.dispose(Ue,vn),Et.splice(_n,1),Lt[Cn.__id]===Cn&&delete Lt[Cn.__id],Cn.__id=Cn.group.__ecComponentInfo=null)}},updateDirectly=function(Ve,ze,Ue,qe,Et){var Lt=Ve._model;if(Lt.setUpdatePayload(Ue),!qe){each$c([].concat(Ve._componentsViews).concat(Ve._chartsViews),Cn);return}var hn={};hn[qe+"Id"]=Ue[qe+"Id"],hn[qe+"Index"]=Ue[qe+"Index"],hn[qe+"Name"]=Ue[qe+"Name"];var vn={mainType:qe,query:hn};Et&&(vn.subType=Et);var _n=Ue.excludeSeriesId,bn;_n!=null&&(bn=createHashMap(),each$c(normalizeToArray(_n),function(Sn){var En=convertOptionIdName(Sn,null);En!=null&&bn.set(En,!0)})),Lt&&Lt.eachComponent(vn,function(Sn){var En=bn&&bn.get(Sn.id)!=null;if(!En)if(isHighDownPayload(Ue))if(Sn instanceof SeriesModel$1)Ue.type===HIGHLIGHT_ACTION_TYPE&&!Ue.notBlur&&!Sn.get(["emphasis","disabled"])&&blurSeriesFromHighlightPayload(Sn,Ue,Ve._api);else{var wn=findComponentHighDownDispatchers(Sn.mainType,Sn.componentIndex,Ue.name,Ve._api),Tn=wn.focusSelf,kn=wn.dispatchers;Ue.type===HIGHLIGHT_ACTION_TYPE&&Tn&&!Ue.notBlur&&blurComponent(Sn.mainType,Sn.componentIndex,Ve._api),kn&&each$c(kn,function(xn){Ue.type===HIGHLIGHT_ACTION_TYPE?enterEmphasis(xn):leaveEmphasis(xn)})}else isSelectChangePayload(Ue)&&Sn instanceof SeriesModel$1&&(toggleSelectionFromPayload(Sn,Ue,Ve._api),updateSeriesElementSelection(Sn),markStatusToUpdate(Ve))},Ve),Lt&&Lt.eachComponent(vn,function(Sn){var En=bn&&bn.get(Sn.id)!=null;En||Cn(Ve[qe==="series"?"_chartsMap":"_componentsMap"][Sn.__viewId])},Ve);function Cn(Sn){Sn&&Sn.__alive&&Sn[ze]&&Sn[ze](Sn.__model,Lt,Ve._api,Ue)}},updateMethods={prepareAndUpdate:function(Ve){prepare$1(this),updateMethods.update.call(this,Ve,{optionChanged:Ve.newOption!=null})},update:function(Ve,ze){var Ue=this._model,qe=this._api,Et=this._zr,Lt=this._coordSysMgr,hn=this._scheduler;if(Ue){Ue.setUpdatePayload(Ve),hn.restoreData(Ue,Ve),hn.performSeriesTasks(Ue),Lt.create(Ue,qe),hn.performDataProcessorTasks(Ue,Ve),updateStreamModes(this,Ue),Lt.update(Ue,qe),ie(Ue),hn.performVisualTasks(Ue,Ve),render$2(this,Ue,qe,Ve,ze);var vn=Ue.get("backgroundColor")||"transparent",_n=Ue.get("darkMode");Et.setBackgroundColor(vn),_n!=null&&_n!=="auto"&&Et.setDarkMode(_n),lifecycle$1.trigger("afterupdate",Ue,qe)}},updateTransform:function(Ve){var ze=this,Ue=this._model,qe=this._api;if(Ue){Ue.setUpdatePayload(Ve);var Et=[];Ue.eachComponent(function(hn,vn){if(hn!=="series"){var _n=ze.getViewOfComponentModel(vn);if(_n&&_n.__alive)if(_n.updateTransform){var bn=_n.updateTransform(vn,Ue,qe,Ve);bn&&bn.update&&Et.push(_n)}else Et.push(_n)}});var Lt=createHashMap();Ue.eachSeries(function(hn){var vn=ze._chartsMap[hn.__viewId];if(vn.updateTransform){var _n=vn.updateTransform(hn,Ue,qe,Ve);_n&&_n.update&&Lt.set(hn.uid,1)}else Lt.set(hn.uid,1)}),ie(Ue),this._scheduler.performVisualTasks(Ue,Ve,{setDirty:!0,dirtyMap:Lt}),renderSeries(this,Ue,qe,Ve,{},Lt),lifecycle$1.trigger("afterupdate",Ue,qe)}},updateView:function(Ve){var ze=this._model;ze&&(ze.setUpdatePayload(Ve),ChartView$1.markUpdateMethod(Ve,"updateView"),ie(ze),this._scheduler.performVisualTasks(ze,Ve,{setDirty:!0}),render$2(this,ze,this._api,Ve,{}),lifecycle$1.trigger("afterupdate",ze,this._api))},updateVisual:function(Ve){var ze=this,Ue=this._model;Ue&&(Ue.setUpdatePayload(Ve),Ue.eachSeries(function(qe){qe.getData().clearAllVisual()}),ChartView$1.markUpdateMethod(Ve,"updateVisual"),ie(Ue),this._scheduler.performVisualTasks(Ue,Ve,{visualType:"visual",setDirty:!0}),Ue.eachComponent(function(qe,Et){if(qe!=="series"){var Lt=ze.getViewOfComponentModel(Et);Lt&&Lt.__alive&&Lt.updateVisual(Et,Ue,ze._api,Ve)}}),Ue.eachSeries(function(qe){var Et=ze._chartsMap[qe.__viewId];Et.updateVisual(qe,Ue,ze._api,Ve)}),lifecycle$1.trigger("afterupdate",Ue,this._api))},updateLayout:function(Ve){updateMethods.update.call(this,Ve)}},doConvertPixel=function(Ve,ze,Ue,qe){if(Ve._disposed){Ve.id;return}for(var Et=Ve._model,Lt=Ve._coordSysMgr.getCoordinateSystems(),hn,vn=parseFinder$1(Et,Ue),_n=0;_n<Lt.length;_n++){var bn=Lt[_n];if(bn[ze]&&(hn=bn[ze](Et,vn,qe))!=null)return hn}},updateStreamModes=function(Ve,ze){var Ue=Ve._chartsMap,qe=Ve._scheduler;ze.eachSeries(function(Et){qe.updateStreamModes(Et,Ue[Et.__viewId])})},doDispatchAction=function(Ve,ze){var Ue=this,qe=this.getModel(),Et=Ve.type,Lt=Ve.escapeConnect,hn=actions[Et],vn=hn.actionInfo,_n=(vn.update||"update").split(":"),bn=_n.pop(),Cn=_n[0]!=null&&parseClassType(_n[0]);this[IN_MAIN_PROCESS_KEY]=!0;var Sn=[Ve],En=!1;Ve.batch&&(En=!0,Sn=map$2(Ve.batch,function(In){return In=defaults(extend({},In),Ve),In.batch=null,In}));var wn=[],Tn,kn=isSelectChangePayload(Ve),xn=isHighDownPayload(Ve);if(xn&&allLeaveBlur(this._api),each$c(Sn,function(In){if(Tn=hn.action(In,Ue._model,Ue._api),Tn=Tn||extend({},In),Tn.type=vn.event||Tn.type,wn.push(Tn),xn){var Fn=preParseFinder(Ve),Dn=Fn.queryOptionMap,On=Fn.mainTypeSpecified,Vn=On?Dn.keys()[0]:"series";updateDirectly(Ue,bn,In,Vn),markStatusToUpdate(Ue)}else kn?(updateDirectly(Ue,bn,In,"series"),markStatusToUpdate(Ue)):Cn&&updateDirectly(Ue,bn,In,Cn.main,Cn.sub)}),bn!=="none"&&!xn&&!kn&&!Cn)try{this[PENDING_UPDATE]?(prepare$1(this),updateMethods.update.call(this,Ve),this[PENDING_UPDATE]=null):updateMethods[bn].call(this,Ve)}catch(In){throw this[IN_MAIN_PROCESS_KEY]=!1,In}if(En?Tn={type:vn.event||Et,escapeConnect:Lt,batch:wn}:Tn=wn[0],this[IN_MAIN_PROCESS_KEY]=!1,!ze){var Pn=this._messageCenter;if(Pn.trigger(Tn.type,Tn),kn){var An={type:"selectchanged",escapeConnect:Lt,selected:getAllSelectedIndices(qe),isFromClick:Ve.isFromClick||!1,fromAction:Ve.type,fromActionPayload:Ve};Pn.trigger(An.type,An)}}},flushPendingActions=function(Ve){for(var ze=this._pendingActions;ze.length;){var Ue=ze.shift();doDispatchAction.call(this,Ue,Ve)}},triggerUpdatedEvent=function(Ve){!Ve&&this.trigger("updated")},bindRenderedEvent=function(Ve,ze){Ve.on("rendered",function(Ue){ze.trigger("rendered",Ue),Ve.animation.isFinished()&&!ze[PENDING_UPDATE]&&!ze._scheduler.unfinished&&!ze._pendingActions.length&&ze.trigger("finished")})},bindMouseEvent=function(Ve,ze){Ve.on("mouseover",function(Ue){var qe=Ue.target,Et=findEventDispatcher(qe,isHighDownDispatcher);Et&&(handleGlobalMouseOverForHighDown(Et,Ue,ze._api),markStatusToUpdate(ze))}).on("mouseout",function(Ue){var qe=Ue.target,Et=findEventDispatcher(qe,isHighDownDispatcher);Et&&(handleGlobalMouseOutForHighDown(Et,Ue,ze._api),markStatusToUpdate(ze))}).on("click",function(Ue){var qe=Ue.target,Et=findEventDispatcher(qe,function(vn){return getECData(vn).dataIndex!=null},!0);if(Et){var Lt=Et.selected?"unselect":"select",hn=getECData(Et);ze._api.dispatchAction({type:Lt,dataType:hn.dataType,dataIndexInside:hn.dataIndex,seriesIndex:hn.seriesIndex,isFromClick:!0})}})};function ie(Ve){Ve.clearColorPalette(),Ve.eachSeries(function(ze){ze.clearColorPalette()})}function le(Ve){var ze=[],Ue=[],qe=!1;if(Ve.eachComponent(function(vn,_n){var bn=_n.get("zlevel")||0,Cn=_n.get("z")||0,Sn=_n.getZLevelKey();qe=qe||!!Sn,(vn==="series"?Ue:ze).push({zlevel:bn,z:Cn,idx:_n.componentIndex,type:vn,key:Sn})}),qe){var Et=ze.concat(Ue),Lt,hn;sort(Et,function(vn,_n){return vn.zlevel===_n.zlevel?vn.z-_n.z:vn.zlevel-_n.zlevel}),each$c(Et,function(vn){var _n=Ve.getComponent(vn.type,vn.idx),bn=vn.zlevel,Cn=vn.key;Lt!=null&&(bn=Math.max(Lt,bn)),Cn?(bn===Lt&&Cn!==hn&&bn++,hn=Cn):hn&&(bn===Lt&&bn++,hn=""),Lt=bn,_n.setZLevel(bn)})}}render$2=function(Ve,ze,Ue,qe,Et){le(ze),renderComponents(Ve,ze,Ue,qe,Et),each$c(Ve._chartsViews,function(Lt){Lt.__alive=!1}),renderSeries(Ve,ze,Ue,qe,Et),each$c(Ve._chartsViews,function(Lt){Lt.__alive||Lt.remove(ze,Ue)})},renderComponents=function(Ve,ze,Ue,qe,Et,Lt){each$c(Lt||Ve._componentsViews,function(hn){var vn=hn.__model;xe(vn,hn),hn.render(vn,ze,Ue,qe),Ce(vn,hn),Ie(vn,hn)})},renderSeries=function(Ve,ze,Ue,qe,Et,Lt){var hn=Ve._scheduler;Et=extend(Et||{},{updatedSeries:ze.getSeries()}),lifecycle$1.trigger("series:beforeupdate",ze,Ue,Et);var vn=!1;ze.eachSeries(function(_n){var bn=Ve._chartsMap[_n.__viewId];bn.__alive=!0;var Cn=bn.renderTask;hn.updatePayload(Cn,qe),xe(_n,bn),Lt&&Lt.get(_n.uid)&&Cn.dirty(),Cn.perform(hn.getPerformArgs(Cn))&&(vn=!0),bn.group.silent=!!_n.get("silent"),_e(_n,bn),updateSeriesElementSelection(_n)}),hn.unfinished=vn||hn.unfinished,lifecycle$1.trigger("series:layoutlabels",ze,Ue,Et),lifecycle$1.trigger("series:transition",ze,Ue,Et),ze.eachSeries(function(_n){var bn=Ve._chartsMap[_n.__viewId];Ce(_n,bn),Ie(_n,bn)}),pe(Ve,ze),lifecycle$1.trigger("series:afterupdate",ze,Ue,Et)},markStatusToUpdate=function(Ve){Ve[STATUS_NEEDS_UPDATE_KEY]=!0,Ve.getZr().wakeUp()},applyChangedStates=function(Ve){Ve[STATUS_NEEDS_UPDATE_KEY]&&(Ve.getZr().storage.traverse(function(ze){isElementRemoved(ze)||ue(ze)}),Ve[STATUS_NEEDS_UPDATE_KEY]=!1)};function ue(Ve){for(var ze=[],Ue=Ve.currentStates,qe=0;qe<Ue.length;qe++){var Et=Ue[qe];Et==="emphasis"||Et==="blur"||Et==="select"||ze.push(Et)}Ve.selected&&Ve.states.select&&ze.push("select"),Ve.hoverState===HOVER_STATE_EMPHASIS&&Ve.states.emphasis?ze.push("emphasis"):Ve.hoverState===HOVER_STATE_BLUR&&Ve.states.blur&&ze.push("blur"),Ve.useStates(ze)}function pe(Ve,ze){var Ue=Ve._zr,qe=Ue.storage,Et=0;qe.traverse(function(Lt){Lt.isGroup||Et++}),Et>ze.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&ze.eachSeries(function(Lt){if(!Lt.preventUsingHoverLayer){var hn=Ve._chartsMap[Lt.__viewId];hn.__alive&&hn.eachRendered(function(vn){vn.states.emphasis&&(vn.states.emphasis.hoverLayer=!0)})}})}function _e(Ve,ze){var Ue=Ve.get("blendMode")||null;ze.eachRendered(function(qe){qe.isGroup||(qe.style.blend=Ue)})}function Ce(Ve,ze){if(!Ve.preventAutoZ){var Ue=Ve.get("z")||0,qe=Ve.get("zlevel")||0;ze.eachRendered(function(Et){return $e(Et,Ue,qe,-1/0),!0})}}function $e(Ve,ze,Ue,qe){var Et=Ve.getTextContent(),Lt=Ve.getTextGuideLine(),hn=Ve.isGroup;if(hn)for(var vn=Ve.childrenRef(),_n=0;_n<vn.length;_n++)qe=Math.max($e(vn[_n],ze,Ue,qe),qe);else Ve.z=ze,Ve.zlevel=Ue,qe=Math.max(Ve.z2,qe);if(Et&&(Et.z=ze,Et.zlevel=Ue,isFinite(qe)&&(Et.z2=qe+2)),Lt){var bn=Ve.textGuideLineConfig;Lt.z=ze,Lt.zlevel=Ue,isFinite(qe)&&(Lt.z2=qe+(bn&&bn.showAbove?1:-1))}return qe}function xe(Ve,ze){ze.eachRendered(function(Ue){if(!isElementRemoved(Ue)){var qe=Ue.getTextContent(),Et=Ue.getTextGuideLine();Ue.stateTransition&&(Ue.stateTransition=null),qe&&qe.stateTransition&&(qe.stateTransition=null),Et&&Et.stateTransition&&(Et.stateTransition=null),Ue.hasState()?(Ue.prevStates=Ue.currentStates,Ue.clearStates()):Ue.prevStates&&(Ue.prevStates=null)}})}function Ie(Ve,ze){var Ue=Ve.getModel("stateAnimation"),qe=Ve.isAnimationEnabled(),Et=Ue.get("duration"),Lt=Et>0?{duration:Et,delay:Ue.get("delay"),easing:Ue.get("easing")}:null;ze.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(qe){hn.stateTransition=Lt;var _n=hn.getTextContent(),bn=hn.getTextGuideLine();_n&&(_n.stateTransition=Lt),bn&&(bn.stateTransition=Lt)}hn.__dirty&&ue(hn)}})}createExtensionAPI=function(Ve){return new(function(ze){__extends(Ue,ze);function Ue(){return ze!==null&&ze.apply(this,arguments)||this}return Ue.prototype.getCoordinateSystems=function(){return Ve._coordSysMgr.getCoordinateSystems()},Ue.prototype.getComponentByElement=function(qe){for(;qe;){var Et=qe.__ecComponentInfo;if(Et!=null)return Ve._model.getComponent(Et.mainType,Et.index);qe=qe.parent}},Ue.prototype.enterEmphasis=function(qe,Et){enterEmphasis(qe,Et),markStatusToUpdate(Ve)},Ue.prototype.leaveEmphasis=function(qe,Et){leaveEmphasis(qe,Et),markStatusToUpdate(Ve)},Ue.prototype.enterBlur=function(qe){enterBlur(qe),markStatusToUpdate(Ve)},Ue.prototype.leaveBlur=function(qe){leaveBlur(qe),markStatusToUpdate(Ve)},Ue.prototype.enterSelect=function(qe){enterSelect(qe),markStatusToUpdate(Ve)},Ue.prototype.leaveSelect=function(qe){leaveSelect(qe),markStatusToUpdate(Ve)},Ue.prototype.getModel=function(){return Ve.getModel()},Ue.prototype.getViewOfComponentModel=function(qe){return Ve.getViewOfComponentModel(qe)},Ue.prototype.getViewOfSeriesModel=function(qe){return Ve.getViewOfSeriesModel(qe)},Ue}(ExtensionAPI$1))(Ve)},enableConnect=function(Ve){function ze(Ue,qe){for(var Et=0;Et<Ue.length;Et++){var Lt=Ue[Et];Lt[CONNECT_STATUS_KEY]=qe}}each$c(eventActionMap,function(Ue,qe){Ve._messageCenter.on(qe,function(Et){if(connectedGroups[Ve.group]&&Ve[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(Et&&Et.escapeConnect)return;var Lt=Ve.makeActionFromEvent(Et),hn=[];each$c(instances,function(vn){vn!==Ve&&vn.group===Ve.group&&hn.push(vn)}),ze(hn,CONNECT_STATUS_PENDING),each$c(hn,function(vn){vn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&vn.dispatchAction(Lt)}),ze(hn,CONNECT_STATUS_UPDATED)}})})}}(),z}(Eventful$1),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function($,z,ie){var le=this;function ue(){for(var pe=[],_e=0;_e<arguments.length;_e++)pe[_e]=arguments[_e];z&&z.apply&&z.apply(this,pe),le.off($,ue)}this.on.call(this,$,ue,ie)};var MOUSE_EVENT_NAMES=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function disposedWarning($){}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($,z,ie){var le=!(ie&&ie.ssr);if(le){var ue=getInstanceByDom($);if(ue)return ue}var pe=new ECharts($,z,ie);return pe.id="ec_"+idBase++,instances[pe.id]=pe,le&&setAttribute($,DOM_ATTRIBUTE_KEY,pe.id),enableConnect(pe),lifecycle$1.trigger("afterinit",pe),pe}function connect($){if(isArray$1($)){var z=$;$=null,each$c(z,function(ie){ie.group!=null&&($=ie.group)}),$=$||"g_"+groupIdBase++,each$c(z,function(ie){ie.group=$})}return connectedGroups[$]=!0,$}function disConnect($){connectedGroups[$]=!1}var disconnect=disConnect;function dispose($){isString($)?$=instances[$]:$ instanceof ECharts||($=getInstanceByDom($)),$ instanceof ECharts&&!$.isDisposed()&&$.dispose()}function getInstanceByDom($){return instances[getAttribute($,DOM_ATTRIBUTE_KEY)]}function getInstanceById($){return instances[$]}function registerTheme($,z){themeStorage[$]=z}function registerPreprocessor($){indexOf(optionPreprocessorFuncs,$)<0&&optionPreprocessorFuncs.push($)}function registerProcessor($,z){normalizeRegister(dataProcessorFuncs,$,z,PRIORITY_PROCESSOR_DEFAULT)}function registerPostInit($){registerUpdateLifecycle("afterinit",$)}function registerPostUpdate($){registerUpdateLifecycle("afterupdate",$)}function registerUpdateLifecycle($,z){lifecycle$1.on($,z)}function registerAction($,z,ie){isFunction(z)&&(ie=z,z="");var le=isObject$3($)?$.type:[$,$={event:z}][0];$.event=($.event||le).toLowerCase(),z=$.event,!eventActionMap[z]&&(assert(ACTION_REG.test(le)&&ACTION_REG.test(z)),actions[le]||(actions[le]={action:ie,actionInfo:$}),eventActionMap[z]=le)}function registerCoordinateSystem($,z){CoordinateSystem.register($,z)}function getCoordinateSystemDimensions($){var z=CoordinateSystem.get($);if(z)return z.getDimensionsInfo?z.getDimensionsInfo():z.dimensions.slice()}function registerLayout($,z){normalizeRegister(visualFuncs,$,z,PRIORITY_VISUAL_LAYOUT,"layout")}function registerVisual($,z){normalizeRegister(visualFuncs,$,z,PRIORITY_VISUAL_CHART,"visual")}var registeredTasks=[];function normalizeRegister($,z,ie,le,ue){if((isFunction(z)||isObject$3(z))&&(ie=z,z=le),!(indexOf(registeredTasks,ie)>=0)){registeredTasks.push(ie);var pe=Scheduler$1.wrapStageHandler(ie,ue);pe.__prio=z,pe.__raw=ie,$.push(pe)}}function registerLoading($,z){loadingEffects[$]=z}function setCanvasCreator($){setPlatformAPI({createCanvas:$})}function registerMap($,z,ie){var le=getImpl("registerMap");le&&le($,z,ie)}function getMap($){var z=getImpl("getMap");return z&&z($)}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($){return $==null?0:$.length||1}function defaultKeyGetter($){return $}var DataDiffer=function(){function $(z,ie,le,ue,pe,_e){this._old=z,this._new=ie,this._oldKeyGetter=le||defaultKeyGetter,this._newKeyGetter=ue||defaultKeyGetter,this.context=pe,this._diffModeMultiple=_e==="multiple"}return $.prototype.add=function(z){return this._add=z,this},$.prototype.update=function(z){return this._update=z,this},$.prototype.updateManyToOne=function(z){return this._updateManyToOne=z,this},$.prototype.updateOneToMany=function(z){return this._updateOneToMany=z,this},$.prototype.updateManyToMany=function(z){return this._updateManyToMany=z,this},$.prototype.remove=function(z){return this._remove=z,this},$.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},$.prototype._executeOneToOne=function(){var z=this._old,ie=this._new,le={},ue=new Array(z.length),pe=new Array(ie.length);this._initIndexMap(z,null,ue,"_oldKeyGetter"),this._initIndexMap(ie,le,pe,"_newKeyGetter");for(var _e=0;_e<z.length;_e++){var Ce=ue[_e],$e=le[Ce],xe=dataIndexMapValueLength($e);if(xe>1){var Ie=$e.shift();$e.length===1&&(le[Ce]=$e[0]),this._update&&this._update(Ie,_e)}else xe===1?(le[Ce]=null,this._update&&this._update($e,_e)):this._remove&&this._remove(_e)}this._performRestAdd(pe,le)},$.prototype._executeMultiple=function(){var z=this._old,ie=this._new,le={},ue={},pe=[],_e=[];this._initIndexMap(z,le,pe,"_oldKeyGetter"),this._initIndexMap(ie,ue,_e,"_newKeyGetter");for(var Ce=0;Ce<pe.length;Ce++){var $e=pe[Ce],xe=le[$e],Ie=ue[$e],Ve=dataIndexMapValueLength(xe),ze=dataIndexMapValueLength(Ie);if(Ve>1&&ze===1)this._updateManyToOne&&this._updateManyToOne(Ie,xe),ue[$e]=null;else if(Ve===1&&ze>1)this._updateOneToMany&&this._updateOneToMany(Ie,xe),ue[$e]=null;else if(Ve===1&&ze===1)this._update&&this._update(Ie,xe),ue[$e]=null;else if(Ve>1&&ze>1)this._updateManyToMany&&this._updateManyToMany(Ie,xe),ue[$e]=null;else if(Ve>1)for(var Ue=0;Ue<Ve;Ue++)this._remove&&this._remove(xe[Ue]);else this._remove&&this._remove(xe)}this._performRestAdd(_e,ue)},$.prototype._performRestAdd=function(z,ie){for(var le=0;le<z.length;le++){var ue=z[le],pe=ie[ue],_e=dataIndexMapValueLength(pe);if(_e>1)for(var Ce=0;Ce<_e;Ce++)this._add&&this._add(pe[Ce]);else _e===1&&this._add&&this._add(pe);ie[ue]=null}},$.prototype._initIndexMap=function(z,ie,le,ue){for(var pe=this._diffModeMultiple,_e=0;_e<z.length;_e++){var Ce="_ec_"+this[ue](z[_e],_e);if(pe||(le[_e]=Ce),!!ie){var $e=ie[Ce],xe=dataIndexMapValueLength($e);xe===0?(ie[Ce]=_e,pe&&le.push(Ce)):xe===1?ie[Ce]=[$e,_e]:$e.push(_e)}}},$}();const DataDiffer$1=DataDiffer;var DimensionUserOuput=function(){function $(z,ie){this._encode=z,this._schema=ie}return $.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},$.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},$}();function summarizeDimensions($,z){var ie={},le=ie.encode={},ue=createHashMap(),pe=[],_e=[],Ce={};each$c($.dimensions,function(ze){var Ue=$.getDimensionInfo(ze),qe=Ue.coordDim;if(qe){var Et=Ue.coordDimIndex;getOrCreateEncodeArr(le,qe)[Et]=ze,Ue.isExtraCoord||(ue.set(qe,1),mayLabelDimType(Ue.type)&&(pe[0]=ze),getOrCreateEncodeArr(Ce,qe)[Et]=$.getDimensionIndex(Ue.name)),Ue.defaultTooltip&&_e.push(ze)}VISUAL_DIMENSIONS.each(function(Lt,hn){var vn=getOrCreateEncodeArr(le,hn),_n=Ue.otherDims[hn];_n!=null&&_n!==!1&&(vn[_n]=Ue.name)})});var $e=[],xe={};ue.each(function(ze,Ue){var qe=le[Ue];xe[Ue]=qe[0],$e=$e.concat(qe)}),ie.dataDimsOnCoord=$e,ie.dataDimIndicesOnCoord=map$2($e,function(ze){return $.getDimensionInfo(ze).storeDimIndex}),ie.encodeFirstDimNotExtra=xe;var Ie=le.label;Ie&&Ie.length&&(pe=Ie.slice());var Ve=le.tooltip;return Ve&&Ve.length?_e=Ve.slice():_e.length||(_e=pe.slice()),le.defaultedLabel=pe,le.defaultedTooltip=_e,ie.userOutput=new DimensionUserOuput(Ce,z),ie}function getOrCreateEncodeArr($,z){return $.hasOwnProperty(z)||($[z]=[]),$[z]}function getDimensionTypeByAxis($){return $==="category"?"ordinal":$==="time"?"time":"float"}function mayLabelDimType($){return!($==="ordinal"||$==="time")}var SeriesDimensionDefine=function(){function $(z){this.otherDims={},z!=null&&extend(this,z)}return $}();const SeriesDimensionDefine$1=SeriesDimensionDefine;var inner$8=makeInner(),dimTypeShort={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},SeriesDataSchema=function(){function $(z){this.dimensions=z.dimensions,this._dimOmitted=z.dimensionOmitted,this.source=z.source,this._fullDimCount=z.fullDimensionCount,this._updateDimOmitted(z.dimensionOmitted)}return $.prototype.isDimensionOmitted=function(){return this._dimOmitted},$.prototype._updateDimOmitted=function(z){this._dimOmitted=z,z&&(this._dimNameMap||(this._dimNameMap=ensureSourceDimNameMap(this.source)))},$.prototype.getSourceDimensionIndex=function(z){return retrieve2(this._dimNameMap.get(z),-1)},$.prototype.getSourceDimension=function(z){var ie=this.source.dimensionsDefine;if(ie)return ie[z]},$.prototype.makeStoreSchema=function(){for(var z=this._fullDimCount,ie=shouldRetrieveDataByName(this.source),le=!shouldOmitUnusedDimensions(z),ue="",pe=[],_e=0,Ce=0;_e<z;_e++){var $e=void 0,xe=void 0,Ie=void 0,Ve=this.dimensions[Ce];if(Ve&&Ve.storeDimIndex===_e)$e=ie?Ve.name:null,xe=Ve.type,Ie=Ve.ordinalMeta,Ce++;else{var ze=this.getSourceDimension(_e);ze&&($e=ie?ze.name:null,xe=ze.type)}pe.push({property:$e,type:xe,ordinalMeta:Ie}),ie&&$e!=null&&(!Ve||!Ve.isCalculationCoord)&&(ue+=le?$e.replace(/\`/g,"`1").replace(/\$/g,"`2"):$e),ue+="$",ue+=dimTypeShort[xe]||"f",Ie&&(ue+=Ie.uid),ue+="$"}var Ue=this.source,qe=[Ue.seriesLayoutBy,Ue.startIndex,ue].join("$$");return{dimensions:pe,hash:qe}},$.prototype.makeOutputDimensionNames=function(){for(var z=[],ie=0,le=0;ie<this._fullDimCount;ie++){var ue=void 0,pe=this.dimensions[le];if(pe&&pe.storeDimIndex===ie)pe.isCalculationCoord||(ue=pe.name),le++;else{var _e=this.getSourceDimension(ie);_e&&(ue=_e.name)}z.push(ue)}return z},$.prototype.appendCalculationDimension=function(z){this.dimensions.push(z),z.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},$}();function isSeriesDataSchema($){return $ instanceof SeriesDataSchema}function createDimNameMap($){for(var z=createHashMap(),ie=0;ie<($||[]).length;ie++){var le=$[ie],ue=isObject$3(le)?le.name:le;ue!=null&&z.get(ue)==null&&z.set(ue,ie)}return z}function ensureSourceDimNameMap($){var z=inner$8($);return z.dimNameMap||(z.dimNameMap=createDimNameMap($.dimensionsDefine))}function shouldOmitUnusedDimensions($){return $>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 $(z,ie){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 le,ue=!1;isSeriesDataSchema(z)?(le=z.dimensions,this._dimOmitted=z.isDimensionOmitted(),this._schema=z):(ue=!0,le=z),le=le||["x","y"];for(var pe={},_e=[],Ce={},$e=!1,xe={},Ie=0;Ie<le.length;Ie++){var Ve=le[Ie],ze=isString(Ve)?new SeriesDimensionDefine$1({name:Ve}):Ve instanceof SeriesDimensionDefine$1?Ve:new SeriesDimensionDefine$1(Ve),Ue=ze.name;ze.type=ze.type||"float",ze.coordDim||(ze.coordDim=Ue,ze.coordDimIndex=0);var qe=ze.otherDims=ze.otherDims||{};_e.push(Ue),pe[Ue]=ze,xe[Ue]!=null&&($e=!0),ze.createInvertedIndices&&(Ce[Ue]=[]),qe.itemName===0&&(this._nameDimIdx=Ie),qe.itemId===0&&(this._idDimIdx=Ie),ue&&(ze.storeDimIndex=Ie)}if(this.dimensions=_e,this._dimInfos=pe,this._initGetDimensionInfo($e),this.hostModel=ie,this._invertedIndicesMap=Ce,this._dimOmitted){var Et=this._dimIdxToName=createHashMap();each$c(_e,function(Lt){Et.set(pe[Lt].storeDimIndex,Lt)})}}return $.prototype.getDimension=function(z){var ie=this._recognizeDimIndex(z);if(ie==null)return z;if(ie=z,!this._dimOmitted)return this.dimensions[ie];var le=this._dimIdxToName.get(ie);if(le!=null)return le;var ue=this._schema.getSourceDimension(ie);if(ue)return ue.name},$.prototype.getDimensionIndex=function(z){var ie=this._recognizeDimIndex(z);if(ie!=null)return ie;if(z==null)return-1;var le=this._getDimInfo(z);return le?le.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(z):-1},$.prototype._recognizeDimIndex=function(z){if(isNumber(z)||z!=null&&!isNaN(z)&&!this._getDimInfo(z)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(z)<0))return+z},$.prototype._getStoreDimIndex=function(z){var ie=this.getDimensionIndex(z);return ie},$.prototype.getDimensionInfo=function(z){return this._getDimInfo(this.getDimension(z))},$.prototype._initGetDimensionInfo=function(z){var ie=this._dimInfos;this._getDimInfo=z?function(le){return ie.hasOwnProperty(le)?ie[le]:void 0}:function(le){return ie[le]}},$.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},$.prototype.mapDimension=function(z,ie){var le=this._dimSummary;if(ie==null)return le.encodeFirstDimNotExtra[z];var ue=le.encode[z];return ue?ue[ie]:null},$.prototype.mapDimensionsAll=function(z){var ie=this._dimSummary,le=ie.encode[z];return(le||[]).slice()},$.prototype.getStore=function(){return this._store},$.prototype.initData=function(z,ie,le){var ue=this,pe;if(z instanceof DataStore$1&&(pe=z),!pe){var _e=this.dimensions,Ce=isSourceInstance(z)||isArrayLike(z)?new DefaultDataProvider(z,_e.length):z;pe=new DataStore$1;var $e=map$1(_e,function(xe){return{type:ue._dimInfos[xe].type,property:xe}});pe.initData(Ce,$e,le)}this._store=pe,this._nameList=(ie||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,pe.count()),this._dimSummary=summarizeDimensions(this,this._schema),this.userOutput=this._dimSummary.userOutput},$.prototype.appendData=function(z){var ie=this._store.appendData(z);this._doInit(ie[0],ie[1])},$.prototype.appendValues=function(z,ie){var le=this._store.appendValues(z,ie.length),ue=le.start,pe=le.end,_e=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),ie)for(var Ce=ue;Ce<pe;Ce++){var $e=Ce-ue;this._nameList[Ce]=ie[$e],_e&&makeIdFromName(this,Ce)}},$.prototype._updateOrdinalMeta=function(){for(var z=this._store,ie=this.dimensions,le=0;le<ie.length;le++){var ue=this._dimInfos[ie[le]];ue.ordinalMeta&&z.collectOrdinalMeta(ue.storeDimIndex,ue.ordinalMeta)}},$.prototype._shouldMakeIdFromName=function(){var z=this._store.getProvider();return this._idDimIdx==null&&z.getSource().sourceFormat!==SOURCE_FORMAT_TYPED_ARRAY&&!z.fillStorage},$.prototype._doInit=function(z,ie){if(!(z>=ie)){var le=this._store,ue=le.getProvider();this._updateOrdinalMeta();var pe=this._nameList,_e=this._idList,Ce=ue.getSource().sourceFormat,$e=Ce===SOURCE_FORMAT_ORIGINAL;if($e&&!ue.pure)for(var xe=[],Ie=z;Ie<ie;Ie++){var Ve=ue.getItem(Ie,xe);if(!this.hasItemOption&&isDataItemOption(Ve)&&(this.hasItemOption=!0),Ve){var ze=Ve.name;pe[Ie]==null&&ze!=null&&(pe[Ie]=convertOptionIdName(ze,null));var Ue=Ve.id;_e[Ie]==null&&Ue!=null&&(_e[Ie]=convertOptionIdName(Ue,null))}}if(this._shouldMakeIdFromName())for(var Ie=z;Ie<ie;Ie++)makeIdFromName(this,Ie);prepareInvertedIndex(this)}},$.prototype.getApproximateExtent=function(z){return this._approximateExtent[z]||this._store.getDataExtent(this._getStoreDimIndex(z))},$.prototype.setApproximateExtent=function(z,ie){ie=this.getDimension(ie),this._approximateExtent[ie]=z.slice()},$.prototype.getCalculationInfo=function(z){return this._calculationInfo[z]},$.prototype.setCalculationInfo=function(z,ie){isObject$1(z)?extend(this._calculationInfo,z):this._calculationInfo[z]=ie},$.prototype.getName=function(z){var ie=this.getRawIndex(z),le=this._nameList[ie];return le==null&&this._nameDimIdx!=null&&(le=getIdNameFromStore(this,this._nameDimIdx,ie)),le==null&&(le=""),le},$.prototype._getCategory=function(z,ie){var le=this._store.get(z,ie),ue=this._store.getOrdinalMeta(z);return ue?ue.categories[le]:le},$.prototype.getId=function(z){return getId(this,this.getRawIndex(z))},$.prototype.count=function(){return this._store.count()},$.prototype.get=function(z,ie){var le=this._store,ue=this._dimInfos[z];if(ue)return le.get(ue.storeDimIndex,ie)},$.prototype.getByRawIndex=function(z,ie){var le=this._store,ue=this._dimInfos[z];if(ue)return le.getByRawIndex(ue.storeDimIndex,ie)},$.prototype.getIndices=function(){return this._store.getIndices()},$.prototype.getDataExtent=function(z){return this._store.getDataExtent(this._getStoreDimIndex(z))},$.prototype.getSum=function(z){return this._store.getSum(this._getStoreDimIndex(z))},$.prototype.getMedian=function(z){return this._store.getMedian(this._getStoreDimIndex(z))},$.prototype.getValues=function(z,ie){var le=this,ue=this._store;return isArray$1(z)?ue.getValues(map$1(z,function(pe){return le._getStoreDimIndex(pe)}),ie):ue.getValues(z)},$.prototype.hasValue=function(z){for(var ie=this._dimSummary.dataDimIndicesOnCoord,le=0,ue=ie.length;le<ue;le++)if(isNaN(this._store.get(ie[le],z)))return!1;return!0},$.prototype.indexOfName=function(z){for(var ie=0,le=this._store.count();ie<le;ie++)if(this.getName(ie)===z)return ie;return-1},$.prototype.getRawIndex=function(z){return this._store.getRawIndex(z)},$.prototype.indexOfRawIndex=function(z){return this._store.indexOfRawIndex(z)},$.prototype.rawIndexOf=function(z,ie){var le=z&&this._invertedIndicesMap[z],ue=le[ie];return ue==null||isNaN(ue)?INDEX_NOT_FOUND:ue},$.prototype.indicesOfNearest=function(z,ie,le){return this._store.indicesOfNearest(this._getStoreDimIndex(z),ie,le)},$.prototype.each=function(z,ie,le){isFunction(z)&&(le=ie,ie=z,z=[]);var ue=le||this,pe=map$1(normalizeDimensions(z),this._getStoreDimIndex,this);this._store.each(pe,ue?bind$1(ie,ue):ie)},$.prototype.filterSelf=function(z,ie,le){isFunction(z)&&(le=ie,ie=z,z=[]);var ue=le||this,pe=map$1(normalizeDimensions(z),this._getStoreDimIndex,this);return this._store=this._store.filter(pe,ue?bind$1(ie,ue):ie),this},$.prototype.selectRange=function(z){var ie=this,le={},ue=keys(z);return each$c(ue,function(pe){var _e=ie._getStoreDimIndex(pe);le[_e]=z[pe]}),this._store=this._store.selectRange(le),this},$.prototype.mapArray=function(z,ie,le){isFunction(z)&&(le=ie,ie=z,z=[]),le=le||this;var ue=[];return this.each(z,function(){ue.push(ie&&ie.apply(this,arguments))},le),ue},$.prototype.map=function(z,ie,le,ue){var pe=le||ue||this,_e=map$1(normalizeDimensions(z),this._getStoreDimIndex,this),Ce=cloneListForMapAndSample(this);return Ce._store=this._store.map(_e,pe?bind$1(ie,pe):ie),Ce},$.prototype.modify=function(z,ie,le,ue){var pe=le||ue||this,_e=map$1(normalizeDimensions(z),this._getStoreDimIndex,this);this._store.modify(_e,pe?bind$1(ie,pe):ie)},$.prototype.downSample=function(z,ie,le,ue){var pe=cloneListForMapAndSample(this);return pe._store=this._store.downSample(this._getStoreDimIndex(z),ie,le,ue),pe},$.prototype.lttbDownSample=function(z,ie){var le=cloneListForMapAndSample(this);return le._store=this._store.lttbDownSample(this._getStoreDimIndex(z),ie),le},$.prototype.getRawDataItem=function(z){return this._store.getRawDataItem(z)},$.prototype.getItemModel=function(z){var ie=this.hostModel,le=this.getRawDataItem(z);return new Model$1(le,ie,ie&&ie.ecModel)},$.prototype.diff=function(z){var ie=this;return new DataDiffer$1(z?z.getStore().getIndices():[],this.getStore().getIndices(),function(le){return getId(z,le)},function(le){return getId(ie,le)})},$.prototype.getVisual=function(z){var ie=this._visual;return ie&&ie[z]},$.prototype.setVisual=function(z,ie){this._visual=this._visual||{},isObject$1(z)?extend(this._visual,z):this._visual[z]=ie},$.prototype.getItemVisual=function(z,ie){var le=this._itemVisuals[z],ue=le&&le[ie];return ue??this.getVisual(ie)},$.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},$.prototype.ensureUniqueItemVisual=function(z,ie){var le=this._itemVisuals,ue=le[z];ue||(ue=le[z]={});var pe=ue[ie];return pe==null&&(pe=this.getVisual(ie),isArray$1(pe)?pe=pe.slice():isObject$1(pe)&&(pe=extend({},pe)),ue[ie]=pe),pe},$.prototype.setItemVisual=function(z,ie,le){var ue=this._itemVisuals[z]||{};this._itemVisuals[z]=ue,isObject$1(ie)?extend(ue,ie):ue[ie]=le},$.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},$.prototype.setLayout=function(z,ie){isObject$1(z)?extend(this._layout,z):this._layout[z]=ie},$.prototype.getLayout=function(z){return this._layout[z]},$.prototype.getItemLayout=function(z){return this._itemLayouts[z]},$.prototype.setItemLayout=function(z,ie,le){this._itemLayouts[z]=le?extend(this._itemLayouts[z]||{},ie):ie},$.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},$.prototype.setItemGraphicEl=function(z,ie){var le=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(le,this.dataType,z,ie),this._graphicEls[z]=ie},$.prototype.getItemGraphicEl=function(z){return this._graphicEls[z]},$.prototype.eachItemGraphicEl=function(z,ie){each$c(this._graphicEls,function(le,ue){le&&z&&z.call(ie,le,ue)})},$.prototype.cloneShallow=function(z){return z||(z=new $(this._schema?this._schema:map$1(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(z,this),z._store=this._store,z},$.prototype.wrapMethod=function(z,ie){var le=this[z];isFunction(le)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var ue=le.apply(this,arguments);return ie.apply(this,[ue].concat(slice(arguments)))})},$.internalField=function(){prepareInvertedIndex=function(z){var ie=z._invertedIndicesMap;each$c(ie,function(le,ue){var pe=z._dimInfos[ue],_e=pe.ordinalMeta,Ce=z._store;if(_e){le=ie[ue]=new CtorInt32Array(_e.categories.length);for(var $e=0;$e<le.length;$e++)le[$e]=INDEX_NOT_FOUND;for(var $e=0;$e<Ce.count();$e++)le[Ce.get(pe.storeDimIndex,$e)]=$e}})},getIdNameFromStore=function(z,ie,le){return convertOptionIdName(z._getCategory(ie,le),null)},getId=function(z,ie){var le=z._idList[ie];return le==null&&z._idDimIdx!=null&&(le=getIdNameFromStore(z,z._idDimIdx,ie)),le==null&&(le=ID_PREFIX+ie),le},normalizeDimensions=function(z){return isArray$1(z)||(z=z!=null?[z]:[]),z},cloneListForMapAndSample=function(z){var ie=new $(z._schema?z._schema:map$1(z.dimensions,z._getDimInfo,z),z.hostModel);return transferProperties(ie,z),ie},transferProperties=function(z,ie){each$c(TRANSFERABLE_PROPERTIES.concat(ie.__wrappedMethods||[]),function(le){ie.hasOwnProperty(le)&&(z[le]=ie[le])}),z.__wrappedMethods=ie.__wrappedMethods,each$c(CLONE_PROPERTIES,function(le){z[le]=clone$3(ie[le])}),z._calculationInfo=extend({},ie._calculationInfo)},makeIdFromName=function(z,ie){var le=z._nameList,ue=z._idList,pe=z._nameDimIdx,_e=z._idDimIdx,Ce=le[ie],$e=ue[ie];if(Ce==null&&pe!=null&&(le[ie]=Ce=getIdNameFromStore(z,pe,ie)),$e==null&&_e!=null&&(ue[ie]=$e=getIdNameFromStore(z,_e,ie)),$e==null&&Ce!=null){var xe=z._nameRepeatCount,Ie=xe[Ce]=(xe[Ce]||0)+1;$e=Ce,Ie>1&&($e+="__ec__"+Ie),ue[ie]=$e}}}(),$}();const SeriesData$1=SeriesData;function createDimensions($,z){return prepareSeriesDataSchema($,z).dimensions}function prepareSeriesDataSchema($,z){isSourceInstance($)||($=createSourceFromSeriesDataOption($)),z=z||{};var ie=z.coordDimensions||[],le=z.dimensionsDefine||$.dimensionsDefine||[],ue=createHashMap(),pe=[],_e=getDimCount($,ie,le,z.dimensionsCount),Ce=z.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(_e),$e=le===$.dimensionsDefine,xe=$e?ensureSourceDimNameMap($):createDimNameMap(le),Ie=z.encodeDefine;!Ie&&z.encodeDefaulter&&(Ie=z.encodeDefaulter($,_e));for(var Ve=createHashMap(Ie),ze=new CtorInt32Array$1(_e),Ue=0;Ue<ze.length;Ue++)ze[Ue]=-1;function qe(Tn){var kn=ze[Tn];if(kn<0){var xn=le[Tn],Pn=isObject$3(xn)?xn:{name:xn},An=new SeriesDimensionDefine$1,In=Pn.name;In!=null&&xe.get(In)!=null&&(An.name=An.displayName=In),Pn.type!=null&&(An.type=Pn.type),Pn.displayName!=null&&(An.displayName=Pn.displayName);var Fn=pe.length;return ze[Tn]=Fn,An.storeDimIndex=Tn,pe.push(An),An}return pe[kn]}if(!Ce)for(var Ue=0;Ue<_e;Ue++)qe(Ue);Ve.each(function(Tn,kn){var xn=normalizeToArray(Tn).slice();if(xn.length===1&&!isString(xn[0])&&xn[0]<0){Ve.set(kn,!1);return}var Pn=Ve.set(kn,[]);each$c(xn,function(An,In){var Fn=isString(An)?xe.get(An):An;Fn!=null&&Fn<_e&&(Pn[In]=Fn,Lt(qe(Fn),kn,In))})});var Et=0;each$c(ie,function(Tn){var kn,xn,Pn,An;if(isString(Tn))kn=Tn,An={};else{An=Tn,kn=An.name;var In=An.ordinalMeta;An.ordinalMeta=null,An=extend({},An),An.ordinalMeta=In,xn=An.dimsDef,Pn=An.otherDims,An.name=An.coordDim=An.coordDimIndex=An.dimsDef=An.otherDims=null}var Fn=Ve.get(kn);if(Fn!==!1){if(Fn=normalizeToArray(Fn),!Fn.length)for(var Dn=0;Dn<(xn&&xn.length||1);Dn++){for(;Et<_e&&qe(Et).coordDim!=null;)Et++;Et<_e&&Fn.push(Et++)}each$c(Fn,function(On,Vn){var Mn=qe(On);if($e&&An.type!=null&&(Mn.type=An.type),Lt(defaults(Mn,An),kn,Vn),Mn.name==null&&xn){var zn=xn[Vn];!isObject$3(zn)&&(zn={name:zn}),Mn.name=Mn.displayName=zn.name,Mn.defaultTooltip=zn.defaultTooltip}Pn&&defaults(Mn.otherDims,Pn)})}});function Lt(Tn,kn,xn){VISUAL_DIMENSIONS.get(kn)!=null?Tn.otherDims[kn]=xn:(Tn.coordDim=kn,Tn.coordDimIndex=xn,ue.set(kn,!0))}var hn=z.generateCoord,vn=z.generateCoordCount,_n=vn!=null;vn=hn?vn||1:0;var bn=hn||"value";function Cn(Tn){Tn.name==null&&(Tn.name=Tn.coordDim)}if(Ce)each$c(pe,function(Tn){Cn(Tn)}),pe.sort(function(Tn,kn){return Tn.storeDimIndex-kn.storeDimIndex});else for(var Sn=0;Sn<_e;Sn++){var En=qe(Sn),wn=En.coordDim;wn==null&&(En.coordDim=genCoordDimName(bn,ue,_n),En.coordDimIndex=0,(!hn||vn<=0)&&(En.isExtraCoord=!0),vn--),Cn(En),En.type==null&&(guessOrdinal($,Sn)===BE_ORDINAL.Must||En.isExtraCoord&&(En.otherDims.itemName!=null||En.otherDims.seriesName!=null))&&(En.type="ordinal")}return removeDuplication(pe),new SeriesDataSchema({source:$,dimensions:pe,fullDimensionCount:_e,dimensionOmitted:Ce})}function removeDuplication($){for(var z=createHashMap(),ie=0;ie<$.length;ie++){var le=$[ie],ue=le.name,pe=z.get(ue)||0;pe>0&&(le.name=ue+(pe-1)),pe++,z.set(ue,pe)}}function getDimCount($,z,ie,le){var ue=Math.max($.dimensionsDetectedCount||1,z.length,ie.length,le||0);return each$c(z,function(pe){var _e;isObject$3(pe)&&(_e=pe.dimsDef)&&(ue=Math.max(ue,_e.length))}),ue}function genCoordDimName($,z,ie){if(ie||z.hasKey($)){for(var le=0;z.hasKey($+le);)le++;$+=le}return z.set($,!0),$}var CoordSysInfo=function(){function $(z){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=z}return $}();function getCoordSysInfoBySeries($){var z=$.get("coordinateSystem"),ie=new CoordSysInfo(z),le=fetchers[z];if(le)return le($,ie,ie.axisMap,ie.categoryAxisMap),ie}var fetchers={cartesian2d:function($,z,ie,le){var ue=$.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],pe=$.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];z.coordSysDims=["x","y"],ie.set("x",ue),ie.set("y",pe),isCategory(ue)&&(le.set("x",ue),z.firstCategoryDimIndex=0),isCategory(pe)&&(le.set("y",pe),z.firstCategoryDimIndex==null&&(z.firstCategoryDimIndex=1))},singleAxis:function($,z,ie,le){var ue=$.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];z.coordSysDims=["single"],ie.set("single",ue),isCategory(ue)&&(le.set("single",ue),z.firstCategoryDimIndex=0)},polar:function($,z,ie,le){var ue=$.getReferringComponents("polar",SINGLE_REFERRING).models[0],pe=ue.findAxisModel("radiusAxis"),_e=ue.findAxisModel("angleAxis");z.coordSysDims=["radius","angle"],ie.set("radius",pe),ie.set("angle",_e),isCategory(pe)&&(le.set("radius",pe),z.firstCategoryDimIndex=0),isCategory(_e)&&(le.set("angle",_e),z.firstCategoryDimIndex==null&&(z.firstCategoryDimIndex=1))},geo:function($,z,ie,le){z.coordSysDims=["lng","lat"]},parallel:function($,z,ie,le){var ue=$.ecModel,pe=ue.getComponent("parallel",$.get("parallelIndex")),_e=z.coordSysDims=pe.dimensions.slice();each$c(pe.parallelAxisIndex,function(Ce,$e){var xe=ue.getComponent("parallelAxis",Ce),Ie=_e[$e];ie.set(Ie,xe),isCategory(xe)&&(le.set(Ie,xe),z.firstCategoryDimIndex==null&&(z.firstCategoryDimIndex=$e))})}};function isCategory($){return $.get("type")==="category"}function enableDataStack($,z,ie){ie=ie||{};var le=ie.byIndex,ue=ie.stackedCoordDimension,pe,_e,Ce;isLegacyDimensionsInput(z)?pe=z:(_e=z.schema,pe=_e.dimensions,Ce=z.store);var $e=!!($&&$.get("stack")),xe,Ie,Ve,ze;if(each$c(pe,function(vn,_n){isString(vn)&&(pe[_n]=vn={name:vn}),$e&&!vn.isExtraCoord&&(!le&&!xe&&vn.ordinalMeta&&(xe=vn),!Ie&&vn.type!=="ordinal"&&vn.type!=="time"&&(!ue||ue===vn.coordDim)&&(Ie=vn))}),Ie&&!le&&!xe&&(le=!0),Ie){Ve="__\0ecstackresult_"+$.id,ze="__\0ecstackedover_"+$.id,xe&&(xe.createInvertedIndices=!0);var Ue=Ie.coordDim,qe=Ie.type,Et=0;each$c(pe,function(vn){vn.coordDim===Ue&&Et++});var Lt={name:Ve,coordDim:Ue,coordDimIndex:Et,type:qe,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:pe.length},hn={name:ze,coordDim:ze,coordDimIndex:Et+1,type:qe,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:pe.length+1};_e?(Ce&&(Lt.storeDimIndex=Ce.ensureCalculationDimension(ze,qe),hn.storeDimIndex=Ce.ensureCalculationDimension(Ve,qe)),_e.appendCalculationDimension(Lt),_e.appendCalculationDimension(hn)):(pe.push(Lt),pe.push(hn))}return{stackedDimension:Ie&&Ie.name,stackedByDimension:xe&&xe.name,isStackedByIndex:le,stackedOverDimension:ze,stackResultDimension:Ve}}function isLegacyDimensionsInput($){return!isSeriesDataSchema($.schema)}function isDimensionStacked($,z){return!!z&&z===$.getCalculationInfo("stackedDimension")}function getStackedDimension($,z){return isDimensionStacked($,z)?$.getCalculationInfo("stackResultDimension"):z}function getCoordSysDimDefs($,z){var ie=$.get("coordinateSystem"),le=CoordinateSystem.get(ie),ue;return z&&z.coordSysDims&&(ue=map$2(z.coordSysDims,function(pe){var _e={name:pe},Ce=z.axisMap.get(pe);if(Ce){var $e=Ce.get("type");_e.type=getDimensionTypeByAxis($e)}return _e})),ue||(ue=le&&(le.getDimensionsInfo?le.getDimensionsInfo():le.dimensions.slice())||["x","y"]),ue}function injectOrdinalMeta($,z,ie){var le,ue;return ie&&each$c($,function(pe,_e){var Ce=pe.coordDim,$e=ie.categoryAxisMap.get(Ce);$e&&(le==null&&(le=_e),pe.ordinalMeta=$e.getOrdinalMeta(),z&&(pe.createInvertedIndices=!0)),pe.otherDims.itemName!=null&&(ue=!0)}),!ue&&le!=null&&($[le].otherDims.itemName=0),le}function createSeriesData($,z,ie){ie=ie||{};var le=z.getSourceManager(),ue,pe=!1;$?(pe=!0,ue=createSourceFromSeriesDataOption($)):(ue=le.getSource(),pe=ue.sourceFormat===SOURCE_FORMAT_ORIGINAL);var _e=getCoordSysInfoBySeries(z),Ce=getCoordSysDimDefs(z,_e),$e=ie.useEncodeDefaulter,xe=isFunction($e)?$e:$e?curry$1(makeSeriesEncodeForAxisCoordSys,Ce,z):null,Ie={coordDimensions:Ce,generateCoord:ie.generateCoord,encodeDefine:z.getEncode(),encodeDefaulter:xe,canOmitUnusedDimensions:!pe},Ve=prepareSeriesDataSchema(ue,Ie),ze=injectOrdinalMeta(Ve.dimensions,ie.createInvertedIndices,_e),Ue=pe?null:le.getSharedDataStore(Ve),qe=enableDataStack(z,{schema:Ve,store:Ue}),Et=new SeriesData$1(Ve,z);Et.setCalculationInfo(qe);var Lt=ze!=null&&isNeedCompleteOrdinalData(ue)?function(hn,vn,_n,bn){return bn===ze?_n:this.defaultDimValueGetter(hn,vn,_n,bn)}:null;return Et.hasItemOption=!1,Et.initData(pe?ue:Ue,null,Lt),Et}function isNeedCompleteOrdinalData($){if($.sourceFormat===SOURCE_FORMAT_ORIGINAL){var z=firstDataNotNull($.data||[]);return!isArray$1(getDataItemValue(z))}}function firstDataNotNull($){for(var z=0;z<$.length&&$[z]==null;)z++;return $[z]}var Scale=function(){function $(z){this._setting=z||{},this._extent=[1/0,-1/0]}return $.prototype.getSetting=function(z){return this._setting[z]},$.prototype.unionExtent=function(z){var ie=this._extent;z[0]<ie[0]&&(ie[0]=z[0]),z[1]>ie[1]&&(ie[1]=z[1])},$.prototype.unionExtentFromData=function(z,ie){this.unionExtent(z.getApproximateExtent(ie))},$.prototype.getExtent=function(){return this._extent.slice()},$.prototype.setExtent=function(z,ie){var le=this._extent;isNaN(z)||(le[0]=z),isNaN(ie)||(le[1]=ie)},$.prototype.isInExtentRange=function(z){return this._extent[0]<=z&&this._extent[1]>=z},$.prototype.isBlank=function(){return this._isBlank},$.prototype.setBlank=function(z){this._isBlank=z},$}();enableClassManagement(Scale);const Scale$1=Scale;var uidBase=0,OrdinalMeta=function(){function $(z){this.categories=z.categories||[],this._needCollect=z.needCollect,this._deduplication=z.deduplication,this.uid=++uidBase}return $.createByAxisModel=function(z){var ie=z.option,le=ie.data,ue=le&&map$2(le,getName);return new $({categories:ue,needCollect:!ue,deduplication:ie.dedplication!==!1})},$.prototype.getOrdinal=function(z){return this._getOrCreateMap().get(z)},$.prototype.parseAndCollect=function(z){var ie,le=this._needCollect;if(!isString(z)&&!le)return z;if(le&&!this._deduplication)return ie=this.categories.length,this.categories[ie]=z,ie;var ue=this._getOrCreateMap();return ie=ue.get(z),ie==null&&(le?(ie=this.categories.length,this.categories[ie]=z,ue.set(z,ie)):ie=NaN),ie},$.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},$}();function getName($){return isObject$3($)&&$.value!=null?$.value:$+""}const OrdinalMeta$1=OrdinalMeta;function isIntervalOrLogScale($){return $.type==="interval"||$.type==="log"}function intervalScaleNiceTicks($,z,ie,le){var ue={},pe=$[1]-$[0],_e=ue.interval=nice(pe/z,!0);ie!=null&&_e<ie&&(_e=ue.interval=ie),le!=null&&_e>le&&(_e=ue.interval=le);var Ce=ue.intervalPrecision=getIntervalPrecision(_e),$e=ue.niceTickExtent=[round$1(Math.ceil($[0]/_e)*_e,Ce),round$1(Math.floor($[1]/_e)*_e,Ce)];return fixExtent($e,$),ue}function increaseInterval($){var z=Math.pow(10,quantityExponent($)),ie=$/z;return ie?ie===2?ie=3:ie===3?ie=5:ie*=2:ie=1,round$1(ie*z)}function getIntervalPrecision($){return getPrecision($)+2}function clamp($,z,ie){$[z]=Math.max(Math.min($[z],ie[1]),ie[0])}function fixExtent($,z){!isFinite($[0])&&($[0]=z[0]),!isFinite($[1])&&($[1]=z[1]),clamp($,0,z),clamp($,1,z),$[0]>$[1]&&($[0]=$[1])}function contain$1($,z){return $>=z[0]&&$<=z[1]}function normalize($,z){return z[1]===z[0]?.5:($-z[0])/(z[1]-z[0])}function scale($,z){return $*(z[1]-z[0])+z[0]}var OrdinalScale=function($){__extends(z,$);function z(ie){var le=$.call(this,ie)||this;le.type="ordinal";var ue=le.getSetting("ordinalMeta");return ue||(ue=new OrdinalMeta$1({})),isArray$1(ue)&&(ue=new OrdinalMeta$1({categories:map$2(ue,function(pe){return isObject$3(pe)?pe.value:pe})})),le._ordinalMeta=ue,le._extent=le.getSetting("extent")||[0,ue.categories.length-1],le}return z.prototype.parse=function(ie){return ie==null?NaN:isString(ie)?this._ordinalMeta.getOrdinal(ie):Math.round(ie)},z.prototype.contain=function(ie){return ie=this.parse(ie),contain$1(ie,this._extent)&&this._ordinalMeta.categories[ie]!=null},z.prototype.normalize=function(ie){return ie=this._getTickNumber(this.parse(ie)),normalize(ie,this._extent)},z.prototype.scale=function(ie){return ie=Math.round(scale(ie,this._extent)),this.getRawOrdinalNumber(ie)},z.prototype.getTicks=function(){for(var ie=[],le=this._extent,ue=le[0];ue<=le[1];)ie.push({value:ue}),ue++;return ie},z.prototype.getMinorTicks=function(ie){},z.prototype.setSortInfo=function(ie){if(ie==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var le=ie.ordinalNumbers,ue=this._ordinalNumbersByTick=[],pe=this._ticksByOrdinalNumber=[],_e=0,Ce=this._ordinalMeta.categories.length,$e=Math.min(Ce,le.length);_e<$e;++_e){var xe=le[_e];ue[_e]=xe,pe[xe]=_e}for(var Ie=0;_e<Ce;++_e){for(;pe[Ie]!=null;)Ie++;ue.push(Ie),pe[Ie]=_e}},z.prototype._getTickNumber=function(ie){var le=this._ticksByOrdinalNumber;return le&&ie>=0&&ie<le.length?le[ie]:ie},z.prototype.getRawOrdinalNumber=function(ie){var le=this._ordinalNumbersByTick;return le&&ie>=0&&ie<le.length?le[ie]:ie},z.prototype.getLabel=function(ie){if(!this.isBlank()){var le=this.getRawOrdinalNumber(ie.value),ue=this._ordinalMeta.categories[le];return ue==null?"":ue+""}},z.prototype.count=function(){return this._extent[1]-this._extent[0]+1},z.prototype.unionExtentFromData=function(ie,le){this.unionExtent(ie.getApproximateExtent(le))},z.prototype.isInExtentRange=function(ie){return ie=this._getTickNumber(ie),this._extent[0]<=ie&&this._extent[1]>=ie},z.prototype.getOrdinalMeta=function(){return this._ordinalMeta},z.prototype.calcNiceTicks=function(){},z.prototype.calcNiceExtent=function(){},z.type="ordinal",z}(Scale$1);Scale$1.registerClass(OrdinalScale);const OrdinalScale$1=OrdinalScale;var roundNumber=round$1,IntervalScale=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type="interval",ie._interval=0,ie._intervalPrecision=2,ie}return z.prototype.parse=function(ie){return ie},z.prototype.contain=function(ie){return contain$1(ie,this._extent)},z.prototype.normalize=function(ie){return normalize(ie,this._extent)},z.prototype.scale=function(ie){return scale(ie,this._extent)},z.prototype.setExtent=function(ie,le){var ue=this._extent;isNaN(ie)||(ue[0]=parseFloat(ie)),isNaN(le)||(ue[1]=parseFloat(le))},z.prototype.unionExtent=function(ie){var le=this._extent;ie[0]<le[0]&&(le[0]=ie[0]),ie[1]>le[1]&&(le[1]=ie[1]),this.setExtent(le[0],le[1])},z.prototype.getInterval=function(){return this._interval},z.prototype.setInterval=function(ie){this._interval=ie,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(ie)},z.prototype.getTicks=function(ie){var le=this._interval,ue=this._extent,pe=this._niceExtent,_e=this._intervalPrecision,Ce=[];if(!le)return Ce;var $e=1e4;ue[0]<pe[0]&&(ie?Ce.push({value:roundNumber(pe[0]-le,_e)}):Ce.push({value:ue[0]}));for(var xe=pe[0];xe<=pe[1]&&(Ce.push({value:xe}),xe=roundNumber(xe+le,_e),xe!==Ce[Ce.length-1].value);)if(Ce.length>$e)return[];var Ie=Ce.length?Ce[Ce.length-1].value:pe[1];return ue[1]>Ie&&(ie?Ce.push({value:roundNumber(Ie+le,_e)}):Ce.push({value:ue[1]})),Ce},z.prototype.getMinorTicks=function(ie){for(var le=this.getTicks(!0),ue=[],pe=this.getExtent(),_e=1;_e<le.length;_e++){for(var Ce=le[_e],$e=le[_e-1],xe=0,Ie=[],Ve=Ce.value-$e.value,ze=Ve/ie;xe<ie-1;){var Ue=roundNumber($e.value+(xe+1)*ze);Ue>pe[0]&&Ue<pe[1]&&Ie.push(Ue),xe++}ue.push(Ie)}return ue},z.prototype.getLabel=function(ie,le){if(ie==null)return"";var ue=le&&le.precision;ue==null?ue=getPrecision(ie.value)||0:ue==="auto"&&(ue=this._intervalPrecision);var pe=roundNumber(ie.value,ue,!0);return addCommas(pe)},z.prototype.calcNiceTicks=function(ie,le,ue){ie=ie||5;var pe=this._extent,_e=pe[1]-pe[0];if(isFinite(_e)){_e<0&&(_e=-_e,pe.reverse());var Ce=intervalScaleNiceTicks(pe,ie,le,ue);this._intervalPrecision=Ce.intervalPrecision,this._interval=Ce.interval,this._niceExtent=Ce.niceTickExtent}},z.prototype.calcNiceExtent=function(ie){var le=this._extent;if(le[0]===le[1])if(le[0]!==0){var ue=Math.abs(le[0]);ie.fixMax||(le[1]+=ue/2),le[0]-=ue/2}else le[1]=1;var pe=le[1]-le[0];isFinite(pe)||(le[0]=0,le[1]=1),this.calcNiceTicks(ie.splitNumber,ie.minInterval,ie.maxInterval);var _e=this._interval;ie.fixMin||(le[0]=roundNumber(Math.floor(le[0]/_e)*_e)),ie.fixMax||(le[1]=roundNumber(Math.ceil(le[1]/_e)*_e))},z.prototype.setNiceExtent=function(ie,le){this._niceExtent=[ie,le]},z.type="interval",z}(Scale$1);Scale$1.registerClass(IntervalScale);const IntervalScale$1=IntervalScale;var supportFloat32Array=typeof Float32Array<"u",Float32ArrayCtor=supportFloat32Array?Float32Array:Array;function createFloat32Array($){return isArray$1($)?supportFloat32Array?new Float32Array($):$:new Float32ArrayCtor($)}var STACK_PREFIX="__ec_stack_";function getSeriesStackId($){return $.get("stack")||STACK_PREFIX+$.seriesIndex}function getAxisKey($){return $.dim+$.index}function prepareLayoutBarSeries($,z){var ie=[];return z.eachSeriesByType($,function(le){isOnCartesian(le)&&ie.push(le)}),ie}function getValueAxesMinGaps($){var z={};each$c($,function($e){var xe=$e.coordinateSystem,Ie=xe.getBaseAxis();if(!(Ie.type!=="time"&&Ie.type!=="value"))for(var Ve=$e.getData(),ze=Ie.dim+"_"+Ie.index,Ue=Ve.getDimensionIndex(Ve.mapDimension(Ie.dim)),qe=Ve.getStore(),Et=0,Lt=qe.count();Et<Lt;++Et){var hn=qe.get(Ue,Et);z[ze]?z[ze].push(hn):z[ze]=[hn]}});var ie={};for(var le in z)if(z.hasOwnProperty(le)){var ue=z[le];if(ue){ue.sort(function($e,xe){return $e-xe});for(var pe=null,_e=1;_e<ue.length;++_e){var Ce=ue[_e]-ue[_e-1];Ce>0&&(pe=pe===null?Ce:Math.min(pe,Ce))}ie[le]=pe}}return ie}function makeColumnLayout($){var z=getValueAxesMinGaps($),ie=[];return each$c($,function(le){var ue=le.coordinateSystem,pe=ue.getBaseAxis(),_e=pe.getExtent(),Ce;if(pe.type==="category")Ce=pe.getBandWidth();else if(pe.type==="value"||pe.type==="time"){var $e=pe.dim+"_"+pe.index,xe=z[$e],Ie=Math.abs(_e[1]-_e[0]),Ve=pe.scale.getExtent(),ze=Math.abs(Ve[1]-Ve[0]);Ce=xe?Ie/ze*xe:Ie}else{var Ue=le.getData();Ce=Math.abs(_e[1]-_e[0])/Ue.count()}var qe=parsePercent(le.get("barWidth"),Ce),Et=parsePercent(le.get("barMaxWidth"),Ce),Lt=parsePercent(le.get("barMinWidth")||(isInLargeMode(le)?.5:1),Ce),hn=le.get("barGap"),vn=le.get("barCategoryGap");ie.push({bandWidth:Ce,barWidth:qe,barMaxWidth:Et,barMinWidth:Lt,barGap:hn,barCategoryGap:vn,axisKey:getAxisKey(pe),stackId:getSeriesStackId(le)})}),doCalBarWidthAndOffset(ie)}function doCalBarWidthAndOffset($){var z={};each$c($,function(le,ue){var pe=le.axisKey,_e=le.bandWidth,Ce=z[pe]||{bandWidth:_e,remainedWidth:_e,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},$e=Ce.stacks;z[pe]=Ce;var xe=le.stackId;$e[xe]||Ce.autoWidthCount++,$e[xe]=$e[xe]||{width:0,maxWidth:0};var Ie=le.barWidth;Ie&&!$e[xe].width&&($e[xe].width=Ie,Ie=Math.min(Ce.remainedWidth,Ie),Ce.remainedWidth-=Ie);var Ve=le.barMaxWidth;Ve&&($e[xe].maxWidth=Ve);var ze=le.barMinWidth;ze&&($e[xe].minWidth=ze);var Ue=le.barGap;Ue!=null&&(Ce.gap=Ue);var qe=le.barCategoryGap;qe!=null&&(Ce.categoryGap=qe)});var ie={};return each$c(z,function(le,ue){ie[ue]={};var pe=le.stacks,_e=le.bandWidth,Ce=le.categoryGap;if(Ce==null){var $e=keys(pe).length;Ce=Math.max(35-$e*4,15)+"%"}var xe=parsePercent(Ce,_e),Ie=parsePercent(le.gap,1),Ve=le.remainedWidth,ze=le.autoWidthCount,Ue=(Ve-xe)/(ze+(ze-1)*Ie);Ue=Math.max(Ue,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,Ve-=bn+Ie*bn,ze--}else{var bn=Ue;vn&&vn<bn&&(bn=Math.min(vn,Ve)),_n&&_n>bn&&(bn=_n),bn!==Ue&&(hn.width=bn,Ve-=bn+Ie*bn,ze--)}}),Ue=(Ve-xe)/(ze+(ze-1)*Ie),Ue=Math.max(Ue,0);var qe=0,Et;each$c(pe,function(hn,vn){hn.width||(hn.width=Ue),Et=hn,qe+=hn.width*(1+Ie)}),Et&&(qe-=Et.width*Ie);var Lt=-qe/2;each$c(pe,function(hn,vn){ie[ue][vn]=ie[ue][vn]||{bandWidth:_e,offset:Lt,width:hn.width},Lt+=hn.width*(1+Ie)})}),ie}function retrieveColumnLayout($,z,ie){if($&&z){var le=$[getAxisKey(z)];return le!=null&&ie!=null?le[getSeriesStackId(ie)]:le}}function layout$2($,z){var ie=prepareLayoutBarSeries($,z),le=makeColumnLayout(ie);each$c(ie,function(ue){var pe=ue.getData(),_e=ue.coordinateSystem,Ce=_e.getBaseAxis(),$e=getSeriesStackId(ue),xe=le[getAxisKey(Ce)][$e],Ie=xe.offset,Ve=xe.width;pe.setLayout({bandWidth:xe.bandWidth,offset:Ie,size:Ve})})}function createProgressiveLayout($){return{seriesType:$,plan:createRenderPlanner(),reset:function(z){if(isOnCartesian(z)){var ie=z.getData(),le=z.coordinateSystem,ue=le.getBaseAxis(),pe=le.getOtherAxis(ue),_e=ie.getDimensionIndex(ie.mapDimension(pe.dim)),Ce=ie.getDimensionIndex(ie.mapDimension(ue.dim)),$e=z.get("showBackground",!0),xe=ie.mapDimension(pe.dim),Ie=ie.getCalculationInfo("stackResultDimension"),Ve=isDimensionStacked(ie,xe)&&!!ie.getCalculationInfo("stackedOnSeries"),ze=pe.isHorizontal(),Ue=getValueAxisStart(ue,pe),qe=isInLargeMode(z),Et=z.get("barMinHeight")||0,Lt=Ie&&ie.getDimensionIndex(Ie),hn=ie.getLayout("size"),vn=ie.getLayout("offset");return{progress:function(_n,bn){for(var Cn=_n.count,Sn=qe&&createFloat32Array(Cn*3),En=qe&&$e&&createFloat32Array(Cn*3),wn=qe&&createFloat32Array(Cn),Tn=le.master.getRect(),kn=ze?Tn.width:Tn.height,xn,Pn=bn.getStore(),An=0;(xn=_n.next())!=null;){var In=Pn.get(Ve?Lt:_e,xn),Fn=Pn.get(Ce,xn),Dn=Ue,On=void 0;Ve&&(On=+In-Pn.get(_e,xn));var Vn=void 0,Mn=void 0,zn=void 0,Kn=void 0;if(ze){var Hn=le.dataToPoint([In,Fn]);if(Ve){var Xn=le.dataToPoint([On,Fn]);Dn=Xn[0]}Vn=Dn,Mn=Hn[1]+vn,zn=Hn[0]-Dn,Kn=hn,Math.abs(zn)<Et&&(zn=(zn<0?-1:1)*Et)}else{var Hn=le.dataToPoint([Fn,In]);if(Ve){var Xn=le.dataToPoint([Fn,On]);Dn=Xn[1]}Vn=Hn[0]+vn,Mn=Dn,zn=hn,Kn=Hn[1]-Dn,Math.abs(Kn)<Et&&(Kn=(Kn<=0?-1:1)*Et)}qe?(Sn[An]=Vn,Sn[An+1]=Mn,Sn[An+2]=ze?zn:Kn,En&&(En[An]=ze?Tn.x:Vn,En[An+1]=ze?Mn:Tn.y,En[An+2]=kn),wn[xn]=xn):bn.setItemLayout(xn,{x:Vn,y:Mn,width:zn,height:Kn}),An+=3}qe&&bn.setLayout({largePoints:Sn,largeDataIndices:wn,largeBackgroundPoints:En,valueAxisHorizontal:ze})}}}}}}function isOnCartesian($){return $.coordinateSystem&&$.coordinateSystem.type==="cartesian2d"}function isInLargeMode($){return $.pipelineContext&&$.pipelineContext.large}function getValueAxisStart($,z){return z.toGlobalCoord(z.dataToCoord(z.type==="log"?1:0))}var bisect=function($,z,ie,le){for(;ie<le;){var ue=ie+le>>>1;$[ue][1]<z?ie=ue+1:le=ue}return ie},TimeScale=function($){__extends(z,$);function z(ie){var le=$.call(this,ie)||this;return le.type="time",le}return z.prototype.getLabel=function(ie){var le=this.getSetting("useUTC");return format$1(ie.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,le,this.getSetting("locale"))},z.prototype.getFormattedLabel=function(ie,le,ue){var pe=this.getSetting("useUTC"),_e=this.getSetting("locale");return leveledFormat(ie,le,ue,_e,pe)},z.prototype.getTicks=function(){var ie=this._interval,le=this._extent,ue=[];if(!ie)return ue;ue.push({value:le[0],level:0});var pe=this.getSetting("useUTC"),_e=getIntervalTicks(this._minLevelUnit,this._approxInterval,pe,le);return ue=ue.concat(_e),ue.push({value:le[1],level:0}),ue},z.prototype.calcNiceExtent=function(ie){var le=this._extent;if(le[0]===le[1]&&(le[0]-=ONE_DAY,le[1]+=ONE_DAY),le[1]===-1/0&&le[0]===1/0){var ue=new Date;le[1]=+new Date(ue.getFullYear(),ue.getMonth(),ue.getDate()),le[0]=le[1]-ONE_DAY}this.calcNiceTicks(ie.splitNumber,ie.minInterval,ie.maxInterval)},z.prototype.calcNiceTicks=function(ie,le,ue){ie=ie||10;var pe=this._extent,_e=pe[1]-pe[0];this._approxInterval=_e/ie,le!=null&&this._approxInterval<le&&(this._approxInterval=le),ue!=null&&this._approxInterval>ue&&(this._approxInterval=ue);var Ce=scaleIntervals.length,$e=Math.min(bisect(scaleIntervals,this._approxInterval,0,Ce),Ce-1);this._interval=scaleIntervals[$e][1],this._minLevelUnit=scaleIntervals[Math.max($e-1,0)][0]},z.prototype.parse=function(ie){return isNumber(ie)?ie:+parseDate(ie)},z.prototype.contain=function(ie){return contain$1(this.parse(ie),this._extent)},z.prototype.normalize=function(ie){return normalize(this.parse(ie),this._extent)},z.prototype.scale=function(ie){return scale(ie,this._extent)},z.type="time",z}(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($,z,ie,le){var ue=parseDate(z),pe=parseDate(ie),_e=function(qe){return getUnitValue(ue,qe,le)===getUnitValue(pe,qe,le)},Ce=function(){return _e("year")},$e=function(){return Ce()&&_e("month")},xe=function(){return $e()&&_e("day")},Ie=function(){return xe()&&_e("hour")},Ve=function(){return Ie()&&_e("minute")},ze=function(){return Ve()&&_e("second")},Ue=function(){return ze()&&_e("millisecond")};switch($){case"year":return Ce();case"month":return $e();case"day":return xe();case"hour":return Ie();case"minute":return Ve();case"second":return ze();case"millisecond":return Ue()}}function getDateInterval($,z){return $/=ONE_DAY,$>16?16:$>7.5?7:$>3.5?4:$>1.5?2:1}function getMonthInterval($){var z=30*ONE_DAY;return $/=z,$>6?6:$>3?3:$>2?2:1}function getHourInterval($){return $/=ONE_HOUR,$>12?12:$>6?6:$>3.5?4:$>2?2:1}function getMinutesAndSecondsInterval($,z){return $/=z?ONE_MINUTE:ONE_SECOND,$>30?30:$>20?20:$>15?15:$>10?10:$>5?5:$>2?2:1}function getMillisecondsInterval($){return nice($,!0)}function getFirstTimestampOfUnit($,z,ie){var le=new Date($);switch(getPrimaryTimeUnit(z)){case"year":case"month":le[monthSetterName(ie)](0);case"day":le[dateSetterName(ie)](1);case"hour":le[hoursSetterName(ie)](0);case"minute":le[minutesSetterName(ie)](0);case"second":le[secondsSetterName(ie)](0),le[millisecondsSetterName(ie)](0)}return le.getTime()}function getIntervalTicks($,z,ie,le){var ue=1e4,pe=timeUnits,_e=0;function Ce(kn,xn,Pn,An,In,Fn,Dn){for(var On=new Date(xn),Vn=xn,Mn=On[An]();Vn<Pn&&Vn<=le[1];)Dn.push({value:Vn}),Mn+=kn,On[In](Mn),Vn=On.getTime();Dn.push({value:Vn,notAdd:!0})}function $e(kn,xn,Pn){var An=[],In=!xn.length;if(!isUnitValueSame(getPrimaryTimeUnit(kn),le[0],le[1],ie)){In&&(xn=[{value:getFirstTimestampOfUnit(new Date(le[0]),kn,ie)},{value:le[1]}]);for(var Fn=0;Fn<xn.length-1;Fn++){var Dn=xn[Fn].value,On=xn[Fn+1].value;if(Dn!==On){var Vn=void 0,Mn=void 0,zn=void 0,Kn=!1;switch(kn){case"year":Vn=Math.max(1,Math.round(z/ONE_DAY/365)),Mn=fullYearGetterName(ie),zn=fullYearSetterName(ie);break;case"half-year":case"quarter":case"month":Vn=getMonthInterval(z),Mn=monthGetterName(ie),zn=monthSetterName(ie);break;case"week":case"half-week":case"day":Vn=getDateInterval(z),Mn=dateGetterName(ie),zn=dateSetterName(ie),Kn=!0;break;case"half-day":case"quarter-day":case"hour":Vn=getHourInterval(z),Mn=hoursGetterName(ie),zn=hoursSetterName(ie);break;case"minute":Vn=getMinutesAndSecondsInterval(z,!0),Mn=minutesGetterName(ie),zn=minutesSetterName(ie);break;case"second":Vn=getMinutesAndSecondsInterval(z,!1),Mn=secondsGetterName(ie),zn=secondsSetterName(ie);break;case"millisecond":Vn=getMillisecondsInterval(z),Mn=millisecondsGetterName(ie),zn=millisecondsSetterName(ie);break}Ce(Vn,Dn,On,Mn,zn,Kn,An),kn==="year"&&Pn.length>1&&Fn===0&&Pn.unshift({value:Pn[0].value-Vn})}}for(var Fn=0;Fn<An.length;Fn++)Pn.push(An[Fn]);return An}}for(var xe=[],Ie=[],Ve=0,ze=0,Ue=0;Ue<pe.length&&_e++<ue;++Ue){var qe=getPrimaryTimeUnit(pe[Ue]);if(isPrimaryTimeUnit(pe[Ue])){$e(pe[Ue],xe[xe.length-1]||[],Ie);var Et=pe[Ue+1]?getPrimaryTimeUnit(pe[Ue+1]):null;if(qe!==Et){if(Ie.length){ze=Ve,Ie.sort(function(kn,xn){return kn.value-xn.value});for(var Lt=[],hn=0;hn<Ie.length;++hn){var vn=Ie[hn].value;(hn===0||Ie[hn-1].value!==vn)&&(Lt.push(Ie[hn]),vn>=le[0]&&vn<=le[1]&&Ve++)}var _n=(le[1]-le[0])/z;if(Ve>_n*1.5&&ze>_n/1.5||(xe.push(Lt),Ve>_n||$===pe[Ue]))break}Ie=[]}}}for(var bn=filter(map$2(xe,function(kn){return filter(kn,function(xn){return xn.value>=le[0]&&xn.value<=le[1]&&!xn.notAdd})}),function(kn){return kn.length>0}),Cn=[],Sn=bn.length-1,Ue=0;Ue<bn.length;++Ue)for(var En=bn[Ue],wn=0;wn<En.length;++wn)Cn.push({value:En[wn].value,level:Sn-Ue});Cn.sort(function(kn,xn){return kn.value-xn.value});for(var Tn=[],Ue=0;Ue<Cn.length;++Ue)(Ue===0||Cn[Ue].value!==Cn[Ue-1].value)&&Tn.push(Cn[Ue]);return Tn}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($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type="log",ie.base=10,ie._originalScale=new IntervalScale$1,ie._interval=0,ie}return z.prototype.getTicks=function(ie){var le=this._originalScale,ue=this._extent,pe=le.getExtent(),_e=intervalScaleProto.getTicks.call(this,ie);return map$2(_e,function(Ce){var $e=Ce.value,xe=round$1(mathPow$1(this.base,$e));return xe=$e===ue[0]&&this._fixMin?fixRoundingError(xe,pe[0]):xe,xe=$e===ue[1]&&this._fixMax?fixRoundingError(xe,pe[1]):xe,{value:xe}},this)},z.prototype.setExtent=function(ie,le){var ue=mathLog$1(this.base);ie=mathLog$1(Math.max(0,ie))/ue,le=mathLog$1(Math.max(0,le))/ue,intervalScaleProto.setExtent.call(this,ie,le)},z.prototype.getExtent=function(){var ie=this.base,le=scaleProto.getExtent.call(this);le[0]=mathPow$1(ie,le[0]),le[1]=mathPow$1(ie,le[1]);var ue=this._originalScale,pe=ue.getExtent();return this._fixMin&&(le[0]=fixRoundingError(le[0],pe[0])),this._fixMax&&(le[1]=fixRoundingError(le[1],pe[1])),le},z.prototype.unionExtent=function(ie){this._originalScale.unionExtent(ie);var le=this.base;ie[0]=mathLog$1(ie[0])/mathLog$1(le),ie[1]=mathLog$1(ie[1])/mathLog$1(le),scaleProto.unionExtent.call(this,ie)},z.prototype.unionExtentFromData=function(ie,le){this.unionExtent(ie.getApproximateExtent(le))},z.prototype.calcNiceTicks=function(ie){ie=ie||10;var le=this._extent,ue=le[1]-le[0];if(!(ue===1/0||ue<=0)){var pe=quantity(ue),_e=ie/ue*pe;for(_e<=.5&&(pe*=10);!isNaN(pe)&&Math.abs(pe)<1&&Math.abs(pe)>0;)pe*=10;var Ce=[round$1(mathCeil(le[0]/pe)*pe),round$1(mathFloor(le[1]/pe)*pe)];this._interval=pe,this._niceExtent=Ce}},z.prototype.calcNiceExtent=function(ie){intervalScaleProto.calcNiceExtent.call(this,ie),this._fixMin=ie.fixMin,this._fixMax=ie.fixMax},z.prototype.parse=function(ie){return ie},z.prototype.contain=function(ie){return ie=mathLog$1(ie)/mathLog$1(this.base),contain$1(ie,this._extent)},z.prototype.normalize=function(ie){return ie=mathLog$1(ie)/mathLog$1(this.base),normalize(ie,this._extent)},z.prototype.scale=function(ie){return ie=scale(ie,this._extent),mathPow$1(this.base,ie)},z.type="log",z}(Scale$1),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError($,z){return roundingErrorFix($,getPrecision(z))}Scale$1.registerClass(LogScale);const LogScale$1=LogScale;var ScaleRawExtentInfo=function(){function $(z,ie,le){this._prepareParams(z,ie,le)}return $.prototype._prepareParams=function(z,ie,le){le[1]<le[0]&&(le=[NaN,NaN]),this._dataMin=le[0],this._dataMax=le[1];var ue=this._isOrdinal=z.type==="ordinal";this._needCrossZero=z.type==="interval"&&ie.getNeedCrossZero&&ie.getNeedCrossZero();var pe=this._modelMinRaw=ie.get("min",!0);isFunction(pe)?this._modelMinNum=parseAxisModelMinMax(z,pe({min:le[0],max:le[1]})):pe!=="dataMin"&&(this._modelMinNum=parseAxisModelMinMax(z,pe));var _e=this._modelMaxRaw=ie.get("max",!0);if(isFunction(_e)?this._modelMaxNum=parseAxisModelMinMax(z,_e({min:le[0],max:le[1]})):_e!=="dataMax"&&(this._modelMaxNum=parseAxisModelMinMax(z,_e)),ue)this._axisDataLen=ie.getCategories().length;else{var Ce=ie.get("boundaryGap"),$e=isArray$1(Ce)?Ce:[Ce||0,Ce||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)]}},$.prototype.calculate=function(){var z=this._isOrdinal,ie=this._dataMin,le=this._dataMax,ue=this._axisDataLen,pe=this._boundaryGapInner,_e=z?null:le-ie||Math.abs(ie),Ce=this._modelMinRaw==="dataMin"?ie:this._modelMinNum,$e=this._modelMaxRaw==="dataMax"?le:this._modelMaxNum,xe=Ce!=null,Ie=$e!=null;Ce==null&&(Ce=z?ue?0:NaN:ie-pe[0]*_e),$e==null&&($e=z?ue?ue-1:NaN:le+pe[1]*_e),(Ce==null||!isFinite(Ce))&&(Ce=NaN),($e==null||!isFinite($e))&&($e=NaN);var Ve=eqNaN(Ce)||eqNaN($e)||z&&!ue;this._needCrossZero&&(Ce>0&&$e>0&&!xe&&(Ce=0),Ce<0&&$e<0&&!Ie&&($e=0));var ze=this._determinedMin,Ue=this._determinedMax;return ze!=null&&(Ce=ze,xe=!0),Ue!=null&&($e=Ue,Ie=!0),{min:Ce,max:$e,minFixed:xe,maxFixed:Ie,isBlank:Ve}},$.prototype.modifyDataMinMax=function(z,ie){this[DATA_MIN_MAX_ATTR[z]]=ie},$.prototype.setDeterminedMinMax=function(z,ie){var le=DETERMINED_MIN_MAX_ATTR[z];this[le]=ie},$.prototype.freeze=function(){this.frozen=!0},$}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo($,z,ie){var le=$.rawExtentInfo;return le||(le=new ScaleRawExtentInfo($,z,ie),$.rawExtentInfo=le,le)}function parseAxisModelMinMax($,z){return z==null?null:eqNaN(z)?NaN:$.parse(z)}function getScaleExtent($,z){var ie=$.type,le=ensureScaleRawExtentInfo($,z,$.getExtent()).calculate();$.setBlank(le.isBlank);var ue=le.min,pe=le.max,_e=z.ecModel;if(_e&&ie==="time"){var Ce=prepareLayoutBarSeries("bar",_e),$e=!1;if(each$c(Ce,function(Ve){$e=$e||Ve.getBaseAxis()===z.axis}),$e){var xe=makeColumnLayout(Ce),Ie=adjustScaleForOverflow(ue,pe,z,xe);ue=Ie.min,pe=Ie.max}}return{extent:[ue,pe],fixMin:le.minFixed,fixMax:le.maxFixed}}function adjustScaleForOverflow($,z,ie,le){var ue=ie.axis.getExtent(),pe=ue[1]-ue[0],_e=retrieveColumnLayout(le,ie.axis);if(_e===void 0)return{min:$,max:z};var Ce=1/0;each$c(_e,function(Ue){Ce=Math.min(Ue.offset,Ce)});var $e=-1/0;each$c(_e,function(Ue){$e=Math.max(Ue.offset+Ue.width,$e)}),Ce=Math.abs(Ce),$e=Math.abs($e);var xe=Ce+$e,Ie=z-$,Ve=1-(Ce+$e)/pe,ze=Ie/Ve-Ie;return z+=ze*($e/xe),$-=ze*(Ce/xe),{min:$,max:z}}function niceScaleExtent($,z){var ie=z,le=getScaleExtent($,ie),ue=le.extent,pe=ie.get("splitNumber");$ instanceof LogScale$1&&($.base=ie.get("logBase"));var _e=$.type,Ce=ie.get("interval"),$e=_e==="interval"||_e==="time";$.setExtent(ue[0],ue[1]),$.calcNiceExtent({splitNumber:pe,fixMin:le.fixMin,fixMax:le.fixMax,minInterval:$e?ie.get("minInterval"):null,maxInterval:$e?ie.get("maxInterval"):null}),Ce!=null&&$.setInterval&&$.setInterval(Ce)}function createScaleByModel($,z){if(z=z||$.get("type"),z)switch(z){case"category":return new OrdinalScale$1({ordinalMeta:$.getOrdinalMeta?$.getOrdinalMeta():$.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale$1({locale:$.ecModel.getLocaleModel(),useUTC:$.ecModel.get("useUTC")});default:return new(Scale$1.getClass(z)||IntervalScale$1)}}function ifAxisCrossZero($){var z=$.scale.getExtent(),ie=z[0],le=z[1];return!(ie>0&&le>0||ie<0&&le<0)}function makeLabelFormatter($){var z=$.getLabelModel().get("formatter"),ie=$.type==="category"?$.scale.getExtent()[0]:null;return $.scale.type==="time"?function(le){return function(ue,pe){return $.scale.getFormattedLabel(ue,pe,le)}}(z):isString(z)?function(le){return function(ue){var pe=$.scale.getLabel(ue),_e=le.replace("{value}",pe??"");return _e}}(z):isFunction(z)?function(le){return function(ue,pe){return ie!=null&&(pe=ue.value-ie),le(getAxisRawValue($,ue),pe,ue.level!=null?{level:ue.level}:null)}}(z):function(le){return $.scale.getLabel(le)}}function getAxisRawValue($,z){return $.type==="category"?$.scale.getLabel(z):z.value}function estimateLabelUnionRect($){var z=$.model,ie=$.scale;if(!(!z.get(["axisLabel","show"])||ie.isBlank())){var le,ue,pe=ie.getExtent();ie instanceof OrdinalScale$1?ue=ie.count():(le=ie.getTicks(),ue=le.length);var _e=$.getLabelModel(),Ce=makeLabelFormatter($),$e,xe=1;ue>40&&(xe=Math.ceil(ue/40));for(var Ie=0;Ie<ue;Ie+=xe){var Ve=le?le[Ie]:{value:pe[0]+Ie},ze=Ce(Ve,Ie),Ue=_e.getTextRect(ze),qe=rotateTextRect(Ue,_e.get("rotate")||0);$e?$e.union(qe):$e=qe}return $e}}function rotateTextRect($,z){var ie=z*Math.PI/180,le=$.width,ue=$.height,pe=le*Math.abs(Math.cos(ie))+Math.abs(ue*Math.sin(ie)),_e=le*Math.abs(Math.sin(ie))+Math.abs(ue*Math.cos(ie)),Ce=new BoundingRect$1($.x,$.y,pe,_e);return Ce}function getOptionCategoryInterval($){var z=$.get("interval");return z??"auto"}function shouldShowAllLabels($){return $.type==="category"&&getOptionCategoryInterval($.getLabelModel())===0}function getDataDimensionsOnAxis($,z){var ie={};return each$c($.mapDimensionsAll(z),function(le){ie[getStackedDimension($,le)]=!0}),keys(ie)}function unionAxisExtentFromData($,z,ie){z&&each$c(getDataDimensionsOnAxis(z,ie),function(le){var ue=z.getApproximateExtent(le);ue[0]<$[0]&&($[0]=ue[0]),ue[1]>$[1]&&($[1]=ue[1])})}var AxisModelCommonMixin=function(){function $(){}return $.prototype.getNeedCrossZero=function(){var z=this.option;return!z.scale},$.prototype.getCoordSysModel=function(){},$}();function createList($){return createSeriesData(null,$)}var dataStack={isDimensionStacked,enableDataStack,getStackedDimension};function createScale($,z){var ie=z;z instanceof Model$1||(ie=new Model$1(z));var le=createScaleByModel(ie);return le.setExtent($[0],$[1]),niceScaleExtent(le,ie),le}function mixinAxisModelCommonMethods($){mixin($,AxisModelCommonMixin)}function createTextStyle($,z){return z=z||{},createTextStyle$1($,null,null,z.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($){ComponentModel$1.registerClass($)},registerComponentView:function($){ComponentView$1.registerClass($)},registerSeriesModel:function($){SeriesModel$1.registerClass($)},registerChartView:function($){ChartView$1.registerClass($)},registerSubTypeDefaulter:function($,z){ComponentModel$1.registerSubTypeDefaulter($,z)},registerPainter:function($,z){registerPainter($,z)}};function use$1($){if(isArray$1($)){each$c($,function(z){use$1(z)});return}indexOf(extensions,$)>=0||(extensions.push($),isFunction($)&&($={install:$}),$.install(extensionRegisters))}var EPSILON=1e-8;function isAroundEqual($,z){return Math.abs($-z)<EPSILON}function contain($,z,ie){var le=0,ue=$[0];if(!ue)return!1;for(var pe=1;pe<$.length;pe++){var _e=$[pe];le+=windingLine(ue[0],ue[1],_e[0],_e[1],z,ie),ue=_e}var Ce=$[0];return(!isAroundEqual(ue[0],Ce[0])||!isAroundEqual(ue[1],Ce[1]))&&(le+=windingLine(ue[0],ue[1],Ce[0],Ce[1],z,ie)),le!==0}var TMP_TRANSFORM=[];function transformPoints($,z){for(var ie=0;ie<$.length;ie++)applyTransform$1($[ie],$[ie],z)}function updateBBoxFromPoints($,z,ie,le){for(var ue=0;ue<$.length;ue++){var pe=$[ue];le&&(pe=le.project(pe)),pe&&isFinite(pe[0])&&isFinite(pe[1])&&(min$1(z,z,pe),max$1(ie,ie,pe))}}function centroid($){for(var z=0,ie=0,le=0,ue=$.length,pe=$[ue-1][0],_e=$[ue-1][1],Ce=0;Ce<ue;Ce++){var $e=$[Ce][0],xe=$[Ce][1],Ie=pe*xe-$e*_e;z+=Ie,ie+=(pe+$e)*Ie,le+=(_e+xe)*Ie,pe=$e,_e=xe}return z?[ie/z/3,le/z/3,z]:[$[0][0]||0,$[0][1]||0]}var Region=function(){function $(z){this.name=z}return $.prototype.setCenter=function(z){this._center=z},$.prototype.getCenter=function(){var z=this._center;return z||(z=this._center=this.calcCenter()),z},$}(),GeoJSONPolygonGeometry=function(){function $(z,ie){this.type="polygon",this.exterior=z,this.interiors=ie}return $}(),GeoJSONLineStringGeometry=function(){function $(z){this.type="linestring",this.points=z}return $}(),GeoJSONRegion=function($){__extends(z,$);function z(ie,le,ue){var pe=$.call(this,ie)||this;return pe.type="geoJSON",pe.geometries=le,pe._center=ue&&[ue[0],ue[1]],pe}return z.prototype.calcCenter=function(){for(var ie=this.geometries,le,ue=0,pe=0;pe<ie.length;pe++){var _e=ie[pe],Ce=_e.exterior,$e=Ce&&Ce.length;$e>ue&&(le=_e,ue=$e)}if(le)return centroid(le.exterior);var xe=this.getBoundingRect();return[xe.x+xe.width/2,xe.y+xe.height/2]},z.prototype.getBoundingRect=function(ie){var le=this._rect;if(le&&!ie)return le;var ue=[1/0,1/0],pe=[-1/0,-1/0],_e=this.geometries;return each$c(_e,function(Ce){Ce.type==="polygon"?updateBBoxFromPoints(Ce.exterior,ue,pe,ie):each$c(Ce.points,function($e){updateBBoxFromPoints($e,ue,pe,ie)})}),isFinite(ue[0])&&isFinite(ue[1])&&isFinite(pe[0])&&isFinite(pe[1])||(ue[0]=ue[1]=pe[0]=pe[1]=0),le=new BoundingRect$1(ue[0],ue[1],pe[0]-ue[0],pe[1]-ue[1]),ie||(this._rect=le),le},z.prototype.contain=function(ie){var le=this.getBoundingRect(),ue=this.geometries;if(!le.contain(ie[0],ie[1]))return!1;e:for(var pe=0,_e=ue.length;pe<_e;pe++){var Ce=ue[pe];if(Ce.type==="polygon"){var $e=Ce.exterior,xe=Ce.interiors;if(contain($e,ie[0],ie[1])){for(var Ie=0;Ie<(xe?xe.length:0);Ie++)if(contain(xe[Ie],ie[0],ie[1]))continue e;return!0}}}return!1},z.prototype.transformTo=function(ie,le,ue,pe){var _e=this.getBoundingRect(),Ce=_e.width/_e.height;ue?pe||(pe=ue/Ce):ue=Ce*pe;for(var $e=new BoundingRect$1(ie,le,ue,pe),xe=_e.calculateTransform($e),Ie=this.geometries,Ve=0;Ve<Ie.length;Ve++){var ze=Ie[Ve];ze.type==="polygon"?(transformPoints(ze.exterior,xe),each$c(ze.interiors,function(Ue){transformPoints(Ue,xe)})):each$c(ze.points,function(Ue){transformPoints(Ue,xe)})}_e=this._rect,_e.copy($e),this._center=[_e.x+_e.width/2,_e.y+_e.height/2]},z.prototype.cloneShallow=function(ie){ie==null&&(ie=this.name);var le=new z(ie,this.geometries,this._center);return le._rect=this._rect,le.transformTo=null,le},z}(Region);(function($){__extends(z,$);function z(ie,le){var ue=$.call(this,ie)||this;return ue.type="geoSVG",ue._elOnlyForCalculate=le,ue}return z.prototype.calcCenter=function(){for(var ie=this._elOnlyForCalculate,le=ie.getBoundingRect(),ue=[le.x+le.width/2,le.y+le.height/2],pe=identity(TMP_TRANSFORM),_e=ie;_e&&!_e.isGeoSVGGraphicRoot;)mul(pe,_e.getLocalTransform(),pe),_e=_e.parent;return invert(pe,pe),applyTransform$1(ue,ue,pe),ue},z})(Region);function decode($){if(!$.UTF8Encoding)return $;var z=$,ie=z.UTF8Scale;ie==null&&(ie=1024);var le=z.features;return each$c(le,function(ue){var pe=ue.geometry,_e=pe.encodeOffsets,Ce=pe.coordinates;if(_e)switch(pe.type){case"LineString":pe.coordinates=decodeRing(Ce,_e,ie);break;case"Polygon":decodeRings(Ce,_e,ie);break;case"MultiLineString":decodeRings(Ce,_e,ie);break;case"MultiPolygon":each$c(Ce,function($e,xe){return decodeRings($e,_e[xe],ie)})}}),z.UTF8Encoding=!1,z}function decodeRings($,z,ie){for(var le=0;le<$.length;le++)$[le]=decodeRing($[le],z[le],ie)}function decodeRing($,z,ie){for(var le=[],ue=z[0],pe=z[1],_e=0;_e<$.length;_e+=2){var Ce=$.charCodeAt(_e)-64,$e=$.charCodeAt(_e+1)-64;Ce=Ce>>1^-(Ce&1),$e=$e>>1^-($e&1),Ce+=ue,$e+=pe,ue=Ce,pe=$e,le.push([Ce/ie,$e/ie])}return le}function parseGeoJSON($,z){return $=decode($),map$2(filter($.features,function(ie){return ie.geometry&&ie.properties&&ie.geometry.coordinates.length>0}),function(ie){var le=ie.properties,ue=ie.geometry,pe=[];switch(ue.type){case"Polygon":var _e=ue.coordinates;pe.push(new GeoJSONPolygonGeometry(_e[0],_e.slice(1)));break;case"MultiPolygon":each$c(ue.coordinates,function($e){$e[0]&&pe.push(new GeoJSONPolygonGeometry($e[0],$e.slice(1)))});break;case"LineString":pe.push(new GeoJSONLineStringGeometry([ue.coordinates]));break;case"MultiLineString":pe.push(new GeoJSONLineStringGeometry(ue.coordinates))}var Ce=new GeoJSONRegion(le[z||"name"],pe,le.cp);return Ce.properties=le,Ce})}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($){return $.type==="category"?makeCategoryLabels($):makeRealNumberLabels($)}function createAxisTicks($,z){return $.type==="category"?makeCategoryTicks($,z):{ticks:map$2($.scale.getTicks(),function(ie){return ie.value})}}function makeCategoryLabels($){var z=$.getLabelModel(),ie=makeCategoryLabelsActually($,z);return!z.get("show")||$.scale.isBlank()?{labels:[],labelCategoryInterval:ie.labelCategoryInterval}:ie}function makeCategoryLabelsActually($,z){var ie=getListCache($,"labels"),le=getOptionCategoryInterval(z),ue=listCacheGet(ie,le);if(ue)return ue;var pe,_e;return isFunction(le)?pe=makeLabelsByCustomizedCategoryInterval($,le):(_e=le==="auto"?makeAutoCategoryInterval($):le,pe=makeLabelsByNumericCategoryInterval($,_e)),listCacheSet(ie,le,{labels:pe,labelCategoryInterval:_e})}function makeCategoryTicks($,z){var ie=getListCache($,"ticks"),le=getOptionCategoryInterval(z),ue=listCacheGet(ie,le);if(ue)return ue;var pe,_e;if((!z.get("show")||$.scale.isBlank())&&(pe=[]),isFunction(le))pe=makeLabelsByCustomizedCategoryInterval($,le,!0);else if(le==="auto"){var Ce=makeCategoryLabelsActually($,$.getLabelModel());_e=Ce.labelCategoryInterval,pe=map$2(Ce.labels,function($e){return $e.tickValue})}else _e=le,pe=makeLabelsByNumericCategoryInterval($,_e,!0);return listCacheSet(ie,le,{ticks:pe,tickCategoryInterval:_e})}function makeRealNumberLabels($){var z=$.scale.getTicks(),ie=makeLabelFormatter($);return{labels:map$2(z,function(le,ue){return{level:le.level,formattedLabel:ie(le,ue),rawLabel:$.scale.getLabel(le),tickValue:le.value}})}}function getListCache($,z){return inner$7($)[z]||(inner$7($)[z]=[])}function listCacheGet($,z){for(var ie=0;ie<$.length;ie++)if($[ie].key===z)return $[ie].value}function listCacheSet($,z,ie){return $.push({key:z,value:ie}),ie}function makeAutoCategoryInterval($){var z=inner$7($).autoInterval;return z??(inner$7($).autoInterval=$.calculateCategoryInterval())}function calculateCategoryInterval($){var z=fetchAutoCategoryIntervalCalculationParams($),ie=makeLabelFormatter($),le=(z.axisRotate-z.labelRotate)/180*Math.PI,ue=$.scale,pe=ue.getExtent(),_e=ue.count();if(pe[1]-pe[0]<1)return 0;var Ce=1;_e>40&&(Ce=Math.max(1,Math.floor(_e/40)));for(var $e=pe[0],xe=$.dataToCoord($e+1)-$.dataToCoord($e),Ie=Math.abs(xe*Math.cos(le)),Ve=Math.abs(xe*Math.sin(le)),ze=0,Ue=0;$e<=pe[1];$e+=Ce){var qe=0,Et=0,Lt=getBoundingRect(ie({value:$e}),z.font,"center","top");qe=Lt.width*1.3,Et=Lt.height*1.3,ze=Math.max(ze,qe,7),Ue=Math.max(Ue,Et,7)}var hn=ze/Ie,vn=Ue/Ve;isNaN(hn)&&(hn=1/0),isNaN(vn)&&(vn=1/0);var _n=Math.max(0,Math.floor(Math.min(hn,vn))),bn=inner$7($.model),Cn=$.getExtent(),Sn=bn.lastAutoInterval,En=bn.lastTickCount;return Sn!=null&&En!=null&&Math.abs(Sn-_n)<=1&&Math.abs(En-_e)<=1&&Sn>_n&&bn.axisExtent0===Cn[0]&&bn.axisExtent1===Cn[1]?_n=Sn:(bn.lastTickCount=_e,bn.lastAutoInterval=_n,bn.axisExtent0=Cn[0],bn.axisExtent1=Cn[1]),_n}function fetchAutoCategoryIntervalCalculationParams($){var z=$.getLabelModel();return{axisRotate:$.getRotate?$.getRotate():$.isHorizontal&&!$.isHorizontal()?90:0,labelRotate:z.get("rotate")||0,font:z.getFont()}}function makeLabelsByNumericCategoryInterval($,z,ie){var le=makeLabelFormatter($),ue=$.scale,pe=ue.getExtent(),_e=$.getLabelModel(),Ce=[],$e=Math.max((z||0)+1,1),xe=pe[0],Ie=ue.count();xe!==0&&$e>1&&Ie/$e>2&&(xe=Math.round(Math.ceil(xe/$e)*$e));var Ve=shouldShowAllLabels($),ze=_e.get("showMinLabel")||Ve,Ue=_e.get("showMaxLabel")||Ve;ze&&xe!==pe[0]&&Et(pe[0]);for(var qe=xe;qe<=pe[1];qe+=$e)Et(qe);Ue&&qe-$e!==pe[1]&&Et(pe[1]);function Et(Lt){var hn={value:Lt};Ce.push(ie?Lt:{formattedLabel:le(hn),rawLabel:ue.getLabel(hn),tickValue:Lt})}return Ce}function makeLabelsByCustomizedCategoryInterval($,z,ie){var le=$.scale,ue=makeLabelFormatter($),pe=[];return each$c(le.getTicks(),function(_e){var Ce=le.getLabel(_e),$e=_e.value;z(_e.value,Ce)&&pe.push(ie?$e:{formattedLabel:ue(_e),rawLabel:Ce,tickValue:$e})}),pe}var NORMALIZED_EXTENT=[0,1],Axis=function(){function $(z,ie,le){this.onBand=!1,this.inverse=!1,this.dim=z,this.scale=ie,this._extent=le||[0,0]}return $.prototype.contain=function(z){var ie=this._extent,le=Math.min(ie[0],ie[1]),ue=Math.max(ie[0],ie[1]);return z>=le&&z<=ue},$.prototype.containData=function(z){return this.scale.contain(z)},$.prototype.getExtent=function(){return this._extent.slice()},$.prototype.getPixelPrecision=function(z){return getPixelPrecision(z||this.scale.getExtent(),this._extent)},$.prototype.setExtent=function(z,ie){var le=this._extent;le[0]=z,le[1]=ie},$.prototype.dataToCoord=function(z,ie){var le=this._extent,ue=this.scale;return z=ue.normalize(z),this.onBand&&ue.type==="ordinal"&&(le=le.slice(),fixExtentWithBands(le,ue.count())),linearMap$2(z,NORMALIZED_EXTENT,le,ie)},$.prototype.coordToData=function(z,ie){var le=this._extent,ue=this.scale;this.onBand&&ue.type==="ordinal"&&(le=le.slice(),fixExtentWithBands(le,ue.count()));var pe=linearMap$2(z,le,NORMALIZED_EXTENT,ie);return this.scale.scale(pe)},$.prototype.pointToData=function(z,ie){},$.prototype.getTicksCoords=function(z){z=z||{};var ie=z.tickModel||this.getTickModel(),le=createAxisTicks(this,ie),ue=le.ticks,pe=map$2(ue,function(Ce){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(Ce):Ce),tickValue:Ce}},this),_e=ie.get("alignWithLabel");return fixOnBandTicksCoords(this,pe,_e,z.clamp),pe},$.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var z=this.model.getModel("minorTick"),ie=z.get("splitNumber");ie>0&&ie<100||(ie=5);var le=this.scale.getMinorTicks(ie),ue=map$2(le,function(pe){return map$2(pe,function(_e){return{coord:this.dataToCoord(_e),tickValue:_e}},this)},this);return ue},$.prototype.getViewLabels=function(){return createAxisLabels(this).labels},$.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},$.prototype.getTickModel=function(){return this.model.getModel("axisTick")},$.prototype.getBandWidth=function(){var z=this._extent,ie=this.scale.getExtent(),le=ie[1]-ie[0]+(this.onBand?1:0);le===0&&(le=1);var ue=Math.abs(z[1]-z[0]);return Math.abs(ue)/le},$.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},$}();function fixExtentWithBands($,z){var ie=$[1]-$[0],le=z,ue=ie/le/2;$[0]+=ue,$[1]-=ue}function fixOnBandTicksCoords($,z,ie,le){var ue=z.length;if(!$.onBand||ie||!ue)return;var pe=$.getExtent(),_e,Ce;if(ue===1)z[0].coord=pe[0],_e=z[1]={coord:pe[0]};else{var $e=z[ue-1].tickValue-z[0].tickValue,xe=(z[ue-1].coord-z[0].coord)/$e;each$c(z,function(Ue){Ue.coord-=xe/2});var Ie=$.scale.getExtent();Ce=1+Ie[1]-z[ue-1].tickValue,_e={coord:z[ue-1].coord+xe*Ce},z.push(_e)}var Ve=pe[0]>pe[1];ze(z[0].coord,pe[0])&&(le?z[0].coord=pe[0]:z.shift()),le&&ze(pe[0],z[0].coord)&&z.unshift({coord:pe[0]}),ze(pe[1],_e.coord)&&(le?_e.coord=pe[1]:z.pop()),le&&ze(_e.coord,pe[1])&&z.push({coord:pe[1]});function ze(Ue,qe){return Ue=round$1(Ue),qe=round$1(qe),Ve?Ue>qe:Ue<qe}}const Axis$1=Axis;function extendComponentModel($){var z=ComponentModel$1.extend($);return ComponentModel$1.registerClass(z),z}function extendComponentView($){var z=ComponentView$1.extend($);return ComponentView$1.registerClass(z),z}function extendSeriesModel($){var z=SeriesModel$1.extend($);return SeriesModel$1.registerClass(z),z}function extendChartView($){var z=ChartView$1.extend($);return ChartView$1.registerClass(z),z}PathProxy$1.CMD;function projectPointToLine($,z,ie,le,ue,pe,_e,Ce){var $e=ue-$,xe=pe-z,Ie=ie-$,Ve=le-z,ze=Math.sqrt(Ie*Ie+Ve*Ve);Ie/=ze,Ve/=ze;var Ue=$e*Ie+xe*Ve,qe=Ue/ze;Ce&&(qe=Math.min(Math.max(qe,0),1)),qe*=ze;var Et=_e[0]=$+qe*Ie,Lt=_e[1]=z+qe*Ve;return Math.sqrt((Et-ue)*(Et-ue)+(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($,z){if(z<=180&&z>0){z=z/180*Math.PI,pt0.fromArray($[0]),pt1.fromArray($[1]),pt2.fromArray($[2]),Point$1.sub(dir,pt0,pt1),Point$1.sub(dir2,pt2,pt1);var ie=dir.len(),le=dir2.len();if(!(ie<.001||le<.001)){dir.scale(1/ie),dir2.scale(1/le);var ue=dir.dot(dir2),pe=Math.cos(z);if(pe<ue){var _e=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr),tmpProjPoint.scaleAndAdd(dir2,_e/Math.tan(Math.PI-z));var Ce=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(Ce))return;Ce<0?Point$1.copy(tmpProjPoint,pt1):Ce>1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray($[1])}}}}function limitSurfaceAngle($,z,ie){if(ie<=180&&ie>0){ie=ie/180*Math.PI,pt0.fromArray($[0]),pt1.fromArray($[1]),pt2.fromArray($[2]),Point$1.sub(dir,pt1,pt0),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 pe=dir.dot(z),_e=Math.cos(ie);if(pe<_e){var Ce=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr);var $e=Math.PI/2,xe=Math.acos(dir2.dot(z)),Ie=$e+xe-ie;if(Ie>=$e)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,Ce/Math.tan(Math.PI/2-Ie));var Ve=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(Ve))return;Ve<0?Point$1.copy(tmpProjPoint,pt1):Ve>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray($[1])}}}}function setLabelLineState($,z,ie,le){var ue=ie==="normal",pe=ue?$:$.ensureState(ie);pe.ignore=z;var _e=le.get("smooth");_e&&_e===!0&&(_e=.3),pe.shape=pe.shape||{},_e>0&&(pe.shape.smooth=_e);var Ce=le.getModel("lineStyle").getLineStyle();ue?$.useStyle(Ce):pe.style=Ce}function buildLabelLinePath($,z){var ie=z.smooth,le=z.points;if(le)if($.moveTo(le[0][0],le[0][1]),ie>0&&le.length>=3){var ue=dist$1(le[0],le[1]),pe=dist$1(le[1],le[2]);if(!ue||!pe){$.lineTo(le[1][0],le[1][1]),$.lineTo(le[2][0],le[2][1]);return}var _e=Math.min(ue,pe)*ie,Ce=lerp$1([],le[1],le[0],_e/ue),$e=lerp$1([],le[1],le[2],_e/pe),xe=lerp$1([],Ce,$e,.5);$.bezierCurveTo(Ce[0],Ce[1],Ce[0],Ce[1],xe[0],xe[1]),$.bezierCurveTo($e[0],$e[1],$e[0],$e[1],le[2][0],le[2][1])}else for(var Ie=1;Ie<le.length;Ie++)$.lineTo(le[Ie][0],le[Ie][1])}function setLabelLineStyle($,z,ie){var le=$.getTextGuideLine(),ue=$.getTextContent();if(!ue){le&&$.removeTextGuideLine();return}for(var pe=z.normal,_e=pe.get("show"),Ce=ue.ignore,$e=0;$e<DISPLAY_STATES.length;$e++){var xe=DISPLAY_STATES[$e],Ie=z[xe],Ve=xe==="normal";if(Ie){var ze=Ie.get("show"),Ue=Ve?Ce:retrieve2(ue.states[xe]&&ue.states[xe].ignore,Ce);if(Ue||!retrieve2(ze,_e)){var qe=Ve?le:le&&le.states[xe];qe&&(qe.ignore=!0);continue}le||(le=new Polyline$1,$.setTextGuideLine(le),!Ve&&(Ce||!_e)&&setLabelLineState(le,!0,"normal",z.normal),$.stateProxy&&(le.stateProxy=$.stateProxy)),setLabelLineState(le,!1,xe,Ie)}}if(le){defaults(le.style,ie),le.style.fill=null;var Et=pe.get("showAbove"),Lt=$.textGuideLineConfig=$.textGuideLineConfig||{};Lt.showAbove=Et||!1,le.buildPath=buildLabelLinePath}}function getLabelLineStatesModels($,z){z=z||"labelLine";for(var ie={normal:$.getModel(z)},le=0;le<SPECIAL_STATES.length;le++){var ue=SPECIAL_STATES[le];ie[ue]=$.getModel([ue,z])}return ie}function prepareLayoutList($){for(var z=[],ie=0;ie<$.length;ie++){var le=$[ie];if(!le.defaultAttr.ignore){var ue=le.label,pe=ue.getComputedTransform(),_e=ue.getBoundingRect(),Ce=!pe||pe[1]<1e-5&&pe[2]<1e-5,$e=ue.style.margin||0,xe=_e.clone();xe.applyTransform(pe),xe.x-=$e/2,xe.y-=$e/2,xe.width+=$e,xe.height+=$e;var Ie=Ce?new OrientedBoundingRect$1(_e,pe):null;z.push({label:ue,labelLine:le.labelLine,rect:xe,localRect:_e,obb:Ie,priority:le.priority,defaultAttr:le.defaultAttr,layoutOption:le.computedLayoutOption,axisAligned:Ce,transform:pe})}}return z}function shiftLayout($,z,ie,le,ue,pe){var _e=$.length;if(_e<2)return;$.sort(function(wn,Tn){return wn.rect[z]-Tn.rect[z]});for(var Ce=0,$e,xe=!1,Ie=0,Ve=0;Ve<_e;Ve++){var ze=$[Ve],Ue=ze.rect;$e=Ue[z]-Ce,$e<0&&(Ue[z]-=$e,ze.label[z]-=$e,xe=!0);var qe=Math.max(-$e,0);Ie+=qe,Ce=Ue[z]+Ue[ie]}Ie>0&&pe&&Cn(-Ie/_e,0,_e);var Et=$[0],Lt=$[_e-1],hn,vn;_n(),hn<0&&Sn(-hn,.8),vn<0&&Sn(vn,.8),_n(),bn(hn,vn,1),bn(vn,hn,-1),_n(),hn<0&&En(-hn),vn<0&&En(vn);function _n(){hn=Et.rect[z]-le,vn=ue-Lt.rect[z]-Lt.rect[ie]}function bn(wn,Tn,kn){if(wn<0){var xn=Math.min(Tn,-wn);if(xn>0){Cn(xn*kn,0,_e);var Pn=xn+wn;Pn<0&&Sn(-Pn*kn,1)}else Sn(-wn*kn,1)}}function Cn(wn,Tn,kn){wn!==0&&(xe=!0);for(var xn=Tn;xn<kn;xn++){var Pn=$[xn],An=Pn.rect;An[z]+=wn,Pn.label[z]+=wn}}function Sn(wn,Tn){for(var kn=[],xn=0,Pn=1;Pn<_e;Pn++){var An=$[Pn-1].rect,In=Math.max($[Pn].rect[z]-An[z]-An[ie],0);kn.push(In),xn+=In}if(xn){var Fn=Math.min(Math.abs(wn)/xn,Tn);if(wn>0)for(var Pn=0;Pn<_e-1;Pn++){var Dn=kn[Pn]*Fn;Cn(Dn,0,Pn+1)}else for(var Pn=_e-1;Pn>0;Pn--){var Dn=kn[Pn-1]*Fn;Cn(-Dn,Pn,_e)}}}function En(wn){var Tn=wn<0?-1:1;wn=Math.abs(wn);for(var kn=Math.ceil(wn/(_e-1)),xn=0;xn<_e-1;xn++)if(Tn>0?Cn(kn,0,xn+1):Cn(-kn,_e-xn-1,_e),wn-=kn,wn<=0)return}return xe}function shiftLayoutOnY($,z,ie,le){return shiftLayout($,"y","height",z,ie,le)}function hideOverlap($){var z=[];$.sort(function(Et,Lt){return Lt.priority-Et.priority});var ie=new BoundingRect$1(0,0,0,0);function le(Et){if(!Et.ignore){var Lt=Et.ensureState("emphasis");Lt.ignore==null&&(Lt.ignore=!1)}Et.ignore=!0}for(var ue=0;ue<$.length;ue++){var pe=$[ue],_e=pe.axisAligned,Ce=pe.localRect,$e=pe.transform,xe=pe.label,Ie=pe.labelLine;ie.copy(pe.rect),ie.width-=.1,ie.height-=.1,ie.x+=.05,ie.y+=.05;for(var Ve=pe.obb,ze=!1,Ue=0;Ue<z.length;Ue++){var qe=z[Ue];if(ie.intersect(qe.rect)){if(_e&&qe.axisAligned){ze=!0;break}if(qe.obb||(qe.obb=new OrientedBoundingRect$1(qe.localRect,qe.transform)),Ve||(Ve=new OrientedBoundingRect$1(Ce,$e)),Ve.intersect(qe.obb)){ze=!0;break}}}ze?(le(xe),Ie&&le(Ie)):(xe.attr("ignore",pe.defaultAttr.ignore),Ie&&Ie.attr("ignore",pe.defaultAttr.labelGuideIgnore),z.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($,z,ie){var le=platformApi.createCanvas(),ue=z.getWidth(),pe=z.getHeight(),_e=le.style;return _e&&(_e.position="absolute",_e.left="0",_e.top="0",_e.width=ue+"px",_e.height=pe+"px",le.setAttribute("data-zr-dom-id",$)),le.width=ue*ie,le.height=pe*ie,le}var Layer=function($){__extends(z,$);function z(ie,le,ue){var pe=$.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 _e;ue=ue||devicePixelRatio,typeof ie=="string"?_e=createDom(ie,le,ue):isObject$3(ie)&&(_e=ie,ie=_e.id),pe.id=ie,pe.dom=_e;var Ce=_e.style;return Ce&&(disableUserSelect(_e),_e.onselectstart=function(){return!1},Ce.padding="0",Ce.margin="0",Ce.borderWidth="0"),pe.painter=le,pe.dpr=ue,pe}return z.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},z.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},z.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},z.prototype.setUnpainted=function(){this.__firstTimePaint=!0},z.prototype.createBackBuffer=function(){var ie=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,ie),this.ctxBack=this.domBack.getContext("2d"),ie!==1&&this.ctxBack.scale(ie,ie)},z.prototype.createRepaintRects=function(ie,le,ue,pe){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var _e=[],Ce=this.maxRepaintRectCount,$e=!1,xe=new BoundingRect$1(0,0,0,0);function Ie(vn){if(!(!vn.isFinite()||vn.isZero()))if(_e.length===0){var _n=new BoundingRect$1(0,0,0,0);_n.copy(vn),_e.push(_n)}else{for(var bn=!1,Cn=1/0,Sn=0,En=0;En<_e.length;++En){var wn=_e[En];if(wn.intersect(vn)){var Tn=new BoundingRect$1(0,0,0,0);Tn.copy(wn),Tn.union(vn),_e[En]=Tn,bn=!0;break}else if($e){xe.copy(vn),xe.union(wn);var kn=vn.width*vn.height,xn=wn.width*wn.height,Pn=xe.width*xe.height,An=Pn-kn-xn;An<Cn&&(Cn=An,Sn=En)}}if($e&&(_e[Sn].union(vn),bn=!0),!bn){var _n=new BoundingRect$1(0,0,0,0);_n.copy(vn),_e.push(_n)}$e||($e=_e.length>=Ce)}}for(var Ve=this.__startIndex;Ve<this.__endIndex;++Ve){var ze=ie[Ve];if(ze){var Ue=ze.shouldBePainted(ue,pe,!0,!0),qe=ze.__isRendered&&(ze.__dirty&REDRAW_BIT||!Ue)?ze.getPrevPaintRect():null;qe&&Ie(qe);var Et=Ue&&(ze.__dirty&REDRAW_BIT||!ze.__isRendered)?ze.getPaintRect():null;Et&&Ie(Et)}}for(var Ve=this.__prevStartIndex;Ve<this.__prevEndIndex;++Ve){var ze=le[Ve],Ue=ze.shouldBePainted(ue,pe,!0,!0);if(ze&&(!Ue||!ze.__zr)&&ze.__isRendered){var qe=ze.getPrevPaintRect();qe&&Ie(qe)}}var Lt;do{Lt=!1;for(var Ve=0;Ve<_e.length;){if(_e[Ve].isZero()){_e.splice(Ve,1);continue}for(var hn=Ve+1;hn<_e.length;)_e[Ve].intersect(_e[hn])?(Lt=!0,_e[Ve].union(_e[hn]),_e.splice(hn,1)):hn++;Ve++}}while(Lt);return this._paintRects=_e,_e},z.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},z.prototype.resize=function(ie,le){var ue=this.dpr,pe=this.dom,_e=pe.style,Ce=this.domBack;_e&&(_e.width=ie+"px",_e.height=le+"px"),pe.width=ie*ue,pe.height=le*ue,Ce&&(Ce.width=ie*ue,Ce.height=le*ue,ue!==1&&this.ctxBack.scale(ue,ue))},z.prototype.clear=function(ie,le,ue){var pe=this.dom,_e=this.ctx,Ce=pe.width,$e=pe.height;le=le||this.clearColor;var xe=this.motionBlur&&!ie,Ie=this.lastFrameAlpha,Ve=this.dpr,ze=this;xe&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(pe,0,0,Ce/Ve,$e/Ve));var Ue=this.domBack;function qe(Et,Lt,hn,vn){if(_e.clearRect(Et,Lt,hn,vn),le&&le!=="transparent"){var _n=void 0;if(isGradientObject(le)){var bn=le.global||le.__width===hn&&le.__height===vn;_n=bn&&le.__canvasGradient||getCanvasGradient(_e,le,{x:0,y:0,width:hn,height:vn}),le.__canvasGradient=_n,le.__width=hn,le.__height=vn}else isImagePatternObject(le)&&(le.scaleX=le.scaleX||Ve,le.scaleY=le.scaleY||Ve,_n=createCanvasPattern(_e,le,{dirty:function(){ze.setUnpainted(),ze.__painter.refresh()}}));_e.save(),_e.fillStyle=_n||le,_e.fillRect(Et,Lt,hn,vn),_e.restore()}xe&&(_e.save(),_e.globalAlpha=Ie,_e.drawImage(Ue,Et,Lt,hn,vn),_e.restore())}!ue||xe?qe(0,0,Ce,$e):ue.length&&each$c(ue,function(Et){qe(Et.x*Ve,Et.y*Ve,Et.width*Ve,Et.height*Ve)})},z}(Eventful$1);const Layer$1=Layer;var HOVER_LAYER_ZLEVEL=1e5,CANVAS_ZLEVEL=314159,EL_AFTER_INCREMENTAL_INC=.01,INCREMENTAL_INC=.001;function isLayerValid($){return $?$.__builtin__?!0:!(typeof $.resize!="function"||typeof $.refresh!="function"):!1}function createRoot($,z){var ie=document.createElement("div");return ie.style.cssText=["position:relative","width:"+$+"px","height:"+z+"px","padding:0","margin:0","border-width:0"].join(";")+";",ie}var CanvasPainter=function(){function $(z,ie,le,ue){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var pe=!z.nodeName||z.nodeName.toUpperCase()==="CANVAS";this._opts=le=extend({},le||{}),this.dpr=le.devicePixelRatio||devicePixelRatio,this._singleCanvas=pe,this.root=z;var _e=z.style;_e&&(disableUserSelect(z),z.innerHTML=""),this.storage=ie;var Ce=this._zlevelList;this._prevDisplayList=[];var $e=this._layers;if(pe){var Ie=z,Ve=Ie.width,ze=Ie.height;le.width!=null&&(Ve=le.width),le.height!=null&&(ze=le.height),this.dpr=le.devicePixelRatio||1,Ie.width=Ve*this.dpr,Ie.height=ze*this.dpr,this._width=Ve,this._height=ze;var Ue=new Layer$1(Ie,this,this.dpr);Ue.__builtin__=!0,Ue.initContext(),$e[CANVAS_ZLEVEL]=Ue,Ue.zlevel=CANVAS_ZLEVEL,Ce.push(CANVAS_ZLEVEL),this._domRoot=z}else{this._width=getSize$1(z,0,le),this._height=getSize$1(z,1,le);var xe=this._domRoot=createRoot(this._width,this._height);z.appendChild(xe)}}return $.prototype.getType=function(){return"canvas"},$.prototype.isSingleCanvas=function(){return this._singleCanvas},$.prototype.getViewportRoot=function(){return this._domRoot},$.prototype.getViewportRootOffset=function(){var z=this.getViewportRoot();if(z)return{offsetLeft:z.offsetLeft||0,offsetTop:z.offsetTop||0}},$.prototype.refresh=function(z){var ie=this.storage.getDisplayList(!0),le=this._prevDisplayList,ue=this._zlevelList;this._redrawId=Math.random(),this._paintList(ie,le,z,this._redrawId);for(var pe=0;pe<ue.length;pe++){var _e=ue[pe],Ce=this._layers[_e];if(!Ce.__builtin__&&Ce.refresh){var $e=pe===0?this._backgroundColor:null;Ce.refresh($e)}}return this._opts.useDirtyRect&&(this._prevDisplayList=ie.slice()),this},$.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},$.prototype._paintHoverList=function(z){var ie=z.length,le=this._hoverlayer;if(le&&le.clear(),!!ie){for(var ue={inHover:!0,viewWidth:this._width,viewHeight:this._height},pe,_e=0;_e<ie;_e++){var Ce=z[_e];Ce.__inHover&&(le||(le=this._hoverlayer=this.getLayer(HOVER_LAYER_ZLEVEL)),pe||(pe=le.ctx,pe.save()),brush(pe,Ce,ue,_e===ie-1))}pe&&pe.restore()}},$.prototype.getHoverLayer=function(){return this.getLayer(HOVER_LAYER_ZLEVEL)},$.prototype.paintOne=function(z,ie){brushSingle(z,ie)},$.prototype._paintList=function(z,ie,le,ue){if(this._redrawId===ue){le=le||!1,this._updateLayerStatus(z);var pe=this._doPaintList(z,ie,le),_e=pe.finished,Ce=pe.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),Ce&&this._paintHoverList(z),_e)this.eachLayer(function(xe){xe.afterBrush&&xe.afterBrush()});else{var $e=this;requestAnimationFrame$2(function(){$e._paintList(z,ie,le,ue)})}}},$.prototype._compositeManually=function(){var z=this.getLayer(CANVAS_ZLEVEL).ctx,ie=this._domRoot.width,le=this._domRoot.height;z.clearRect(0,0,ie,le),this.eachBuiltinLayer(function(ue){ue.virtual&&z.drawImage(ue.dom,0,0,ie,le)})},$.prototype._doPaintList=function(z,ie,le){for(var ue=this,pe=[],_e=this._opts.useDirtyRect,Ce=0;Ce<this._zlevelList.length;Ce++){var $e=this._zlevelList[Ce],xe=this._layers[$e];xe.__builtin__&&xe!==this._hoverlayer&&(xe.__dirty||le)&&pe.push(xe)}for(var Ie=!0,Ve=!1,ze=function(Et){var Lt=pe[Et],hn=Lt.ctx,vn=_e&&Lt.createRepaintRects(z,ie,Ue._width,Ue._height),_n=le?Lt.__startIndex:Lt.__drawIndex,bn=!le&&Lt.incremental&&Date.now,Cn=bn&&Date.now(),Sn=Lt.zlevel===Ue._zlevelList[0]?Ue._backgroundColor:null;if(Lt.__startIndex===Lt.__endIndex)Lt.clear(!1,Sn,vn);else if(_n===Lt.__startIndex){var En=z[_n];(!En.incremental||!En.notClear||le)&&Lt.clear(!1,Sn,vn)}_n===-1&&(console.error("For some unknown reason. drawIndex is -1"),_n=Lt.__startIndex);var wn,Tn=function(An){var In={inHover:!1,allClipped:!1,prevEl:null,viewWidth:ue._width,viewHeight:ue._height};for(wn=_n;wn<Lt.__endIndex;wn++){var Fn=z[wn];if(Fn.__inHover&&(Ve=!0),ue._doPaintEl(Fn,Lt,_e,An,In,wn===Lt.__endIndex-1),bn){var Dn=Date.now()-Cn;if(Dn>15)break}}In.prevElClipPaths&&hn.restore()};if(vn)if(vn.length===0)wn=Lt.__endIndex;else for(var kn=Ue.dpr,xn=0;xn<vn.length;++xn){var Pn=vn[xn];hn.save(),hn.beginPath(),hn.rect(Pn.x*kn,Pn.y*kn,Pn.width*kn,Pn.height*kn),hn.clip(),Tn(Pn),hn.restore()}else hn.save(),Tn(),hn.restore();Lt.__drawIndex=wn,Lt.__drawIndex<Lt.__endIndex&&(Ie=!1)},Ue=this,qe=0;qe<pe.length;qe++)ze(qe);return env$1.wxa&&each$c(this._layers,function(Et){Et&&Et.ctx&&Et.ctx.draw&&Et.ctx.draw()}),{finished:Ie,needsRefreshHover:Ve}},$.prototype._doPaintEl=function(z,ie,le,ue,pe,_e){var Ce=ie.ctx;if(le){var $e=z.getPaintRect();(!ue||$e&&$e.intersect(ue))&&(brush(Ce,z,pe,_e),z.setPrevPaintRect($e))}else brush(Ce,z,pe,_e)},$.prototype.getLayer=function(z,ie){this._singleCanvas&&!this._needsManuallyCompositing&&(z=CANVAS_ZLEVEL);var le=this._layers[z];return le||(le=new Layer$1("zr_"+z,this,this.dpr),le.zlevel=z,le.__builtin__=!0,this._layerConfig[z]?merge(le,this._layerConfig[z],!0):this._layerConfig[z-EL_AFTER_INCREMENTAL_INC]&&merge(le,this._layerConfig[z-EL_AFTER_INCREMENTAL_INC],!0),ie&&(le.virtual=ie),this.insertLayer(z,le),le.initContext()),le},$.prototype.insertLayer=function(z,ie){var le=this._layers,ue=this._zlevelList,pe=ue.length,_e=this._domRoot,Ce=null,$e=-1;if(!le[z]&&isLayerValid(ie)){if(pe>0&&z>ue[0]){for($e=0;$e<pe-1&&!(ue[$e]<z&&ue[$e+1]>z);$e++);Ce=le[ue[$e]]}if(ue.splice($e+1,0,z),le[z]=ie,!ie.virtual)if(Ce){var xe=Ce.dom;xe.nextSibling?_e.insertBefore(ie.dom,xe.nextSibling):_e.appendChild(ie.dom)}else _e.firstChild?_e.insertBefore(ie.dom,_e.firstChild):_e.appendChild(ie.dom);ie.__painter=this}},$.prototype.eachLayer=function(z,ie){for(var le=this._zlevelList,ue=0;ue<le.length;ue++){var pe=le[ue];z.call(ie,this._layers[pe],pe)}},$.prototype.eachBuiltinLayer=function(z,ie){for(var le=this._zlevelList,ue=0;ue<le.length;ue++){var pe=le[ue],_e=this._layers[pe];_e.__builtin__&&z.call(ie,_e,pe)}},$.prototype.eachOtherLayer=function(z,ie){for(var le=this._zlevelList,ue=0;ue<le.length;ue++){var pe=le[ue],_e=this._layers[pe];_e.__builtin__||z.call(ie,_e,pe)}},$.prototype.getLayers=function(){return this._layers},$.prototype._updateLayerStatus=function(z){this.eachBuiltinLayer(function(Ve,ze){Ve.__dirty=Ve.__used=!1});function ie(Ve){pe&&(pe.__endIndex!==Ve&&(pe.__dirty=!0),pe.__endIndex=Ve)}if(this._singleCanvas)for(var le=1;le<z.length;le++){var ue=z[le];if(ue.zlevel!==z[le-1].zlevel||ue.incremental){this._needsManuallyCompositing=!0;break}}var pe=null,_e=0,Ce,$e;for($e=0;$e<z.length;$e++){var ue=z[$e],xe=ue.zlevel,Ie=void 0;Ce!==xe&&(Ce=xe,_e=0),ue.incremental?(Ie=this.getLayer(xe+INCREMENTAL_INC,this._needsManuallyCompositing),Ie.incremental=!0,_e=1):Ie=this.getLayer(xe+(_e>0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),Ie.__builtin__||logError("ZLevel "+xe+" has been used by unkown layer "+Ie.id),Ie!==pe&&(Ie.__used=!0,Ie.__startIndex!==$e&&(Ie.__dirty=!0),Ie.__startIndex=$e,Ie.incremental?Ie.__drawIndex=-1:Ie.__drawIndex=$e,ie($e),pe=Ie),ue.__dirty&REDRAW_BIT&&!ue.__inHover&&(Ie.__dirty=!0,Ie.incremental&&Ie.__drawIndex<0&&(Ie.__drawIndex=$e))}ie($e),this.eachBuiltinLayer(function(Ve,ze){!Ve.__used&&Ve.getElementCount()>0&&(Ve.__dirty=!0,Ve.__startIndex=Ve.__endIndex=Ve.__drawIndex=0),Ve.__dirty&&Ve.__drawIndex<0&&(Ve.__drawIndex=Ve.__startIndex)})},$.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},$.prototype._clearLayer=function(z){z.clear()},$.prototype.setBackgroundColor=function(z){this._backgroundColor=z,each$c(this._layers,function(ie){ie.setUnpainted()})},$.prototype.configLayer=function(z,ie){if(ie){var le=this._layerConfig;le[z]?merge(le[z],ie,!0):le[z]=ie;for(var ue=0;ue<this._zlevelList.length;ue++){var pe=this._zlevelList[ue];if(pe===z||pe===z+EL_AFTER_INCREMENTAL_INC){var _e=this._layers[pe];merge(_e,le[z],!0)}}}},$.prototype.delLayer=function(z){var ie=this._layers,le=this._zlevelList,ue=ie[z];ue&&(ue.dom.parentNode.removeChild(ue.dom),delete ie[z],le.splice(indexOf(le,z),1))},$.prototype.resize=function(z,ie){if(this._domRoot.style){var le=this._domRoot;le.style.display="none";var ue=this._opts,pe=this.root;if(z!=null&&(ue.width=z),ie!=null&&(ue.height=ie),z=getSize$1(pe,0,ue),ie=getSize$1(pe,1,ue),le.style.display="",this._width!==z||ie!==this._height){le.style.width=z+"px",le.style.height=ie+"px";for(var _e in this._layers)this._layers.hasOwnProperty(_e)&&this._layers[_e].resize(z,ie);this.refresh(!0)}this._width=z,this._height=ie}else{if(z==null||ie==null)return;this._width=z,this._height=ie,this.getLayer(CANVAS_ZLEVEL).resize(z,ie)}return this},$.prototype.clearLayer=function(z){var ie=this._layers[z];ie&&ie.clear()},$.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},$.prototype.getRenderedCanvas=function(z){if(z=z||{},this._singleCanvas&&!this._compositeManually)return this._layers[CANVAS_ZLEVEL].dom;var ie=new Layer$1("image",this,z.pixelRatio||this.dpr);ie.initContext(),ie.clear(!1,z.backgroundColor||this._backgroundColor);var le=ie.ctx;if(z.pixelRatio<=this.dpr){this.refresh();var ue=ie.dom.width,pe=ie.dom.height;this.eachLayer(function(Ve){Ve.__builtin__?le.drawImage(Ve.dom,0,0,ue,pe):Ve.renderToCanvas&&(le.save(),Ve.renderToCanvas(le),le.restore())})}else for(var _e={inHover:!1,viewWidth:this._width,viewHeight:this._height},Ce=this.storage.getDisplayList(!0),$e=0,xe=Ce.length;$e<xe;$e++){var Ie=Ce[$e];brush(le,Ie,_e,$e===xe-1)}return ie.dom},$.prototype.getWidth=function(){return this._width},$.prototype.getHeight=function(){return this._height},$}();const CanvasPainter$1=CanvasPainter;function install$k($){$.registerPainter("canvas",CanvasPainter$1)}var LineSeriesModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.hasSymbolVisual=!0,ie}return z.prototype.getInitialData=function(ie){return createSeriesData(null,this,{useEncodeDefaulter:!0})},z.prototype.getLegendIcon=function(ie){var le=new Group$3,ue=createSymbol("line",0,ie.itemHeight/2,ie.itemWidth,0,ie.lineStyle.stroke,!1);le.add(ue),ue.setStyle(ie.lineStyle);var pe=this.getData().getVisual("symbol"),_e=this.getData().getVisual("symbolRotate"),Ce=pe==="none"?"circle":pe,$e=ie.itemHeight*.8,xe=createSymbol(Ce,(ie.itemWidth-$e)/2,(ie.itemHeight-$e)/2,$e,$e,ie.itemStyle.fill);le.add(xe),xe.setStyle(ie.itemStyle);var Ie=ie.iconRotate==="inherit"?_e:ie.iconRotate||0;return xe.rotation=Ie*Math.PI/180,xe.setOrigin([ie.itemWidth/2,ie.itemHeight/2]),Ce.indexOf("empty")>-1&&(xe.style.stroke=xe.style.fill,xe.style.fill="#fff",xe.style.lineWidth=2),le},z.type="series.line",z.dependencies=["grid","polar"],z.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},z}(SeriesModel$1);const LineSeries=LineSeriesModel;function getDefaultLabel($,z){var ie=$.mapDimensionsAll("defaultedLabel"),le=ie.length;if(le===1){var ue=retrieveRawValue($,z,ie[0]);return ue!=null?ue+"":null}else if(le){for(var pe=[],_e=0;_e<ie.length;_e++)pe.push(retrieveRawValue($,z,ie[_e]));return pe.join(" ")}}function getDefaultInterpolatedLabel($,z){var ie=$.mapDimensionsAll("defaultedLabel");if(!isArray$1(z))return z+"";for(var le=[],ue=0;ue<ie.length;ue++){var pe=$.getDimensionIndex(ie[ue]);pe>=0&&le.push(z[pe])}return le.join(" ")}var Symbol$1=function($){__extends(z,$);function z(ie,le,ue,pe){var _e=$.call(this)||this;return _e.updateData(ie,le,ue,pe),_e}return z.prototype._createSymbol=function(ie,le,ue,pe,_e){this.removeAll();var Ce=createSymbol(ie,-1,-1,2,2,null,_e);Ce.attr({z2:100,culling:!0,scaleX:pe[0]/2,scaleY:pe[1]/2}),Ce.drift=driftSymbol,this._symbolType=ie,this.add(Ce)},z.prototype.stopSymbolAnimation=function(ie){this.childAt(0).stopAnimation(null,ie)},z.prototype.getSymbolType=function(){return this._symbolType},z.prototype.getSymbolPath=function(){return this.childAt(0)},z.prototype.highlight=function(){enterEmphasis(this.childAt(0))},z.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},z.prototype.setZ=function(ie,le){var ue=this.childAt(0);ue.zlevel=ie,ue.z=le},z.prototype.setDraggable=function(ie,le){var ue=this.childAt(0);ue.draggable=ie,ue.cursor=!le&&ie?"move":ue.cursor},z.prototype.updateData=function(ie,le,ue,pe){this.silent=!1;var _e=ie.getItemVisual(le,"symbol")||"circle",Ce=ie.hostModel,$e=z.getSymbolSize(ie,le),xe=_e!==this._symbolType,Ie=pe&&pe.disableAnimation;if(xe){var Ve=ie.getItemVisual(le,"symbolKeepAspect");this._createSymbol(_e,ie,le,$e,Ve)}else{var ze=this.childAt(0);ze.silent=!1;var Ue={scaleX:$e[0]/2,scaleY:$e[1]/2};Ie?ze.attr(Ue):updateProps$1(ze,Ue,Ce,le),saveOldStyle(ze)}if(this._updateCommon(ie,le,$e,ue,pe),xe){var ze=this.childAt(0);if(!Ie){var Ue={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:ze.style.opacity}};ze.scaleX=ze.scaleY=0,ze.style.opacity=0,initProps(ze,Ue,Ce,le)}}Ie&&this.childAt(0).stopAnimation("leave")},z.prototype._updateCommon=function(ie,le,ue,pe,_e){var Ce=this.childAt(0),$e=ie.hostModel,xe,Ie,Ve,ze,Ue,qe,Et,Lt,hn;if(pe&&(xe=pe.emphasisItemStyle,Ie=pe.blurItemStyle,Ve=pe.selectItemStyle,ze=pe.focus,Ue=pe.blurScope,Et=pe.labelStatesModels,Lt=pe.hoverScale,hn=pe.cursorStyle,qe=pe.emphasisDisabled),!pe||ie.hasItemOption){var vn=pe&&pe.itemModel?pe.itemModel:ie.getItemModel(le),_n=vn.getModel("emphasis");xe=_n.getModel("itemStyle").getItemStyle(),Ve=vn.getModel(["select","itemStyle"]).getItemStyle(),Ie=vn.getModel(["blur","itemStyle"]).getItemStyle(),ze=_n.get("focus"),Ue=_n.get("blurScope"),qe=_n.get("disabled"),Et=getLabelStatesModels(vn),Lt=_n.getShallow("scale"),hn=vn.getShallow("cursor")}var bn=ie.getItemVisual(le,"symbolRotate");Ce.attr("rotation",(bn||0)*Math.PI/180||0);var Cn=normalizeSymbolOffset(ie.getItemVisual(le,"symbolOffset"),ue);Cn&&(Ce.x=Cn[0],Ce.y=Cn[1]),hn&&Ce.attr("cursor",hn);var Sn=ie.getItemVisual(le,"style"),En=Sn.fill;if(Ce instanceof ZRImage$1){var wn=Ce.style;Ce.useStyle(extend({image:wn.image,x:wn.x,y:wn.y,width:wn.width,height:wn.height},Sn))}else Ce.__isEmptyBrush?Ce.useStyle(extend({},Sn)):Ce.useStyle(Sn),Ce.style.decal=null,Ce.setColor(En,_e&&_e.symbolInnerColor),Ce.style.strokeNoScale=!0;var Tn=ie.getItemVisual(le,"liftZ"),kn=this._z2;Tn!=null?kn==null&&(this._z2=Ce.z2,Ce.z2+=Tn):kn!=null&&(Ce.z2=kn,this._z2=null);var xn=_e&&_e.useNameLabel;setLabelStyle(Ce,Et,{labelFetcher:$e,labelDataIndex:le,defaultText:Pn,inheritColor:En,defaultOpacity:Sn.opacity});function Pn(Fn){return xn?ie.getName(Fn):getDefaultLabel(ie,Fn)}this._sizeX=ue[0]/2,this._sizeY=ue[1]/2;var An=Ce.ensureState("emphasis");An.style=xe,Ce.ensureState("select").style=Ve,Ce.ensureState("blur").style=Ie;var In=Lt==null||Lt===!0?Math.max(1.1,3/this._sizeY):isFinite(Lt)&&Lt>0?+Lt:1;An.scaleX=this._sizeX*In,An.scaleY=this._sizeY*In,this.setSymbolScale(1),toggleHoverEmphasis(this,ze,Ue,qe)},z.prototype.setSymbolScale=function(ie){this.scaleX=this.scaleY=ie},z.prototype.fadeOut=function(ie,le,ue){var pe=this.childAt(0),_e=getECData(this).dataIndex,Ce=ue&&ue.animation;if(this.silent=pe.silent=!0,ue&&ue.fadeLabel){var $e=pe.getTextContent();$e&&removeElement($e,{style:{opacity:0}},le,{dataIndex:_e,removeOpt:Ce,cb:function(){pe.removeTextContent()}})}else pe.removeTextContent();removeElement(pe,{style:{opacity:0},scaleX:0,scaleY:0},le,{dataIndex:_e,cb:ie,removeOpt:Ce})},z.getSymbolSize=function(ie,le){return normalizeSymbolSize(ie.getItemVisual(le,"symbolSize"))},z}(Group$3);function driftSymbol($,z){this.parent.drift($,z)}const SymbolClz=Symbol$1;function symbolNeedsDraw($,z,ie,le){return z&&!isNaN(z[0])&&!isNaN(z[1])&&!(le.isIgnore&&le.isIgnore(ie))&&!(le.clipShape&&!le.clipShape.contain(z[0],z[1]))&&$.getItemVisual(ie,"symbol")!=="none"}function normalizeUpdateOpt($){return $!=null&&!isObject$3($)&&($={isIgnore:$}),$||{}}function makeSeriesScope($){var z=$.hostModel,ie=z.getModel("emphasis");return{emphasisItemStyle:ie.getModel("itemStyle").getItemStyle(),blurItemStyle:z.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:z.getModel(["select","itemStyle"]).getItemStyle(),focus:ie.get("focus"),blurScope:ie.get("blurScope"),emphasisDisabled:ie.get("disabled"),hoverScale:ie.get("scale"),labelStatesModels:getLabelStatesModels(z),cursorStyle:z.get("cursor")}}var SymbolDraw=function(){function $(z){this.group=new Group$3,this._SymbolCtor=z||SymbolClz}return $.prototype.updateData=function(z,ie){this._progressiveEls=null,ie=normalizeUpdateOpt(ie);var le=this.group,ue=z.hostModel,pe=this._data,_e=this._SymbolCtor,Ce=ie.disableAnimation,$e=makeSeriesScope(z),xe={disableAnimation:Ce},Ie=ie.getSymbolPoint||function(Ve){return z.getItemLayout(Ve)};pe||le.removeAll(),z.diff(pe).add(function(Ve){var ze=Ie(Ve);if(symbolNeedsDraw(z,ze,Ve,ie)){var Ue=new _e(z,Ve,$e,xe);Ue.setPosition(ze),z.setItemGraphicEl(Ve,Ue),le.add(Ue)}}).update(function(Ve,ze){var Ue=pe.getItemGraphicEl(ze),qe=Ie(Ve);if(!symbolNeedsDraw(z,qe,Ve,ie)){le.remove(Ue);return}var Et=z.getItemVisual(Ve,"symbol")||"circle",Lt=Ue&&Ue.getSymbolType&&Ue.getSymbolType();if(!Ue||Lt&&Lt!==Et)le.remove(Ue),Ue=new _e(z,Ve,$e,xe),Ue.setPosition(qe);else{Ue.updateData(z,Ve,$e,xe);var hn={x:qe[0],y:qe[1]};Ce?Ue.attr(hn):updateProps$1(Ue,hn,ue)}le.add(Ue),z.setItemGraphicEl(Ve,Ue)}).remove(function(Ve){var ze=pe.getItemGraphicEl(Ve);ze&&ze.fadeOut(function(){le.remove(ze)},ue)}).execute(),this._getSymbolPoint=Ie,this._data=z},$.prototype.updateLayout=function(){var z=this,ie=this._data;ie&&ie.eachItemGraphicEl(function(le,ue){var pe=z._getSymbolPoint(ue);le.setPosition(pe),le.markRedraw()})},$.prototype.incrementalPrepareUpdate=function(z){this._seriesScope=makeSeriesScope(z),this._data=null,this.group.removeAll()},$.prototype.incrementalUpdate=function(z,ie,le){this._progressiveEls=[],le=normalizeUpdateOpt(le);function ue($e){$e.isGroup||($e.incremental=!0,$e.ensureState("emphasis").hoverLayer=!0)}for(var pe=z.start;pe<z.end;pe++){var _e=ie.getItemLayout(pe);if(symbolNeedsDraw(ie,_e,pe,le)){var Ce=new this._SymbolCtor(ie,pe,this._seriesScope);Ce.traverse(ue),Ce.setPosition(_e),this.group.add(Ce),ie.setItemGraphicEl(pe,Ce),this._progressiveEls.push(Ce)}}},$.prototype.eachRendered=function(z){traverseElements(this._progressiveEls||this.group,z)},$.prototype.remove=function(z){var ie=this.group,le=this._data;le&&z?le.eachItemGraphicEl(function(ue){ue.fadeOut(function(){ie.remove(ue)},le.hostModel)}):ie.removeAll()},$}();const SymbolDraw$1=SymbolDraw;function prepareDataCoordInfo($,z,ie){var le=$.getBaseAxis(),ue=$.getOtherAxis(le),pe=getValueStart(ue,ie),_e=le.dim,Ce=ue.dim,$e=z.mapDimension(Ce),xe=z.mapDimension(_e),Ie=Ce==="x"||Ce==="radius"?1:0,Ve=map$2($.dimensions,function(qe){return z.mapDimension(qe)}),ze=!1,Ue=z.getCalculationInfo("stackResultDimension");return isDimensionStacked(z,Ve[0])&&(ze=!0,Ve[0]=Ue),isDimensionStacked(z,Ve[1])&&(ze=!0,Ve[1]=Ue),{dataDimsForPoint:Ve,valueStart:pe,valueAxisDim:Ce,baseAxisDim:_e,stacked:!!ze,valueDim:$e,baseDim:xe,baseDataOffset:Ie,stackedOverDimension:z.getCalculationInfo("stackedOverDimension")}}function getValueStart($,z){var ie=0,le=$.scale.getExtent();return z==="start"?ie=le[0]:z==="end"?ie=le[1]:isNumber(z)&&!isNaN(z)?ie=z:le[0]>0?ie=le[0]:le[1]<0&&(ie=le[1]),ie}function getStackedOnPoint($,z,ie,le){var ue=NaN;$.stacked&&(ue=ie.get(ie.getCalculationInfo("stackedOverDimension"),le)),isNaN(ue)&&(ue=$.valueStart);var pe=$.baseDataOffset,_e=[];return _e[pe]=ie.get($.baseDim,le),_e[1-pe]=ue,z.dataToPoint(_e)}function diffData($,z){var ie=[];return z.diff($).add(function(le){ie.push({cmd:"+",idx:le})}).update(function(le,ue){ie.push({cmd:"=",idx:ue,idx1:le})}).remove(function(le){ie.push({cmd:"-",idx:le})}).execute(),ie}function lineAnimationDiff($,z,ie,le,ue,pe,_e,Ce){for(var $e=diffData($,z),xe=[],Ie=[],Ve=[],ze=[],Ue=[],qe=[],Et=[],Lt=prepareDataCoordInfo(ue,z,_e),hn=$.getLayout("points")||[],vn=z.getLayout("points")||[],_n=0;_n<$e.length;_n++){var bn=$e[_n],Cn=!0,Sn=void 0,En=void 0;switch(bn.cmd){case"=":Sn=bn.idx*2,En=bn.idx1*2;var wn=hn[Sn],Tn=hn[Sn+1],kn=vn[En],xn=vn[En+1];(isNaN(wn)||isNaN(Tn))&&(wn=kn,Tn=xn),xe.push(wn,Tn),Ie.push(kn,xn),Ve.push(ie[Sn],ie[Sn+1]),ze.push(le[En],le[En+1]),Et.push(z.getRawIndex(bn.idx1));break;case"+":var Pn=bn.idx,An=Lt.dataDimsForPoint,In=ue.dataToPoint([z.get(An[0],Pn),z.get(An[1],Pn)]);En=Pn*2,xe.push(In[0],In[1]),Ie.push(vn[En],vn[En+1]);var Fn=getStackedOnPoint(Lt,ue,z,Pn);Ve.push(Fn[0],Fn[1]),ze.push(le[En],le[En+1]),Et.push(z.getRawIndex(Pn));break;case"-":Cn=!1}Cn&&(Ue.push(bn),qe.push(qe.length))}qe.sort(function(yr,ir){return Et[yr]-Et[ir]});for(var Dn=xe.length,On=createFloat32Array(Dn),Vn=createFloat32Array(Dn),Mn=createFloat32Array(Dn),zn=createFloat32Array(Dn),Kn=[],_n=0;_n<qe.length;_n++){var Hn=qe[_n],Xn=_n*2,lr=Hn*2;On[Xn]=xe[lr],On[Xn+1]=xe[lr+1],Vn[Xn]=Ie[lr],Vn[Xn+1]=Ie[lr+1],Mn[Xn]=Ve[lr],Mn[Xn+1]=Ve[lr+1],zn[Xn]=ze[lr],zn[Xn+1]=ze[lr+1],Kn[_n]=Ue[Hn]}return{current:On,next:Vn,stackedOnCurrent:Mn,stackedOnNext:zn,status:Kn}}var mathMin$3=Math.min,mathMax$3=Math.max;function isPointNull$1($,z){return isNaN($)||isNaN(z)}function drawSegment($,z,ie,le,ue,pe,_e,Ce,$e){for(var xe,Ie,Ve,ze,Ue,qe,Et=ie,Lt=0;Lt<le;Lt++){var hn=z[Et*2],vn=z[Et*2+1];if(Et>=ue||Et<0)break;if(isPointNull$1(hn,vn)){if($e){Et+=pe;continue}break}if(Et===ie)$[pe>0?"moveTo":"lineTo"](hn,vn),Ve=hn,ze=vn;else{var _n=hn-xe,bn=vn-Ie;if(_n*_n+bn*bn<.5){Et+=pe;continue}if(_e>0){for(var Cn=Et+pe,Sn=z[Cn*2],En=z[Cn*2+1];Sn===hn&&En===vn&&Lt<le;)Lt++,Cn+=pe,Et+=pe,Sn=z[Cn*2],En=z[Cn*2+1],hn=z[Et*2],vn=z[Et*2+1],_n=hn-xe,bn=vn-Ie;var wn=Lt+1;if($e)for(;isPointNull$1(Sn,En)&&wn<le;)wn++,Cn+=pe,Sn=z[Cn*2],En=z[Cn*2+1];var Tn=.5,kn=0,xn=0,Pn=void 0,An=void 0;if(wn>=le||isPointNull$1(Sn,En))Ue=hn,qe=vn;else{kn=Sn-xe,xn=En-Ie;var In=hn-xe,Fn=Sn-hn,Dn=vn-Ie,On=En-vn,Vn=void 0,Mn=void 0;if(Ce==="x"){Vn=Math.abs(In),Mn=Math.abs(Fn);var zn=kn>0?1:-1;Ue=hn-zn*Vn*_e,qe=vn,Pn=hn+zn*Mn*_e,An=vn}else if(Ce==="y"){Vn=Math.abs(Dn),Mn=Math.abs(On);var Kn=xn>0?1:-1;Ue=hn,qe=vn-Kn*Vn*_e,Pn=hn,An=vn+Kn*Mn*_e}else Vn=Math.sqrt(In*In+Dn*Dn),Mn=Math.sqrt(Fn*Fn+On*On),Tn=Mn/(Mn+Vn),Ue=hn-kn*_e*(1-Tn),qe=vn-xn*_e*(1-Tn),Pn=hn+kn*_e*Tn,An=vn+xn*_e*Tn,Pn=mathMin$3(Pn,mathMax$3(Sn,hn)),An=mathMin$3(An,mathMax$3(En,vn)),Pn=mathMax$3(Pn,mathMin$3(Sn,hn)),An=mathMax$3(An,mathMin$3(En,vn)),kn=Pn-hn,xn=An-vn,Ue=hn-kn*Vn/Mn,qe=vn-xn*Vn/Mn,Ue=mathMin$3(Ue,mathMax$3(xe,hn)),qe=mathMin$3(qe,mathMax$3(Ie,vn)),Ue=mathMax$3(Ue,mathMin$3(xe,hn)),qe=mathMax$3(qe,mathMin$3(Ie,vn)),kn=hn-Ue,xn=vn-qe,Pn=hn+kn*Mn/Vn,An=vn+xn*Mn/Vn}$.bezierCurveTo(Ve,ze,Ue,qe,hn,vn),Ve=Pn,ze=An}else $.lineTo(hn,vn)}xe=hn,Ie=vn,Et+=pe}return Lt}var ECPolylineShape=function(){function $(){this.smooth=0,this.smoothConstraint=!0}return $}(),ECPolyline=function($){__extends(z,$);function z(ie){var le=$.call(this,ie)||this;return le.type="ec-polyline",le}return z.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},z.prototype.getDefaultShape=function(){return new ECPolylineShape},z.prototype.buildPath=function(ie,le){var ue=le.points,pe=0,_e=ue.length/2;if(le.connectNulls){for(;_e>0&&isPointNull$1(ue[_e*2-2],ue[_e*2-1]);_e--);for(;pe<_e&&isPointNull$1(ue[pe*2],ue[pe*2+1]);pe++);}for(;pe<_e;)pe+=drawSegment(ie,ue,pe,_e,_e,1,le.smooth,le.smoothMonotone,le.connectNulls)+1},z.prototype.getPointOn=function(ie,le){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var ue=this.path,pe=ue.data,_e=PathProxy$1.CMD,Ce,$e,xe=le==="x",Ie=[],Ve=0;Ve<pe.length;){var ze=pe[Ve++],Ue=void 0,qe=void 0,Et=void 0,Lt=void 0,hn=void 0,vn=void 0,_n=void 0;switch(ze){case _e.M:Ce=pe[Ve++],$e=pe[Ve++];break;case _e.L:if(Ue=pe[Ve++],qe=pe[Ve++],_n=xe?(ie-Ce)/(Ue-Ce):(ie-$e)/(qe-$e),_n<=1&&_n>=0){var bn=xe?(qe-$e)*_n+$e:(Ue-Ce)*_n+Ce;return xe?[ie,bn]:[bn,ie]}Ce=Ue,$e=qe;break;case _e.C:Ue=pe[Ve++],qe=pe[Ve++],Et=pe[Ve++],Lt=pe[Ve++],hn=pe[Ve++],vn=pe[Ve++];var Cn=xe?cubicRootAt(Ce,Ue,Et,hn,ie,Ie):cubicRootAt($e,qe,Lt,vn,ie,Ie);if(Cn>0)for(var Sn=0;Sn<Cn;Sn++){var En=Ie[Sn];if(En<=1&&En>=0){var bn=xe?cubicAt($e,qe,Lt,vn,En):cubicAt(Ce,Ue,Et,hn,En);return xe?[ie,bn]:[bn,ie]}}Ce=hn,$e=vn;break}}},z}(Path$1),ECPolygonShape=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z}(ECPolylineShape),ECPolygon=function($){__extends(z,$);function z(ie){var le=$.call(this,ie)||this;return le.type="ec-polygon",le}return z.prototype.getDefaultShape=function(){return new ECPolygonShape},z.prototype.buildPath=function(ie,le){var ue=le.points,pe=le.stackedOnPoints,_e=0,Ce=ue.length/2,$e=le.smoothMonotone;if(le.connectNulls){for(;Ce>0&&isPointNull$1(ue[Ce*2-2],ue[Ce*2-1]);Ce--);for(;_e<Ce&&isPointNull$1(ue[_e*2],ue[_e*2+1]);_e++);}for(;_e<Ce;){var xe=drawSegment(ie,ue,_e,Ce,Ce,1,le.smooth,$e,le.connectNulls);drawSegment(ie,pe,_e+xe-1,xe,Ce,-1,le.stackedOnSmooth,$e,le.connectNulls),_e+=xe+1,ie.closePath()}},z}(Path$1);function createGridClipPath($,z,ie,le,ue){var pe=$.getArea(),_e=pe.x,Ce=pe.y,$e=pe.width,xe=pe.height,Ie=ie.get(["lineStyle","width"])||2;_e-=Ie/2,Ce-=Ie/2,$e+=Ie,xe+=Ie,_e=Math.floor(_e),$e=Math.round($e);var Ve=new Rect$2({shape:{x:_e,y:Ce,width:$e,height:xe}});if(z){var ze=$.getBaseAxis(),Ue=ze.isHorizontal(),qe=ze.inverse;Ue?(qe&&(Ve.shape.x+=$e),Ve.shape.width=0):(qe||(Ve.shape.y+=xe),Ve.shape.height=0);var Et=isFunction(ue)?function(Lt){ue(Lt,Ve)}:null;initProps(Ve,{shape:{width:$e,height:xe,x:_e,y:Ce}},ie,null,le,Et)}return Ve}function createPolarClipPath($,z,ie){var le=$.getArea(),ue=round$1(le.r0,1),pe=round$1(le.r,1),_e=new Sector$1({shape:{cx:round$1($.cx,1),cy:round$1($.cy,1),r0:ue,r:pe,startAngle:le.startAngle,endAngle:le.endAngle,clockwise:le.clockwise}});if(z){var Ce=$.getBaseAxis().dim==="angle";Ce?_e.shape.endAngle=le.startAngle:_e.shape.r=ue,initProps(_e,{shape:{endAngle:le.endAngle,r:pe}},ie)}return _e}function createClipPath($,z,ie,le,ue){if($){if($.type==="polar")return createPolarClipPath($,z,ie);if($.type==="cartesian2d")return createGridClipPath($,z,ie,le,ue)}else return null;return null}function isCoordinateSystemType($,z){return $.type===z}function isPointsSame($,z){if($.length===z.length){for(var ie=0;ie<$.length;ie++)if($[ie]!==z[ie])return;return!0}}function bboxFromPoints($){for(var z=1/0,ie=1/0,le=-1/0,ue=-1/0,pe=0;pe<$.length;){var _e=$[pe++],Ce=$[pe++];isNaN(_e)||(z=Math.min(_e,z),le=Math.max(_e,le)),isNaN(Ce)||(ie=Math.min(Ce,ie),ue=Math.max(Ce,ue))}return[[z,ie],[le,ue]]}function getBoundingDiff($,z){var ie=bboxFromPoints($),le=ie[0],ue=ie[1],pe=bboxFromPoints(z),_e=pe[0],Ce=pe[1];return Math.max(Math.abs(le[0]-_e[0]),Math.abs(le[1]-_e[1]),Math.abs(ue[0]-Ce[0]),Math.abs(ue[1]-Ce[1]))}function getSmooth($){return isNumber($)?$:$?.5:0}function getStackedOnPoints($,z,ie){if(!ie.valueDim)return[];for(var le=z.count(),ue=createFloat32Array(le*2),pe=0;pe<le;pe++){var _e=getStackedOnPoint(ie,$,z,pe);ue[pe*2]=_e[0],ue[pe*2+1]=_e[1]}return ue}function turnPointsIntoStep($,z,ie,le){var ue=z.getBaseAxis(),pe=ue.dim==="x"||ue.dim==="radius"?0:1,_e=[],Ce=0,$e=[],xe=[],Ie=[],Ve=[];if(le){for(Ce=0;Ce<$.length;Ce+=2)!isNaN($[Ce])&&!isNaN($[Ce+1])&&Ve.push($[Ce],$[Ce+1]);$=Ve}for(Ce=0;Ce<$.length-2;Ce+=2)switch(Ie[0]=$[Ce+2],Ie[1]=$[Ce+3],xe[0]=$[Ce],xe[1]=$[Ce+1],_e.push(xe[0],xe[1]),ie){case"end":$e[pe]=Ie[pe],$e[1-pe]=xe[1-pe],_e.push($e[0],$e[1]);break;case"middle":var ze=(xe[pe]+Ie[pe])/2,Ue=[];$e[pe]=Ue[pe]=ze,$e[1-pe]=xe[1-pe],Ue[1-pe]=Ie[1-pe],_e.push($e[0],$e[1]),_e.push(Ue[0],Ue[1]);break;default:$e[pe]=xe[pe],$e[1-pe]=Ie[1-pe],_e.push($e[0],$e[1])}return _e.push($[Ce++],$[Ce++]),_e}function clipColorStops($,z){var ie=[],le=$.length,ue,pe;function _e(Ie,Ve,ze){var Ue=Ie.coord,qe=(ze-Ue)/(Ve.coord-Ue),Et=lerp(qe,[Ie.color,Ve.color]);return{coord:ze,color:Et}}for(var Ce=0;Ce<le;Ce++){var $e=$[Ce],xe=$e.coord;if(xe<0)ue=$e;else if(xe>z){pe?ie.push(_e(pe,$e,z)):ue&&ie.push(_e(ue,$e,0),_e(ue,$e,z));break}else ue&&(ie.push(_e(ue,$e,0)),ue=null),ie.push($e),pe=$e}return ie}function getVisualGradient($,z,ie){var le=$.getVisual("visualMeta");if(!(!le||!le.length||!$.count())&&z.type==="cartesian2d"){for(var ue,pe,_e=le.length-1;_e>=0;_e--){var Ce=$.getDimensionInfo(le[_e].dimension);if(ue=Ce&&Ce.coordDim,ue==="x"||ue==="y"){pe=le[_e];break}}if(pe){var $e=z.getAxis(ue),xe=map$2(pe.stops,function(_n){return{coord:$e.toGlobalCoord($e.dataToCoord(_n.value)),color:_n.color}}),Ie=xe.length,Ve=pe.outerColors.slice();Ie&&xe[0].coord>xe[Ie-1].coord&&(xe.reverse(),Ve.reverse());var ze=clipColorStops(xe,ue==="x"?ie.getWidth():ie.getHeight()),Ue=ze.length;if(!Ue&&Ie)return xe[0].coord<0?Ve[1]?Ve[1]:xe[Ie-1].color:Ve[0]?Ve[0]:xe[0].color;var qe=10,Et=ze[0].coord-qe,Lt=ze[Ue-1].coord+qe,hn=Lt-Et;if(hn<.001)return"transparent";each$c(ze,function(_n){_n.offset=(_n.coord-Et)/hn}),ze.push({offset:Ue?ze[Ue-1].offset:.5,color:Ve[1]||"transparent"}),ze.unshift({offset:Ue?ze[0].offset:.5,color:Ve[0]||"transparent"});var vn=new LinearGradient$1(0,0,0,0,ze,!0);return vn[ue]=Et,vn[ue+"2"]=Lt,vn}}}function getIsIgnoreFunc($,z,ie){var le=$.get("showAllSymbol"),ue=le==="auto";if(!(le&&!ue)){var pe=ie.getAxesByScale("ordinal")[0];if(pe&&!(ue&&canShowAllSymbolForCategory(pe,z))){var _e=z.mapDimension(pe.dim),Ce={};return each$c(pe.getViewLabels(),function($e){var xe=pe.scale.getRawOrdinalNumber($e.tickValue);Ce[xe]=1}),function($e){return!Ce.hasOwnProperty(z.get(_e,$e))}}}}function canShowAllSymbolForCategory($,z){var ie=$.getExtent(),le=Math.abs(ie[1]-ie[0])/$.scale.count();isNaN(le)&&(le=0);for(var ue=z.count(),pe=Math.max(1,Math.round(ue/5)),_e=0;_e<ue;_e+=pe)if(SymbolClz.getSymbolSize(z,_e)[$.isHorizontal()?1:0]*1.5>le)return!1;return!0}function isPointNull($,z){return isNaN($)||isNaN(z)}function getLastIndexNotNull($){for(var z=$.length/2;z>0&&isPointNull($[z*2-2],$[z*2-1]);z--);return z-1}function getPointAtIndex($,z){return[$[z*2],$[z*2+1]]}function getIndexRange($,z,ie){for(var le=$.length/2,ue=ie==="x"?0:1,pe,_e,Ce=0,$e=-1,xe=0;xe<le;xe++)if(_e=$[xe*2+ue],!(isNaN(_e)||isNaN($[xe*2+1-ue]))){if(xe===0){pe=_e;continue}if(pe<=z&&_e>=z||pe>=z&&_e<=z){$e=xe;break}Ce=xe,pe=_e}return{range:[Ce,$e],t:(z-pe)/(_e-pe)}}function anyStateShowEndLabel($){if($.get(["endLabel","show"]))return!0;for(var z=0;z<SPECIAL_STATES.length;z++)if($.get([SPECIAL_STATES[z],"endLabel","show"]))return!0;return!1}function createLineClipPath($,z,ie,le){if(isCoordinateSystemType(z,"cartesian2d")){var ue=le.getModel("endLabel"),pe=ue.get("valueAnimation"),_e=le.getData(),Ce={lastFrameIndex:0},$e=anyStateShowEndLabel(le)?function(Ue,qe){$._endLabelOnDuring(Ue,qe,_e,Ce,pe,ue,z)}:null,xe=z.getBaseAxis().isHorizontal(),Ie=createGridClipPath(z,ie,le,function(){var Ue=$._endLabel;Ue&&ie&&Ce.originalX!=null&&Ue.attr({x:Ce.originalX,y:Ce.originalY})},$e);if(!le.get("clip",!0)){var Ve=Ie.shape,ze=Math.max(Ve.width,Ve.height);xe?(Ve.y-=ze,Ve.height+=ze*2):(Ve.x-=ze,Ve.width+=ze*2)}return $e&&$e(1,Ie),Ie}else return createPolarClipPath(z,ie,le)}function getEndLabelStateSpecified($,z){var ie=z.getBaseAxis(),le=ie.isHorizontal(),ue=ie.inverse,pe=le?ue?"right":"left":"center",_e=le?"middle":ue?"top":"bottom";return{normal:{align:$.get("align")||pe,verticalAlign:$.get("verticalAlign")||_e}}}var LineView=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.init=function(){var ie=new Group$3,le=new SymbolDraw$1;this.group.add(le.group),this._symbolDraw=le,this._lineGroup=ie},z.prototype.render=function(ie,le,ue){var pe=this,_e=ie.coordinateSystem,Ce=this.group,$e=ie.getData(),xe=ie.getModel("lineStyle"),Ie=ie.getModel("areaStyle"),Ve=$e.getLayout("points")||[],ze=_e.type==="polar",Ue=this._coordSys,qe=this._symbolDraw,Et=this._polyline,Lt=this._polygon,hn=this._lineGroup,vn=!le.ssr&&ie.isAnimationEnabled(),_n=!Ie.isEmpty(),bn=Ie.get("origin"),Cn=prepareDataCoordInfo(_e,$e,bn),Sn=_n&&getStackedOnPoints(_e,$e,Cn),En=ie.get("showSymbol"),wn=ie.get("connectNulls"),Tn=En&&!ze&&getIsIgnoreFunc(ie,$e,_e),kn=this._data;kn&&kn.eachItemGraphicEl(function(ir,Yn){ir.__temp&&(Ce.remove(ir),kn.setItemGraphicEl(Yn,null))}),En||qe.remove(),Ce.add(hn);var xn=ze?!1:ie.get("step"),Pn;_e&&_e.getArea&&ie.get("clip",!0)&&(Pn=_e.getArea(),Pn.width!=null?(Pn.x-=.1,Pn.y-=.1,Pn.width+=.2,Pn.height+=.2):Pn.r0&&(Pn.r0-=.5,Pn.r+=.5)),this._clipShapeForSymbol=Pn;var An=getVisualGradient($e,_e,ue)||$e.getVisual("style")[$e.getVisual("drawType")];if(!(Et&&Ue.type===_e.type&&xn===this._step))En&&qe.updateData($e,{isIgnore:Tn,clipShape:Pn,disableAnimation:!0,getSymbolPoint:function(ir){return[Ve[ir*2],Ve[ir*2+1]]}}),vn&&this._initSymbolLabelAnimation($e,_e,Pn),xn&&(Ve=turnPointsIntoStep(Ve,_e,xn,wn),Sn&&(Sn=turnPointsIntoStep(Sn,_e,xn,wn))),Et=this._newPolyline(Ve),_n?Lt=this._newPolygon(Ve,Sn):Lt&&(hn.remove(Lt),Lt=this._polygon=null),ze||this._initOrUpdateEndLabel(ie,_e,convertToColorString(An)),hn.setClipPath(createLineClipPath(this,_e,!0,ie));else{_n&&!Lt?Lt=this._newPolygon(Ve,Sn):Lt&&!_n&&(hn.remove(Lt),Lt=this._polygon=null),ze||this._initOrUpdateEndLabel(ie,_e,convertToColorString(An));var In=hn.getClipPath();if(In){var Fn=createLineClipPath(this,_e,!1,ie);initProps(In,{shape:Fn.shape},ie)}else hn.setClipPath(createLineClipPath(this,_e,!0,ie));En&&qe.updateData($e,{isIgnore:Tn,clipShape:Pn,disableAnimation:!0,getSymbolPoint:function(ir){return[Ve[ir*2],Ve[ir*2+1]]}}),(!isPointsSame(this._stackedOnPoints,Sn)||!isPointsSame(this._points,Ve))&&(vn?this._doUpdateAnimation($e,Sn,_e,ue,xn,bn,wn):(xn&&(Ve=turnPointsIntoStep(Ve,_e,xn,wn),Sn&&(Sn=turnPointsIntoStep(Sn,_e,xn,wn))),Et.setShape({points:Ve}),Lt&&Lt.setShape({points:Ve,stackedOnPoints:Sn})))}var Dn=ie.getModel("emphasis"),On=Dn.get("focus"),Vn=Dn.get("blurScope"),Mn=Dn.get("disabled");if(Et.useStyle(defaults(xe.getLineStyle(),{fill:"none",stroke:An,lineJoin:"bevel"})),setStatesStylesFromModel(Et,ie,"lineStyle"),Et.style.lineWidth>0&&ie.get(["emphasis","lineStyle","width"])==="bolder"){var zn=Et.getState("emphasis").style;zn.lineWidth=+Et.style.lineWidth+1}getECData(Et).seriesIndex=ie.seriesIndex,toggleHoverEmphasis(Et,On,Vn,Mn);var Kn=getSmooth(ie.get("smooth")),Hn=ie.get("smoothMonotone");if(Et.setShape({smooth:Kn,smoothMonotone:Hn,connectNulls:wn}),Lt){var Xn=$e.getCalculationInfo("stackedOnSeries"),lr=0;Lt.useStyle(defaults(Ie.getAreaStyle(),{fill:An,opacity:.7,lineJoin:"bevel",decal:$e.getVisual("style").decal})),Xn&&(lr=getSmooth(Xn.get("smooth"))),Lt.setShape({smooth:Kn,stackedOnSmooth:lr,smoothMonotone:Hn,connectNulls:wn}),setStatesStylesFromModel(Lt,ie,"areaStyle"),getECData(Lt).seriesIndex=ie.seriesIndex,toggleHoverEmphasis(Lt,On,Vn,Mn)}var yr=function(ir){pe._changePolyState(ir)};$e.eachItemGraphicEl(function(ir){ir&&(ir.onHoverStateChange=yr)}),this._polyline.onHoverStateChange=yr,this._data=$e,this._coordSys=_e,this._stackedOnPoints=Sn,this._points=Ve,this._step=xn,this._valueOrigin=bn,ie.get("triggerLineEvent")&&(this.packEventData(ie,Et),Lt&&this.packEventData(ie,Lt))},z.prototype.packEventData=function(ie,le){getECData(le).eventData={componentType:"series",componentSubType:"line",componentIndex:ie.componentIndex,seriesIndex:ie.seriesIndex,seriesName:ie.name,seriesType:"line"}},z.prototype.highlight=function(ie,le,ue,pe){var _e=ie.getData(),Ce=queryDataIndex(_e,pe);if(this._changePolyState("emphasis"),!(Ce instanceof Array)&&Ce!=null&&Ce>=0){var $e=_e.getLayout("points"),xe=_e.getItemGraphicEl(Ce);if(!xe){var Ie=$e[Ce*2],Ve=$e[Ce*2+1];if(isNaN(Ie)||isNaN(Ve)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(Ie,Ve))return;var ze=ie.get("zlevel")||0,Ue=ie.get("z")||0;xe=new SymbolClz(_e,Ce),xe.x=Ie,xe.y=Ve,xe.setZ(ze,Ue);var qe=xe.getSymbolPath().getTextContent();qe&&(qe.zlevel=ze,qe.z=Ue,qe.z2=this._polyline.z2+1),xe.__temp=!0,_e.setItemGraphicEl(Ce,xe),xe.stopSymbolAnimation(!0),this.group.add(xe)}xe.highlight()}else ChartView$1.prototype.highlight.call(this,ie,le,ue,pe)},z.prototype.downplay=function(ie,le,ue,pe){var _e=ie.getData(),Ce=queryDataIndex(_e,pe);if(this._changePolyState("normal"),Ce!=null&&Ce>=0){var $e=_e.getItemGraphicEl(Ce);$e&&($e.__temp?(_e.setItemGraphicEl(Ce,null),this.group.remove($e)):$e.downplay())}else ChartView$1.prototype.downplay.call(this,ie,le,ue,pe)},z.prototype._changePolyState=function(ie){var le=this._polygon;setStatesFlag(this._polyline,ie),le&&setStatesFlag(le,ie)},z.prototype._newPolyline=function(ie){var le=this._polyline;return le&&this._lineGroup.remove(le),le=new ECPolyline({shape:{points:ie},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(le),this._polyline=le,le},z.prototype._newPolygon=function(ie,le){var ue=this._polygon;return ue&&this._lineGroup.remove(ue),ue=new ECPolygon({shape:{points:ie,stackedOnPoints:le},segmentIgnoreThreshold:2}),this._lineGroup.add(ue),this._polygon=ue,ue},z.prototype._initSymbolLabelAnimation=function(ie,le,ue){var pe,_e,Ce=le.getBaseAxis(),$e=Ce.inverse;le.type==="cartesian2d"?(pe=Ce.isHorizontal(),_e=!1):le.type==="polar"&&(pe=Ce.dim==="angle",_e=!0);var xe=ie.hostModel,Ie=xe.get("animationDuration");isFunction(Ie)&&(Ie=Ie(null));var Ve=xe.get("animationDelay")||0,ze=isFunction(Ve)?Ve(null):Ve;ie.eachItemGraphicEl(function(Ue,qe){var Et=Ue;if(Et){var Lt=[Ue.x,Ue.y],hn=void 0,vn=void 0,_n=void 0;if(ue)if(_e){var bn=ue,Cn=le.pointToCoord(Lt);pe?(hn=bn.startAngle,vn=bn.endAngle,_n=-Cn[1]/180*Math.PI):(hn=bn.r0,vn=bn.r,_n=Cn[0])}else{var Sn=ue;pe?(hn=Sn.x,vn=Sn.x+Sn.width,_n=Ue.x):(hn=Sn.y+Sn.height,vn=Sn.y,_n=Ue.y)}var En=vn===hn?0:(_n-hn)/(vn-hn);$e&&(En=1-En);var wn=isFunction(Ve)?Ve(qe):Ie*En+ze,Tn=Et.getSymbolPath(),kn=Tn.getTextContent();Et.attr({scaleX:0,scaleY:0}),Et.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:wn}),kn&&kn.animateFrom({style:{opacity:0}},{duration:300,delay:wn}),Tn.disableLabelAnimation=!0}})},z.prototype._initOrUpdateEndLabel=function(ie,le,ue){var pe=ie.getModel("endLabel");if(anyStateShowEndLabel(ie)){var _e=ie.getData(),Ce=this._polyline,$e=_e.getLayout("points");if(!$e){Ce.removeTextContent(),this._endLabel=null;return}var xe=this._endLabel;xe||(xe=this._endLabel=new ZRText$1({z2:200}),xe.ignoreClip=!0,Ce.setTextContent(this._endLabel),Ce.disableLabelAnimation=!0);var Ie=getLastIndexNotNull($e);Ie>=0&&(setLabelStyle(Ce,getLabelStatesModels(ie,"endLabel"),{inheritColor:ue,labelFetcher:ie,labelDataIndex:Ie,defaultText:function(Ve,ze,Ue){return Ue!=null?getDefaultInterpolatedLabel(_e,Ue):getDefaultLabel(_e,Ve)},enableTextSetter:!0},getEndLabelStateSpecified(pe,le)),Ce.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},z.prototype._endLabelOnDuring=function(ie,le,ue,pe,_e,Ce,$e){var xe=this._endLabel,Ie=this._polyline;if(xe){ie<1&&pe.originalX==null&&(pe.originalX=xe.x,pe.originalY=xe.y);var Ve=ue.getLayout("points"),ze=ue.hostModel,Ue=ze.get("connectNulls"),qe=Ce.get("precision"),Et=Ce.get("distance")||0,Lt=$e.getBaseAxis(),hn=Lt.isHorizontal(),vn=Lt.inverse,_n=le.shape,bn=vn?hn?_n.x:_n.y+_n.height:hn?_n.x+_n.width:_n.y,Cn=(hn?Et:0)*(vn?-1:1),Sn=(hn?0:-Et)*(vn?-1:1),En=hn?"x":"y",wn=getIndexRange(Ve,bn,En),Tn=wn.range,kn=Tn[1]-Tn[0],xn=void 0;if(kn>=1){if(kn>1&&!Ue){var Pn=getPointAtIndex(Ve,Tn[0]);xe.attr({x:Pn[0]+Cn,y:Pn[1]+Sn}),_e&&(xn=ze.getRawValue(Tn[0]))}else{var Pn=Ie.getPointOn(bn,En);Pn&&xe.attr({x:Pn[0]+Cn,y:Pn[1]+Sn});var An=ze.getRawValue(Tn[0]),In=ze.getRawValue(Tn[1]);_e&&(xn=interpolateRawValues(ue,qe,An,In,wn.t))}pe.lastFrameIndex=Tn[0]}else{var Fn=ie===1||pe.lastFrameIndex>0?Tn[0]:0,Pn=getPointAtIndex(Ve,Fn);_e&&(xn=ze.getRawValue(Fn)),xe.attr({x:Pn[0]+Cn,y:Pn[1]+Sn})}_e&&labelInner(xe).setLabelText(xn)}},z.prototype._doUpdateAnimation=function(ie,le,ue,pe,_e,Ce,$e){var xe=this._polyline,Ie=this._polygon,Ve=ie.hostModel,ze=lineAnimationDiff(this._data,ie,this._stackedOnPoints,le,this._coordSys,ue,this._valueOrigin),Ue=ze.current,qe=ze.stackedOnCurrent,Et=ze.next,Lt=ze.stackedOnNext;if(_e&&(Ue=turnPointsIntoStep(ze.current,ue,_e,$e),qe=turnPointsIntoStep(ze.stackedOnCurrent,ue,_e,$e),Et=turnPointsIntoStep(ze.next,ue,_e,$e),Lt=turnPointsIntoStep(ze.stackedOnNext,ue,_e,$e)),getBoundingDiff(Ue,Et)>3e3||Ie&&getBoundingDiff(qe,Lt)>3e3){xe.stopAnimation(),xe.setShape({points:Et}),Ie&&(Ie.stopAnimation(),Ie.setShape({points:Et,stackedOnPoints:Lt}));return}xe.shape.__points=ze.current,xe.shape.points=Ue;var hn={shape:{points:Et}};ze.current!==Ue&&(hn.shape.__points=ze.next),xe.stopAnimation(),updateProps$1(xe,hn,Ve),Ie&&(Ie.setShape({points:Ue,stackedOnPoints:qe}),Ie.stopAnimation(),updateProps$1(Ie,{shape:{stackedOnPoints:Lt}},Ve),xe.shape.points!==Ie.shape.points&&(Ie.shape.points=xe.shape.points));for(var vn=[],_n=ze.status,bn=0;bn<_n.length;bn++){var Cn=_n[bn].cmd;if(Cn==="="){var Sn=ie.getItemGraphicEl(_n[bn].idx1);Sn&&vn.push({el:Sn,ptIdx:bn})}}xe.animators&&xe.animators.length&&xe.animators[0].during(function(){Ie&&Ie.dirtyShape();for(var En=xe.shape.__points,wn=0;wn<vn.length;wn++){var Tn=vn[wn].el,kn=vn[wn].ptIdx*2;Tn.x=En[kn],Tn.y=En[kn+1],Tn.markRedraw()}})},z.prototype.remove=function(ie){var le=this.group,ue=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),ue&&ue.eachItemGraphicEl(function(pe,_e){pe.__temp&&(le.remove(pe),ue.setItemGraphicEl(_e,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},z.type="line",z}(ChartView$1);const LineView$1=LineView;function pointsLayout($,z){return{seriesType:$,plan:createRenderPlanner(),reset:function(ie){var le=ie.getData(),ue=ie.coordinateSystem,pe=ie.pipelineContext,_e=z||pe.large;if(ue){var Ce=map$2(ue.dimensions,function(Ue){return le.mapDimension(Ue)}).slice(0,2),$e=Ce.length,xe=le.getCalculationInfo("stackResultDimension");isDimensionStacked(le,Ce[0])&&(Ce[0]=xe),isDimensionStacked(le,Ce[1])&&(Ce[1]=xe);var Ie=le.getStore(),Ve=le.getDimensionIndex(Ce[0]),ze=le.getDimensionIndex(Ce[1]);return $e&&{progress:function(Ue,qe){for(var Et=Ue.end-Ue.start,Lt=_e&&createFloat32Array(Et*$e),hn=[],vn=[],_n=Ue.start,bn=0;_n<Ue.end;_n++){var Cn=void 0;if($e===1){var Sn=Ie.get(Ve,_n);Cn=ue.dataToPoint(Sn,null,vn)}else hn[0]=Ie.get(Ve,_n),hn[1]=Ie.get(ze,_n),Cn=ue.dataToPoint(hn,null,vn);_e?(Lt[bn++]=Cn[0],Lt[bn++]=Cn[1]):qe.setItemLayout(_n,Cn.slice())}_e&&qe.setLayout("points",Lt)}}}}}}var samplers={average:function($){for(var z=0,ie=0,le=0;le<$.length;le++)isNaN($[le])||(z+=$[le],ie++);return ie===0?NaN:z/ie},sum:function($){for(var z=0,ie=0;ie<$.length;ie++)z+=$[ie]||0;return z},max:function($){for(var z=-1/0,ie=0;ie<$.length;ie++)$[ie]>z&&(z=$[ie]);return isFinite(z)?z:NaN},min:function($){for(var z=1/0,ie=0;ie<$.length;ie++)$[ie]<z&&(z=$[ie]);return isFinite(z)?z:NaN},nearest:function($){return $[0]}},indexSampler=function($){return Math.round($.length/2)};function dataSample($){return{seriesType:$,reset:function(z,ie,le){var ue=z.getData(),pe=z.get("sampling"),_e=z.coordinateSystem,Ce=ue.count();if(Ce>10&&_e.type==="cartesian2d"&&pe){var $e=_e.getBaseAxis(),xe=_e.getOtherAxis($e),Ie=$e.getExtent(),Ve=le.getDevicePixelRatio(),ze=Math.abs(Ie[1]-Ie[0])*(Ve||1),Ue=Math.round(Ce/ze);if(isFinite(Ue)&&Ue>1){pe==="lttb"&&z.setData(ue.lttbDownSample(ue.mapDimension(xe.dim),1/Ue));var qe=void 0;isString(pe)?qe=samplers[pe]:isFunction(pe)&&(qe=pe),qe&&z.setData(ue.downSample(ue.mapDimension(xe.dim),1/Ue,qe,indexSampler))}}}}}function install$j($){$.registerChartView(LineView$1),$.registerSeriesModel(LineSeries),$.registerLayout(pointsLayout("line",!0)),$.registerVisual({seriesType:"line",reset:function(z){var ie=z.getData(),le=z.getModel("lineStyle").getLineStyle();le&&!le.stroke&&(le.stroke=ie.getVisual("style").fill),ie.setVisual("legendLineStyle",le)}}),$.registerProcessor($.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.getInitialData=function(ie,le){return createSeriesData(null,this,{useEncodeDefaulter:!0})},z.prototype.getMarkerPosition=function(ie,le,ue){var pe=this.coordinateSystem;if(pe&&pe.clampData){var _e=pe.clampData(ie),Ce=pe.dataToPoint(_e);if(ue)each$c(pe.getAxes(),function(ze,Ue){if(ze.type==="category"&&le!=null){var qe=ze.getTicksCoords(),Et=_e[Ue],Lt=le[Ue]==="x1"||le[Ue]==="y1";if(Lt&&(Et+=1),qe.length<2)return;if(qe.length===2){Ce[Ue]=ze.toGlobalCoord(ze.getExtent()[Lt?1:0]);return}for(var hn=void 0,vn=void 0,_n=1,bn=0;bn<qe.length;bn++){var Cn=qe[bn].coord,Sn=bn===qe.length-1?qe[bn-1].tickValue+_n:qe[bn].tickValue;if(Sn===Et){vn=Cn;break}else if(Sn<Et)hn=Cn;else if(hn!=null&&Sn>Et){vn=(Cn+hn)/2;break}bn===1&&(_n=Sn-qe[0].tickValue)}vn==null&&(hn?hn&&(vn=qe[qe.length-1].coord):vn=qe[0].coord),Ce[Ue]=ze.toGlobalCoord(vn)}});else{var $e=this.getData(),xe=$e.getLayout("offset"),Ie=$e.getLayout("size"),Ve=pe.getBaseAxis().isHorizontal()?0:1;Ce[Ve]+=xe+Ie/2}return Ce}return[NaN,NaN]},z.type="series.__base_bar__",z.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},z}(SeriesModel$1);SeriesModel$1.registerClass(BaseBarSeriesModel);const BaseBarSeriesModel$1=BaseBarSeriesModel;var BarSeriesModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},z.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},z.prototype.getProgressiveThreshold=function(){var ie=this.get("progressiveThreshold"),le=this.get("largeThreshold");return le>ie&&(ie=le),ie},z.prototype.brushSelector=function(ie,le,ue){return ue.rect(le.getItemLayout(ie))},z.type="series.bar",z.dependencies=["grid","polar"],z.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}),z}(BaseBarSeriesModel$1);const BarSeries=BarSeriesModel;var SausageShape=function(){function $(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return $}(),SausagePath=function($){__extends(z,$);function z(ie){var le=$.call(this,ie)||this;return le.type="sausage",le}return z.prototype.getDefaultShape=function(){return new SausageShape},z.prototype.buildPath=function(ie,le){var ue=le.cx,pe=le.cy,_e=Math.max(le.r0||0,0),Ce=Math.max(le.r,0),$e=(Ce-_e)*.5,xe=_e+$e,Ie=le.startAngle,Ve=le.endAngle,ze=le.clockwise,Ue=Math.PI*2,qe=ze?Ve-Ie<Ue:Ie-Ve<Ue;qe||(Ie=Ve-(ze?Ue:-Ue));var Et=Math.cos(Ie),Lt=Math.sin(Ie),hn=Math.cos(Ve),vn=Math.sin(Ve);qe?(ie.moveTo(Et*_e+ue,Lt*_e+pe),ie.arc(Et*xe+ue,Lt*xe+pe,$e,-Math.PI+Ie,Ie,!ze)):ie.moveTo(Et*Ce+ue,Lt*Ce+pe),ie.arc(ue,pe,Ce,Ie,Ve,!ze),ie.arc(hn*xe+ue,vn*xe+pe,$e,Ve-Math.PI*2,Ve-Math.PI,!ze),_e!==0&&ie.arc(ue,pe,_e,Ve,Ie,ze)},z}(Path$1);const Sausage=SausagePath;function createSectorCalculateTextPosition($,z){z=z||{};var ie=z.isRoundCap;return function(le,ue,pe){var _e=ue.position;if(!_e||_e instanceof Array)return calculateTextPosition(le,ue,pe);var Ce=$(_e),$e=ue.distance!=null?ue.distance:5,xe=this.shape,Ie=xe.cx,Ve=xe.cy,ze=xe.r,Ue=xe.r0,qe=(ze+Ue)/2,Et=xe.startAngle,Lt=xe.endAngle,hn=(Et+Lt)/2,vn=ie?Math.abs(ze-Ue)/2:0,_n=Math.cos,bn=Math.sin,Cn=Ie+ze*_n(Et),Sn=Ve+ze*bn(Et),En="left",wn="top";switch(Ce){case"startArc":Cn=Ie+(Ue-$e)*_n(hn),Sn=Ve+(Ue-$e)*bn(hn),En="center",wn="top";break;case"insideStartArc":Cn=Ie+(Ue+$e)*_n(hn),Sn=Ve+(Ue+$e)*bn(hn),En="center",wn="bottom";break;case"startAngle":Cn=Ie+qe*_n(Et)+adjustAngleDistanceX(Et,$e+vn,!1),Sn=Ve+qe*bn(Et)+adjustAngleDistanceY(Et,$e+vn,!1),En="right",wn="middle";break;case"insideStartAngle":Cn=Ie+qe*_n(Et)+adjustAngleDistanceX(Et,-$e+vn,!1),Sn=Ve+qe*bn(Et)+adjustAngleDistanceY(Et,-$e+vn,!1),En="left",wn="middle";break;case"middle":Cn=Ie+qe*_n(hn),Sn=Ve+qe*bn(hn),En="center",wn="middle";break;case"endArc":Cn=Ie+(ze+$e)*_n(hn),Sn=Ve+(ze+$e)*bn(hn),En="center",wn="bottom";break;case"insideEndArc":Cn=Ie+(ze-$e)*_n(hn),Sn=Ve+(ze-$e)*bn(hn),En="center",wn="top";break;case"endAngle":Cn=Ie+qe*_n(Lt)+adjustAngleDistanceX(Lt,$e+vn,!0),Sn=Ve+qe*bn(Lt)+adjustAngleDistanceY(Lt,$e+vn,!0),En="left",wn="middle";break;case"insideEndAngle":Cn=Ie+qe*_n(Lt)+adjustAngleDistanceX(Lt,-$e+vn,!0),Sn=Ve+qe*bn(Lt)+adjustAngleDistanceY(Lt,-$e+vn,!0),En="right",wn="middle";break;default:return calculateTextPosition(le,ue,pe)}return le=le||{},le.x=Cn,le.y=Sn,le.align=En,le.verticalAlign=wn,le}}function setSectorTextRotation($,z,ie,le){if(isNumber(le)){$.setTextConfig({rotation:le});return}else if(isArray$1(z)){$.setTextConfig({rotation:0});return}var ue=$.shape,pe=ue.clockwise?ue.startAngle:ue.endAngle,_e=ue.clockwise?ue.endAngle:ue.startAngle,Ce=(pe+_e)/2,$e,xe=ie(z);switch(xe){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":$e=Ce;break;case"startAngle":case"insideStartAngle":$e=pe;break;case"endAngle":case"insideEndAngle":$e=_e;break;default:$.setTextConfig({rotation:0});return}var Ie=Math.PI*1.5-$e;xe==="middle"&&Ie>Math.PI/2&&Ie<Math.PI*1.5&&(Ie-=Math.PI),$.setTextConfig({rotation:Ie})}function adjustAngleDistanceX($,z,ie){return z*Math.sin($)*(ie?-1:1)}function adjustAngleDistanceY($,z,ie){return z*Math.cos($)*(ie?1:-1)}function getSectorCornerRadius($,z,ie){var le=$.get("borderRadius");if(le==null)return ie?{cornerRadius:0}:null;isArray$1(le)||(le=[le,le,le,le]);var ue=Math.abs(z.r||0-z.r0||0);return{cornerRadius:map$2(le,function(pe){return parsePercent$1(pe,ue)})}}var mathMax$2=Math.max,mathMin$2=Math.min;function getClipArea($,z){var ie=$.getArea&&$.getArea();if(isCoordinateSystemType($,"cartesian2d")){var le=$.getBaseAxis();if(le.type!=="category"||!le.onBand){var ue=z.getLayout("bandWidth");le.isHorizontal()?(ie.x-=ue,ie.width+=ue*2):(ie.y-=ue,ie.height+=ue*2)}}return ie}var BarView=function($){__extends(z,$);function z(){var ie=$.call(this)||this;return ie.type=z.type,ie._isFirstFrame=!0,ie}return z.prototype.render=function(ie,le,ue,pe){this._model=ie,this._removeOnRenderedListener(ue),this._updateDrawMode(ie);var _e=ie.get("coordinateSystem");(_e==="cartesian2d"||_e==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(ie,le,ue):this._renderNormal(ie,le,ue,pe))},z.prototype.incrementalPrepareRender=function(ie){this._clear(),this._updateDrawMode(ie),this._updateLargeClip(ie)},z.prototype.incrementalRender=function(ie,le){this._progressiveEls=[],this._incrementalRenderLarge(ie,le)},z.prototype.eachRendered=function(ie){traverseElements(this._progressiveEls||this.group,ie)},z.prototype._updateDrawMode=function(ie){var le=ie.pipelineContext.large;(this._isLargeDraw==null||le!==this._isLargeDraw)&&(this._isLargeDraw=le,this._clear())},z.prototype._renderNormal=function(ie,le,ue,pe){var _e=this.group,Ce=ie.getData(),$e=this._data,xe=ie.coordinateSystem,Ie=xe.getBaseAxis(),Ve;xe.type==="cartesian2d"?Ve=Ie.isHorizontal():xe.type==="polar"&&(Ve=Ie.dim==="angle");var ze=ie.isAnimationEnabled()?ie:null,Ue=shouldRealtimeSort(ie,xe);Ue&&this._enableRealtimeSort(Ue,Ce,ue);var qe=ie.get("clip",!0)||Ue,Et=getClipArea(xe,Ce);_e.removeClipPath();var Lt=ie.get("roundCap",!0),hn=ie.get("showBackground",!0),vn=ie.getModel("backgroundStyle"),_n=vn.get("borderRadius")||0,bn=[],Cn=this._backgroundEls,Sn=pe&&pe.isInitSort,En=pe&&pe.type==="changeAxisOrder";function wn(xn){var Pn=getLayout[xe.type](Ce,xn),An=createBackgroundEl(xe,Ve,Pn);return An.useStyle(vn.getItemStyle()),xe.type==="cartesian2d"?An.setShape("r",_n):An.setShape("cornerRadius",_n),bn[xn]=An,An}Ce.diff($e).add(function(xn){var Pn=Ce.getItemModel(xn),An=getLayout[xe.type](Ce,xn,Pn);if(hn&&wn(xn),!(!Ce.hasValue(xn)||!isValidLayout[xe.type](An))){var In=!1;qe&&(In=clip[xe.type](Et,An));var Fn=elementCreator[xe.type](ie,Ce,xn,An,Ve,ze,Ie.model,!1,Lt);Ue&&(Fn.forceLabelAnimation=!0),updateStyle(Fn,Ce,xn,Pn,An,ie,Ve,xe.type==="polar"),Sn?Fn.attr({shape:An}):Ue?updateRealtimeAnimation(Ue,ze,Fn,An,xn,Ve,!1,!1):initProps(Fn,{shape:An},ie,xn),Ce.setItemGraphicEl(xn,Fn),_e.add(Fn),Fn.ignore=In}}).update(function(xn,Pn){var An=Ce.getItemModel(xn),In=getLayout[xe.type](Ce,xn,An);if(hn){var Fn=void 0;Cn.length===0?Fn=wn(Pn):(Fn=Cn[Pn],Fn.useStyle(vn.getItemStyle()),xe.type==="cartesian2d"?Fn.setShape("r",_n):Fn.setShape("cornerRadius",_n),bn[xn]=Fn);var Dn=getLayout[xe.type](Ce,xn),On=createBackgroundShape(Ve,Dn,xe);updateProps$1(Fn,{shape:On},ze,xn)}var Vn=$e.getItemGraphicEl(Pn);if(!Ce.hasValue(xn)||!isValidLayout[xe.type](In)){_e.remove(Vn);return}var Mn=!1;if(qe&&(Mn=clip[xe.type](Et,In),Mn&&_e.remove(Vn)),Vn?saveOldStyle(Vn):Vn=elementCreator[xe.type](ie,Ce,xn,In,Ve,ze,Ie.model,!!Vn,Lt),Ue&&(Vn.forceLabelAnimation=!0),En){var zn=Vn.getTextContent();if(zn){var Kn=labelInner(zn);Kn.prevValue!=null&&(Kn.prevValue=Kn.value)}}else updateStyle(Vn,Ce,xn,An,In,ie,Ve,xe.type==="polar");Sn?Vn.attr({shape:In}):Ue?updateRealtimeAnimation(Ue,ze,Vn,In,xn,Ve,!0,En):updateProps$1(Vn,{shape:In},ie,xn,null),Ce.setItemGraphicEl(xn,Vn),Vn.ignore=Mn,_e.add(Vn)}).remove(function(xn){var Pn=$e.getItemGraphicEl(xn);Pn&&removeElementWithFadeOut(Pn,ie,xn)}).execute();var Tn=this._backgroundGroup||(this._backgroundGroup=new Group$3);Tn.removeAll();for(var kn=0;kn<bn.length;++kn)Tn.add(bn[kn]);_e.add(Tn),this._backgroundEls=bn,this._data=Ce},z.prototype._renderLarge=function(ie,le,ue){this._clear(),createLarge(ie,this.group),this._updateLargeClip(ie)},z.prototype._incrementalRenderLarge=function(ie,le){this._removeBackground(),createLarge(le,this.group,this._progressiveEls,!0)},z.prototype._updateLargeClip=function(ie){var le=ie.get("clip",!0)&&createClipPath(ie.coordinateSystem,!1,ie),ue=this.group;le?ue.setClipPath(le):ue.removeClipPath()},z.prototype._enableRealtimeSort=function(ie,le,ue){var pe=this;if(le.count()){var _e=ie.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(le,ie,ue),this._isFirstFrame=!1;else{var Ce=function($e){var xe=le.getItemGraphicEl($e),Ie=xe&&xe.shape;return Ie&&Math.abs(_e.isHorizontal()?Ie.height:Ie.width)||0};this._onRendered=function(){pe._updateSortWithinSameData(le,Ce,_e,ue)},ue.getZr().on("rendered",this._onRendered)}}},z.prototype._dataSort=function(ie,le,ue){var pe=[];return ie.each(ie.mapDimension(le.dim),function(_e,Ce){var $e=ue(Ce);$e=$e??NaN,pe.push({dataIndex:Ce,mappedValue:$e,ordinalNumber:_e})}),pe.sort(function(_e,Ce){return Ce.mappedValue-_e.mappedValue}),{ordinalNumbers:map$2(pe,function(_e){return _e.ordinalNumber})}},z.prototype._isOrderChangedWithinSameData=function(ie,le,ue){for(var pe=ue.scale,_e=ie.mapDimension(ue.dim),Ce=Number.MAX_VALUE,$e=0,xe=pe.getOrdinalMeta().categories.length;$e<xe;++$e){var Ie=ie.rawIndexOf(_e,pe.getRawOrdinalNumber($e)),Ve=Ie<0?Number.MIN_VALUE:le(ie.indexOfRawIndex(Ie));if(Ve>Ce)return!0;Ce=Ve}return!1},z.prototype._isOrderDifferentInView=function(ie,le){for(var ue=le.scale,pe=ue.getExtent(),_e=Math.max(0,pe[0]),Ce=Math.min(pe[1],ue.getOrdinalMeta().categories.length-1);_e<=Ce;++_e)if(ie.ordinalNumbers[_e]!==ue.getRawOrdinalNumber(_e))return!0},z.prototype._updateSortWithinSameData=function(ie,le,ue,pe){if(this._isOrderChangedWithinSameData(ie,le,ue)){var _e=this._dataSort(ie,ue,le);this._isOrderDifferentInView(_e,ue)&&(this._removeOnRenderedListener(pe),pe.dispatchAction({type:"changeAxisOrder",componentType:ue.dim+"Axis",axisId:ue.index,sortInfo:_e}))}},z.prototype._dispatchInitSort=function(ie,le,ue){var pe=le.baseAxis,_e=this._dataSort(ie,pe,function(Ce){return ie.get(ie.mapDimension(le.otherAxis.dim),Ce)});ue.dispatchAction({type:"changeAxisOrder",componentType:pe.dim+"Axis",isInitSort:!0,axisId:pe.index,sortInfo:_e})},z.prototype.remove=function(ie,le){this._clear(this._model),this._removeOnRenderedListener(le)},z.prototype.dispose=function(ie,le){this._removeOnRenderedListener(le)},z.prototype._removeOnRenderedListener=function(ie){this._onRendered&&(ie.getZr().off("rendered",this._onRendered),this._onRendered=null)},z.prototype._clear=function(ie){var le=this.group,ue=this._data;ie&&ie.isAnimationEnabled()&&ue&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],ue.eachItemGraphicEl(function(pe){removeElementWithFadeOut(pe,ie,getECData(pe).dataIndex)})):le.removeAll(),this._data=null,this._isFirstFrame=!0},z.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},z.type="bar",z}(ChartView$1),clip={cartesian2d:function($,z){var ie=z.width<0?-1:1,le=z.height<0?-1:1;ie<0&&(z.x+=z.width,z.width=-z.width),le<0&&(z.y+=z.height,z.height=-z.height);var ue=$.x+$.width,pe=$.y+$.height,_e=mathMax$2(z.x,$.x),Ce=mathMin$2(z.x+z.width,ue),$e=mathMax$2(z.y,$.y),xe=mathMin$2(z.y+z.height,pe),Ie=Ce<_e,Ve=xe<$e;return z.x=Ie&&_e>ue?Ce:_e,z.y=Ve&&$e>pe?xe:$e,z.width=Ie?0:Ce-_e,z.height=Ve?0:xe-$e,ie<0&&(z.x+=z.width,z.width=-z.width),le<0&&(z.y+=z.height,z.height=-z.height),Ie||Ve},polar:function($,z){var ie=z.r0<=z.r?1:-1;if(ie<0){var le=z.r;z.r=z.r0,z.r0=le}var ue=mathMin$2(z.r,$.r),pe=mathMax$2(z.r0,$.r0);z.r=ue,z.r0=pe;var _e=ue-pe<0;if(ie<0){var le=z.r;z.r=z.r0,z.r0=le}return _e}},elementCreator={cartesian2d:function($,z,ie,le,ue,pe,_e,Ce,$e){var xe=new Rect$2({shape:extend({},le),z2:1});if(xe.__dataIndex=ie,xe.name="item",pe){var Ie=xe.shape,Ve=ue?"height":"width";Ie[Ve]=0}return xe},polar:function($,z,ie,le,ue,pe,_e,Ce,$e){var xe=!ue&&$e?Sausage:Sector$1,Ie=new xe({shape:le,z2:1});Ie.name="item";var Ve=createPolarPositionMapping(ue);if(Ie.calculateTextPosition=createSectorCalculateTextPosition(Ve,{isRoundCap:xe===Sausage}),pe){var ze=Ie.shape,Ue=ue?"r":"endAngle",qe={};ze[Ue]=ue?le.r0:le.startAngle,qe[Ue]=le[Ue],(Ce?updateProps$1:initProps)(Ie,{shape:qe},pe)}return Ie}};function shouldRealtimeSort($,z){var ie=$.get("realtimeSort",!0),le=z.getBaseAxis();if(ie&&le.type==="category"&&z.type==="cartesian2d")return{baseAxis:le,otherAxis:z.getOtherAxis(le)}}function updateRealtimeAnimation($,z,ie,le,ue,pe,_e,Ce){var $e,xe;pe?(xe={x:le.x,width:le.width},$e={y:le.y,height:le.height}):(xe={y:le.y,height:le.height},$e={x:le.x,width:le.width}),Ce||(_e?updateProps$1:initProps)(ie,{shape:$e},z,ue,null);var Ie=z?$.baseAxis.model:null;(_e?updateProps$1:initProps)(ie,{shape:xe},Ie,ue)}function checkPropertiesNotValid($,z){for(var ie=0;ie<z.length;ie++)if(!isFinite($[z[ie]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function($){return!checkPropertiesNotValid($,rectPropties)},polar:function($){return!checkPropertiesNotValid($,polarPropties)}},getLayout={cartesian2d:function($,z,ie){var le=$.getItemLayout(z),ue=ie?getLineWidth(ie,le):0,pe=le.width>0?1:-1,_e=le.height>0?1:-1;return{x:le.x+pe*ue/2,y:le.y+_e*ue/2,width:le.width-pe*ue,height:le.height-_e*ue}},polar:function($,z,ie){var le=$.getItemLayout(z);return{cx:le.cx,cy:le.cy,r0:le.r0,r:le.r,startAngle:le.startAngle,endAngle:le.endAngle,clockwise:le.clockwise}}};function isZeroOnPolar($){return $.startAngle!=null&&$.endAngle!=null&&$.startAngle===$.endAngle}function createPolarPositionMapping($){return function(z){var ie=z?"Arc":"Angle";return function(le){switch(le){case"start":case"insideStart":case"end":case"insideEnd":return le+ie;default:return le}}}($)}function updateStyle($,z,ie,le,ue,pe,_e,Ce){var $e=z.getItemVisual(ie,"style");if(Ce){if(!pe.get("roundCap")){var Ie=$.shape,Ve=getSectorCornerRadius(le.getModel("itemStyle"),Ie,!0);extend(Ie,Ve),$.setShape(Ie)}}else{var xe=le.get(["itemStyle","borderRadius"])||0;$.setShape("r",xe)}$.useStyle($e);var ze=le.getShallow("cursor");ze&&$.attr("cursor",ze);var Ue=Ce?_e?ue.r>=ue.r0?"endArc":"startArc":ue.endAngle>=ue.startAngle?"endAngle":"startAngle":_e?ue.height>=0?"bottom":"top":ue.width>=0?"right":"left",qe=getLabelStatesModels(le);setLabelStyle($,qe,{labelFetcher:pe,labelDataIndex:ie,defaultText:getDefaultLabel(pe.getData(),ie),inheritColor:$e.fill,defaultOpacity:$e.opacity,defaultOutsidePosition:Ue});var Et=$.getTextContent();if(Ce&&Et){var Lt=le.get(["label","position"]);$.textConfig.inside=Lt==="middle"?!0:null,setSectorTextRotation($,Lt==="outside"?Ue:Lt,createPolarPositionMapping(_e),le.get(["label","rotate"]))}setLabelValueAnimation(Et,qe,pe.getRawValue(ie),function(vn){return getDefaultInterpolatedLabel(z,vn)});var hn=le.getModel(["emphasis"]);toggleHoverEmphasis($,hn.get("focus"),hn.get("blurScope"),hn.get("disabled")),setStatesStylesFromModel($,le),isZeroOnPolar(ue)&&($.style.fill="none",$.style.stroke="none",each$c($.states,function(vn){vn.style&&(vn.style.fill=vn.style.stroke="none")}))}function getLineWidth($,z){var ie=$.get(["itemStyle","borderColor"]);if(!ie||ie==="none")return 0;var le=$.get(["itemStyle","borderWidth"])||0,ue=isNaN(z.width)?Number.MAX_VALUE:Math.abs(z.width),pe=isNaN(z.height)?Number.MAX_VALUE:Math.abs(z.height);return Math.min(le,ue,pe)}var LagePathShape=function(){function $(){}return $}(),LargePath=function($){__extends(z,$);function z(ie){var le=$.call(this,ie)||this;return le.type="largeBar",le}return z.prototype.getDefaultShape=function(){return new LagePathShape},z.prototype.buildPath=function(ie,le){for(var ue=le.points,pe=this.baseDimIdx,_e=1-this.baseDimIdx,Ce=[],$e=[],xe=this.barWidth,Ie=0;Ie<ue.length;Ie+=3)$e[pe]=xe,$e[_e]=ue[Ie+2],Ce[pe]=ue[Ie+pe],Ce[_e]=ue[Ie+_e],ie.rect(Ce[0],Ce[1],$e[0],$e[1])},z}(Path$1);function createLarge($,z,ie,le){var ue=$.getData(),pe=ue.getLayout("valueAxisHorizontal")?1:0,_e=ue.getLayout("largeDataIndices"),Ce=ue.getLayout("size"),$e=$.getModel("backgroundStyle"),xe=ue.getLayout("largeBackgroundPoints");if(xe){var Ie=new LargePath({shape:{points:xe},incremental:!!le,silent:!0,z2:0});Ie.baseDimIdx=pe,Ie.largeDataIndices=_e,Ie.barWidth=Ce,Ie.useStyle($e.getItemStyle()),z.add(Ie),ie&&ie.push(Ie)}var Ve=new LargePath({shape:{points:ue.getLayout("largePoints")},incremental:!!le,ignoreCoarsePointer:!0,z2:1});Ve.baseDimIdx=pe,Ve.largeDataIndices=_e,Ve.barWidth=Ce,z.add(Ve),Ve.useStyle(ue.getVisual("style")),getECData(Ve).seriesIndex=$.seriesIndex,$.get("silent")||(Ve.on("mousedown",largePathUpdateDataIndex),Ve.on("mousemove",largePathUpdateDataIndex)),ie&&ie.push(Ve)}var largePathUpdateDataIndex=throttle(function($){var z=this,ie=largePathFindDataIndex(z,$.offsetX,$.offsetY);getECData(z).dataIndex=ie>=0?ie:null},30,!1);function largePathFindDataIndex($,z,ie){for(var le=$.baseDimIdx,ue=1-le,pe=$.shape.points,_e=$.largeDataIndices,Ce=[],$e=[],xe=$.barWidth,Ie=0,Ve=pe.length/3;Ie<Ve;Ie++){var ze=Ie*3;if($e[le]=xe,$e[ue]=pe[ze+2],Ce[le]=pe[ze+le],Ce[ue]=pe[ze+ue],$e[ue]<0&&(Ce[ue]+=$e[ue],$e[ue]=-$e[ue]),z>=Ce[0]&&z<=Ce[0]+$e[0]&&ie>=Ce[1]&&ie<=Ce[1]+$e[1])return _e[Ie]}return-1}function createBackgroundShape($,z,ie){if(isCoordinateSystemType(ie,"cartesian2d")){var le=z,ue=ie.getArea();return{x:$?le.x:ue.x,y:$?ue.y:le.y,width:$?le.width:ue.width,height:$?ue.height:le.height}}else{var ue=ie.getArea(),pe=z;return{cx:ue.cx,cy:ue.cy,r0:$?ue.r0:pe.r0,r:$?ue.r:pe.r,startAngle:$?pe.startAngle:0,endAngle:$?pe.endAngle:Math.PI*2}}}function createBackgroundEl($,z,ie){var le=$.type==="polar"?Sector$1:Rect$2;return new le({shape:createBackgroundShape(z,ie,$),silent:!0,z2:0})}const BarView$1=BarView;function install$i($){$.registerChartView(BarView$1),$.registerSeriesModel(BarSeries),$.registerLayout($.PRIORITY.VISUAL.LAYOUT,curry$1(layout$2,"bar")),$.registerLayout($.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),$.registerProcessor($.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),$.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(z,ie){var le=z.componentType||"series";ie.eachComponent({mainType:le,query:z},function(ue){z.sortInfo&&ue.axis.setCategorySortInfo(z.sortInfo)})})}var PI2=Math.PI*2,RADIAN$1=Math.PI/180;function getViewRect($,z){return getLayoutRect($.getBoxLayoutParams(),{width:z.getWidth(),height:z.getHeight()})}function getBasicPieLayout($,z){var ie=getViewRect($,z),le=$.get("center"),ue=$.get("radius");isArray$1(ue)||(ue=[0,ue]);var pe=parsePercent(ie.width,z.getWidth()),_e=parsePercent(ie.height,z.getHeight()),Ce=Math.min(pe,_e),$e=parsePercent(ue[0],Ce/2),xe=parsePercent(ue[1],Ce/2),Ie,Ve,ze=$.coordinateSystem;if(ze){var Ue=ze.dataToPoint(le);Ie=Ue[0]||0,Ve=Ue[1]||0}else isArray$1(le)||(le=[le,le]),Ie=parsePercent(le[0],pe)+ie.x,Ve=parsePercent(le[1],_e)+ie.y;return{cx:Ie,cy:Ve,r0:$e,r:xe}}function pieLayout($,z,ie){z.eachSeriesByType($,function(le){var ue=le.getData(),pe=ue.mapDimension("value"),_e=getViewRect(le,ie),Ce=getBasicPieLayout(le,ie),$e=Ce.cx,xe=Ce.cy,Ie=Ce.r,Ve=Ce.r0,ze=-le.get("startAngle")*RADIAN$1,Ue=le.get("minAngle")*RADIAN$1,qe=0;ue.each(pe,function(kn){!isNaN(kn)&&qe++});var Et=ue.getSum(pe),Lt=Math.PI/(Et||qe)*2,hn=le.get("clockwise"),vn=le.get("roseType"),_n=le.get("stillShowZeroSum"),bn=ue.getDataExtent(pe);bn[0]=0;var Cn=PI2,Sn=0,En=ze,wn=hn?1:-1;if(ue.setLayout({viewRect:_e,r:Ie}),ue.each(pe,function(kn,xn){var Pn;if(isNaN(kn)){ue.setItemLayout(xn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:hn,cx:$e,cy:xe,r0:Ve,r:vn?NaN:Ie});return}vn!=="area"?Pn=Et===0&&_n?Lt:kn*Lt:Pn=PI2/qe,Pn<Ue?(Pn=Ue,Cn-=Ue):Sn+=kn;var An=En+wn*Pn;ue.setItemLayout(xn,{angle:Pn,startAngle:En,endAngle:An,clockwise:hn,cx:$e,cy:xe,r0:Ve,r:vn?linearMap$2(kn,bn,[Ve,Ie]):Ie}),En=An}),Cn<PI2&&qe)if(Cn<=.001){var Tn=PI2/qe;ue.each(pe,function(kn,xn){if(!isNaN(kn)){var Pn=ue.getItemLayout(xn);Pn.angle=Tn,Pn.startAngle=ze+wn*xn*Tn,Pn.endAngle=ze+wn*(xn+1)*Tn}})}else Lt=Cn/Sn,En=ze,ue.each(pe,function(kn,xn){if(!isNaN(kn)){var Pn=ue.getItemLayout(xn),An=Pn.angle===Ue?Ue:kn*Lt;Pn.startAngle=En,Pn.endAngle=En+wn*An,En+=wn*An}})})}function dataFilter($){return{seriesType:$,reset:function(z,ie){var le=ie.findComponents({mainType:"legend"});if(!(!le||!le.length)){var ue=z.getData();ue.filterSelf(function(pe){for(var _e=ue.getName(pe),Ce=0;Ce<le.length;Ce++)if(!le[Ce].isSelected(_e))return!1;return!0})}}}}var RADIAN=Math.PI/180;function adjustSingleSide($,z,ie,le,ue,pe,_e,Ce,$e,xe){if($.length<2)return;function Ie(Et){for(var Lt=Et.rB,hn=Lt*Lt,vn=0;vn<Et.list.length;vn++){var _n=Et.list[vn],bn=Math.abs(_n.label.y-ie),Cn=le+_n.len,Sn=Cn*Cn,En=Math.sqrt((1-Math.abs(bn*bn/hn))*Sn),wn=z+(En+_n.len2)*ue,Tn=wn-_n.label.x,kn=_n.targetTextWidth-Tn*ue;constrainTextWidth(_n,kn,!0),_n.label.x=wn}}function Ve(Et){for(var Lt={list:[],maxY:0},hn={list:[],maxY:0},vn=0;vn<Et.length;vn++)if(Et[vn].labelAlignTo==="none"){var _n=Et[vn],bn=_n.label.y>ie?hn:Lt,Cn=Math.abs(_n.label.y-ie);if(Cn>=bn.maxY){var Sn=_n.label.x-z-_n.len2*ue,En=le+_n.len,wn=Math.abs(Sn)<En?Math.sqrt(Cn*Cn/(1-Sn*Sn/En/En)):En;bn.rB=wn,bn.maxY=Cn}bn.list.push(_n)}Ie(Lt),Ie(hn)}for(var ze=$.length,Ue=0;Ue<ze;Ue++)if($[Ue].position==="outer"&&$[Ue].labelAlignTo==="labelLine"){var qe=$[Ue].label.x-xe;$[Ue].linePoints[1][0]+=qe,$[Ue].label.x=xe}shiftLayoutOnY($,$e,$e+_e)&&Ve($)}function avoidOverlap($,z,ie,le,ue,pe,_e,Ce){for(var $e=[],xe=[],Ie=Number.MAX_VALUE,Ve=-Number.MAX_VALUE,ze=0;ze<$.length;ze++){var Ue=$[ze].label;isPositionCenter($[ze])||(Ue.x<z?(Ie=Math.min(Ie,Ue.x),$e.push($[ze])):(Ve=Math.max(Ve,Ue.x),xe.push($[ze])))}for(var ze=0;ze<$.length;ze++){var qe=$[ze];if(!isPositionCenter(qe)&&qe.linePoints){if(qe.labelStyleWidth!=null)continue;var Ue=qe.label,Et=qe.linePoints,Lt=void 0;qe.labelAlignTo==="edge"?Ue.x<z?Lt=Et[2][0]-qe.labelDistance-_e-qe.edgeDistance:Lt=_e+ue-qe.edgeDistance-Et[2][0]-qe.labelDistance:qe.labelAlignTo==="labelLine"?Ue.x<z?Lt=Ie-_e-qe.bleedMargin:Lt=_e+ue-Ve-qe.bleedMargin:Ue.x<z?Lt=Ue.x-_e-qe.bleedMargin:Lt=_e+ue-Ue.x-qe.bleedMargin,qe.targetTextWidth=Lt,constrainTextWidth(qe,Lt)}}adjustSingleSide(xe,z,ie,le,1,ue,pe,_e,Ce,Ve),adjustSingleSide($e,z,ie,le,-1,ue,pe,_e,Ce,Ie);for(var ze=0;ze<$.length;ze++){var qe=$[ze];if(!isPositionCenter(qe)&&qe.linePoints){var Ue=qe.label,Et=qe.linePoints,hn=qe.labelAlignTo==="edge",vn=Ue.style.padding,_n=vn?vn[1]+vn[3]:0,bn=Ue.style.backgroundColor?0:_n,Cn=qe.rect.width+bn,Sn=Et[1][0]-Et[2][0];hn?Ue.x<z?Et[2][0]=_e+qe.edgeDistance+Cn+qe.labelDistance:Et[2][0]=_e+ue-qe.edgeDistance-Cn-qe.labelDistance:(Ue.x<z?Et[2][0]=Ue.x+qe.labelDistance:Et[2][0]=Ue.x-qe.labelDistance,Et[1][0]=Et[2][0]+Sn),Et[1][1]=Et[2][1]=Ue.y}}}function constrainTextWidth($,z,ie){if(ie===void 0&&(ie=!1),$.labelStyleWidth==null){var le=$.label,ue=le.style,pe=$.rect,_e=ue.backgroundColor,Ce=ue.padding,$e=Ce?Ce[1]+Ce[3]:0,xe=ue.overflow,Ie=pe.width+(_e?0:$e);if(z<Ie||ie){var Ve=pe.height;if(xe&&xe.match("break")){le.setStyle("backgroundColor",null),le.setStyle("width",z-$e);var ze=le.getBoundingRect();le.setStyle("width",Math.ceil(ze.width)),le.setStyle("backgroundColor",_e)}else{var Ue=z-$e,qe=z<Ie?Ue:ie?Ue>$.unconstrainedWidth?null:Ue:null;le.setStyle("width",qe)}var Et=le.getBoundingRect();pe.width=Et.width;var Lt=(le.style.margin||0)+2.1;pe.height=Et.height+Lt,pe.y-=(pe.height-Ve)/2}}}function isPositionCenter($){return $.position==="center"}function pieLabelLayout($){var z=$.getData(),ie=[],le,ue,pe=!1,_e=($.get("minShowLabelAngle")||0)*RADIAN,Ce=z.getLayout("viewRect"),$e=z.getLayout("r"),xe=Ce.width,Ie=Ce.x,Ve=Ce.y,ze=Ce.height;function Ue(Sn){Sn.ignore=!0}function qe(Sn){if(!Sn.ignore)return!0;for(var En in Sn.states)if(Sn.states[En].ignore===!1)return!0;return!1}z.each(function(Sn){var En=z.getItemGraphicEl(Sn),wn=En.shape,Tn=En.getTextContent(),kn=En.getTextGuideLine(),xn=z.getItemModel(Sn),Pn=xn.getModel("label"),An=Pn.get("position")||xn.get(["emphasis","label","position"]),In=Pn.get("distanceToLabelLine"),Fn=Pn.get("alignTo"),Dn=parsePercent(Pn.get("edgeDistance"),xe),On=Pn.get("bleedMargin"),Vn=xn.getModel("labelLine"),Mn=Vn.get("length");Mn=parsePercent(Mn,xe);var zn=Vn.get("length2");if(zn=parsePercent(zn,xe),Math.abs(wn.endAngle-wn.startAngle)<_e){each$c(Tn.states,Ue),Tn.ignore=!0,kn&&(each$c(kn.states,Ue),kn.ignore=!0);return}if(qe(Tn)){var Kn=(wn.startAngle+wn.endAngle)/2,Hn=Math.cos(Kn),Xn=Math.sin(Kn),lr,yr,ir,Yn;le=wn.cx,ue=wn.cy;var Gn=An==="inside"||An==="inner";if(An==="center")lr=wn.cx,yr=wn.cy,Yn="center";else{var Wn=(Gn?(wn.r+wn.r0)/2*Hn:wn.r*Hn)+le,Qn=(Gn?(wn.r+wn.r0)/2*Xn:wn.r*Xn)+ue;if(lr=Wn+Hn*3,yr=Qn+Xn*3,!Gn){var fr=Wn+Hn*(Mn+$e-wn.r),jn=Qn+Xn*(Mn+$e-wn.r),Zn=fr+(Hn<0?-1:1)*zn,rr=jn;Fn==="edge"?lr=Hn<0?Ie+Dn:Ie+xe-Dn:lr=Zn+(Hn<0?-In:In),yr=rr,ir=[[Wn,Qn],[fr,jn],[Zn,rr]]}Yn=Gn?"center":Fn==="edge"?Hn>0?"right":"left":Hn>0?"left":"right"}var mr=Math.PI,_r=0,or=Pn.get("rotate");if(isNumber(or))_r=or*(mr/180);else if(An==="center")_r=0;else if(or==="radial"||or===!0){var $r=Hn<0?-Kn+mr:-Kn;_r=$r}else if(or==="tangential"&&An!=="outside"&&An!=="outer"){var gr=Math.atan2(Hn,Xn);gr<0&&(gr=mr*2+gr);var xr=Xn>0;xr&&(gr=mr+gr),_r=gr-mr}if(pe=!!_r,Tn.x=lr,Tn.y=yr,Tn.rotation=_r,Tn.setStyle({verticalAlign:"middle"}),Gn){Tn.setStyle({align:Yn});var cr=Tn.states.select;cr&&(cr.x+=Tn.x,cr.y+=Tn.y)}else{var pr=Tn.getBoundingRect().clone();pr.applyTransform(Tn.getComputedTransform());var sr=(Tn.style.margin||0)+2.1;pr.y-=sr/2,pr.height+=sr,ie.push({label:Tn,labelLine:kn,position:An,len:Mn,len2:zn,minTurnAngle:Vn.get("minTurnAngle"),maxSurfaceAngle:Vn.get("maxSurfaceAngle"),surfaceNormal:new Point$1(Hn,Xn),linePoints:ir,textAlign:Yn,labelDistance:In,labelAlignTo:Fn,edgeDistance:Dn,bleedMargin:On,rect:pr,unconstrainedWidth:pr.width,labelStyleWidth:Tn.style.width})}En.setTextConfig({inside:Gn})}}),!pe&&$.get("avoidLabelOverlap")&&avoidOverlap(ie,le,ue,$e,xe,ze,Ie,Ve);for(var Et=0;Et<ie.length;Et++){var Lt=ie[Et],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,Ue),hn.ignore=!0);var bn=hn.states.select;bn&&(bn.x+=hn.x,bn.y+=hn.y)}if(vn){var Cn=Lt.linePoints;_n||!Cn?(each$c(vn.states,Ue),vn.ignore=!0):(limitTurnAngle(Cn,Lt.minTurnAngle),limitSurfaceAngle(Cn,Lt.surfaceNormal,Lt.maxSurfaceAngle),vn.setShape({points:Cn}),hn.__hostTarget.textGuideLineConfig={anchor:new Point$1(Cn[0][0],Cn[0][1])})}}}var PiePiece=function($){__extends(z,$);function z(ie,le,ue){var pe=$.call(this)||this;pe.z2=2;var _e=new ZRText$1;return pe.setTextContent(_e),pe.updateData(ie,le,ue,!0),pe}return z.prototype.updateData=function(ie,le,ue,pe){var _e=this,Ce=ie.hostModel,$e=ie.getItemModel(le),xe=$e.getModel("emphasis"),Ie=ie.getItemLayout(le),Ve=extend(getSectorCornerRadius($e.getModel("itemStyle"),Ie,!0),Ie);if(isNaN(Ve.startAngle)){_e.setShape(Ve);return}if(pe){_e.setShape(Ve);var ze=Ce.getShallow("animationType");Ce.ecModel.ssr?(initProps(_e,{scaleX:0,scaleY:0},Ce,{dataIndex:le,isFrom:!0}),_e.originX=Ve.cx,_e.originY=Ve.cy):ze==="scale"?(_e.shape.r=Ie.r0,initProps(_e,{shape:{r:Ie.r}},Ce,le)):ue!=null?(_e.setShape({startAngle:ue,endAngle:ue}),initProps(_e,{shape:{startAngle:Ie.startAngle,endAngle:Ie.endAngle}},Ce,le)):(_e.shape.endAngle=Ie.startAngle,updateProps$1(_e,{shape:{endAngle:Ie.endAngle}},Ce,le))}else saveOldStyle(_e),updateProps$1(_e,{shape:Ve},Ce,le);_e.useStyle(ie.getItemVisual(le,"style")),setStatesStylesFromModel(_e,$e);var Ue=(Ie.startAngle+Ie.endAngle)/2,qe=Ce.get("selectedOffset"),Et=Math.cos(Ue)*qe,Lt=Math.sin(Ue)*qe,hn=$e.getShallow("cursor");hn&&_e.attr("cursor",hn),this._updateLabel(Ce,ie,le),_e.ensureState("emphasis").shape=extend({r:Ie.r+(xe.get("scale")&&xe.get("scaleSize")||0)},getSectorCornerRadius(xe.getModel("itemStyle"),Ie)),extend(_e.ensureState("select"),{x:Et,y:Lt,shape:getSectorCornerRadius($e.getModel(["select","itemStyle"]),Ie)}),extend(_e.ensureState("blur"),{shape:getSectorCornerRadius($e.getModel(["blur","itemStyle"]),Ie)});var vn=_e.getTextGuideLine(),_n=_e.getTextContent();vn&&extend(vn.ensureState("select"),{x:Et,y:Lt}),extend(_n.ensureState("select"),{x:Et,y:Lt}),toggleHoverEmphasis(this,xe.get("focus"),xe.get("blurScope"),xe.get("disabled"))},z.prototype._updateLabel=function(ie,le,ue){var pe=this,_e=le.getItemModel(ue),Ce=_e.getModel("labelLine"),$e=le.getItemVisual(ue,"style"),xe=$e&&$e.fill,Ie=$e&&$e.opacity;setLabelStyle(pe,getLabelStatesModels(_e),{labelFetcher:le.hostModel,labelDataIndex:ue,inheritColor:xe,defaultOpacity:Ie,defaultText:ie.getFormattedLabel(ue,"normal")||le.getName(ue)});var Ve=pe.getTextContent();pe.setTextConfig({position:null,rotation:null}),Ve.attr({z2:10});var ze=ie.get(["label","position"]);if(ze!=="outside"&&ze!=="outer")pe.removeTextGuideLine();else{var Ue=this.getTextGuideLine();Ue||(Ue=new Polyline$1,this.setTextGuideLine(Ue)),setLabelLineStyle(this,getLabelLineStatesModels(_e),{stroke:xe,opacity:retrieve3(Ce.get(["lineStyle","opacity"]),Ie,1)})}},z}(Sector$1),PieView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.ignoreLabelLineUpdate=!0,ie}return z.prototype.render=function(ie,le,ue,pe){var _e=ie.getData(),Ce=this._data,$e=this.group,xe;if(!Ce&&_e.count()>0){for(var Ie=_e.getItemLayout(0),Ve=1;isNaN(Ie&&Ie.startAngle)&&Ve<_e.count();++Ve)Ie=_e.getItemLayout(Ve);Ie&&(xe=Ie.startAngle)}if(this._emptyCircleSector&&$e.remove(this._emptyCircleSector),_e.count()===0&&ie.get("showEmptyCircle")){var ze=new Sector$1({shape:getBasicPieLayout(ie,ue)});ze.useStyle(ie.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=ze,$e.add(ze)}_e.diff(Ce).add(function(Ue){var qe=new PiePiece(_e,Ue,xe);_e.setItemGraphicEl(Ue,qe),$e.add(qe)}).update(function(Ue,qe){var Et=Ce.getItemGraphicEl(qe);Et.updateData(_e,Ue,xe),Et.off("click"),$e.add(Et),_e.setItemGraphicEl(Ue,Et)}).remove(function(Ue){var qe=Ce.getItemGraphicEl(Ue);removeElementWithFadeOut(qe,ie,Ue)}).execute(),pieLabelLayout(ie),ie.get("animationTypeUpdate")!=="expansion"&&(this._data=_e)},z.prototype.dispose=function(){},z.prototype.containPoint=function(ie,le){var ue=le.getData(),pe=ue.getItemLayout(0);if(pe){var _e=ie[0]-pe.cx,Ce=ie[1]-pe.cy,$e=Math.sqrt(_e*_e+Ce*Ce);return $e<=pe.r&&$e>=pe.r0}},z.type="pie",z}(ChartView$1);const PieView$1=PieView;function createSeriesDataSimply($,z,ie){z=isArray$1(z)&&{coordDimensions:z}||extend({encodeDefine:$.getEncode()},z);var le=$.getSource(),ue=prepareSeriesDataSchema(le,z).dimensions,pe=new SeriesData$1(ue,$);return pe.initData(le,ie),pe}var LegendVisualProvider=function(){function $(z,ie){this._getDataWithEncodedVisual=z,this._getRawData=ie}return $.prototype.getAllNames=function(){var z=this._getRawData();return z.mapArray(z.getName)},$.prototype.containName=function(z){var ie=this._getRawData();return ie.indexOfName(z)>=0},$.prototype.indexOfName=function(z){var ie=this._getDataWithEncodedVisual();return ie.indexOfName(z)},$.prototype.getItemVisual=function(z,ie){var le=this._getDataWithEncodedVisual();return le.getItemVisual(z,ie)},$}();const LegendVisualProvider$1=LegendVisualProvider;var innerData=makeInner(),PieSeriesModel=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.init=function(ie){$.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(ie)},z.prototype.mergeOption=function(){$.prototype.mergeOption.apply(this,arguments)},z.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},z.prototype.getDataParams=function(ie){var le=this.getData(),ue=innerData(le),pe=ue.seats;if(!pe){var _e=[];le.each(le.mapDimension("value"),function($e){_e.push($e)}),pe=ue.seats=getPercentSeats(_e,le.hostModel.get("percentPrecision"))}var Ce=$.prototype.getDataParams.call(this,ie);return Ce.percent=pe[ie]||0,Ce.$vars.push("percent"),Ce},z.prototype._defaultLabelLine=function(ie){defaultEmphasis(ie,"labelLine",["show"]);var le=ie.labelLine,ue=ie.emphasis.labelLine;le.show=le.show&&ie.label.show,ue.show=ue.show&&ie.emphasis.label.show},z.type="series.pie",z.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"},z}(SeriesModel$1);const PieSeriesModel$1=PieSeriesModel;function negativeDataFilter($){return{seriesType:$,reset:function(z,ie){var le=z.getData();le.filterSelf(function(ue){var pe=le.mapDimension("value"),_e=le.get(pe,ue);return!(isNumber(_e)&&!isNaN(_e)&&_e<0)})}}}function install$h($){$.registerChartView(PieView$1),$.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",$.registerAction),$.registerLayout(curry$1(pieLayout,"pie")),$.registerProcessor(dataFilter("pie")),$.registerProcessor(negativeDataFilter("pie"))}var GridModel=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.type="grid",z.dependencies=["xAxis","yAxis"],z.layoutMode="box",z.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"},z}(ComponentModel$1);const GridModel$1=GridModel;var CartesianAxisModel=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},z.type="cartesian2dAxis",z}(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($,z,ie,le){each$c(AXIS_TYPES,function(ue,pe){var _e=merge(merge({},axisDefault[pe],!0),le,!0),Ce=function($e){__extends(xe,$e);function xe(){var Ie=$e!==null&&$e.apply(this,arguments)||this;return Ie.type=z+"Axis."+pe,Ie}return xe.prototype.mergeDefaultAndTheme=function(Ie,Ve){var ze=fetchLayoutMode(this),Ue=ze?getLayoutParams(Ie):{},qe=Ve.getTheme();merge(Ie,qe.get(pe+"Axis")),merge(Ie,this.getDefaultOption()),Ie.type=getAxisType(Ie),ze&&mergeLayoutParam(Ie,Ue,ze)},xe.prototype.optionUpdated=function(){var Ie=this.option;Ie.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},xe.prototype.getCategories=function(Ie){var Ve=this.option;if(Ve.type==="category")return Ie?Ve.data:this.__ordinalMeta.categories},xe.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},xe.type=z+"Axis."+pe,xe.defaultOption=_e,xe}(ie);$.registerComponentModel(Ce)}),$.registerSubTypeDefaulter(z+"Axis",getAxisType)}function getAxisType($){return $.type||($.data?"category":"value")}var Cartesian=function(){function $(z){this.type="cartesian",this._dimList=[],this._axes={},this.name=z||""}return $.prototype.getAxis=function(z){return this._axes[z]},$.prototype.getAxes=function(){return map$2(this._dimList,function(z){return this._axes[z]},this)},$.prototype.getAxesByScale=function(z){return z=z.toLowerCase(),filter(this.getAxes(),function(ie){return ie.scale.type===z})},$.prototype.addAxis=function(z){var ie=z.dim;this._axes[ie]=z,this._dimList.push(ie)},$}();const Cartesian$1=Cartesian;var cartesian2DDimensions=["x","y"];function canCalculateAffineTransform($){return $.type==="interval"||$.type==="time"}var Cartesian2D=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type="cartesian2d",ie.dimensions=cartesian2DDimensions,ie}return z.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var ie=this.getAxis("x").scale,le=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(ie)||!canCalculateAffineTransform(le))){var ue=ie.getExtent(),pe=le.getExtent(),_e=this.dataToPoint([ue[0],pe[0]]),Ce=this.dataToPoint([ue[1],pe[1]]),$e=ue[1]-ue[0],xe=pe[1]-pe[0];if(!(!$e||!xe)){var Ie=(Ce[0]-_e[0])/$e,Ve=(Ce[1]-_e[1])/xe,ze=_e[0]-ue[0]*Ie,Ue=_e[1]-pe[0]*Ve,qe=this._transform=[Ie,0,0,Ve,ze,Ue];this._invTransform=invert([],qe)}}},z.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},z.prototype.containPoint=function(ie){var le=this.getAxis("x"),ue=this.getAxis("y");return le.contain(le.toLocalCoord(ie[0]))&&ue.contain(ue.toLocalCoord(ie[1]))},z.prototype.containData=function(ie){return this.getAxis("x").containData(ie[0])&&this.getAxis("y").containData(ie[1])},z.prototype.containZone=function(ie,le){var ue=this.dataToPoint(ie),pe=this.dataToPoint(le),_e=this.getArea(),Ce=new BoundingRect$1(ue[0],ue[1],pe[0]-ue[0],pe[1]-ue[1]);return _e.intersect(Ce)},z.prototype.dataToPoint=function(ie,le,ue){ue=ue||[];var pe=ie[0],_e=ie[1];if(this._transform&&pe!=null&&isFinite(pe)&&_e!=null&&isFinite(_e))return applyTransform$1(ue,ie,this._transform);var Ce=this.getAxis("x"),$e=this.getAxis("y");return ue[0]=Ce.toGlobalCoord(Ce.dataToCoord(pe,le)),ue[1]=$e.toGlobalCoord($e.dataToCoord(_e,le)),ue},z.prototype.clampData=function(ie,le){var ue=this.getAxis("x").scale,pe=this.getAxis("y").scale,_e=ue.getExtent(),Ce=pe.getExtent(),$e=ue.parse(ie[0]),xe=pe.parse(ie[1]);return le=le||[],le[0]=Math.min(Math.max(Math.min(_e[0],_e[1]),$e),Math.max(_e[0],_e[1])),le[1]=Math.min(Math.max(Math.min(Ce[0],Ce[1]),xe),Math.max(Ce[0],Ce[1])),le},z.prototype.pointToData=function(ie,le){var ue=[];if(this._invTransform)return applyTransform$1(ue,ie,this._invTransform);var pe=this.getAxis("x"),_e=this.getAxis("y");return ue[0]=pe.coordToData(pe.toLocalCoord(ie[0]),le),ue[1]=_e.coordToData(_e.toLocalCoord(ie[1]),le),ue},z.prototype.getOtherAxis=function(ie){return this.getAxis(ie.dim==="x"?"y":"x")},z.prototype.getArea=function(){var ie=this.getAxis("x").getGlobalExtent(),le=this.getAxis("y").getGlobalExtent(),ue=Math.min(ie[0],ie[1]),pe=Math.min(le[0],le[1]),_e=Math.max(ie[0],ie[1])-ue,Ce=Math.max(le[0],le[1])-pe;return new BoundingRect$1(ue,pe,_e,Ce)},z}(Cartesian$1),Axis2D=function($){__extends(z,$);function z(ie,le,ue,pe,_e){var Ce=$.call(this,ie,le,ue)||this;return Ce.index=0,Ce.type=pe||"value",Ce.position=_e||"bottom",Ce}return z.prototype.isHorizontal=function(){var ie=this.position;return ie==="top"||ie==="bottom"},z.prototype.getGlobalExtent=function(ie){var le=this.getExtent();return le[0]=this.toGlobalCoord(le[0]),le[1]=this.toGlobalCoord(le[1]),ie&&le[0]>le[1]&&le.reverse(),le},z.prototype.pointToData=function(ie,le){return this.coordToData(this.toLocalCoord(ie[this.dim==="x"?0:1]),le)},z.prototype.setCategorySortInfo=function(ie){if(this.type!=="category")return!1;this.model.option.categorySortInfo=ie,this.scale.setSortInfo(ie)},z}(Axis$1);const Axis2D$1=Axis2D;function layout$1($,z,ie){ie=ie||{};var le=$.coordinateSystem,ue=z.axis,pe={},_e=ue.getAxesOnZeroOf()[0],Ce=ue.position,$e=_e?"onZero":Ce,xe=ue.dim,Ie=le.getRect(),Ve=[Ie.x,Ie.x+Ie.width,Ie.y,Ie.y+Ie.height],ze={left:0,right:1,top:0,bottom:1,onZero:2},Ue=z.get("offset")||0,qe=xe==="x"?[Ve[2]-Ue,Ve[3]+Ue]:[Ve[0]-Ue,Ve[1]+Ue];if(_e){var Et=_e.toGlobalCoord(_e.dataToCoord(0));qe[ze.onZero]=Math.max(Math.min(Et,qe[1]),qe[0])}pe.position=[xe==="y"?qe[ze[$e]]:Ve[0],xe==="x"?qe[ze[$e]]:Ve[3]],pe.rotation=Math.PI/2*(xe==="x"?0:1);var Lt={top:-1,bottom:1,left:-1,right:1};pe.labelDirection=pe.tickDirection=pe.nameDirection=Lt[Ce],pe.labelOffset=_e?qe[ze[Ce]]-qe[ze.onZero]:0,z.get(["axisTick","inside"])&&(pe.tickDirection=-pe.tickDirection),retrieve(ie.labelInside,z.get(["axisLabel","inside"]))&&(pe.labelDirection=-pe.labelDirection);var hn=z.get(["axisLabel","rotate"]);return pe.labelRotate=$e==="top"?-hn:hn,pe.z2=1,pe}function isCartesian2DSeries($){return $.get("coordinateSystem")==="cartesian2d"}function findAxisModels($){var z={xAxisModel:null,yAxisModel:null};return each$c(z,function(ie,le){var ue=le.replace(/Model$/,""),pe=$.getReferringComponents(ue,SINGLE_REFERRING).models[0];z[le]=pe}),z}var mathLog=Math.log;function alignScaleTicks($,z,ie){var le=IntervalScale$1.prototype,ue=le.getTicks.call(ie),pe=le.getTicks.call(ie,!0),_e=ue.length-1,Ce=le.getInterval.call(ie),$e=getScaleExtent($,z),xe=$e.extent,Ie=$e.fixMin,Ve=$e.fixMax;if($.type==="log"){var ze=mathLog($.base);xe=[mathLog(xe[0])/ze,mathLog(xe[1])/ze]}$.setExtent(xe[0],xe[1]),$.calcNiceExtent({splitNumber:_e,fixMin:Ie,fixMax:Ve});var Ue=le.getExtent.call($);Ie&&(xe[0]=Ue[0]),Ve&&(xe[1]=Ue[1]);var qe=le.getInterval.call($),Et=xe[0],Lt=xe[1];if(Ie&&Ve)qe=(Lt-Et)/_e;else if(Ie)for(Lt=xe[0]+qe*_e;Lt<xe[1]&&isFinite(Lt)&&isFinite(xe[1]);)qe=increaseInterval(qe),Lt=xe[0]+qe*_e;else if(Ve)for(Et=xe[1]-qe*_e;Et>xe[0]&&isFinite(Et)&&isFinite(xe[0]);)qe=increaseInterval(qe),Et=xe[1]-qe*_e;else{var hn=$.getTicks().length-1;hn>_e&&(qe=increaseInterval(qe));var vn=qe*_e;Lt=Math.ceil(xe[1]/qe)*qe,Et=round$1(Lt-vn),Et<0&&xe[0]>=0?(Et=0,Lt=round$1(vn)):Lt>0&&xe[1]<=0&&(Lt=0,Et=-round$1(vn))}var _n=(ue[0].value-pe[0].value)/Ce,bn=(ue[_e].value-pe[_e].value)/Ce;le.setExtent.call($,Et+qe*_n,Lt+qe*bn),le.setInterval.call($,qe),(_n||bn)&&le.setNiceExtent.call($,Et+qe,Lt-qe)}var Grid=function(){function $(z,ie,le){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(z,ie,le),this.model=z}return $.prototype.getRect=function(){return this._rect},$.prototype.update=function(z,ie){var le=this._axesMap;this._updateScale(z,this.model);function ue(_e){var Ce,$e=keys(_e),xe=$e.length;if(xe){for(var Ie=[],Ve=xe-1;Ve>=0;Ve--){var ze=+$e[Ve],Ue=_e[ze],qe=Ue.model,Et=Ue.scale;isIntervalOrLogScale(Et)&&qe.get("alignTicks")&&qe.get("interval")==null?Ie.push(Ue):(niceScaleExtent(Et,qe),isIntervalOrLogScale(Et)&&(Ce=Ue))}Ie.length&&(Ce||(Ce=Ie.pop(),niceScaleExtent(Ce.scale,Ce.model)),each$c(Ie,function(Lt){alignScaleTicks(Lt.scale,Lt.model,Ce.scale)}))}}ue(le.x),ue(le.y);var pe={};each$c(le.x,function(_e){fixAxisOnZero(le,"y",_e,pe)}),each$c(le.y,function(_e){fixAxisOnZero(le,"x",_e,pe)}),this.resize(this.model,ie)},$.prototype.resize=function(z,ie,le){var ue=z.getBoxLayoutParams(),pe=!le&&z.get("containLabel"),_e=getLayoutRect(ue,{width:ie.getWidth(),height:ie.getHeight()});this._rect=_e;var Ce=this._axesList;$e(),pe&&(each$c(Ce,function(xe){if(!xe.model.get(["axisLabel","inside"])){var Ie=estimateLabelUnionRect(xe);if(Ie){var Ve=xe.isHorizontal()?"height":"width",ze=xe.model.get(["axisLabel","margin"]);_e[Ve]-=Ie[Ve]+ze,xe.position==="top"?_e.y+=Ie.height+ze:xe.position==="left"&&(_e.x+=Ie.width+ze)}}}),$e()),each$c(this._coordsList,function(xe){xe.calcAffineTransform()});function $e(){each$c(Ce,function(xe){var Ie=xe.isHorizontal(),Ve=Ie?[0,_e.width]:[0,_e.height],ze=xe.inverse?1:0;xe.setExtent(Ve[ze],Ve[1-ze]),updateAxisTransform(xe,Ie?_e.x:_e.y)})}},$.prototype.getAxis=function(z,ie){var le=this._axesMap[z];if(le!=null)return le[ie||0]},$.prototype.getAxes=function(){return this._axesList.slice()},$.prototype.getCartesian=function(z,ie){if(z!=null&&ie!=null){var le="x"+z+"y"+ie;return this._coordsMap[le]}isObject$3(z)&&(ie=z.yAxisIndex,z=z.xAxisIndex);for(var ue=0,pe=this._coordsList;ue<pe.length;ue++)if(pe[ue].getAxis("x").index===z||pe[ue].getAxis("y").index===ie)return pe[ue]},$.prototype.getCartesians=function(){return this._coordsList.slice()},$.prototype.convertToPixel=function(z,ie,le){var ue=this._findConvertTarget(ie);return ue.cartesian?ue.cartesian.dataToPoint(le):ue.axis?ue.axis.toGlobalCoord(ue.axis.dataToCoord(le)):null},$.prototype.convertFromPixel=function(z,ie,le){var ue=this._findConvertTarget(ie);return ue.cartesian?ue.cartesian.pointToData(le):ue.axis?ue.axis.coordToData(ue.axis.toLocalCoord(le)):null},$.prototype._findConvertTarget=function(z){var ie=z.seriesModel,le=z.xAxisModel||ie&&ie.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],ue=z.yAxisModel||ie&&ie.getReferringComponents("yAxis",SINGLE_REFERRING).models[0],pe=z.gridModel,_e=this._coordsList,Ce,$e;if(ie)Ce=ie.coordinateSystem,indexOf(_e,Ce)<0&&(Ce=null);else if(le&&ue)Ce=this.getCartesian(le.componentIndex,ue.componentIndex);else if(le)$e=this.getAxis("x",le.componentIndex);else if(ue)$e=this.getAxis("y",ue.componentIndex);else if(pe){var xe=pe.coordinateSystem;xe===this&&(Ce=this._coordsList[0])}return{cartesian:Ce,axis:$e}},$.prototype.containPoint=function(z){var ie=this._coordsList[0];if(ie)return ie.containPoint(z)},$.prototype._initCartesian=function(z,ie,le){var ue=this,pe=this,_e={left:!1,right:!1,top:!1,bottom:!1},Ce={x:{},y:{}},$e={x:0,y:0};if(ie.eachComponent("xAxis",xe("x"),this),ie.eachComponent("yAxis",xe("y"),this),!$e.x||!$e.y){this._axesMap={},this._axesList=[];return}this._axesMap=Ce,each$c(Ce.x,function(Ie,Ve){each$c(Ce.y,function(ze,Ue){var qe="x"+Ve+"y"+Ue,Et=new Cartesian2D(qe);Et.master=ue,Et.model=z,ue._coordsMap[qe]=Et,ue._coordsList.push(Et),Et.addAxis(Ie),Et.addAxis(ze)})});function xe(Ie){return function(Ve,ze){if(isAxisUsedInTheGrid(Ve,z)){var Ue=Ve.get("position");Ie==="x"?Ue!=="top"&&Ue!=="bottom"&&(Ue=_e.bottom?"top":"bottom"):Ue!=="left"&&Ue!=="right"&&(Ue=_e.left?"right":"left"),_e[Ue]=!0;var qe=new Axis2D$1(Ie,createScaleByModel(Ve),[0,0],Ve.get("type"),Ue),Et=qe.type==="category";qe.onBand=Et&&Ve.get("boundaryGap"),qe.inverse=Ve.get("inverse"),Ve.axis=qe,qe.model=Ve,qe.grid=pe,qe.index=ze,pe._axesList.push(qe),Ce[Ie][ze]=qe,$e[Ie]++}}}},$.prototype._updateScale=function(z,ie){each$c(this._axesList,function(ue){if(ue.scale.setExtent(1/0,-1/0),ue.type==="category"){var pe=ue.model.get("categorySortInfo");ue.scale.setSortInfo(pe)}}),z.eachSeries(function(ue){if(isCartesian2DSeries(ue)){var pe=findAxisModels(ue),_e=pe.xAxisModel,Ce=pe.yAxisModel;if(!isAxisUsedInTheGrid(_e,ie)||!isAxisUsedInTheGrid(Ce,ie))return;var $e=this.getCartesian(_e.componentIndex,Ce.componentIndex),xe=ue.getData(),Ie=$e.getAxis("x"),Ve=$e.getAxis("y");le(xe,Ie),le(xe,Ve)}},this);function le(ue,pe){each$c(getDataDimensionsOnAxis(ue,pe.dim),function(_e){pe.scale.unionExtentFromData(ue,_e)})}},$.prototype.getTooltipAxes=function(z){var ie=[],le=[];return each$c(this.getCartesians(),function(ue){var pe=z!=null&&z!=="auto"?ue.getAxis(z):ue.getBaseAxis(),_e=ue.getOtherAxis(pe);indexOf(ie,pe)<0&&ie.push(pe),indexOf(le,_e)<0&&le.push(_e)}),{baseAxes:ie,otherAxes:le}},$.create=function(z,ie){var le=[];return z.eachComponent("grid",function(ue,pe){var _e=new $(ue,z,ie);_e.name="grid_"+pe,_e.resize(ue,ie,!0),ue.coordinateSystem=_e,le.push(_e)}),z.eachSeries(function(ue){if(isCartesian2DSeries(ue)){var pe=findAxisModels(ue),_e=pe.xAxisModel,Ce=pe.yAxisModel,$e=_e.getCoordSysModel(),xe=$e.coordinateSystem;ue.coordinateSystem=xe.getCartesian(_e.componentIndex,Ce.componentIndex)}}),le},$.dimensions=cartesian2DDimensions,$}();function isAxisUsedInTheGrid($,z){return $.getCoordSysModel()===z}function fixAxisOnZero($,z,ie,le){ie.getAxesOnZeroOf=function(){return pe?[pe]:[]};var ue=$[z],pe,_e=ie.model,Ce=_e.get(["axisLine","onZero"]),$e=_e.get(["axisLine","onZeroAxisIndex"]);if(!Ce)return;if($e!=null)canOnZeroToAxis(ue[$e])&&(pe=ue[$e]);else for(var xe in ue)if(ue.hasOwnProperty(xe)&&canOnZeroToAxis(ue[xe])&&!le[Ie(ue[xe])]){pe=ue[xe];break}pe&&(le[Ie(pe)]=!0);function Ie(Ve){return Ve.dim+"_"+Ve.index}}function canOnZeroToAxis($){return $&&$.type!=="category"&&$.type!=="time"&&ifAxisCrossZero($)}function updateAxisTransform($,z){var ie=$.getExtent(),le=ie[0]+ie[1];$.toGlobalCoord=$.dim==="x"?function(ue){return ue+z}:function(ue){return le-ue+z},$.toLocalCoord=$.dim==="x"?function(ue){return ue-z}:function(ue){return le-ue+z}}const Grid$1=Grid;var PI=Math.PI,AxisBuilder=function(){function $(z,ie){this.group=new Group$3,this.opt=ie,this.axisModel=z,defaults(ie,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var le=new Group$3({x:ie.position[0],y:ie.position[1],rotation:ie.rotation});le.updateTransform(),this._transformGroup=le}return $.prototype.hasBuilder=function(z){return!!builders[z]},$.prototype.add=function(z){builders[z](this.opt,this.axisModel,this.group,this._transformGroup)},$.prototype.getGroup=function(){return this.group},$.innerTextLayout=function(z,ie,le){var ue=remRadian(ie-z),pe,_e;return isRadianAroundZero(ue)?(_e=le>0?"top":"bottom",pe="center"):isRadianAroundZero(ue-PI)?(_e=le>0?"bottom":"top",pe="center"):(_e="middle",ue>0&&ue<PI?pe=le>0?"right":"left":pe=le>0?"left":"right"),{rotation:ue,textAlign:pe,textVerticalAlign:_e}},$.makeAxisEventDataBase=function(z){var ie={componentType:z.mainType,componentIndex:z.componentIndex};return ie[z.mainType+"Index"]=z.componentIndex,ie},$.isLabelSilent=function(z){var ie=z.get("tooltip");return z.get("silent")||!(z.get("triggerEvent")||ie&&ie.show)},$}(),builders={axisLine:function($,z,ie,le){var ue=z.get(["axisLine","show"]);if(ue==="auto"&&$.handleAutoShown&&(ue=$.handleAutoShown("axisLine")),!!ue){var pe=z.axis.getExtent(),_e=le.transform,Ce=[pe[0],0],$e=[pe[1],0],xe=Ce[0]>$e[0];_e&&(applyTransform$1(Ce,Ce,_e),applyTransform$1($e,$e,_e));var Ie=extend({lineCap:"round"},z.getModel(["axisLine","lineStyle"]).getLineStyle()),Ve=new Line$1({shape:{x1:Ce[0],y1:Ce[1],x2:$e[0],y2:$e[1]},style:Ie,strokeContainThreshold:$.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(Ve.shape,Ve.style.lineWidth),Ve.anid="line",ie.add(Ve);var ze=z.get(["axisLine","symbol"]);if(ze!=null){var Ue=z.get(["axisLine","symbolSize"]);isString(ze)&&(ze=[ze,ze]),(isString(Ue)||isNumber(Ue))&&(Ue=[Ue,Ue]);var qe=normalizeSymbolOffset(z.get(["axisLine","symbolOffset"])||0,Ue),Et=Ue[0],Lt=Ue[1];each$c([{rotate:$.rotation+Math.PI/2,offset:qe[0],r:0},{rotate:$.rotation-Math.PI/2,offset:qe[1],r:Math.sqrt((Ce[0]-$e[0])*(Ce[0]-$e[0])+(Ce[1]-$e[1])*(Ce[1]-$e[1]))}],function(hn,vn){if(ze[vn]!=="none"&&ze[vn]!=null){var _n=createSymbol(ze[vn],-Et/2,-Lt/2,Et,Lt,Ie.stroke,!0),bn=hn.r+hn.offset,Cn=xe?$e:Ce;_n.attr({rotation:hn.rotate,x:Cn[0]+bn*Math.cos($.rotation),y:Cn[1]-bn*Math.sin($.rotation),silent:!0,z2:11}),ie.add(_n)}})}}},axisTickLabel:function($,z,ie,le){var ue=buildAxisMajorTicks(ie,le,z,$),pe=buildAxisLabel(ie,le,z,$);if(fixMinMaxLabelShow(z,pe,ue),buildAxisMinorTicks(ie,le,z,$.tickDirection),z.get(["axisLabel","hideOverlap"])){var _e=prepareLayoutList(map$2(pe,function(Ce){return{label:Ce,priority:Ce.z2,defaultAttr:{ignore:Ce.ignore}}}));hideOverlap(_e)}},axisName:function($,z,ie,le){var ue=retrieve($.axisName,z.get("name"));if(ue){var pe=z.get("nameLocation"),_e=$.nameDirection,Ce=z.getModel("nameTextStyle"),$e=z.get("nameGap")||0,xe=z.axis.getExtent(),Ie=xe[0]>xe[1]?-1:1,Ve=[pe==="start"?xe[0]-Ie*$e:pe==="end"?xe[1]+Ie*$e:(xe[0]+xe[1])/2,isNameLocationCenter(pe)?$.labelOffset+_e*$e:0],ze,Ue=z.get("nameRotate");Ue!=null&&(Ue=Ue*PI/180);var qe;isNameLocationCenter(pe)?ze=AxisBuilder.innerTextLayout($.rotation,Ue??$.rotation,_e):(ze=endTextLayout($.rotation,pe,Ue||0,xe),qe=$.axisNameAvailableWidth,qe!=null&&(qe=Math.abs(qe/Math.sin(ze.rotation)),!isFinite(qe)&&(qe=null)));var Et=Ce.getFont(),Lt=z.get("nameTruncate",!0)||{},hn=Lt.ellipsis,vn=retrieve($.nameTruncateMaxWidth,Lt.maxWidth,qe),_n=new ZRText$1({x:Ve[0],y:Ve[1],rotation:ze.rotation,silent:AxisBuilder.isLabelSilent(z),style:createTextStyle$1(Ce,{text:ue,font:Et,overflow:"truncate",width:vn,ellipsis:hn,fill:Ce.getTextColor()||z.get(["axisLine","lineStyle","color"]),align:Ce.get("align")||ze.textAlign,verticalAlign:Ce.get("verticalAlign")||ze.textVerticalAlign}),z2:1});if(setTooltipConfig({el:_n,componentModel:z,itemName:ue}),_n.__fullText=ue,_n.anid="name",z.get("triggerEvent")){var bn=AxisBuilder.makeAxisEventDataBase(z);bn.targetType="axisName",bn.name=ue,getECData(_n).eventData=bn}le.add(_n),_n.updateTransform(),ie.add(_n),_n.decomposeTransform()}}};function endTextLayout($,z,ie,le){var ue=remRadian(ie-$),pe,_e,Ce=le[0]>le[1],$e=z==="start"&&!Ce||z!=="start"&&Ce;return isRadianAroundZero(ue-PI/2)?(_e=$e?"bottom":"top",pe="center"):isRadianAroundZero(ue-PI*1.5)?(_e=$e?"top":"bottom",pe="center"):(_e="middle",ue<PI*1.5&&ue>PI/2?pe=$e?"left":"right":pe=$e?"right":"left"),{rotation:ue,textAlign:pe,textVerticalAlign:_e}}function fixMinMaxLabelShow($,z,ie){if(!shouldShowAllLabels($.axis)){var le=$.get(["axisLabel","showMinLabel"]),ue=$.get(["axisLabel","showMaxLabel"]);z=z||[],ie=ie||[];var pe=z[0],_e=z[1],Ce=z[z.length-1],$e=z[z.length-2],xe=ie[0],Ie=ie[1],Ve=ie[ie.length-1],ze=ie[ie.length-2];le===!1?(ignoreEl(pe),ignoreEl(xe)):isTwoLabelOverlapped(pe,_e)&&(le?(ignoreEl(_e),ignoreEl(Ie)):(ignoreEl(pe),ignoreEl(xe))),ue===!1?(ignoreEl(Ce),ignoreEl(Ve)):isTwoLabelOverlapped($e,Ce)&&(ue?(ignoreEl($e),ignoreEl(ze)):(ignoreEl(Ce),ignoreEl(Ve)))}}function ignoreEl($){$&&($.ignore=!0)}function isTwoLabelOverlapped($,z){var ie=$&&$.getBoundingRect().clone(),le=z&&z.getBoundingRect().clone();if(!(!ie||!le)){var ue=identity([]);return rotate(ue,ue,-$.rotation),ie.applyTransform(mul([],ue,$.getLocalTransform())),le.applyTransform(mul([],ue,z.getLocalTransform())),ie.intersect(le)}}function isNameLocationCenter($){return $==="middle"||$==="center"}function createTicks($,z,ie,le,ue){for(var pe=[],_e=[],Ce=[],$e=0;$e<$.length;$e++){var xe=$[$e].coord;_e[0]=xe,_e[1]=0,Ce[0]=xe,Ce[1]=ie,z&&(applyTransform$1(_e,_e,z),applyTransform$1(Ce,Ce,z));var Ie=new Line$1({shape:{x1:_e[0],y1:_e[1],x2:Ce[0],y2:Ce[1]},style:le,z2:2,autoBatch:!0,silent:!0});subPixelOptimizeLine(Ie.shape,Ie.style.lineWidth),Ie.anid=ue+"_"+$[$e].tickValue,pe.push(Ie)}return pe}function buildAxisMajorTicks($,z,ie,le){var ue=ie.axis,pe=ie.getModel("axisTick"),_e=pe.get("show");if(_e==="auto"&&le.handleAutoShown&&(_e=le.handleAutoShown("axisTick")),!(!_e||ue.scale.isBlank())){for(var Ce=pe.getModel("lineStyle"),$e=le.tickDirection*pe.get("length"),xe=ue.getTicksCoords(),Ie=createTicks(xe,z.transform,$e,defaults(Ce.getLineStyle(),{stroke:ie.get(["axisLine","lineStyle","color"])}),"ticks"),Ve=0;Ve<Ie.length;Ve++)$.add(Ie[Ve]);return Ie}}function buildAxisMinorTicks($,z,ie,le){var ue=ie.axis,pe=ie.getModel("minorTick");if(!(!pe.get("show")||ue.scale.isBlank())){var _e=ue.getMinorTicksCoords();if(_e.length)for(var Ce=pe.getModel("lineStyle"),$e=le*pe.get("length"),xe=defaults(Ce.getLineStyle(),defaults(ie.getModel("axisTick").getLineStyle(),{stroke:ie.get(["axisLine","lineStyle","color"])})),Ie=0;Ie<_e.length;Ie++)for(var Ve=createTicks(_e[Ie],z.transform,$e,xe,"minorticks_"+Ie),ze=0;ze<Ve.length;ze++)$.add(Ve[ze])}}function buildAxisLabel($,z,ie,le){var ue=ie.axis,pe=retrieve(le.axisLabelShow,ie.get(["axisLabel","show"]));if(!(!pe||ue.scale.isBlank())){var _e=ie.getModel("axisLabel"),Ce=_e.get("margin"),$e=ue.getViewLabels(),xe=(retrieve(le.labelRotate,_e.get("rotate"))||0)*PI/180,Ie=AxisBuilder.innerTextLayout(le.rotation,xe,le.labelDirection),Ve=ie.getCategories&&ie.getCategories(!0),ze=[],Ue=AxisBuilder.isLabelSilent(ie),qe=ie.get("triggerEvent");return each$c($e,function(Et,Lt){var hn=ue.scale.type==="ordinal"?ue.scale.getRawOrdinalNumber(Et.tickValue):Et.tickValue,vn=Et.formattedLabel,_n=Et.rawLabel,bn=_e;if(Ve&&Ve[hn]){var Cn=Ve[hn];isObject$3(Cn)&&Cn.textStyle&&(bn=new Model$1(Cn.textStyle,_e,ie.ecModel))}var Sn=bn.getTextColor()||ie.get(["axisLine","lineStyle","color"]),En=ue.dataToCoord(hn),wn=new ZRText$1({x:En,y:le.labelOffset+le.labelDirection*Ce,rotation:Ie.rotation,silent:Ue,z2:10+(Et.level||0),style:createTextStyle$1(bn,{text:vn,align:bn.getShallow("align",!0)||Ie.textAlign,verticalAlign:bn.getShallow("verticalAlign",!0)||bn.getShallow("baseline",!0)||Ie.textVerticalAlign,fill:isFunction(Sn)?Sn(ue.type==="category"?_n:ue.type==="value"?hn+"":hn,Lt):Sn})});if(wn.anid="label_"+hn,qe){var Tn=AxisBuilder.makeAxisEventDataBase(ie);Tn.targetType="axisLabel",Tn.value=_n,Tn.tickIndex=Lt,ue.type==="category"&&(Tn.dataIndex=hn),getECData(wn).eventData=Tn}z.add(wn),wn.updateTransform(),ze.push(wn),$.add(wn),wn.decomposeTransform()}),ze}}const AxisBuilder$1=AxisBuilder;function collect($,z){var ie={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return collectAxesInfo(ie,$,z),ie.seriesInvolved&&collectSeriesInfo(ie,$),ie}function collectAxesInfo($,z,ie){var le=z.getComponent("tooltip"),ue=z.getComponent("axisPointer"),pe=ue.get("link",!0)||[],_e=[];each$c(ie.getCoordinateSystems(),function(Ce){if(!Ce.axisPointerEnabled)return;var $e=makeKey(Ce.model),xe=$.coordSysAxesInfo[$e]={};$.coordSysMap[$e]=Ce;var Ie=Ce.model,Ve=Ie.getModel("tooltip",le);if(each$c(Ce.getAxes(),curry$1(Et,!1,null)),Ce.getTooltipAxes&&le&&Ve.get("show")){var ze=Ve.get("trigger")==="axis",Ue=Ve.get(["axisPointer","type"])==="cross",qe=Ce.getTooltipAxes(Ve.get(["axisPointer","axis"]));(ze||Ue)&&each$c(qe.baseAxes,curry$1(Et,Ue?"cross":!0,ze)),Ue&&each$c(qe.otherAxes,curry$1(Et,"cross",!1))}function Et(Lt,hn,vn){var _n=vn.model.getModel("axisPointer",ue),bn=_n.get("show");if(!(!bn||bn==="auto"&&!Lt&&!isHandleTrigger(_n))){hn==null&&(hn=_n.get("triggerTooltip")),_n=Lt?makeAxisPointerModel(vn,Ve,ue,z,Lt,hn):_n;var Cn=_n.get("snap"),Sn=makeKey(vn.model),En=hn||Cn||vn.type==="category",wn=$.axesInfo[Sn]={key:Sn,axis:vn,coordSys:Ce,axisPointerModel:_n,triggerTooltip:hn,involveSeries:En,snap:Cn,useHandle:isHandleTrigger(_n),seriesModels:[],linkGroup:null};xe[Sn]=wn,$.seriesInvolved=$.seriesInvolved||En;var Tn=getLinkGroupIndex(pe,vn);if(Tn!=null){var kn=_e[Tn]||(_e[Tn]={axesInfo:{}});kn.axesInfo[Sn]=wn,kn.mapper=pe[Tn].mapper,wn.linkGroup=kn}}}})}function makeAxisPointerModel($,z,ie,le,ue,pe){var _e=z.getModel("axisPointer"),Ce=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],$e={};each$c(Ce,function(ze){$e[ze]=clone$3(_e.get(ze))}),$e.snap=$.type!=="category"&&!!pe,_e.get("type")==="cross"&&($e.type="line");var xe=$e.label||($e.label={});if(xe.show==null&&(xe.show=!1),ue==="cross"){var Ie=_e.get(["label","show"]);if(xe.show=Ie??!0,!pe){var Ve=$e.lineStyle=_e.get("crossStyle");Ve&&defaults(xe,Ve.textStyle)}}return $.model.getModel("axisPointer",new Model$1($e,ie,le))}function collectSeriesInfo($,z){z.eachSeries(function(ie){var le=ie.coordinateSystem,ue=ie.get(["tooltip","trigger"],!0),pe=ie.get(["tooltip","show"],!0);!le||ue==="none"||ue===!1||ue==="item"||pe===!1||ie.get(["axisPointer","show"],!0)===!1||each$c($.coordSysAxesInfo[makeKey(le.model)],function(_e){var Ce=_e.axis;le.getAxis(Ce.dim)===Ce&&(_e.seriesModels.push(ie),_e.seriesDataCount==null&&(_e.seriesDataCount=0),_e.seriesDataCount+=ie.getData().count())})})}function getLinkGroupIndex($,z){for(var ie=z.model,le=z.dim,ue=0;ue<$.length;ue++){var pe=$[ue]||{};if(checkPropInLink(pe[le+"AxisId"],ie.id)||checkPropInLink(pe[le+"AxisIndex"],ie.componentIndex)||checkPropInLink(pe[le+"AxisName"],ie.name))return ue}}function checkPropInLink($,z){return $==="all"||isArray$1($)&&indexOf($,z)>=0||$===z}function fixValue($){var z=getAxisInfo($);if(z){var ie=z.axisPointerModel,le=z.axis.scale,ue=ie.option,pe=ie.get("status"),_e=ie.get("value");_e!=null&&(_e=le.parse(_e));var Ce=isHandleTrigger(ie);pe==null&&(ue.status=Ce?"show":"hide");var $e=le.getExtent().slice();$e[0]>$e[1]&&$e.reverse(),(_e==null||_e>$e[1])&&(_e=$e[1]),_e<$e[0]&&(_e=$e[0]),ue.value=_e,Ce&&(ue.status=z.axis.scale.isBlank()?"hide":"show")}}function getAxisInfo($){var z=($.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return z&&z.axesInfo[makeKey($)]}function getAxisPointerModel($){var z=getAxisInfo($);return z&&z.axisPointerModel}function isHandleTrigger($){return!!$.get(["handle","show"])}function makeKey($){return $.type+"||"+$.id}var axisPointerClazz={},AxisView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.render=function(ie,le,ue,pe){this.axisPointerClass&&fixValue(ie),$.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(ie,ue,!0)},z.prototype.updateAxisPointer=function(ie,le,ue,pe){this._doUpdateAxisPointerClass(ie,ue,!1)},z.prototype.remove=function(ie,le){var ue=this._axisPointer;ue&&ue.remove(le)},z.prototype.dispose=function(ie,le){this._disposeAxisPointer(le),$.prototype.dispose.apply(this,arguments)},z.prototype._doUpdateAxisPointerClass=function(ie,le,ue){var pe=z.getAxisPointerClass(this.axisPointerClass);if(pe){var _e=getAxisPointerModel(ie);_e?(this._axisPointer||(this._axisPointer=new pe)).render(ie,_e,le,ue):this._disposeAxisPointer(le)}},z.prototype._disposeAxisPointer=function(ie){this._axisPointer&&this._axisPointer.dispose(ie),this._axisPointer=null},z.registerAxisPointerClass=function(ie,le){axisPointerClazz[ie]=le},z.getAxisPointerClass=function(ie){return ie&&axisPointerClazz[ie]},z.type="axis",z}(ComponentView$1);const AxisView$1=AxisView;var inner$6=makeInner();function rectCoordAxisBuildSplitArea($,z,ie,le){var ue=ie.axis;if(!ue.scale.isBlank()){var pe=ie.getModel("splitArea"),_e=pe.getModel("areaStyle"),Ce=_e.get("color"),$e=le.coordinateSystem.getRect(),xe=ue.getTicksCoords({tickModel:pe,clamp:!0});if(xe.length){var Ie=Ce.length,Ve=inner$6($).splitAreaColors,ze=createHashMap(),Ue=0;if(Ve)for(var qe=0;qe<xe.length;qe++){var Et=Ve.get(xe[qe].tickValue);if(Et!=null){Ue=(Et+(Ie-1)*qe)%Ie;break}}var Lt=ue.toGlobalCoord(xe[0].coord),hn=_e.getAreaStyle();Ce=isArray$1(Ce)?Ce:[Ce];for(var qe=1;qe<xe.length;qe++){var vn=ue.toGlobalCoord(xe[qe].coord),_n=void 0,bn=void 0,Cn=void 0,Sn=void 0;ue.isHorizontal()?(_n=Lt,bn=$e.y,Cn=vn-_n,Sn=$e.height,Lt=_n+Cn):(_n=$e.x,bn=Lt,Cn=$e.width,Sn=vn-bn,Lt=bn+Sn);var En=xe[qe-1].tickValue;En!=null&&ze.set(En,Ue),z.add(new Rect$2({anid:En!=null?"area_"+En:null,shape:{x:_n,y:bn,width:Cn,height:Sn},style:defaults({fill:Ce[Ue]},hn),autoBatch:!0,silent:!0})),Ue=(Ue+1)%Ie}inner$6($).splitAreaColors=ze}}}function rectCoordAxisHandleRemove($){inner$6($).splitAreaColors=null}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine","minorSplitLine"],CartesianAxisView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.axisPointerClass="CartesianAxisPointer",ie}return z.prototype.render=function(ie,le,ue,pe){this.group.removeAll();var _e=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!ie.get("show")){var Ce=ie.getCoordSysModel(),$e=layout$1(Ce,ie),xe=new AxisBuilder$1(ie,extend({handleAutoShown:function(Ve){for(var ze=Ce.coordinateSystem.getCartesians(),Ue=0;Ue<ze.length;Ue++)if(isIntervalOrLogScale(ze[Ue].getOtherAxis(ie.axis).scale))return!0;return!1}},$e));each$c(axisBuilderAttrs,xe.add,xe),this._axisGroup.add(xe.getGroup()),each$c(selfBuilderAttrs,function(Ve){ie.get([Ve,"show"])&&axisElementBuilders[Ve](this,this._axisGroup,ie,Ce)},this);var Ie=pe&&pe.type==="changeAxisOrder"&&pe.isInitSort;Ie||groupTransition(_e,this._axisGroup,ie),$.prototype.render.call(this,ie,le,ue,pe)}},z.prototype.remove=function(){rectCoordAxisHandleRemove(this)},z.type="cartesianAxis",z}(AxisView$1),axisElementBuilders={splitLine:function($,z,ie,le){var ue=ie.axis;if(!ue.scale.isBlank()){var pe=ie.getModel("splitLine"),_e=pe.getModel("lineStyle"),Ce=_e.get("color");Ce=isArray$1(Ce)?Ce:[Ce];for(var $e=le.coordinateSystem.getRect(),xe=ue.isHorizontal(),Ie=0,Ve=ue.getTicksCoords({tickModel:pe}),ze=[],Ue=[],qe=_e.getLineStyle(),Et=0;Et<Ve.length;Et++){var Lt=ue.toGlobalCoord(Ve[Et].coord);xe?(ze[0]=Lt,ze[1]=$e.y,Ue[0]=Lt,Ue[1]=$e.y+$e.height):(ze[0]=$e.x,ze[1]=Lt,Ue[0]=$e.x+$e.width,Ue[1]=Lt);var hn=Ie++%Ce.length,vn=Ve[Et].tickValue,_n=new Line$1({anid:vn!=null?"line_"+Ve[Et].tickValue:null,autoBatch:!0,shape:{x1:ze[0],y1:ze[1],x2:Ue[0],y2:Ue[1]},style:defaults({stroke:Ce[hn]},qe),silent:!0});subPixelOptimizeLine(_n.shape,qe.lineWidth),z.add(_n)}}},minorSplitLine:function($,z,ie,le){var ue=ie.axis,pe=ie.getModel("minorSplitLine"),_e=pe.getModel("lineStyle"),Ce=le.coordinateSystem.getRect(),$e=ue.isHorizontal(),xe=ue.getMinorTicksCoords();if(xe.length)for(var Ie=[],Ve=[],ze=_e.getLineStyle(),Ue=0;Ue<xe.length;Ue++)for(var qe=0;qe<xe[Ue].length;qe++){var Et=ue.toGlobalCoord(xe[Ue][qe].coord);$e?(Ie[0]=Et,Ie[1]=Ce.y,Ve[0]=Et,Ve[1]=Ce.y+Ce.height):(Ie[0]=Ce.x,Ie[1]=Et,Ve[0]=Ce.x+Ce.width,Ve[1]=Et);var Lt=new Line$1({anid:"minor_line_"+xe[Ue][qe].tickValue,autoBatch:!0,shape:{x1:Ie[0],y1:Ie[1],x2:Ve[0],y2:Ve[1]},style:ze,silent:!0});subPixelOptimizeLine(Lt.shape,ze.lineWidth),z.add(Lt)}},splitArea:function($,z,ie,le){rectCoordAxisBuildSplitArea($,z,ie,le)}},CartesianXAxisView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="xAxis",z}(CartesianAxisView),CartesianYAxisView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=CartesianXAxisView.type,ie}return z.type="yAxis",z}(CartesianAxisView),GridView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type="grid",ie}return z.prototype.render=function(ie,le){this.group.removeAll(),ie.get("show")&&this.group.add(new Rect$2({shape:ie.coordinateSystem.getRect(),style:defaults({fill:ie.get("backgroundColor")},ie.getItemStyle()),silent:!0,z2:-1}))},z.type="grid",z}(ComponentView$1),extraOption={offset:0};function install$g($){$.registerComponentView(GridView),$.registerComponentModel(GridModel$1),$.registerCoordinateSystem("cartesian2d",Grid$1),axisModelCreator($,"x",CartesianAxisModel,extraOption),axisModelCreator($,"y",CartesianAxisModel,extraOption),$.registerComponentView(CartesianXAxisView),$.registerComponentView(CartesianYAxisView),$.registerPreprocessor(function(z){z.xAxis&&z.yAxis&&!z.grid&&(z.grid={})})}var ATTR="\0_ec_interaction_mutex";function take($,z,ie){var le=getStore($);le[z]=ie}function release($,z,ie){var le=getStore($),ue=le[z];ue===ie&&(le[z]=null)}function isTaken($,z){return!!getStore($)[z]}function getStore($){return $[ATTR]||($[ATTR]={})}registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},noop);var RoamController=function($){__extends(z,$);function z(ie){var le=$.call(this)||this;le._zr=ie;var ue=bind$1(le._mousedownHandler,le),pe=bind$1(le._mousemoveHandler,le),_e=bind$1(le._mouseupHandler,le),Ce=bind$1(le._mousewheelHandler,le),$e=bind$1(le._pinchHandler,le);return le.enable=function(xe,Ie){this.disable(),this._opt=defaults(clone$3(Ie)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),xe==null&&(xe=!0),(xe===!0||xe==="move"||xe==="pan")&&(ie.on("mousedown",ue),ie.on("mousemove",pe),ie.on("mouseup",_e)),(xe===!0||xe==="scale"||xe==="zoom")&&(ie.on("mousewheel",Ce),ie.on("pinch",$e))},le.disable=function(){ie.off("mousedown",ue),ie.off("mousemove",pe),ie.off("mouseup",_e),ie.off("mousewheel",Ce),ie.off("pinch",$e)},le}return z.prototype.isDragging=function(){return this._dragging},z.prototype.isPinching=function(){return this._pinching},z.prototype.setPointerChecker=function(ie){this.pointerChecker=ie},z.prototype.dispose=function(){this.disable()},z.prototype._mousedownHandler=function(ie){if(!isMiddleOrRightButtonOnMouseUpDown(ie)){for(var le=ie.target;le;){if(le.draggable)return;le=le.__hostTarget||le.parent}var ue=ie.offsetX,pe=ie.offsetY;this.pointerChecker&&this.pointerChecker(ie,ue,pe)&&(this._x=ue,this._y=pe,this._dragging=!0)}},z.prototype._mousemoveHandler=function(ie){if(!(!this._dragging||!isAvailableBehavior("moveOnMouseMove",ie,this._opt)||ie.gestureEvent==="pinch"||isTaken(this._zr,"globalPan"))){var le=ie.offsetX,ue=ie.offsetY,pe=this._x,_e=this._y,Ce=le-pe,$e=ue-_e;this._x=le,this._y=ue,this._opt.preventDefaultMouseMove&&stop(ie.event),trigger$1(this,"pan","moveOnMouseMove",ie,{dx:Ce,dy:$e,oldX:pe,oldY:_e,newX:le,newY:ue,isAvailableBehavior:null})}},z.prototype._mouseupHandler=function(ie){isMiddleOrRightButtonOnMouseUpDown(ie)||(this._dragging=!1)},z.prototype._mousewheelHandler=function(ie){var le=isAvailableBehavior("zoomOnMouseWheel",ie,this._opt),ue=isAvailableBehavior("moveOnMouseWheel",ie,this._opt),pe=ie.wheelDelta,_e=Math.abs(pe),Ce=ie.offsetX,$e=ie.offsetY;if(!(pe===0||!le&&!ue)){if(le){var xe=_e>3?1.4:_e>1?1.2:1.1,Ie=pe>0?xe:1/xe;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",ie,{scale:Ie,originX:Ce,originY:$e,isAvailableBehavior:null})}if(ue){var Ve=Math.abs(pe),ze=(pe>0?1:-1)*(Ve>3?.4:Ve>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",ie,{scrollDelta:ze,originX:Ce,originY:$e,isAvailableBehavior:null})}}},z.prototype._pinchHandler=function(ie){if(!isTaken(this._zr,"globalPan")){var le=ie.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,ie,{scale:le,originX:ie.pinchX,originY:ie.pinchY,isAvailableBehavior:null})}},z}(Eventful$1);function checkPointerAndTrigger($,z,ie,le,ue){$.pointerChecker&&$.pointerChecker(le,ue.originX,ue.originY)&&(stop(le.event),trigger$1($,z,ie,le,ue))}function trigger$1($,z,ie,le,ue){ue.isAvailableBehavior=bind$1(isAvailableBehavior,null,ie,le),$.trigger(z,ue)}function isAvailableBehavior($,z,ie){var le=ie[$];return!$||le&&(!isString(le)||z.event[le+"Key"])}const RoamController$1=RoamController;var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement($,z,ie){var le=z.getComponentByElement($.topTarget),ue=le&&le.coordinateSystem;return le&&le!==ie&&!IRRELEVANT_EXCLUDES.hasOwnProperty(le.mainType)&&ue&&ue.model!==ie}var each$9=each$c,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function $(z){var ie=z.mappingMethod,le=z.type,ue=this.option=clone$3(z);this.type=le,this.mappingMethod=ie,this._normalizeData=normalizers[ie];var pe=$.visualHandlers[le];this.applyVisual=pe.applyVisual,this.getColorMapper=pe.getColorMapper,this._normalizedToVisual=pe._normalizedToVisual[ie],ie==="piecewise"?(normalizeVisualRange(ue),preprocessForPiecewise(ue)):ie==="category"?ue.categories?preprocessForSpecifiedCategory(ue):normalizeVisualRange(ue,!0):(assert(ie!=="linear"||ue.dataExtent),normalizeVisualRange(ue))}return $.prototype.mapValueToVisual=function(z){var ie=this._normalizeData(z);return this._normalizedToVisual(ie,z)},$.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},$.listVisualTypes=function(){return keys($.visualHandlers)},$.isValidType=function(z){return $.visualHandlers.hasOwnProperty(z)},$.eachVisual=function(z,ie,le){isObject$3(z)?each$c(z,ie,le):ie.call(le,z)},$.mapVisual=function(z,ie,le){var ue,pe=isArray$1(z)?[]:isObject$3(z)?{}:(ue=!0,null);return $.eachVisual(z,function(_e,Ce){var $e=ie.call(le,_e,Ce);ue?pe=$e:pe[Ce]=$e}),pe},$.retrieveVisuals=function(z){var ie={},le;return z&&each$9($.visualHandlers,function(ue,pe){z.hasOwnProperty(pe)&&(ie[pe]=z[pe],le=!0)}),le?ie:null},$.prepareVisualTypes=function(z){if(isArray$1(z))z=z.slice();else if(isObject(z)){var ie=[];each$9(z,function(le,ue){ie.push(ue)}),z=ie}else return[];return z.sort(function(le,ue){return ue==="color"&&le!=="color"&&le.indexOf("color")===0?1:-1}),z},$.dependsOn=function(z,ie){return ie==="color"?!!(z&&z.indexOf(ie)===0):z===ie},$.findPieceIndex=function(z,ie,le){for(var ue,pe=1/0,_e=0,Ce=ie.length;_e<Ce;_e++){var $e=ie[_e].value;if($e!=null){if($e===z||isString($e)&&$e===z+"")return _e;le&&ze($e,_e)}}for(var _e=0,Ce=ie.length;_e<Ce;_e++){var xe=ie[_e],Ie=xe.interval,Ve=xe.close;if(Ie){if(Ie[0]===-1/0){if(littleThan(Ve[1],z,Ie[1]))return _e}else if(Ie[1]===1/0){if(littleThan(Ve[0],Ie[0],z))return _e}else if(littleThan(Ve[0],Ie[0],z)&&littleThan(Ve[1],z,Ie[1]))return _e;le&&ze(Ie[0],_e),le&&ze(Ie[1],_e)}}if(le)return z===1/0?ie.length-1:z===-1/0?0:ue;function ze(Ue,qe){var Et=Math.abs(Ue-z);Et<pe&&(pe=Et,ue=qe)}},$.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var z=this.option;return bind$1(z.mappingMethod==="category"?function(ie,le){return!le&&(ie=this._normalizeData(ie)),doMapCategory.call(this,ie)}:function(ie,le,ue){var pe=!!ue;return!le&&(ie=this._normalizeData(ie)),ue=fastLerp(ie,z.parsedVisual,ue),pe?ue:stringify(ue,"rgba")},this)},_normalizedToVisual:{linear:function(z){return stringify(fastLerp(z,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function(z,ie){var le=getSpecifiedVisual.call(this,ie);return le==null&&(le=stringify(fastLerp(z,this.option.parsedVisual),"rgba")),le},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler(function(z,ie){return modifyHSL(z,ie)}),colorSaturation:makePartialColorVisualHandler(function(z,ie){return modifyHSL(z,null,ie)}),colorLightness:makePartialColorVisualHandler(function(z,ie){return modifyHSL(z,null,null,ie)}),colorAlpha:makePartialColorVisualHandler(function(z,ie){return modifyAlpha(z,ie)}),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(z,ie,le){var ue=this.mapValueToVisual(z);le("symbol",ue)},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function(z,ie){var le=getSpecifiedVisual.call(this,ie);return le==null&&(le=doMapToArray.call(this,z)),le},fixed:doMapFixed}},symbolSize:{applyVisual:makeApplyVisual("symbolSize"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])}},$}();function preprocessForPiecewise($){var z=$.pieceList;$.hasSpecialVisual=!1,each$c(z,function(ie,le){ie.originIndex=le,ie.visual!=null&&($.hasSpecialVisual=!0)})}function preprocessForSpecifiedCategory($){var z=$.categories,ie=$.categoryMap={},le=$.visual;if(each$9(z,function(_e,Ce){ie[_e]=Ce}),!isArray$1(le)){var ue=[];isObject$3(le)?each$9(le,function(_e,Ce){var $e=ie[Ce];ue[$e??CATEGORY_DEFAULT_VISUAL_INDEX]=_e}):ue[CATEGORY_DEFAULT_VISUAL_INDEX]=le,le=setVisualToOption($,ue)}for(var pe=z.length-1;pe>=0;pe--)le[pe]==null&&(delete ie[z[pe]],z.pop())}function normalizeVisualRange($,z){var ie=$.visual,le=[];isObject$3(ie)?each$9(ie,function(pe){le.push(pe)}):ie!=null&&le.push(ie);var ue={color:1,symbol:1};!z&&le.length===1&&!ue.hasOwnProperty($.type)&&(le[1]=le[0]),setVisualToOption($,le)}function makePartialColorVisualHandler($){return{applyVisual:function(z,ie,le){var ue=this.mapValueToVisual(z);le("color",$(ie("color"),ue))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray($){var z=this.option.visual;return z[Math.round(linearMap$2($,[0,1],[0,z.length-1],!0))]||{}}function makeApplyVisual($){return function(z,ie,le){le($,this.mapValueToVisual(z))}}function doMapCategory($){var z=this.option.visual;return z[this.option.loop&&$!==CATEGORY_DEFAULT_VISUAL_INDEX?$%z.length:$]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual($){return{linear:function(z){return linearMap$2(z,$,this.option.visual,!0)},category:doMapCategory,piecewise:function(z,ie){var le=getSpecifiedVisual.call(this,ie);return le==null&&(le=linearMap$2(z,$,this.option.visual,!0)),le},fixed:doMapFixed}}function getSpecifiedVisual($){var z=this.option,ie=z.pieceList;if(z.hasSpecialVisual){var le=VisualMapping.findPieceIndex($,ie),ue=ie[le];if(ue&&ue.visual)return ue.visual[this.type]}}function setVisualToOption($,z){return $.visual=z,$.type==="color"&&($.parsedVisual=map$2(z,function(ie){var le=parse$1(ie);return le||[0,0,0,1]})),z}var normalizers={linear:function($){return linearMap$2($,this.option.dataExtent,[0,1],!0)},piecewise:function($){var z=this.option.pieceList,ie=VisualMapping.findPieceIndex($,z,!0);if(ie!=null)return linearMap$2(ie,[0,z.length-1],[0,1],!0)},category:function($){var z=this.option.categories?this.option.categoryMap[$]:$;return z??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop};function littleThan($,z,ie){return $?z<=ie:z<ie}const VisualMapping$1=VisualMapping;function sliderMove($,z,ie,le,ue,pe){$=$||0;var _e=ie[1]-ie[0];if(ue!=null&&(ue=restrict(ue,[0,_e])),pe!=null&&(pe=Math.max(pe,ue??0)),le==="all"){var Ce=Math.abs(z[1]-z[0]);Ce=restrict(Ce,[0,_e]),ue=pe=restrict(Ce,[ue,pe]),le=0}z[0]=restrict(z[0],ie),z[1]=restrict(z[1],ie);var $e=getSpanSign(z,le);z[le]+=$;var xe=ue||0,Ie=ie.slice();$e.sign<0?Ie[0]+=xe:Ie[1]-=xe,z[le]=restrict(z[le],Ie);var Ve;return Ve=getSpanSign(z,le),ue!=null&&(Ve.sign!==$e.sign||Ve.span<ue)&&(z[1-le]=z[le]+$e.sign*ue),Ve=getSpanSign(z,le),pe!=null&&Ve.span>pe&&(z[1-le]=z[le]+Ve.sign*pe),z}function getSpanSign($,z){var ie=$[z]-$[1-z];return{span:Math.abs(ie),sign:ie>0?-1:ie<0?1:z?-1:1}}function restrict($,z){return Math.min(z[1]!=null?z[1]:1/0,Math.max(z[0]!=null?z[0]:-1/0,$))}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($){__extends(z,$);function z(ie){var le=$.call(this)||this;return le._track=[],le._covers=[],le._handlers={},le._zr=ie,le.group=new Group$3,le._uid="brushController_"+baseUID++,each$c(pointerHandlers,function(ue,pe){this._handlers[pe]=bind$1(ue,this)},le),le}return z.prototype.enableBrush=function(ie){return this._brushType&&this._doDisableBrush(),ie.brushType&&this._doEnableBrush(ie),this},z.prototype._doEnableBrush=function(ie){var le=this._zr;this._enableGlobalPan||take(le,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(ue,pe){le.on(pe,ue)}),this._brushType=ie.brushType,this._brushOption=merge(clone$3(DEFAULT_BRUSH_OPT),ie,!0)},z.prototype._doDisableBrush=function(){var ie=this._zr;release(ie,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(le,ue){ie.off(ue,le)}),this._brushType=this._brushOption=null},z.prototype.setPanels=function(ie){if(ie&&ie.length){var le=this._panels={};each$c(ie,function(ue){le[ue.panelId]=clone$3(ue)})}else this._panels=null;return this},z.prototype.mount=function(ie){ie=ie||{},this._enableGlobalPan=ie.enableGlobalPan;var le=this.group;return this._zr.add(le),le.attr({x:ie.x||0,y:ie.y||0,rotation:ie.rotation||0,scaleX:ie.scaleX||1,scaleY:ie.scaleY||1}),this._transform=le.getLocalTransform(),this},z.prototype.updateCovers=function(ie){ie=map$2(ie,function(ze){return merge(clone$3(DEFAULT_BRUSH_OPT),ze,!0)});var le="\0-brush-index-",ue=this._covers,pe=this._covers=[],_e=this,Ce=this._creatingCover;return new DataDiffer$1(ue,ie,xe,$e).add(Ie).update(Ie).remove(Ve).execute(),this;function $e(ze,Ue){return(ze.id!=null?ze.id:le+Ue)+"-"+ze.brushType}function xe(ze,Ue){return $e(ze.__brushOption,Ue)}function Ie(ze,Ue){var qe=ie[ze];if(Ue!=null&&ue[Ue]===Ce)pe[ze]=ue[Ue];else{var Et=pe[ze]=Ue!=null?(ue[Ue].__brushOption=qe,ue[Ue]):endCreating(_e,createCover(_e,qe));updateCoverAfterCreation(_e,Et)}}function Ve(ze){ue[ze]!==Ce&&_e.group.remove(ue[ze])}},z.prototype.unmount=function(){return this.enableBrush(!1),clearCovers(this),this._zr.remove(this.group),this},z.prototype.dispose=function(){this.unmount(),this.off()},z}(Eventful$1);function createCover($,z){var ie=coverRenderers[z.brushType].createCover($,z);return ie.__brushOption=z,updateZ(ie,z),$.group.add(ie),ie}function endCreating($,z){var ie=getCoverRenderer(z);return ie.endCreating&&(ie.endCreating($,z),updateZ(z,z.__brushOption)),z}function updateCoverShape($,z){var ie=z.__brushOption;getCoverRenderer(z).updateCoverShape($,z,ie.range,ie)}function updateZ($,z){var ie=z.z;ie==null&&(ie=COVER_Z),$.traverse(function(le){le.z=ie,le.z2=ie})}function updateCoverAfterCreation($,z){getCoverRenderer(z).updateCommon($,z),updateCoverShape($,z)}function getCoverRenderer($){return coverRenderers[$.__brushOption.brushType]}function getPanelByPoint($,z,ie){var le=$._panels;if(!le)return BRUSH_PANEL_GLOBAL;var ue,pe=$._transform;return each$c(le,function(_e){_e.isTargetByCursor(z,ie,pe)&&(ue=_e)}),ue}function getPanelByCover($,z){var ie=$._panels;if(!ie)return BRUSH_PANEL_GLOBAL;var le=z.__brushOption.panelId;return le!=null?ie[le]:BRUSH_PANEL_GLOBAL}function clearCovers($){var z=$._covers,ie=z.length;return each$c(z,function(le){$.group.remove(le)},$),z.length=0,!!ie}function trigger($,z){var ie=map$2($._covers,function(le){var ue=le.__brushOption,pe=clone$3(ue.range);return{brushType:ue.brushType,panelId:ue.panelId,range:pe}});$.trigger("brush",{areas:ie,isEnd:!!z.isEnd,removeOnClick:!!z.removeOnClick})}function shouldShowCover($){var z=$._track;if(!z.length)return!1;var ie=z[z.length-1],le=z[0],ue=ie[0]-le[0],pe=ie[1]-le[1],_e=mathPow(ue*ue+pe*pe,.5);return _e>UNSELECT_THRESHOLD}function getTrackEnds($){var z=$.length-1;return z<0&&(z=0),[$[0],$[z]]}function createBaseRectCover($,z,ie,le){var ue=new Group$3;return ue.add(new Rect$2({name:"main",style:makeStyle(ie),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,$,z,ue,["n","s","w","e"]),ondragend:curry$1(trigger,z,{isEnd:!0})})),each$c(le,function(pe){ue.add(new Rect$2({name:pe.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,$,z,ue,pe),ondragend:curry$1(trigger,z,{isEnd:!0})}))}),ue}function updateBaseRect($,z,ie,le){var ue=le.brushStyle.lineWidth||0,pe=mathMax$1(ue,MIN_RESIZE_LINE_WIDTH),_e=ie[0][0],Ce=ie[1][0],$e=_e-ue/2,xe=Ce-ue/2,Ie=ie[0][1],Ve=ie[1][1],ze=Ie-pe+ue/2,Ue=Ve-pe+ue/2,qe=Ie-_e,Et=Ve-Ce,Lt=qe+ue,hn=Et+ue;updateRectShape($,z,"main",_e,Ce,qe,Et),le.transformable&&(updateRectShape($,z,"w",$e,xe,pe,hn),updateRectShape($,z,"e",ze,xe,pe,hn),updateRectShape($,z,"n",$e,xe,Lt,pe),updateRectShape($,z,"s",$e,Ue,Lt,pe),updateRectShape($,z,"nw",$e,xe,pe,pe),updateRectShape($,z,"ne",ze,xe,pe,pe),updateRectShape($,z,"sw",$e,Ue,pe,pe),updateRectShape($,z,"se",ze,Ue,pe,pe))}function updateCommon($,z){var ie=z.__brushOption,le=ie.transformable,ue=z.childAt(0);ue.useStyle(makeStyle(ie)),ue.attr({silent:!le,cursor:le?"move":"default"}),each$c([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(pe){var _e=z.childOfName(pe.join("")),Ce=pe.length===1?getGlobalDirection1($,pe[0]):getGlobalDirection2($,pe);_e&&_e.attr({silent:!le,invisible:!le,cursor:le?CURSOR_MAP[Ce]+"-resize":null})})}function updateRectShape($,z,ie,le,ue,pe,_e){var Ce=z.childOfName(ie);Ce&&Ce.setShape(pointsToRect(clipByPanel($,z,[[le,ue],[le+pe,ue+_e]])))}function makeStyle($){return defaults({strokeNoScale:!0},$.brushStyle)}function formatRectRange($,z,ie,le){var ue=[mathMin$1($,ie),mathMin$1(z,le)],pe=[mathMax$1($,ie),mathMax$1(z,le)];return[[ue[0],pe[0]],[ue[1],pe[1]]]}function getTransform($){return getTransform$1($.group)}function getGlobalDirection1($,z){var ie={w:"left",e:"right",n:"top",s:"bottom"},le={left:"w",right:"e",top:"n",bottom:"s"},ue=transformDirection(ie[z],getTransform($));return le[ue]}function getGlobalDirection2($,z){var ie=[getGlobalDirection1($,z[0]),getGlobalDirection1($,z[1])];return(ie[0]==="e"||ie[0]==="w")&&ie.reverse(),ie.join("")}function driftRect($,z,ie,le,ue,pe){var _e=ie.__brushOption,Ce=$.toRectRange(_e.range),$e=toLocalDelta(z,ue,pe);each$c(le,function(xe){var Ie=DIRECTION_MAP[xe];Ce[Ie[0]][Ie[1]]+=$e[Ie[0]]}),_e.range=$.fromRectRange(formatRectRange(Ce[0][0],Ce[1][0],Ce[0][1],Ce[1][1])),updateCoverAfterCreation(z,ie),trigger(z,{isEnd:!1})}function driftPolygon($,z,ie,le){var ue=z.__brushOption.range,pe=toLocalDelta($,ie,le);each$c(ue,function(_e){_e[0]+=pe[0],_e[1]+=pe[1]}),updateCoverAfterCreation($,z),trigger($,{isEnd:!1})}function toLocalDelta($,z,ie){var le=$.group,ue=le.transformCoordToLocal(z,ie),pe=le.transformCoordToLocal(0,0);return[ue[0]-pe[0],ue[1]-pe[1]]}function clipByPanel($,z,ie){var le=getPanelByCover($,z);return le&&le!==BRUSH_PANEL_GLOBAL?le.clipPath(ie,$._transform):clone$3(ie)}function pointsToRect($){var z=mathMin$1($[0][0],$[1][0]),ie=mathMin$1($[0][1],$[1][1]),le=mathMax$1($[0][0],$[1][0]),ue=mathMax$1($[0][1],$[1][1]);return{x:z,y:ie,width:le-z,height:ue-ie}}function resetCursor($,z,ie){if(!(!$._brushType||isOutsideZrArea($,z.offsetX,z.offsetY))){var le=$._zr,ue=$._covers,pe=getPanelByPoint($,z,ie);if(!$._dragging)for(var _e=0;_e<ue.length;_e++){var Ce=ue[_e].__brushOption;if(pe&&(pe===BRUSH_PANEL_GLOBAL||Ce.panelId===pe.panelId)&&coverRenderers[Ce.brushType].contain(ue[_e],ie[0],ie[1]))return}pe&&le.setCursorStyle("crosshair")}}function preventDefault($){var z=$.event;z.preventDefault&&z.preventDefault()}function mainShapeContain($,z,ie){return $.childOfName("main").contain(z,ie)}function updateCoverByMouse($,z,ie,le){var ue=$._creatingCover,pe=$._creatingPanel,_e=$._brushOption,Ce;if($._track.push(ie.slice()),shouldShowCover($)||ue){if(pe&&!ue){_e.brushMode==="single"&&clearCovers($);var $e=clone$3(_e);$e.brushType=determineBrushType($e.brushType,pe),$e.panelId=pe===BRUSH_PANEL_GLOBAL?null:pe.panelId,ue=$._creatingCover=createCover($,$e),$._covers.push(ue)}if(ue){var xe=coverRenderers[determineBrushType($._brushType,pe)],Ie=ue.__brushOption;Ie.range=xe.getCreatingRange(clipByPanel($,ue,$._track)),le&&(endCreating($,ue),xe.updateCommon($,ue)),updateCoverShape($,ue),Ce={isEnd:le}}}else le&&_e.brushMode==="single"&&_e.removeOnClick&&getPanelByPoint($,z,ie)&&clearCovers($)&&(Ce={isEnd:le,removeOnClick:!0});return Ce}function determineBrushType($,z){return $==="auto"?z.defaultBrushType:$}var pointerHandlers={mousedown:function($){if(this._dragging)handleDragEnd(this,$);else if(!$.target||!$.target.draggable){preventDefault($);var z=this.group.transformCoordToLocal($.offsetX,$.offsetY);this._creatingCover=null;var ie=this._creatingPanel=getPanelByPoint(this,$,z);ie&&(this._dragging=!0,this._track=[z.slice()])}},mousemove:function($){var z=$.offsetX,ie=$.offsetY,le=this.group.transformCoordToLocal(z,ie);if(resetCursor(this,$,le),this._dragging){preventDefault($);var ue=updateCoverByMouse(this,$,le,!1);ue&&trigger(this,ue)}},mouseup:function($){handleDragEnd(this,$)}};function handleDragEnd($,z){if($._dragging){preventDefault(z);var ie=z.offsetX,le=z.offsetY,ue=$.group.transformCoordToLocal(ie,le),pe=updateCoverByMouse($,z,ue,!0);$._dragging=!1,$._track=[],$._creatingCover=null,pe&&trigger($,pe)}}function isOutsideZrArea($,z,ie){var le=$._zr;return z<0||z>le.getWidth()||ie<0||ie>le.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function($,z){function ie(le){return le}return createBaseRectCover({toRectRange:ie,fromRectRange:ie},$,z,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function($){var z=getTrackEnds($);return formatRectRange(z[1][0],z[1][1],z[0][0],z[0][1])},updateCoverShape:function($,z,ie,le){updateBaseRect($,z,ie,le)},updateCommon,contain:mainShapeContain},polygon:{createCover:function($,z){var ie=new Group$3;return ie.add(new Polyline$1({name:"main",style:makeStyle(z),silent:!0})),ie},getCreatingRange:function($){return $},endCreating:function($,z){z.remove(z.childAt(0)),z.add(new Polygon$1({name:"main",draggable:!0,drift:curry$1(driftPolygon,$,z),ondragend:curry$1(trigger,$,{isEnd:!0})}))},updateCoverShape:function($,z,ie,le){z.childAt(0).setShape({points:clipByPanel($,z,ie)})},updateCommon,contain:mainShapeContain}};function getLineRenderer($){return{createCover:function(z,ie){return createBaseRectCover({toRectRange:function(le){var ue=[le,[0,100]];return $&&ue.reverse(),ue},fromRectRange:function(le){return le[$]}},z,ie,[[["w"],["e"]],[["n"],["s"]]][$])},getCreatingRange:function(z){var ie=getTrackEnds(z),le=mathMin$1(ie[0][$],ie[1][$]),ue=mathMax$1(ie[0][$],ie[1][$]);return[le,ue]},updateCoverShape:function(z,ie,le,ue){var pe,_e=getPanelByCover(z,ie);if(_e!==BRUSH_PANEL_GLOBAL&&_e.getLinearBrushOtherExtent)pe=_e.getLinearBrushOtherExtent($);else{var Ce=z._zr;pe=[0,[Ce.getWidth(),Ce.getHeight()][1-$]]}var $e=[le,pe];$&&$e.reverse(),updateBaseRect(z,ie,$e,ue)},updateCommon,contain:mainShapeContain}}const BrushController$1=BrushController;function makeRectPanelClipPath($){return $=normalizeRect($),function(z){return clipPointsByRect(z,$)}}function makeLinearBrushOtherExtent($,z){return $=normalizeRect($),function(ie){var le=z??ie,ue=le?$.width:$.height,pe=le?$.x:$.y;return[pe,pe+(ue||0)]}}function makeRectIsTargetByCursor($,z,ie){var le=normalizeRect($);return function(ue,pe){return le.contain(pe[0],pe[1])&&!onIrrelevantElement(ue,z,ie)}}function normalizeRect($){return BoundingRect$1.create($)}function isEC4CompatibleStyle($,z,ie,le){return $&&($.legacy||$.legacy!==!1&&!ie&&!le&&z!=="tspan"&&(z==="text"||hasOwn($,"text")))}function convertFromEC4CompatibleStyle($,z,ie){var le=$,ue,pe,_e;if(z==="text")_e=le;else{_e={},hasOwn(le,"text")&&(_e.text=le.text),hasOwn(le,"rich")&&(_e.rich=le.rich),hasOwn(le,"textFill")&&(_e.fill=le.textFill),hasOwn(le,"textStroke")&&(_e.stroke=le.textStroke),hasOwn(le,"fontFamily")&&(_e.fontFamily=le.fontFamily),hasOwn(le,"fontSize")&&(_e.fontSize=le.fontSize),hasOwn(le,"fontStyle")&&(_e.fontStyle=le.fontStyle),hasOwn(le,"fontWeight")&&(_e.fontWeight=le.fontWeight),pe={type:"text",style:_e,silent:!0},ue={};var Ce=hasOwn(le,"textPosition");ie?ue.position=Ce?le.textPosition:"inside":Ce&&(ue.position=le.textPosition),hasOwn(le,"textPosition")&&(ue.position=le.textPosition),hasOwn(le,"textOffset")&&(ue.offset=le.textOffset),hasOwn(le,"textRotation")&&(ue.rotation=le.textRotation),hasOwn(le,"textDistance")&&(ue.distance=le.textDistance)}return convertEC4CompatibleRichItem(_e,$),each$c(_e.rich,function($e){convertEC4CompatibleRichItem($e,$e)}),{textConfig:ue,textContent:pe}}function convertEC4CompatibleRichItem($,z){z&&(z.font=z.textFont||z.font,hasOwn(z,"textStrokeWidth")&&($.lineWidth=z.textStrokeWidth),hasOwn(z,"textAlign")&&($.align=z.textAlign),hasOwn(z,"textVerticalAlign")&&($.verticalAlign=z.textVerticalAlign),hasOwn(z,"textLineHeight")&&($.lineHeight=z.textLineHeight),hasOwn(z,"textWidth")&&($.width=z.textWidth),hasOwn(z,"textHeight")&&($.height=z.textHeight),hasOwn(z,"textBackgroundColor")&&($.backgroundColor=z.textBackgroundColor),hasOwn(z,"textPadding")&&($.padding=z.textPadding),hasOwn(z,"textBorderColor")&&($.borderColor=z.textBorderColor),hasOwn(z,"textBorderWidth")&&($.borderWidth=z.textBorderWidth),hasOwn(z,"textBorderRadius")&&($.borderRadius=z.textBorderRadius),hasOwn(z,"textBoxShadowColor")&&($.shadowColor=z.textBoxShadowColor),hasOwn(z,"textBoxShadowBlur")&&($.shadowBlur=z.textBoxShadowBlur),hasOwn(z,"textBoxShadowOffsetX")&&($.shadowOffsetX=z.textBoxShadowOffsetX),hasOwn(z,"textBoxShadowOffsetY")&&($.shadowOffsetY=z.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($,z){return $[z]=1,$},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig($,z,ie,le,ue){var pe=$+"Animation",_e=getAnimationConfig($,le,ue)||{},Ce=transitionInnerStore(z).userDuring;return _e.duration>0&&(_e.during=Ce?bind$1(duringCall,{el:z,userDuring:Ce}):null,_e.setToFinal=!0,_e.scope=$),extend(_e,ie[pe]),_e}function applyUpdateTransition($,z,ie,le){le=le||{};var ue=le.dataIndex,pe=le.isInit,_e=le.clearStyle,Ce=ie.isAnimationEnabled(),$e=transitionInnerStore($),xe=z.style;$e.userDuring=z.during;var Ie={},Ve={};if(prepareTransformAllPropsFinal($,z,Ve),prepareShapeOrExtraAllPropsFinal("shape",z,Ve),prepareShapeOrExtraAllPropsFinal("extra",z,Ve),!pe&&Ce&&(prepareTransformTransitionFrom($,z,Ie),prepareShapeOrExtraTransitionFrom("shape",$,z,Ie),prepareShapeOrExtraTransitionFrom("extra",$,z,Ie),prepareStyleTransitionFrom($,z,xe,Ie)),Ve.style=xe,applyPropsDirectly($,Ve,_e),applyMiscProps($,z),Ce)if(pe){var ze={};each$c(ELEMENT_ANIMATABLE_PROPS,function(qe){var Et=qe?z[qe]:z;Et&&Et.enterFrom&&(qe&&(ze[qe]=ze[qe]||{}),extend(qe?ze[qe]:ze,Et.enterFrom))});var Ue=getElementAnimationConfig("enter",$,z,ie,ue);Ue.duration>0&&$.animateFrom(ze,Ue)}else applyPropsTransition($,z,ue||0,ie,Ie);updateLeaveTo($,z),xe?$.dirty():$.markRedraw()}function updateLeaveTo($,z){for(var ie=transitionInnerStore($).leaveToProps,le=0;le<ELEMENT_ANIMATABLE_PROPS.length;le++){var ue=ELEMENT_ANIMATABLE_PROPS[le],pe=ue?z[ue]:z;pe&&pe.leaveTo&&(ie||(ie=transitionInnerStore($).leaveToProps={}),ue&&(ie[ue]=ie[ue]||{}),extend(ue?ie[ue]:ie,pe.leaveTo))}}function applyLeaveTransition($,z,ie,le){if($){var ue=$.parent,pe=transitionInnerStore($).leaveToProps;if(pe){var _e=getElementAnimationConfig("update",$,z,ie,0);_e.done=function(){ue.remove($),le&&le()},$.animateTo(pe,_e)}else ue.remove($),le&&le()}}function isTransitionAll($){return $==="all"}function applyPropsDirectly($,z,ie){var le=z.style;if(!$.isGroup&&le){if(ie){$.useStyle({});for(var ue=$.animators,pe=0;pe<ue.length;pe++){var _e=ue[pe];_e.targetName==="style"&&_e.changeTarget($.style)}}$.setStyle(le)}z&&(z.style=null,z&&$.attr(z),z.style=le)}function applyPropsTransition($,z,ie,le,ue){if(ue){var pe=getElementAnimationConfig("update",$,z,le,ie);pe.duration>0&&$.animateFrom(ue,pe)}}function applyMiscProps($,z){hasOwn(z,"silent")&&($.silent=z.silent),hasOwn(z,"ignore")&&($.ignore=z.ignore),$ instanceof Displayable$1&&hasOwn(z,"invisible")&&($.invisible=z.invisible),$ instanceof Path$1&&hasOwn(z,"autoBatch")&&($.autoBatch=z.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function($,z){return tmpDuringScope.el[$]=z,this},getTransform:function($){return tmpDuringScope.el[$]},setShape:function($,z){var ie=tmpDuringScope.el,le=ie.shape||(ie.shape={});return le[$]=z,ie.dirtyShape&&ie.dirtyShape(),this},getShape:function($){var z=tmpDuringScope.el.shape;if(z)return z[$]},setStyle:function($,z){var ie=tmpDuringScope.el,le=ie.style;return le&&(le[$]=z,ie.dirtyStyle&&ie.dirtyStyle()),this},getStyle:function($){var z=tmpDuringScope.el.style;if(z)return z[$]},setExtra:function($,z){var ie=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return ie[$]=z,this},getExtra:function($){var z=tmpDuringScope.el.extra;if(z)return z[$]}};function duringCall(){var $=this,z=$.el;if(z){var ie=transitionInnerStore(z).userDuring,le=$.userDuring;if(ie!==le){$.el=$.userDuring=null;return}tmpDuringScope.el=z,le(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom($,z,ie,le){var ue=ie[$];if(ue){var pe=z[$],_e;if(pe){var Ce=ie.transition,$e=ue.transition;if($e)if(!_e&&(_e=le[$]={}),isTransitionAll($e))extend(_e,pe);else for(var xe=normalizeToArray($e),Ie=0;Ie<xe.length;Ie++){var Ve=xe[Ie],ze=pe[Ve];_e[Ve]=ze}else if(isTransitionAll(Ce)||indexOf(Ce,$)>=0){!_e&&(_e=le[$]={});for(var Ue=keys(pe),Ie=0;Ie<Ue.length;Ie++){var Ve=Ue[Ie],ze=pe[Ve];isNonStyleTransitionEnabled(ue[Ve],ze)&&(_e[Ve]=ze)}}}}}function prepareShapeOrExtraAllPropsFinal($,z,ie){var le=z[$];if(le)for(var ue=ie[$]={},pe=keys(le),_e=0;_e<pe.length;_e++){var Ce=pe[_e];ue[Ce]=cloneValue(le[Ce])}}function prepareTransformTransitionFrom($,z,ie){for(var le=z.transition,ue=isTransitionAll(le)?TRANSFORMABLE_PROPS:normalizeToArray(le||[]),pe=0;pe<ue.length;pe++){var _e=ue[pe];if(!(_e==="style"||_e==="shape"||_e==="extra")){var Ce=$[_e];ie[_e]=Ce}}}function prepareTransformAllPropsFinal($,z,ie){for(var le=0;le<LEGACY_TRANSFORM_PROPS.length;le++){var ue=LEGACY_TRANSFORM_PROPS[le],pe=LEGACY_TRANSFORM_PROPS_MAP[ue],_e=z[ue];_e&&(ie[pe[0]]=_e[0],ie[pe[1]]=_e[1])}for(var le=0;le<TRANSFORMABLE_PROPS.length;le++){var Ce=TRANSFORMABLE_PROPS[le];z[Ce]!=null&&(ie[Ce]=z[Ce])}}function prepareStyleTransitionFrom($,z,ie,le){if(ie){var ue=$.style,pe;if(ue){var _e=ie.transition,Ce=z.transition;if(_e&&!isTransitionAll(_e)){var $e=normalizeToArray(_e);!pe&&(pe=le.style={});for(var xe=0;xe<$e.length;xe++){var Ie=$e[xe],Ve=ue[Ie];pe[Ie]=Ve}}else if($.getAnimationStyleProps&&(isTransitionAll(Ce)||isTransitionAll(_e)||indexOf(Ce,"style")>=0)){var ze=$.getAnimationStyleProps(),Ue=ze?ze.style:null;if(Ue){!pe&&(pe=le.style={});for(var qe=keys(ie),xe=0;xe<qe.length;xe++){var Ie=qe[xe];if(Ue[Ie]){var Ve=ue[Ie];pe[Ie]=Ve}}}}}}}function isNonStyleTransitionEnabled($,z){return isArrayLike($)?$!==z:$!=null&&isFinite($)}var getStateToRestore=makeInner(),KEYFRAME_EXCLUDE_KEYS=["percent","easing","shape","style","extra"];function stopPreviousKeyframeAnimationAndRestore($){$.stopAnimation("keyframe"),$.attr(getStateToRestore($))}function applyKeyframeAnimation($,z,ie){if(!(!ie.isAnimationEnabled()||!z)){if(isArray$1(z)){each$c(z,function(Ce){applyKeyframeAnimation($,Ce,ie)});return}var le=z.keyframes,ue=z.duration;if(ie&&ue==null){var pe=getAnimationConfig("enter",ie,0);ue=pe&&pe.duration}if(!(!le||!ue)){var _e=getStateToRestore($);each$c(ELEMENT_ANIMATABLE_PROPS,function(Ce){if(!(Ce&&!$[Ce])){var $e;le.sort(function(xe,Ie){return xe.percent-Ie.percent}),each$c(le,function(xe){var Ie=$.animators,Ve=Ce?xe[Ce]:xe;if(Ve){var ze=keys(Ve);if(Ce||(ze=filter(ze,function(Et){return indexOf(KEYFRAME_EXCLUDE_KEYS,Et)<0})),!!ze.length){$e||($e=$.animate(Ce,z.loop,!0),$e.scope="keyframe");for(var Ue=0;Ue<Ie.length;Ue++)Ie[Ue]!==$e&&Ie[Ue].targetName===$e.targetName&&Ie[Ue].stopTracks(ze);Ce&&(_e[Ce]=_e[Ce]||{});var qe=Ce?_e[Ce]:_e;each$c(ze,function(Et){qe[Et]=((Ce?$[Ce]:$)||{})[Et]}),$e.whenWithKeys(ue*xe.percent,Ve,ze,xe.easing)}}}),$e&&$e.delay(z.delay||0).duration(ue).start(z.easing)}})}}}var inner$5=makeInner(),clone=clone$3,bind=bind$1,BaseAxisPointer=function(){function $(){this._dragging=!1,this.animationThreshold=15}return $.prototype.render=function(z,ie,le,ue){var pe=ie.get("value"),_e=ie.get("status");if(this._axisModel=z,this._axisPointerModel=ie,this._api=le,!(!ue&&this._lastValue===pe&&this._lastStatus===_e)){this._lastValue=pe,this._lastStatus=_e;var Ce=this._group,$e=this._handle;if(!_e||_e==="hide"){Ce&&Ce.hide(),$e&&$e.hide();return}Ce&&Ce.show(),$e&&$e.show();var xe={};this.makeElOption(xe,pe,z,ie,le);var Ie=xe.graphicKey;Ie!==this._lastGraphicKey&&this.clear(le),this._lastGraphicKey=Ie;var Ve=this._moveAnimation=this.determineAnimation(z,ie);if(!Ce)Ce=this._group=new Group$3,this.createPointerEl(Ce,xe,z,ie),this.createLabelEl(Ce,xe,z,ie),le.getZr().add(Ce);else{var ze=curry$1(updateProps,ie,Ve);this.updatePointerEl(Ce,xe,ze),this.updateLabelEl(Ce,xe,ze,ie)}updateMandatoryProps(Ce,ie,!0),this._renderHandle(pe)}},$.prototype.remove=function(z){this.clear(z)},$.prototype.dispose=function(z){this.clear(z)},$.prototype.determineAnimation=function(z,ie){var le=ie.get("animation"),ue=z.axis,pe=ue.type==="category",_e=ie.get("snap");if(!_e&&!pe)return!1;if(le==="auto"||le==null){var Ce=this.animationThreshold;if(pe&&ue.getBandWidth()>Ce)return!0;if(_e){var $e=getAxisInfo(z).seriesDataCount,xe=ue.getExtent();return Math.abs(xe[0]-xe[1])/$e>Ce}return!1}return le===!0},$.prototype.makeElOption=function(z,ie,le,ue,pe){},$.prototype.createPointerEl=function(z,ie,le,ue){var pe=ie.pointer;if(pe){var _e=inner$5(z).pointerEl=new graphic$1[pe.type](clone(ie.pointer));z.add(_e)}},$.prototype.createLabelEl=function(z,ie,le,ue){if(ie.label){var pe=inner$5(z).labelEl=new ZRText$1(clone(ie.label));z.add(pe),updateLabelShowHide(pe,ue)}},$.prototype.updatePointerEl=function(z,ie,le){var ue=inner$5(z).pointerEl;ue&&ie.pointer&&(ue.setStyle(ie.pointer.style),le(ue,{shape:ie.pointer.shape}))},$.prototype.updateLabelEl=function(z,ie,le,ue){var pe=inner$5(z).labelEl;pe&&(pe.setStyle(ie.label.style),le(pe,{x:ie.label.x,y:ie.label.y}),updateLabelShowHide(pe,ue))},$.prototype._renderHandle=function(z){if(!(this._dragging||!this.updateHandleTransform)){var ie=this._axisPointerModel,le=this._api.getZr(),ue=this._handle,pe=ie.getModel("handle"),_e=ie.get("status");if(!pe.get("show")||!_e||_e==="hide"){ue&&le.remove(ue),this._handle=null;return}var Ce;this._handle||(Ce=!0,ue=this._handle=createIcon(pe.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(xe){stop(xe.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),le.add(ue)),updateMandatoryProps(ue,ie,!1),ue.setStyle(pe.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var $e=pe.get("size");isArray$1($e)||($e=[$e,$e]),ue.scaleX=$e[0]/2,ue.scaleY=$e[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",pe.get("throttle")||0,"fixRate"),this._moveHandleToValue(z,Ce)}},$.prototype._moveHandleToValue=function(z,ie){updateProps(this._axisPointerModel,!ie&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(z,this._axisModel,this._axisPointerModel)))},$.prototype._onHandleDragMove=function(z,ie){var le=this._handle;if(le){this._dragging=!0;var ue=this.updateHandleTransform(getHandleTransProps(le),[z,ie],this._axisModel,this._axisPointerModel);this._payloadInfo=ue,le.stopAnimation(),le.attr(getHandleTransProps(ue)),inner$5(le).lastProp=null,this._doDispatchAxisPointer()}},$.prototype._doDispatchAxisPointer=function(){var z=this._handle;if(z){var ie=this._payloadInfo,le=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:ie.cursorPoint[0],y:ie.cursorPoint[1],tooltipOption:ie.tooltipOption,axesInfo:[{axisDim:le.axis.dim,axisIndex:le.componentIndex}]})}},$.prototype._onHandleDragEnd=function(){this._dragging=!1;var z=this._handle;if(z){var ie=this._axisPointerModel.get("value");this._moveHandleToValue(ie),this._api.dispatchAction({type:"hideTip"})}},$.prototype.clear=function(z){this._lastValue=null,this._lastStatus=null;var ie=z.getZr(),le=this._group,ue=this._handle;ie&&le&&(this._lastGraphicKey=null,le&&ie.remove(le),ue&&ie.remove(ue),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},$.prototype.doClear=function(){},$.prototype.buildLabel=function(z,ie,le){return le=le||0,{x:z[le],y:z[1-le],width:ie[le],height:ie[1-le]}},$}();function updateProps($,z,ie,le){propsEqual(inner$5(ie).lastProp,le)||(inner$5(ie).lastProp=le,z?updateProps$1(ie,le,$):(ie.stopAnimation(),ie.attr(le)))}function propsEqual($,z){if(isObject$3($)&&isObject$3(z)){var ie=!0;return each$c(z,function(le,ue){ie=ie&&propsEqual($[ue],le)}),!!ie}else return $===z}function updateLabelShowHide($,z){$[z.get(["label","show"])?"show":"hide"]()}function getHandleTransProps($){return{x:$.x||0,y:$.y||0,rotation:$.rotation||0}}function updateMandatoryProps($,z,ie){var le=z.get("z"),ue=z.get("zlevel");$&&$.traverse(function(pe){pe.type!=="group"&&(le!=null&&(pe.z=le),ue!=null&&(pe.zlevel=ue),pe.silent=ie)})}const BaseAxisPointer$1=BaseAxisPointer;function buildElStyle($){var z=$.get("type"),ie=$.getModel(z+"Style"),le;return z==="line"?(le=ie.getLineStyle(),le.fill=null):z==="shadow"&&(le=ie.getAreaStyle(),le.stroke=null),le}function buildLabelElOption($,z,ie,le,ue){var pe=ie.get("value"),_e=getValueLabel(pe,z.axis,z.ecModel,ie.get("seriesDataIndices"),{precision:ie.get(["label","precision"]),formatter:ie.get(["label","formatter"])}),Ce=ie.getModel("label"),$e=normalizeCssArray(Ce.get("padding")||0),xe=Ce.getFont(),Ie=getBoundingRect(_e,xe),Ve=ue.position,ze=Ie.width+$e[1]+$e[3],Ue=Ie.height+$e[0]+$e[2],qe=ue.align;qe==="right"&&(Ve[0]-=ze),qe==="center"&&(Ve[0]-=ze/2);var Et=ue.verticalAlign;Et==="bottom"&&(Ve[1]-=Ue),Et==="middle"&&(Ve[1]-=Ue/2),confineInContainer(Ve,ze,Ue,le);var Lt=Ce.get("backgroundColor");(!Lt||Lt==="auto")&&(Lt=z.get(["axisLine","lineStyle","color"])),$.label={x:Ve[0],y:Ve[1],style:createTextStyle$1(Ce,{text:_e,font:xe,fill:Ce.getTextColor(),padding:$e,backgroundColor:Lt}),z2:10}}function confineInContainer($,z,ie,le){var ue=le.getWidth(),pe=le.getHeight();$[0]=Math.min($[0]+z,ue)-z,$[1]=Math.min($[1]+ie,pe)-ie,$[0]=Math.max($[0],0),$[1]=Math.max($[1],0)}function getValueLabel($,z,ie,le,ue){$=z.scale.parse($);var pe=z.scale.getLabel({value:$},{precision:ue.precision}),_e=ue.formatter;if(_e){var Ce={value:getAxisRawValue(z,{value:$}),axisDimension:z.dim,axisIndex:z.index,seriesData:[]};each$c(le,function($e){var xe=ie.getSeriesByIndex($e.seriesIndex),Ie=$e.dataIndexInside,Ve=xe&&xe.getDataParams(Ie);Ve&&Ce.seriesData.push(Ve)}),isString(_e)?pe=_e.replace("{value}",pe):isFunction(_e)&&(pe=_e(Ce))}return pe}function getTransformedPosition($,z,ie){var le=create();return rotate(le,le,ie.rotation),translate(le,le,ie.position),applyTransform([$.dataToCoord(z),(ie.labelOffset||0)+(ie.labelDirection||1)*(ie.labelMargin||0)],le)}function buildCartesianSingleLabelElOption($,z,ie,le,ue,pe){var _e=AxisBuilder$1.innerTextLayout(ie.rotation,0,ie.labelDirection);ie.labelMargin=ue.get(["label","margin"]),buildLabelElOption(z,le,ue,pe,{position:getTransformedPosition(le.axis,$,ie),align:_e.textAlign,verticalAlign:_e.textVerticalAlign})}function makeLineShape($,z,ie){return ie=ie||0,{x1:$[ie],y1:$[1-ie],x2:z[ie],y2:z[1-ie]}}function makeRectShape($,z,ie){return ie=ie||0,{x:$[ie],y:$[1-ie],width:z[ie],height:z[1-ie]}}var CartesianAxisPointer=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.makeElOption=function(ie,le,ue,pe,_e){var Ce=ue.axis,$e=Ce.grid,xe=pe.get("type"),Ie=getCartesian($e,Ce).getOtherAxis(Ce).getGlobalExtent(),Ve=Ce.toGlobalCoord(Ce.dataToCoord(le,!0));if(xe&&xe!=="none"){var ze=buildElStyle(pe),Ue=pointerShapeBuilder[xe](Ce,Ve,Ie);Ue.style=ze,ie.graphicKey=Ue.type,ie.pointer=Ue}var qe=layout$1($e.model,ue);buildCartesianSingleLabelElOption(le,ie,qe,ue,pe,_e)},z.prototype.getHandleTransform=function(ie,le,ue){var pe=layout$1(le.axis.grid.model,le,{labelInside:!1});pe.labelMargin=ue.get(["handle","margin"]);var _e=getTransformedPosition(le.axis,ie,pe);return{x:_e[0],y:_e[1],rotation:pe.rotation+(pe.labelDirection<0?Math.PI:0)}},z.prototype.updateHandleTransform=function(ie,le,ue,pe){var _e=ue.axis,Ce=_e.grid,$e=_e.getGlobalExtent(!0),xe=getCartesian(Ce,_e).getOtherAxis(_e).getGlobalExtent(),Ie=_e.dim==="x"?0:1,Ve=[ie.x,ie.y];Ve[Ie]+=le[Ie],Ve[Ie]=Math.min($e[1],Ve[Ie]),Ve[Ie]=Math.max($e[0],Ve[Ie]);var ze=(xe[1]+xe[0])/2,Ue=[ze,ze];Ue[Ie]=Ve[Ie];var qe=[{verticalAlign:"middle"},{align:"center"}];return{x:Ve[0],y:Ve[1],rotation:ie.rotation,cursorPoint:Ue,tooltipOption:qe[Ie]}},z}(BaseAxisPointer$1);function getCartesian($,z){var ie={};return ie[z.dim+"AxisIndex"]=z.index,$.getCartesian(ie)}var pointerShapeBuilder={line:function($,z,ie){var le=makeLineShape([z,ie[0]],[z,ie[1]],getAxisDimIndex($));return{type:"Line",subPixelOptimize:!0,shape:le}},shadow:function($,z,ie){var le=Math.max(1,$.getBandWidth()),ue=ie[1]-ie[0];return{type:"Rect",shape:makeRectShape([z-le/2,ie[0]],[le,ue],getAxisDimIndex($))}}};function getAxisDimIndex($){return $.dim==="x"?0:1}const CartesianAxisPointer$1=CartesianAxisPointer;var AxisPointerModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="axisPointer",z.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}},z}(ComponentModel$1);const AxisPointerModel$1=AxisPointerModel;var inner$4=makeInner(),each$8=each$c;function register($,z,ie){if(!env$1.node){var le=z.getZr();inner$4(le).records||(inner$4(le).records={}),initGlobalListeners(le,z);var ue=inner$4(le).records[$]||(inner$4(le).records[$]={});ue.handler=ie}}function initGlobalListeners($,z){if(inner$4($).initialized)return;inner$4($).initialized=!0,ie("click",curry$1(doEnter,"click")),ie("mousemove",curry$1(doEnter,"mousemove")),ie("globalout",onLeave);function ie(le,ue){$.on(le,function(pe){var _e=makeDispatchAction$1(z);each$8(inner$4($).records,function(Ce){Ce&&ue(Ce,pe,_e.dispatchAction)}),dispatchTooltipFinally(_e.pendings,z)})}}function dispatchTooltipFinally($,z){var ie=$.showTip.length,le=$.hideTip.length,ue;ie?ue=$.showTip[ie-1]:le&&(ue=$.hideTip[le-1]),ue&&(ue.dispatchAction=null,z.dispatchAction(ue))}function onLeave($,z,ie){$.handler("leave",null,ie)}function doEnter($,z,ie,le){z.handler($,ie,le)}function makeDispatchAction$1($){var z={showTip:[],hideTip:[]},ie=function(le){var ue=z[le.type];ue?ue.push(le):(le.dispatchAction=ie,$.dispatchAction(le))};return{dispatchAction:ie,pendings:z}}function unregister($,z){if(!env$1.node){var ie=z.getZr(),le=(inner$4(ie).records||{})[$];le&&(inner$4(ie).records[$]=null)}}var AxisPointerView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.render=function(ie,le,ue){var pe=le.getComponent("tooltip"),_e=ie.get("triggerOn")||pe&&pe.get("triggerOn")||"mousemove|click";register("axisPointer",ue,function(Ce,$e,xe){_e!=="none"&&(Ce==="leave"||_e.indexOf(Ce)>=0)&&xe({type:"updateAxisPointer",currTrigger:Ce,x:$e&&$e.offsetX,y:$e&&$e.offsetY})})},z.prototype.remove=function(ie,le){unregister("axisPointer",le)},z.prototype.dispose=function(ie,le){unregister("axisPointer",le)},z.type="axisPointer",z}(ComponentView$1);const AxisPointerView$1=AxisPointerView;function findPointFromSeries($,z){var ie=[],le=$.seriesIndex,ue;if(le==null||!(ue=z.getSeriesByIndex(le)))return{point:[]};var pe=ue.getData(),_e=queryDataIndex(pe,$);if(_e==null||_e<0||isArray$1(_e))return{point:[]};var Ce=pe.getItemGraphicEl(_e),$e=ue.coordinateSystem;if(ue.getTooltipPosition)ie=ue.getTooltipPosition(_e)||[];else if($e&&$e.dataToPoint)if($.isStacked){var xe=$e.getBaseAxis(),Ie=$e.getOtherAxis(xe),Ve=Ie.dim,ze=xe.dim,Ue=Ve==="x"||Ve==="radius"?1:0,qe=pe.mapDimension(ze),Et=[];Et[Ue]=pe.get(qe,_e),Et[1-Ue]=pe.get(pe.getCalculationInfo("stackResultDimension"),_e),ie=$e.dataToPoint(Et)||[]}else ie=$e.dataToPoint(pe.getValues(map$2($e.dimensions,function(hn){return pe.mapDimension(hn)}),_e))||[];else if(Ce){var Lt=Ce.getBoundingRect().clone();Lt.applyTransform(Ce.transform),ie=[Lt.x+Lt.width/2,Lt.y+Lt.height/2]}return{point:ie,el:Ce}}var inner$3=makeInner();function axisTrigger($,z,ie){var le=$.currTrigger,ue=[$.x,$.y],pe=$,_e=$.dispatchAction||bind$1(ie.dispatchAction,ie),Ce=z.getComponent("axisPointer").coordSysAxesInfo;if(Ce){illegalPoint(ue)&&(ue=findPointFromSeries({seriesIndex:pe.seriesIndex,dataIndex:pe.dataIndex},z).point);var $e=illegalPoint(ue),xe=pe.axesInfo,Ie=Ce.axesInfo,Ve=le==="leave"||illegalPoint(ue),ze={},Ue={},qe={list:[],map:{}},Et={showPointer:curry$1(showPointer,Ue),showTooltip:curry$1(showTooltip,qe)};each$c(Ce.coordSysMap,function(hn,vn){var _n=$e||hn.containPoint(ue);each$c(Ce.coordSysAxesInfo[vn],function(bn,Cn){var Sn=bn.axis,En=findInputAxisInfo(xe,bn);if(!Ve&&_n&&(!xe||En)){var wn=En&&En.value;wn==null&&!$e&&(wn=Sn.pointToData(ue)),wn!=null&&processOnAxis(bn,wn,Et,!1,ze)}})});var Lt={};return each$c(Ie,function(hn,vn){var _n=hn.linkGroup;_n&&!Ue[vn]&&each$c(_n.axesInfo,function(bn,Cn){var Sn=Ue[Cn];if(bn!==hn&&Sn){var En=Sn.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(Ie[vn],hn,Et,!0,ze)}),updateModelActually(Ue,Ie,ze),dispatchTooltipActually(qe,ue,$,_e),dispatchHighDownActually(Ie,_e,ie),ze}}function processOnAxis($,z,ie,le,ue){var pe=$.axis;if(!(pe.scale.isBlank()||!pe.containData(z))){if(!$.involveSeries){ie.showPointer($,z);return}var _e=buildPayloadsBySeries(z,$),Ce=_e.payloadBatch,$e=_e.snapToValue;Ce[0]&&ue.seriesIndex==null&&extend(ue,Ce[0]),!le&&$.snap&&pe.containData($e)&&$e!=null&&(z=$e),ie.showPointer($,z,Ce),ie.showTooltip($,_e,$e)}}function buildPayloadsBySeries($,z){var ie=z.axis,le=ie.dim,ue=$,pe=[],_e=Number.MAX_VALUE,Ce=-1;return each$c(z.seriesModels,function($e,xe){var Ie=$e.getData().mapDimensionsAll(le),Ve,ze;if($e.getAxisTooltipData){var Ue=$e.getAxisTooltipData(Ie,$,ie);ze=Ue.dataIndices,Ve=Ue.nestestValue}else{if(ze=$e.getData().indicesOfNearest(Ie[0],$,ie.type==="category"?.5:null),!ze.length)return;Ve=$e.getData().get(Ie[0],ze[0])}if(!(Ve==null||!isFinite(Ve))){var qe=$-Ve,Et=Math.abs(qe);Et<=_e&&((Et<_e||qe>=0&&Ce<0)&&(_e=Et,Ce=qe,ue=Ve,pe.length=0),each$c(ze,function(Lt){pe.push({seriesIndex:$e.seriesIndex,dataIndexInside:Lt,dataIndex:$e.getData().getRawIndex(Lt)})}))}}),{payloadBatch:pe,snapToValue:ue}}function showPointer($,z,ie,le){$[z.key]={value:ie,payloadBatch:le}}function showTooltip($,z,ie,le){var ue=ie.payloadBatch,pe=z.axis,_e=pe.model,Ce=z.axisPointerModel;if(!(!z.triggerTooltip||!ue.length)){var $e=z.coordSys.model,xe=makeKey($e),Ie=$.map[xe];Ie||(Ie=$.map[xe]={coordSysId:$e.id,coordSysIndex:$e.componentIndex,coordSysType:$e.type,coordSysMainType:$e.mainType,dataByAxis:[]},$.list.push(Ie)),Ie.dataByAxis.push({axisDim:pe.dim,axisIndex:_e.componentIndex,axisType:_e.type,axisId:_e.id,value:le,valueLabelOpt:{precision:Ce.get(["label","precision"]),formatter:Ce.get(["label","formatter"])},seriesDataIndices:ue.slice()})}}function updateModelActually($,z,ie){var le=ie.axesInfo=[];each$c(z,function(ue,pe){var _e=ue.axisPointerModel.option,Ce=$[pe];Ce?(!ue.useHandle&&(_e.status="show"),_e.value=Ce.value,_e.seriesDataIndices=(Ce.payloadBatch||[]).slice()):!ue.useHandle&&(_e.status="hide"),_e.status==="show"&&le.push({axisDim:ue.axis.dim,axisIndex:ue.axis.model.componentIndex,value:_e.value})})}function dispatchTooltipActually($,z,ie,le){if(illegalPoint(z)||!$.list.length){le({type:"hideTip"});return}var ue=(($.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};le({type:"showTip",escapeConnect:!0,x:z[0],y:z[1],tooltipOption:ie.tooltipOption,position:ie.position,dataIndexInside:ue.dataIndexInside,dataIndex:ue.dataIndex,seriesIndex:ue.seriesIndex,dataByCoordSys:$.list})}function dispatchHighDownActually($,z,ie){var le=ie.getZr(),ue="axisPointerLastHighlights",pe=inner$3(le)[ue]||{},_e=inner$3(le)[ue]={};each$c($,function(xe,Ie){var Ve=xe.axisPointerModel.option;Ve.status==="show"&&each$c(Ve.seriesDataIndices,function(ze){var Ue=ze.seriesIndex+" | "+ze.dataIndex;_e[Ue]=ze})});var Ce=[],$e=[];each$c(pe,function(xe,Ie){!_e[Ie]&&$e.push(xe)}),each$c(_e,function(xe,Ie){!pe[Ie]&&Ce.push(xe)}),$e.length&&ie.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:$e}),Ce.length&&ie.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:Ce})}function findInputAxisInfo($,z){for(var ie=0;ie<($||[]).length;ie++){var le=$[ie];if(z.axis.dim===le.axisDim&&z.axis.model.componentIndex===le.axisIndex)return le}}function makeMapperParam($){var z=$.axis.model,ie={},le=ie.axisDim=$.axis.dim;return ie.axisIndex=ie[le+"AxisIndex"]=z.componentIndex,ie.axisName=ie[le+"AxisName"]=z.name,ie.axisId=ie[le+"AxisId"]=z.id,ie}function illegalPoint($){return!$||$[0]==null||isNaN($[0])||$[1]==null||isNaN($[1])}function install$f($){AxisView$1.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer$1),$.registerComponentModel(AxisPointerModel$1),$.registerComponentView(AxisPointerView$1),$.registerPreprocessor(function(z){if(z){(!z.axisPointer||z.axisPointer.length===0)&&(z.axisPointer={});var ie=z.axisPointer.link;ie&&!isArray$1(ie)&&(z.axisPointer.link=[ie])}}),$.registerProcessor($.PRIORITY.PROCESSOR.STATISTIC,function(z,ie){z.getComponent("axisPointer").coordSysAxesInfo=collect(z,ie)}),$.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$e($){use$1(install$g),use$1(install$f)}function setKeyInfoToNewElOption($,z){var ie=$.existing;if(z.id=$.keyInfo.id,!z.type&&ie&&(z.type=ie.type),z.parentId==null){var le=z.parentOption;le?z.parentId=le.id:ie&&(z.parentId=ie.parentId)}z.parentOption=null}function isSetLoc($,z){var ie;return each$c(z,function(le){$[le]!=null&&$[le]!=="auto"&&(ie=!0)}),ie}function mergeNewElOptionToExist($,z,ie){var le=extend({},ie),ue=$[z],pe=ie.$action||"merge";pe==="merge"?ue?(merge(ue,le,!0),mergeLayoutParam(ue,le,{ignoreSize:!0}),copyLayoutParams(ie,ue),copyTransitionInfo(ie,ue),copyTransitionInfo(ie,ue,"shape"),copyTransitionInfo(ie,ue,"style"),copyTransitionInfo(ie,ue,"extra"),ie.clipPath=ue.clipPath):$[z]=le:pe==="replace"?$[z]=le:pe==="remove"&&ue&&($[z]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo($,z,ie){if(ie&&(!$[ie]&&z[ie]&&($[ie]={}),$=$[ie],z=z[ie]),!(!$||!z))for(var le=ie?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,ue=0;ue<le.length;ue++){var pe=le[ue];$[pe]==null&&z[pe]!=null&&($[pe]=z[pe])}}function setLayoutInfoToExist($,z){if($&&($.hv=z.hv=[isSetLoc(z,["left","right"]),isSetLoc(z,["top","bottom"])],$.type==="group")){var ie=$,le=z;ie.width==null&&(ie.width=le.width=0),ie.height==null&&(ie.height=le.height=0)}}var GraphicComponentModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.preventAutoZ=!0,ie}return z.prototype.mergeOption=function(ie,le){var ue=this.option.elements;this.option.elements=null,$.prototype.mergeOption.call(this,ie,le),this.option.elements=ue},z.prototype.optionUpdated=function(ie,le){var ue=this.option,pe=(le?ue:ie).elements,_e=ue.elements=le?[]:ue.elements,Ce=[];this._flatten(pe,Ce,null);var $e=mappingToExists(_e,Ce,"normalMerge"),xe=this._elOptionsToUpdate=[];each$c($e,function(Ie,Ve){var ze=Ie.newOption;ze&&(xe.push(ze),setKeyInfoToNewElOption(Ie,ze),mergeNewElOptionToExist(_e,Ve,ze),setLayoutInfoToExist(_e[Ve],ze))},this),ue.elements=filter(_e,function(Ie){return Ie&&delete Ie.$action,Ie!=null})},z.prototype._flatten=function(ie,le,ue){each$c(ie,function(pe){if(pe){ue&&(pe.parentOption=ue),le.push(pe);var _e=pe.children;_e&&_e.length&&this._flatten(_e,le,pe),delete pe.children}},this)},z.prototype.useElOptionsToUpdate=function(){var ie=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,ie},z.type="graphic",z.defaultOption={elements:[]},z}(ComponentModel$1),nonShapeGraphicElements={path:null,compoundPath:null,group:Group$3,image:ZRImage$1,text:ZRText$1},inner$2=makeInner(),GraphicComponentView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.init=function(){this._elMap=createHashMap()},z.prototype.render=function(ie,le,ue){ie!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=ie,this._updateElements(ie),this._relocate(ie,ue)},z.prototype._updateElements=function(ie){var le=ie.useElOptionsToUpdate();if(le){var ue=this._elMap,pe=this.group,_e=ie.get("z"),Ce=ie.get("zlevel");each$c(le,function($e){var xe=convertOptionIdName($e.id,null),Ie=xe!=null?ue.get(xe):null,Ve=convertOptionIdName($e.parentId,null),ze=Ve!=null?ue.get(Ve):pe,Ue=$e.type,qe=$e.style;Ue==="text"&&qe&&$e.hv&&$e.hv[1]&&(qe.textVerticalAlign=qe.textBaseline=qe.verticalAlign=qe.align=null);var Et=$e.textContent,Lt=$e.textConfig;if(qe&&isEC4CompatibleStyle(qe,Ue,!!Lt,!!Et)){var hn=convertFromEC4CompatibleStyle(qe,Ue,!0);!Lt&&hn.textConfig&&(Lt=$e.textConfig=hn.textConfig),!Et&&hn.textContent&&(Et=hn.textContent)}var vn=getCleanedElOption($e),_n=$e.$action||"merge",bn=_n==="merge",Cn=_n==="replace";if(bn){var Sn=!Ie,En=Ie;Sn?En=createEl(xe,ze,$e.type,ue):(En&&(inner$2(En).isNew=!1),stopPreviousKeyframeAnimationAndRestore(En)),En&&(applyUpdateTransition(En,vn,ie,{isInit:Sn}),updateCommonAttrs(En,$e,_e,Ce))}else if(Cn){removeEl(Ie,$e,ue,ie);var wn=createEl(xe,ze,$e.type,ue);wn&&(applyUpdateTransition(wn,vn,ie,{isInit:!0}),updateCommonAttrs(wn,$e,_e,Ce))}else _n==="remove"&&(updateLeaveTo(Ie,$e),removeEl(Ie,$e,ue,ie));var Tn=ue.get(xe);if(Tn&&Et)if(bn){var kn=Tn.getTextContent();kn?kn.attr(Et):Tn.setTextContent(new ZRText$1(Et))}else Cn&&Tn.setTextContent(new ZRText$1(Et));if(Tn){var xn=$e.clipPath;if(xn){var Pn=xn.type,An=void 0,Sn=!1;if(bn){var In=Tn.getClipPath();Sn=!In||inner$2(In).type!==Pn,An=Sn?newEl(Pn):In}else Cn&&(Sn=!0,An=newEl(Pn));Tn.setClipPath(An),applyUpdateTransition(An,xn,ie,{isInit:Sn}),applyKeyframeAnimation(An,xn.keyframeAnimation,ie)}var Fn=inner$2(Tn);Tn.setTextConfig(Lt),Fn.option=$e,setEventData(Tn,ie,$e),setTooltipConfig({el:Tn,componentModel:ie,itemName:Tn.name,itemTooltipOption:$e.tooltip}),applyKeyframeAnimation(Tn,$e.keyframeAnimation,ie)}})}},z.prototype._relocate=function(ie,le){for(var ue=ie.option.elements,pe=this.group,_e=this._elMap,Ce=le.getWidth(),$e=le.getHeight(),xe=["x","y"],Ie=0;Ie<ue.length;Ie++){var Ve=ue[Ie],ze=convertOptionIdName(Ve.id,null),Ue=ze!=null?_e.get(ze):null;if(!(!Ue||!Ue.isGroup)){var qe=Ue.parent,Et=qe===pe,Lt=inner$2(Ue),hn=inner$2(qe);Lt.width=parsePercent(Lt.option.width,Et?Ce:hn.width)||0,Lt.height=parsePercent(Lt.option.height,Et?$e:hn.height)||0}}for(var Ie=ue.length-1;Ie>=0;Ie--){var Ve=ue[Ie],ze=convertOptionIdName(Ve.id,null),Ue=ze!=null?_e.get(ze):null;if(Ue){var qe=Ue.parent,hn=inner$2(qe),vn=qe===pe?{width:Ce,height:$e}:{width:hn.width,height:hn.height},_n={},bn=positionElement(Ue,Ve,vn,null,{hv:Ve.hv,boundingMode:Ve.bounding},_n);if(!inner$2(Ue).isNew&&bn){for(var Cn=Ve.transition,Sn={},En=0;En<xe.length;En++){var wn=xe[En],Tn=_n[wn];Cn&&(isTransitionAll(Cn)||indexOf(Cn,wn)>=0)?Sn[wn]=Tn:Ue[wn]=Tn}updateProps$1(Ue,Sn,ie,0)}else Ue.attr(_n)}}},z.prototype._clear=function(){var ie=this,le=this._elMap;le.each(function(ue){removeEl(ue,inner$2(ue).option,le,ie._lastGraphicModel)}),this._elMap=createHashMap()},z.prototype.dispose=function(){this._clear()},z.type="graphic",z}(ComponentView$1);function newEl($){var z=hasOwn(nonShapeGraphicElements,$)?nonShapeGraphicElements[$]:getShapeClass($),ie=new z({});return inner$2(ie).type=$,ie}function createEl($,z,ie,le){var ue=newEl(ie);return z.add(ue),le.set($,ue),inner$2(ue).id=$,inner$2(ue).isNew=!0,ue}function removeEl($,z,ie,le){var ue=$&&$.parent;ue&&($.type==="group"&&$.traverse(function(pe){removeEl(pe,z,ie,le)}),applyLeaveTransition($,z,le),ie.removeKey(inner$2($).id))}function updateCommonAttrs($,z,ie,le){$.isGroup||each$c([["cursor",Displayable$1.prototype.cursor],["zlevel",le||0],["z",ie||0],["z2",0]],function(ue){var pe=ue[0];hasOwn(z,pe)?$[pe]=retrieve2(z[pe],ue[1]):$[pe]==null&&($[pe]=ue[1])}),each$c(keys(z),function(ue){if(ue.indexOf("on")===0){var pe=z[ue];$[ue]=isFunction(pe)?pe:null}}),hasOwn(z,"draggable")&&($.draggable=z.draggable),z.name!=null&&($.name=z.name),z.id!=null&&($.id=z.id)}function getCleanedElOption($){return $=extend({},$),each$c(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function(z){delete $[z]}),$}function setEventData($,z,ie){var le=getECData($).eventData;!$.silent&&!$.ignore&&!le&&(le=getECData($).eventData={componentType:"graphic",componentIndex:z.componentIndex,name:$.name}),le&&(le.info=ie.info)}function install$d($){$.registerComponentModel(GraphicComponentModel),$.registerComponentView(GraphicComponentView),$.registerPreprocessor(function(z){var ie=z.graphic;isArray$1(ie)?!ie[0]||!ie[0].elements?z.graphic=[{elements:ie}]:z.graphic=[z.graphic[0]]:ie&&!ie.elements&&(z.graphic=[{elements:[ie]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported($){var z=$.get("coordinateSystem");return indexOf(SERIES_COORDS,z)>=0}function getAxisMainType($){return $+"Axis"}function findEffectedDataZooms($,z){var ie=createHashMap(),le=[],ue=createHashMap();$.eachComponent({mainType:"dataZoom",query:z},function(Ie){ue.get(Ie.uid)||Ce(Ie)});var pe;do pe=!1,$.eachComponent("dataZoom",_e);while(pe);function _e(Ie){!ue.get(Ie.uid)&&$e(Ie)&&(Ce(Ie),pe=!0)}function Ce(Ie){ue.set(Ie.uid,!0),le.push(Ie),xe(Ie)}function $e(Ie){var Ve=!1;return Ie.eachTargetAxis(function(ze,Ue){var qe=ie.get(ze);qe&&qe[Ue]&&(Ve=!0)}),Ve}function xe(Ie){Ie.eachTargetAxis(function(Ve,ze){(ie.get(Ve)||ie.set(Ve,[]))[ze]=!0})}return le}function collectReferCoordSysModelInfo($){var z=$.ecModel,ie={infoList:[],infoMap:createHashMap()};return $.eachTargetAxis(function(le,ue){var pe=z.getComponent(getAxisMainType(le),ue);if(pe){var _e=pe.getCoordSysModel();if(_e){var Ce=_e.uid,$e=ie.infoMap.get(Ce);$e||($e={model:_e,axisModels:[]},ie.infoList.push($e),ie.infoMap.set(Ce,$e)),$e.axisModels.push(pe)}}}),ie}var DataZoomAxisInfo=function(){function $(){this.indexList=[],this.indexMap=[]}return $.prototype.add=function(z){this.indexMap[z]||(this.indexList.push(z),this.indexMap[z]=!0)},$}(),DataZoomModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie._autoThrottle=!0,ie._noTarget=!0,ie._rangePropMode=["percent","percent"],ie}return z.prototype.init=function(ie,le,ue){var pe=retrieveRawOption(ie);this.settledOption=pe,this.mergeDefaultAndTheme(ie,ue),this._doInit(pe)},z.prototype.mergeOption=function(ie){var le=retrieveRawOption(ie);merge(this.option,ie,!0),merge(this.settledOption,le,!0),this._doInit(le)},z.prototype._doInit=function(ie){var le=this.option;this._setDefaultThrottle(ie),this._updateRangeUse(ie);var ue=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(pe,_e){this._rangePropMode[_e]==="value"&&(le[pe[0]]=ue[pe[0]]=null)},this),this._resetTarget()},z.prototype._resetTarget=function(){var ie=this.get("orient",!0),le=this._targetAxisInfoMap=createHashMap(),ue=this._fillSpecifiedTargetAxis(le);ue?this._orient=ie||this._makeAutoOrientByTargetAxis():(this._orient=ie||"horizontal",this._fillAutoTargetAxisByOrient(le,this._orient)),this._noTarget=!0,le.each(function(pe){pe.indexList.length&&(this._noTarget=!1)},this)},z.prototype._fillSpecifiedTargetAxis=function(ie){var le=!1;return each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(ue){var pe=this.getReferringComponents(getAxisMainType(ue),MULTIPLE_REFERRING);if(pe.specified){le=!0;var _e=new DataZoomAxisInfo;each$c(pe.models,function(Ce){_e.add(Ce.componentIndex)}),ie.set(ue,_e)}},this),le},z.prototype._fillAutoTargetAxisByOrient=function(ie,le){var ue=this.ecModel,pe=!0;if(pe){var _e=le==="vertical"?"y":"x",Ce=ue.findComponents({mainType:_e+"Axis"});$e(Ce,_e)}if(pe){var Ce=ue.findComponents({mainType:"singleAxis",filter:function(Ie){return Ie.get("orient",!0)===le}});$e(Ce,"single")}function $e(xe,Ie){var Ve=xe[0];if(Ve){var ze=new DataZoomAxisInfo;if(ze.add(Ve.componentIndex),ie.set(Ie,ze),pe=!1,Ie==="x"||Ie==="y"){var Ue=Ve.getReferringComponents("grid",SINGLE_REFERRING).models[0];Ue&&each$c(xe,function(qe){Ve.componentIndex!==qe.componentIndex&&Ue===qe.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&ze.add(qe.componentIndex)})}}}pe&&each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(xe){if(pe){var Ie=ue.findComponents({mainType:getAxisMainType(xe),filter:function(ze){return ze.get("type",!0)==="category"}});if(Ie[0]){var Ve=new DataZoomAxisInfo;Ve.add(Ie[0].componentIndex),ie.set(xe,Ve),pe=!1}}},this)},z.prototype._makeAutoOrientByTargetAxis=function(){var ie;return this.eachTargetAxis(function(le){!ie&&(ie=le)},this),ie==="y"?"vertical":"horizontal"},z.prototype._setDefaultThrottle=function(ie){if(ie.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var le=this.ecModel.option;this.option.throttle=le.animation&&le.animationDurationUpdate>0?100:20}},z.prototype._updateRangeUse=function(ie){var le=this._rangePropMode,ue=this.get("rangeMode");each$c([["start","startValue"],["end","endValue"]],function(pe,_e){var Ce=ie[pe[0]]!=null,$e=ie[pe[1]]!=null;Ce&&!$e?le[_e]="percent":!Ce&&$e?le[_e]="value":ue?le[_e]=ue[_e]:Ce&&(le[_e]="percent")})},z.prototype.noTarget=function(){return this._noTarget},z.prototype.getFirstTargetAxisModel=function(){var ie;return this.eachTargetAxis(function(le,ue){ie==null&&(ie=this.ecModel.getComponent(getAxisMainType(le),ue))},this),ie},z.prototype.eachTargetAxis=function(ie,le){this._targetAxisInfoMap.each(function(ue,pe){each$c(ue.indexList,function(_e){ie.call(le,pe,_e)})})},z.prototype.getAxisProxy=function(ie,le){var ue=this.getAxisModel(ie,le);if(ue)return ue.__dzAxisProxy},z.prototype.getAxisModel=function(ie,le){var ue=this._targetAxisInfoMap.get(ie);if(ue&&ue.indexMap[le])return this.ecModel.getComponent(getAxisMainType(ie),le)},z.prototype.setRawRange=function(ie){var le=this.option,ue=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(pe){(ie[pe[0]]!=null||ie[pe[1]]!=null)&&(le[pe[0]]=ue[pe[0]]=ie[pe[0]],le[pe[1]]=ue[pe[1]]=ie[pe[1]])},this),this._updateRangeUse(ie)},z.prototype.setCalculatedRange=function(ie){var le=this.option;each$c(["start","startValue","end","endValue"],function(ue){le[ue]=ie[ue]})},z.prototype.getPercentRange=function(){var ie=this.findRepresentativeAxisProxy();if(ie)return ie.getDataPercentWindow()},z.prototype.getValueRange=function(ie,le){if(ie==null&&le==null){var ue=this.findRepresentativeAxisProxy();if(ue)return ue.getDataValueWindow()}else return this.getAxisProxy(ie,le).getDataValueWindow()},z.prototype.findRepresentativeAxisProxy=function(ie){if(ie)return ie.__dzAxisProxy;for(var le,ue=this._targetAxisInfoMap.keys(),pe=0;pe<ue.length;pe++)for(var _e=ue[pe],Ce=this._targetAxisInfoMap.get(_e),$e=0;$e<Ce.indexList.length;$e++){var xe=this.getAxisProxy(_e,Ce.indexList[$e]);if(xe.hostedBy(this))return xe;le||(le=xe)}return le},z.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},z.prototype.getOrient=function(){return this._orient},z.type="dataZoom",z.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],z.defaultOption={z:4,filterMode:"filter",start:0,end:100},z}(ComponentModel$1);function retrieveRawOption($){var z={};return each$c(["start","end","startValue","endValue","throttle"],function(ie){$.hasOwnProperty(ie)&&(z[ie]=$[ie])}),z}const DataZoomModel$1=DataZoomModel;var SelectDataZoomModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="dataZoom.select",z}(DataZoomModel$1);const SelectZoomModel=SelectDataZoomModel;var DataZoomView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.render=function(ie,le,ue,pe){this.dataZoomModel=ie,this.ecModel=le,this.api=ue},z.type="dataZoom",z}(ComponentView$1);const DataZoomView$1=DataZoomView;var SelectDataZoomView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="dataZoom.select",z}(DataZoomView$1);const SelectZoomView=SelectDataZoomView;var each$7=each$c,asc$1=asc$2,AxisProxy=function(){function $(z,ie,le,ue){this._dimName=z,this._axisIndex=ie,this.ecModel=ue,this._dataZoomModel=le}return $.prototype.hostedBy=function(z){return this._dataZoomModel===z},$.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},$.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},$.prototype.getTargetSeriesModels=function(){var z=[];return this.ecModel.eachSeries(function(ie){if(isCoordSupported(ie)){var le=getAxisMainType(this._dimName),ue=ie.getReferringComponents(le,SINGLE_REFERRING).models[0];ue&&this._axisIndex===ue.componentIndex&&z.push(ie)}},this),z},$.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},$.prototype.getMinMaxSpan=function(){return clone$3(this._minMaxSpan)},$.prototype.calculateDataWindow=function(z){var ie=this._dataExtent,le=this.getAxisModel(),ue=le.axis.scale,pe=this._dataZoomModel.getRangePropMode(),_e=[0,100],Ce=[],$e=[],xe;each$7(["start","end"],function(ze,Ue){var qe=z[ze],Et=z[ze+"Value"];pe[Ue]==="percent"?(qe==null&&(qe=_e[Ue]),Et=ue.parse(linearMap$2(qe,_e,ie))):(xe=!0,Et=Et==null?ie[Ue]:ue.parse(Et),qe=linearMap$2(Et,ie,_e)),$e[Ue]=Et==null||isNaN(Et)?ie[Ue]:Et,Ce[Ue]=qe==null||isNaN(qe)?_e[Ue]:qe}),asc$1($e),asc$1(Ce);var Ie=this._minMaxSpan;xe?Ve($e,Ce,ie,_e,!1):Ve(Ce,$e,_e,ie,!0);function Ve(ze,Ue,qe,Et,Lt){var hn=Lt?"Span":"ValueSpan";sliderMove(0,ze,qe,"all",Ie["min"+hn],Ie["max"+hn]);for(var vn=0;vn<2;vn++)Ue[vn]=linearMap$2(ze[vn],qe,Et,!0),Lt&&(Ue[vn]=ue.parse(Ue[vn]))}return{valueWindow:$e,percentWindow:Ce}},$.prototype.reset=function(z){if(z===this._dataZoomModel){var ie=this.getTargetSeriesModels();this._dataExtent=calculateDataExtent(this,this._dimName,ie),this._updateMinMaxSpan();var le=this.calculateDataWindow(z.settledOption);this._valueWindow=le.valueWindow,this._percentWindow=le.percentWindow,this._setAxisModel()}},$.prototype.filterData=function(z,ie){if(z!==this._dataZoomModel)return;var le=this._dimName,ue=this.getTargetSeriesModels(),pe=z.get("filterMode"),_e=this._valueWindow;if(pe==="none")return;each$7(ue,function($e){var xe=$e.getData(),Ie=xe.mapDimensionsAll(le);if(Ie.length){if(pe==="weakFilter"){var Ve=xe.getStore(),ze=map$2(Ie,function(Ue){return xe.getDimensionIndex(Ue)},xe);xe.filterSelf(function(Ue){for(var qe,Et,Lt,hn=0;hn<Ie.length;hn++){var vn=Ve.get(ze[hn],Ue),_n=!isNaN(vn),bn=vn<_e[0],Cn=vn>_e[1];if(_n&&!bn&&!Cn)return!0;_n&&(Lt=!0),bn&&(qe=!0),Cn&&(Et=!0)}return Lt&&qe&&Et})}else each$7(Ie,function(Ue){if(pe==="empty")$e.setData(xe=xe.map(Ue,function(Et){return Ce(Et)?Et:NaN}));else{var qe={};qe[Ue]=_e,xe.selectRange(qe)}});each$7(Ie,function(Ue){xe.setApproximateExtent(_e,Ue)})}});function Ce($e){return $e>=_e[0]&&$e<=_e[1]}},$.prototype._updateMinMaxSpan=function(){var z=this._minMaxSpan={},ie=this._dataZoomModel,le=this._dataExtent;each$7(["min","max"],function(ue){var pe=ie.get(ue+"Span"),_e=ie.get(ue+"ValueSpan");_e!=null&&(_e=this.getAxisModel().axis.scale.parse(_e)),_e!=null?pe=linearMap$2(le[0]+_e,le,[0,100],!0):pe!=null&&(_e=linearMap$2(pe,[0,100],le,!0)-le[0]),z[ue+"Span"]=pe,z[ue+"ValueSpan"]=_e},this)},$.prototype._setAxisModel=function(){var z=this.getAxisModel(),ie=this._percentWindow,le=this._valueWindow;if(ie){var ue=getPixelPrecision(le,[0,500]);ue=Math.min(ue,20);var pe=z.axis.scale.rawExtentInfo;ie[0]!==0&&pe.setDeterminedMinMax("min",+le[0].toFixed(ue)),ie[1]!==100&&pe.setDeterminedMinMax("max",+le[1].toFixed(ue)),pe.freeze()}},$}();function calculateDataExtent($,z,ie){var le=[1/0,-1/0];each$7(ie,function(_e){unionAxisExtentFromData(le,_e.getData(),z)});var ue=$.getAxisModel(),pe=ensureScaleRawExtentInfo(ue.axis.scale,ue,le).calculate();return[pe.min,pe.max]}const AxisProxy$1=AxisProxy;var dataZoomProcessor={getTargetSeries:function($){function z(ue){$.eachComponent("dataZoom",function(pe){pe.eachTargetAxis(function(_e,Ce){var $e=$.getComponent(getAxisMainType(_e),Ce);ue(_e,Ce,$e,pe)})})}z(function(ue,pe,_e,Ce){_e.__dzAxisProxy=null});var ie=[];z(function(ue,pe,_e,Ce){_e.__dzAxisProxy||(_e.__dzAxisProxy=new AxisProxy$1(ue,pe,Ce,$),ie.push(_e.__dzAxisProxy))});var le=createHashMap();return each$c(ie,function(ue){each$c(ue.getTargetSeriesModels(),function(pe){le.set(pe.uid,pe)})}),le},overallReset:function($,z){$.eachComponent("dataZoom",function(ie){ie.eachTargetAxis(function(le,ue){ie.getAxisProxy(le,ue).reset(ie)}),ie.eachTargetAxis(function(le,ue){ie.getAxisProxy(le,ue).filterData(ie,z)})}),$.eachComponent("dataZoom",function(ie){var le=ie.findRepresentativeAxisProxy();if(le){var ue=le.getDataPercentWindow(),pe=le.getDataValueWindow();ie.setCalculatedRange({start:ue[0],end:ue[1],startValue:pe[0],endValue:pe[1]})}})}};const dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction($){$.registerAction("dataZoom",function(z,ie){var le=findEffectedDataZooms(ie,z);each$c(le,function(ue){ue.setRawRange({start:z.start,end:z.end,startValue:z.startValue,endValue:z.endValue})})})}var installed$1=!1;function installCommon$1($){installed$1||(installed$1=!0,$.registerProcessor($.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor$1),installDataZoomAction($),$.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$c($){$.registerComponentModel(SelectZoomModel),$.registerComponentView(SelectZoomView),installCommon$1($)}var ToolboxFeature=function(){function $(){}return $}(),features={};function registerFeature($,z){features[$]=z}function getFeature($){return features[$]}var ToolboxModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.optionUpdated=function(){$.prototype.optionUpdated.apply(this,arguments);var ie=this.ecModel;each$c(this.option.feature,function(le,ue){var pe=getFeature(ue);pe&&(pe.getDefaultOption&&(pe.defaultOption=pe.getDefaultOption(ie)),merge(le,pe.defaultOption))})},z.type="toolbox",z.layoutMode={type:"box",ignoreSize:!0},z.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"}},z}(ComponentModel$1);const ToolboxModel$1=ToolboxModel;function layout($,z,ie){var le=z.getBoxLayoutParams(),ue=z.get("padding"),pe={width:ie.getWidth(),height:ie.getHeight()},_e=getLayoutRect(le,pe,ue);box(z.get("orient"),$,z.get("itemGap"),_e.width,_e.height),positionElement($,le,pe,ue)}function makeBackground($,z){var ie=normalizeCssArray(z.get("padding")),le=z.getItemStyle(["color","opacity"]);return le.fill=z.get("backgroundColor"),$=new Rect$2({shape:{x:$.x-ie[3],y:$.y-ie[0],width:$.width+ie[1]+ie[3],height:$.height+ie[0]+ie[2],r:z.get("borderRadius")},style:le,silent:!0,z2:-1}),$}var ToolboxView=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.render=function(ie,le,ue,pe){var _e=this.group;if(_e.removeAll(),!ie.get("show"))return;var Ce=+ie.get("itemSize"),$e=ie.get("orient")==="vertical",xe=ie.get("feature")||{},Ie=this._features||(this._features={}),Ve=[];each$c(xe,function(qe,Et){Ve.push(Et)}),new DataDiffer$1(this._featureNames||[],Ve).add(ze).update(ze).remove(curry$1(ze,null)).execute(),this._featureNames=Ve;function ze(qe,Et){var Lt=Ve[qe],hn=Ve[Et],vn=xe[Lt],_n=new Model$1(vn,ie,ie.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 Cn=getFeature(Lt);if(!Cn)return;bn=new Cn}Ie[Lt]=bn}else if(bn=Ie[hn],!bn)return;bn.uid=getUID("toolbox-feature"),bn.model=_n,bn.ecModel=le,bn.api=ue;var Sn=bn instanceof ToolboxFeature;if(!Lt&&hn){Sn&&bn.dispose&&bn.dispose(le,ue);return}if(!_n.get("show")||Sn&&bn.unusable){Sn&&bn.remove&&bn.remove(le,ue);return}Ue(_n,bn,Lt),_n.setIconStatus=function(En,wn){var Tn=this.option,kn=this.iconPaths;Tn.iconStatus=Tn.iconStatus||{},Tn.iconStatus[En]=wn,kn[En]&&(wn==="emphasis"?enterEmphasis:leaveEmphasis)(kn[En])},bn instanceof ToolboxFeature&&bn.render&&bn.render(_n,le,ue,pe)}function Ue(qe,Et,Lt){var hn=qe.getModel("iconStyle"),vn=qe.getModel(["emphasis","iconStyle"]),_n=Et instanceof ToolboxFeature&&Et.getIcons?Et.getIcons():qe.get("icon"),bn=qe.get("title")||{},Cn,Sn;isString(_n)?(Cn={},Cn[Lt]=_n):Cn=_n,isString(bn)?(Sn={},Sn[Lt]=bn):Sn=bn;var En=qe.iconPaths={};each$c(Cn,function(wn,Tn){var kn=createIcon(wn,{},{x:-Ce/2,y:-Ce/2,width:Ce,height:Ce});kn.setStyle(hn.getItemStyle());var xn=kn.ensureState("emphasis");xn.style=vn.getItemStyle();var Pn=new ZRText$1({style:{text:Sn[Tn],align:vn.get("textAlign"),borderRadius:vn.get("textBorderRadius"),padding:vn.get("textPadding"),fill:null},ignore:!0});kn.setTextContent(Pn),setTooltipConfig({el:kn,componentModel:ie,itemName:Tn,formatterParamsExtra:{title:Sn[Tn]}}),kn.__title=Sn[Tn],kn.on("mouseover",function(){var An=vn.getItemStyle(),In=$e?ie.get("right")==null&&ie.get("left")!=="right"?"right":"left":ie.get("bottom")==null&&ie.get("top")!=="bottom"?"bottom":"top";Pn.setStyle({fill:vn.get("textFill")||An.fill||An.stroke||"#000",backgroundColor:vn.get("textBackgroundColor")}),kn.setTextConfig({position:vn.get("textPosition")||In}),Pn.ignore=!ie.get("showTitle"),ue.enterEmphasis(this)}).on("mouseout",function(){qe.get(["iconStatus",Tn])!=="emphasis"&&ue.leaveEmphasis(this),Pn.hide()}),(qe.get(["iconStatus",Tn])==="emphasis"?enterEmphasis:leaveEmphasis)(kn),_e.add(kn),kn.on("click",bind$1(Et.onclick,Et,le,ue,Tn)),En[Tn]=kn})}layout(_e,ie,ue),_e.add(makeBackground(_e.getBoundingRect(),ie)),$e||_e.eachChild(function(qe){var Et=qe.__title,Lt=qe.ensureState("emphasis"),hn=Lt.textConfig||(Lt.textConfig={}),vn=qe.getTextContent(),_n=vn&&vn.ensureState("emphasis");if(_n&&!isFunction(_n)&&Et){var bn=_n.style||(_n.style={}),Cn=getBoundingRect(Et,ZRText$1.makeFont(bn)),Sn=qe.x+_e.x,En=qe.y+_e.y+Ce,wn=!1;En+Cn.height>ue.getHeight()&&(hn.position="top",wn=!0);var Tn=wn?-5-Cn.height:Ce+10;Sn+Cn.width/2>ue.getWidth()?(hn.position=["100%",Tn],bn.align="right"):Sn-Cn.width/2<0&&(hn.position=[0,Tn],bn.align="left")}})},z.prototype.updateView=function(ie,le,ue,pe){each$c(this._features,function(_e){_e instanceof ToolboxFeature&&_e.updateView&&_e.updateView(_e.model,le,ue,pe)})},z.prototype.remove=function(ie,le){each$c(this._features,function(ue){ue instanceof ToolboxFeature&&ue.remove&&ue.remove(ie,le)}),this.group.removeAll()},z.prototype.dispose=function(ie,le){each$c(this._features,function(ue){ue instanceof ToolboxFeature&&ue.dispose&&ue.dispose(ie,le)})},z.type="toolbox",z}(ComponentView$1);function isUserFeatureName($){return $.indexOf("my")===0}const ToolboxView$1=ToolboxView;var SaveAsImage=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.onclick=function(ie,le){var ue=this.model,pe=ue.get("name")||ie.get("title.0.text")||"echarts",_e=le.getZr().painter.getType()==="svg",Ce=_e?"svg":ue.get("type",!0)||"png",$e=le.getConnectedDataURL({type:Ce,backgroundColor:ue.get("backgroundColor",!0)||ie.get("backgroundColor")||"#fff",connectedBackgroundColor:ue.get("connectedBackgroundColor"),excludeComponents:ue.get("excludeComponents"),pixelRatio:ue.get("pixelRatio")}),xe=env$1.browser;if(isFunction(MouseEvent)&&(xe.newEdge||!xe.ie&&!xe.edge)){var Ie=document.createElement("a");Ie.download=pe+"."+Ce,Ie.target="_blank",Ie.href=$e;var Ve=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});Ie.dispatchEvent(Ve)}else if(window.navigator.msSaveOrOpenBlob||_e){var ze=$e.split(","),Ue=ze[0].indexOf("base64")>-1,qe=_e?decodeURIComponent(ze[1]):ze[1];Ue&&(qe=window.atob(qe));var Et=pe+"."+Ce;if(window.navigator.msSaveOrOpenBlob){for(var Lt=qe.length,hn=new Uint8Array(Lt);Lt--;)hn[Lt]=qe.charCodeAt(Lt);var vn=new Blob([hn]);window.navigator.msSaveOrOpenBlob(vn,Et)}else{var _n=document.createElement("iframe");document.body.appendChild(_n);var bn=_n.contentWindow,Cn=bn.document;Cn.open("image/svg+xml","replace"),Cn.write(qe),Cn.close(),bn.focus(),Cn.execCommand("SaveAs",!0,Et),document.body.removeChild(_n)}}else{var Sn=ue.get("lang"),En='<body style="margin:0;"><img src="'+$e+'" style="max-width:100%;" title="'+(Sn&&Sn[0]||"")+'" /></body>',wn=window.open();wn.document.write(En),wn.document.title=pe}},z.getDefaultOption=function(ie){var le={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:ie.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:ie.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return le},z}(ToolboxFeature);const SaveAsImage$1=SaveAsImage;var INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.getIcons=function(){var ie=this.model,le=ie.get("icon"),ue={};return each$c(ie.get("type"),function(pe){le[pe]&&(ue[pe]=le[pe])}),ue},z.getDefaultOption=function(ie){var le={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:ie.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return le},z.prototype.onclick=function(ie,le,ue){var pe=this.model,_e=pe.get(["seriesIndex",ue]);if(seriesOptGenreator[ue]){var Ce={series:[]},$e=function(Ve){var ze=Ve.subType,Ue=Ve.id,qe=seriesOptGenreator[ue](ze,Ue,Ve,pe);qe&&(defaults(qe,Ve.option),Ce.series.push(qe));var Et=Ve.coordinateSystem;if(Et&&Et.type==="cartesian2d"&&(ue==="line"||ue==="bar")){var Lt=Et.getAxesByScale("ordinal")[0];if(Lt){var hn=Lt.dim,vn=hn+"Axis",_n=Ve.getReferringComponents(vn,SINGLE_REFERRING).models[0],bn=_n.componentIndex;Ce[vn]=Ce[vn]||[];for(var Cn=0;Cn<=bn;Cn++)Ce[vn][bn]=Ce[vn][bn]||{};Ce[vn][bn].boundaryGap=ue==="bar"}}};each$c(radioTypes,function(Ve){indexOf(Ve,ue)>=0&&each$c(Ve,function(ze){pe.setIconStatus(ze,"normal")})}),pe.setIconStatus(ue,"emphasis"),ie.eachComponent({mainType:"series",query:_e==null?null:{seriesIndex:_e}},$e);var xe,Ie=ue;ue==="stack"&&(xe=merge({stack:pe.option.title.tiled,tiled:pe.option.title.stack},pe.option.title),pe.get(["iconStatus",ue])!=="emphasis"&&(Ie="tiled")),le.dispatchAction({type:"changeMagicType",currentType:Ie,newOption:Ce,newTitle:xe,featureName:"magicType"})}},z}(ToolboxFeature),seriesOptGenreator={line:function($,z,ie,le){if($==="bar")return merge({id:z,type:"line",data:ie.get("data"),stack:ie.get("stack"),markPoint:ie.get("markPoint"),markLine:ie.get("markLine")},le.get(["option","line"])||{},!0)},bar:function($,z,ie,le){if($==="line")return merge({id:z,type:"bar",data:ie.get("data"),stack:ie.get("stack"),markPoint:ie.get("markPoint"),markLine:ie.get("markLine")},le.get(["option","bar"])||{},!0)},stack:function($,z,ie,le){var ue=ie.get("stack")===INNER_STACK_KEYWORD;if($==="line"||$==="bar")return le.setIconStatus("stack",ue?"normal":"emphasis"),merge({id:z,stack:ue?"":INNER_STACK_KEYWORD},le.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function($,z){z.mergeOption($.newOption)});const MagicType$1=MagicType;var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries($){var z={},ie=[],le=[];return $.eachRawSeries(function(ue){var pe=ue.coordinateSystem;if(pe&&(pe.type==="cartesian2d"||pe.type==="polar")){var _e=pe.getBaseAxis();if(_e.type==="category"){var Ce=_e.dim+"_"+_e.index;z[Ce]||(z[Ce]={categoryAxis:_e,valueAxis:pe.getOtherAxis(_e),series:[]},le.push({axisDim:_e.dim,axisIndex:_e.index})),z[Ce].series.push(ue)}else ie.push(ue)}else ie.push(ue)}),{seriesGroupByCategoryAxis:z,other:ie,meta:le}}function assembleSeriesWithCategoryAxis($){var z=[];return each$c($,function(ie,le){var ue=ie.categoryAxis,pe=ie.valueAxis,_e=pe.dim,Ce=[" "].concat(map$2(ie.series,function(Ue){return Ue.name})),$e=[ue.model.getCategories()];each$c(ie.series,function(Ue){var qe=Ue.getRawData();$e.push(Ue.getRawData().mapArray(qe.mapDimension(_e),function(Et){return Et}))});for(var xe=[Ce.join(ITEM_SPLITER)],Ie=0;Ie<$e[0].length;Ie++){for(var Ve=[],ze=0;ze<$e.length;ze++)Ve.push($e[ze][Ie]);xe.push(Ve.join(ITEM_SPLITER))}z.push(xe.join(`
|
||
`))}),z.join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`)}function assembleOtherSeries($){return map$2($,function(z){var ie=z.getRawData(),le=[z.name],ue=[];return ie.each(ie.dimensions,function(){for(var pe=arguments.length,_e=arguments[pe-1],Ce=ie.getName(_e),$e=0;$e<pe-1;$e++)ue[$e]=arguments[$e];le.push((Ce?Ce+ITEM_SPLITER:"")+ue.join(ITEM_SPLITER))}),le.join(`
|
||
`)}).join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`)}function getContentFromModel($){var z=groupSeries($);return{value:filter([assembleSeriesWithCategoryAxis(z.seriesGroupByCategoryAxis),assembleOtherSeries(z.other)],function(ie){return!!ie.replace(/[\n\t\s]/g,"")}).join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`),meta:z.meta}}function trim($){return $.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function isTSVFormat($){var z=$.slice(0,$.indexOf(`
|
||
`));if(z.indexOf(ITEM_SPLITER)>=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents($){for(var z=$.split(/\n+/g),ie=trim(z.shift()).split(itemSplitRegex),le=[],ue=map$2(ie,function($e){return{name:$e,data:[]}}),pe=0;pe<z.length;pe++){var _e=trim(z[pe]).split(itemSplitRegex);le.push(_e.shift());for(var Ce=0;Ce<_e.length;Ce++)ue[Ce]&&(ue[Ce].data[pe]=_e[Ce])}return{series:ue,categories:le}}function parseListContents($){for(var z=$.split(/\n+/g),ie=trim(z.shift()),le=[],ue=0;ue<z.length;ue++){var pe=trim(z[ue]);if(pe){var _e=pe.split(itemSplitRegex),Ce="",$e=void 0,xe=!1;isNaN(_e[0])?(xe=!0,Ce=_e[0],_e=_e.slice(1),le[ue]={name:Ce,value:[]},$e=le[ue].value):$e=le[ue]=[];for(var Ie=0;Ie<_e.length;Ie++)$e.push(+_e[Ie]);$e.length===1&&(xe?le[ue].value=$e[0]:le[ue]=$e[0])}}return{name:ie,data:le}}function parseContents($,z){var ie=$.split(new RegExp(`
|
||
*`+BLOCK_SPLITER+`
|
||
*`,"g")),le={series:[]};return each$c(ie,function(ue,pe){if(isTSVFormat(ue)){var _e=parseTSVContents(ue),Ce=z[pe],$e=Ce.axisDim+"Axis";Ce&&(le[$e]=le[$e]||[],le[$e][Ce.axisIndex]={data:_e.categories},le.series=le.series.concat(_e.series))}else{var _e=parseListContents(ue);le.series.push(_e)}}),le}var DataView$1=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.onclick=function(ie,le){setTimeout(function(){le.dispatchAction({type:"hideTip"})});var ue=le.getDom(),pe=this.model;this._dom&&ue.removeChild(this._dom);var _e=document.createElement("div");_e.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",_e.style.backgroundColor=pe.get("backgroundColor")||"#fff";var Ce=document.createElement("h4"),$e=pe.get("lang")||[];Ce.innerHTML=$e[0]||pe.get("title"),Ce.style.cssText="margin:10px 20px",Ce.style.color=pe.get("textColor");var xe=document.createElement("div"),Ie=document.createElement("textarea");xe.style.cssText="overflow:auto";var Ve=pe.get("optionToContent"),ze=pe.get("contentToOption"),Ue=getContentFromModel(ie);if(isFunction(Ve)){var qe=Ve(le.getOption());isString(qe)?xe.innerHTML=qe:isDom(qe)&&xe.appendChild(qe)}else{Ie.readOnly=pe.get("readOnly");var Et=Ie.style;Et.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",Et.color=pe.get("textColor"),Et.borderColor=pe.get("textareaBorderColor"),Et.backgroundColor=pe.get("textareaColor"),Ie.value=Ue.value,xe.appendChild(Ie)}var Lt=Ue.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 Cn=this;function Sn(){ue.removeChild(_e),Cn._dom=null}addEventListener(_n,"click",Sn),addEventListener(bn,"click",function(){if(ze==null&&Ve!=null||ze!=null&&Ve==null){Sn();return}var En;try{isFunction(ze)?En=ze(xe,le.getOption()):En=parseContents(Ie.value,Lt)}catch(wn){throw Sn(),new Error("Data view format error "+wn)}En&&le.dispatchAction({type:"changeDataView",newOption:En}),Sn()}),_n.innerHTML=$e[1],bn.innerHTML=$e[2],bn.style.cssText=_n.style.cssText=vn,!pe.get("readOnly")&&hn.appendChild(bn),hn.appendChild(_n),_e.appendChild(Ce),_e.appendChild(xe),_e.appendChild(hn),xe.style.height=ue.clientHeight-80+"px",ue.appendChild(_e),this._dom=_e},z.prototype.remove=function(ie,le){this._dom&&le.getDom().removeChild(this._dom)},z.prototype.dispose=function(ie,le){this.remove(ie,le)},z.getDefaultOption=function(ie){var le={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:ie.getLocaleModel().get(["toolbox","dataView","title"]),lang:ie.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return le},z}(ToolboxFeature);function tryMergeDataOption($,z){return map$2($,function(ie,le){var ue=z&&z[le];if(isObject$3(ue)&&!isArray$1(ue)){var pe=isObject$3(ie)&&!isArray$1(ie);pe||(ie={value:ie});var _e=ue.name!=null&&ie.name==null;return ie=defaults(ie,ue),_e&&delete ie.name,ie}else return ie})}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function($,z){var ie=[];each$c($.newOption.series,function(le){var ue=z.getSeriesByName(le.name)[0];if(!ue)ie.push(extend({type:"scatter"},le));else{var pe=ue.get("data");ie.push({name:le.name,data:tryMergeDataOption(le.data,pe)})}}),z.mergeOption(defaults({series:ie},$.newOption))});const DataView$2=DataView$1;var each$6=each$c,inner$1=makeInner();function push($,z){var ie=getStoreSnapshots($);each$6(z,function(le,ue){for(var pe=ie.length-1;pe>=0;pe--){var _e=ie[pe];if(_e[ue])break}if(pe<0){var Ce=$.queryComponents({mainType:"dataZoom",subType:"select",id:ue})[0];if(Ce){var $e=Ce.getPercentRange();ie[0][ue]={dataZoomId:ue,start:$e[0],end:$e[1]}}}}),ie.push(z)}function pop($){var z=getStoreSnapshots($),ie=z[z.length-1];z.length>1&&z.pop();var le={};return each$6(ie,function(ue,pe){for(var _e=z.length-1;_e>=0;_e--)if(ue=z[_e][pe],ue){le[pe]=ue;break}}),le}function clear($){inner$1($).snapshots=null}function count($){return getStoreSnapshots($).length}function getStoreSnapshots($){var z=inner$1($);return z.snapshots||(z.snapshots=[{}]),z.snapshots}var RestoreOption=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.onclick=function(ie,le){clear(ie),le.dispatchAction({type:"restore",from:this.uid})},z.getDefaultOption=function(ie){var le={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:ie.getLocaleModel().get(["toolbox","restore","title"])};return le},z}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function($,z){z.resetOption("recreate")});const Restore=RestoreOption;var INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function $(z,ie,le){var ue=this;this._targetInfoList=[];var pe=parseFinder(ie,z);each$c(targetInfoBuilders,function(_e,Ce){(!le||!le.include||indexOf(le.include,Ce)>=0)&&_e(pe,ue._targetInfoList)})}return $.prototype.setOutputRanges=function(z,ie){return this.matchOutputRanges(z,ie,function(le,ue,pe){if((le.coordRanges||(le.coordRanges=[])).push(ue),!le.coordRange){le.coordRange=ue;var _e=coordConvert[le.brushType](0,pe,ue);le.__rangeOffset={offset:diffProcessor[le.brushType](_e.values,le.range,[1,1]),xyMinMax:_e.xyMinMax}}}),z},$.prototype.matchOutputRanges=function(z,ie,le){each$c(z,function(ue){var pe=this.findTargetInfo(ue,ie);pe&&pe!==!0&&each$c(pe.coordSyses,function(_e){var Ce=coordConvert[ue.brushType](1,_e,ue.range,!0);le(ue,Ce.values,_e,ie)})},this)},$.prototype.setInputRanges=function(z,ie){each$c(z,function(le){var ue=this.findTargetInfo(le,ie);if(le.range=le.range||[],ue&&ue!==!0){le.panelId=ue.panelId;var pe=coordConvert[le.brushType](0,ue.coordSys,le.coordRange),_e=le.__rangeOffset;le.range=_e?diffProcessor[le.brushType](pe.values,_e.offset,getScales(pe.xyMinMax,_e.xyMinMax)):pe.values}},this)},$.prototype.makePanelOpts=function(z,ie){return map$2(this._targetInfoList,function(le){var ue=le.getPanelRect();return{panelId:le.panelId,defaultBrushType:ie?ie(le):null,clipPath:makeRectPanelClipPath(ue),isTargetByCursor:makeRectIsTargetByCursor(ue,z,le.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(ue)}})},$.prototype.controlSeries=function(z,ie,le){var ue=this.findTargetInfo(z,le);return ue===!0||ue&&indexOf(ue.coordSyses,ie.coordinateSystem)>=0},$.prototype.findTargetInfo=function(z,ie){for(var le=this._targetInfoList,ue=parseFinder(ie,z),pe=0;pe<le.length;pe++){var _e=le[pe],Ce=z.panelId;if(Ce){if(_e.panelId===Ce)return _e}else for(var $e=0;$e<targetInfoMatchers.length;$e++)if(targetInfoMatchers[$e](ue,_e))return _e}return!0},$}();function formatMinMax($){return $[0]>$[1]&&$.reverse(),$}function parseFinder($,z){return parseFinder$1($,z,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function($,z){var ie=$.xAxisModels,le=$.yAxisModels,ue=$.gridModels,pe=createHashMap(),_e={},Ce={};!ie&&!le&&!ue||(each$c(ie,function($e){var xe=$e.axis.grid.model;pe.set(xe.id,xe),_e[xe.id]=!0}),each$c(le,function($e){var xe=$e.axis.grid.model;pe.set(xe.id,xe),Ce[xe.id]=!0}),each$c(ue,function($e){pe.set($e.id,$e),_e[$e.id]=!0,Ce[$e.id]=!0}),pe.each(function($e){var xe=$e.coordinateSystem,Ie=[];each$c(xe.getCartesians(),function(Ve,ze){(indexOf(ie,Ve.getAxis("x").model)>=0||indexOf(le,Ve.getAxis("y").model)>=0)&&Ie.push(Ve)}),z.push({panelId:"grid--"+$e.id,gridModel:$e,coordSysModel:$e,coordSys:Ie[0],coordSyses:Ie,getPanelRect:panelRectBuilders.grid,xAxisDeclared:_e[$e.id],yAxisDeclared:Ce[$e.id]})}))},geo:function($,z){each$c($.geoModels,function(ie){var le=ie.coordinateSystem;z.push({panelId:"geo--"+ie.id,geoModel:ie,coordSysModel:ie,coordSys:le,coordSyses:[le],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function($,z){var ie=$.xAxisModel,le=$.yAxisModel,ue=$.gridModel;return!ue&&ie&&(ue=ie.axis.grid.model),!ue&&le&&(ue=le.axis.grid.model),ue&&ue===z.gridModel},function($,z){var ie=$.geoModel;return ie&&ie===z.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var $=this.coordSys,z=$.getBoundingRect().clone();return z.applyTransform(getTransform$1($)),z}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function($,z,ie,le){var ue=$?z.pointToData([ie[0][0],ie[1][0]],le):z.dataToPoint([ie[0][0],ie[1][0]],le),pe=$?z.pointToData([ie[0][1],ie[1][1]],le):z.dataToPoint([ie[0][1],ie[1][1]],le),_e=[formatMinMax([ue[0],pe[0]]),formatMinMax([ue[1],pe[1]])];return{values:_e,xyMinMax:_e}},polygon:function($,z,ie,le){var ue=[[1/0,-1/0],[1/0,-1/0]],pe=map$2(ie,function(_e){var Ce=$?z.pointToData(_e,le):z.dataToPoint(_e,le);return ue[0][0]=Math.min(ue[0][0],Ce[0]),ue[1][0]=Math.min(ue[1][0],Ce[1]),ue[0][1]=Math.max(ue[0][1],Ce[0]),ue[1][1]=Math.max(ue[1][1],Ce[1]),Ce});return{values:pe,xyMinMax:ue}}};function axisConvert($,z,ie,le){var ue=ie.getAxis(["x","y"][$]),pe=formatMinMax(map$2([0,1],function(Ce){return z?ue.coordToData(ue.toLocalCoord(le[Ce]),!0):ue.toGlobalCoord(ue.dataToCoord(le[Ce]))})),_e=[];return _e[$]=pe,_e[1-$]=[NaN,NaN],{values:pe,xyMinMax:_e}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function($,z,ie){return[[$[0][0]-ie[0]*z[0][0],$[0][1]-ie[0]*z[0][1]],[$[1][0]-ie[1]*z[1][0],$[1][1]-ie[1]*z[1][1]]]},polygon:function($,z,ie){return map$2($,function(le,ue){return[le[0]-ie[0]*z[ue][0],le[1]-ie[1]*z[ue][1]]})}};function axisDiffProcessor($,z,ie,le){return[z[0]-le[$]*ie[0],z[1]-le[$]*ie[1]]}function getScales($,z){var ie=getSize($),le=getSize(z),ue=[ie[0]/le[0],ie[1]/le[1]];return isNaN(ue[0])&&(ue[0]=1),isNaN(ue[1])&&(ue[1]=1),ue}function getSize($){return $?[$[0][1]-$[0][0],$[1][1]-$[1][0]]:[NaN,NaN]}const BrushTargetManager$1=BrushTargetManager;var each$5=each$c,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function($){__extends(z,$);function z(){return $!==null&&$.apply(this,arguments)||this}return z.prototype.render=function(ie,le,ue,pe){this._brushController||(this._brushController=new BrushController$1(ue.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(ie,le,this,pe,ue),updateBackBtnStatus(ie,le)},z.prototype.onclick=function(ie,le,ue){handlers[ue].call(this)},z.prototype.remove=function(ie,le){this._brushController&&this._brushController.unmount()},z.prototype.dispose=function(ie,le){this._brushController&&this._brushController.dispose()},z.prototype._onBrush=function(ie){var le=ie.areas;if(!ie.isEnd||!le.length)return;var ue={},pe=this.ecModel;this._brushController.updateCovers([]);var _e=new BrushTargetManager$1(makeAxisFinder(this.model),pe,{include:["grid"]});_e.matchOutputRanges(le,pe,function(xe,Ie,Ve){if(Ve.type==="cartesian2d"){var ze=xe.brushType;ze==="rect"?(Ce("x",Ve,Ie[0]),Ce("y",Ve,Ie[1])):Ce({lineX:"x",lineY:"y"}[ze],Ve,Ie)}}),push(pe,ue),this._dispatchZoomAction(ue);function Ce(xe,Ie,Ve){var ze=Ie.getAxis(xe),Ue=ze.model,qe=$e(xe,Ue,pe),Et=qe.findRepresentativeAxisProxy(Ue).getMinMaxSpan();(Et.minValueSpan!=null||Et.maxValueSpan!=null)&&(Ve=sliderMove(0,Ve.slice(),ze.scale.getExtent(),0,Et.minValueSpan,Et.maxValueSpan)),qe&&(ue[qe.id]={dataZoomId:qe.id,startValue:Ve[0],endValue:Ve[1]})}function $e(xe,Ie,Ve){var ze;return Ve.eachComponent({mainType:"dataZoom",subType:"select"},function(Ue){var qe=Ue.getAxisModel(xe,Ie.componentIndex);qe&&(ze=Ue)}),ze}},z.prototype._dispatchZoomAction=function(ie){var le=[];each$5(ie,function(ue,pe){le.push(clone$3(ue))}),le.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:le})},z.getDefaultOption=function(ie){var le={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:ie.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return le},z}(ToolboxFeature),handlers={zoom:function(){var $=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:$})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder($){var z={xAxisIndex:$.get("xAxisIndex",!0),yAxisIndex:$.get("yAxisIndex",!0),xAxisId:$.get("xAxisId",!0),yAxisId:$.get("yAxisId",!0)};return z.xAxisIndex==null&&z.xAxisId==null&&(z.xAxisIndex="all"),z.yAxisIndex==null&&z.yAxisId==null&&(z.yAxisIndex="all"),z}function updateBackBtnStatus($,z){$.setIconStatus("back",count(z)>1?"emphasis":"normal")}function updateZoomBtnStatus($,z,ie,le,ue){var pe=ie._isZoomActive;le&&le.type==="takeGlobalCursor"&&(pe=le.key==="dataZoomSelect"?le.dataZoomSelectActive:!1),ie._isZoomActive=pe,$.setIconStatus("zoom",pe?"emphasis":"normal");var _e=new BrushTargetManager$1(makeAxisFinder($),z,{include:["grid"]}),Ce=_e.makePanelOpts(ue,function($e){return $e.xAxisDeclared&&!$e.yAxisDeclared?"lineX":!$e.xAxisDeclared&&$e.yAxisDeclared?"lineY":"rect"});ie._brushController.setPanels(Ce).enableBrush(pe&&Ce.length?{brushType:"auto",brushStyle:$.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function($){var z=$.getComponent("toolbox",0),ie=["feature","dataZoom"];if(!z||z.get(ie)==null)return;var le=z.getModel(ie),ue=[],pe=makeAxisFinder(le),_e=parseFinder$1($,pe);each$5(_e.xAxisModels,function($e){return Ce($e,"xAxis","xAxisIndex")}),each$5(_e.yAxisModels,function($e){return Ce($e,"yAxis","yAxisIndex")});function Ce($e,xe,Ie){var Ve=$e.componentIndex,ze={type:"select",$fromToolbox:!0,filterMode:le.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+xe+Ve};ze[Ie]=Ve,ue.push(ze)}return ue});const DataZoom=DataZoomFeature;function install$b($){$.registerComponentModel(ToolboxModel$1),$.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($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="tooltip",z.dependencies=["axisPointer"],z.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}},z}(ComponentModel$1);const TooltipModel$1=TooltipModel;function shouldTooltipConfine($){var z=$.get("confine");return z!=null?!!z:$.get("renderMode")==="richText"}function testStyle($){if(env$1.domSupported){for(var z=document.documentElement.style,ie=0,le=$.length;ie<le;ie++)if($[ie]in z)return $[ie]}}var TRANSFORM_VENDOR=testStyle(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),TRANSITION_VENDOR=testStyle(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function toCSSVendorPrefix($,z){if(!$)return z;z=toCamelCase(z,!0);var ie=$.indexOf(z);return $=ie===-1?z:"-"+$.slice(0,ie)+"-"+z,$.toLowerCase()}function getComputedStyle$1($,z){var ie=$.currentStyle||document.defaultView&&document.defaultView.getComputedStyle($);return ie?z?ie[z]:ie: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($){return $=$==="left"?"right":$==="right"?"left":$==="top"?"bottom":"top",$}function assembleArrow($,z,ie){if(!isString(ie)||ie==="inside")return"";var le=$.get("backgroundColor"),ue=$.get("borderWidth");z=convertToColorString(z);var pe=mirrorPos(ie),_e=Math.max(Math.round(ue)*1.5,6),Ce="",$e=CSS_TRANSFORM_VENDOR+":",xe;indexOf(["left","right"],pe)>-1?(Ce+="top:50%",$e+="translateY(-50%) rotate("+(xe=pe==="left"?-225:-45)+"deg)"):(Ce+="left:50%",$e+="translateX(-50%) rotate("+(xe=pe==="top"?225:45)+"deg)");var Ie=xe*Math.PI/180,Ve=_e+ue,ze=Ve*Math.abs(Math.cos(Ie))+Ve*Math.abs(Math.sin(Ie)),Ue=Math.round(((ze-Math.SQRT2*ue)/2+Math.SQRT2*ue-(ze-Ve)/2)*100)/100;Ce+=";"+pe+":-"+Ue+"px";var qe=z+" solid "+ue+"px;",Et=["position:absolute;width:"+_e+"px;height:"+_e+"px;z-index:-1;",Ce+";"+$e+";","border-bottom:"+qe,"border-right:"+qe,"background-color:"+le+";"];return'<div style="'+Et.join("")+'"></div>'}function assembleTransition($,z){var ie="cubic-bezier(0.23,1,0.32,1)",le=" "+$/2+"s "+ie,ue="opacity"+le+",visibility"+le;return z||(le=" "+$+"s "+ie,ue+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+le:",left"+le+",top"+le),CSS_TRANSITION_VENDOR+":"+ue}function assembleTransform($,z,ie){var le=$.toFixed(0)+"px",ue=z.toFixed(0)+"px";if(!env$1.transformSupported)return ie?"top:"+ue+";left:"+le+";":[["top",ue],["left",le]];var pe=env$1.transform3dSupported,_e="translate"+(pe?"3d":"")+"("+le+","+ue+(pe?",0":"")+")";return ie?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+_e+";":[["top",0],["left",0],[TRANSFORM_VENDOR,_e]]}function assembleFont($){var z=[],ie=$.get("fontSize"),le=$.getTextColor();le&&z.push("color:"+le),z.push("font:"+$.getFont()),ie&&z.push("line-height:"+Math.round(ie*3/2)+"px");var ue=$.get("textShadowColor"),pe=$.get("textShadowBlur")||0,_e=$.get("textShadowOffsetX")||0,Ce=$.get("textShadowOffsetY")||0;return ue&&pe&&z.push("text-shadow:"+_e+"px "+Ce+"px "+pe+"px "+ue),each$c(["decoration","align"],function($e){var xe=$.get($e);xe&&z.push("text-"+$e+":"+xe)}),z.join(";")}function assembleCssText($,z,ie){var le=[],ue=$.get("transitionDuration"),pe=$.get("backgroundColor"),_e=$.get("shadowBlur"),Ce=$.get("shadowColor"),$e=$.get("shadowOffsetX"),xe=$.get("shadowOffsetY"),Ie=$.getModel("textStyle"),Ve=getPaddingFromTooltipModel($,"html"),ze=$e+"px "+xe+"px "+_e+"px "+Ce;return le.push("box-shadow:"+ze),z&&ue&&le.push(assembleTransition(ue,ie)),pe&&le.push("background-color:"+pe),each$c(["width","color","radius"],function(Ue){var qe="border-"+Ue,Et=toCamelCase(qe),Lt=$.get(Et);Lt!=null&&le.push(qe+":"+Lt+(Ue==="color"?"":"px"))}),le.push(assembleFont(Ie)),Ve!=null&&le.push("padding:"+normalizeCssArray(Ve).join("px ")+"px"),le.join(";")+";"}function makeStyleCoord$1($,z,ie,le,ue){var pe=z&&z.painter;if(ie){var _e=pe&&pe.getViewportRoot();_e&&transformLocalCoord($,_e,document.body,le,ue)}else{$[0]=le,$[1]=ue;var Ce=pe&&pe.getViewportRootOffset();Ce&&($[0]+=Ce.offsetLeft,$[1]+=Ce.offsetTop)}$[2]=$[0]/z.getWidth(),$[3]=$[1]/z.getHeight()}var TooltipHTMLContent=function(){function $(z,ie,le){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 ue=document.createElement("div");ue.domBelongToZr=!0,this.el=ue;var pe=this._zr=ie.getZr(),_e=this._appendToBody=le&&le.appendToBody;makeStyleCoord$1(this._styleCoord,pe,_e,ie.getWidth()/2,ie.getHeight()/2),_e?document.body.appendChild(ue):z.appendChild(ue),this._container=z;var Ce=this;ue.onmouseenter=function(){Ce._enterable&&(clearTimeout(Ce._hideTimeout),Ce._show=!0),Ce._inContent=!0},ue.onmousemove=function($e){if($e=$e||window.event,!Ce._enterable){var xe=pe.handler,Ie=pe.painter.getViewportRoot();normalizeEvent(Ie,$e,!0),xe.dispatch("mousemove",$e)}},ue.onmouseleave=function(){Ce._inContent=!1,Ce._enterable&&Ce._show&&Ce.hideLater(Ce._hideDelay)}}return $.prototype.update=function(z){var ie=this._container,le=getComputedStyle$1(ie,"position"),ue=ie.style;ue.position!=="absolute"&&le!=="absolute"&&(ue.position="relative");var pe=z.get("alwaysShowContent");pe&&this._moveIfResized(),this._alwaysShowContent=pe,this.el.className=z.get("className")||""},$.prototype.show=function(z,ie){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var le=this.el,ue=le.style,pe=this._styleCoord;le.innerHTML?ue.cssText=gCssText+assembleCssText(z,!this._firstShow,this._longHide)+assembleTransform(pe[0],pe[1],!0)+("border-color:"+convertToColorString(ie)+";")+(z.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):ue.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},$.prototype.setContent=function(z,ie,le,ue,pe){var _e=this.el;if(z==null){_e.innerHTML="";return}var Ce="";if(isString(pe)&&le.get("trigger")==="item"&&!shouldTooltipConfine(le)&&(Ce=assembleArrow(le,ue,pe)),isString(z))_e.innerHTML=z+Ce;else if(z){_e.innerHTML="",isArray$1(z)||(z=[z]);for(var $e=0;$e<z.length;$e++)isDom(z[$e])&&z[$e].parentNode!==_e&&_e.appendChild(z[$e]);if(Ce&&_e.childNodes.length){var xe=document.createElement("div");xe.innerHTML=Ce,_e.appendChild(xe)}}},$.prototype.setEnterable=function(z){this._enterable=z},$.prototype.getSize=function(){var z=this.el;return[z.offsetWidth,z.offsetHeight]},$.prototype.moveTo=function(z,ie){var le=this._styleCoord;if(makeStyleCoord$1(le,this._zr,this._appendToBody,z,ie),le[0]!=null&&le[1]!=null){var ue=this.el.style,pe=assembleTransform(le[0],le[1]);each$c(pe,function(_e){ue[_e[0]]=_e[1]})}},$.prototype._moveIfResized=function(){var z=this._styleCoord[2],ie=this._styleCoord[3];this.moveTo(z*this._zr.getWidth(),ie*this._zr.getHeight())},$.prototype.hide=function(){var z=this,ie=this.el.style;ie.visibility="hidden",ie.opacity="0",env$1.transform3dSupported&&(ie.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return z._longHide=!0},500)},$.prototype.hideLater=function(z){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(z?(this._hideDelay=z,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),z)):this.hide())},$.prototype.isShow=function(){return this._show},$.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},$}();const TooltipHTMLContent$1=TooltipHTMLContent;var TooltipRichContent=function(){function $(z){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=z.getZr(),makeStyleCoord(this._styleCoord,this._zr,z.getWidth()/2,z.getHeight()/2)}return $.prototype.update=function(z){var ie=z.get("alwaysShowContent");ie&&this._moveIfResized(),this._alwaysShowContent=ie},$.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},$.prototype.setContent=function(z,ie,le,ue,pe){var _e=this;isObject$3(z)&&throwError(""),this.el&&this._zr.remove(this.el);var Ce=le.getModel("textStyle");this.el=new ZRText$1({style:{rich:ie.richTextStyles,text:z,lineHeight:22,borderWidth:1,borderColor:ue,textShadowColor:Ce.get("textShadowColor"),fill:le.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(le,"richText"),verticalAlign:"top",align:"left"},z:le.get("z")}),each$c(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(xe){_e.el.style[xe]=le.get(xe)}),each$c(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(xe){_e.el.style[xe]=Ce.get(xe)||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})},$.prototype.setEnterable=function(z){this._enterable=z},$.prototype.getSize=function(){var z=this.el,ie=this.el.getBoundingRect(),le=calcShadowOuterSize(z.style);return[ie.width+le.left+le.right,ie.height+le.top+le.bottom]},$.prototype.moveTo=function(z,ie){var le=this.el;if(le){var ue=this._styleCoord;makeStyleCoord(ue,this._zr,z,ie),z=ue[0],ie=ue[1];var pe=le.style,_e=mathMaxWith0(pe.borderWidth||0),Ce=calcShadowOuterSize(pe);le.x=z+_e+Ce.left,le.y=ie+_e+Ce.top,le.markRedraw()}},$.prototype._moveIfResized=function(){var z=this._styleCoord[2],ie=this._styleCoord[3];this.moveTo(z*this._zr.getWidth(),ie*this._zr.getHeight())},$.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},$.prototype.hideLater=function(z){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(z?(this._hideDelay=z,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),z)):this.hide())},$.prototype.isShow=function(){return this._show},$.prototype.dispose=function(){this._zr.remove(this.el)},$}();function mathMaxWith0($){return Math.max(0,$)}function calcShadowOuterSize($){var z=mathMaxWith0($.shadowBlur||0),ie=mathMaxWith0($.shadowOffsetX||0),le=mathMaxWith0($.shadowOffsetY||0);return{left:mathMaxWith0(z-ie),right:mathMaxWith0(z+ie),top:mathMaxWith0(z-le),bottom:mathMaxWith0(z+le)}}function makeStyleCoord($,z,ie,le){$[0]=ie,$[1]=le,$[2]=$[0]/z.getWidth(),$[3]=$[1]/z.getHeight()}const TooltipRichContent$1=TooltipRichContent;var proxyRect=new Rect$2({shape:{x:-1,y:-1,width:2,height:2}}),TooltipView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.init=function(ie,le){if(!(env$1.node||!le.getDom())){var ue=ie.getComponent("tooltip"),pe=this._renderMode=getTooltipRenderMode(ue.get("renderMode"));this._tooltipContent=pe==="richText"?new TooltipRichContent$1(le):new TooltipHTMLContent$1(le.getDom(),le,{appendToBody:ue.get("appendToBody",!0)})}},z.prototype.render=function(ie,le,ue){if(!(env$1.node||!ue.getDom())){this.group.removeAll(),this._tooltipModel=ie,this._ecModel=le,this._api=ue;var pe=this._tooltipContent;pe.update(ie),pe.setEnterable(ie.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&ie.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},z.prototype._initGlobalListener=function(){var ie=this._tooltipModel,le=ie.get("triggerOn");register("itemTooltip",this._api,bind$1(function(ue,pe,_e){le!=="none"&&(le.indexOf(ue)>=0?this._tryShow(pe,_e):ue==="leave"&&this._hide(_e))},this))},z.prototype._keepShow=function(){var ie=this._tooltipModel,le=this._ecModel,ue=this._api,pe=ie.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&pe!=="none"&&pe!=="click"){var _e=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!ue.isDisposed()&&_e.manuallyShowTip(ie,le,ue,{x:_e._lastX,y:_e._lastY,dataByCoordSys:_e._lastDataByCoordSys})})}},z.prototype.manuallyShowTip=function(ie,le,ue,pe){if(!(pe.from===this.uid||env$1.node||!ue.getDom())){var _e=makeDispatchAction(pe,ue);this._ticket="";var Ce=pe.dataByCoordSys,$e=findComponentReference(pe,le,ue);if($e){var xe=$e.el.getBoundingRect().clone();xe.applyTransform($e.el.transform),this._tryShow({offsetX:xe.x+xe.width/2,offsetY:xe.y+xe.height/2,target:$e.el,position:pe.position,positionDefault:"bottom"},_e)}else if(pe.tooltip&&pe.x!=null&&pe.y!=null){var Ie=proxyRect;Ie.x=pe.x,Ie.y=pe.y,Ie.update(),getECData(Ie).tooltipConfig={name:null,option:pe.tooltip},this._tryShow({offsetX:pe.x,offsetY:pe.y,target:Ie},_e)}else if(Ce)this._tryShow({offsetX:pe.x,offsetY:pe.y,position:pe.position,dataByCoordSys:Ce,tooltipOption:pe.tooltipOption},_e);else if(pe.seriesIndex!=null){if(this._manuallyAxisShowTip(ie,le,ue,pe))return;var Ve=findPointFromSeries(pe,le),ze=Ve.point[0],Ue=Ve.point[1];ze!=null&&Ue!=null&&this._tryShow({offsetX:ze,offsetY:Ue,target:Ve.el,position:pe.position,positionDefault:"bottom"},_e)}else pe.x!=null&&pe.y!=null&&(ue.dispatchAction({type:"updateAxisPointer",x:pe.x,y:pe.y}),this._tryShow({offsetX:pe.x,offsetY:pe.y,position:pe.position,target:ue.getZr().findHover(pe.x,pe.y).target},_e))}},z.prototype.manuallyHideTip=function(ie,le,ue,pe){var _e=this._tooltipContent;this._tooltipModel&&_e.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,pe.from!==this.uid&&this._hide(makeDispatchAction(pe,ue))},z.prototype._manuallyAxisShowTip=function(ie,le,ue,pe){var _e=pe.seriesIndex,Ce=pe.dataIndex,$e=le.getComponent("axisPointer").coordSysAxesInfo;if(!(_e==null||Ce==null||$e==null)){var xe=le.getSeriesByIndex(_e);if(xe){var Ie=xe.getData(),Ve=buildTooltipModel([Ie.getItemModel(Ce),xe,(xe.coordinateSystem||{}).model],this._tooltipModel);if(Ve.get("trigger")==="axis")return ue.dispatchAction({type:"updateAxisPointer",seriesIndex:_e,dataIndex:Ce,position:pe.position}),!0}}},z.prototype._tryShow=function(ie,le){var ue=ie.target,pe=this._tooltipModel;if(pe){this._lastX=ie.offsetX,this._lastY=ie.offsetY;var _e=ie.dataByCoordSys;if(_e&&_e.length)this._showAxisTooltip(_e,ie);else if(ue){this._lastDataByCoordSys=null;var Ce,$e;findEventDispatcher(ue,function(xe){if(getECData(xe).dataIndex!=null)return Ce=xe,!0;if(getECData(xe).tooltipConfig!=null)return $e=xe,!0},!0),Ce?this._showSeriesItemTooltip(ie,Ce,le):$e?this._showComponentItemTooltip(ie,$e,le):this._hide(le)}else this._lastDataByCoordSys=null,this._hide(le)}},z.prototype._showOrMove=function(ie,le){var ue=ie.get("showDelay");le=bind$1(le,this),clearTimeout(this._showTimout),ue>0?this._showTimout=setTimeout(le,ue):le()},z.prototype._showAxisTooltip=function(ie,le){var ue=this._ecModel,pe=this._tooltipModel,_e=[le.offsetX,le.offsetY],Ce=buildTooltipModel([le.tooltipOption],pe),$e=this._renderMode,xe=[],Ie=createTooltipMarkup("section",{blocks:[],noHeader:!0}),Ve=[],ze=new TooltipMarkupStyleCreator;each$c(ie,function(vn){each$c(vn.dataByAxis,function(_n){var bn=ue.getComponent(_n.axisDim+"Axis",_n.axisIndex),Cn=_n.value;if(!(!bn||Cn==null)){var Sn=getValueLabel(Cn,bn.axis,ue,_n.seriesDataIndices,_n.valueLabelOpt),En=createTooltipMarkup("section",{header:Sn,noHeader:!trim$1(Sn),sortBlocks:!0,blocks:[]});Ie.blocks.push(En),each$c(_n.seriesDataIndices,function(wn){var Tn=ue.getSeriesByIndex(wn.seriesIndex),kn=wn.dataIndexInside,xn=Tn.getDataParams(kn);if(!(xn.dataIndex<0)){xn.axisDim=_n.axisDim,xn.axisIndex=_n.axisIndex,xn.axisType=_n.axisType,xn.axisId=_n.axisId,xn.axisValue=getAxisRawValue(bn.axis,{value:Cn}),xn.axisValueLabel=Sn,xn.marker=ze.makeTooltipMarker("item",convertToColorString(xn.color),$e);var Pn=normalizeTooltipFormatResult(Tn.formatTooltip(kn,!0,null)),An=Pn.frag;if(An){var In=buildTooltipModel([Tn],pe).get("valueFormatter");En.blocks.push(In?extend({valueFormatter:In},An):An)}Pn.text&&Ve.push(Pn.text),xe.push(xn)}})}})}),Ie.blocks.reverse(),Ve.reverse();var Ue=le.position,qe=Ce.get("order"),Et=buildTooltipMarkup(Ie,ze,$e,qe,ue.get("useUTC"),Ce.get("textStyle"));Et&&Ve.unshift(Et);var Lt=$e==="richText"?`
|
||
|
||
`:"<br/>",hn=Ve.join(Lt);this._showOrMove(Ce,function(){this._updateContentNotChangedOnAxis(ie,xe)?this._updatePosition(Ce,Ue,_e[0],_e[1],this._tooltipContent,xe):this._showTooltipContent(Ce,hn,xe,Math.random()+"",_e[0],_e[1],Ue,null,ze)})},z.prototype._showSeriesItemTooltip=function(ie,le,ue){var pe=this._ecModel,_e=getECData(le),Ce=_e.seriesIndex,$e=pe.getSeriesByIndex(Ce),xe=_e.dataModel||$e,Ie=_e.dataIndex,Ve=_e.dataType,ze=xe.getData(Ve),Ue=this._renderMode,qe=ie.positionDefault,Et=buildTooltipModel([ze.getItemModel(Ie),xe,$e&&($e.coordinateSystem||{}).model],this._tooltipModel,qe?{position:qe}:null),Lt=Et.get("trigger");if(!(Lt!=null&&Lt!=="item")){var hn=xe.getDataParams(Ie,Ve),vn=new TooltipMarkupStyleCreator;hn.marker=vn.makeTooltipMarker("item",convertToColorString(hn.color),Ue);var _n=normalizeTooltipFormatResult(xe.formatTooltip(Ie,!1,Ve)),bn=Et.get("order"),Cn=Et.get("valueFormatter"),Sn=_n.frag,En=Sn?buildTooltipMarkup(Cn?extend({valueFormatter:Cn},Sn):Sn,vn,Ue,bn,pe.get("useUTC"),Et.get("textStyle")):_n.text,wn="item_"+xe.name+"_"+Ie;this._showOrMove(Et,function(){this._showTooltipContent(Et,En,hn,wn,ie.offsetX,ie.offsetY,ie.position,ie.target,vn)}),ue({type:"showTip",dataIndexInside:Ie,dataIndex:ze.getRawIndex(Ie),seriesIndex:Ce,from:this.uid})}},z.prototype._showComponentItemTooltip=function(ie,le,ue){var pe=getECData(le),_e=pe.tooltipConfig,Ce=_e.option||{};if(isString(Ce)){var $e=Ce;Ce={content:$e,formatter:$e}}var xe=[Ce],Ie=this._ecModel.getComponent(pe.componentMainType,pe.componentIndex);Ie&&xe.push(Ie),xe.push({formatter:Ce.content});var Ve=ie.positionDefault,ze=buildTooltipModel(xe,this._tooltipModel,Ve?{position:Ve}:null),Ue=ze.get("content"),qe=Math.random()+"",Et=new TooltipMarkupStyleCreator;this._showOrMove(ze,function(){var Lt=clone$3(ze.get("formatterParams")||{});this._showTooltipContent(ze,Ue,Lt,qe,ie.offsetX,ie.offsetY,ie.position,le,Et)}),ue({type:"showTip",from:this.uid})},z.prototype._showTooltipContent=function(ie,le,ue,pe,_e,Ce,$e,xe,Ie){if(this._ticket="",!(!ie.get("showContent")||!ie.get("show"))){var Ve=this._tooltipContent;Ve.setEnterable(ie.get("enterable"));var ze=ie.get("formatter");$e=$e||ie.get("position");var Ue=le,qe=this._getNearestPoint([_e,Ce],ue,ie.get("trigger"),ie.get("borderColor")),Et=qe.color;if(ze)if(isString(ze)){var Lt=ie.ecModel.get("useUTC"),hn=isArray$1(ue)?ue[0]:ue,vn=hn&&hn.axisType&&hn.axisType.indexOf("time")>=0;Ue=ze,vn&&(Ue=format$1(hn.axisValue,Ue,Lt)),Ue=formatTpl(Ue,ue,!0)}else if(isFunction(ze)){var _n=bind$1(function(bn,Cn){bn===this._ticket&&(Ve.setContent(Cn,Ie,ie,Et,$e),this._updatePosition(ie,$e,_e,Ce,Ve,ue,xe))},this);this._ticket=pe,Ue=ze(ue,pe,_n)}else Ue=ze;Ve.setContent(Ue,Ie,ie,Et,$e),Ve.show(ie,Et),this._updatePosition(ie,$e,_e,Ce,Ve,ue,xe)}},z.prototype._getNearestPoint=function(ie,le,ue,pe){if(ue==="axis"||isArray$1(le))return{color:pe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(le))return{color:pe||le.color||le.borderColor}},z.prototype._updatePosition=function(ie,le,ue,pe,_e,Ce,$e){var xe=this._api.getWidth(),Ie=this._api.getHeight();le=le||ie.get("position");var Ve=_e.getSize(),ze=ie.get("align"),Ue=ie.get("verticalAlign"),qe=$e&&$e.getBoundingRect().clone();if($e&&qe.applyTransform($e.transform),isFunction(le)&&(le=le([ue,pe],Ce,_e.el,qe,{viewSize:[xe,Ie],contentSize:Ve.slice()})),isArray$1(le))ue=parsePercent(le[0],xe),pe=parsePercent(le[1],Ie);else if(isObject$3(le)){var Et=le;Et.width=Ve[0],Et.height=Ve[1];var Lt=getLayoutRect(Et,{width:xe,height:Ie});ue=Lt.x,pe=Lt.y,ze=null,Ue=null}else if(isString(le)&&$e){var hn=calcTooltipPosition(le,qe,Ve,ie.get("borderWidth"));ue=hn[0],pe=hn[1]}else{var hn=refixTooltipPosition(ue,pe,_e,xe,Ie,ze?null:20,Ue?null:20);ue=hn[0],pe=hn[1]}if(ze&&(ue-=isCenterAlign(ze)?Ve[0]/2:ze==="right"?Ve[0]:0),Ue&&(pe-=isCenterAlign(Ue)?Ve[1]/2:Ue==="bottom"?Ve[1]:0),shouldTooltipConfine(ie)){var hn=confineTooltipPosition(ue,pe,_e,xe,Ie);ue=hn[0],pe=hn[1]}_e.moveTo(ue,pe)},z.prototype._updateContentNotChangedOnAxis=function(ie,le){var ue=this._lastDataByCoordSys,pe=this._cbParamsList,_e=!!ue&&ue.length===ie.length;return _e&&each$c(ue,function(Ce,$e){var xe=Ce.dataByAxis||[],Ie=ie[$e]||{},Ve=Ie.dataByAxis||[];_e=_e&&xe.length===Ve.length,_e&&each$c(xe,function(ze,Ue){var qe=Ve[Ue]||{},Et=ze.seriesDataIndices||[],Lt=qe.seriesDataIndices||[];_e=_e&&ze.value===qe.value&&ze.axisType===qe.axisType&&ze.axisId===qe.axisId&&Et.length===Lt.length,_e&&each$c(Et,function(hn,vn){var _n=Lt[vn];_e=_e&&hn.seriesIndex===_n.seriesIndex&&hn.dataIndex===_n.dataIndex}),pe&&each$c(ze.seriesDataIndices,function(hn){var vn=hn.seriesIndex,_n=le[vn],bn=pe[vn];_n&&bn&&bn.data!==_n.data&&(_e=!1)})})}),this._lastDataByCoordSys=ie,this._cbParamsList=le,!!_e},z.prototype._hide=function(ie){this._lastDataByCoordSys=null,ie({type:"hideTip",from:this.uid})},z.prototype.dispose=function(ie,le){env$1.node||!le.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",le))},z.type="tooltip",z}(ComponentView$1);function buildTooltipModel($,z,ie){var le=z.ecModel,ue;ie?(ue=new Model$1(ie,le,le),ue=new Model$1(z.option,ue,le)):ue=z;for(var pe=$.length-1;pe>=0;pe--){var _e=$[pe];_e&&(_e instanceof Model$1&&(_e=_e.get("tooltip",!0)),isString(_e)&&(_e={formatter:_e}),_e&&(ue=new Model$1(_e,ue,le)))}return ue}function makeDispatchAction($,z){return $.dispatchAction||bind$1(z.dispatchAction,z)}function refixTooltipPosition($,z,ie,le,ue,pe,_e){var Ce=ie.getSize(),$e=Ce[0],xe=Ce[1];return pe!=null&&($+$e+pe+2>le?$-=$e+pe:$+=pe),_e!=null&&(z+xe+_e>ue?z-=xe+_e:z+=_e),[$,z]}function confineTooltipPosition($,z,ie,le,ue){var pe=ie.getSize(),_e=pe[0],Ce=pe[1];return $=Math.min($+_e,le)-_e,z=Math.min(z+Ce,ue)-Ce,$=Math.max($,0),z=Math.max(z,0),[$,z]}function calcTooltipPosition($,z,ie,le){var ue=ie[0],pe=ie[1],_e=Math.ceil(Math.SQRT2*le)+8,Ce=0,$e=0,xe=z.width,Ie=z.height;switch($){case"inside":Ce=z.x+xe/2-ue/2,$e=z.y+Ie/2-pe/2;break;case"top":Ce=z.x+xe/2-ue/2,$e=z.y-pe-_e;break;case"bottom":Ce=z.x+xe/2-ue/2,$e=z.y+Ie+_e;break;case"left":Ce=z.x-ue-_e,$e=z.y+Ie/2-pe/2;break;case"right":Ce=z.x+xe+_e,$e=z.y+Ie/2-pe/2}return[Ce,$e]}function isCenterAlign($){return $==="center"||$==="middle"}function findComponentReference($,z,ie){var le=preParseFinder($).queryOptionMap,ue=le.keys()[0];if(!(!ue||ue==="series")){var pe=queryReferringComponents(z,ue,le.get(ue),{useDefault:!1,enableAll:!1,enableNone:!1}),_e=pe.models[0];if(_e){var Ce=ie.getViewOfComponentModel(_e),$e;if(Ce.group.traverse(function(xe){var Ie=getECData(xe).tooltipConfig;if(Ie&&Ie.name===$.name)return $e=xe,!0}),$e)return{componentMainType:ue,componentIndex:_e.componentIndex,el:$e}}}}const TooltipView$1=TooltipView;function install$a($){use$1(install$f),$.registerComponentModel(TooltipModel$1),$.registerComponentView(TooltipView$1),$.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),$.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var each$4=each$c;function hasKeys($){if($){for(var z in $)if($.hasOwnProperty(z))return!0}}function createVisualMappings($,z,ie){var le={};return each$4(z,function(pe){var _e=le[pe]=ue();each$4($[pe],function(Ce,$e){if(VisualMapping$1.isValidType($e)){var xe={type:$e,visual:Ce};ie&&ie(xe,pe),_e[$e]=new VisualMapping$1(xe),$e==="opacity"&&(xe=clone$3(xe),xe.type="colorAlpha",_e.__hidden.__alphaForOpacity=new VisualMapping$1(xe))}})}),le;function ue(){var pe=function(){};pe.prototype.__hidden=pe.prototype;var _e=new pe;return _e}}function replaceVisualOption($,z,ie){var le;each$c(ie,function(ue){z.hasOwnProperty(ue)&&hasKeys(z[ue])&&(le=!0)}),le&&each$c(ie,function(ue){z.hasOwnProperty(ue)&&hasKeys(z[ue])?$[ue]=clone$3(z[ue]):delete $[ue]})}function incrementalApplyVisual($,z,ie,le){var ue={};return each$c($,function(pe){var _e=VisualMapping$1.prepareVisualTypes(z[pe]);ue[pe]=_e}),{progress:function(_e,Ce){var $e;le!=null&&($e=Ce.getDimensionIndex(le));function xe(Cn){return getItemVisualFromData(Ce,Ve,Cn)}function Ie(Cn,Sn){setItemVisualFromData(Ce,Ve,Cn,Sn)}for(var Ve,ze=Ce.getStore();(Ve=_e.next())!=null;){var Ue=Ce.getRawDataItem(Ve);if(!(Ue&&Ue.visualMap===!1))for(var qe=le!=null?ze.get($e,Ve):Ve,Et=ie(qe),Lt=z[Et],hn=ue[Et],vn=0,_n=hn.length;vn<_n;vn++){var bn=hn[vn];Lt[bn]&&Lt[bn].applyVisual(qe,xe,Ie)}}}}}var TitleModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.layoutMode={type:"box",ignoreSize:!0},ie}return z.type="title",z.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"}},z}(ComponentModel$1),TitleView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.render=function(ie,le,ue){if(this.group.removeAll(),!!ie.get("show")){var pe=this.group,_e=ie.getModel("textStyle"),Ce=ie.getModel("subtextStyle"),$e=ie.get("textAlign"),xe=retrieve2(ie.get("textBaseline"),ie.get("textVerticalAlign")),Ie=new ZRText$1({style:createTextStyle$1(_e,{text:ie.get("text"),fill:_e.getTextColor()},{disableBox:!0}),z2:10}),Ve=Ie.getBoundingRect(),ze=ie.get("subtext"),Ue=new ZRText$1({style:createTextStyle$1(Ce,{text:ze,fill:Ce.getTextColor(),y:Ve.height+ie.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),qe=ie.get("link"),Et=ie.get("sublink"),Lt=ie.get("triggerEvent",!0);Ie.silent=!qe&&!Lt,Ue.silent=!Et&&!Lt,qe&&Ie.on("click",function(){windowOpen(qe,"_"+ie.get("target"))}),Et&&Ue.on("click",function(){windowOpen(Et,"_"+ie.get("subtarget"))}),getECData(Ie).eventData=getECData(Ue).eventData=Lt?{componentType:"title",componentIndex:ie.componentIndex}:null,pe.add(Ie),ze&&pe.add(Ue);var hn=pe.getBoundingRect(),vn=ie.getBoxLayoutParams();vn.width=hn.width,vn.height=hn.height;var _n=getLayoutRect(vn,{width:ue.getWidth(),height:ue.getHeight()},ie.get("padding"));$e||($e=ie.get("left")||ie.get("right"),$e==="middle"&&($e="center"),$e==="right"?_n.x+=_n.width:$e==="center"&&(_n.x+=_n.width/2)),xe||(xe=ie.get("top")||ie.get("bottom"),xe==="center"&&(xe="middle"),xe==="bottom"?_n.y+=_n.height:xe==="middle"&&(_n.y+=_n.height/2),xe=xe||"top"),pe.x=_n.x,pe.y=_n.y,pe.markRedraw();var bn={align:$e,verticalAlign:xe};Ie.setStyle(bn),Ue.setStyle(bn),hn=pe.getBoundingRect();var Cn=_n.margin,Sn=ie.getItemStyle(["color","opacity"]);Sn.fill=ie.get("backgroundColor");var En=new Rect$2({shape:{x:hn.x-Cn[3],y:hn.y-Cn[0],width:hn.width+Cn[1]+Cn[3],height:hn.height+Cn[0]+Cn[2],r:ie.get("borderRadius")},style:Sn,subPixelOptimize:!0,silent:!0});pe.add(En)}},z.type="title",z}(ComponentView$1);function install$9($){$.registerComponentModel(TitleModel),$.registerComponentView(TitleView)}var getDefaultSelectorOptions=function($,z){if(z==="all")return{type:"all",title:$.getLocaleModel().get(["legend","selector","all"])};if(z==="inverse")return{type:"inverse",title:$.getLocaleModel().get(["legend","selector","inverse"])}},LegendModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.layoutMode={type:"box",ignoreSize:!0},ie}return z.prototype.init=function(ie,le,ue){this.mergeDefaultAndTheme(ie,ue),ie.selected=ie.selected||{},this._updateSelector(ie)},z.prototype.mergeOption=function(ie,le){$.prototype.mergeOption.call(this,ie,le),this._updateSelector(ie)},z.prototype._updateSelector=function(ie){var le=ie.selector,ue=this.ecModel;le===!0&&(le=ie.selector=["all","inverse"]),isArray$1(le)&&each$c(le,function(pe,_e){isString(pe)&&(pe={type:pe}),le[_e]=merge(pe,getDefaultSelectorOptions(ue,pe.type))})},z.prototype.optionUpdated=function(){this._updateData(this.ecModel);var ie=this._data;if(ie[0]&&this.get("selectedMode")==="single"){for(var le=!1,ue=0;ue<ie.length;ue++){var pe=ie[ue].get("name");if(this.isSelected(pe)){this.select(pe),le=!0;break}}!le&&this.select(ie[0].get("name"))}},z.prototype._updateData=function(ie){var le=[],ue=[];ie.eachRawSeries(function($e){var xe=$e.name;ue.push(xe);var Ie;if($e.legendVisualProvider){var Ve=$e.legendVisualProvider,ze=Ve.getAllNames();ie.isSeriesFiltered($e)||(ue=ue.concat(ze)),ze.length?le=le.concat(ze):Ie=!0}else Ie=!0;Ie&&isNameSpecified($e)&&le.push($e.name)}),this._availableNames=ue;var pe=this.get("data")||le,_e=createHashMap(),Ce=map$2(pe,function($e){return(isString($e)||isNumber($e))&&($e={name:$e}),_e.get($e.name)?null:(_e.set($e.name,!0),new Model$1($e,this,this.ecModel))},this);this._data=filter(Ce,function($e){return!!$e})},z.prototype.getData=function(){return this._data},z.prototype.select=function(ie){var le=this.option.selected,ue=this.get("selectedMode");if(ue==="single"){var pe=this._data;each$c(pe,function(_e){le[_e.get("name")]=!1})}le[ie]=!0},z.prototype.unSelect=function(ie){this.get("selectedMode")!=="single"&&(this.option.selected[ie]=!1)},z.prototype.toggleSelected=function(ie){var le=this.option.selected;le.hasOwnProperty(ie)||(le[ie]=!0),this[le[ie]?"unSelect":"select"](ie)},z.prototype.allSelect=function(){var ie=this._data,le=this.option.selected;each$c(ie,function(ue){le[ue.get("name",!0)]=!0})},z.prototype.inverseSelect=function(){var ie=this._data,le=this.option.selected;each$c(ie,function(ue){var pe=ue.get("name",!0);le.hasOwnProperty(pe)||(le[pe]=!0),le[pe]=!le[pe]})},z.prototype.isSelected=function(ie){var le=this.option.selected;return!(le.hasOwnProperty(ie)&&!le[ie])&&indexOf(this._availableNames,ie)>=0},z.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},z.type="legend.plain",z.dependencies=["series"],z.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}},z}(ComponentModel$1);const LegendModel$1=LegendModel;var curry=curry$1,each$3=each$c,Group$1=Group$3,LegendView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.newlineDisabled=!1,ie}return z.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},z.prototype.getContentGroup=function(){return this._contentGroup},z.prototype.getSelectorGroup=function(){return this._selectorGroup},z.prototype.render=function(ie,le,ue){var pe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!ie.get("show",!0)){var _e=ie.get("align"),Ce=ie.get("orient");(!_e||_e==="auto")&&(_e=ie.get("left")==="right"&&Ce==="vertical"?"right":"left");var $e=ie.get("selector",!0),xe=ie.get("selectorPosition",!0);$e&&(!xe||xe==="auto")&&(xe=Ce==="horizontal"?"end":"start"),this.renderInner(_e,ie,le,ue,$e,Ce,xe);var Ie=ie.getBoxLayoutParams(),Ve={width:ue.getWidth(),height:ue.getHeight()},ze=ie.get("padding"),Ue=getLayoutRect(Ie,Ve,ze),qe=this.layoutInner(ie,_e,Ue,pe,$e,xe),Et=getLayoutRect(defaults({width:qe.width,height:qe.height},Ie),Ve,ze);this.group.x=Et.x-qe.x,this.group.y=Et.y-qe.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(qe,ie))}},z.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},z.prototype.renderInner=function(ie,le,ue,pe,_e,Ce,$e){var xe=this.getContentGroup(),Ie=createHashMap(),Ve=le.get("selectedMode"),ze=[];ue.eachRawSeries(function(Ue){!Ue.get("legendHoverLink")&&ze.push(Ue.id)}),each$3(le.getData(),function(Ue,qe){var Et=Ue.get("name");if(!this.newlineDisabled&&(Et===""||Et===`
|
||
`)){var Lt=new Group$1;Lt.newline=!0,xe.add(Lt);return}var hn=ue.getSeriesByName(Et)[0];if(!Ie.get(Et))if(hn){var vn=hn.getData(),_n=vn.getVisual("legendLineStyle")||{},bn=vn.getVisual("legendIcon"),Cn=vn.getVisual("style"),Sn=this._createItem(hn,Et,qe,Ue,le,ie,_n,Cn,bn,Ve,pe);Sn.on("click",curry(dispatchSelectAction,Et,null,pe,ze)).on("mouseover",curry(dispatchHighlightAction,hn.name,null,pe,ze)).on("mouseout",curry(dispatchDownplayAction,hn.name,null,pe,ze)),Ie.set(Et,!0)}else ue.eachRawSeries(function(En){if(!Ie.get(Et)&&En.legendVisualProvider){var wn=En.legendVisualProvider;if(!wn.containName(Et))return;var Tn=wn.indexOfName(Et),kn=wn.getItemVisual(Tn,"style"),xn=wn.getItemVisual(Tn,"legendIcon"),Pn=parse$1(kn.fill);Pn&&Pn[3]===0&&(Pn[3]=.2,kn=extend(extend({},kn),{fill:stringify(Pn,"rgba")}));var An=this._createItem(En,Et,qe,Ue,le,ie,{},kn,xn,Ve,pe);An.on("click",curry(dispatchSelectAction,null,Et,pe,ze)).on("mouseover",curry(dispatchHighlightAction,null,Et,pe,ze)).on("mouseout",curry(dispatchDownplayAction,null,Et,pe,ze)),Ie.set(Et,!0)}},this)},this),_e&&this._createSelector(_e,le,pe,Ce,$e)},z.prototype._createSelector=function(ie,le,ue,pe,_e){var Ce=this.getSelectorGroup();each$3(ie,function(xe){var Ie=xe.type,Ve=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){ue.dispatchAction({type:Ie==="all"?"legendAllSelect":"legendInverseSelect"})}});Ce.add(Ve);var ze=le.getModel("selectorLabel"),Ue=le.getModel(["emphasis","selectorLabel"]);setLabelStyle(Ve,{normal:ze,emphasis:Ue},{defaultText:xe.title}),enableHoverEmphasis(Ve)})},z.prototype._createItem=function(ie,le,ue,pe,_e,Ce,$e,xe,Ie,Ve,ze){var Ue=ie.visualDrawType,qe=_e.get("itemWidth"),Et=_e.get("itemHeight"),Lt=_e.isSelected(le),hn=pe.get("symbolRotate"),vn=pe.get("symbolKeepAspect"),_n=pe.get("icon");Ie=_n||Ie||"roundRect";var bn=getLegendStyle(Ie,pe,$e,xe,Ue,Lt,ze),Cn=new Group$1,Sn=pe.getModel("textStyle");if(isFunction(ie.getLegendIcon)&&(!_n||_n==="inherit"))Cn.add(ie.getLegendIcon({itemWidth:qe,itemHeight:Et,icon:Ie,iconRotate:hn,itemStyle:bn.itemStyle,lineStyle:bn.lineStyle,symbolKeepAspect:vn}));else{var En=_n==="inherit"&&ie.getData().getVisual("symbol")?hn==="inherit"?ie.getData().getVisual("symbolRotate"):hn:0;Cn.add(getDefaultLegendIcon({itemWidth:qe,itemHeight:Et,icon:Ie,iconRotate:En,itemStyle:bn.itemStyle,lineStyle:bn.lineStyle,symbolKeepAspect:vn}))}var wn=Ce==="left"?qe+5:-5,Tn=Ce,kn=_e.get("formatter"),xn=le;isString(kn)&&kn?xn=kn.replace("{name}",le??""):isFunction(kn)&&(xn=kn(le));var Pn=pe.get("inactiveColor");Cn.add(new ZRText$1({style:createTextStyle$1(Sn,{text:xn,x:wn,y:Et/2,fill:Lt?Sn.getTextColor():Pn,align:Tn,verticalAlign:"middle"})}));var An=new Rect$2({shape:Cn.getBoundingRect(),invisible:!0}),In=pe.getModel("tooltip");return In.get("show")&&setTooltipConfig({el:An,componentModel:_e,itemName:le,itemTooltipOption:In.option}),Cn.add(An),Cn.eachChild(function(Fn){Fn.silent=!0}),An.silent=!Ve,this.getContentGroup().add(Cn),enableHoverEmphasis(Cn),Cn.__legendDataIndex=ue,Cn},z.prototype.layoutInner=function(ie,le,ue,pe,_e,Ce){var $e=this.getContentGroup(),xe=this.getSelectorGroup();box(ie.get("orient"),$e,ie.get("itemGap"),ue.width,ue.height);var Ie=$e.getBoundingRect(),Ve=[-Ie.x,-Ie.y];if(xe.markRedraw(),$e.markRedraw(),_e){box("horizontal",xe,ie.get("selectorItemGap",!0));var ze=xe.getBoundingRect(),Ue=[-ze.x,-ze.y],qe=ie.get("selectorButtonGap",!0),Et=ie.getOrient().index,Lt=Et===0?"width":"height",hn=Et===0?"height":"width",vn=Et===0?"y":"x";Ce==="end"?Ue[Et]+=Ie[Lt]+qe:Ve[Et]+=ze[Lt]+qe,Ue[1-Et]+=Ie[hn]/2-ze[hn]/2,xe.x=Ue[0],xe.y=Ue[1],$e.x=Ve[0],$e.y=Ve[1];var _n={x:0,y:0};return _n[Lt]=Ie[Lt]+qe+ze[Lt],_n[hn]=Math.max(Ie[hn],ze[hn]),_n[vn]=Math.min(0,ze[vn]+Ue[1-Et]),_n}else return $e.x=Ve[0],$e.y=Ve[1],this.group.getBoundingRect()},z.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},z.type="legend.plain",z}(ComponentView$1);function getLegendStyle($,z,ie,le,ue,pe,_e){function Ce(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=z.getModel("itemStyle"),xe=$e.getItemStyle(),Ie=$.lastIndexOf("empty",0)===0?"fill":"stroke",Ve=$e.getShallow("decal");xe.decal=!Ve||Ve==="inherit"?le.decal:createOrUpdatePatternFromDecal(Ve,_e),xe.fill==="inherit"&&(xe.fill=le[ue]),xe.stroke==="inherit"&&(xe.stroke=le[Ie]),xe.opacity==="inherit"&&(xe.opacity=(ue==="fill"?le:ie).opacity),Ce(xe,le);var ze=z.getModel("lineStyle"),Ue=ze.getLineStyle();if(Ce(Ue,ie),xe.fill==="auto"&&(xe.fill=le.fill),xe.stroke==="auto"&&(xe.stroke=le.fill),Ue.stroke==="auto"&&(Ue.stroke=le.fill),!pe){var qe=z.get("inactiveBorderWidth"),Et=xe[Ie];xe.lineWidth=qe==="auto"?le.lineWidth>0&&Et?2:0:xe.lineWidth,xe.fill=z.get("inactiveColor"),xe.stroke=z.get("inactiveBorderColor"),Ue.stroke=ze.get("inactiveColor"),Ue.lineWidth=ze.get("inactiveWidth")}return{itemStyle:xe,lineStyle:Ue}}function getDefaultLegendIcon($){var z=$.icon||"roundRect",ie=createSymbol(z,0,0,$.itemWidth,$.itemHeight,$.itemStyle.fill,$.symbolKeepAspect);return ie.setStyle($.itemStyle),ie.rotation=($.iconRotate||0)*Math.PI/180,ie.setOrigin([$.itemWidth/2,$.itemHeight/2]),z.indexOf("empty")>-1&&(ie.style.stroke=ie.style.fill,ie.style.fill="#fff",ie.style.lineWidth=2),ie}function dispatchSelectAction($,z,ie,le){dispatchDownplayAction($,z,ie,le),ie.dispatchAction({type:"legendToggleSelect",name:$??z}),dispatchHighlightAction($,z,ie,le)}function isUseHoverLayer($){for(var z=$.getZr().storage.getDisplayList(),ie,le=0,ue=z.length;le<ue&&!(ie=z[le].states.emphasis);)le++;return ie&&ie.hoverLayer}function dispatchHighlightAction($,z,ie,le){isUseHoverLayer(ie)||ie.dispatchAction({type:"highlight",seriesName:$,name:z,excludeSeriesId:le})}function dispatchDownplayAction($,z,ie,le){isUseHoverLayer(ie)||ie.dispatchAction({type:"downplay",seriesName:$,name:z,excludeSeriesId:le})}const LegendView$1=LegendView;function legendFilter($){var z=$.findComponents({mainType:"legend"});z&&z.length&&$.filterSeries(function(ie){for(var le=0;le<z.length;le++)if(!z[le].isSelected(ie.name))return!1;return!0})}function legendSelectActionHandler($,z,ie){var le={},ue=$==="toggleSelected",pe;return ie.eachComponent("legend",function(_e){ue&&pe!=null?_e[pe?"select":"unSelect"](z.name):$==="allSelect"||$==="inverseSelect"?_e[$]():(_e[$](z.name),pe=_e.isSelected(z.name));var Ce=_e.getData();each$c(Ce,function($e){var xe=$e.get("name");if(!(xe===`
|
||
`||xe==="")){var Ie=_e.isSelected(xe);le.hasOwnProperty(xe)?le[xe]=le[xe]&&Ie:le[xe]=Ie}})}),$==="allSelect"||$==="inverseSelect"?{selected:le}:{name:z.name,selected:le}}function installLegendAction($){$.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),$.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),$.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),$.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),$.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$8($){$.registerComponentModel(LegendModel$1),$.registerComponentView(LegendView$1),$.registerProcessor($.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),$.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction($)}var ScrollableLegendModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.setScrollDataIndex=function(ie){this.option.scrollDataIndex=ie},z.prototype.init=function(ie,le,ue){var pe=getLayoutParams(ie);$.prototype.init.call(this,ie,le,ue),mergeAndNormalizeLayoutParams(this,ie,pe)},z.prototype.mergeOption=function(ie,le){$.prototype.mergeOption.call(this,ie,le),mergeAndNormalizeLayoutParams(this,this.option,ie)},z.type="legend.scroll",z.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}),z}(LegendModel$1);function mergeAndNormalizeLayoutParams($,z,ie){var le=$.getOrient(),ue=[1,1];ue[le.index]=0,mergeLayoutParam(z,ie,{type:"box",ignoreSize:!!ue})}const ScrollableLegendModel$1=ScrollableLegendModel;var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.newlineDisabled=!0,ie._currentIndex=0,ie}return z.prototype.init=function(){$.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},z.prototype.resetInner=function(){$.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},z.prototype.renderInner=function(ie,le,ue,pe,_e,Ce,$e){var xe=this;$.prototype.renderInner.call(this,ie,le,ue,pe,_e,Ce,$e);var Ie=this._controllerGroup,Ve=le.get("pageIconSize",!0),ze=isArray$1(Ve)?Ve:[Ve,Ve];qe("pagePrev",0);var Ue=le.getModel("pageTextStyle");Ie.add(new ZRText$1({name:"pageText",style:{text:"xx/xx",fill:Ue.getTextColor(),font:Ue.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),qe("pageNext",1);function qe(Et,Lt){var hn=Et+"DataIndex",vn=createIcon(le.get("pageIcons",!0)[le.getOrient().name][Lt],{onclick:bind$1(xe._pageGo,xe,hn,le,pe)},{x:-ze[0]/2,y:-ze[1]/2,width:ze[0],height:ze[1]});vn.name=Et,Ie.add(vn)}},z.prototype.layoutInner=function(ie,le,ue,pe,_e,Ce){var $e=this.getSelectorGroup(),xe=ie.getOrient().index,Ie=WH[xe],Ve=XY[xe],ze=WH[1-xe],Ue=XY[1-xe];_e&&box("horizontal",$e,ie.get("selectorItemGap",!0));var qe=ie.get("selectorButtonGap",!0),Et=$e.getBoundingRect(),Lt=[-Et.x,-Et.y],hn=clone$3(ue);_e&&(hn[Ie]=ue[Ie]-Et[Ie]-qe);var vn=this._layoutContentAndController(ie,pe,hn,xe,Ie,ze,Ue,Ve);if(_e){if(Ce==="end")Lt[xe]+=vn[Ie]+qe;else{var _n=Et[Ie]+qe;Lt[xe]-=_n,vn[Ve]-=_n}vn[Ie]+=Et[Ie]+qe,Lt[1-xe]+=vn[Ue]+vn[ze]/2-Et[ze]/2,vn[ze]=Math.max(vn[ze],Et[ze]),vn[Ue]=Math.min(vn[Ue],Et[Ue]+Lt[1-xe]),$e.x=Lt[0],$e.y=Lt[1],$e.markRedraw()}return vn},z.prototype._layoutContentAndController=function(ie,le,ue,pe,_e,Ce,$e,xe){var Ie=this.getContentGroup(),Ve=this._containerGroup,ze=this._controllerGroup;box(ie.get("orient"),Ie,ie.get("itemGap"),pe?ue.width:null,pe?null:ue.height),box("horizontal",ze,ie.get("pageButtonItemGap",!0));var Ue=Ie.getBoundingRect(),qe=ze.getBoundingRect(),Et=this._showController=Ue[_e]>ue[_e],Lt=[-Ue.x,-Ue.y];le||(Lt[pe]=Ie[xe]);var hn=[0,0],vn=[-qe.x,-qe.y],_n=retrieve2(ie.get("pageButtonGap",!0),ie.get("itemGap",!0));if(Et){var bn=ie.get("pageButtonPosition",!0);bn==="end"?vn[pe]+=ue[_e]-qe[_e]:hn[pe]+=qe[_e]+_n}vn[1-pe]+=Ue[Ce]/2-qe[Ce]/2,Ie.setPosition(Lt),Ve.setPosition(hn),ze.setPosition(vn);var Cn={x:0,y:0};if(Cn[_e]=Et?ue[_e]:Ue[_e],Cn[Ce]=Math.max(Ue[Ce],qe[Ce]),Cn[$e]=Math.min(0,qe[$e]+vn[1-pe]),Ve.__rectSize=ue[_e],Et){var Sn={x:0,y:0};Sn[_e]=Math.max(ue[_e]-qe[_e]-_n,0),Sn[Ce]=Cn[Ce],Ve.setClipPath(new Rect$2({shape:Sn})),Ve.__rectSize=Sn[_e]}else ze.eachChild(function(wn){wn.attr({invisible:!0,silent:!0})});var En=this._getPageInfo(ie);return En.pageIndex!=null&&updateProps$1(Ie,{x:En.contentPosition[0],y:En.contentPosition[1]},Et?ie:null),this._updatePageInfoView(ie,En),Cn},z.prototype._pageGo=function(ie,le,ue){var pe=this._getPageInfo(le)[ie];pe!=null&&ue.dispatchAction({type:"legendScroll",scrollDataIndex:pe,legendId:le.id})},z.prototype._updatePageInfoView=function(ie,le){var ue=this._controllerGroup;each$c(["pagePrev","pageNext"],function(Ie){var Ve=Ie+"DataIndex",ze=le[Ve]!=null,Ue=ue.childOfName(Ie);Ue&&(Ue.setStyle("fill",ze?ie.get("pageIconColor",!0):ie.get("pageIconInactiveColor",!0)),Ue.cursor=ze?"pointer":"default")});var pe=ue.childOfName("pageText"),_e=ie.get("pageFormatter"),Ce=le.pageIndex,$e=Ce!=null?Ce+1:0,xe=le.pageCount;pe&&_e&&pe.setStyle("text",isString(_e)?_e.replace("{current}",$e==null?"":$e+"").replace("{total}",xe==null?"":xe+""):_e({current:$e,total:xe}))},z.prototype._getPageInfo=function(ie){var le=ie.get("scrollDataIndex",!0),ue=this.getContentGroup(),pe=this._containerGroup.__rectSize,_e=ie.getOrient().index,Ce=WH[_e],$e=XY[_e],xe=this._findTargetItemIndex(le),Ie=ue.children(),Ve=Ie[xe],ze=Ie.length,Ue=ze?1:0,qe={contentPosition:[ue.x,ue.y],pageCount:Ue,pageIndex:Ue-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!Ve)return qe;var Et=bn(Ve);qe.contentPosition[_e]=-Et.s;for(var Lt=xe+1,hn=Et,vn=Et,_n=null;Lt<=ze;++Lt)_n=bn(Ie[Lt]),(!_n&&vn.e>hn.s+pe||_n&&!Cn(_n,hn.s))&&(vn.i>hn.i?hn=vn:hn=_n,hn&&(qe.pageNextDataIndex==null&&(qe.pageNextDataIndex=hn.i),++qe.pageCount)),vn=_n;for(var Lt=xe-1,hn=Et,vn=Et,_n=null;Lt>=-1;--Lt)_n=bn(Ie[Lt]),(!_n||!Cn(vn,_n.s))&&hn.i<vn.i&&(vn=hn,qe.pagePrevDataIndex==null&&(qe.pagePrevDataIndex=hn.i),++qe.pageCount,++qe.pageIndex),hn=_n;return qe;function bn(Sn){if(Sn){var En=Sn.getBoundingRect(),wn=En[$e]+Sn[$e];return{s:wn,e:wn+En[Ce],i:Sn.__legendDataIndex}}}function Cn(Sn,En){return Sn.e>=En&&Sn.s<=En+pe}},z.prototype._findTargetItemIndex=function(ie){if(!this._showController)return 0;var le,ue=this.getContentGroup(),pe;return ue.eachChild(function(_e,Ce){var $e=_e.__legendDataIndex;pe==null&&$e!=null&&(pe=Ce),$e===ie&&(le=Ce)}),le??pe},z.type="legend.scroll",z}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction($){$.registerAction("legendScroll","legendscroll",function(z,ie){var le=z.scrollDataIndex;le!=null&&ie.eachComponent({mainType:"legend",subType:"scroll",query:z},function(ue){ue.setScrollDataIndex(le)})})}function install$7($){use$1(install$8),$.registerComponentModel(ScrollableLegendModel$1),$.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction($)}function install$6($){use$1(install$8),use$1(install$7)}var InsideZoomModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="dataZoom.inside",z.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),z}(DataZoomModel$1);const InsideZoomModel$1=InsideZoomModel;var inner=makeInner();function setViewInfoToCoordSysRecord($,z,ie){inner($).coordSysRecordMap.each(function(le){var ue=le.dataZoomInfoMap.get(z.uid);ue&&(ue.getRange=ie)})}function disposeCoordSysRecordIfNeeded($,z){for(var ie=inner($).coordSysRecordMap,le=ie.keys(),ue=0;ue<le.length;ue++){var pe=le[ue],_e=ie.get(pe),Ce=_e.dataZoomInfoMap;if(Ce){var $e=z.uid,xe=Ce.get($e);xe&&(Ce.removeKey($e),Ce.keys().length||disposeCoordSysRecord(ie,_e))}}}function disposeCoordSysRecord($,z){if(z){$.removeKey(z.model.uid);var ie=z.controller;ie&&ie.dispose()}}function createCoordSysRecord($,z){var ie={model:z,containsPoint:curry$1(containsPoint,z),dispatchAction:curry$1(dispatchAction,$),dataZoomInfoMap:null,controller:null},le=ie.controller=new RoamController$1($.getZr());return each$c(["pan","zoom","scrollMove"],function(ue){le.on(ue,function(pe){var _e=[];ie.dataZoomInfoMap.each(function(Ce){if(pe.isAvailableBehavior(Ce.model.option)){var $e=(Ce.getRange||{})[ue],xe=$e&&$e(Ce.dzReferCoordSysInfo,ie.model.mainType,ie.controller,pe);!Ce.model.get("disabled",!0)&&xe&&_e.push({dataZoomId:Ce.model.id,start:xe[0],end:xe[1]})}}),_e.length&&ie.dispatchAction(_e)})}),ie}function dispatchAction($,z){$.isDisposed()||$.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:z})}function containsPoint($,z,ie,le){return $.coordinateSystem.containPoint([ie,le])}function mergeControllerParams($){var z,ie="type_",le={type_true:2,type_move:1,type_false:0,type_undefined:-1},ue=!0;return $.each(function(pe){var _e=pe.model,Ce=_e.get("disabled",!0)?!1:_e.get("zoomLock",!0)?"move":!0;le[ie+Ce]>le[ie+z]&&(z=Ce),ue=ue&&_e.get("preventDefaultMouseMove",!0)}),{controlType:z,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!ue}}}function installDataZoomRoamProcessor($){$.registerProcessor($.PRIORITY.PROCESSOR.FILTER,function(z,ie){var le=inner(ie),ue=le.coordSysRecordMap||(le.coordSysRecordMap=createHashMap());ue.each(function(pe){pe.dataZoomInfoMap=null}),z.eachComponent({mainType:"dataZoom",subType:"inside"},function(pe){var _e=collectReferCoordSysModelInfo(pe);each$c(_e.infoList,function(Ce){var $e=Ce.model.uid,xe=ue.get($e)||ue.set($e,createCoordSysRecord(ie,Ce.model)),Ie=xe.dataZoomInfoMap||(xe.dataZoomInfoMap=createHashMap());Ie.set(pe.uid,{dzReferCoordSysInfo:Ce,model:pe,getRange:null})})}),ue.each(function(pe){var _e=pe.controller,Ce,$e=pe.dataZoomInfoMap;if($e){var xe=$e.keys()[0];xe!=null&&(Ce=$e.get(xe))}if(!Ce){disposeCoordSysRecord(ue,pe);return}var Ie=mergeControllerParams($e);_e.enable(Ie.controlType,Ie.opt),_e.setPointerChecker(pe.containsPoint),createOrUpdate(pe,"dispatchAction",Ce.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type="dataZoom.inside",ie}return z.prototype.render=function(ie,le,ue){if($.prototype.render.apply(this,arguments),ie.noTarget()){this._clear();return}this.range=ie.getPercentRange(),setViewInfoToCoordSysRecord(ue,ie,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},z.prototype.dispose=function(){this._clear(),$.prototype.dispose.apply(this,arguments)},z.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},z.type="dataZoom.inside",z}(DataZoomView$1),getRangeHandlers={zoom:function($,z,ie,le){var ue=this.range,pe=ue.slice(),_e=$.axisModels[0];if(_e){var Ce=getDirectionInfo[z](null,[le.originX,le.originY],_e,ie,$),$e=(Ce.signal>0?Ce.pixelStart+Ce.pixelLength-Ce.pixel:Ce.pixel-Ce.pixelStart)/Ce.pixelLength*(pe[1]-pe[0])+pe[0],xe=Math.max(1/le.scale,0);pe[0]=(pe[0]-$e)*xe+$e,pe[1]=(pe[1]-$e)*xe+$e;var Ie=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,pe,[0,100],0,Ie.minSpan,Ie.maxSpan),this.range=pe,ue[0]!==pe[0]||ue[1]!==pe[1])return pe}},pan:makeMover(function($,z,ie,le,ue,pe){var _e=getDirectionInfo[le]([pe.oldX,pe.oldY],[pe.newX,pe.newY],z,ue,ie);return _e.signal*($[1]-$[0])*_e.pixel/_e.pixelLength}),scrollMove:makeMover(function($,z,ie,le,ue,pe){var _e=getDirectionInfo[le]([0,0],[pe.scrollDelta,pe.scrollDelta],z,ue,ie);return _e.signal*($[1]-$[0])*pe.scrollDelta})};function makeMover($){return function(z,ie,le,ue){var pe=this.range,_e=pe.slice(),Ce=z.axisModels[0];if(Ce){var $e=$(_e,Ce,z,ie,le,ue);if(sliderMove($e,_e,[0,100],"all"),this.range=_e,pe[0]!==_e[0]||pe[1]!==_e[1])return _e}}}var getDirectionInfo={grid:function($,z,ie,le,ue){var pe=ie.axis,_e={},Ce=ue.model.coordinateSystem.getRect();return $=$||[0,0],pe.dim==="x"?(_e.pixel=z[0]-$[0],_e.pixelLength=Ce.width,_e.pixelStart=Ce.x,_e.signal=pe.inverse?1:-1):(_e.pixel=z[1]-$[1],_e.pixelLength=Ce.height,_e.pixelStart=Ce.y,_e.signal=pe.inverse?-1:1),_e},polar:function($,z,ie,le,ue){var pe=ie.axis,_e={},Ce=ue.model.coordinateSystem,$e=Ce.getRadiusAxis().getExtent(),xe=Ce.getAngleAxis().getExtent();return $=$?Ce.pointToCoord($):[0,0],z=Ce.pointToCoord(z),ie.mainType==="radiusAxis"?(_e.pixel=z[0]-$[0],_e.pixelLength=$e[1]-$e[0],_e.pixelStart=$e[0],_e.signal=pe.inverse?1:-1):(_e.pixel=z[1]-$[1],_e.pixelLength=xe[1]-xe[0],_e.pixelStart=xe[0],_e.signal=pe.inverse?-1:1),_e},singleAxis:function($,z,ie,le,ue){var pe=ie.axis,_e=ue.model.coordinateSystem.getRect(),Ce={};return $=$||[0,0],pe.orient==="horizontal"?(Ce.pixel=z[0]-$[0],Ce.pixelLength=_e.width,Ce.pixelStart=_e.x,Ce.signal=pe.inverse?1:-1):(Ce.pixel=z[1]-$[1],Ce.pixelLength=_e.height,Ce.pixelStart=_e.y,Ce.signal=pe.inverse?-1:1),Ce}};const InsideZoomView$1=InsideZoomView;function install$5($){installCommon$1($),$.registerComponentModel(InsideZoomModel$1),$.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor($)}var SliderZoomModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.type="dataZoom.slider",z.layoutMode="box",z.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"}}}),z}(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($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie._displayables={},ie}return z.prototype.init=function(ie,le){this.api=le,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},z.prototype.render=function(ie,le,ue,pe){if($.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",ie.get("throttle"),"fixRate"),this._orient=ie.getOrient(),ie.get("show")===!1){this.group.removeAll();return}if(ie.noTarget()){this._clear(),this.group.removeAll();return}(!pe||pe.type!=="dataZoom"||pe.from!==this.uid)&&this._buildView(),this._updateView()},z.prototype.dispose=function(){this._clear(),$.prototype.dispose.apply(this,arguments)},z.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var ie=this.api.getZr();ie.off("mousemove",this._onBrush),ie.off("mouseup",this._onBrushEnd)},z.prototype._buildView=function(){var ie=this.group;ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var le=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),ie.add(le),this._positionGroup()},z.prototype._resetLocation=function(){var ie=this.dataZoomModel,le=this.api,ue=ie.get("brushSelect"),pe=ue?DEFAULT_MOVE_HANDLE_SIZE:0,_e=this._findCoordRect(),Ce={width:le.getWidth(),height:le.getHeight()},$e=this._orient===HORIZONTAL?{right:Ce.width-_e.x-_e.width,top:Ce.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-pe,width:_e.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:_e.y,width:DEFAULT_FILLER_SIZE,height:_e.height},xe=getLayoutParams(ie.option);each$c(["right","top","width","height"],function(Ve){xe[Ve]==="ph"&&(xe[Ve]=$e[Ve])});var Ie=getLayoutRect(xe,Ce);this._location={x:Ie.x,y:Ie.y},this._size=[Ie.width,Ie.height],this._orient===VERTICAL&&this._size.reverse()},z.prototype._positionGroup=function(){var ie=this.group,le=this._location,ue=this._orient,pe=this.dataZoomModel.getFirstTargetAxisModel(),_e=pe&&pe.get("inverse"),Ce=this._displayables.sliderGroup,$e=(this._dataShadowInfo||{}).otherAxisInverse;Ce.attr(ue===HORIZONTAL&&!_e?{scaleY:$e?1:-1,scaleX:1}:ue===HORIZONTAL&&_e?{scaleY:$e?1:-1,scaleX:-1}:ue===VERTICAL&&!_e?{scaleY:$e?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:$e?-1:1,scaleX:-1,rotation:Math.PI/2});var xe=ie.getBoundingRect([Ce]);ie.x=le.x-xe.x,ie.y=le.y-xe.y,ie.markRedraw()},z.prototype._getViewExtent=function(){return[0,this._size[0]]},z.prototype._renderBackground=function(){var ie=this.dataZoomModel,le=this._size,ue=this._displayables.sliderGroup,pe=ie.get("brushSelect");ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:le[0],height:le[1]},style:{fill:ie.get("backgroundColor")},z2:-40}));var _e=new Rect({shape:{x:0,y:0,width:le[0],height:le[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),Ce=this.api.getZr();pe?(_e.on("mousedown",this._onBrushStart,this),_e.cursor="crosshair",Ce.on("mousemove",this._onBrush),Ce.on("mouseup",this._onBrushEnd)):(Ce.off("mousemove",this._onBrush),Ce.off("mouseup",this._onBrushEnd)),ue.add(_e)},z.prototype._renderDataShadow=function(){var ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!ie)return;var le=this._size,ue=this._shadowSize||[],pe=ie.series,_e=pe.getRawData(),Ce=pe.getShadowDim&&pe.getShadowDim(),$e=Ce&&_e.getDimensionInfo(Ce)?pe.getShadowDim():ie.otherDim;if($e==null)return;var xe=this._shadowPolygonPts,Ie=this._shadowPolylinePts;if(_e!==this._shadowData||$e!==this._shadowDim||le[0]!==ue[0]||le[1]!==ue[1]){var Ve=_e.getDataExtent($e),ze=(Ve[1]-Ve[0])*.3;Ve=[Ve[0]-ze,Ve[1]+ze];var Ue=[0,le[1]],qe=[0,le[0]],Et=[[le[0],0],[0,0]],Lt=[],hn=qe[1]/(_e.count()-1),vn=0,_n=Math.round(_e.count()/le[0]),bn;_e.each([$e],function(Tn,kn){if(_n>0&&kn%_n){vn+=hn;return}var xn=Tn==null||isNaN(Tn)||Tn==="",Pn=xn?0:linearMap$2(Tn,Ve,Ue,!0);xn&&!bn&&kn?(Et.push([Et[Et.length-1][0],0]),Lt.push([Lt[Lt.length-1][0],0])):!xn&&bn&&(Et.push([vn,0]),Lt.push([vn,0])),Et.push([vn,Pn]),Lt.push([vn,Pn]),vn+=hn,bn=xn}),xe=this._shadowPolygonPts=Et,Ie=this._shadowPolylinePts=Lt}this._shadowData=_e,this._shadowDim=$e,this._shadowSize=[le[0],le[1]];var Cn=this.dataZoomModel;function Sn(Tn){var kn=Cn.getModel(Tn?"selectedDataBackground":"dataBackground"),xn=new Group$3,Pn=new Polygon$1({shape:{points:xe},segmentIgnoreThreshold:1,style:kn.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),An=new Polyline$1({shape:{points:Ie},segmentIgnoreThreshold:1,style:kn.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return xn.add(Pn),xn.add(An),xn}for(var En=0;En<3;En++){var wn=Sn(En===1);this._displayables.sliderGroup.add(wn),this._displayables.dataShadowSegs.push(wn)}},z.prototype._prepareDataShadowInfo=function(){var ie=this.dataZoomModel,le=ie.get("showDataShadow");if(le!==!1){var ue,pe=this.ecModel;return ie.eachTargetAxis(function(_e,Ce){var $e=ie.getAxisProxy(_e,Ce).getTargetSeriesModels();each$c($e,function(xe){if(!ue&&!(le!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,xe.get("type"))<0)){var Ie=pe.getComponent(getAxisMainType(_e),Ce).axis,Ve=getOtherDim(_e),ze,Ue=xe.coordinateSystem;Ve!=null&&Ue.getOtherAxis&&(ze=Ue.getOtherAxis(Ie).inverse),Ve=xe.getData().mapDimension(Ve),ue={thisAxis:Ie,series:xe,thisDim:_e,otherDim:Ve,otherAxisInverse:ze}}},this)},this),ue}},z.prototype._renderHandle=function(){var ie=this.group,le=this._displayables,ue=le.handles=[null,null],pe=le.handleLabels=[null,null],_e=this._displayables.sliderGroup,Ce=this._size,$e=this.dataZoomModel,xe=this.api,Ie=$e.get("borderRadius")||0,Ve=$e.get("brushSelect"),ze=le.filler=new Rect({silent:Ve,style:{fill:$e.get("fillerColor")},textConfig:{position:"inside"}});_e.add(ze),_e.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Ce[0],height:Ce[1],r:Ie},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 Cn=createSymbol(bn,-1,0,2,2,null,!0);Cn.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 Sn=Cn.getBoundingRect(),En=$e.get("handleSize");this._handleHeight=parsePercent(En,this._size[1]),this._handleWidth=Sn.width/Sn.height*this._handleHeight,Cn.setStyle($e.getModel("handleStyle").getItemStyle()),Cn.style.strokeNoScale=!0,Cn.rectHover=!0,Cn.ensureState("emphasis").style=$e.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(Cn);var wn=$e.get("handleColor");wn!=null&&(Cn.style.fill=wn),_e.add(ue[_n]=Cn);var Tn=$e.getModel("textStyle");ie.add(pe[_n]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(Tn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Tn.getTextColor(),font:Tn.getFont()}),z2:10}))},this);var Ue=ze;if(Ve){var qe=parsePercent($e.get("moveHandleSize"),Ce[1]),Et=le.moveHandle=new Rect$2({style:$e.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Ce[1]-.5,height:qe}}),Lt=qe*.8,hn=le.moveHandleIcon=createSymbol($e.get("moveHandleIcon"),-Lt/2,-Lt/2,Lt,Lt,"#fff",!0);hn.silent=!0,hn.y=Ce[1]+qe/2-.5,Et.ensureState("emphasis").style=$e.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var vn=Math.min(Ce[1]/2,Math.max(qe,10));Ue=le.moveZone=new Rect$2({invisible:!0,shape:{y:Ce[1]-vn,height:qe+vn}}),Ue.on("mouseover",function(){xe.enterEmphasis(Et)}).on("mouseout",function(){xe.leaveEmphasis(Et)}),_e.add(Et),_e.add(hn),_e.add(Ue)}Ue.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)})},z.prototype._resetInterval=function(){var ie=this._range=this.dataZoomModel.getPercentRange(),le=this._getViewExtent();this._handleEnds=[linearMap$2(ie[0],[0,100],le,!0),linearMap$2(ie[1],[0,100],le,!0)]},z.prototype._updateInterval=function(ie,le){var ue=this.dataZoomModel,pe=this._handleEnds,_e=this._getViewExtent(),Ce=ue.findRepresentativeAxisProxy().getMinMaxSpan(),$e=[0,100];sliderMove(le,pe,_e,ue.get("zoomLock")?"all":ie,Ce.minSpan!=null?linearMap$2(Ce.minSpan,$e,_e,!0):null,Ce.maxSpan!=null?linearMap$2(Ce.maxSpan,$e,_e,!0):null);var xe=this._range,Ie=this._range=asc$2([linearMap$2(pe[0],_e,$e,!0),linearMap$2(pe[1],_e,$e,!0)]);return!xe||xe[0]!==Ie[0]||xe[1]!==Ie[1]},z.prototype._updateView=function(ie){var le=this._displayables,ue=this._handleEnds,pe=asc$2(ue.slice()),_e=this._size;each$c([0,1],function(Ue){var qe=le.handles[Ue],Et=this._handleHeight;qe.attr({scaleX:Et/2,scaleY:Et/2,x:ue[Ue]+(Ue?-1:1),y:_e[1]/2-Et/2})},this),le.filler.setShape({x:pe[0],y:0,width:pe[1]-pe[0],height:_e[1]});var Ce={x:pe[0],width:pe[1]-pe[0]};le.moveHandle&&(le.moveHandle.setShape(Ce),le.moveZone.setShape(Ce),le.moveZone.getBoundingRect(),le.moveHandleIcon&&le.moveHandleIcon.attr("x",Ce.x+Ce.width/2));for(var $e=le.dataShadowSegs,xe=[0,pe[0],pe[1],_e[0]],Ie=0;Ie<$e.length;Ie++){var Ve=$e[Ie],ze=Ve.getClipPath();ze||(ze=new Rect$2,Ve.setClipPath(ze)),ze.setShape({x:xe[Ie],y:0,width:xe[Ie+1]-xe[Ie],height:_e[1]})}this._updateDataInfo(ie)},z.prototype._updateDataInfo=function(ie){var le=this.dataZoomModel,ue=this._displayables,pe=ue.handleLabels,_e=this._orient,Ce=["",""];if(le.get("showDetail")){var $e=le.findRepresentativeAxisProxy();if($e){var xe=$e.getAxisModel().axis,Ie=this._range,Ve=ie?$e.calculateDataWindow({start:Ie[0],end:Ie[1]}).valueWindow:$e.getDataValueWindow();Ce=[this._formatLabel(Ve[0],xe),this._formatLabel(Ve[1],xe)]}}var ze=asc$2(this._handleEnds.slice());Ue.call(this,0),Ue.call(this,1);function Ue(qe){var Et=getTransform$1(ue.handles[qe].parent,this.group),Lt=transformDirection(qe===0?"right":"left",Et),hn=this._handleWidth/2+LABEL_GAP,vn=applyTransform([ze[qe]+(qe===0?-hn:hn),this._size[1]/2],Et);pe[qe].setStyle({x:vn[0],y:vn[1],verticalAlign:_e===HORIZONTAL?"middle":Lt,align:_e===HORIZONTAL?Lt:"center",text:Ce[qe]})}},z.prototype._formatLabel=function(ie,le){var ue=this.dataZoomModel,pe=ue.get("labelFormatter"),_e=ue.get("labelPrecision");(_e==null||_e==="auto")&&(_e=le.getPixelPrecision());var Ce=ie==null||isNaN(ie)?"":le.type==="category"||le.type==="time"?le.scale.getLabel({value:Math.round(ie)}):ie.toFixed(Math.min(_e,20));return isFunction(pe)?pe(ie,Ce):isString(pe)?pe.replace("{value}",Ce):Ce},z.prototype._showDataInfo=function(ie){ie=this._dragging||ie;var le=this._displayables,ue=le.handleLabels;ue[0].attr("invisible",!ie),ue[1].attr("invisible",!ie),le.moveHandle&&this.api[ie?"enterEmphasis":"leaveEmphasis"](le.moveHandle,1)},z.prototype._onDragMove=function(ie,le,ue,pe){this._dragging=!0,stop(pe.event);var _e=this._displayables.sliderGroup.getLocalTransform(),Ce=applyTransform([le,ue],_e,!0),$e=this._updateInterval(ie,Ce[0]),xe=this.dataZoomModel.get("realtime");this._updateView(!xe),$e&&xe&&this._dispatchZoomAction(!0)},z.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var ie=this.dataZoomModel.get("realtime");!ie&&this._dispatchZoomAction(!1)},z.prototype._onClickPanel=function(ie){var le=this._size,ue=this._displayables.sliderGroup.transformCoordToLocal(ie.offsetX,ie.offsetY);if(!(ue[0]<0||ue[0]>le[0]||ue[1]<0||ue[1]>le[1])){var pe=this._handleEnds,_e=(pe[0]+pe[1])/2,Ce=this._updateInterval("all",ue[0]-_e);this._updateView(),Ce&&this._dispatchZoomAction(!1)}},z.prototype._onBrushStart=function(ie){var le=ie.offsetX,ue=ie.offsetY;this._brushStart=new Point$1(le,ue),this._brushing=!0,this._brushStartTime=+new Date},z.prototype._onBrushEnd=function(ie){if(this._brushing){var le=this._displayables.brushRect;if(this._brushing=!1,!!le){le.attr("ignore",!0);var ue=le.shape,pe=+new Date;if(!(pe-this._brushStartTime<200&&Math.abs(ue.width)<5)){var _e=this._getViewExtent(),Ce=[0,100];this._range=asc$2([linearMap$2(ue.x,_e,Ce,!0),linearMap$2(ue.x+ue.width,_e,Ce,!0)]),this._handleEnds=[ue.x,ue.x+ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},z.prototype._onBrush=function(ie){this._brushing&&(stop(ie.event),this._updateBrushRect(ie.offsetX,ie.offsetY))},z.prototype._updateBrushRect=function(ie,le){var ue=this._displayables,pe=this.dataZoomModel,_e=ue.brushRect;_e||(_e=ue.brushRect=new Rect({silent:!0,style:pe.getModel("brushStyle").getItemStyle()}),ue.sliderGroup.add(_e)),_e.attr("ignore",!1);var Ce=this._brushStart,$e=this._displayables.sliderGroup,xe=$e.transformCoordToLocal(ie,le),Ie=$e.transformCoordToLocal(Ce.x,Ce.y),Ve=this._size;xe[0]=Math.max(Math.min(Ve[0],xe[0]),0),_e.setShape({x:Ie[0],y:0,width:xe[0]-Ie[0],height:Ve[1]})},z.prototype._dispatchZoomAction=function(ie){var le=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:ie?REALTIME_ANIMATION_CONFIG:null,start:le[0],end:le[1]})},z.prototype._findCoordRect=function(){var ie,le=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!ie&&le.length){var ue=le[0].model.coordinateSystem;ie=ue.getRect&&ue.getRect()}if(!ie){var pe=this.api.getWidth(),_e=this.api.getHeight();ie={x:pe*.2,y:_e*.2,width:pe*.6,height:_e*.6}}return ie},z.type="dataZoom.slider",z}(DataZoomView$1);function getOtherDim($){var z={x:"y",y:"x",radius:"angle",angle:"radius"};return z[$]}function getCursor$1($){return $==="vertical"?"ns-resize":"ew-resize"}const SliderZoomView$1=SliderZoomView;function install$4($){$.registerComponentModel(SliderZoomModel$1),$.registerComponentView(SliderZoomView$1),installCommon$1($)}function install$3($){use$1(install$5),use$1(install$4)}var visualDefault={get:function($,z,ie){var le=clone$3((defaultOption[$]||{})[z]);return ie&&isArray$1(le)?le[le.length-1]:le}},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($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.stateList=["inRange","outOfRange"],ie.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],ie.layoutMode={type:"box",ignoreSize:!0},ie.dataBound=[-1/0,1/0],ie.targetVisuals={},ie.controllerVisuals={},ie}return z.prototype.init=function(ie,le,ue){this.mergeDefaultAndTheme(ie,ue)},z.prototype.optionUpdated=function(ie,le){var ue=this.option;!le&&replaceVisualOption(ue,ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},z.prototype.resetVisual=function(ie){var le=this.stateList;ie=bind$1(ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,le,ie),this.targetVisuals=createVisualMappings(this.option.target,le,ie)},z.prototype.getItemSymbol=function(){return null},z.prototype.getTargetSeriesIndices=function(){var ie=this.option.seriesIndex,le=[];return ie==null||ie==="all"?this.ecModel.eachSeries(function(ue,pe){le.push(pe)}):le=normalizeToArray(ie),le},z.prototype.eachTargetSeries=function(ie,le){each$c(this.getTargetSeriesIndices(),function(ue){var pe=this.ecModel.getSeriesByIndex(ue);pe&&ie.call(le,pe)},this)},z.prototype.isTargetSeries=function(ie){var le=!1;return this.eachTargetSeries(function(ue){ue===ie&&(le=!0)}),le},z.prototype.formatValueText=function(ie,le,ue){var pe=this.option,_e=pe.precision,Ce=this.dataBound,$e=pe.formatter,xe;ue=ue||["<",">"],isArray$1(ie)&&(ie=ie.slice(),xe=!0);var Ie=le?ie:xe?[Ve(ie[0]),Ve(ie[1])]:Ve(ie);if(isString($e))return $e.replace("{value}",xe?Ie[0]:Ie).replace("{value2}",xe?Ie[1]:Ie);if(isFunction($e))return xe?$e(ie[0],ie[1]):$e(ie);if(xe)return ie[0]===Ce[0]?ue[0]+" "+Ie[1]:ie[1]===Ce[1]?ue[1]+" "+Ie[0]:Ie[0]+" - "+Ie[1];return Ie;function Ve(ze){return ze===Ce[0]?"min":ze===Ce[1]?"max":(+ze).toFixed(Math.min(_e,20))}},z.prototype.resetExtent=function(){var ie=this.option,le=asc([ie.min,ie.max]);this._dataExtent=le},z.prototype.getDataDimensionIndex=function(ie){var le=this.option.dimension;if(le!=null)return ie.getDimensionIndex(le);for(var ue=ie.dimensions,pe=ue.length-1;pe>=0;pe--){var _e=ue[pe],Ce=ie.getDimensionInfo(_e);if(!Ce.isCalculationCoord)return Ce.storeDimIndex}},z.prototype.getExtent=function(){return this._dataExtent.slice()},z.prototype.completeVisualOption=function(){var ie=this.ecModel,le=this.option,ue={inRange:le.inRange,outOfRange:le.outOfRange},pe=le.target||(le.target={}),_e=le.controller||(le.controller={});merge(pe,ue),merge(_e,ue);var Ce=this.isCategory();$e.call(this,pe),$e.call(this,_e),xe.call(this,pe,"inRange","outOfRange"),Ie.call(this,_e);function $e(Ve){isArray(le.color)&&!Ve.inRange&&(Ve.inRange={color:le.color.slice().reverse()}),Ve.inRange=Ve.inRange||{color:ie.get("gradientColor")}}function xe(Ve,ze,Ue){var qe=Ve[ze],Et=Ve[Ue];qe&&!Et&&(Et=Ve[Ue]={},each$2(qe,function(Lt,hn){if(VisualMapping$1.isValidType(hn)){var vn=visualDefault$1.get(hn,"inactive",Ce);vn!=null&&(Et[hn]=vn,hn==="color"&&!Et.hasOwnProperty("opacity")&&!Et.hasOwnProperty("colorAlpha")&&(Et.opacity=[0,0]))}}))}function Ie(Ve){var ze=(Ve.inRange||{}).symbol||(Ve.outOfRange||{}).symbol,Ue=(Ve.inRange||{}).symbolSize||(Ve.outOfRange||{}).symbolSize,qe=this.get("inactiveColor"),Et=this.getItemSymbol(),Lt=Et||"roundRect";each$2(this.stateList,function(hn){var vn=this.itemSize,_n=Ve[hn];_n||(_n=Ve[hn]={color:Ce?qe:[qe]}),_n.symbol==null&&(_n.symbol=ze&&clone$3(ze)||(Ce?Lt:[Lt])),_n.symbolSize==null&&(_n.symbolSize=Ue&&clone$3(Ue)||(Ce?vn[0]:[vn[0],vn[0]])),_n.symbol=mapVisual(_n.symbol,function(Sn){return Sn==="none"?Lt:Sn});var bn=_n.symbolSize;if(bn!=null){var Cn=-1/0;eachVisual(bn,function(Sn){Sn>Cn&&(Cn=Sn)}),_n.symbolSize=mapVisual(bn,function(Sn){return linearMap$1(Sn,[0,Cn],[0,vn[0]],!0)})}},this)}},z.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},z.prototype.isCategory=function(){return!!this.option.categories},z.prototype.setSelected=function(ie){},z.prototype.getSelected=function(){return null},z.prototype.getValueState=function(ie){return null},z.prototype.getVisualMeta=function(ie){return null},z.type="visualMap",z.dependencies=["series"],z.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"}},z}(ComponentModel$1);const VisualMapModel$1=VisualMapModel;var DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.optionUpdated=function(ie,le){$.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(ue){ue.mappingMethod="linear",ue.dataExtent=this.getExtent()}),this._resetRange()},z.prototype.resetItemSize=function(){$.prototype.resetItemSize.apply(this,arguments);var ie=this.itemSize;(ie[0]==null||isNaN(ie[0]))&&(ie[0]=DEFAULT_BAR_BOUND[0]),(ie[1]==null||isNaN(ie[1]))&&(ie[1]=DEFAULT_BAR_BOUND[1])},z.prototype._resetRange=function(){var ie=this.getExtent(),le=this.option.range;!le||le.auto?(ie.auto=1,this.option.range=ie):isArray$1(le)&&(le[0]>le[1]&&le.reverse(),le[0]=Math.max(le[0],ie[0]),le[1]=Math.min(le[1],ie[1]))},z.prototype.completeVisualOption=function(){$.prototype.completeVisualOption.apply(this,arguments),each$c(this.stateList,function(ie){var le=this.option.controller[ie].symbolSize;le&&le[0]!==le[1]&&(le[0]=le[1]/3)},this)},z.prototype.setSelected=function(ie){this.option.range=ie.slice(),this._resetRange()},z.prototype.getSelected=function(){var ie=this.getExtent(),le=asc$2((this.get("range")||[]).slice());return le[0]>ie[1]&&(le[0]=ie[1]),le[1]>ie[1]&&(le[1]=ie[1]),le[0]<ie[0]&&(le[0]=ie[0]),le[1]<ie[0]&&(le[1]=ie[0]),le},z.prototype.getValueState=function(ie){var le=this.option.range,ue=this.getExtent();return(le[0]<=ue[0]||le[0]<=ie)&&(le[1]>=ue[1]||ie<=le[1])?"inRange":"outOfRange"},z.prototype.findTargetDataIndices=function(ie){var le=[];return this.eachTargetSeries(function(ue){var pe=[],_e=ue.getData();_e.each(this.getDataDimensionIndex(_e),function(Ce,$e){ie[0]<=Ce&&Ce<=ie[1]&&pe.push($e)},this),le.push({seriesId:ue.id,dataIndex:pe})},this),le},z.prototype.getVisualMeta=function(ie){var le=getColorStopValues(this,"outOfRange",this.getExtent()),ue=getColorStopValues(this,"inRange",this.option.range.slice()),pe=[];function _e(Ue,qe){pe.push({value:Ue,color:ie(Ue,qe)})}for(var Ce=0,$e=0,xe=ue.length,Ie=le.length;$e<Ie&&(!ue.length||le[$e]<=ue[0]);$e++)le[$e]<ue[Ce]&&_e(le[$e],"outOfRange");for(var Ve=1;Ce<xe;Ce++,Ve=0)Ve&&pe.length&&_e(ue[Ce],"outOfRange"),_e(ue[Ce],"inRange");for(var Ve=1;$e<Ie;$e++)(!ue.length||ue[ue.length-1]<le[$e])&&(Ve&&(pe.length&&_e(pe[pe.length-1].value,"outOfRange"),Ve=0),_e(le[$e],"outOfRange"));var ze=pe.length;return{stops:pe,outerColors:[ze?pe[0].color:"transparent",ze?pe[ze-1].color:"transparent"]}},z.type="visualMap.continuous",z.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)"}}),z}(VisualMapModel$1);function getColorStopValues($,z,ie){if(ie[0]===ie[1])return ie.slice();for(var le=200,ue=(ie[1]-ie[0])/le,pe=ie[0],_e=[],Ce=0;Ce<=le&&pe<ie[1];Ce++)_e.push(pe),pe+=ue;return _e.push(ie[1]),_e}const ContinuousModel$1=ContinuousModel;var VisualMapView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie.autoPositionValues={left:1,right:1,top:1,bottom:1},ie}return z.prototype.init=function(ie,le){this.ecModel=ie,this.api=le},z.prototype.render=function(ie,le,ue,pe){if(this.visualMapModel=ie,ie.get("show")===!1){this.group.removeAll();return}this.doRender(ie,le,ue,pe)},z.prototype.renderBackground=function(ie){var le=this.visualMapModel,ue=normalizeCssArray(le.get("padding")||0),pe=ie.getBoundingRect();ie.add(new Rect$2({z2:-1,silent:!0,shape:{x:pe.x-ue[3],y:pe.y-ue[0],width:pe.width+ue[3]+ue[1],height:pe.height+ue[0]+ue[2]},style:{fill:le.get("backgroundColor"),stroke:le.get("borderColor"),lineWidth:le.get("borderWidth")}}))},z.prototype.getControllerVisual=function(ie,le,ue){ue=ue||{};var pe=ue.forceState,_e=this.visualMapModel,Ce={};if(le==="color"){var $e=_e.get("contentColor");Ce.color=$e}function xe(Ue){return Ce[Ue]}function Ie(Ue,qe){Ce[Ue]=qe}var Ve=_e.controllerVisuals[pe||_e.getValueState(ie)],ze=VisualMapping$1.prepareVisualTypes(Ve);return each$c(ze,function(Ue){var qe=Ve[Ue];ue.convertOpacityToAlpha&&Ue==="opacity"&&(Ue="colorAlpha",qe=Ve.__alphaForOpacity),VisualMapping$1.dependsOn(Ue,le)&&qe&&qe.applyVisual(ie,xe,Ie)}),Ce[le]},z.prototype.positionGroup=function(ie){var le=this.visualMapModel,ue=this.api;positionElement(ie,le.getBoxLayoutParams(),{width:ue.getWidth(),height:ue.getHeight()})},z.prototype.doRender=function(ie,le,ue,pe){},z.type="visualMap",z}(ComponentView$1);const VisualMapView$1=VisualMapView;var paramsSet=[["left","right","width"],["top","bottom","height"]];function getItemAlign($,z,ie){var le=$.option,ue=le.align;if(ue!=null&&ue!=="auto")return ue;for(var pe={width:z.getWidth(),height:z.getHeight()},_e=le.orient==="horizontal"?1:0,Ce=paramsSet[_e],$e=[0,null,10],xe={},Ie=0;Ie<3;Ie++)xe[paramsSet[1-_e][Ie]]=$e[Ie],xe[Ce[Ie]]=Ie===2?ie[0]:le[Ce[Ie]];var Ve=[["x","width",3],["y","height",0]][_e],ze=getLayoutRect(xe,pe,le.padding);return Ce[(ze.margin[Ve[2]]||0)+ze[Ve[0]]+ze[Ve[1]]*.5<pe[Ve[1]]*.5?0:1]}function makeHighDownBatch($,z){return each$c($||[],function(ie){ie.dataIndex!=null&&(ie.dataIndexInside=ie.dataIndex,ie.dataIndex=null),ie.highlightKey="visualMap"+(z?z.componentIndex:"")}),$}var linearMap=linearMap$2,each$1=each$c,mathMin=Math.min,mathMax=Math.max,HOVER_LINK_SIZE=12,HOVER_LINK_OUT=6,ContinuousView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie._shapes={},ie._dataInterval=[],ie._handleEnds=[],ie._hoverLinkDataIndices=[],ie}return z.prototype.doRender=function(ie,le,ue,pe){this._api=ue,(!pe||pe.type!=="selectDataRange"||pe.from!==this.uid)&&this._buildView()},z.prototype._buildView=function(){this.group.removeAll();var ie=this.visualMapModel,le=this.group;this._orient=ie.get("orient"),this._useHandle=ie.get("calculable"),this._resetInterval(),this._renderBar(le);var ue=ie.get("text");this._renderEndsText(le,ue,0),this._renderEndsText(le,ue,1),this._updateView(!0),this.renderBackground(le),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(le)},z.prototype._renderEndsText=function(ie,le,ue){if(le){var pe=le[1-ue];pe=pe!=null?pe+"":"";var _e=this.visualMapModel,Ce=_e.get("textGap"),$e=_e.itemSize,xe=this._shapes.mainGroup,Ie=this._applyTransform([$e[0]/2,ue===0?-Ce:$e[1]+Ce],xe),Ve=this._applyTransform(ue===0?"bottom":"top",xe),ze=this._orient,Ue=this.visualMapModel.textStyleModel;this.group.add(new ZRText$1({style:createTextStyle$1(Ue,{x:Ie[0],y:Ie[1],verticalAlign:ze==="horizontal"?"middle":Ve,align:ze==="horizontal"?Ve:"center",text:pe})}))}},z.prototype._renderBar=function(ie){var le=this.visualMapModel,ue=this._shapes,pe=le.itemSize,_e=this._orient,Ce=this._useHandle,$e=getItemAlign(le,this.api,pe),xe=ue.mainGroup=this._createBarGroup($e),Ie=new Group$3;xe.add(Ie),Ie.add(ue.outOfRange=createPolygon()),Ie.add(ue.inRange=createPolygon(null,Ce?getCursor(this._orient):null,bind$1(this._dragHandle,this,"all",!1),bind$1(this._dragHandle,this,"all",!0))),Ie.setClipPath(new Rect$2({shape:{x:0,y:0,width:pe[0],height:pe[1],r:3}}));var Ve=le.textStyleModel.getTextRect("国"),ze=mathMax(Ve.width,Ve.height);Ce&&(ue.handleThumbs=[],ue.handleLabels=[],ue.handleLabelPoints=[],this._createHandle(le,xe,0,pe,ze,_e),this._createHandle(le,xe,1,pe,ze,_e)),this._createIndicator(le,xe,pe,ze,_e),ie.add(xe)},z.prototype._createHandle=function(ie,le,ue,pe,_e,Ce){var $e=bind$1(this._dragHandle,this,ue,!1),xe=bind$1(this._dragHandle,this,ue,!0),Ie=parsePercent$1(ie.get("handleSize"),pe[0]),Ve=createSymbol(ie.get("handleIcon"),-Ie/2,-Ie/2,Ie,Ie,null,!0),ze=getCursor(this._orient);Ve.attr({cursor:ze,draggable:!0,drift:$e,ondragend:xe,onmousemove:function(hn){stop(hn.event)}}),Ve.x=pe[0]/2,Ve.useStyle(ie.getModel("handleStyle").getItemStyle()),Ve.setStyle({strokeNoScale:!0,strokeFirst:!0}),Ve.style.lineWidth*=2,Ve.ensureState("emphasis").style=ie.getModel(["emphasis","handleStyle"]).getItemStyle(),setAsHighDownDispatcher(Ve,!0),le.add(Ve);var Ue=this.visualMapModel.textStyleModel,qe=new ZRText$1({cursor:ze,draggable:!0,drift:$e,onmousemove:function(hn){stop(hn.event)},ondragend:xe,style:createTextStyle$1(Ue,{x:0,y:0,text:""})});qe.ensureState("blur").style={opacity:.1},qe.stateTransition={duration:200},this.group.add(qe);var Et=[Ie,0],Lt=this._shapes;Lt.handleThumbs[ue]=Ve,Lt.handleLabelPoints[ue]=Et,Lt.handleLabels[ue]=qe},z.prototype._createIndicator=function(ie,le,ue,pe,_e){var Ce=parsePercent$1(ie.get("indicatorSize"),ue[0]),$e=createSymbol(ie.get("indicatorIcon"),-Ce/2,-Ce/2,Ce,Ce,null,!0);$e.attr({cursor:"move",invisible:!0,silent:!0,x:ue[0]/2});var xe=ie.getModel("indicatorStyle").getItemStyle();if($e instanceof ZRImage$1){var Ie=$e.style;$e.useStyle(extend({image:Ie.image,x:Ie.x,y:Ie.y,width:Ie.width,height:Ie.height},xe))}else $e.useStyle(xe);le.add($e);var Ve=this.visualMapModel.textStyleModel,ze=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(Ve,{x:0,y:0,text:""})});this.group.add(ze);var Ue=[(_e==="horizontal"?pe/2:HOVER_LINK_OUT)+ue[0]/2,0],qe=this._shapes;qe.indicator=$e,qe.indicatorLabel=ze,qe.indicatorLabelPoint=Ue,this._firstShowIndicator=!0},z.prototype._dragHandle=function(ie,le,ue,pe){if(this._useHandle){if(this._dragging=!le,!le){var _e=this._applyTransform([ue,pe],this._shapes.mainGroup,!0);this._updateInterval(ie,_e[1]),this._hideIndicator(),this._updateView()}le===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),le?!this._hovering&&this._clearHoverLinkToSeries():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[ie],!1)}},z.prototype._resetInterval=function(){var ie=this.visualMapModel,le=this._dataInterval=ie.getSelected(),ue=ie.getExtent(),pe=[0,ie.itemSize[1]];this._handleEnds=[linearMap(le[0],ue,pe,!0),linearMap(le[1],ue,pe,!0)]},z.prototype._updateInterval=function(ie,le){le=le||0;var ue=this.visualMapModel,pe=this._handleEnds,_e=[0,ue.itemSize[1]];sliderMove(le,pe,_e,ie,0);var Ce=ue.getExtent();this._dataInterval=[linearMap(pe[0],_e,Ce,!0),linearMap(pe[1],_e,Ce,!0)]},z.prototype._updateView=function(ie){var le=this.visualMapModel,ue=le.getExtent(),pe=this._shapes,_e=[0,le.itemSize[1]],Ce=ie?_e:this._handleEnds,$e=this._createBarVisual(this._dataInterval,ue,Ce,"inRange"),xe=this._createBarVisual(ue,ue,_e,"outOfRange");pe.inRange.setStyle({fill:$e.barColor}).setShape("points",$e.barPoints),pe.outOfRange.setStyle({fill:xe.barColor}).setShape("points",xe.barPoints),this._updateHandle(Ce,$e)},z.prototype._createBarVisual=function(ie,le,ue,pe){var _e={forceState:pe,convertOpacityToAlpha:!0},Ce=this._makeColorGradient(ie,_e),$e=[this.getControllerVisual(ie[0],"symbolSize",_e),this.getControllerVisual(ie[1],"symbolSize",_e)],xe=this._createBarPoints(ue,$e);return{barColor:new LinearGradient$1(0,0,0,1,Ce),barPoints:xe,handlesColor:[Ce[0].color,Ce[Ce.length-1].color]}},z.prototype._makeColorGradient=function(ie,le){var ue=100,pe=[],_e=(ie[1]-ie[0])/ue;pe.push({color:this.getControllerVisual(ie[0],"color",le),offset:0});for(var Ce=1;Ce<ue;Ce++){var $e=ie[0]+_e*Ce;if($e>ie[1])break;pe.push({color:this.getControllerVisual($e,"color",le),offset:Ce/ue})}return pe.push({color:this.getControllerVisual(ie[1],"color",le),offset:1}),pe},z.prototype._createBarPoints=function(ie,le){var ue=this.visualMapModel.itemSize;return[[ue[0]-le[0],ie[0]],[ue[0],ie[0]],[ue[0],ie[1]],[ue[0]-le[1],ie[1]]]},z.prototype._createBarGroup=function(ie){var le=this._orient,ue=this.visualMapModel.get("inverse");return new Group$3(le==="horizontal"&&!ue?{scaleX:ie==="bottom"?1:-1,rotation:Math.PI/2}:le==="horizontal"&&ue?{scaleX:ie==="bottom"?-1:1,rotation:-Math.PI/2}:le==="vertical"&&!ue?{scaleX:ie==="left"?1:-1,scaleY:-1}:{scaleX:ie==="left"?1:-1})},z.prototype._updateHandle=function(ie,le){if(this._useHandle){var ue=this._shapes,pe=this.visualMapModel,_e=ue.handleThumbs,Ce=ue.handleLabels,$e=pe.itemSize,xe=pe.getExtent();each$1([0,1],function(Ie){var Ve=_e[Ie];Ve.setStyle("fill",le.handlesColor[Ie]),Ve.y=ie[Ie];var ze=linearMap(ie[Ie],[0,$e[1]],xe,!0),Ue=this.getControllerVisual(ze,"symbolSize");Ve.scaleX=Ve.scaleY=Ue/$e[0],Ve.x=$e[0]-Ue/2;var qe=applyTransform(ue.handleLabelPoints[Ie],getTransform$1(Ve,this.group));Ce[Ie].setStyle({x:qe[0],y:qe[1],text:pe.formatValueText(this._dataInterval[Ie]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",ue.mainGroup):"center"})},this)}},z.prototype._showIndicator=function(ie,le,ue,pe){var _e=this.visualMapModel,Ce=_e.getExtent(),$e=_e.itemSize,xe=[0,$e[1]],Ie=this._shapes,Ve=Ie.indicator;if(Ve){Ve.attr("invisible",!1);var ze={convertOpacityToAlpha:!0},Ue=this.getControllerVisual(ie,"color",ze),qe=this.getControllerVisual(ie,"symbolSize"),Et=linearMap(ie,Ce,xe,!0),Lt=$e[0]-qe/2,hn={x:Ve.x,y:Ve.y};Ve.y=Et,Ve.x=Lt;var vn=applyTransform(Ie.indicatorLabelPoint,getTransform$1(Ve,this.group)),_n=Ie.indicatorLabel;_n.attr("invisible",!1);var bn=this._applyTransform("left",Ie.mainGroup),Cn=this._orient,Sn=Cn==="horizontal";_n.setStyle({text:(ue||"")+_e.formatValueText(le),verticalAlign:Sn?bn:"middle",align:Sn?"center":bn});var En={x:Lt,y:Et,style:{fill:Ue}},wn={style:{x:vn[0],y:vn[1]}};if(_e.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Tn={duration:100,easing:"cubicInOut",additive:!0};Ve.x=hn.x,Ve.y=hn.y,Ve.animateTo(En,Tn),_n.animateTo(wn,Tn)}else Ve.attr(En),_n.attr(wn);this._firstShowIndicator=!1;var kn=this._shapes.handleLabels;if(kn)for(var xn=0;xn<kn.length;xn++)this._api.enterBlur(kn[xn])}},z.prototype._enableHoverLinkToSeries=function(){var ie=this;this._shapes.mainGroup.on("mousemove",function(le){if(ie._hovering=!0,!ie._dragging){var ue=ie.visualMapModel.itemSize,pe=ie._applyTransform([le.offsetX,le.offsetY],ie._shapes.mainGroup,!0,!0);pe[1]=mathMin(mathMax(0,pe[1]),ue[1]),ie._doHoverLinkToSeries(pe[1],0<=pe[0]&&pe[0]<=ue[0])}}).on("mouseout",function(){ie._hovering=!1,!ie._dragging&&ie._clearHoverLinkToSeries()})},z.prototype._enableHoverLinkFromSeries=function(){var ie=this.api.getZr();this.visualMapModel.option.hoverLink?(ie.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),ie.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},z.prototype._doHoverLinkToSeries=function(ie,le){var ue=this.visualMapModel,pe=ue.itemSize;if(ue.option.hoverLink){var _e=[0,pe[1]],Ce=ue.getExtent();ie=mathMin(mathMax(_e[0],ie),_e[1]);var $e=getHalfHoverLinkSize(ue,Ce,_e),xe=[ie-$e,ie+$e],Ie=linearMap(ie,_e,Ce,!0),Ve=[linearMap(xe[0],_e,Ce,!0),linearMap(xe[1],_e,Ce,!0)];xe[0]<_e[0]&&(Ve[0]=-1/0),xe[1]>_e[1]&&(Ve[1]=1/0),le&&(Ve[0]===-1/0?this._showIndicator(Ie,Ve[1],"< ",$e):Ve[1]===1/0?this._showIndicator(Ie,Ve[0],"> ",$e):this._showIndicator(Ie,Ie,"≈ ",$e));var ze=this._hoverLinkDataIndices,Ue=[];(le||useHoverLinkOnHandle(ue))&&(Ue=this._hoverLinkDataIndices=ue.findTargetDataIndices(Ve));var qe=compressBatches(ze,Ue);this._dispatchHighDown("downplay",makeHighDownBatch(qe[0],ue)),this._dispatchHighDown("highlight",makeHighDownBatch(qe[1],ue))}},z.prototype._hoverLinkFromSeriesMouseOver=function(ie){var le;if(findEventDispatcher(ie.target,function($e){var xe=getECData($e);if(xe.dataIndex!=null)return le=xe,!0},!0),!!le){var ue=this.ecModel.getSeriesByIndex(le.seriesIndex),pe=this.visualMapModel;if(pe.isTargetSeries(ue)){var _e=ue.getData(le.dataType),Ce=_e.getStore().get(pe.getDataDimensionIndex(_e),le.dataIndex);isNaN(Ce)||this._showIndicator(Ce,Ce)}}},z.prototype._hideIndicator=function(){var ie=this._shapes;ie.indicator&&ie.indicator.attr("invisible",!0),ie.indicatorLabel&&ie.indicatorLabel.attr("invisible",!0);var le=this._shapes.handleLabels;if(le)for(var ue=0;ue<le.length;ue++)this._api.leaveBlur(le[ue])},z.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var ie=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",makeHighDownBatch(ie,this.visualMapModel)),ie.length=0},z.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var ie=this.api.getZr();ie.off("mouseover",this._hoverLinkFromSeriesMouseOver),ie.off("mouseout",this._hideIndicator)},z.prototype._applyTransform=function(ie,le,ue,pe){var _e=getTransform$1(le,pe?null:this.group);return isArray$1(ie)?applyTransform(ie,_e,ue):transformDirection(ie,_e,ue)},z.prototype._dispatchHighDown=function(ie,le){le&&le.length&&this.api.dispatchAction({type:ie,batch:le})},z.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},z.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},z.type="visualMap.continuous",z}(VisualMapView$1);function createPolygon($,z,ie,le){return new Polygon$1({shape:{points:$},draggable:!!ie,cursor:z,drift:ie,onmousemove:function(ue){stop(ue.event)},ondragend:le})}function getHalfHoverLinkSize($,z,ie){var le=HOVER_LINK_SIZE/2,ue=$.get("hoverLinkDataSize");return ue&&(le=linearMap(ue,z,ie,!0)/2),le}function useHoverLinkOnHandle($){var z=$.get("hoverLinkOnHandle");return!!(z??$.get("realtime"))}function getCursor($){return $==="vertical"?"ns-resize":"ew-resize"}const ContinuousView$1=ContinuousView;var visualMapActionInfo={type:"selectDataRange",event:"dataRangeSelected",update:"update"},visualMapActionHander=function($,z){z.eachComponent({mainType:"visualMap",query:$},function(ie){ie.setSelected($.selected)})},visualMapEncodingHandlers=[{createOnAllSeries:!0,reset:function($,z){var ie=[];return z.eachComponent("visualMap",function(le){var ue=$.pipelineContext;!le.isTargetSeries($)||ue&&ue.large||ie.push(incrementalApplyVisual(le.stateList,le.targetVisuals,bind$1(le.getValueState,le),le.getDataDimensionIndex($.getData())))}),ie}},{createOnAllSeries:!0,reset:function($,z){var ie=$.getData(),le=[];z.eachComponent("visualMap",function(ue){if(ue.isTargetSeries($)){var pe=ue.getVisualMeta(bind$1(getColorVisual,null,$,ue))||{stops:[],outerColors:[]},_e=ue.getDataDimensionIndex(ie);_e>=0&&(pe.dimension=_e,le.push(pe))}}),$.getData().setVisual("visualMeta",le)}}];function getColorVisual($,z,ie,le){for(var ue=z.targetVisuals[le],pe=VisualMapping$1.prepareVisualTypes(ue),_e={color:getVisualFromData($.getData(),"color")},Ce=0,$e=pe.length;Ce<$e;Ce++){var xe=pe[Ce],Ie=ue[xe==="opacity"?"__alphaForOpacity":xe];Ie&&Ie.applyVisual(ie,Ve,ze)}return _e.color;function Ve(Ue){return _e[Ue]}function ze(Ue,qe){_e[Ue]=qe}}var each=each$c;function visualMapPreprocessor($){var z=$&&$.visualMap;isArray$1(z)||(z=z?[z]:[]),each(z,function(ie){if(ie){has(ie,"splitList")&&!has(ie,"pieces")&&(ie.pieces=ie.splitList,delete ie.splitList);var le=ie.pieces;le&&isArray$1(le)&&each(le,function(ue){isObject$3(ue)&&(has(ue,"start")&&!has(ue,"min")&&(ue.min=ue.start),has(ue,"end")&&!has(ue,"max")&&(ue.max=ue.end))})}})}function has($,z){return $&&$.hasOwnProperty&&$.hasOwnProperty(z)}var installed=!1;function installCommon($){installed||(installed=!0,$.registerSubTypeDefaulter("visualMap",function(z){return!z.categories&&(!(z.pieces?z.pieces.length>0:z.splitNumber>0)||z.calculable)?"continuous":"piecewise"}),$.registerAction(visualMapActionInfo,visualMapActionHander),each$c(visualMapEncodingHandlers,function(z){$.registerVisual($.PRIORITY.VISUAL.COMPONENT,z)}),$.registerPreprocessor(visualMapPreprocessor))}function install$2($){$.registerComponentModel(ContinuousModel$1),$.registerComponentView(ContinuousView$1),installCommon($)}var PiecewiseModel=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie._pieceList=[],ie}return z.prototype.optionUpdated=function(ie,le){$.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var ue=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(ie,le);var pe=this.option.categories;this.resetVisual(function(_e,Ce){ue==="categories"?(_e.mappingMethod="category",_e.categories=clone$3(pe)):(_e.dataExtent=this.getExtent(),_e.mappingMethod="piecewise",_e.pieceList=map$2(this._pieceList,function($e){return $e=clone$3($e),Ce!=="inRange"&&($e.visual=null),$e}))})},z.prototype.completeVisualOption=function(){var ie=this.option,le={},ue=VisualMapping$1.listVisualTypes(),pe=this.isCategory();each$c(ie.pieces,function(Ce){each$c(ue,function($e){Ce.hasOwnProperty($e)&&(le[$e]=1)})}),each$c(le,function(Ce,$e){var xe=!1;each$c(this.stateList,function(Ie){xe=xe||_e(ie,Ie,$e)||_e(ie.target,Ie,$e)},this),!xe&&each$c(this.stateList,function(Ie){(ie[Ie]||(ie[Ie]={}))[$e]=visualDefault$1.get($e,Ie==="inRange"?"active":"inactive",pe)})},this);function _e(Ce,$e,xe){return Ce&&Ce[$e]&&Ce[$e].hasOwnProperty(xe)}$.prototype.completeVisualOption.apply(this,arguments)},z.prototype._resetSelected=function(ie,le){var ue=this.option,pe=this._pieceList,_e=(le?ue:ie).selected||{};if(ue.selected=_e,each$c(pe,function($e,xe){var Ie=this.getSelectedMapKey($e);_e.hasOwnProperty(Ie)||(_e[Ie]=!0)},this),ue.selectedMode==="single"){var Ce=!1;each$c(pe,function($e,xe){var Ie=this.getSelectedMapKey($e);_e[Ie]&&(Ce?_e[Ie]=!1:Ce=!0)},this)}},z.prototype.getItemSymbol=function(){return this.get("itemSymbol")},z.prototype.getSelectedMapKey=function(ie){return this._mode==="categories"?ie.value+"":ie.index+""},z.prototype.getPieceList=function(){return this._pieceList},z.prototype._determineMode=function(){var ie=this.option;return ie.pieces&&ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},z.prototype.setSelected=function(ie){this.option.selected=clone$3(ie)},z.prototype.getValueState=function(ie){var le=VisualMapping$1.findPieceIndex(ie,this._pieceList);return le!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[le])]?"inRange":"outOfRange"},z.prototype.findTargetDataIndices=function(ie){var le=[],ue=this._pieceList;return this.eachTargetSeries(function(pe){var _e=[],Ce=pe.getData();Ce.each(this.getDataDimensionIndex(Ce),function($e,xe){var Ie=VisualMapping$1.findPieceIndex($e,ue);Ie===ie&&_e.push(xe)},this),le.push({seriesId:pe.id,dataIndex:_e})},this),le},z.prototype.getRepresentValue=function(ie){var le;if(this.isCategory())le=ie.value;else if(ie.value!=null)le=ie.value;else{var ue=ie.interval||[];le=ue[0]===-1/0&&ue[1]===1/0?0:(ue[0]+ue[1])/2}return le},z.prototype.getVisualMeta=function(ie){if(this.isCategory())return;var le=[],ue=["",""],pe=this;function _e(Ie,Ve){var ze=pe.getRepresentValue({interval:Ie});Ve||(Ve=pe.getValueState(ze));var Ue=ie(ze,Ve);Ie[0]===-1/0?ue[0]=Ue:Ie[1]===1/0?ue[1]=Ue:le.push({value:Ie[0],color:Ue},{value:Ie[1],color:Ue})}var Ce=this._pieceList.slice();if(!Ce.length)Ce.push({interval:[-1/0,1/0]});else{var $e=Ce[0].interval[0];$e!==-1/0&&Ce.unshift({interval:[-1/0,$e]}),$e=Ce[Ce.length-1].interval[1],$e!==1/0&&Ce.push({interval:[$e,1/0]})}var xe=-1/0;return each$c(Ce,function(Ie){var Ve=Ie.interval;Ve&&(Ve[0]>xe&&_e([xe,Ve[0]],"outOfRange"),_e(Ve.slice()),xe=Ve[1])},this),{stops:le,outerColors:ue}},z.type="visualMap.piecewise",z.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}),z}(VisualMapModel$1),resetMethods={splitNumber:function($){var z=this.option,ie=Math.min(z.precision,20),le=this.getExtent(),ue=z.splitNumber;ue=Math.max(parseInt(ue,10),1),z.splitNumber=ue;for(var pe=(le[1]-le[0])/ue;+pe.toFixed(ie)!==pe&&ie<5;)ie++;z.precision=ie,pe=+pe.toFixed(ie),z.minOpen&&$.push({interval:[-1/0,le[0]],close:[0,0]});for(var _e=0,Ce=le[0];_e<ue;Ce+=pe,_e++){var $e=_e===ue-1?le[1]:Ce+pe;$.push({interval:[Ce,$e],close:[1,1]})}z.maxOpen&&$.push({interval:[le[1],1/0],close:[0,0]}),reformIntervals($),each$c($,function(xe,Ie){xe.index=Ie,xe.text=this.formatValueText(xe.interval)},this)},categories:function($){var z=this.option;each$c(z.categories,function(ie){$.push({text:this.formatValueText(ie,!0),value:ie})},this),normalizeReverse(z,$)},pieces:function($){var z=this.option;each$c(z.pieces,function(ie,le){isObject$3(ie)||(ie={value:ie});var ue={text:"",index:le};if(ie.label!=null&&(ue.text=ie.label),ie.hasOwnProperty("value")){var pe=ue.value=ie.value;ue.interval=[pe,pe],ue.close=[1,1]}else{for(var _e=ue.interval=[],Ce=ue.close=[0,0],$e=[1,0,1],xe=[-1/0,1/0],Ie=[],Ve=0;Ve<2;Ve++){for(var ze=[["gte","gt","min"],["lte","lt","max"]][Ve],Ue=0;Ue<3&&_e[Ve]==null;Ue++)_e[Ve]=ie[ze[Ue]],Ce[Ve]=$e[Ue],Ie[Ve]=Ue===2;_e[Ve]==null&&(_e[Ve]=xe[Ve])}Ie[0]&&_e[1]===1/0&&(Ce[0]=0),Ie[1]&&_e[0]===-1/0&&(Ce[1]=0),_e[0]===_e[1]&&Ce[0]&&Ce[1]&&(ue.value=_e[0])}ue.visual=VisualMapping$1.retrieveVisuals(ie),$.push(ue)},this),normalizeReverse(z,$),reformIntervals($),each$c($,function(ie){var le=ie.close,ue=[["<","≤"][le[1]],[">","≥"][le[0]]];ie.text=ie.text||this.formatValueText(ie.value!=null?ie.value:ie.interval,!1,ue)},this)}};function normalizeReverse($,z){var ie=$.inverse;($.orient==="vertical"?!ie:ie)&&z.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function($){__extends(z,$);function z(){var ie=$!==null&&$.apply(this,arguments)||this;return ie.type=z.type,ie}return z.prototype.doRender=function(){var ie=this.group;ie.removeAll();var le=this.visualMapModel,ue=le.get("textGap"),pe=le.textStyleModel,_e=pe.getFont(),Ce=pe.getTextColor(),$e=this._getItemAlign(),xe=le.itemSize,Ie=this._getViewData(),Ve=Ie.endsText,ze=retrieve(le.get("showLabel",!0),!Ve);Ve&&this._renderEndsText(ie,Ve[0],xe,ze,$e),each$c(Ie.viewPieceList,function(Ue){var qe=Ue.piece,Et=new Group$3;Et.onclick=bind$1(this._onItemClick,this,qe),this._enableHoverLink(Et,Ue.indexInModelPieceList);var Lt=le.getRepresentValue(qe);if(this._createItemSymbol(Et,Lt,[0,0,xe[0],xe[1]]),ze){var hn=this.visualMapModel.getValueState(Lt);Et.add(new ZRText$1({style:{x:$e==="right"?-ue:xe[0]+ue,y:xe[1]/2,text:qe.text,verticalAlign:"middle",align:$e,font:_e,fill:Ce,opacity:hn==="outOfRange"?.5:1}}))}ie.add(Et)},this),Ve&&this._renderEndsText(ie,Ve[1],xe,ze,$e),box(le.get("orient"),ie,le.get("itemGap")),this.renderBackground(ie),this.positionGroup(ie)},z.prototype._enableHoverLink=function(ie,le){var ue=this;ie.on("mouseover",function(){return pe("highlight")}).on("mouseout",function(){return pe("downplay")});var pe=function(_e){var Ce=ue.visualMapModel;Ce.option.hoverLink&&ue.api.dispatchAction({type:_e,batch:makeHighDownBatch(Ce.findTargetDataIndices(le),Ce)})}},z.prototype._getItemAlign=function(){var ie=this.visualMapModel,le=ie.option;if(le.orient==="vertical")return getItemAlign(ie,this.api,ie.itemSize);var ue=le.align;return(!ue||ue==="auto")&&(ue="left"),ue},z.prototype._renderEndsText=function(ie,le,ue,pe,_e){if(le){var Ce=new Group$3,$e=this.visualMapModel.textStyleModel;Ce.add(new ZRText$1({style:createTextStyle$1($e,{x:pe?_e==="right"?ue[0]:0:ue[0]/2,y:ue[1]/2,verticalAlign:"middle",align:pe?_e:"center",text:le})})),ie.add(Ce)}},z.prototype._getViewData=function(){var ie=this.visualMapModel,le=map$2(ie.getPieceList(),function(Ce,$e){return{piece:Ce,indexInModelPieceList:$e}}),ue=ie.get("text"),pe=ie.get("orient"),_e=ie.get("inverse");return(pe==="horizontal"?_e:!_e)?le.reverse():ue&&(ue=ue.slice().reverse()),{viewPieceList:le,endsText:ue}},z.prototype._createItemSymbol=function(ie,le,ue){ie.add(createSymbol(this.getControllerVisual(le,"symbol"),ue[0],ue[1],ue[2],ue[3],this.getControllerVisual(le,"color")))},z.prototype._onItemClick=function(ie){var le=this.visualMapModel,ue=le.option,pe=ue.selectedMode;if(pe){var _e=clone$3(ue.selected),Ce=le.getSelectedMapKey(ie);pe==="single"||pe===!0?(_e[Ce]=!0,each$c(_e,function($e,xe){_e[xe]=xe===Ce})):_e[Ce]=!_e[Ce],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:_e})}},z.type="visualMap.piecewise",z}(VisualMapView$1);const PiecewiseView=PiecewiseVisualMapView;function install$1($){$.registerComponentModel(PiecewiseModel$1),$.registerComponentView(PiecewiseView),installCommon($)}function install($){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($){$.config.globalProperties.$echarts=echarts}var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,j$1=Object.prototype.hasOwnProperty,_$1=($,z,ie)=>z in $?p($,z,{enumerable:!0,configurable:!0,writable:!0,value:ie}):$[z]=ie,P=($,z)=>{for(var ie in z)p($,ie,{get:z[ie],enumerable:!0})},y=($,z,ie,le)=>{if(z&&typeof z=="object"||typeof z=="function")for(let ue of u(z))!j$1.call($,ue)&&ue!==ie&&p($,ue,{get:()=>z[ue],enumerable:!(le=d(z,ue))||le.enumerable});return $},m$1=($,z,ie)=>(y($,z,"default"),ie&&y(ie,z,"default")),f=($,z,ie)=>(_$1($,typeof z!="symbol"?z+"":z,ie),ie),c={};P(c,{Vue:()=>vue_runtime_esmBundler});m$1(c,vue_runtime_esmBundler);var g=class{static install($,z){let{nameSpace:ie=this._nameSpace,memory:le}=z;return le&&this.clearAll(ie,le),new g($,z)}static clearAll($,z){Object.keys(z).forEach(ie=>{let le=$+ie;Object.prototype.hasOwnProperty.call(window.localStorage,le)&&window.localStorage.removeItem(le)})}static get($){return JSON.parse(window.localStorage.getItem($))}static set($,z){z=typeof z=="object"?JSON.stringify(z):z,window.localStorage.setItem($,z)}static getData($,z){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(z,$)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(z,$)))}constructor($,z){let ie=g,{version:le=3,nameSpace:ue=ie._nameSpace,memory:pe}=z,_e=xe=>ue+xe,Ce=le===3?(0,c.reactive)(pe):pe;Object.keys(Ce).length===0&&console.warn("key cannot be empty"),Object.keys(Ce).forEach(xe=>{let Ie=Ce[xe];ie.set(_e(xe),Ie),Reflect.defineProperty(Ce,xe,{get:()=>ie.get(_e(xe)),set:Ve=>ie.set(_e(xe),Ve),configurable:!0}),le===2&&$.util.defineReactive(Ce,xe,Ce[xe])});let $e=le===3?$.config.globalProperties:$.prototype;Reflect.defineProperty($e,"$storage",{get:()=>Ce})}},n=g;f(n,"_nameSpace","rs-"),f(n,"_getStaticKey",($,z)=>`${$??g._nameSpace}${z}`);const injectResponsiveStorage=($,z)=>{const ie=responsiveStorageNameSpace(),le=Object.assign({locale:n.getData("locale",ie)??{locale:z.Locale??"zh"},layout:n.getData("layout",ie)??{layout:z.Layout??"vertical",theme:z.Theme??"default",darkMode:z.DarkMode??!1,sidebarStatus:z.SidebarStatus??!0,epThemeColor:z.EpThemeColor??"#409EFF"},configure:n.getData("configure",ie)??{grey:z.Grey??!1,weak:z.Weak??!1,hideTabs:z.HideTabs??!1,showLogo:z.ShowLogo??!0,showModel:z.ShowModel??"smart",multiTagsCache:z.MultiTagsCache??!1}},z.MultiTagsCache?{tags:n.getData("tags",ie)??routerArrays}:{});$.use(n,{nameSpace:ie,memory:le})},de=Object.prototype.hasOwnProperty,_=($,z)=>de.call($,z),H=$=>$!==null&&typeof $=="object",ce=(($,z)=>{if(!H($)||H(ie=$)&&ie.__epPropKey)return $;var ie;const{values:le,required:ue,default:pe,type:_e,validator:Ce}=$,$e=le||Ce?Ie=>{let Ve=!1,ze=[];if(le&&(ze=Array.from(le),_($,"default")&&ze.push(pe),Ve||(Ve=ze.includes(Ie))),Ce&&(Ve||(Ve=Ce(Ie))),!Ve&&ze.length>0){const Ue=[...new Set(ze)].map(qe=>JSON.stringify(qe)).join(", ");warn$2(`Invalid prop: validation failed${z?` for prop "${z}"`:""}. Expected one of [${Ue}], got value ${JSON.stringify(Ie)}.`)}return Ve}:void 0,xe={type:_e,required:!!ue,validator:$e,__epPropKey:!0};return _($,"default")&&(xe.default=pe),xe})({type:String,values:["","default","small","large"],required:!1});var ge={data:{type:Array,default:()=>[]},size:ce,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 fe={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},...ge},K=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:$=>()=>createVNode(Fragment,null,[$.render($.params)])});var L$1=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,me=Object.getOwnPropertyNames,be=Object.prototype.hasOwnProperty,M=($,z,ie,le)=>{if(z&&typeof z=="object"||typeof z=="function")for(let ue of me(z))!be.call($,ue)&&ue!==ie&&L$1($,ue,{get:()=>z[ue],enumerable:!(le=ye(z,ue))||le.enumerable});return $},he=Object.prototype.toString;function V($){return typeof $=="function"}function Oe($){return function(z,ie){return he.call(z)===`[object ${ie}]`}($,"Boolean")}var h={};(($,z)=>{for(var ie in z)L$1($,ie,{get:z[ie],enumerable:!0})})(h,{Vue:()=>vue_runtime_esmBundler}),M(h,vue_runtime_esmBundler,"default");var ve=()=>{let $,z=(0,h.ref)(!1),ie=()=>{z.value=document.documentElement.classList.contains("dark")};return function(le){(0,h.getCurrentInstance)()&&(0,h.onUnmounted)(le)}(()=>{$.takeRecords(),$.disconnect()}),(0,h.onBeforeMount)(()=>{ie(),$=new MutationObserver(ie),$.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:z}};const k=defineComponent({name:"PureTable",props:fe,emits:["page-size-change","page-current-change"],setup($,{slots:z,attrs:ie,emit:le,expose:ue}){const{isDark:pe}=ve(),_e=getCurrentInstance();function Ce(){var Sn;return(Sn=_e==null?void 0:_e.proxy)==null?void 0:Sn.$refs[`TableRef${$.key}`]}function $e(){return Ce().$refs}onMounted(()=>{nextTick(()=>{$.rowHoverBgColor&&$e().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",$.rowHoverBgColor,"important")})});const{columns:xe,loading:Ie,loadingConfig:Ve,alignWhole:ze,headerAlign:Ue,showOverflowTooltip:qe,pagination:Et}=toRefs($);let Lt=computed(()=>{if(!unref(Ve))return;let{text:Sn,spinner:En,svg:wn,viewBox:Tn}=unref(Ve);return{"element-loading-text":Sn,"element-loading-spinner":En,"element-loading-svg":wn,"element-loading-svg-view-box":Tn}});const hn=computed(()=>{var Sn,En;if(unref(Ie))return{"element-loading-background":((En=(Sn=unref(Ve))==null?void 0:Sn.background)!=null?En:pe.value)?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),vn=computed(()=>{var Sn;return Object.assign({width:"100%",margin:"16px 0",display:"flex",justifyContent:unref(Et).align==="left"?"flex-start":unref(Et).align==="center"?"center":"flex-end"},(Sn=unref(Et).style)!=null?Sn:{})});let _n=unref(Et)&&unref(Et).currentPage&&unref(Et).pageSize;const bn=(Sn,En)=>{const{cellRenderer:wn,slot:Tn,headerRenderer:kn,headerSlot:xn,hide:Pn,children:An,prop:In,...Fn}=Sn;if(V(Pn)&&Pn(ie))return Pn(ie);if(Oe(Pn)&&Pn)return Pn;const Dn={default:Mn=>{var zn;return wn?createVNode(K,{render:wn,params:Object.assign(Mn,{index:Mn.$index,props:$,attrs:ie})},null):Tn?(zn=z==null?void 0:z[Tn])==null?void 0:zn.call(z,Object.assign(Mn,{index:Mn.$index,props:$,attrs:ie})):void 0}};let On=kn?{header:Mn=>createVNode(K,{render:kn,params:Object.assign(Mn,{index:Mn.$index,props:$,attrs:ie})},null),...Dn}:z!=null&&z[xn]?{header:Mn=>{var zn;return(zn=z==null?void 0:z[xn])==null?void 0:zn.call(z,Object.assign(Mn,{index:Mn.$index,props:$,attrs:ie}))},...Dn}:Dn;return(An==null?void 0:An.length)>0&&(On=An.map(bn)),createVNode(ElTableColumn,mergeProps({key:En},Fn,{prop:V(In)&&In(En)?In(En):In,align:Sn!=null&&Sn.align?Sn.align:unref(ze),headerAlign:Sn!=null&&Sn.headerAlign?Sn.headerAlign:unref(Ue),showOverflowTooltip:Sn!=null&&Sn.showOverflowTooltip?Sn.showOverflowTooltip:unref(qe)}),typeof(Vn=On)=="function"||Object.prototype.toString.call(Vn)==="[object Object]"&&!isVNode$1(Vn)?On:{default:()=>[On]});var Vn};ue({getTableRef:Ce,getTableDoms:$e});let Cn=()=>{var Sn,En;return createVNode(Fragment,null,[createVNode(ElTable,mergeProps($,ie,{ref:`TableRef${$.key}`}),{default:()=>unref(xe).map(bn),append:()=>z.append&&z.append(),empty:()=>z.empty&&z.empty()}),_n?createVNode(ElPagination,mergeProps(ie,{class:"pure-pagination",style:unref(vn)},unref(Et),{small:$!=null&&$.paginationSmall?$==null?void 0:$.paginationSmall:!!unref(Et).small&&unref(Et).small,layout:(Sn=unref(Et).layout)!=null?Sn:"total, sizes, prev, pager, next, jumper",pageSizes:(En=unref(Et).pageSizes)!=null?En:[5,10,15,20],onSizeChange:wn=>(Tn=>{unref(Et).pageSize=Tn,le("page-size-change",Tn)})(wn),onCurrentChange:wn=>(Tn=>{unref(Et).currentPage=Tn,le("page-current-change",Tn)})(wn)}),null):null])};return()=>withDirectives(createVNode("div",mergeProps({class:"pure-table",style:"width:100%"},unref(hn),unref(Lt)),[Cn()]),[[resolveDirective("loading"),unref(Ie)]])}}),je=Object.assign(k,{install:function($){$.component(k.name,k)}}),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:$=>()=>createVNode(Fragment,null,[$.render($.params)])}),m=defineComponent({name:"PureDescriptions",props:L,setup($,{slots:z,attrs:ie}){const{data:le,columns:ue,align:pe,labelAlign:_e,loading:Ce}=toRefs($),$e={title:()=>(z==null?void 0:z.title)&&z.title({props:$,attrs:ie})},xe={extra:()=>(z==null?void 0:z.extra)&&z.extra({props:$,attrs:ie})},Ie=z!=null&&z.title&&!(z!=null&&z.extra)?$e:z!=null&&z.extra&&!(z!=null&&z.title)?xe:z!=null&&z.title&&(z!=null&&z.extra)?Object.assign($e,xe):null;return()=>{var Ve;return withDirectives(createVNode(ElDescriptions,mergeProps($,ie,{"element-loading-text":(Ve=unref(Ce).text)!=null?Ve:"Loading...","element-loading-svg":unref(Ce).svg,"element-loading-spinner":unref(Ce).spinner,"element-loading-svg-view-box":unref(Ce).svgViewBox,"element-loading-background":unref(Ce).background}),{default:()=>[unref(ue).map((ze,Ue)=>{let qe=unref(le).map(_n=>_n[ze==null?void 0:ze.prop]);const Et={default:()=>{var _n;return ze!=null&&ze.cellRenderer?createVNode(j,{render:ze.cellRenderer,params:{props:$,attrs:ie,index:Ue,value:qe[0]}},null):ze!=null&&ze.slot?(_n=z==null?void 0:z[ze.slot])==null?void 0:_n.call(z,{props:$,attrs:ie,index:Ue,value:qe[0]}):createVNode(Fragment,null,ze!=null&&ze.value?[unref(ze.value)]:[qe])}},Lt=ze!=null&&ze.labelRenderer?{label:()=>createVNode(j,{render:ze.labelRenderer,params:{props:$,attrs:ie,index:Ue,value:qe[0]}},null),...Et}:Et;return hn=ze==null?void 0:ze.hide,typeof hn=="function"&&(ze!=null&&ze.hide(ie))?ze==null?void 0:ze.hide(ie):createVNode(ElDescriptionsItem,mergeProps(ze,{key:Ue,align:ze.align?ze.align:unref(pe),labelAlign:ze.labelAlign?ze.labelAlign:unref(_e)}),typeof(vn=Lt)=="function"||Object.prototype.toString.call(vn)==="[object Object]"&&!isVNode$1(vn)?Lt:{default:()=>[Lt]});var hn,vn})],...Ie}),[[resolveDirective("loading"),unref(Ce).load]])}}}),I=Object.assign(m,{install:function($){$.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($){var ie=(ie=document.getElementsByTagName("script"))[ie.length-1],z=ie.getAttribute("data-injectcss"),ie=ie.getAttribute("data-disable-injectsvg");if(!ie){var le,ue,pe,_e,Ce,$e=function(Ve,ze){ze.parentNode.insertBefore(Ve,ze)};if(z&&!$.__iconfont__svg__cssinject__){$.__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(Ve){console&&console.log(Ve)}}le=function(){var Ve,ze=document.createElement("div");ze.innerHTML=$._iconfont_svg_string_2208059,(ze=ze.getElementsByTagName("svg")[0])&&(ze.setAttribute("aria-hidden","true"),ze.style.position="absolute",ze.style.width=0,ze.style.height=0,ze.style.overflow="hidden",ze=ze,(Ve=document.body).firstChild?$e(ze,Ve.firstChild):Ve.appendChild(ze))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(le,0):(ue=function(){document.removeEventListener("DOMContentLoaded",ue,!1),le()},document.addEventListener("DOMContentLoaded",ue,!1)):document.attachEvent&&(pe=le,_e=$.document,Ce=!1,Ie(),_e.onreadystatechange=function(){_e.readyState=="complete"&&(_e.onreadystatechange=null,xe())})}function xe(){Ce||(Ce=!0,pe())}function Ie(){try{_e.documentElement.doScroll("left")}catch{return void setTimeout(Ie,50)}xe()}}(window);const iconfont="",auth$1={mounted($,z){var le;const{value:ie}=z;if(ie)!hasAuth(ie)&&((le=$.parentNode)==null||le.removeChild($));else throw new Error(`need auths! Like v-auth="['btn.add','btn.edit']"`)}};var collectionUtils={exports:{}},utils$3=collectionUtils.exports={};utils$3.forEach=function($,z){for(var ie=0;ie<$.length;ie++){var le=z($[ie]);if(le)return le}};var collectionUtilsExports=collectionUtils.exports,elementUtils=function($){var z=$.stateHandler.getState;function ie(_e){var Ce=z(_e);return Ce&&!!Ce.isDetectable}function le(_e){z(_e).isDetectable=!0}function ue(_e){return!!z(_e).busy}function pe(_e,Ce){z(_e).busy=!!Ce}return{isDetectable:ie,markAsDetectable:le,isBusy:ue,markBusy:pe}},listenerHandler=function($){var z={};function ie(_e){var Ce=$.get(_e);return Ce===void 0?[]:z[Ce]||[]}function le(_e,Ce){var $e=$.get(_e);z[$e]||(z[$e]=[]),z[$e].push(Ce)}function ue(_e,Ce){for(var $e=ie(_e),xe=0,Ie=$e.length;xe<Ie;++xe)if($e[xe]===Ce){$e.splice(xe,1);break}}function pe(_e){var Ce=ie(_e);Ce&&(Ce.length=0)}return{get:ie,add:le,removeListener:ue,removeAllListeners:pe}},idGenerator=function(){var $=1;function z(){return $++}return{generate:z}},idHandler=function($){var z=$.idGenerator,ie=$.stateHandler.getState;function le(pe){var _e=ie(pe);return _e&&_e.id!==void 0?_e.id:null}function ue(pe){var _e=ie(pe);if(!_e)throw new Error("setId required the element to have a resize detection state.");var Ce=z.generate();return _e.id=Ce,Ce}return{get:le,set:ue}},reporter=function($){function z(){}var ie={log:z,warn:z,error:z};if(!$&&window.console){var le=function(ue,pe){ue[pe]=function(){var Ce=console[pe];if(Ce.apply)Ce.apply(console,arguments);else for(var $e=0;$e<arguments.length;$e++)Ce(arguments[$e])}};le(ie,"log"),le(ie,"warn"),le(ie,"error")}return ie},browserDetector$2={exports:{}},detector=browserDetector$2.exports={};detector.isIE=function($){function z(){var le=navigator.userAgent.toLowerCase();return le.indexOf("msie")!==-1||le.indexOf("trident")!==-1||le.indexOf(" edge/")!==-1}if(!z())return!1;if(!$)return!0;var ie=function(){var le,ue=3,pe=document.createElement("div"),_e=pe.getElementsByTagName("i");do pe.innerHTML="<!--[if gt IE "+ ++ue+"]><i></i><![endif]-->";while(_e[0]);return ue>4?ue:le}();return $===ie};detector.isLegacyOpera=function(){return!!window.opera};var browserDetectorExports=browserDetector$2.exports,utils$2={exports:{}},utils$1=utils$2.exports={};utils$1.getOption=getOption$1;function getOption$1($,z,ie){var le=$[z];return le==null&&ie!==void 0?ie:le}var utilsExports=utils$2.exports,utils=utilsExports,batchProcessor=function(z){z=z||{};var ie=z.reporter,le=utils.getOption(z,"async",!0),ue=utils.getOption(z,"auto",!0);ue&&!le&&(ie&&ie.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),le=!0);var pe=Batch(),_e,Ce=!1;function $e(qe,Et){!Ce&&ue&&le&&pe.size()===0&&Ve(),pe.add(qe,Et)}function xe(){for(Ce=!0;pe.size();){var qe=pe;pe=Batch(),qe.process()}Ce=!1}function Ie(qe){Ce||(qe===void 0&&(qe=le),_e&&(ze(_e),_e=null),qe?Ve():xe())}function Ve(){_e=Ue(xe)}function ze(qe){var Et=clearTimeout;return Et(qe)}function Ue(qe){var Et=function(Lt){return setTimeout(Lt,0)};return Et(qe)}return{add:$e,force:Ie}};function Batch(){var $={},z=0,ie=0,le=0;function ue(Ce,$e){$e||($e=Ce,Ce=0),Ce>ie?ie=Ce:Ce<le&&(le=Ce),$[Ce]||($[Ce]=[]),$[Ce].push($e),z++}function pe(){for(var Ce=le;Ce<=ie;Ce++)for(var $e=$[Ce],xe=0;xe<$e.length;xe++){var Ie=$e[xe];Ie()}}function _e(){return z}return{add:ue,process:pe,size:_e}}var prop="_erd";function initState($){return $[prop]={},getState($)}function getState($){return $[prop]}function cleanState($){delete $[prop]}var stateHandler$1={initState,getState,cleanState},browserDetector$1=browserDetectorExports,object=function($){$=$||{};var z=$.reporter,ie=$.batchProcessor,le=$.stateHandler.getState;if(!z)throw new Error("Missing required dependency: reporter.");function ue(xe,Ie){function Ve(){Ie(xe)}if(browserDetector$1.isIE(8))le(xe).object={proxy:Ve},xe.attachEvent("onresize",Ve);else{var ze=Ce(xe);if(!ze)throw new Error("Element is not detectable by this strategy.");ze.contentDocument.defaultView.addEventListener("resize",Ve)}}function pe(xe){var Ie=$.important?" !important; ":"; ";return(xe.join(Ie)+Ie).trim()}function _e(xe,Ie,Ve){Ve||(Ve=Ie,Ie=xe,xe=null),xe=xe||{},xe.debug;function ze(Ue,qe){var Et=pe(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),Lt=!1,hn=window.getComputedStyle(Ue),vn=Ue.offsetWidth,_n=Ue.offsetHeight;le(Ue).startSize={width:vn,height:_n};function bn(){function Cn(){if(hn.position==="static"){Ue.style.setProperty("position","relative",xe.important?"important":"");var wn=function(Tn,kn,xn,Pn){function An(Fn){return Fn.replace(/[^-\d\.]/g,"")}var In=xn[Pn];In!=="auto"&&An(In)!=="0"&&(Tn.warn("An element that is positioned static has style."+Pn+"="+In+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+Pn+" will be set to 0. Element: ",kn),kn.style.setProperty(Pn,"0",xe.important?"important":""))};wn(z,Ue,hn,"top"),wn(z,Ue,hn,"right"),wn(z,Ue,hn,"bottom"),wn(z,Ue,hn,"left")}}function Sn(){Lt||Cn();function wn(kn,xn){if(!kn.contentDocument){var Pn=le(kn);Pn.checkForObjectDocumentTimeoutId&&window.clearTimeout(Pn.checkForObjectDocumentTimeoutId),Pn.checkForObjectDocumentTimeoutId=setTimeout(function(){Pn.checkForObjectDocumentTimeoutId=0,wn(kn,xn)},100);return}xn(kn.contentDocument)}var Tn=this;wn(Tn,function(xn){qe(Ue)})}hn.position!==""&&(Cn(),Lt=!0);var En=document.createElement("object");En.style.cssText=Et,En.tabIndex=-1,En.type="text/html",En.setAttribute("aria-hidden","true"),En.onload=Sn,browserDetector$1.isIE()||(En.data="about:blank"),le(Ue)&&(Ue.appendChild(En),le(Ue).object=En,browserDetector$1.isIE()&&(En.data="about:blank"))}ie?ie.add(bn):bn()}browserDetector$1.isIE(8)?Ve(Ie):ze(Ie,Ve)}function Ce(xe){return le(xe).object}function $e(xe){if(le(xe)){var Ie=Ce(xe);Ie&&(browserDetector$1.isIE(8)?xe.detachEvent("onresize",Ie.proxy):xe.removeChild(Ie),le(xe).checkForObjectDocumentTimeoutId&&window.clearTimeout(le(xe).checkForObjectDocumentTimeoutId),delete le(xe).object)}}return{makeDetectable:_e,addListener:ue,uninstall:$e}},forEach$1=collectionUtilsExports.forEach,scroll=function($){$=$||{};var z=$.reporter,ie=$.batchProcessor,le=$.stateHandler.getState;$.stateHandler.hasState;var ue=$.idHandler;if(!ie)throw new Error("Missing required dependency: batchProcessor");if(!z)throw new Error("Missing required dependency: reporter.");var pe=Ie(),_e="erd_scroll_detection_scrollbar_style",Ce="erd_scroll_detection_container";function $e(bn){Ve(bn,_e,Ce)}$e(window.document);function xe(bn){var Cn=$.important?" !important; ":"; ";return(bn.join(Cn)+Cn).trim()}function Ie(){var bn=500,Cn=500,Sn=document.createElement("div");Sn.style.cssText=xe(["position: absolute","width: "+bn*2+"px","height: "+Cn*2+"px","visibility: hidden","margin: 0","padding: 0"]);var En=document.createElement("div");En.style.cssText=xe(["position: absolute","width: "+bn+"px","height: "+Cn+"px","overflow: scroll","visibility: none","top: "+-bn*3+"px","left: "+-Cn*3+"px","visibility: hidden","margin: 0","padding: 0"]),En.appendChild(Sn),document.body.insertBefore(En,document.body.firstChild);var wn=bn-En.clientWidth,Tn=Cn-En.clientHeight;return document.body.removeChild(En),{width:wn,height:Tn}}function Ve(bn,Cn,Sn){function En(xn,Pn){Pn=Pn||function(In){bn.head.appendChild(In)};var An=bn.createElement("style");return An.innerHTML=xn,An.id=Cn,Pn(An),An}if(!bn.getElementById(Cn)){var wn=Sn+"_animation",Tn=Sn+"_animation_active",kn=`/* Created by the element-resize-detector library. */
|
||
`;kn+="."+Sn+" > div::-webkit-scrollbar { "+xe(["display: none"])+` }
|
||
|
||
`,kn+="."+Tn+" { "+xe(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+wn,"animation-name: "+wn])+` }
|
||
`,kn+="@-webkit-keyframes "+wn+` { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
|
||
`,kn+="@keyframes "+wn+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",En(kn)}}function ze(bn){bn.className+=" "+Ce+"_animation_active"}function Ue(bn,Cn,Sn){if(bn.addEventListener)bn.addEventListener(Cn,Sn);else if(bn.attachEvent)bn.attachEvent("on"+Cn,Sn);else return z.error("[scroll] Don't know how to add event listeners.")}function qe(bn,Cn,Sn){if(bn.removeEventListener)bn.removeEventListener(Cn,Sn);else if(bn.detachEvent)bn.detachEvent("on"+Cn,Sn);else return z.error("[scroll] Don't know how to remove event listeners.")}function Et(bn){return le(bn).container.childNodes[0].childNodes[0].childNodes[0]}function Lt(bn){return le(bn).container.childNodes[0].childNodes[0].childNodes[1]}function hn(bn,Cn){var Sn=le(bn).listeners;if(!Sn.push)throw new Error("Cannot add listener to an element that is not detectable.");le(bn).listeners.push(Cn)}function vn(bn,Cn,Sn){Sn||(Sn=Cn,Cn=bn,bn=null),bn=bn||{};function En(){if(bn.debug){var Wn=Array.prototype.slice.call(arguments);if(Wn.unshift(ue.get(Cn),"Scroll: "),z.log.apply)z.log.apply(null,Wn);else for(var Qn=0;Qn<Wn.length;Qn++)z.log(Wn[Qn])}}function wn(Wn){function Qn(fr){var jn=fr.getRootNode&&fr.getRootNode().contains(fr);return fr===fr.ownerDocument.body||fr.ownerDocument.body.contains(fr)||jn}return!Qn(Wn)||window.getComputedStyle(Wn)===null}function Tn(Wn){var Qn=le(Wn).container.childNodes[0],fr=window.getComputedStyle(Qn);return!fr.width||fr.width.indexOf("px")===-1}function kn(){var Wn=window.getComputedStyle(Cn),Qn={};return Qn.position=Wn.position,Qn.width=Cn.offsetWidth,Qn.height=Cn.offsetHeight,Qn.top=Wn.top,Qn.right=Wn.right,Qn.bottom=Wn.bottom,Qn.left=Wn.left,Qn.widthCSS=Wn.width,Qn.heightCSS=Wn.height,Qn}function xn(){var Wn=kn();le(Cn).startSize={width:Wn.width,height:Wn.height},En("Element start size",le(Cn).startSize)}function Pn(){le(Cn).listeners=[]}function An(){if(En("storeStyle invoked."),!le(Cn)){En("Aborting because element has been uninstalled");return}var Wn=kn();le(Cn).style=Wn}function In(Wn,Qn,fr){le(Wn).lastWidth=Qn,le(Wn).lastHeight=fr}function Fn(Wn){return Et(Wn).childNodes[0]}function Dn(){return 2*pe.width+1}function On(){return 2*pe.height+1}function Vn(Wn){return Wn+10+Dn()}function Mn(Wn){return Wn+10+On()}function zn(Wn){return Wn*2+Dn()}function Kn(Wn){return Wn*2+On()}function Hn(Wn,Qn,fr){var jn=Et(Wn),Zn=Lt(Wn),rr=Vn(Qn),mr=Mn(fr),_r=zn(Qn),or=Kn(fr);jn.scrollLeft=rr,jn.scrollTop=mr,Zn.scrollLeft=_r,Zn.scrollTop=or}function Xn(){var Wn=le(Cn).container;if(!Wn){Wn=document.createElement("div"),Wn.className=Ce,Wn.style.cssText=xe(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),le(Cn).container=Wn,ze(Wn),Cn.appendChild(Wn);var Qn=function(){le(Cn).onRendered&&le(Cn).onRendered()};Ue(Wn,"animationstart",Qn),le(Cn).onAnimationStart=Qn}return Wn}function lr(){function Wn(){var Nr=le(Cn).style;if(Nr.position==="static"){Cn.style.setProperty("position","relative",bn.important?"important":"");var br=function(Tr,ur,Jn,ar){function Sr(Vr){return Vr.replace(/[^-\d\.]/g,"")}var Or=Jn[ar];Or!=="auto"&&Sr(Or)!=="0"&&(Tr.warn("An element that is positioned static has style."+ar+"="+Or+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+ar+" will be set to 0. Element: ",ur),ur.style[ar]=0)};br(z,Cn,Nr,"top"),br(z,Cn,Nr,"right"),br(z,Cn,Nr,"bottom"),br(z,Cn,Nr,"left")}}function Qn(Nr,br,Tr,ur){return Nr=Nr?Nr+"px":"0",br=br?br+"px":"0",Tr=Tr?Tr+"px":"0",ur=ur?ur+"px":"0",["left: "+Nr,"top: "+br,"right: "+ur,"bottom: "+Tr]}if(En("Injecting elements"),!le(Cn)){En("Aborting because element has been uninstalled");return}Wn();var fr=le(Cn).container;fr||(fr=Xn());var jn=pe.width,Zn=pe.height,rr=xe(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),mr=xe(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(Qn(-(1+jn),-(1+Zn),-Zn,-jn))),_r=xe(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),or=xe(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),$r=xe(["position: absolute","left: 0","top: 0"]),gr=xe(["position: absolute","width: 200%","height: 200%"]),xr=document.createElement("div"),pr=document.createElement("div"),sr=document.createElement("div"),cr=document.createElement("div"),hr=document.createElement("div"),Pr=document.createElement("div");xr.dir="ltr",xr.style.cssText=rr,xr.className=Ce,pr.className=Ce,pr.style.cssText=mr,sr.style.cssText=_r,cr.style.cssText=$r,hr.style.cssText=or,Pr.style.cssText=gr,sr.appendChild(cr),hr.appendChild(Pr),pr.appendChild(sr),pr.appendChild(hr),xr.appendChild(pr),fr.appendChild(xr);function Dr(){var Nr=le(Cn);Nr&&Nr.onExpand?Nr.onExpand():En("Aborting expand scroll handler: element has been uninstalled")}function Lr(){var Nr=le(Cn);Nr&&Nr.onShrink?Nr.onShrink():En("Aborting shrink scroll handler: element has been uninstalled")}Ue(sr,"scroll",Dr),Ue(hr,"scroll",Lr),le(Cn).onExpandScroll=Dr,le(Cn).onShrinkScroll=Lr}function yr(){function Wn(_r,or,$r){var gr=Fn(_r),xr=Vn(or),pr=Mn($r);gr.style.setProperty("width",xr+"px",bn.important?"important":""),gr.style.setProperty("height",pr+"px",bn.important?"important":"")}function Qn(_r){var or=Cn.offsetWidth,$r=Cn.offsetHeight,gr=or!==le(Cn).lastWidth||$r!==le(Cn).lastHeight;En("Storing current size",or,$r),In(Cn,or,$r),ie.add(0,function(){if(gr){if(!le(Cn)){En("Aborting because element has been uninstalled");return}if(!fr()){En("Aborting because element container has not been initialized");return}if(bn.debug){var pr=Cn.offsetWidth,sr=Cn.offsetHeight;(pr!==or||sr!==$r)&&z.warn(ue.get(Cn),"Scroll: Size changed before updating detector elements.")}Wn(Cn,or,$r)}}),ie.add(1,function(){if(!le(Cn)){En("Aborting because element has been uninstalled");return}if(!fr()){En("Aborting because element container has not been initialized");return}Hn(Cn,or,$r)}),gr&&_r&&ie.add(2,function(){if(!le(Cn)){En("Aborting because element has been uninstalled");return}if(!fr()){En("Aborting because element container has not been initialized");return}_r()})}function fr(){return!!le(Cn).container}function jn(){function _r(){return le(Cn).lastNotifiedWidth===void 0}En("notifyListenersIfNeeded invoked");var or=le(Cn);if(_r()&&or.lastWidth===or.startSize.width&&or.lastHeight===or.startSize.height)return En("Not notifying: Size is the same as the start size, and there has been no notification yet.");if(or.lastWidth===or.lastNotifiedWidth&&or.lastHeight===or.lastNotifiedHeight)return En("Not notifying: Size already notified");En("Current size not notified, notifying..."),or.lastNotifiedWidth=or.lastWidth,or.lastNotifiedHeight=or.lastHeight,forEach$1(le(Cn).listeners,function($r){$r(Cn)})}function Zn(){if(En("startanimation triggered."),Tn(Cn)){En("Ignoring since element is still unrendered...");return}En("Element rendered.");var _r=Et(Cn),or=Lt(Cn);(_r.scrollLeft===0||_r.scrollTop===0||or.scrollLeft===0||or.scrollTop===0)&&(En("Scrollbars out of sync. Updating detector elements..."),Qn(jn))}function rr(){if(En("Scroll detected."),Tn(Cn)){En("Scroll event fired while unrendered. Ignoring...");return}Qn(jn)}if(En("registerListenersAndPositionElements invoked."),!le(Cn)){En("Aborting because element has been uninstalled");return}le(Cn).onRendered=Zn,le(Cn).onExpand=rr,le(Cn).onShrink=rr;var mr=le(Cn).style;Wn(Cn,mr.width,mr.height)}function ir(){if(En("finalizeDomMutation invoked."),!le(Cn)){En("Aborting because element has been uninstalled");return}var Wn=le(Cn).style;In(Cn,Wn.width,Wn.height),Hn(Cn,Wn.width,Wn.height)}function Yn(){Sn(Cn)}function Gn(){En("Installing..."),Pn(),xn(),ie.add(0,An),ie.add(1,lr),ie.add(2,yr),ie.add(3,ir),ie.add(4,Yn)}En("Making detectable..."),wn(Cn)?(En("Element is detached"),Xn(),En("Waiting until element is attached..."),le(Cn).onRendered=function(){En("Element is now attached"),Gn()}):Gn()}function _n(bn){var Cn=le(bn);Cn&&(Cn.onExpandScroll&&qe(Et(bn),"scroll",Cn.onExpandScroll),Cn.onShrinkScroll&&qe(Lt(bn),"scroll",Cn.onShrinkScroll),Cn.onAnimationStart&&qe(Cn.container,"animationstart",Cn.onAnimationStart),Cn.container&&bn.removeChild(Cn.container))}return{makeDetectable:vn,addListener:hn,uninstall:_n,initDocument:$e}},forEach=collectionUtilsExports.forEach,elementUtilsMaker=elementUtils,listenerHandlerMaker=listenerHandler,idGeneratorMaker=idGenerator,idHandlerMaker=idHandler,reporterMaker=reporter,browserDetector=browserDetectorExports,batchProcessorMaker=batchProcessor,stateHandler=stateHandler$1,objectStrategyMaker=object,scrollStrategyMaker=scroll;function isCollection($){return Array.isArray($)||$.length!==void 0}function toArray($){if(Array.isArray($))return $;var z=[];return forEach($,function(ie){z.push(ie)}),z}function isElement($){return $&&$.nodeType===1}var elementResizeDetector=function($){$=$||{};var z;if($.idHandler)z={get:function(vn){return $.idHandler.get(vn,!0)},set:$.idHandler.set};else{var ie=idGeneratorMaker(),le=idHandlerMaker({idGenerator:ie,stateHandler});z=le}var ue=$.reporter;if(!ue){var pe=ue===!1;ue=reporterMaker(pe)}var _e=getOption($,"batchProcessor",batchProcessorMaker({reporter:ue})),Ce={};Ce.callOnAdd=!!getOption($,"callOnAdd",!0),Ce.debug=!!getOption($,"debug",!1);var $e=listenerHandlerMaker(z),xe=elementUtilsMaker({stateHandler}),Ie,Ve=getOption($,"strategy","object"),ze=getOption($,"important",!1),Ue={reporter:ue,batchProcessor:_e,stateHandler,idHandler:z,important:ze};if(Ve==="scroll"&&(browserDetector.isLegacyOpera()?(ue.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),Ve="object"):browserDetector.isIE(9)&&(ue.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),Ve="object")),Ve==="scroll")Ie=scrollStrategyMaker(Ue);else if(Ve==="object")Ie=objectStrategyMaker(Ue);else throw new Error("Invalid strategy name: "+Ve);var qe={};function Et(vn,_n,bn){function Cn(xn){var Pn=$e.get(xn);forEach(Pn,function(In){In(xn)})}function Sn(xn,Pn,An){$e.add(Pn,An),xn&&An(Pn)}if(bn||(bn=_n,_n=vn,vn={}),!_n)throw new Error("At least one element required.");if(!bn)throw new Error("Listener required.");if(isElement(_n))_n=[_n];else if(isCollection(_n))_n=toArray(_n);else return ue.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");var En=0,wn=getOption(vn,"callOnAdd",Ce.callOnAdd),Tn=getOption(vn,"onReady",function(){}),kn=getOption(vn,"debug",Ce.debug);forEach(_n,function(Pn){stateHandler.getState(Pn)||(stateHandler.initState(Pn),z.set(Pn));var An=z.get(Pn);if(kn&&ue.log("Attaching listener to element",An,Pn),!xe.isDetectable(Pn)){if(kn&&ue.log(An,"Not detectable."),xe.isBusy(Pn)){kn&&ue.log(An,"System busy making it detectable"),Sn(wn,Pn,bn),qe[An]=qe[An]||[],qe[An].push(function(){En++,En===_n.length&&Tn()});return}return kn&&ue.log(An,"Making detectable..."),xe.markBusy(Pn,!0),Ie.makeDetectable({debug:kn,important:ze},Pn,function(Fn){if(kn&&ue.log(An,"onElementDetectable"),stateHandler.getState(Fn)){xe.markAsDetectable(Fn),xe.markBusy(Fn,!1),Ie.addListener(Fn,Cn),Sn(wn,Fn,bn);var Dn=stateHandler.getState(Fn);if(Dn&&Dn.startSize){var On=Fn.offsetWidth,Vn=Fn.offsetHeight;(Dn.startSize.width!==On||Dn.startSize.height!==Vn)&&Cn(Fn)}qe[An]&&forEach(qe[An],function(Mn){Mn()})}else kn&&ue.log(An,"Element uninstalled before being detectable.");delete qe[An],En++,En===_n.length&&Tn()})}kn&&ue.log(An,"Already detecable, adding listener."),Sn(wn,Pn,bn),En++}),En===_n.length&&Tn()}function Lt(vn){if(!vn)return ue.error("At least one element is required.");if(isElement(vn))vn=[vn];else if(isCollection(vn))vn=toArray(vn);else return ue.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");forEach(vn,function(_n){$e.removeAllListeners(_n),Ie.uninstall(_n),stateHandler.cleanState(_n)})}function hn(vn){Ie.initDocument&&Ie.initDocument(vn)}return{listenTo:Et,removeListener:$e.removeListener,removeAllListeners:$e.removeAllListeners,uninstall:Lt,initDocument:hn}};function getOption($,z,ie){var le=$[z];return le==null&&ie!==void 0?ie:le}const elementResizeDetectorMaker=getDefaultExportFromCjs(elementResizeDetector);function mitt($){return{all:$=$||new Map,on:function(z,ie){var le=$.get(z);le?le.push(ie):$.set(z,[ie])},off:function(z,ie){var le=$.get(z);le&&(ie?le.splice(le.indexOf(ie)>>>0,1):$.set(z,[]))},emit:function(z,ie){var le=$.get(z);le&&le.slice().map(function(ue){ue(ie)}),(le=$.get("*"))&&le.slice().map(function(ue){ue(z,ie)})}}}const emitter=mitt(),erd=elementResizeDetectorMaker({strategy:"scroll"}),resize={mounted($,z,ie){erd.listenTo($,le=>{const ue=le.offsetWidth,pe=le.offsetHeight;z!=null&&z.instance?emitter.emit("resize",{detail:{width:ue,height:pe}}):ie.el.dispatchEvent(new CustomEvent("resize",{detail:{width:ue,height:pe}}))})},unmounted($){erd.uninstall($)}},directives=Object.freeze(Object.defineProperty({__proto__:null,auth:auth$1,resize},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($,z){const ie={...$};for(const le in z){const ue=z[le],pe=typeof ue;le in defaultIconSizeCustomisations$1?(ue===null||ue&&(pe==="string"||pe==="number"))&&(ie[le]=ue):pe===typeof ie[le]&&(ie[le]=le==="rotate"?ue%4:ue)}return ie}const separator$1=/[\s,]+/;function flipFromString$1($,z){z.split(separator$1).forEach(ie=>{switch(ie.trim()){case"horizontal":$.hFlip=!0;break;case"vertical":$.vFlip=!0;break}})}function rotateFromString$1($,z=0){const ie=$.replace(/^-?[0-9.]*/,"");function le(ue){for(;ue<0;)ue+=4;return ue%4}if(ie===""){const ue=parseInt($);return isNaN(ue)?0:le(ue)}else if(ie!==$){let ue=0;switch(ie){case"%":ue=25;break;case"deg":ue=90}if(ue){let pe=parseFloat($.slice(0,$.length-ie.length));return isNaN(pe)?0:(pe=pe/ue,pe%1===0?le(pe):0)}}return z}const unitsSplit$1=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest$1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize$1($,z,ie){if(z===1)return $;if(ie=ie||100,typeof $=="number")return Math.ceil($*z*ie)/ie;if(typeof $!="string")return $;const le=$.split(unitsSplit$1);if(le===null||!le.length)return $;const ue=[];let pe=le.shift(),_e=unitsTest$1.test(pe);for(;;){if(_e){const Ce=parseFloat(pe);isNaN(Ce)?ue.push(pe):ue.push(Math.ceil(Ce*z*ie)/ie)}else ue.push(pe);if(pe=le.shift(),pe===void 0)return ue.join("");_e=!_e}}const isUnsetKeyword$1=$=>$==="unset"||$==="undefined"||$==="none";function iconToSVG$1($,z){const ie={...defaultIconProps$1,...$},le={...defaultIconCustomisations$1,...z},ue={left:ie.left,top:ie.top,width:ie.width,height:ie.height};let pe=ie.body;[ie,le].forEach(qe=>{const Et=[],Lt=qe.hFlip,hn=qe.vFlip;let vn=qe.rotate;Lt?hn?vn+=2:(Et.push("translate("+(ue.width+ue.left).toString()+" "+(0-ue.top).toString()+")"),Et.push("scale(-1 1)"),ue.top=ue.left=0):hn&&(Et.push("translate("+(0-ue.left).toString()+" "+(ue.height+ue.top).toString()+")"),Et.push("scale(1 -1)"),ue.top=ue.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=ue.height/2+ue.top,Et.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:Et.unshift("rotate(180 "+(ue.width/2+ue.left).toString()+" "+(ue.height/2+ue.top).toString()+")");break;case 3:_n=ue.width/2+ue.left,Et.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(ue.left!==ue.top&&(_n=ue.left,ue.left=ue.top,ue.top=_n),ue.width!==ue.height&&(_n=ue.width,ue.width=ue.height,ue.height=_n)),Et.length&&(pe='<g transform="'+Et.join(" ")+'">'+pe+"</g>")});const _e=le.width,Ce=le.height,$e=ue.width,xe=ue.height;let Ie,Ve;_e===null?(Ve=Ce===null?"1em":Ce==="auto"?xe:Ce,Ie=calculateSize$1(Ve,$e/xe)):(Ie=_e==="auto"?$e:_e,Ve=Ce===null?calculateSize$1(Ie,xe/$e):Ce==="auto"?xe:Ce);const ze={},Ue=(qe,Et)=>{isUnsetKeyword$1(Et)||(ze[qe]=Et.toString())};return Ue("width",Ie),Ue("height",Ve),ze.viewBox=ue.left.toString()+" "+ue.top.toString()+" "+$e.toString()+" "+xe.toString(),{attributes:ze,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($,z=randomPrefix$1){const ie=[];let le;for(;le=regex$1.exec($);)ie.push(le[1]);if(!ie.length)return $;const ue="suffix"+(Math.random()*16777216|Date.now()).toString(16);return ie.forEach(pe=>{const _e=typeof z=="function"?z(pe):z+(counter$1++).toString(),Ce=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");$=$.replace(new RegExp('([#;"])('+Ce+')([")]|\\.[a-z])',"g"),"$1"+_e+ue+"$3")}),$=$.replace(new RegExp(ue,"g"),""),$}function iconToHTML$1($,z){let ie=$.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const le in z)ie+=" "+le+'="'+z[le]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+ie+">"+$+"</svg>"}function encodeSVGforURL$1($){return $.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData$1($){return"data:image/svg+xml,"+encodeSVGforURL$1($)}function svgToURL$1($){return'url("'+svgToData$1($)+'")'}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 $ in propsToAddTo$1){const z=propsToAddTo$1[$];for(const ie in propsToAdd$1)z[$+ie]=propsToAdd$1[ie]}const customisationAliases$1={};["horizontal","vertical"].forEach($=>{const z=$.slice(0,1)+"Flip";customisationAliases$1[$+"-flip"]=z,customisationAliases$1[$.slice(0,1)+"-flip"]=z,customisationAliases$1[$+"Flip"]=z});function fixSize$1($){return $+($.match(/^[-0-9.]+$/)?"px":"")}const render$1=($,z)=>{const ie=mergeCustomisations$1(defaultExtendedIconCustomisations$1,z),le={...svgDefaults$1},ue=z.mode||"svg",pe={},_e=z.style,Ce=typeof _e=="object"&&!(_e instanceof Array)?_e:{};for(let Et in z){const Lt=z[Et];if(Lt!==void 0)switch(Et){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":ie[Et]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString$1(ie,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?ie[Et]=rotateFromString$1(Lt):typeof Lt=="number"&&(ie[Et]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete le["aria-hidden"];break;default:{const hn=customisationAliases$1[Et];hn?(Lt===!0||Lt==="true"||Lt===1)&&(ie[hn]=!0):defaultExtendedIconCustomisations$1[Et]===void 0&&(le[Et]=Lt)}}}const $e=iconToSVG$1($,ie),xe=$e.attributes;if(ie.inline&&(pe.verticalAlign="-0.125em"),ue==="svg"){le.style={...pe,...Ce},Object.assign(le,xe);let Et=0,Lt=z.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),le.innerHTML=replaceIDs$1($e.body,Lt?()=>Lt+"ID"+Et++:"iconifyVue"),h$3("svg",le)}const{body:Ie,width:Ve,height:ze}=$,Ue=ue==="mask"||(ue==="bg"?!1:Ie.indexOf("currentColor")!==-1),qe=iconToHTML$1(Ie,{...xe,width:Ve+"",height:ze+""});return le.style={...pe,"--svg":svgToURL$1(qe),width:fixSize$1(xe.width),height:fixSize$1(xe.height),...commonProps$1,...Ue?monotoneProps$1:coloredProps$1,...Ce},h$3("span",le)},storage$1=Object.create(null);function addIcon$1($,z){storage$1[$]=z}const Icon$1=defineComponent({inheritAttrs:!1,render(){const $=this.$attrs,z=$.icon,ie=typeof z=="string"?storage$1[z]:typeof z=="object"?z:null;return ie===null||typeof ie!="object"||typeof ie.body!="string"?this.$slots.default?this.$slots.default():null:render$1({...defaultIconProps$1,...ie},$)}}),iconifyIconOffline=defineComponent({name:"IconifyIconOffline",components:{IconifyIcon:Icon$1},props:{icon:{default:null}},render(){typeof this.icon=="object"&&addIcon$1(this.icon,this.icon);const $=this.$attrs;return h$3(Icon$1,{icon:this.icon,style:$!=null&&$.style?Object.assign($.style,{outline:"none"}):{outline:"none"},...$},{default:()=>[]})}}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=($,z,ie,le="")=>{const ue=$.split(":");if($.slice(0,1)==="@"){if(ue.length<2||ue.length>3)return null;le=ue.shift().slice(1)}if(ue.length>3||!ue.length)return null;if(ue.length>1){const Ce=ue.pop(),$e=ue.pop(),xe={provider:ue.length>0?ue[0]:le,prefix:$e,name:Ce};return z&&!validateIconName(xe)?null:xe}const pe=ue[0],_e=pe.split("-");if(_e.length>1){const Ce={provider:le,prefix:_e.shift(),name:_e.join("-")};return z&&!validateIconName(Ce)?null:Ce}if(ie&&le===""){const Ce={provider:le,prefix:"",name:pe};return z&&!validateIconName(Ce,ie)?null:Ce}return null},validateIconName=($,z)=>$?!!(($.provider===""||$.provider.match(matchIconName))&&(z&&$.prefix===""||$.prefix.match(matchIconName))&&$.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($,z){const ie={};!$.hFlip!=!z.hFlip&&(ie.hFlip=!0),!$.vFlip!=!z.vFlip&&(ie.vFlip=!0);const le=(($.rotate||0)+(z.rotate||0))%4;return le&&(ie.rotate=le),ie}function mergeIconData($,z){const ie=mergeIconTransformations($,z);for(const le in defaultExtendedIconProps)le in defaultIconTransformations?le in $&&!(le in ie)&&(ie[le]=defaultIconTransformations[le]):le in z?ie[le]=z[le]:le in $&&(ie[le]=$[le]);return ie}function getIconsTree($,z){const ie=$.icons,le=$.aliases||Object.create(null),ue=Object.create(null);function pe(_e){if(ie[_e])return ue[_e]=[];if(!(_e in ue)){ue[_e]=null;const Ce=le[_e]&&le[_e].parent,$e=Ce&&pe(Ce);$e&&(ue[_e]=[Ce].concat($e))}return ue[_e]}return(z||Object.keys(ie).concat(Object.keys(le))).forEach(pe),ue}function internalGetIconData($,z,ie){const le=$.icons,ue=$.aliases||Object.create(null);let pe={};function _e(Ce){pe=mergeIconData(le[Ce]||ue[Ce],pe)}return _e(z),ie.forEach(_e),mergeIconData($,pe)}function parseIconSet($,z){const ie=[];if(typeof $!="object"||typeof $.icons!="object")return ie;$.not_found instanceof Array&&$.not_found.forEach(ue=>{z(ue,null),ie.push(ue)});const le=getIconsTree($);for(const ue in le){const pe=le[ue];pe&&(z(ue,internalGetIconData($,ue,pe)),ie.push(ue))}return ie}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps($,z){for(const ie in z)if(ie in $&&typeof $[ie]!=typeof z[ie])return!1;return!0}function quicklyValidateIconSet($){if(typeof $!="object"||$===null)return null;const z=$;if(typeof z.prefix!="string"||!$.icons||typeof $.icons!="object"||!checkOptionalProps($,optionalPropertyDefaults))return null;const ie=z.icons;for(const ue in ie){const pe=ie[ue];if(!ue.match(matchIconName)||typeof pe.body!="string"||!checkOptionalProps(pe,defaultExtendedIconProps))return null}const le=z.aliases||Object.create(null);for(const ue in le){const pe=le[ue],_e=pe.parent;if(!ue.match(matchIconName)||typeof _e!="string"||!ie[_e]&&!le[_e]||!checkOptionalProps(pe,defaultExtendedIconProps))return null}return z}const dataStorage=Object.create(null);function newStorage($,z){return{provider:$,prefix:z,icons:Object.create(null),missing:new Set}}function getStorage($,z){const ie=dataStorage[$]||(dataStorage[$]=Object.create(null));return ie[z]||(ie[z]=newStorage($,z))}function addIconSet($,z){return quicklyValidateIconSet(z)?parseIconSet(z,(ie,le)=>{le?$.icons[ie]=le:$.missing.add(ie)}):[]}function addIconToStorage($,z,ie){try{if(typeof ie.body=="string")return $.icons[z]={...ie},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames($){return typeof $=="boolean"&&(simpleNames=$),simpleNames}function getIconData($){const z=typeof $=="string"?stringToIcon($,!0,simpleNames):$;if(z){const ie=getStorage(z.provider,z.prefix),le=z.name;return ie.icons[le]||(ie.missing.has(le)?null:void 0)}}function addIcon($,z){const ie=stringToIcon($,!0,simpleNames);if(!ie)return!1;const le=getStorage(ie.provider,ie.prefix);return addIconToStorage(le,ie.name,z)}function addCollection($,z){if(typeof $!="object")return!1;if(typeof z!="string"&&(z=$.provider||""),simpleNames&&!z&&!$.prefix){let ue=!1;return quicklyValidateIconSet($)&&($.prefix="",parseIconSet($,(pe,_e)=>{_e&&addIcon(pe,_e)&&(ue=!0)})),ue}const ie=$.prefix;if(!validateIconName({provider:z,prefix:ie,name:"a"}))return!1;const le=getStorage(z,ie);return!!addIconSet(le,$)}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($,z,ie){if(z===1)return $;if(ie=ie||100,typeof $=="number")return Math.ceil($*z*ie)/ie;if(typeof $!="string")return $;const le=$.split(unitsSplit);if(le===null||!le.length)return $;const ue=[];let pe=le.shift(),_e=unitsTest.test(pe);for(;;){if(_e){const Ce=parseFloat(pe);isNaN(Ce)?ue.push(pe):ue.push(Math.ceil(Ce*z*ie)/ie)}else ue.push(pe);if(pe=le.shift(),pe===void 0)return ue.join("");_e=!_e}}const isUnsetKeyword=$=>$==="unset"||$==="undefined"||$==="none";function iconToSVG($,z){const ie={...defaultIconProps,...$},le={...defaultIconCustomisations,...z},ue={left:ie.left,top:ie.top,width:ie.width,height:ie.height};let pe=ie.body;[ie,le].forEach(qe=>{const Et=[],Lt=qe.hFlip,hn=qe.vFlip;let vn=qe.rotate;Lt?hn?vn+=2:(Et.push("translate("+(ue.width+ue.left).toString()+" "+(0-ue.top).toString()+")"),Et.push("scale(-1 1)"),ue.top=ue.left=0):hn&&(Et.push("translate("+(0-ue.left).toString()+" "+(ue.height+ue.top).toString()+")"),Et.push("scale(1 -1)"),ue.top=ue.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=ue.height/2+ue.top,Et.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:Et.unshift("rotate(180 "+(ue.width/2+ue.left).toString()+" "+(ue.height/2+ue.top).toString()+")");break;case 3:_n=ue.width/2+ue.left,Et.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(ue.left!==ue.top&&(_n=ue.left,ue.left=ue.top,ue.top=_n),ue.width!==ue.height&&(_n=ue.width,ue.width=ue.height,ue.height=_n)),Et.length&&(pe='<g transform="'+Et.join(" ")+'">'+pe+"</g>")});const _e=le.width,Ce=le.height,$e=ue.width,xe=ue.height;let Ie,Ve;_e===null?(Ve=Ce===null?"1em":Ce==="auto"?xe:Ce,Ie=calculateSize(Ve,$e/xe)):(Ie=_e==="auto"?$e:_e,Ve=Ce===null?calculateSize(Ie,xe/$e):Ce==="auto"?xe:Ce);const ze={},Ue=(qe,Et)=>{isUnsetKeyword(Et)||(ze[qe]=Et.toString())};return Ue("width",Ie),Ue("height",Ve),ze.viewBox=ue.left.toString()+" "+ue.top.toString()+" "+$e.toString()+" "+xe.toString(),{attributes:ze,body:pe}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs($,z=randomPrefix){const ie=[];let le;for(;le=regex.exec($);)ie.push(le[1]);if(!ie.length)return $;const ue="suffix"+(Math.random()*16777216|Date.now()).toString(16);return ie.forEach(pe=>{const _e=typeof z=="function"?z(pe):z+(counter++).toString(),Ce=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");$=$.replace(new RegExp('([#;"])('+Ce+')([")]|\\.[a-z])',"g"),"$1"+_e+ue+"$3")}),$=$.replace(new RegExp(ue,"g"),""),$}const storage=Object.create(null);function setAPIModule($,z){storage[$]=z}function getAPIModule($){return storage[$]||storage[""]}function createAPIConfig($){let z;if(typeof $.resources=="string")z=[$.resources];else if(z=$.resources,!(z instanceof Array)||!z.length)return null;return{resources:z,path:$.path||"/",maxURL:$.maxURL||500,rotate:$.rotate||750,timeout:$.timeout||5e3,random:$.random===!0,index:$.index||0,dataAfterTimeout:$.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($,z){const ie=createAPIConfig(z);return ie===null?!1:(configStorage[$]=ie,!0)}function getAPIConfig($){return configStorage[$]}const detectFetch=()=>{let $;try{if($=fetch,typeof $=="function")return $}catch{}};let fetchModule=detectFetch();function calculateMaxLength($,z){const ie=getAPIConfig($);if(!ie)return 0;let le;if(!ie.maxURL)le=0;else{let ue=0;ie.resources.forEach(_e=>{ue=Math.max(ue,_e.length)});const pe=z+".json?icons=";le=ie.maxURL-ue-ie.path.length-pe.length}return le}function shouldAbort($){return $===404}const prepare=($,z,ie)=>{const le=[],ue=calculateMaxLength($,z),pe="icons";let _e={type:pe,provider:$,prefix:z,icons:[]},Ce=0;return ie.forEach(($e,xe)=>{Ce+=$e.length+1,Ce>=ue&&xe>0&&(le.push(_e),_e={type:pe,provider:$,prefix:z,icons:[]},Ce=$e.length),_e.icons.push($e)}),le.push(_e),le};function getPath($){if(typeof $=="string"){const z=getAPIConfig($);if(z)return z.path}return"/"}const send=($,z,ie)=>{if(!fetchModule){ie("abort",424);return}let le=getPath(z.provider);switch(z.type){case"icons":{const pe=z.prefix,Ce=z.icons.join(","),$e=new URLSearchParams({icons:Ce});le+=pe+".json?"+$e.toString();break}case"custom":{const pe=z.uri;le+=pe.slice(0,1)==="/"?pe.slice(1):pe;break}default:ie("abort",400);return}let ue=503;fetchModule($+le).then(pe=>{const _e=pe.status;if(_e!==200){setTimeout(()=>{ie(shouldAbort(_e)?"abort":"next",_e)});return}return ue=501,pe.json()}).then(pe=>{if(typeof pe!="object"||pe===null){setTimeout(()=>{pe===404?ie("abort",pe):ie("next",ue)});return}setTimeout(()=>{ie("success",pe)})}).catch(()=>{ie("next",ue)})},fetchAPIModule={prepare,send};function sortIcons($){const z={loaded:[],missing:[],pending:[]},ie=Object.create(null);$.sort((ue,pe)=>ue.provider!==pe.provider?ue.provider.localeCompare(pe.provider):ue.prefix!==pe.prefix?ue.prefix.localeCompare(pe.prefix):ue.name.localeCompare(pe.name));let le={provider:"",prefix:"",name:""};return $.forEach(ue=>{if(le.name===ue.name&&le.prefix===ue.prefix&&le.provider===ue.provider)return;le=ue;const pe=ue.provider,_e=ue.prefix,Ce=ue.name,$e=ie[pe]||(ie[pe]=Object.create(null)),xe=$e[_e]||($e[_e]=getStorage(pe,_e));let Ie;Ce in xe.icons?Ie=z.loaded:_e===""||xe.missing.has(Ce)?Ie=z.missing:Ie=z.pending;const Ve={provider:pe,prefix:_e,name:Ce};Ie.push(Ve)}),z}function removeCallback($,z){$.forEach(ie=>{const le=ie.loaderCallbacks;le&&(ie.loaderCallbacks=le.filter(ue=>ue.id!==z))})}function updateCallbacks($){$.pendingCallbacksFlag||($.pendingCallbacksFlag=!0,setTimeout(()=>{$.pendingCallbacksFlag=!1;const z=$.loaderCallbacks?$.loaderCallbacks.slice(0):[];if(!z.length)return;let ie=!1;const le=$.provider,ue=$.prefix;z.forEach(pe=>{const _e=pe.icons,Ce=_e.pending.length;_e.pending=_e.pending.filter($e=>{if($e.prefix!==ue)return!0;const xe=$e.name;if($.icons[xe])_e.loaded.push({provider:le,prefix:ue,name:xe});else if($.missing.has(xe))_e.missing.push({provider:le,prefix:ue,name:xe});else return ie=!0,!0;return!1}),_e.pending.length!==Ce&&(ie||removeCallback([$],pe.id),pe.callback(_e.loaded.slice(0),_e.missing.slice(0),_e.pending.slice(0),pe.abort))})}))}let idCounter=0;function storeCallback($,z,ie){const le=idCounter++,ue=removeCallback.bind(null,ie,le);if(!z.pending.length)return ue;const pe={id:le,icons:z,callback:$,abort:ue};return ie.forEach(_e=>{(_e.loaderCallbacks||(_e.loaderCallbacks=[])).push(pe)}),ue}function listToIcons($,z=!0,ie=!1){const le=[];return $.forEach(ue=>{const pe=typeof ue=="string"?stringToIcon(ue,z,ie):ue;pe&&le.push(pe)}),le}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery($,z,ie,le){const ue=$.resources.length,pe=$.random?Math.floor(Math.random()*ue):$.index;let _e;if($.random){let Sn=$.resources.slice(0);for(_e=[];Sn.length>1;){const En=Math.floor(Math.random()*Sn.length);_e.push(Sn[En]),Sn=Sn.slice(0,En).concat(Sn.slice(En+1))}_e=_e.concat(Sn)}else _e=$.resources.slice(pe).concat($.resources.slice(0,pe));const Ce=Date.now();let $e="pending",xe=0,Ie,Ve=null,ze=[],Ue=[];typeof le=="function"&&Ue.push(le);function qe(){Ve&&(clearTimeout(Ve),Ve=null)}function Et(){$e==="pending"&&($e="aborted"),qe(),ze.forEach(Sn=>{Sn.status==="pending"&&(Sn.status="aborted")}),ze=[]}function Lt(Sn,En){En&&(Ue=[]),typeof Sn=="function"&&Ue.push(Sn)}function hn(){return{startTime:Ce,payload:z,status:$e,queriesSent:xe,queriesPending:ze.length,subscribe:Lt,abort:Et}}function vn(){$e="failed",Ue.forEach(Sn=>{Sn(void 0,Ie)})}function _n(){ze.forEach(Sn=>{Sn.status==="pending"&&(Sn.status="aborted")}),ze=[]}function bn(Sn,En,wn){const Tn=En!=="success";switch(ze=ze.filter(kn=>kn!==Sn),$e){case"pending":break;case"failed":if(Tn||!$.dataAfterTimeout)return;break;default:return}if(En==="abort"){Ie=wn,vn();return}if(Tn){Ie=wn,ze.length||(_e.length?Cn():vn());return}if(qe(),_n(),!$.random){const kn=$.resources.indexOf(Sn.resource);kn!==-1&&kn!==$.index&&($.index=kn)}$e="completed",Ue.forEach(kn=>{kn(wn)})}function Cn(){if($e!=="pending")return;qe();const Sn=_e.shift();if(Sn===void 0){if(ze.length){Ve=setTimeout(()=>{qe(),$e==="pending"&&(_n(),vn())},$.timeout);return}vn();return}const En={status:"pending",resource:Sn,callback:(wn,Tn)=>{bn(En,wn,Tn)}};ze.push(En),xe++,Ve=setTimeout(Cn,$.rotate),ie(Sn,z,En.callback)}return setTimeout(Cn),hn}function initRedundancy($){const z={...defaultConfig,...$};let ie=[];function le(){ie=ie.filter(Ce=>Ce().status==="pending")}function ue(Ce,$e,xe){const Ie=sendQuery(z,Ce,$e,(Ve,ze)=>{le(),xe&&xe(Ve,ze)});return ie.push(Ie),Ie}function pe(Ce){return ie.find($e=>Ce($e))||null}return{query:ue,find:pe,setIndex:Ce=>{z.index=Ce},getIndex:()=>z.index,cleanup:le}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache($){if(!redundancyCache[$]){const z=getAPIConfig($);if(!z)return;const ie=initRedundancy(z),le={config:z,redundancy:ie};redundancyCache[$]=le}return redundancyCache[$]}function sendAPIQuery($,z,ie){let le,ue;if(typeof $=="string"){const pe=getAPIModule($);if(!pe)return ie(void 0,424),emptyCallback$1;ue=pe.send;const _e=getRedundancyCache($);_e&&(le=_e.redundancy)}else{const pe=createAPIConfig($);if(pe){le=initRedundancy(pe);const _e=$.resources?$.resources[0]:"",Ce=getAPIModule(_e);Ce&&(ue=Ce.send)}}return!le||!ue?(ie(void 0,424),emptyCallback$1):le.query(z,ue,ie)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem($,z){try{return $.getItem(z)}catch{}}function setStoredItem($,z,ie){try{return $.setItem(z,ie),!0}catch{}}function removeStoredItem($,z){try{$.removeItem(z)}catch{}}function setBrowserStorageItemsCount($,z){return setStoredItem($,browserCacheCountKey,z.toString())}function getBrowserStorageItemsCount($){return parseInt(getStoredItem($,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus($){browserStorageStatus=$}let _window=typeof window>"u"?{}:window;function getBrowserStorage($){const z=$+"Storage";try{if(_window&&_window[z]&&typeof _window[z].length=="number")return _window[z]}catch{}browserStorageConfig[$]=!1}function iterateBrowserStorage($,z){const ie=getBrowserStorage($);if(!ie)return;const le=getStoredItem(ie,browserCacheVersionKey);if(le!==browserCacheVersion){if(le){const Ce=getBrowserStorageItemsCount(ie);for(let $e=0;$e<Ce;$e++)removeStoredItem(ie,browserCachePrefix+$e.toString())}setStoredItem(ie,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(ie,0);return}const ue=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,pe=Ce=>{const $e=browserCachePrefix+Ce.toString(),xe=getStoredItem(ie,$e);if(typeof xe=="string"){try{const Ie=JSON.parse(xe);if(typeof Ie=="object"&&typeof Ie.cached=="number"&&Ie.cached>ue&&typeof Ie.provider=="string"&&typeof Ie.data=="object"&&typeof Ie.data.prefix=="string"&&z(Ie,Ce))return!0}catch{}removeStoredItem(ie,$e)}};let _e=getBrowserStorageItemsCount(ie);for(let Ce=_e-1;Ce>=0;Ce--)pe(Ce)||(Ce===_e-1?(_e--,setBrowserStorageItemsCount(ie,_e)):browserStorageEmptyItems[$].add(Ce))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const $ in browserStorageConfig)iterateBrowserStorage($,z=>{const ie=z.data,le=z.provider,ue=ie.prefix,pe=getStorage(le,ue);if(!addIconSet(pe,ie).length)return!1;const _e=ie.lastModified||-1;return pe.lastModifiedCached=pe.lastModifiedCached?Math.min(pe.lastModifiedCached,_e):_e,!0})}}function updateLastModified($,z){const ie=$.lastModifiedCached;if(ie&&ie>=z)return ie===z;if($.lastModifiedCached=z,ie)for(const le in browserStorageConfig)iterateBrowserStorage(le,ue=>{const pe=ue.data;return ue.provider!==$.provider||pe.prefix!==$.prefix||pe.lastModified===z});return!0}function storeInBrowserStorage($,z){browserStorageStatus||initBrowserStorage();function ie(le){let ue;if(!browserStorageConfig[le]||!(ue=getBrowserStorage(le)))return;const pe=browserStorageEmptyItems[le];let _e;if(pe.size)pe.delete(_e=Array.from(pe).shift());else if(_e=getBrowserStorageItemsCount(ue),!setBrowserStorageItemsCount(ue,_e+1))return;const Ce={cached:Math.floor(Date.now()/browserStorageHour),provider:$.provider,data:z};return setStoredItem(ue,browserCachePrefix+_e.toString(),JSON.stringify(Ce))}z.lastModified&&!updateLastModified($,z.lastModified)||Object.keys(z.icons).length&&(z.not_found&&(z=Object.assign({},z),delete z.not_found),ie("local")||ie("session"))}function emptyCallback(){}function loadedNewIcons($){$.iconsLoaderFlag||($.iconsLoaderFlag=!0,setTimeout(()=>{$.iconsLoaderFlag=!1,updateCallbacks($)}))}function loadNewIcons($,z){$.iconsToLoad?$.iconsToLoad=$.iconsToLoad.concat(z).sort():$.iconsToLoad=z,$.iconsQueueFlag||($.iconsQueueFlag=!0,setTimeout(()=>{$.iconsQueueFlag=!1;const{provider:ie,prefix:le}=$,ue=$.iconsToLoad;delete $.iconsToLoad;let pe;if(!ue||!(pe=getAPIModule(ie)))return;pe.prepare(ie,le,ue).forEach(Ce=>{sendAPIQuery(ie,Ce,$e=>{if(typeof $e!="object")Ce.icons.forEach(xe=>{$.missing.add(xe)});else try{const xe=addIconSet($,$e);if(!xe.length)return;const Ie=$.pendingIcons;Ie&&xe.forEach(Ve=>{Ie.delete(Ve)}),storeInBrowserStorage($,$e)}catch(xe){console.error(xe)}loadedNewIcons($)})})}))}const loadIcons=($,z)=>{const ie=listToIcons($,!0,allowSimpleNames()),le=sortIcons(ie);if(!le.pending.length){let $e=!0;return z&&setTimeout(()=>{$e&&z(le.loaded,le.missing,le.pending,emptyCallback)}),()=>{$e=!1}}const ue=Object.create(null),pe=[];let _e,Ce;return le.pending.forEach($e=>{const{provider:xe,prefix:Ie}=$e;if(Ie===Ce&&xe===_e)return;_e=xe,Ce=Ie,pe.push(getStorage(xe,Ie));const Ve=ue[xe]||(ue[xe]=Object.create(null));Ve[Ie]||(Ve[Ie]=[])}),le.pending.forEach($e=>{const{provider:xe,prefix:Ie,name:Ve}=$e,ze=getStorage(xe,Ie),Ue=ze.pendingIcons||(ze.pendingIcons=new Set);Ue.has(Ve)||(Ue.add(Ve),ue[xe][Ie].push(Ve))}),pe.forEach($e=>{const{provider:xe,prefix:Ie}=$e;ue[xe][Ie].length&&loadNewIcons($e,ue[xe][Ie])}),z?storeCallback(z,le,pe):emptyCallback};function mergeCustomisations($,z){const ie={...$};for(const le in z){const ue=z[le],pe=typeof ue;le in defaultIconSizeCustomisations?(ue===null||ue&&(pe==="string"||pe==="number"))&&(ie[le]=ue):pe===typeof ie[le]&&(ie[le]=le==="rotate"?ue%4:ue)}return ie}const separator=/[\s,]+/;function flipFromString($,z){z.split(separator).forEach(ie=>{switch(ie.trim()){case"horizontal":$.hFlip=!0;break;case"vertical":$.vFlip=!0;break}})}function rotateFromString($,z=0){const ie=$.replace(/^-?[0-9.]*/,"");function le(ue){for(;ue<0;)ue+=4;return ue%4}if(ie===""){const ue=parseInt($);return isNaN(ue)?0:le(ue)}else if(ie!==$){let ue=0;switch(ie){case"%":ue=25;break;case"deg":ue=90}if(ue){let pe=parseFloat($.slice(0,$.length-ie.length));return isNaN(pe)?0:(pe=pe/ue,pe%1===0?le(pe):0)}}return z}function iconToHTML($,z){let ie=$.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const le in z)ie+=" "+le+'="'+z[le]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+ie+">"+$+"</svg>"}function encodeSVGforURL($){return $.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData($){return"data:image/svg+xml,"+encodeSVGforURL($)}function svgToURL($){return'url("'+svgToData($)+'")'}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 $ in propsToAddTo){const z=propsToAddTo[$];for(const ie in propsToAdd)z[$+ie]=propsToAdd[ie]}const customisationAliases={};["horizontal","vertical"].forEach($=>{const z=$.slice(0,1)+"Flip";customisationAliases[$+"-flip"]=z,customisationAliases[$.slice(0,1)+"-flip"]=z,customisationAliases[$+"Flip"]=z});function fixSize($){return $+($.match(/^[-0-9.]+$/)?"px":"")}const render=($,z)=>{const ie=mergeCustomisations(defaultExtendedIconCustomisations,z),le={...svgDefaults},ue=z.mode||"svg",pe={},_e=z.style,Ce=typeof _e=="object"&&!(_e instanceof Array)?_e:{};for(let Et in z){const Lt=z[Et];if(Lt!==void 0)switch(Et){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":ie[Et]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString(ie,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?ie[Et]=rotateFromString(Lt):typeof Lt=="number"&&(ie[Et]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete le["aria-hidden"];break;default:{const hn=customisationAliases[Et];hn?(Lt===!0||Lt==="true"||Lt===1)&&(ie[hn]=!0):defaultExtendedIconCustomisations[Et]===void 0&&(le[Et]=Lt)}}}const $e=iconToSVG($,ie),xe=$e.attributes;if(ie.inline&&(pe.verticalAlign="-0.125em"),ue==="svg"){le.style={...pe,...Ce},Object.assign(le,xe);let Et=0,Lt=z.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),le.innerHTML=replaceIDs($e.body,Lt?()=>Lt+"ID"+Et++:"iconifyVue"),h$3("svg",le)}const{body:Ie,width:Ve,height:ze}=$,Ue=ue==="mask"||(ue==="bg"?!1:Ie.indexOf("currentColor")!==-1),qe=iconToHTML(Ie,{...xe,width:Ve+"",height:ze+""});return le.style={...pe,"--svg":svgToURL(qe),width:fixSize(xe.width),height:fixSize(xe.height),...commonProps,...Ue?monotoneProps:coloredProps,...Ce},h$3("span",le)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const $=window;if($.IconifyPreload!==void 0){const z=$.IconifyPreload,ie="Invalid IconifyPreload syntax.";typeof z=="object"&&z!==null&&(z instanceof Array?z:[z]).forEach(le=>{try{(typeof le!="object"||le===null||le instanceof Array||typeof le.icons!="object"||typeof le.prefix!="string"||!addCollection(le))&&console.error(ie)}catch{console.error(ie)}})}if($.IconifyProviders!==void 0){const z=$.IconifyProviders;if(typeof z=="object"&&z!==null)for(let ie in z){const le="IconifyProviders["+ie+"] is invalid.";try{const ue=z[ie];if(typeof ue!="object"||!ue||ue.resources===void 0)continue;addAPIProvider(ie,ue)||console.error(le)}catch{console.error(le)}}}}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($,z){if(typeof $=="object"&&$!==null&&typeof $.body=="string")return this._name="",this.abortLoading(),{data:$};let ie;if(typeof $!="string"||(ie=stringToIcon($,!1,!0))===null)return this.abortLoading(),null;const le=getIconData(ie);if(!le)return(!this._loadingIcon||this._loadingIcon.name!==$)&&(this.abortLoading(),this._name="",le!==null&&(this._loadingIcon={name:$,abort:loadIcons([ie],()=>{this.counter++})})),null;this.abortLoading(),this._name!==$&&(this._name=$,z&&z($));const ue=["iconify"];return ie.prefix!==""&&ue.push("iconify--"+ie.prefix),ie.provider!==""&&ue.push("iconify--"+ie.provider),{data:le,classes:ue}}},render(){this.counter;const $=this.$attrs,z=this.iconMounted?this.getIcon($.icon,$.onLoad):null;if(!z)return render(emptyIcon,$);let ie=$;return z.classes&&(ie={...$,class:(typeof $.class=="string"?$.class+" ":"")+z.classes.join(" ")}),render({...defaultIconProps,...z.data},ie)}}),iconifyIconOnline=defineComponent({name:"IconifyIconOnline",components:{IconifyIcon:Icon},props:{icon:{type:String,default:""}},render(){const $=this.$attrs;return h$3(Icon,{icon:`${this.icon}`,style:$!=null&&$.style?Object.assign($.style,{outline:"none"}):{outline:"none"},...$},{default:()=>[]})}}),fontIcon=defineComponent({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const $=this.$attrs;return Object.keys($).includes("uni")||($==null?void 0:$.iconType)==="uni"?h$3("i",{class:"iconfont",...$},this.icon):Object.keys($).includes("svg")||($==null?void 0:$.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}`,...$})}}),IconifyIconOffline=iconifyIconOffline,IconifyIconOnline=iconifyIconOnline,FontIcon=fontIcon,auth=defineComponent({name:"Auth",props:{value:{type:void 0,default:[]}},setup($,{slots:z}){return()=>{var ie;return z&&hasAuth($.value)?createVNode(Fragment,null,[(ie=z.default)==null?void 0:ie.call(z)]):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:"/external",name:"https://yiming_chang.gitee.io/pure-admin-doc",meta:{title:"menus.externalLink",roles:["admin","common"]}},{path:"/iframe/pure",name:"FramePure",meta:{title:"menus.hsPureDocument",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc",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,roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,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-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:$})=>$.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 $=[];for(let z=0;z<200;z++)$.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 $},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:$})=>$.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:$})=>{let z=[{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 z=z.filter(ie=>ie.name.includes($==null?void 0:$.name)),z=z.filter(ie=>String(ie.status).includes(String($==null?void 0:$.status))),$.code&&(z=z.filter(ie=>ie.code===$.code)),{success:!0,data:{list:z,total:z.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(z,ie){module.exports=ie()})(commonjsGlobal,function(){return function($){var z={};function ie(le){if(z[le])return z[le].exports;var ue=z[le]={exports:{},id:le,loaded:!1};return $[le].call(ue.exports,ue,ue.exports,ie),ue.loaded=!0,ue.exports}return ie.m=$,ie.c=z,ie.p="",ie(0)}([function($,z,ie){var le=ie(1),ue=ie(3),pe=ie(5),_e=ie(20),Ce=ie(23),$e=ie(25),xe;typeof window<"u"&&(xe=ie(27));/*!
|
||
Mock - 模拟请求 & 模拟数据
|
||
https://github.com/nuysoft/Mock
|
||
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
|
||
*/var Ie={Handler:le,Random:pe,Util:ue,XHR:xe,RE:_e,toJSONSchema:Ce,valid:$e,heredoc:ue.heredoc,setup:function(Ve){return xe.setup(Ve)},_mocked:{}};Ie.version="1.0.1-beta3",xe&&(xe.Mock=Ie),Ie.mock=function(Ve,ze,Ue){return arguments.length===1?le.gen(Ve):(arguments.length===2&&(Ue=ze,ze=void 0),xe&&(window.XMLHttpRequest=xe),Ie._mocked[Ve+(ze||"")]={rurl:Ve,rtype:ze,template:Ue},Ie)},$.exports=Ie},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($,z,ie){z=z==null?"":z+"",ie=ie||{},ie={path:ie.path||[Constant.GUID],templatePath:ie.templatePath||[Constant.GUID++],currentContext:ie.currentContext,templateCurrentContext:ie.templateCurrentContext||$,root:ie.root||ie.currentContext,templateRoot:ie.templateRoot||ie.templateCurrentContext||$};var le=Parser.parse(z),ue=Util.type($),pe;return Handler[ue]?(pe=Handler[ue]({type:ue,template:$,name:z,parsedName:z&&z.replace(Constant.RE_KEY,"$1"),rule:le,context:ie}),ie.root||(ie.root=pe),pe):$},Handler.extend({array:function($){var z=[],ie,le;if($.template.length===0)return z;if($.rule.parameters)if($.rule.min===1&&$.rule.max===void 0)$.context.path.push($.name),$.context.templatePath.push($.name),z=Random.pick(Handler.gen($.template,void 0,{path:$.context.path,templatePath:$.context.templatePath,currentContext:z,templateCurrentContext:$.template,root:$.context.root||z,templateRoot:$.context.templateRoot||$.template})),$.context.path.pop(),$.context.templatePath.pop();else if($.rule.parameters[2])$.template.__order_index=$.template.__order_index||0,$.context.path.push($.name),$.context.templatePath.push($.name),z=Handler.gen($.template,void 0,{path:$.context.path,templatePath:$.context.templatePath,currentContext:z,templateCurrentContext:$.template,root:$.context.root||z,templateRoot:$.context.templateRoot||$.template})[$.template.__order_index%$.template.length],$.template.__order_index+=+$.rule.parameters[2],$.context.path.pop(),$.context.templatePath.pop();else for(ie=0;ie<$.rule.count;ie++)for(le=0;le<$.template.length;le++)$.context.path.push(z.length),$.context.templatePath.push(le),z.push(Handler.gen($.template[le],z.length,{path:$.context.path,templatePath:$.context.templatePath,currentContext:z,templateCurrentContext:$.template,root:$.context.root||z,templateRoot:$.context.templateRoot||$.template})),$.context.path.pop(),$.context.templatePath.pop();else for(ie=0;ie<$.template.length;ie++)$.context.path.push(ie),$.context.templatePath.push(ie),z.push(Handler.gen($.template[ie],ie,{path:$.context.path,templatePath:$.context.templatePath,currentContext:z,templateCurrentContext:$.template,root:$.context.root||z,templateRoot:$.context.templateRoot||$.template})),$.context.path.pop(),$.context.templatePath.pop();return z},object:function($){var z={},ie,le,ue,pe,_e,Ce;if($.rule.min!=null)for(ie=Util.keys($.template),ie=Random.shuffle(ie),ie=ie.slice(0,$.rule.count),Ce=0;Ce<ie.length;Ce++)ue=ie[Ce],pe=ue.replace(Constant.RE_KEY,"$1"),$.context.path.push(pe),$.context.templatePath.push(ue),z[pe]=Handler.gen($.template[ue],ue,{path:$.context.path,templatePath:$.context.templatePath,currentContext:z,templateCurrentContext:$.template,root:$.context.root||z,templateRoot:$.context.templateRoot||$.template}),$.context.path.pop(),$.context.templatePath.pop();else{ie=[],le=[];for(ue in $.template)(typeof $.template[ue]=="function"?le:ie).push(ue);for(ie=ie.concat(le),Ce=0;Ce<ie.length;Ce++)ue=ie[Ce],pe=ue.replace(Constant.RE_KEY,"$1"),$.context.path.push(pe),$.context.templatePath.push(ue),z[pe]=Handler.gen($.template[ue],ue,{path:$.context.path,templatePath:$.context.templatePath,currentContext:z,templateCurrentContext:$.template,root:$.context.root||z,templateRoot:$.context.templateRoot||$.template}),$.context.path.pop(),$.context.templatePath.pop(),_e=ue.match(Constant.RE_KEY),_e&&_e[2]&&Util.type($.template[ue])==="number"&&($.template[ue]+=parseInt(_e[2],10))}return z},number:function($){var z,ie;if($.rule.decimal){for($.template+="",ie=$.template.split("."),ie[0]=$.rule.range?$.rule.count:ie[0],ie[1]=(ie[1]||"").slice(0,$.rule.dcount);ie[1].length<$.rule.dcount;)ie[1]+=ie[1].length<$.rule.dcount-1?Random.character("number"):Random.character("123456789");z=parseFloat(ie.join("."),10)}else z=$.rule.range&&!$.rule.parameters[2]?$.rule.count:$.template;return z},boolean:function($){var z;return z=$.rule.parameters?Random.bool($.rule.min,$.rule.max,$.template):$.template,z},string:function($){var z="",ie,le,ue,pe;if($.template.length){for($.rule.count==null&&(z+=$.template),ie=0;ie<$.rule.count;ie++)z+=$.template;for(le=z.match(Constant.RE_PLACEHOLDER)||[],ie=0;ie<le.length;ie++){if(ue=le[ie],/^\\/.test(ue)){le.splice(ie--,1);continue}if(pe=Handler.placeholder(ue,$.context.currentContext,$.context.templateCurrentContext,$),le.length===1&&ue===z&&typeof pe!=typeof z){z=pe;break}z=z.replace(ue,pe)}}else z=$.rule.range?Random.string($.rule.count):$.template;return z},function:function($){return $.template.call($.context.currentContext,$)},regexp:function($){var z="";$.rule.count==null&&(z+=$.template.source);for(var ie=0;ie<$.rule.count;ie++)z+=$.template.source;return RE.Handler.gen(RE.Parser.parse(z))}}),Handler.extend({_all:function(){var $={};for(var z in Random)$[z.toLowerCase()]=z;return $},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($){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($,z){var ie=$,le=this.splitPathToArray($),ue=[];$.charAt(0)==="/"?ue=[z.context.path[0]].concat(this.normalizePath(le)):le.length>1&&(ue=z.context.path.slice(0),ue.pop(),ue=this.normalizePath(ue.concat(le)));try{$=le[le.length-1];for(var pe=z.context.root,_e=z.context.templateRoot,Ce=1;Ce<ue.length-1;Ce++)pe=pe[ue[Ce]],_e=_e[ue[Ce]];if(pe&&$ in pe)return pe[$];if(_e&&typeof _e=="object"&&$ in _e&&ie!==_e[$])return _e[$]=Handler.gen(_e[$],$,{currentContext:pe,templateCurrentContext:_e}),_e[$]}catch{}return"@"+le.join("/")},normalizePath:function($){for(var z=[],ie=0;ie<$.length;ie++)switch($[ie]){case"..":z.pop();break;case".":break;default:z.push($[ie])}return z},splitPathToArray:function($){var z=$.split(/\/+/);return z[z.length-1]||(z=z.slice(0,-1)),z[0]||(z=z.slice(1)),z}}),module.exports=Handler},function($,z){$.exports={GUID:1,RE_KEY:/(.+)\|(?:\+(\d+)|([\+\-]?\d+-?[\+\-]?\d*)?(?:\.(\d+-?\d*))?)/,RE_RANGE:/([\+\-]?\d+)-?([\+\-]?\d+)?/,RE_PLACEHOLDER:/\\*@([^@#%&()\?\s]+)(?:\((.*?)\))?/g}},function($,z){var ie={};ie.extend=function(){var ue=arguments[0]||{},pe=1,_e=arguments.length,Ce,$e,xe,Ie,Ve;for(_e===1&&(ue=this,pe=0);pe<_e;pe++)if(Ce=arguments[pe],!!Ce)for($e in Ce)xe=ue[$e],Ie=Ce[$e],ue!==Ie&&Ie!==void 0&&(ie.isArray(Ie)||ie.isObject(Ie)?(ie.isArray(Ie)&&(Ve=xe&&ie.isArray(xe)?xe:[]),ie.isObject(Ie)&&(Ve=xe&&ie.isObject(xe)?xe:{}),ue[$e]=ie.extend(Ve,Ie)):ue[$e]=Ie);return ue},ie.each=function(ue,pe,_e){var Ce,$e;if(this.type(ue)==="number")for(Ce=0;Ce<ue;Ce++)pe(Ce,Ce);else if(ue.length===+ue.length)for(Ce=0;Ce<ue.length&&pe.call(_e,ue[Ce],Ce,ue)!==!1;Ce++);else for($e in ue)if(pe.call(_e,ue[$e],$e,ue)===!1)break},ie.type=function(ue){return ue==null?String(ue):Object.prototype.toString.call(ue).match(/\[object (\w+)\]/)[1].toLowerCase()},ie.each("String Object Array RegExp Function".split(" "),function(le){ie["is"+le]=function(ue){return ie.type(ue)===le.toLowerCase()}}),ie.isObjectOrArray=function(le){return ie.isObject(le)||ie.isArray(le)},ie.isNumeric=function(le){return!isNaN(parseFloat(le))&&isFinite(le)},ie.keys=function(le){var ue=[];for(var pe in le)le.hasOwnProperty(pe)&&ue.push(pe);return ue},ie.values=function(le){var ue=[];for(var pe in le)le.hasOwnProperty(pe)&&ue.push(le[pe]);return ue},ie.heredoc=function(ue){return ue.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},ie.noop=function(){},$.exports=ie},function($,z,ie){var le=ie(2),ue=ie(5);$.exports={parse:function(pe){pe=pe==null?"":pe+"";var _e=(pe||"").match(le.RE_KEY),Ce=_e&&_e[3]&&_e[3].match(le.RE_RANGE),$e=Ce&&Ce[1]&&parseInt(Ce[1],10),xe=Ce&&Ce[2]&&parseInt(Ce[2],10),Ie=Ce?Ce[2]?ue.integer($e,xe):parseInt(Ce[1],10):void 0,Ve=_e&&_e[4]&&_e[4].match(le.RE_RANGE),ze=Ve&&Ve[1]&&parseInt(Ve[1],10),Ue=Ve&&Ve[2]&&parseInt(Ve[2],10),qe=Ve?!Ve[2]&&parseInt(Ve[1],10)||ue.integer(ze,Ue):void 0,Et={parameters:_e,range:Ce,min:$e,max:xe,count:Ie,decimal:Ve,dmin:ze,dmax:Ue,dcount:qe};for(var Lt in Et)if(Et[Lt]!=null)return Et;return{}}}},function($,z,ie){var le=ie(3),ue={extend:le.extend};ue.extend(ie(6)),ue.extend(ie(7)),ue.extend(ie(8)),ue.extend(ie(10)),ue.extend(ie(13)),ue.extend(ie(15)),ue.extend(ie(16)),ue.extend(ie(17)),ue.extend(ie(14)),ue.extend(ie(19)),$.exports=ue},function($,z){$.exports={boolean:function(ie,le,ue){return ue!==void 0?(ie=typeof ie<"u"&&!isNaN(ie)?parseInt(ie,10):1,le=typeof le<"u"&&!isNaN(le)?parseInt(le,10):1,Math.random()>1/(ie+le)*ie?!ue:ue):Math.random()>=.5},bool:function(ie,le,ue){return this.boolean(ie,le,ue)},natural:function(ie,le){return ie=typeof ie<"u"?parseInt(ie,10):0,le=typeof le<"u"?parseInt(le,10):9007199254740992,Math.round(Math.random()*(le-ie))+ie},integer:function(ie,le){return ie=typeof ie<"u"?parseInt(ie,10):-9007199254740992,le=typeof le<"u"?parseInt(le,10):9007199254740992,Math.round(Math.random()*(le-ie))+ie},int:function(ie,le){return this.integer(ie,le)},float:function(ie,le,ue,pe){ue=ue===void 0?0:ue,ue=Math.max(Math.min(ue,17),0),pe=pe===void 0?17:pe,pe=Math.max(Math.min(pe,17),0);for(var _e=this.integer(ie,le)+".",Ce=0,$e=this.natural(ue,pe);Ce<$e;Ce++)_e+=Ce<$e-1?this.character("number"):this.character("123456789");return parseFloat(_e,10)},character:function(ie){var le={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return le.alpha=le.lower+le.upper,le.undefined=le.lower+le.upper+le.number+le.symbol,ie=le[(""+ie).toLowerCase()]||ie,ie.charAt(this.natural(0,ie.length-1))},char:function(ie){return this.character(ie)},string:function(ie,le,ue){var pe;switch(arguments.length){case 0:pe=this.natural(3,7);break;case 1:pe=ie,ie=void 0;break;case 2:typeof arguments[0]=="string"?pe=le:(pe=this.natural(ie,le),ie=void 0);break;case 3:pe=this.natural(le,ue);break}for(var _e="",Ce=0;Ce<pe;Ce++)_e+=this.character(ie);return _e},str:function(){return this.string.apply(this,arguments)},range:function(ie,le,ue){arguments.length<=1&&(le=ie||0,ie=0),ue=arguments[2]||1,ie=+ie,le=+le,ue=+ue;for(var pe=Math.max(Math.ceil((le-ie)/ue),0),_e=0,Ce=new Array(pe);_e<pe;)Ce[_e++]=ie,ie+=ue;return Ce}}},function($,z){var ie={yyyy:"getFullYear",yy:function(le){return(""+le.getFullYear()).slice(2)},y:"yy",MM:function(le){var ue=le.getMonth()+1;return ue<10?"0"+ue:ue},M:function(le){return le.getMonth()+1},dd:function(le){var ue=le.getDate();return ue<10?"0"+ue:ue},d:"getDate",HH:function(le){var ue=le.getHours();return ue<10?"0"+ue:ue},H:"getHours",hh:function(le){var ue=le.getHours()%12;return ue<10?"0"+ue:ue},h:function(le){return le.getHours()%12},mm:function(le){var ue=le.getMinutes();return ue<10?"0"+ue:ue},m:"getMinutes",ss:function(le){var ue=le.getSeconds();return ue<10?"0"+ue:ue},s:"getSeconds",SS:function(le){var ue=le.getMilliseconds();return ue<10&&"00"+ue||ue<100&&"0"+ue||ue},S:"getMilliseconds",A:function(le){return le.getHours()<12?"AM":"PM"},a:function(le){return le.getHours()<12?"am":"pm"},T:"getTime"};$.exports={_patternLetters:ie,_rformat:new RegExp(function(){var le=[];for(var ue in ie)le.push(ue);return"("+le.join("|")+")"}(),"g"),_formatDate:function(le,ue){return ue.replace(this._rformat,function pe(_e,Ce){return typeof ie[Ce]=="function"?ie[Ce](le):ie[Ce]in ie?pe(_e,ie[Ce]):le[ie[Ce]]()})},_randomDate:function(le,ue){return le=le===void 0?new Date(0):le,ue=ue===void 0?new Date:ue,new Date(Math.random()*(ue.getTime()-le.getTime()))},date:function(le){return le=le||"yyyy-MM-dd",this._formatDate(this._randomDate(),le)},time:function(le){return le=le||"HH:mm:ss",this._formatDate(this._randomDate(),le)},datetime:function(le){return le=le||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),le)},now:function(le,ue){arguments.length===1&&(/year|month|day|hour|minute|second|week/.test(le)||(ue=le,le="")),le=(le||"").toLowerCase(),ue=ue||"yyyy-MM-dd HH:mm:ss";var pe=new Date;switch(le){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(le){case"week":pe.setDate(pe.getDate()-pe.getDay())}return this._formatDate(pe,ue)}}},function($,z,ie){(function(le){le.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(ue,pe,_e,Ce,$e){return arguments.length===4&&($e=Ce,Ce=void 0),arguments.length===3&&($e=_e,_e=void 0),ue||(ue=this.pick(this._adSize)),pe&&~pe.indexOf("#")&&(pe=pe.slice(1)),_e&&~_e.indexOf("#")&&(_e=_e.slice(1)),"http://dummyimage.com/"+ue+(pe?"/"+pe:"")+(_e?"/"+_e:"")+(Ce?"."+Ce:"")+($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 ue=[];for(var pe in this._brandColors)ue.push(pe);return ue},dataImage:function(ue,pe){var _e;if(typeof document<"u")_e=document.createElement("canvas");else{var Ce=le.require("canvas");_e=new Ce}var $e=_e&&_e.getContext&&_e.getContext("2d");if(!_e||!$e)return"";ue||(ue=this.pick(this._adSize)),pe=pe!==void 0?pe:ue,ue=ue.split("x");var xe=parseInt(ue[0],10),Ie=parseInt(ue[1],10),Ve=this._brandColors[this.pick(this._brandNames())],ze="#FFF",Ue=14,qe="sans-serif";return _e.width=xe,_e.height=Ie,$e.textAlign="center",$e.textBaseline="middle",$e.fillStyle=Ve,$e.fillRect(0,0,xe,Ie),$e.fillStyle=ze,$e.font="bold "+Ue+"px "+qe,$e.fillText(pe,xe/2,Ie/2,xe),_e.toDataURL("image/png")}}}).call(z,ie(9)($))},function($,z){$.exports=function(ie){return ie.webpackPolyfill||(ie.deprecate=function(){},ie.paths=[],ie.children=[],ie.webpackPolyfill=1),ie}},function($,z,ie){var le=ie(11),ue=ie(12);$.exports={color:function(pe){return pe||ue[pe]?ue[pe].nicer:this.hex()},hex:function(){var pe=this._goldenRatioColor(),_e=le.hsv2rgb(pe),Ce=le.rgb2hex(_e[0],_e[1],_e[2]);return Ce},rgb:function(){var pe=this._goldenRatioColor(),_e=le.hsv2rgb(pe);return"rgb("+parseInt(_e[0],10)+", "+parseInt(_e[1],10)+", "+parseInt(_e[2],10)+")"},rgba:function(){var pe=this._goldenRatioColor(),_e=le.hsv2rgb(pe);return"rgba("+parseInt(_e[0],10)+", "+parseInt(_e[1],10)+", "+parseInt(_e[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var pe=this._goldenRatioColor(),_e=le.hsv2hsl(pe);return"hsl("+parseInt(_e[0],10)+", "+parseInt(_e[1],10)+", "+parseInt(_e[2],10)+")"},_goldenRatioColor:function(pe,_e){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,typeof pe!="number"&&(pe=.5),typeof _e!="number"&&(_e=.95),[this._hue*360,pe*100,_e*100]}}},function($,z){$.exports={rgb2hsl:function(le){var ue=le[0]/255,pe=le[1]/255,_e=le[2]/255,Ce=Math.min(ue,pe,_e),$e=Math.max(ue,pe,_e),xe=$e-Ce,Ie,Ve,ze;return $e==Ce?Ie=0:ue==$e?Ie=(pe-_e)/xe:pe==$e?Ie=2+(_e-ue)/xe:_e==$e&&(Ie=4+(ue-pe)/xe),Ie=Math.min(Ie*60,360),Ie<0&&(Ie+=360),ze=(Ce+$e)/2,$e==Ce?Ve=0:ze<=.5?Ve=xe/($e+Ce):Ve=xe/(2-$e-Ce),[Ie,Ve*100,ze*100]},rgb2hsv:function(le){var ue=le[0],pe=le[1],_e=le[2],Ce=Math.min(ue,pe,_e),$e=Math.max(ue,pe,_e),xe=$e-Ce,Ie,Ve,ze;return $e===0?Ve=0:Ve=xe/$e*1e3/10,$e==Ce?Ie=0:ue==$e?Ie=(pe-_e)/xe:pe==$e?Ie=2+(_e-ue)/xe:_e==$e&&(Ie=4+(ue-pe)/xe),Ie=Math.min(Ie*60,360),Ie<0&&(Ie+=360),ze=$e/255*1e3/10,[Ie,Ve,ze]},hsl2rgb:function(le){var ue=le[0]/360,pe=le[1]/100,_e=le[2]/100,Ce,$e,xe,Ie,Ve;if(pe===0)return Ve=_e*255,[Ve,Ve,Ve];_e<.5?$e=_e*(1+pe):$e=_e+pe-_e*pe,Ce=2*_e-$e,Ie=[0,0,0];for(var ze=0;ze<3;ze++)xe=ue+1/3*-(ze-1),xe<0&&xe++,xe>1&&xe--,6*xe<1?Ve=Ce+($e-Ce)*6*xe:2*xe<1?Ve=$e:3*xe<2?Ve=Ce+($e-Ce)*(2/3-xe)*6:Ve=Ce,Ie[ze]=Ve*255;return Ie},hsl2hsv:function(le){var ue=le[0],pe=le[1]/100,_e=le[2]/100,Ce,$e;return _e*=2,pe*=_e<=1?_e:2-_e,$e=(_e+pe)/2,Ce=2*pe/(_e+pe),[ue,Ce*100,$e*100]},hsv2rgb:function(le){var ue=le[0]/60,pe=le[1]/100,_e=le[2]/100,Ce=Math.floor(ue)%6,$e=ue-Math.floor(ue),xe=255*_e*(1-pe),Ie=255*_e*(1-pe*$e),Ve=255*_e*(1-pe*(1-$e));switch(_e=255*_e,Ce){case 0:return[_e,Ve,xe];case 1:return[Ie,_e,xe];case 2:return[xe,_e,Ve];case 3:return[xe,Ie,_e];case 4:return[Ve,xe,_e];case 5:return[_e,xe,Ie]}},hsv2hsl:function(le){var ue=le[0],pe=le[1]/100,_e=le[2]/100,Ce,$e;return $e=(2-pe)*_e,Ce=pe*_e,Ce/=$e<=1?$e:2-$e,$e/=2,[ue,Ce*100,$e*100]},rgb2hex:function(ie,le,ue){return"#"+((256+ie<<8|le)<<8|ue).toString(16).slice(1)},hex2rgb:function(ie){return ie="0x"+ie.slice(1).replace(ie.length>4?ie:/./g,"$&$&")|0,[ie>>16,ie>>8&255,ie&255]}}},function($,z){$.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($,z,ie){var le=ie(6),ue=ie(14);function pe(_e,Ce,$e,xe){return $e===void 0?le.natural(_e,Ce):xe===void 0?$e:le.natural(parseInt($e,10),parseInt(xe,10))}$.exports={paragraph:function(_e,Ce){for(var $e=pe(3,7,_e,Ce),xe=[],Ie=0;Ie<$e;Ie++)xe.push(this.sentence());return xe.join(" ")},cparagraph:function(_e,Ce){for(var $e=pe(3,7,_e,Ce),xe=[],Ie=0;Ie<$e;Ie++)xe.push(this.csentence());return xe.join("")},sentence:function(_e,Ce){for(var $e=pe(12,18,_e,Ce),xe=[],Ie=0;Ie<$e;Ie++)xe.push(this.word());return ue.capitalize(xe.join(" "))+"."},csentence:function(_e,Ce){for(var $e=pe(12,18,_e,Ce),xe=[],Ie=0;Ie<$e;Ie++)xe.push(this.cword());return xe.join("")+"。"},word:function(_e,Ce){for(var $e=pe(3,10,_e,Ce),xe="",Ie=0;Ie<$e;Ie++)xe+=le.character("lower");return xe},cword:function(_e,Ce,$e){var xe="的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞",Ie;switch(arguments.length){case 0:_e=xe,Ie=1;break;case 1:typeof arguments[0]=="string"?Ie=1:(Ie=_e,_e=xe);break;case 2:typeof arguments[0]=="string"?Ie=Ce:(Ie=this.natural(_e,Ce),_e=xe);break;case 3:Ie=this.natural(Ce,$e);break}for(var Ve="",ze=0;ze<Ie;ze++)Ve+=_e.charAt(this.natural(0,_e.length-1));return Ve},title:function(_e,Ce){for(var $e=pe(3,7,_e,Ce),xe=[],Ie=0;Ie<$e;Ie++)xe.push(this.capitalize(this.word()));return xe.join(" ")},ctitle:function(_e,Ce){for(var $e=pe(3,7,_e,Ce),xe=[],Ie=0;Ie<$e;Ie++)xe.push(this.cword());return xe.join("")}}},function($,z,ie){var le=ie(3);$.exports={capitalize:function(ue){return(ue+"").charAt(0).toUpperCase()+(ue+"").substr(1)},upper:function(ue){return(ue+"").toUpperCase()},lower:function(ue){return(ue+"").toLowerCase()},pick:function(pe,_e,Ce){return le.isArray(pe)?(_e===void 0&&(_e=1),Ce===void 0&&(Ce=_e)):(pe=[].slice.call(arguments),_e=1,Ce=1),_e===1&&Ce===1?pe[this.natural(0,pe.length-1)]:this.shuffle(pe,_e,Ce)},shuffle:function(pe,_e,Ce){pe=pe||[];for(var $e=pe.slice(0),xe=[],Ie=0,Ve=$e.length,ze=0;ze<Ve;ze++)Ie=this.natural(0,$e.length-1),xe.push($e[Ie]),$e.splice(Ie,1);switch(arguments.length){case 0:case 1:return xe;case 2:Ce=_e;case 3:return _e=parseInt(_e,10),Ce=parseInt(Ce,10),xe.slice(0,this.natural(_e,Ce))}},order:function ue(pe){ue.cache=ue.cache||{},arguments.length>1&&(pe=[].slice.call(arguments,0));var _e=ue.options,Ce=_e.context.templatePath.join("."),$e=ue.cache[Ce]=ue.cache[Ce]||{index:0,array:pe};return $e.array[$e.index++%$e.array.length]}}},function($,z){$.exports={first:function(){var ie=["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(ie)},last:function(){var ie=["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(ie)},name:function(ie){return this.first()+" "+(ie?this.first()+" ":"")+this.last()},cfirst:function(){var ie="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(ie)},clast:function(){var ie="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(ie)},cname:function(){return this.cfirst()+this.clast()}}},function($,z){$.exports={url:function(ie,le){return(ie||this.protocol())+"://"+(le||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(ie){return this.word()+"."+(ie||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(ie){return this.character("lower")+"."+this.word()+"@"+(ie||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function($,z,ie){var le=ie(18),ue=["东北","华北","华东","华中","华南","西南","西北"];$.exports={region:function(){return this.pick(ue)},province:function(){return this.pick(le).name},city:function(pe){var _e=this.pick(le),Ce=this.pick(_e.children);return pe?[_e.name,Ce.name].join(" "):Ce.name},county:function(pe){var _e=this.pick(le),Ce=this.pick(_e.children),$e=this.pick(Ce.children)||{name:"-"};return pe?[_e.name,Ce.name,$e.name].join(" "):$e.name},zip:function(pe){for(var _e="",Ce=0;Ce<(pe||6);Ce++)_e+=this.natural(0,9);return _e}}},function($,z){var ie={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 le(pe){for(var _e={},Ce=0,$e;Ce<pe.length;Ce++)$e=pe[Ce],!(!$e||!$e.id)&&(_e[$e.id]=$e);for(var xe=[],Ie=0;Ie<pe.length;Ie++)if($e=pe[Ie],!!$e){if($e.pid==null&&$e.parentId==null){xe.push($e);continue}var Ve=_e[$e.pid]||_e[$e.parentId];Ve&&(Ve.children||(Ve.children=[]),Ve.children.push($e))}return xe}var ue=function(){var pe=[];for(var _e in ie){var Ce=_e.slice(2,6)==="0000"?void 0:_e.slice(4,6)=="00"?_e.slice(0,2)+"0000":_e.slice(0,4)+"00";pe.push({id:_e,pid:Ce,name:ie[_e]})}return le(pe)}();$.exports=ue},function($,z,ie){var le=ie(18);$.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 ue="abcdefABCDEF1234567890",pe=this.string(ue,8)+"-"+this.string(ue,4)+"-"+this.string(ue,4)+"-"+this.string(ue,4)+"-"+this.string(ue,12);return pe},uuid:function(){return this.guid()},id:function(){var ue,pe=0,_e=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],Ce=["1","0","X","9","8","7","6","5","4","3","2"];ue=this.pick(le).id+this.date("yyyyMMdd")+this.string("number",3);for(var $e=0;$e<ue.length;$e++)pe+=ue[$e]*_e[$e];return ue+=Ce[pe%11],ue},increment:function(){var ue=0;return function(pe){return ue+=+pe||1}}(),inc:function(ue){return this.increment(ue)}}},function($,z,ie){var le=ie(21),ue=ie(22);$.exports={Parser:le,Handler:ue}},function($,z){function ie(bn){this.type=bn,this.offset=ie.offset(),this.text=ie.text()}function le(bn,Cn){ie.call(this,"alternate"),this.left=bn,this.right=Cn}function ue(bn){ie.call(this,"match"),this.body=bn.filter(Boolean)}function pe(bn,Cn){ie.call(this,bn),this.body=Cn}function _e(bn){pe.call(this,"capture-group"),this.index=_n[this.offset]||(_n[this.offset]=vn++),this.body=bn}function Ce(bn,Cn){ie.call(this,"quantified"),this.body=bn,this.quantifier=Cn}function $e(bn,Cn){ie.call(this,"quantifier"),this.min=bn,this.max=Cn,this.greedy=!0}function xe(bn,Cn){ie.call(this,"charset"),this.invert=bn,this.body=Cn}function Ie(bn,Cn){ie.call(this,"range"),this.start=bn,this.end=Cn}function Ve(bn){ie.call(this,"literal"),this.body=bn,this.escaped=this.body!=this.text}function ze(bn){ie.call(this,"unicode"),this.code=bn.toUpperCase()}function Ue(bn){ie.call(this,"hex"),this.code=bn.toUpperCase()}function qe(bn){ie.call(this,"octal"),this.code=bn.toUpperCase()}function Et(bn){ie.call(this,"back-reference"),this.code=bn.toUpperCase()}function Lt(bn){ie.call(this,"control-character"),this.code=bn.toUpperCase()}var hn=function(){function bn(En,wn){function Tn(){this.constructor=En}Tn.prototype=wn.prototype,En.prototype=new Tn}function Cn(En,wn,Tn,kn,xn){function Pn(An,In){function Fn(Vn){function Mn(zn){return zn.charCodeAt(0).toString(16).toUpperCase()}return Vn.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(zn){return"\\x0"+Mn(zn)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(zn){return"\\x"+Mn(zn)}).replace(/[\u0180-\u0FFF]/g,function(zn){return"\\u0"+Mn(zn)}).replace(/[\u1080-\uFFFF]/g,function(zn){return"\\u"+Mn(zn)})}var Dn,On;switch(An.length){case 0:Dn="end of input";break;case 1:Dn=An[0];break;default:Dn=An.slice(0,-1).join(", ")+" or "+An[An.length-1]}return On=In?'"'+Fn(In)+'"':"end of input","Expected "+Dn+" but "+On+" found."}this.expected=En,this.found=wn,this.offset=Tn,this.line=kn,this.column=xn,this.name="SyntaxError",this.message=Pn(En,wn)}function Sn(En){function wn(){return En.substring(Kr,tr)}function Tn(){return Kr}function kn(Rn){function Un(Ir,Ur,qr){var to,ao;for(to=Ur;qr>to;to++)ao=En.charAt(to),ao===`
|
||
`?(Ir.seenCR||Ir.line++,Ir.column=1,Ir.seenCR=!1):ao==="\r"||ao==="\u2028"||ao==="\u2029"?(Ir.line++,Ir.column=1,Ir.seenCR=!0):(Ir.column++,Ir.seenCR=!1)}return oo!==Rn&&(oo>Rn&&(oo=0,go={line:1,column:1,seenCR:!1}),Un(go,oo,Rn),oo=Rn),go}function xn(Rn){co>tr||(tr>co&&(co=tr,po=[]),po.push(Rn))}function Pn(Rn){var Un=0;for(Rn.sort();Un<Rn.length;)Rn[Un-1]===Rn[Un]?Rn.splice(Un,1):Un++}function An(){var Rn,Un,Ir,Ur,qr;return Rn=tr,Un=In(),Un!==null?(Ir=tr,En.charCodeAt(tr)===124?(Ur=no,tr++):(Ur=null,Br===0&&xn(ea)),Ur!==null?(qr=An(),qr!==null?(Ur=[Ur,qr],Ir=Ur):(tr=Ir,Ir=zr)):(tr=Ir,Ir=zr),Ir===null&&(Ir=Qr),Ir!==null?(Kr=Rn,Un=ta(Un,Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function In(){var Rn,Un,Ir,Ur,qr;if(Rn=tr,Un=Dn(),Un===null&&(Un=Qr),Un!==null)if(Ir=tr,Br++,Ur=Mn(),Br--,Ur===null?Ir=Qr:(tr=Ir,Ir=zr),Ir!==null){for(Ur=[],qr=Vn(),qr===null&&(qr=Fn());qr!==null;)Ur.push(qr),qr=Vn(),qr===null&&(qr=Fn());Ur!==null?(qr=On(),qr===null&&(qr=Qr),qr!==null?(Kr=Rn,Un=na(Un,Ur,qr),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)}else tr=Rn,Rn=zr;else tr=Rn,Rn=zr;return Rn}function Fn(){var Rn;return Rn=Wn(),Rn===null&&(Rn=rr(),Rn===null&&(Rn=gr())),Rn}function Dn(){var Rn,Un;return Rn=tr,En.charCodeAt(tr)===94?(Un=_o,tr++):(Un=null,Br===0&&xn(bo)),Un!==null&&(Kr=Rn,Un=ra()),Un===null&&(tr=Rn),Rn=Un,Rn}function On(){var Rn,Un;return Rn=tr,En.charCodeAt(tr)===36?(Un=oa,tr++):(Un=null,Br===0&&xn(aa)),Un!==null&&(Kr=Rn,Un=ia()),Un===null&&(tr=Rn),Rn=Un,Rn}function Vn(){var Rn,Un,Ir;return Rn=tr,Un=Fn(),Un!==null?(Ir=Mn(),Ir!==null?(Kr=Rn,Un=sa(Un,Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Mn(){var Rn,Un,Ir;return Br++,Rn=tr,Un=zn(),Un!==null?(Ir=Yn(),Ir===null&&(Ir=Qr),Ir!==null?(Kr=Rn,Un=ua(Un,Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Br--,Rn===null&&(Un=null,Br===0&&xn(la)),Rn}function zn(){var Rn;return Rn=Kn(),Rn===null&&(Rn=Hn(),Rn===null&&(Rn=Xn(),Rn===null&&(Rn=lr(),Rn===null&&(Rn=yr(),Rn===null&&(Rn=ir()))))),Rn}function Kn(){var Rn,Un,Ir,Ur,qr,to;return Rn=tr,En.charCodeAt(tr)===123?(Un=ho,tr++):(Un=null,Br===0&&xn(mo)),Un!==null?(Ir=Gn(),Ir!==null?(En.charCodeAt(tr)===44?(Ur=da,tr++):(Ur=null,Br===0&&xn(fa)),Ur!==null?(qr=Gn(),qr!==null?(En.charCodeAt(tr)===125?(to=Co,tr++):(to=null,Br===0&&xn(So)),to!==null?(Kr=Rn,Un=pa(Ir,qr),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Hn(){var Rn,Un,Ir,Ur;return Rn=tr,En.charCodeAt(tr)===123?(Un=ho,tr++):(Un=null,Br===0&&xn(mo)),Un!==null?(Ir=Gn(),Ir!==null?(En.substr(tr,2)===Eo?(Ur=Eo,tr+=2):(Ur=null,Br===0&&xn(ha)),Ur!==null?(Kr=Rn,Un=ma(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Xn(){var Rn,Un,Ir,Ur;return Rn=tr,En.charCodeAt(tr)===123?(Un=ho,tr++):(Un=null,Br===0&&xn(mo)),Un!==null?(Ir=Gn(),Ir!==null?(En.charCodeAt(tr)===125?(Ur=Co,tr++):(Ur=null,Br===0&&xn(So)),Ur!==null?(Kr=Rn,Un=va(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function lr(){var Rn,Un;return Rn=tr,En.charCodeAt(tr)===43?(Un=ga,tr++):(Un=null,Br===0&&xn(ya)),Un!==null&&(Kr=Rn,Un=ba()),Un===null&&(tr=Rn),Rn=Un,Rn}function yr(){var Rn,Un;return Rn=tr,En.charCodeAt(tr)===42?(Un=Ca,tr++):(Un=null,Br===0&&xn(Sa)),Un!==null&&(Kr=Rn,Un=Ea()),Un===null&&(tr=Rn),Rn=Un,Rn}function ir(){var Rn,Un;return Rn=tr,En.charCodeAt(tr)===63?(Un=$o,tr++):(Un=null,Br===0&&xn(wo)),Un!==null&&(Kr=Rn,Un=$a()),Un===null&&(tr=Rn),Rn=Un,Rn}function Yn(){var Rn;return En.charCodeAt(tr)===63?(Rn=$o,tr++):(Rn=null,Br===0&&xn(wo)),Rn}function Gn(){var Rn,Un,Ir;if(Rn=tr,Un=[],To.test(En.charAt(tr))?(Ir=En.charAt(tr),tr++):(Ir=null,Br===0&&xn(xo)),Ir!==null)for(;Ir!==null;)Un.push(Ir),To.test(En.charAt(tr))?(Ir=En.charAt(tr),tr++):(Ir=null,Br===0&&xn(xo));else Un=zr;return Un!==null&&(Kr=Rn,Un=wa(Un)),Un===null&&(tr=Rn),Rn=Un,Rn}function Wn(){var Rn,Un,Ir,Ur;return Rn=tr,En.charCodeAt(tr)===40?(Un=Ta,tr++):(Un=null,Br===0&&xn(xa)),Un!==null?(Ir=jn(),Ir===null&&(Ir=Zn(),Ir===null&&(Ir=fr(),Ir===null&&(Ir=Qn()))),Ir!==null?(En.charCodeAt(tr)===41?(Ur=ka,tr++):(Ur=null,Br===0&&xn(Pa)),Ur!==null?(Kr=Rn,Un=Aa(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Qn(){var Rn,Un;return Rn=tr,Un=An(),Un!==null&&(Kr=Rn,Un=Oa(Un)),Un===null&&(tr=Rn),Rn=Un,Rn}function fr(){var Rn,Un,Ir;return Rn=tr,En.substr(tr,2)===ko?(Un=ko,tr+=2):(Un=null,Br===0&&xn(Ia)),Un!==null?(Ir=An(),Ir!==null?(Kr=Rn,Un=Ma(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function jn(){var Rn,Un,Ir;return Rn=tr,En.substr(tr,2)===Po?(Un=Po,tr+=2):(Un=null,Br===0&&xn(Na)),Un!==null?(Ir=An(),Ir!==null?(Kr=Rn,Un=Ra(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Zn(){var Rn,Un,Ir;return Rn=tr,En.substr(tr,2)===Ao?(Un=Ao,tr+=2):(Un=null,Br===0&&xn(Da)),Un!==null?(Ir=An(),Ir!==null?(Kr=Rn,Un=La(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function rr(){var Rn,Un,Ir,Ur,qr;if(Br++,Rn=tr,En.charCodeAt(tr)===91?(Un=Va,tr++):(Un=null,Br===0&&xn(Fa)),Un!==null)if(En.charCodeAt(tr)===94?(Ir=_o,tr++):(Ir=null,Br===0&&xn(bo)),Ir===null&&(Ir=Qr),Ir!==null){for(Ur=[],qr=mr(),qr===null&&(qr=_r());qr!==null;)Ur.push(qr),qr=mr(),qr===null&&(qr=_r());Ur!==null?(En.charCodeAt(tr)===93?(qr=za,tr++):(qr=null,Br===0&&xn(Ha)),qr!==null?(Kr=Rn,Un=Ua(Ir,Ur),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)}else tr=Rn,Rn=zr;else tr=Rn,Rn=zr;return Br--,Rn===null&&(Un=null,Br===0&&xn(Ba)),Rn}function mr(){var Rn,Un,Ir,Ur;return Br++,Rn=tr,Un=_r(),Un!==null?(En.charCodeAt(tr)===45?(Ir=Wa,tr++):(Ir=null,Br===0&&xn(Ga)),Ir!==null?(Ur=_r(),Ur!==null?(Kr=Rn,Un=Ka(Un,Ur),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Br--,Rn===null&&(Un=null,Br===0&&xn(ja)),Rn}function _r(){var Rn;return Br++,Rn=$r(),Rn===null&&(Rn=or()),Br--,Rn===null&&Br===0&&xn(Ya),Rn}function or(){var Rn,Un;return Rn=tr,qa.test(En.charAt(tr))?(Un=En.charAt(tr),tr++):(Un=null,Br===0&&xn(Za)),Un!==null&&(Kr=Rn,Un=vo(Un)),Un===null&&(tr=Rn),Rn=Un,Rn}function $r(){var Rn;return Rn=cr(),Rn===null&&(Rn=Cr(),Rn===null&&(Rn=Dr(),Rn===null&&(Rn=Lr(),Rn===null&&(Rn=Nr(),Rn===null&&(Rn=br(),Rn===null&&(Rn=Tr(),Rn===null&&(Rn=ur(),Rn===null&&(Rn=Jn(),Rn===null&&(Rn=ar(),Rn===null&&(Rn=Sr(),Rn===null&&(Rn=Or(),Rn===null&&(Rn=Vr(),Rn===null&&(Rn=Fr(),Rn===null&&(Rn=jr(),Rn===null&&(Rn=Gr(),Rn===null&&(Rn=Yr(),Rn===null&&(Rn=Xr()))))))))))))))))),Rn}function gr(){var Rn;return Rn=xr(),Rn===null&&(Rn=sr(),Rn===null&&(Rn=pr())),Rn}function xr(){var Rn,Un;return Rn=tr,En.charCodeAt(tr)===46?(Un=Xa,tr++):(Un=null,Br===0&&xn(Ja)),Un!==null&&(Kr=Rn,Un=Qa()),Un===null&&(tr=Rn),Rn=Un,Rn}function pr(){var Rn,Un;return Br++,Rn=tr,ti.test(En.charAt(tr))?(Un=En.charAt(tr),tr++):(Un=null,Br===0&&xn(ni)),Un!==null&&(Kr=Rn,Un=vo(Un)),Un===null&&(tr=Rn),Rn=Un,Br--,Rn===null&&(Un=null,Br===0&&xn(ei)),Rn}function sr(){var Rn;return Rn=hr(),Rn===null&&(Rn=Pr(),Rn===null&&(Rn=Cr(),Rn===null&&(Rn=Dr(),Rn===null&&(Rn=Lr(),Rn===null&&(Rn=Nr(),Rn===null&&(Rn=br(),Rn===null&&(Rn=Tr(),Rn===null&&(Rn=ur(),Rn===null&&(Rn=Jn(),Rn===null&&(Rn=ar(),Rn===null&&(Rn=Sr(),Rn===null&&(Rn=Or(),Rn===null&&(Rn=Vr(),Rn===null&&(Rn=Mr(),Rn===null&&(Rn=Fr(),Rn===null&&(Rn=jr(),Rn===null&&(Rn=Gr(),Rn===null&&(Rn=Yr(),Rn===null&&(Rn=Xr()))))))))))))))))))),Rn}function cr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===io?(Un=io,tr+=2):(Un=null,Br===0&&xn(Oo)),Un!==null&&(Kr=Rn,Un=ri()),Un===null&&(tr=Rn),Rn=Un,Rn}function hr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===io?(Un=io,tr+=2):(Un=null,Br===0&&xn(Oo)),Un!==null&&(Kr=Rn,Un=oi()),Un===null&&(tr=Rn),Rn=Un,Rn}function Pr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Io?(Un=Io,tr+=2):(Un=null,Br===0&&xn(ai)),Un!==null&&(Kr=Rn,Un=ii()),Un===null&&(tr=Rn),Rn=Un,Rn}function Dr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Mo?(Un=Mo,tr+=2):(Un=null,Br===0&&xn(si)),Un!==null&&(Kr=Rn,Un=li()),Un===null&&(tr=Rn),Rn=Un,Rn}function Lr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===No?(Un=No,tr+=2):(Un=null,Br===0&&xn(ui)),Un!==null&&(Kr=Rn,Un=ci()),Un===null&&(tr=Rn),Rn=Un,Rn}function Nr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Ro?(Un=Ro,tr+=2):(Un=null,Br===0&&xn(di)),Un!==null&&(Kr=Rn,Un=fi()),Un===null&&(tr=Rn),Rn=Un,Rn}function br(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Do?(Un=Do,tr+=2):(Un=null,Br===0&&xn(pi)),Un!==null&&(Kr=Rn,Un=hi()),Un===null&&(tr=Rn),Rn=Un,Rn}function Tr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Lo?(Un=Lo,tr+=2):(Un=null,Br===0&&xn(mi)),Un!==null&&(Kr=Rn,Un=vi()),Un===null&&(tr=Rn),Rn=Un,Rn}function ur(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Bo?(Un=Bo,tr+=2):(Un=null,Br===0&&xn(gi)),Un!==null&&(Kr=Rn,Un=yi()),Un===null&&(tr=Rn),Rn=Un,Rn}function Jn(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Vo?(Un=Vo,tr+=2):(Un=null,Br===0&&xn(_i)),Un!==null&&(Kr=Rn,Un=bi()),Un===null&&(tr=Rn),Rn=Un,Rn}function ar(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Fo?(Un=Fo,tr+=2):(Un=null,Br===0&&xn(Ci)),Un!==null&&(Kr=Rn,Un=Si()),Un===null&&(tr=Rn),Rn=Un,Rn}function Sr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===zo?(Un=zo,tr+=2):(Un=null,Br===0&&xn(Ei)),Un!==null&&(Kr=Rn,Un=$i()),Un===null&&(tr=Rn),Rn=Un,Rn}function Or(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Ho?(Un=Ho,tr+=2):(Un=null,Br===0&&xn(wi)),Un!==null&&(Kr=Rn,Un=Ti()),Un===null&&(tr=Rn),Rn=Un,Rn}function Vr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===Uo?(Un=Uo,tr+=2):(Un=null,Br===0&&xn(xi)),Un!==null&&(Kr=Rn,Un=ki()),Un===null&&(tr=Rn),Rn=Un,Rn}function Cr(){var Rn,Un,Ir;return Rn=tr,En.substr(tr,2)===jo?(Un=jo,tr+=2):(Un=null,Br===0&&xn(Pi)),Un!==null?(En.length>tr?(Ir=En.charAt(tr),tr++):(Ir=null,Br===0&&xn(Wo)),Ir!==null?(Kr=Rn,Un=Ai(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Mr(){var Rn,Un,Ir;return Rn=tr,En.charCodeAt(tr)===92?(Un=Go,tr++):(Un=null,Br===0&&xn(Ko)),Un!==null?(Oi.test(En.charAt(tr))?(Ir=En.charAt(tr),tr++):(Ir=null,Br===0&&xn(Ii)),Ir!==null?(Kr=Rn,Un=Mi(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}function Fr(){var Rn,Un,Ir,Ur;if(Rn=tr,En.substr(tr,2)===so?(Un=so,tr+=2):(Un=null,Br===0&&xn(Yo)),Un!==null){if(Ir=[],qo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&xn(Zo)),Ur!==null)for(;Ur!==null;)Ir.push(Ur),qo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&xn(Zo));else Ir=zr;Ir!==null?(Kr=Rn,Un=Ni(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)}else tr=Rn,Rn=zr;return Rn}function jr(){var Rn,Un,Ir,Ur;if(Rn=tr,En.substr(tr,2)===Xo?(Un=Xo,tr+=2):(Un=null,Br===0&&xn(Ri)),Un!==null){if(Ir=[],lo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&xn(uo)),Ur!==null)for(;Ur!==null;)Ir.push(Ur),lo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&xn(uo));else Ir=zr;Ir!==null?(Kr=Rn,Un=Di(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)}else tr=Rn,Rn=zr;return Rn}function Gr(){var Rn,Un,Ir,Ur;if(Rn=tr,En.substr(tr,2)===Jo?(Un=Jo,tr+=2):(Un=null,Br===0&&xn(Li)),Un!==null){if(Ir=[],lo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&xn(uo)),Ur!==null)for(;Ur!==null;)Ir.push(Ur),lo.test(En.charAt(tr))?(Ur=En.charAt(tr),tr++):(Ur=null,Br===0&&xn(uo));else Ir=zr;Ir!==null?(Kr=Rn,Un=Bi(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)}else tr=Rn,Rn=zr;return Rn}function Yr(){var Rn,Un;return Rn=tr,En.substr(tr,2)===so?(Un=so,tr+=2):(Un=null,Br===0&&xn(Yo)),Un!==null&&(Kr=Rn,Un=Vi()),Un===null&&(tr=Rn),Rn=Un,Rn}function Xr(){var Rn,Un,Ir;return Rn=tr,En.charCodeAt(tr)===92?(Un=Go,tr++):(Un=null,Br===0&&xn(Ko)),Un!==null?(En.length>tr?(Ir=En.charAt(tr),tr++):(Ir=null,Br===0&&xn(Wo)),Ir!==null?(Kr=Rn,Un=vo(Ir),Un===null&&(tr=Rn),Rn=Un):(tr=Rn,Rn=zr)):(tr=Rn,Rn=zr),Rn}var kr,Rr=arguments.length>1?arguments[1]:{},Wr={regexp:An},Zr=An,zr=null,Qr="",no="|",ea='"|"',ta=function(Rn,Un){return Un?new le(Rn,Un[1]):Rn},na=function(Rn,Un,Ir){return new ue([Rn].concat(Un).concat([Ir]))},_o="^",bo='"^"',ra=function(){return new ie("start")},oa="$",aa='"$"',ia=function(){return new ie("end")},sa=function(Rn,Un){return new Ce(Rn,Un)},la="Quantifier",ua=function(Rn,Un){return Un&&(Rn.greedy=!1),Rn},ho="{",mo='"{"',da=",",fa='","',Co="}",So='"}"',pa=function(Rn,Un){return new $e(Rn,Un)},Eo=",}",ha='",}"',ma=function(Rn){return new $e(Rn,1/0)},va=function(Rn){return new $e(Rn,Rn)},ga="+",ya='"+"',ba=function(){return new $e(1,1/0)},Ca="*",Sa='"*"',Ea=function(){return new $e(0,1/0)},$o="?",wo='"?"',$a=function(){return new $e(0,1)},To=/^[0-9]/,xo="[0-9]",wa=function(Rn){return+Rn.join("")},Ta="(",xa='"("',ka=")",Pa='")"',Aa=function(Rn){return Rn},Oa=function(Rn){return new _e(Rn)},ko="?:",Ia='"?:"',Ma=function(Rn){return new pe("non-capture-group",Rn)},Po="?=",Na='"?="',Ra=function(Rn){return new pe("positive-lookahead",Rn)},Ao="?!",Da='"?!"',La=function(Rn){return new pe("negative-lookahead",Rn)},Ba="CharacterSet",Va="[",Fa='"["',za="]",Ha='"]"',Ua=function(Rn,Un){return new xe(!!Rn,Un)},ja="CharacterRange",Wa="-",Ga='"-"',Ka=function(Rn,Un){return new Ie(Rn,Un)},Ya="Character",qa=/^[^\\\]]/,Za="[^\\\\\\]]",vo=function(Rn){return new Ve(Rn)},Xa=".",Ja='"."',Qa=function(){return new ie("any-character")},ei="Literal",ti=/^[^|\\\/.[()?+*$\^]/,ni="[^|\\\\\\/.[()?+*$\\^]",io="\\b",Oo='"\\\\b"',ri=function(){return new ie("backspace")},oi=function(){return new ie("word-boundary")},Io="\\B",ai='"\\\\B"',ii=function(){return new ie("non-word-boundary")},Mo="\\d",si='"\\\\d"',li=function(){return new ie("digit")},No="\\D",ui='"\\\\D"',ci=function(){return new ie("non-digit")},Ro="\\f",di='"\\\\f"',fi=function(){return new ie("form-feed")},Do="\\n",pi='"\\\\n"',hi=function(){return new ie("line-feed")},Lo="\\r",mi='"\\\\r"',vi=function(){return new ie("carriage-return")},Bo="\\s",gi='"\\\\s"',yi=function(){return new ie("white-space")},Vo="\\S",_i='"\\\\S"',bi=function(){return new ie("non-white-space")},Fo="\\t",Ci='"\\\\t"',Si=function(){return new ie("tab")},zo="\\v",Ei='"\\\\v"',$i=function(){return new ie("vertical-tab")},Ho="\\w",wi='"\\\\w"',Ti=function(){return new ie("word")},Uo="\\W",xi='"\\\\W"',ki=function(){return new ie("non-word")},jo="\\c",Pi='"\\\\c"',Wo="any character",Ai=function(Rn){return new Lt(Rn)},Go="\\",Ko='"\\\\"',Oi=/^[1-9]/,Ii="[1-9]",Mi=function(Rn){return new Et(Rn)},so="\\0",Yo='"\\\\0"',qo=/^[0-7]/,Zo="[0-7]",Ni=function(Rn){return new qe(Rn.join(""))},Xo="\\x",Ri='"\\\\x"',lo=/^[0-9a-fA-F]/,uo="[0-9a-fA-F]",Di=function(Rn){return new Ue(Rn.join(""))},Jo="\\u",Li='"\\\\u"',Bi=function(Rn){return new ze(Rn.join(""))},Vi=function(){return new ie("null-character")},tr=0,Kr=0,oo=0,go={line:1,column:1,seenCR:!1},co=0,po=[],Br=0;if("startRule"in Rr){if(!(Rr.startRule in Wr))throw new Error(`Can't start parsing from rule "`+Rr.startRule+'".');Zr=Wr[Rr.startRule]}if(ie.offset=Tn,ie.text=wn,kr=Zr(),kr!==null&&tr===En.length)return kr;throw Pn(po),Kr=Math.max(tr,co),new Cn(po,Kr<En.length?En.charAt(Kr):null,Kr,kn(Kr).line,kn(Kr).column)}return bn(Cn,Error),{SyntaxError:Cn,parse:Sn}}(),vn=1,_n={};$.exports=hn},function($,z,ie){var le=ie(3),ue=ie(5),pe={extend:le.extend},_e=Ue(97,122),Ce=Ue(65,90),$e=Ue(48,57),xe=Ue(32,47)+Ue(58,64)+Ue(91,96)+Ue(123,126),Ie=Ue(32,126),Ve=` \f
|
||
\r \v \u2028\u2029`,ze={"\\w":_e+Ce+$e+"_","\\W":xe.replace("_",""),"\\s":Ve,"\\S":function(){for(var qe=Ie,Et=0;Et<Ve.length;Et++)qe=qe.replace(Ve[Et],"");return qe}(),"\\d":$e,"\\D":_e+Ce+xe};function Ue(qe,Et){for(var Lt="",hn=qe;hn<=Et;hn++)Lt+=String.fromCharCode(hn);return Lt}pe.gen=function(qe,Et,Lt){return Lt=Lt||{guid:1},pe[qe.type]?pe[qe.type](qe,Et,Lt):pe.token(qe,Et,Lt)},pe.extend({token:function(qe,Et,Lt){switch(qe.type){case"start":case"end":return"";case"any-character":return ue.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return ue.pick($e.split(""));case"non-digit":return ue.pick((_e+Ce+xe).split(""));case"form-feed":break;case"line-feed":return qe.body||qe.text;case"carriage-return":break;case"white-space":return ue.pick(Ve.split(""));case"non-white-space":return ue.pick((_e+Ce+$e).split(""));case"tab":break;case"vertical-tab":break;case"word":return ue.pick((_e+Ce+$e).split(""));case"non-word":return ue.pick(xe.replace("_","").split(""))}return qe.body||qe.text},alternate:function(qe,Et,Lt){return this.gen(ue.boolean()?qe.left:qe.right,Et,Lt)},match:function(qe,Et,Lt){Et="";for(var hn=0;hn<qe.body.length;hn++)Et+=this.gen(qe.body[hn],Et,Lt);return Et},"capture-group":function(qe,Et,Lt){return Et=this.gen(qe.body,Et,Lt),Lt[Lt.guid++]=Et,Et},"non-capture-group":function(qe,Et,Lt){return this.gen(qe.body,Et,Lt)},"positive-lookahead":function(qe,Et,Lt){return this.gen(qe.body,Et,Lt)},"negative-lookahead":function(qe,Et,Lt){return""},quantified:function(qe,Et,Lt){Et="";for(var hn=this.quantifier(qe.quantifier),vn=0;vn<hn;vn++)Et+=this.gen(qe.body,Et,Lt);return Et},quantifier:function(qe,Et,Lt){var hn=Math.max(qe.min,0),vn=isFinite(qe.max)?qe.max:hn+ue.integer(3,7);return ue.integer(hn,vn)},charset:function(qe,Et,Lt){if(qe.invert)return this["invert-charset"](qe,Et,Lt);var hn=ue.pick(qe.body);return this.gen(hn,Et,Lt)},"invert-charset":function(qe,Et,Lt){for(var hn=Ie,vn=0,_n;vn<qe.body.length;vn++)switch(_n=qe.body[vn],_n.type){case"literal":hn=hn.replace(_n.body,"");break;case"range":for(var bn=this.gen(_n.start,Et,Lt).charCodeAt(),Cn=this.gen(_n.end,Et,Lt).charCodeAt(),Sn=bn;Sn<=Cn;Sn++)hn=hn.replace(String.fromCharCode(Sn),"");default:var En=ze[_n.text];if(En)for(var wn=0;wn<=En.length;wn++)hn=hn.replace(En[wn],"")}return ue.pick(hn.split(""))},range:function(qe,Et,Lt){var hn=this.gen(qe.start,Et,Lt).charCodeAt(),vn=this.gen(qe.end,Et,Lt).charCodeAt();return String.fromCharCode(ue.integer(hn,vn))},literal:function(qe,Et,Lt){return qe.escaped?qe.body:qe.text},unicode:function(qe,Et,Lt){return String.fromCharCode(parseInt(qe.code,16))},hex:function(qe,Et,Lt){return String.fromCharCode(parseInt(qe.code,16))},octal:function(qe,Et,Lt){return String.fromCharCode(parseInt(qe.code,8))},"back-reference":function(qe,Et,Lt){return Lt[qe.code]||""},CONTROL_CHARACTER_MAP:function(){for(var qe="@ 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(" "),Et=`\0 \x07 \b
|
||
\v \f \r \x1B `.split(" "),Lt={},hn=0;hn<qe.length;hn++)Lt[qe[hn]]=Et[hn];return Lt}(),"control-character":function(qe,Et,Lt){return this.CONTROL_CHARACTER_MAP[qe.code]}}),$.exports=pe},function($,z,ie){$.exports=ie(24)},function($,z,ie){var le=ie(2),ue=ie(3),pe=ie(4);function _e(Ce,$e,xe){xe=xe||[];var Ie={name:typeof $e=="string"?$e.replace(le.RE_KEY,"$1"):$e,template:Ce,type:ue.type(Ce),rule:pe.parse($e)};switch(Ie.path=xe.slice(0),Ie.path.push($e===void 0?"ROOT":Ie.name),Ie.type){case"array":Ie.items=[],ue.each(Ce,function(Ve,ze){Ie.items.push(_e(Ve,ze,Ie.path))});break;case"object":Ie.properties=[],ue.each(Ce,function(Ve,ze){Ie.properties.push(_e(Ve,ze,Ie.path))});break}return Ie}$.exports=_e},function($,z,ie){$.exports=ie(26)},function($,z,ie){var le=ie(2),ue=ie(3),pe=ie(23);function _e(xe,Ie){for(var Ve=pe(xe),ze=Ce.diff(Ve,Ie),Ue=0;Ue<ze.length;Ue++);return ze}var Ce={diff:function(Ie,Ve,ze){var Ue=[];return this.name(Ie,Ve,ze,Ue)&&this.type(Ie,Ve,ze,Ue)&&(this.value(Ie,Ve,ze,Ue),this.properties(Ie,Ve,ze,Ue),this.items(Ie,Ve,ze,Ue)),Ue},name:function(xe,Ie,Ve,ze){var Ue=ze.length;return $e.equal("name",xe.path,Ve+"",xe.name+"",ze),ze.length===Ue},type:function(xe,Ie,Ve,ze){var Ue=ze.length;switch(xe.type){case"string":if(xe.template.match(le.RE_PLACEHOLDER))return!0;break;case"array":if(xe.rule.parameters&&(xe.rule.min!==void 0&&xe.rule.max===void 0&&xe.rule.count===1||xe.rule.parameters[2]))return!0;break;case"function":return!0}return $e.equal("type",xe.path,ue.type(Ie),xe.type,ze),ze.length===Ue},value:function(xe,Ie,Ve,ze){var Ue=ze.length,qe=xe.rule,Et=xe.type;if(Et==="object"||Et==="array"||Et==="function")return!0;if(!qe.parameters){switch(Et){case"regexp":return $e.match("value",xe.path,Ie,xe.template,ze),ze.length===Ue;case"string":if(xe.template.match(le.RE_PLACEHOLDER))return ze.length===Ue;break}return $e.equal("value",xe.path,Ie,xe.template,ze),ze.length===Ue}var Lt;switch(Et){case"number":var hn=(Ie+"").split(".");hn[0]=+hn[0],qe.min!==void 0&&qe.max!==void 0&&($e.greaterThanOrEqualTo("value",xe.path,hn[0],Math.min(qe.min,qe.max),ze),$e.lessThanOrEqualTo("value",xe.path,hn[0],Math.max(qe.min,qe.max),ze)),qe.min!==void 0&&qe.max===void 0&&$e.equal("value",xe.path,hn[0],qe.min,ze,"[value] "+Ve),qe.decimal&&(qe.dmin!==void 0&&qe.dmax!==void 0&&($e.greaterThanOrEqualTo("value",xe.path,hn[1].length,qe.dmin,ze),$e.lessThanOrEqualTo("value",xe.path,hn[1].length,qe.dmax,ze)),qe.dmin!==void 0&&qe.dmax===void 0&&$e.equal("value",xe.path,hn[1].length,qe.dmin,ze));break;case"boolean":break;case"string":Lt=Ie.match(new RegExp(xe.template,"g")),Lt=Lt?Lt.length:0,qe.min!==void 0&&qe.max!==void 0&&($e.greaterThanOrEqualTo("repeat count",xe.path,Lt,qe.min,ze),$e.lessThanOrEqualTo("repeat count",xe.path,Lt,qe.max,ze)),qe.min!==void 0&&qe.max===void 0&&$e.equal("repeat count",xe.path,Lt,qe.min,ze);break;case"regexp":Lt=Ie.match(new RegExp(xe.template.source.replace(/^\^|\$$/g,""),"g")),Lt=Lt?Lt.length:0,qe.min!==void 0&&qe.max!==void 0&&($e.greaterThanOrEqualTo("repeat count",xe.path,Lt,qe.min,ze),$e.lessThanOrEqualTo("repeat count",xe.path,Lt,qe.max,ze)),qe.min!==void 0&&qe.max===void 0&&$e.equal("repeat count",xe.path,Lt,qe.min,ze);break}return ze.length===Ue},properties:function(xe,Ie,Ve,ze){var Ue=ze.length,qe=xe.rule,Et=ue.keys(Ie);if(xe.properties){if(xe.rule.parameters?(qe.min!==void 0&&qe.max!==void 0&&($e.greaterThanOrEqualTo("properties length",xe.path,Et.length,Math.min(qe.min,qe.max),ze),$e.lessThanOrEqualTo("properties length",xe.path,Et.length,Math.max(qe.min,qe.max),ze)),qe.min!==void 0&&qe.max===void 0&&qe.count!==1&&$e.equal("properties length",xe.path,Et.length,qe.min,ze)):$e.equal("properties length",xe.path,Et.length,xe.properties.length,ze),ze.length!==Ue)return!1;for(var Lt=0;Lt<Et.length;Lt++)ze.push.apply(ze,this.diff(function(){var hn;return ue.each(xe.properties,function(vn){vn.name===Et[Lt]&&(hn=vn)}),hn||xe.properties[Lt]}(),Ie[Et[Lt]],Et[Lt]));return ze.length===Ue}},items:function(xe,Ie,Ve,ze){var Ue=ze.length;if(xe.items){var qe=xe.rule;if(!xe.rule.parameters)$e.equal("items length",xe.path,Ie.length,xe.items.length,ze);else{if(qe.min!==void 0&&qe.max!==void 0&&($e.greaterThanOrEqualTo("items",xe.path,Ie.length,Math.min(qe.min,qe.max)*xe.items.length,ze,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),$e.lessThanOrEqualTo("items",xe.path,Ie.length,Math.max(qe.min,qe.max)*xe.items.length,ze,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),qe.min!==void 0&&qe.max===void 0){if(qe.count===1)return ze.length===Ue;$e.equal("items length",xe.path,Ie.length,qe.min*xe.items.length,ze)}if(qe.parameters[2])return ze.length===Ue}if(ze.length!==Ue)return!1;for(var Et=0;Et<Ie.length;Et++)ze.push.apply(ze,this.diff(xe.items[Et%xe.items.length],Ie[Et],Et%xe.items.length));return ze.length===Ue}}},$e={message:function(xe){return(xe.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",xe.type.toUpperCase()).replace("{ltype}",xe.type.toLowerCase()).replace("{path}",ue.isArray(xe.path)&&xe.path.join(".")||xe.path).replace("{action}",xe.action).replace("{expected}",xe.expected).replace("{actual}",xe.actual)},equal:function(xe,Ie,Ve,ze,Ue,qe){if(Ve===ze)return!0;switch(xe){case"type":if(ze==="regexp"&&Ve==="string")return!0;break}var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"is equal to",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1},match:function(xe,Ie,Ve,ze,Ue,qe){if(ze.test(Ve))return!0;var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"matches",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1},notEqual:function(xe,Ie,Ve,ze,Ue,qe){if(Ve!==ze)return!0;var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"is not equal to",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1},greaterThan:function(xe,Ie,Ve,ze,Ue,qe){if(Ve>ze)return!0;var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"is greater than",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1},lessThan:function(xe,Ie,Ve,ze,Ue,qe){if(Ve<ze)return!0;var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"is less to",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1},greaterThanOrEqualTo:function(xe,Ie,Ve,ze,Ue,qe){if(Ve>=ze)return!0;var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"is greater than or equal to",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1},lessThanOrEqualTo:function(xe,Ie,Ve,ze,Ue,qe){if(Ve<=ze)return!0;var Et={path:Ie,type:xe,actual:Ve,expected:ze,action:"is less than or equal to",message:qe};return Et.message=$e.message(Et),Ue.push(Et),!1}};_e.Diff=Ce,_e.Assert=$e,$.exports=_e},function($,z,ie){$.exports=ie(28)},function($,z,ie){var le=ie(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(qe,Et,Lt,hn){var vn=document.createEvent("CustomEvent");return vn.initCustomEvent(qe,Et,Lt,hn),vn}}var ue={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},pe="readystatechange loadstart progress abort error load timeout loadend".split(" "),_e="timeout withCredentials".split(" "),Ce="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 xe(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}xe._settings={timeout:"10-100"},xe.setup=function(Ue){return le.extend(xe._settings,Ue),xe._settings},le.extend(xe,ue),le.extend(xe.prototype,ue),xe.prototype.mock=!0,xe.prototype.match=!1,le.extend(xe.prototype,{open:function(Ue,qe,Et,Lt,hn){var vn=this;le.extend(this.custom,{method:Ue,url:qe,async:typeof Et=="boolean"?Et:!0,username:Lt,password:hn,options:{url:qe,type:Ue}}),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 Tn=wn.split("-"),kn=parseInt(Tn[0],10),xn=parseInt(Tn[1],10);return Math.round(Math.random()*(xn-kn))+kn}}(xe._settings.timeout);var _n=Ve(this.custom.options);function bn(wn){for(var Tn=0;Tn<Ce.length;Tn++)try{vn[Ce[Tn]]=Cn[Ce[Tn]]}catch{}vn.dispatchEvent(new Event(wn.type))}if(!_n){var Cn=Ie();this.custom.xhr=Cn;for(var Sn=0;Sn<pe.length;Sn++)Cn.addEventListener(pe[Sn],bn);Lt?Cn.open(Ue,qe,Et,Lt,hn):Cn.open(Ue,qe,Et);for(var En=0;En<_e.length;En++)try{Cn[_e[En]]=vn[_e[En]]}catch{}return}this.match=!0,this.custom.template=_n,this.readyState=xe.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(Ue,qe){if(!this.match){this.custom.xhr.setRequestHeader(Ue,qe);return}var Et=this.custom.requestHeaders;Et[Ue]?Et[Ue]+=","+qe:Et[Ue]=qe},timeout:0,withCredentials:!1,upload:{},send:function(qe){var Et=this;if(this.custom.options.body=qe,!this.match){this.custom.xhr.send(qe);return}this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(Lt,this.custom.timeout):Lt();function Lt(){Et.readyState=xe.HEADERS_RECEIVED,Et.dispatchEvent(new Event("readystatechange")),Et.readyState=xe.LOADING,Et.dispatchEvent(new Event("readystatechange")),Et.status=200,Et.statusText=$e[200],Et.response=Et.responseText=JSON.stringify(ze(Et.custom.template,Et.custom.options),null,4),Et.readyState=xe.DONE,Et.dispatchEvent(new Event("readystatechange")),Et.dispatchEvent(new Event("load")),Et.dispatchEvent(new Event("loadend"))}},abort:function(){if(!this.match){this.custom.xhr.abort();return}this.readyState=xe.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))}}),le.extend(xe.prototype,{responseURL:"",status:xe.UNSENT,statusText:"",getResponseHeader:function(Ue){return this.match?this.custom.responseHeaders[Ue.toLowerCase()]:this.custom.xhr.getResponseHeader(Ue)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var Ue=this.custom.responseHeaders,qe="";for(var Et in Ue)Ue.hasOwnProperty(Et)&&(qe+=Et+": "+Ue[Et]+`\r
|
||
`);return qe},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),le.extend(xe.prototype,{addEventListener:function(qe,Et){var Lt=this.custom.events;Lt[qe]||(Lt[qe]=[]),Lt[qe].push(Et)},removeEventListener:function(qe,Et){for(var Lt=this.custom.events[qe]||[],hn=0;hn<Lt.length;hn++)Lt[hn]===Et&&Lt.splice(hn--,1)},dispatchEvent:function(qe){for(var Et=this.custom.events[qe.type]||[],Lt=0;Lt<Et.length;Lt++)Et[Lt].call(this,qe);var hn="on"+qe.type;this[hn]&&this[hn](qe)}});function Ie(){var Ue=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?!Ue&&qe()||Et():qe();function qe(){try{return new window._XMLHttpRequest}catch{}}function Et(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function Ve(Ue){for(var qe in xe.Mock._mocked){var Et=xe.Mock._mocked[qe];if((!Et.rurl||Lt(Et.rurl,Ue.url))&&(!Et.rtype||Lt(Et.rtype,Ue.type.toLowerCase())))return Et}function Lt(hn,vn){if(le.type(hn)==="string")return hn===vn;if(le.type(hn)==="regexp")return hn.test(vn)}}function ze(Ue,qe){return le.isFunction(Ue.template)?Ue.template(qe):xe.Mock.mock(Ue.template)}$.exports=xe}])})})(mock);var mockExports=mock.exports;const mockJs=getDefaultExportFromCjs(mockExports);function lexer($){for(var z=[],ie=0;ie<$.length;){var le=$[ie];if(le==="*"||le==="+"||le==="?"){z.push({type:"MODIFIER",index:ie,value:$[ie++]});continue}if(le==="\\"){z.push({type:"ESCAPED_CHAR",index:ie++,value:$[ie++]});continue}if(le==="{"){z.push({type:"OPEN",index:ie,value:$[ie++]});continue}if(le==="}"){z.push({type:"CLOSE",index:ie,value:$[ie++]});continue}if(le===":"){for(var ue="",pe=ie+1;pe<$.length;){var _e=$.charCodeAt(pe);if(_e>=48&&_e<=57||_e>=65&&_e<=90||_e>=97&&_e<=122||_e===95){ue+=$[pe++];continue}break}if(!ue)throw new TypeError("Missing parameter name at ".concat(ie));z.push({type:"NAME",index:ie,value:ue}),ie=pe;continue}if(le==="("){var Ce=1,$e="",pe=ie+1;if($[pe]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(pe));for(;pe<$.length;){if($[pe]==="\\"){$e+=$[pe++]+$[pe++];continue}if($[pe]===")"){if(Ce--,Ce===0){pe++;break}}else if($[pe]==="("&&(Ce++,$[pe+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(pe));$e+=$[pe++]}if(Ce)throw new TypeError("Unbalanced pattern at ".concat(ie));if(!$e)throw new TypeError("Missing pattern at ".concat(ie));z.push({type:"PATTERN",index:ie,value:$e}),ie=pe;continue}z.push({type:"CHAR",index:ie,value:$[ie++]})}return z.push({type:"END",index:ie,value:""}),z}function parse($,z){z===void 0&&(z={});for(var ie=lexer($),le=z.prefixes,ue=le===void 0?"./":le,pe="[^".concat(escapeString(z.delimiter||"/#?"),"]+?"),_e=[],Ce=0,$e=0,xe="",Ie=function(Sn){if($e<ie.length&&ie[$e].type===Sn)return ie[$e++].value},Ve=function(Sn){var En=Ie(Sn);if(En!==void 0)return En;var wn=ie[$e],Tn=wn.type,kn=wn.index;throw new TypeError("Unexpected ".concat(Tn," at ").concat(kn,", expected ").concat(Sn))},ze=function(){for(var Sn="",En;En=Ie("CHAR")||Ie("ESCAPED_CHAR");)Sn+=En;return Sn};$e<ie.length;){var Ue=Ie("CHAR"),qe=Ie("NAME"),Et=Ie("PATTERN");if(qe||Et){var Lt=Ue||"";ue.indexOf(Lt)===-1&&(xe+=Lt,Lt=""),xe&&(_e.push(xe),xe=""),_e.push({name:qe||Ce++,prefix:Lt,suffix:"",pattern:Et||pe,modifier:Ie("MODIFIER")||""});continue}var hn=Ue||Ie("ESCAPED_CHAR");if(hn){xe+=hn;continue}xe&&(_e.push(xe),xe="");var vn=Ie("OPEN");if(vn){var Lt=ze(),_n=Ie("NAME")||"",bn=Ie("PATTERN")||"",Cn=ze();Ve("CLOSE"),_e.push({name:_n||(bn?Ce++:""),pattern:_n&&!bn?pe:bn,prefix:Lt,suffix:Cn,modifier:Ie("MODIFIER")||""});continue}Ve("END")}return _e}function escapeString($){return $.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags($){return $&&$.sensitive?"":"i"}function regexpToRegexp($,z){if(!z)return $;for(var ie=/\((?:\?<(.*?)>)?(?!\?)/g,le=0,ue=ie.exec($.source);ue;)z.push({name:ue[1]||le++,prefix:"",suffix:"",modifier:"",pattern:""}),ue=ie.exec($.source);return $}function arrayToRegexp($,z,ie){var le=$.map(function(ue){return pathToRegexp(ue,z,ie).source});return new RegExp("(?:".concat(le.join("|"),")"),flags(ie))}function stringToRegexp($,z,ie){return tokensToRegexp(parse($,ie),z,ie)}function tokensToRegexp($,z,ie){ie===void 0&&(ie={});for(var le=ie.strict,ue=le===void 0?!1:le,pe=ie.start,_e=pe===void 0?!0:pe,Ce=ie.end,$e=Ce===void 0?!0:Ce,xe=ie.encode,Ie=xe===void 0?function(kn){return kn}:xe,Ve=ie.delimiter,ze=Ve===void 0?"/#?":Ve,Ue=ie.endsWith,qe=Ue===void 0?"":Ue,Et="[".concat(escapeString(qe),"]|$"),Lt="[".concat(escapeString(ze),"]"),hn=_e?"^":"",vn=0,_n=$;vn<_n.length;vn++){var bn=_n[vn];if(typeof bn=="string")hn+=escapeString(Ie(bn));else{var Cn=escapeString(Ie(bn.prefix)),Sn=escapeString(Ie(bn.suffix));if(bn.pattern)if(z&&z.push(bn),Cn||Sn)if(bn.modifier==="+"||bn.modifier==="*"){var En=bn.modifier==="*"?"?":"";hn+="(?:".concat(Cn,"((?:").concat(bn.pattern,")(?:").concat(Sn).concat(Cn,"(?:").concat(bn.pattern,"))*)").concat(Sn,")").concat(En)}else hn+="(?:".concat(Cn,"(").concat(bn.pattern,")").concat(Sn,")").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(Cn).concat(Sn,")").concat(bn.modifier)}}if($e)ue||(hn+="".concat(Lt,"?")),hn+=ie.endsWith?"(?=".concat(Et,")"):"$";else{var wn=$[$.length-1],Tn=typeof wn=="string"?Lt.indexOf(wn[wn.length-1])>-1:wn===void 0;ue||(hn+="(?:".concat(Lt,"(?=").concat(Et,"))?")),Tn||(hn+="(?=".concat(Lt,"|").concat(Et,")"))}return new RegExp(hn,flags(ie))}function pathToRegexp($,z,ie){return $ instanceof RegExp?regexpToRegexp($,z):Array.isArray($)?arrayToRegexp($,z,ie):stringToRegexp($,z,ie)}const Mock=mockJs;function createProdMockServer($){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 z={};for(let ie in this.custom.requestHeaders)z[ie.toString().toLowerCase()]=this.custom.requestHeaders[ie];this.custom.options=Object.assign({},this.custom.options,{headers:z})}this.__send.apply(this,arguments)},Mock.XHR.prototype.proxy_open=Mock.XHR.prototype.open,Mock.XHR.prototype.open=function(){let z=this.responseType;this.proxy_open(...arguments),this.custom.xhr&&z&&(this.custom.xhr.responseType=z)};for(const{url:z,method:ie,response:le,timeout:ue}of $)__setupMock__(ue),Mock.mock(pathToRegexp(z,void 0,{end:!1}),ie||"get",__XHR2ExpressReqWrapper__(le))}function __param2Obj__($){const z=$.split("?")[1];return z?JSON.parse('{"'+decodeURIComponent(z).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"').replace(/\+/g," ")+'"}'):{}}function __XHR2ExpressReqWrapper__($){return function(z){let ie=null;if(typeof $=="function"){const{body:le,type:ue,url:pe,headers:_e}=z;let Ce=le;try{Ce=JSON.parse(le)}catch{}ie=$({method:ue,body:Ce,query:__param2Obj__(pe),headers:_e})}else ie=$;return Mock.mock(ie)}}function __setupMock__($=0){$&&Mock.setup({timeout:$})}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($=>{mockModules.push(...modules[$].default)});function setupProdMockServer(){createProdMockServer(mockModules)}const app=createApp(App);Object.keys(directives).forEach($=>{app.directive($,directives[$])});app.component("IconifyIconOffline",IconifyIconOffline);app.component("IconifyIconOnline",IconifyIconOnline);app.component("FontIcon",FontIcon);app.component("Auth",Auth);getServerConfig(app).then(async $=>{app.use(router),await router.isReady(),injectResponsiveStorage(app,$),setupStore(app),app.use(MotionPlugin).use(useI18n).use(installer).use(je).use(I).use(useEcharts),app.mount("#app")});setupProdMockServer();export{ElInfiniteScroll as $,watch as A,Bn as B,normalizeStyle$1 as C,markRaw as D,toDisplayString$1 as E,Fragment as F,tn as G,usePermissionStoreHook as H,extractPathList as I,transformI18n as J,deleteChildren as K,h$3 as L,H$1 as M,Nn as N,vt as O,Ln as P,getDefaultExportFromCjs as Q,resolveDynamicComponent as R,qn as S,onUpdated as T,provide as U,onBeforeUpdate as V,normalizeProps as W,guardReactiveProps as X,useI18n$1 as Y,commonjsGlobal as Z,_export_sfc as _,onBeforeUnmount as a,useRoute as a$,useRouter as a0,addDialog as a1,updateDialog as a2,closeDialog as a3,closeAllDialog as a4,hot as a5,Hr as a6,getCurrentInstance as a7,toRefs as a8,onUnmounted as a9,useIntervalFn as aA,k$1 as aB,defineStore as aC,er as aD,responsiveStorageNameSpace as aE,getConfig as aF,store as aG,FontIcon as aH,IconifyIconOffline as aI,IconifyIconOnline as aJ,ElMessage as aK,C as aL,withScopeId as aM,shallowReactive as aN,toHandlers as aO,getAugmentedNamespace as aP,vue_runtime_esmBundler as aQ,isVNode$1 as aR,Teleport as aS,isRef as aT,createApp as aU,withKeys as aV,shallowRef as aW,watchEffect as aX,toRaw as aY,ElCol as aZ,createStaticVNode as a_,renderSlot as aa,createCommentVNode as ab,useCssVars as ac,getCurrentScope as ad,onScopeDispose as ae,inject as af,reactive as ag,ElLoading as ah,withModifiers as ai,mergeProps as aj,$n as ak,http as al,onBeforeMount as am,TransitionGroup as an,normalizeClass as ao,vShow as ap,Ar as aq,dt as ar,Qe as as,Ze as at,Ge as au,templateRef as av,tryOnMounted as aw,tryOnUnmounted as ax,useDebounceFn as ay,Jr as az,resolveComponent as b,addIcon$1 as b0,useResizeObserver as b1,onKeyStroke as b2,getParentPaths as b3,findRouteByPath as b4,useMultiTagsStoreHook as b5,St as b6,$t as b7,data$1 as b8,useEventListener as b9,ElMessageBox as bA,render$4 as bB,Ne as bC,initRouter as bD,getAuths as bE,hasAuth as bF,Fe as bG,handleTree as bH,vr as bI,appendFieldByUniqueId as bJ,getNodeByUniqueId as bK,Bt as bL,Le as ba,Y as bb,getTopMenu as bc,useFullscreen as bd,emitter as be,Transition as bf,handleAliveRoute as bg,P$1 as bh,data as bi,routerArrays as bj,At as bk,KeepAlive as bl,onClickOutside as bm,removeToken as bn,nr as bo,resetRouter as bp,useMultiTagsStore as bq,storeToRefs as br,useUserStoreHook as bs,router as bt,remainingPaths as bu,cloneVNode as bv,useWindowSize as bw,dayjs as bx,rn as by,LinearGradient$1 as bz,createBlock as c,defineComponent as d,openBlock as e,fo as f,createVNode as g,createTextVNode as h,createBaseVNode as i,resolveDirective as j,createElementBlock as k,renderList as l,withDirectives as m,nextTick as n,onMounted as o,pushScopeId as p,popScopeId as q,ref as r,axios$1 as s,_t as t,unref as u,toRef$1 as v,withCtx as w,en as x,computed as y,zt as z};
|